diff --git a/abusiveexperiencereport/v1/abusiveexperiencereport-gen.go b/abusiveexperiencereport/v1/abusiveexperiencereport-gen.go index 2900e753563..12586df6f87 100644 --- a/abusiveexperiencereport/v1/abusiveexperiencereport-gen.go +++ b/abusiveexperiencereport/v1/abusiveexperiencereport-gen.go @@ -303,7 +303,7 @@ func (c *SitesGetCall) Header() http.Header { func (c *SitesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -442,7 +442,7 @@ func (c *ViolatingSitesListCall) Header() http.Header { func (c *ViolatingSitesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/acceleratedmobilepageurl/v1/acceleratedmobilepageurl-gen.go b/acceleratedmobilepageurl/v1/acceleratedmobilepageurl-gen.go index 3445d5442e5..a107d327edb 100644 --- a/acceleratedmobilepageurl/v1/acceleratedmobilepageurl-gen.go +++ b/acceleratedmobilepageurl/v1/acceleratedmobilepageurl-gen.go @@ -349,7 +349,7 @@ func (c *AmpUrlsBatchGetCall) Header() http.Header { func (c *AmpUrlsBatchGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/accessapproval/v1/accessapproval-gen.go b/accessapproval/v1/accessapproval-gen.go index 13c66a1ed63..04bfda2579f 100644 --- a/accessapproval/v1/accessapproval-gen.go +++ b/accessapproval/v1/accessapproval-gen.go @@ -714,7 +714,7 @@ func (c *FoldersDeleteAccessApprovalSettingsCall) Header() http.Header { func (c *FoldersDeleteAccessApprovalSettingsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -856,7 +856,7 @@ func (c *FoldersGetAccessApprovalSettingsCall) Header() http.Header { func (c *FoldersGetAccessApprovalSettingsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1006,7 +1006,7 @@ func (c *FoldersUpdateAccessApprovalSettingsCall) Header() http.Header { func (c *FoldersUpdateAccessApprovalSettingsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1155,7 +1155,7 @@ func (c *FoldersApprovalRequestsApproveCall) Header() http.Header { func (c *FoldersApprovalRequestsApproveCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1300,7 +1300,7 @@ func (c *FoldersApprovalRequestsDismissCall) Header() http.Header { func (c *FoldersApprovalRequestsDismissCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1450,7 +1450,7 @@ func (c *FoldersApprovalRequestsGetCall) Header() http.Header { func (c *FoldersApprovalRequestsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1623,7 +1623,7 @@ func (c *FoldersApprovalRequestsListCall) Header() http.Header { func (c *FoldersApprovalRequestsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1799,7 +1799,7 @@ func (c *OrganizationsDeleteAccessApprovalSettingsCall) Header() http.Header { func (c *OrganizationsDeleteAccessApprovalSettingsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1941,7 +1941,7 @@ func (c *OrganizationsGetAccessApprovalSettingsCall) Header() http.Header { func (c *OrganizationsGetAccessApprovalSettingsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2091,7 +2091,7 @@ func (c *OrganizationsUpdateAccessApprovalSettingsCall) Header() http.Header { func (c *OrganizationsUpdateAccessApprovalSettingsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2240,7 +2240,7 @@ func (c *OrganizationsApprovalRequestsApproveCall) Header() http.Header { func (c *OrganizationsApprovalRequestsApproveCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2385,7 +2385,7 @@ func (c *OrganizationsApprovalRequestsDismissCall) Header() http.Header { func (c *OrganizationsApprovalRequestsDismissCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2535,7 +2535,7 @@ func (c *OrganizationsApprovalRequestsGetCall) Header() http.Header { func (c *OrganizationsApprovalRequestsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2708,7 +2708,7 @@ func (c *OrganizationsApprovalRequestsListCall) Header() http.Header { func (c *OrganizationsApprovalRequestsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2884,7 +2884,7 @@ func (c *ProjectsDeleteAccessApprovalSettingsCall) Header() http.Header { func (c *ProjectsDeleteAccessApprovalSettingsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3026,7 +3026,7 @@ func (c *ProjectsGetAccessApprovalSettingsCall) Header() http.Header { func (c *ProjectsGetAccessApprovalSettingsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3176,7 +3176,7 @@ func (c *ProjectsUpdateAccessApprovalSettingsCall) Header() http.Header { func (c *ProjectsUpdateAccessApprovalSettingsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3325,7 +3325,7 @@ func (c *ProjectsApprovalRequestsApproveCall) Header() http.Header { func (c *ProjectsApprovalRequestsApproveCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3470,7 +3470,7 @@ func (c *ProjectsApprovalRequestsDismissCall) Header() http.Header { func (c *ProjectsApprovalRequestsDismissCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3620,7 +3620,7 @@ func (c *ProjectsApprovalRequestsGetCall) Header() http.Header { func (c *ProjectsApprovalRequestsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3793,7 +3793,7 @@ func (c *ProjectsApprovalRequestsListCall) Header() http.Header { func (c *ProjectsApprovalRequestsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/accesscontextmanager/v1/accesscontextmanager-gen.go b/accesscontextmanager/v1/accesscontextmanager-gen.go index a47bfcf5086..40d239c19e4 100644 --- a/accesscontextmanager/v1/accesscontextmanager-gen.go +++ b/accesscontextmanager/v1/accesscontextmanager-gen.go @@ -1839,7 +1839,7 @@ func (c *AccessPoliciesCreateCall) Header() http.Header { func (c *AccessPoliciesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1966,7 +1966,7 @@ func (c *AccessPoliciesDeleteCall) Header() http.Header { func (c *AccessPoliciesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2107,7 +2107,7 @@ func (c *AccessPoliciesGetCall) Header() http.Header { func (c *AccessPoliciesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2272,7 +2272,7 @@ func (c *AccessPoliciesListCall) Header() http.Header { func (c *AccessPoliciesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2443,7 +2443,7 @@ func (c *AccessPoliciesPatchCall) Header() http.Header { func (c *AccessPoliciesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2592,7 +2592,7 @@ func (c *AccessPoliciesAccessLevelsCreateCall) Header() http.Header { func (c *AccessPoliciesAccessLevelsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2732,7 +2732,7 @@ func (c *AccessPoliciesAccessLevelsDeleteCall) Header() http.Header { func (c *AccessPoliciesAccessLevelsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2894,7 +2894,7 @@ func (c *AccessPoliciesAccessLevelsGetCall) Header() http.Header { func (c *AccessPoliciesAccessLevelsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3086,7 +3086,7 @@ func (c *AccessPoliciesAccessLevelsListCall) Header() http.Header { func (c *AccessPoliciesAccessLevelsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3279,7 +3279,7 @@ func (c *AccessPoliciesAccessLevelsPatchCall) Header() http.Header { func (c *AccessPoliciesAccessLevelsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3433,7 +3433,7 @@ func (c *AccessPoliciesAccessLevelsReplaceAllCall) Header() http.Header { func (c *AccessPoliciesAccessLevelsReplaceAllCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3584,7 +3584,7 @@ func (c *AccessPoliciesServicePerimetersCommitCall) Header() http.Header { func (c *AccessPoliciesServicePerimetersCommitCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3728,7 +3728,7 @@ func (c *AccessPoliciesServicePerimetersCreateCall) Header() http.Header { func (c *AccessPoliciesServicePerimetersCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3868,7 +3868,7 @@ func (c *AccessPoliciesServicePerimetersDeleteCall) Header() http.Header { func (c *AccessPoliciesServicePerimetersDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4009,7 +4009,7 @@ func (c *AccessPoliciesServicePerimetersGetCall) Header() http.Header { func (c *AccessPoliciesServicePerimetersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4168,7 +4168,7 @@ func (c *AccessPoliciesServicePerimetersListCall) Header() http.Header { func (c *AccessPoliciesServicePerimetersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4346,7 +4346,7 @@ func (c *AccessPoliciesServicePerimetersPatchCall) Header() http.Header { func (c *AccessPoliciesServicePerimetersPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4499,7 +4499,7 @@ func (c *AccessPoliciesServicePerimetersReplaceAllCall) Header() http.Header { func (c *AccessPoliciesServicePerimetersReplaceAllCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4648,7 +4648,7 @@ func (c *OperationsCancelCall) Header() http.Header { func (c *OperationsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4789,7 +4789,7 @@ func (c *OperationsDeleteCall) Header() http.Header { func (c *OperationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4932,7 +4932,7 @@ func (c *OperationsGetCall) Header() http.Header { func (c *OperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5106,7 +5106,7 @@ func (c *OperationsListCall) Header() http.Header { func (c *OperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5282,7 +5282,7 @@ func (c *OrganizationsGcpUserAccessBindingsCreateCall) Header() http.Header { func (c *OrganizationsGcpUserAccessBindingsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5423,7 +5423,7 @@ func (c *OrganizationsGcpUserAccessBindingsDeleteCall) Header() http.Header { func (c *OrganizationsGcpUserAccessBindingsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5564,7 +5564,7 @@ func (c *OrganizationsGcpUserAccessBindingsGetCall) Header() http.Header { func (c *OrganizationsGcpUserAccessBindingsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5725,7 +5725,7 @@ func (c *OrganizationsGcpUserAccessBindingsListCall) Header() http.Header { func (c *OrganizationsGcpUserAccessBindingsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5905,7 +5905,7 @@ func (c *OrganizationsGcpUserAccessBindingsPatchCall) Header() http.Header { func (c *OrganizationsGcpUserAccessBindingsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/accesscontextmanager/v1beta/accesscontextmanager-gen.go b/accesscontextmanager/v1beta/accesscontextmanager-gen.go index e6fb8a05e67..4d63d4a40c7 100644 --- a/accesscontextmanager/v1beta/accesscontextmanager-gen.go +++ b/accesscontextmanager/v1beta/accesscontextmanager-gen.go @@ -1042,7 +1042,7 @@ func (c *AccessPoliciesCreateCall) Header() http.Header { func (c *AccessPoliciesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1169,7 +1169,7 @@ func (c *AccessPoliciesDeleteCall) Header() http.Header { func (c *AccessPoliciesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1310,7 +1310,7 @@ func (c *AccessPoliciesGetCall) Header() http.Header { func (c *AccessPoliciesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1475,7 +1475,7 @@ func (c *AccessPoliciesListCall) Header() http.Header { func (c *AccessPoliciesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1646,7 +1646,7 @@ func (c *AccessPoliciesPatchCall) Header() http.Header { func (c *AccessPoliciesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1795,7 +1795,7 @@ func (c *AccessPoliciesAccessLevelsCreateCall) Header() http.Header { func (c *AccessPoliciesAccessLevelsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1935,7 +1935,7 @@ func (c *AccessPoliciesAccessLevelsDeleteCall) Header() http.Header { func (c *AccessPoliciesAccessLevelsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2097,7 +2097,7 @@ func (c *AccessPoliciesAccessLevelsGetCall) Header() http.Header { func (c *AccessPoliciesAccessLevelsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2289,7 +2289,7 @@ func (c *AccessPoliciesAccessLevelsListCall) Header() http.Header { func (c *AccessPoliciesAccessLevelsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2482,7 +2482,7 @@ func (c *AccessPoliciesAccessLevelsPatchCall) Header() http.Header { func (c *AccessPoliciesAccessLevelsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2632,7 +2632,7 @@ func (c *AccessPoliciesServicePerimetersCreateCall) Header() http.Header { func (c *AccessPoliciesServicePerimetersCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2772,7 +2772,7 @@ func (c *AccessPoliciesServicePerimetersDeleteCall) Header() http.Header { func (c *AccessPoliciesServicePerimetersDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2913,7 +2913,7 @@ func (c *AccessPoliciesServicePerimetersGetCall) Header() http.Header { func (c *AccessPoliciesServicePerimetersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3072,7 +3072,7 @@ func (c *AccessPoliciesServicePerimetersListCall) Header() http.Header { func (c *AccessPoliciesServicePerimetersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3250,7 +3250,7 @@ func (c *AccessPoliciesServicePerimetersPatchCall) Header() http.Header { func (c *AccessPoliciesServicePerimetersPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3407,7 +3407,7 @@ func (c *OperationsGetCall) Header() http.Header { func (c *OperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/adexchangebuyer/v1.2/adexchangebuyer-gen.go b/adexchangebuyer/v1.2/adexchangebuyer-gen.go index 0e94895b070..037048b9283 100644 --- a/adexchangebuyer/v1.2/adexchangebuyer-gen.go +++ b/adexchangebuyer/v1.2/adexchangebuyer-gen.go @@ -637,7 +637,7 @@ func (c *AccountsGetCall) Header() http.Header { func (c *AccountsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -778,7 +778,7 @@ func (c *AccountsListCall) Header() http.Header { func (c *AccountsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -898,7 +898,7 @@ func (c *AccountsPatchCall) Header() http.Header { func (c *AccountsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1037,7 +1037,7 @@ func (c *AccountsUpdateCall) Header() http.Header { func (c *AccountsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1188,7 +1188,7 @@ func (c *CreativesGetCall) Header() http.Header { func (c *CreativesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1328,7 +1328,7 @@ func (c *CreativesInsertCall) Header() http.Header { func (c *CreativesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1489,7 +1489,7 @@ func (c *CreativesListCall) Header() http.Header { func (c *CreativesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/adexchangebuyer/v1.3/adexchangebuyer-gen.go b/adexchangebuyer/v1.3/adexchangebuyer-gen.go index 9e08d1b3324..c06f2b4125b 100644 --- a/adexchangebuyer/v1.3/adexchangebuyer-gen.go +++ b/adexchangebuyer/v1.3/adexchangebuyer-gen.go @@ -1626,7 +1626,7 @@ func (c *AccountsGetCall) Header() http.Header { func (c *AccountsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1767,7 +1767,7 @@ func (c *AccountsListCall) Header() http.Header { func (c *AccountsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1887,7 +1887,7 @@ func (c *AccountsPatchCall) Header() http.Header { func (c *AccountsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2026,7 +2026,7 @@ func (c *AccountsUpdateCall) Header() http.Header { func (c *AccountsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2175,7 +2175,7 @@ func (c *BillingInfoGetCall) Header() http.Header { func (c *BillingInfoGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2317,7 +2317,7 @@ func (c *BillingInfoListCall) Header() http.Header { func (c *BillingInfoListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2448,7 +2448,7 @@ func (c *BudgetGetCall) Header() http.Header { func (c *BudgetGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2595,7 +2595,7 @@ func (c *BudgetPatchCall) Header() http.Header { func (c *BudgetPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2747,7 +2747,7 @@ func (c *BudgetUpdateCall) Header() http.Header { func (c *BudgetUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2907,7 +2907,7 @@ func (c *CreativesGetCall) Header() http.Header { func (c *CreativesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3047,7 +3047,7 @@ func (c *CreativesInsertCall) Header() http.Header { func (c *CreativesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3227,7 +3227,7 @@ func (c *CreativesListCall) Header() http.Header { func (c *CreativesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3419,7 +3419,7 @@ func (c *DirectDealsGetCall) Header() http.Header { func (c *DirectDealsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3560,7 +3560,7 @@ func (c *DirectDealsListCall) Header() http.Header { func (c *DirectDealsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3706,7 +3706,7 @@ func (c *PerformanceReportListCall) Header() http.Header { func (c *PerformanceReportListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3864,7 +3864,7 @@ func (c *PretargetingConfigDeleteCall) Header() http.Header { func (c *PretargetingConfigDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3987,7 +3987,7 @@ func (c *PretargetingConfigGetCall) Header() http.Header { func (c *PretargetingConfigGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4130,7 +4130,7 @@ func (c *PretargetingConfigInsertCall) Header() http.Header { func (c *PretargetingConfigInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4279,7 +4279,7 @@ func (c *PretargetingConfigListCall) Header() http.Header { func (c *PretargetingConfigListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4416,7 +4416,7 @@ func (c *PretargetingConfigPatchCall) Header() http.Header { func (c *PretargetingConfigPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4566,7 +4566,7 @@ func (c *PretargetingConfigUpdateCall) Header() http.Header { func (c *PretargetingConfigUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/adexchangebuyer/v1.4/adexchangebuyer-gen.go b/adexchangebuyer/v1.4/adexchangebuyer-gen.go index 3cc8763a33a..3e6ab1ef34c 100644 --- a/adexchangebuyer/v1.4/adexchangebuyer-gen.go +++ b/adexchangebuyer/v1.4/adexchangebuyer-gen.go @@ -4091,7 +4091,7 @@ func (c *AccountsGetCall) Header() http.Header { func (c *AccountsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4232,7 +4232,7 @@ func (c *AccountsListCall) Header() http.Header { func (c *AccountsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4360,7 +4360,7 @@ func (c *AccountsPatchCall) Header() http.Header { func (c *AccountsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4512,7 +4512,7 @@ func (c *AccountsUpdateCall) Header() http.Header { func (c *AccountsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4666,7 +4666,7 @@ func (c *BillingInfoGetCall) Header() http.Header { func (c *BillingInfoGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4808,7 +4808,7 @@ func (c *BillingInfoListCall) Header() http.Header { func (c *BillingInfoListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4939,7 +4939,7 @@ func (c *BudgetGetCall) Header() http.Header { func (c *BudgetGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5086,7 +5086,7 @@ func (c *BudgetPatchCall) Header() http.Header { func (c *BudgetPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5238,7 +5238,7 @@ func (c *BudgetUpdateCall) Header() http.Header { func (c *BudgetUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5388,7 +5388,7 @@ func (c *CreativesAddDealCall) Header() http.Header { func (c *CreativesAddDealCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5520,7 +5520,7 @@ func (c *CreativesGetCall) Header() http.Header { func (c *CreativesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5660,7 +5660,7 @@ func (c *CreativesInsertCall) Header() http.Header { func (c *CreativesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5863,7 +5863,7 @@ func (c *CreativesListCall) Header() http.Header { func (c *CreativesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6076,7 +6076,7 @@ func (c *CreativesListDealsCall) Header() http.Header { func (c *CreativesListDealsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6220,7 +6220,7 @@ func (c *CreativesRemoveDealCall) Header() http.Header { func (c *CreativesRemoveDealCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6340,7 +6340,7 @@ func (c *MarketplacedealsDeleteCall) Header() http.Header { func (c *MarketplacedealsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6478,7 +6478,7 @@ func (c *MarketplacedealsInsertCall) Header() http.Header { func (c *MarketplacedealsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6632,7 +6632,7 @@ func (c *MarketplacedealsListCall) Header() http.Header { func (c *MarketplacedealsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6771,7 +6771,7 @@ func (c *MarketplacedealsUpdateCall) Header() http.Header { func (c *MarketplacedealsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6909,7 +6909,7 @@ func (c *MarketplacenotesInsertCall) Header() http.Header { func (c *MarketplacenotesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7065,7 +7065,7 @@ func (c *MarketplacenotesListCall) Header() http.Header { func (c *MarketplacenotesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7203,7 +7203,7 @@ func (c *MarketplaceprivateauctionUpdateproposalCall) Header() http.Header { func (c *MarketplaceprivateauctionUpdateproposalCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7340,7 +7340,7 @@ func (c *PerformanceReportListCall) Header() http.Header { func (c *PerformanceReportListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7498,7 +7498,7 @@ func (c *PretargetingConfigDeleteCall) Header() http.Header { func (c *PretargetingConfigDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7621,7 +7621,7 @@ func (c *PretargetingConfigGetCall) Header() http.Header { func (c *PretargetingConfigGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7764,7 +7764,7 @@ func (c *PretargetingConfigInsertCall) Header() http.Header { func (c *PretargetingConfigInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7913,7 +7913,7 @@ func (c *PretargetingConfigListCall) Header() http.Header { func (c *PretargetingConfigListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8050,7 +8050,7 @@ func (c *PretargetingConfigPatchCall) Header() http.Header { func (c *PretargetingConfigPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8200,7 +8200,7 @@ func (c *PretargetingConfigUpdateCall) Header() http.Header { func (c *PretargetingConfigUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8357,7 +8357,7 @@ func (c *ProductsGetCall) Header() http.Header { func (c *ProductsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8504,7 +8504,7 @@ func (c *ProductsSearchCall) Header() http.Header { func (c *ProductsSearchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8639,7 +8639,7 @@ func (c *ProposalsGetCall) Header() http.Header { func (c *ProposalsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8770,7 +8770,7 @@ func (c *ProposalsInsertCall) Header() http.Header { func (c *ProposalsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8899,7 +8899,7 @@ func (c *ProposalsPatchCall) Header() http.Header { func (c *ProposalsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9084,7 +9084,7 @@ func (c *ProposalsSearchCall) Header() http.Header { func (c *ProposalsSearchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9209,7 +9209,7 @@ func (c *ProposalsSetupcompleteCall) Header() http.Header { func (c *ProposalsSetupcompleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9315,7 +9315,7 @@ func (c *ProposalsUpdateCall) Header() http.Header { func (c *ProposalsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9495,7 +9495,7 @@ func (c *PubprofilesListCall) Header() http.Header { func (c *PubprofilesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/adexchangebuyer2/v2beta1/adexchangebuyer2-gen.go b/adexchangebuyer2/v2beta1/adexchangebuyer2-gen.go index e1c9ed7405c..eb00d4be211 100644 --- a/adexchangebuyer2/v2beta1/adexchangebuyer2-gen.go +++ b/adexchangebuyer2/v2beta1/adexchangebuyer2-gen.go @@ -5713,7 +5713,7 @@ func (c *AccountsClientsCreateCall) Header() http.Header { func (c *AccountsClientsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5864,7 +5864,7 @@ func (c *AccountsClientsGetCall) Header() http.Header { func (c *AccountsClientsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6043,7 +6043,7 @@ func (c *AccountsClientsListCall) Header() http.Header { func (c *AccountsClientsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6217,7 +6217,7 @@ func (c *AccountsClientsUpdateCall) Header() http.Header { func (c *AccountsClientsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6369,7 +6369,7 @@ func (c *AccountsClientsInvitationsCreateCall) Header() http.Header { func (c *AccountsClientsInvitationsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6531,7 +6531,7 @@ func (c *AccountsClientsInvitationsGetCall) Header() http.Header { func (c *AccountsClientsInvitationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6714,7 +6714,7 @@ func (c *AccountsClientsInvitationsListCall) Header() http.Header { func (c *AccountsClientsInvitationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6903,7 +6903,7 @@ func (c *AccountsClientsUsersGetCall) Header() http.Header { func (c *AccountsClientsUsersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7085,7 +7085,7 @@ func (c *AccountsClientsUsersListCall) Header() http.Header { func (c *AccountsClientsUsersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7265,7 +7265,7 @@ func (c *AccountsClientsUsersUpdateCall) Header() http.Header { func (c *AccountsClientsUsersUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7441,7 +7441,7 @@ func (c *AccountsCreativesCreateCall) Header() http.Header { func (c *AccountsCreativesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7604,7 +7604,7 @@ func (c *AccountsCreativesGetCall) Header() http.Header { func (c *AccountsCreativesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7790,7 +7790,7 @@ func (c *AccountsCreativesListCall) Header() http.Header { func (c *AccountsCreativesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7964,7 +7964,7 @@ func (c *AccountsCreativesStopWatchingCall) Header() http.Header { func (c *AccountsCreativesStopWatchingCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8113,7 +8113,7 @@ func (c *AccountsCreativesUpdateCall) Header() http.Header { func (c *AccountsCreativesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8263,7 +8263,7 @@ func (c *AccountsCreativesWatchCall) Header() http.Header { func (c *AccountsCreativesWatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8412,7 +8412,7 @@ func (c *AccountsCreativesDealAssociationsAddCall) Header() http.Header { func (c *AccountsCreativesDealAssociationsAddCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8600,7 +8600,7 @@ func (c *AccountsCreativesDealAssociationsListCall) Header() http.Header { func (c *AccountsCreativesDealAssociationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8781,7 +8781,7 @@ func (c *AccountsCreativesDealAssociationsRemoveCall) Header() http.Header { func (c *AccountsCreativesDealAssociationsRemoveCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8980,7 +8980,7 @@ func (c *AccountsFinalizedProposalsListCall) Header() http.Header { func (c *AccountsFinalizedProposalsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9177,7 +9177,7 @@ func (c *AccountsProductsGetCall) Header() http.Header { func (c *AccountsProductsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9354,7 +9354,7 @@ func (c *AccountsProductsListCall) Header() http.Header { func (c *AccountsProductsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9533,7 +9533,7 @@ func (c *AccountsProposalsAcceptCall) Header() http.Header { func (c *AccountsProposalsAcceptCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9684,7 +9684,7 @@ func (c *AccountsProposalsAddNoteCall) Header() http.Header { func (c *AccountsProposalsAddNoteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9835,7 +9835,7 @@ func (c *AccountsProposalsCancelNegotiationCall) Header() http.Header { func (c *AccountsProposalsCancelNegotiationCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9990,7 +9990,7 @@ func (c *AccountsProposalsCompleteSetupCall) Header() http.Header { func (c *AccountsProposalsCompleteSetupCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10138,7 +10138,7 @@ func (c *AccountsProposalsCreateCall) Header() http.Header { func (c *AccountsProposalsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10289,7 +10289,7 @@ func (c *AccountsProposalsGetCall) Header() http.Header { func (c *AccountsProposalsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10487,7 +10487,7 @@ func (c *AccountsProposalsListCall) Header() http.Header { func (c *AccountsProposalsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10679,7 +10679,7 @@ func (c *AccountsProposalsPauseCall) Header() http.Header { func (c *AccountsProposalsPauseCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10834,7 +10834,7 @@ func (c *AccountsProposalsResumeCall) Header() http.Header { func (c *AccountsProposalsResumeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10993,7 +10993,7 @@ func (c *AccountsProposalsUpdateCall) Header() http.Header { func (c *AccountsProposalsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11151,7 +11151,7 @@ func (c *AccountsPublisherProfilesGetCall) Header() http.Header { func (c *AccountsPublisherProfilesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11316,7 +11316,7 @@ func (c *AccountsPublisherProfilesListCall) Header() http.Header { func (c *AccountsPublisherProfilesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11492,7 +11492,7 @@ func (c *BiddersAccountsFilterSetsCreateCall) Header() http.Header { func (c *BiddersAccountsFilterSetsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11636,7 +11636,7 @@ func (c *BiddersAccountsFilterSetsDeleteCall) Header() http.Header { func (c *BiddersAccountsFilterSetsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11778,7 +11778,7 @@ func (c *BiddersAccountsFilterSetsGetCall) Header() http.Header { func (c *BiddersAccountsFilterSetsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11940,7 +11940,7 @@ func (c *BiddersAccountsFilterSetsListCall) Header() http.Header { func (c *BiddersAccountsFilterSetsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12133,7 +12133,7 @@ func (c *BiddersAccountsFilterSetsBidMetricsListCall) Header() http.Header { func (c *BiddersAccountsFilterSetsBidMetricsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12327,7 +12327,7 @@ func (c *BiddersAccountsFilterSetsBidResponseErrorsListCall) Header() http.Heade func (c *BiddersAccountsFilterSetsBidResponseErrorsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12523,7 +12523,7 @@ func (c *BiddersAccountsFilterSetsBidResponsesWithoutBidsListCall) Header() http func (c *BiddersAccountsFilterSetsBidResponsesWithoutBidsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12720,7 +12720,7 @@ func (c *BiddersAccountsFilterSetsFilteredBidRequestsListCall) Header() http.Hea func (c *BiddersAccountsFilterSetsFilteredBidRequestsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12914,7 +12914,7 @@ func (c *BiddersAccountsFilterSetsFilteredBidsListCall) Header() http.Header { func (c *BiddersAccountsFilterSetsFilteredBidsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13112,7 +13112,7 @@ func (c *BiddersAccountsFilterSetsFilteredBidsCreativesListCall) Header() http.H func (c *BiddersAccountsFilterSetsFilteredBidsCreativesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13320,7 +13320,7 @@ func (c *BiddersAccountsFilterSetsFilteredBidsDetailsListCall) Header() http.Hea func (c *BiddersAccountsFilterSetsFilteredBidsDetailsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13525,7 +13525,7 @@ func (c *BiddersAccountsFilterSetsImpressionMetricsListCall) Header() http.Heade func (c *BiddersAccountsFilterSetsImpressionMetricsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13719,7 +13719,7 @@ func (c *BiddersAccountsFilterSetsLosingBidsListCall) Header() http.Header { func (c *BiddersAccountsFilterSetsLosingBidsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13914,7 +13914,7 @@ func (c *BiddersAccountsFilterSetsNonBillableWinningBidsListCall) Header() http. func (c *BiddersAccountsFilterSetsNonBillableWinningBidsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14092,7 +14092,7 @@ func (c *BiddersFilterSetsCreateCall) Header() http.Header { func (c *BiddersFilterSetsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14236,7 +14236,7 @@ func (c *BiddersFilterSetsDeleteCall) Header() http.Header { func (c *BiddersFilterSetsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14378,7 +14378,7 @@ func (c *BiddersFilterSetsGetCall) Header() http.Header { func (c *BiddersFilterSetsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14540,7 +14540,7 @@ func (c *BiddersFilterSetsListCall) Header() http.Header { func (c *BiddersFilterSetsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14733,7 +14733,7 @@ func (c *BiddersFilterSetsBidMetricsListCall) Header() http.Header { func (c *BiddersFilterSetsBidMetricsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14927,7 +14927,7 @@ func (c *BiddersFilterSetsBidResponseErrorsListCall) Header() http.Header { func (c *BiddersFilterSetsBidResponseErrorsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15123,7 +15123,7 @@ func (c *BiddersFilterSetsBidResponsesWithoutBidsListCall) Header() http.Header func (c *BiddersFilterSetsBidResponsesWithoutBidsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15320,7 +15320,7 @@ func (c *BiddersFilterSetsFilteredBidRequestsListCall) Header() http.Header { func (c *BiddersFilterSetsFilteredBidRequestsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15514,7 +15514,7 @@ func (c *BiddersFilterSetsFilteredBidsListCall) Header() http.Header { func (c *BiddersFilterSetsFilteredBidsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15712,7 +15712,7 @@ func (c *BiddersFilterSetsFilteredBidsCreativesListCall) Header() http.Header { func (c *BiddersFilterSetsFilteredBidsCreativesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15920,7 +15920,7 @@ func (c *BiddersFilterSetsFilteredBidsDetailsListCall) Header() http.Header { func (c *BiddersFilterSetsFilteredBidsDetailsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16125,7 +16125,7 @@ func (c *BiddersFilterSetsImpressionMetricsListCall) Header() http.Header { func (c *BiddersFilterSetsImpressionMetricsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16319,7 +16319,7 @@ func (c *BiddersFilterSetsLosingBidsListCall) Header() http.Header { func (c *BiddersFilterSetsLosingBidsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16514,7 +16514,7 @@ func (c *BiddersFilterSetsNonBillableWinningBidsListCall) Header() http.Header { func (c *BiddersFilterSetsNonBillableWinningBidsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/adexperiencereport/v1/adexperiencereport-gen.go b/adexperiencereport/v1/adexperiencereport-gen.go index f7269dee7c1..4686f071260 100644 --- a/adexperiencereport/v1/adexperiencereport-gen.go +++ b/adexperiencereport/v1/adexperiencereport-gen.go @@ -353,7 +353,7 @@ func (c *SitesGetCall) Header() http.Header { func (c *SitesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -493,7 +493,7 @@ func (c *ViolatingSitesListCall) Header() http.Header { func (c *ViolatingSitesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/admin/datatransfer/v1/admin-gen.go b/admin/datatransfer/v1/admin-gen.go index fa2b2ed5fcc..37df8980435 100644 --- a/admin/datatransfer/v1/admin-gen.go +++ b/admin/datatransfer/v1/admin-gen.go @@ -486,7 +486,7 @@ func (c *ApplicationsGetCall) Header() http.Header { func (c *ApplicationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -651,7 +651,7 @@ func (c *ApplicationsListCall) Header() http.Header { func (c *ApplicationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -823,7 +823,7 @@ func (c *TransfersGetCall) Header() http.Header { func (c *TransfersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -956,7 +956,7 @@ func (c *TransfersInsertCall) Header() http.Header { func (c *TransfersInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1132,7 +1132,7 @@ func (c *TransfersListCall) Header() http.Header { func (c *TransfersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/admin/directory/v1/admin-gen.go b/admin/directory/v1/admin-gen.go index 1fb6c6d4506..2271d3c2a4b 100644 --- a/admin/directory/v1/admin-gen.go +++ b/admin/directory/v1/admin-gen.go @@ -5005,7 +5005,7 @@ func (c *AspsDeleteCall) Header() http.Header { func (c *AspsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5128,7 +5128,7 @@ func (c *AspsGetCall) Header() http.Header { func (c *AspsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5280,7 +5280,7 @@ func (c *AspsListCall) Header() http.Header { func (c *AspsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5412,7 +5412,7 @@ func (c *ChannelsStopCall) Header() http.Header { func (c *ChannelsStopCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5527,7 +5527,7 @@ func (c *ChromeosdevicesActionCall) Header() http.Header { func (c *ChromeosdevicesActionCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5671,7 +5671,7 @@ func (c *ChromeosdevicesGetCall) Header() http.Header { func (c *ChromeosdevicesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5919,7 +5919,7 @@ func (c *ChromeosdevicesListCall) Header() http.Header { func (c *ChromeosdevicesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6155,7 +6155,7 @@ func (c *ChromeosdevicesMoveDevicesToOuCall) Header() http.Header { func (c *ChromeosdevicesMoveDevicesToOuCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6291,7 +6291,7 @@ func (c *ChromeosdevicesPatchCall) Header() http.Header { func (c *ChromeosdevicesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6470,7 +6470,7 @@ func (c *ChromeosdevicesUpdateCall) Header() http.Header { func (c *ChromeosdevicesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6634,7 +6634,7 @@ func (c *CustomerDevicesChromeosIssueCommandCall) Header() http.Header { func (c *CustomerDevicesChromeosIssueCommandCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6796,7 +6796,7 @@ func (c *CustomerDevicesChromeosCommandsGetCall) Header() http.Header { func (c *CustomerDevicesChromeosCommandsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6957,7 +6957,7 @@ func (c *CustomersGetCall) Header() http.Header { func (c *CustomersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7092,7 +7092,7 @@ func (c *CustomersPatchCall) Header() http.Header { func (c *CustomersPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7231,7 +7231,7 @@ func (c *CustomersUpdateCall) Header() http.Header { func (c *CustomersUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7370,7 +7370,7 @@ func (c *DomainAliasesDeleteCall) Header() http.Header { func (c *DomainAliasesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7492,7 +7492,7 @@ func (c *DomainAliasesGetCall) Header() http.Header { func (c *DomainAliasesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7635,7 +7635,7 @@ func (c *DomainAliasesInsertCall) Header() http.Header { func (c *DomainAliasesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7790,7 +7790,7 @@ func (c *DomainAliasesListCall) Header() http.Header { func (c *DomainAliasesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7930,7 +7930,7 @@ func (c *DomainsDeleteCall) Header() http.Header { func (c *DomainsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8052,7 +8052,7 @@ func (c *DomainsGetCall) Header() http.Header { func (c *DomainsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8195,7 +8195,7 @@ func (c *DomainsInsertCall) Header() http.Header { func (c *DomainsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8343,7 +8343,7 @@ func (c *DomainsListCall) Header() http.Header { func (c *DomainsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8476,7 +8476,7 @@ func (c *GroupsDeleteCall) Header() http.Header { func (c *GroupsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8588,7 +8588,7 @@ func (c *GroupsGetCall) Header() http.Header { func (c *GroupsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8721,7 +8721,7 @@ func (c *GroupsInsertCall) Header() http.Header { func (c *GroupsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8931,7 +8931,7 @@ func (c *GroupsListCall) Header() http.Header { func (c *GroupsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9138,7 +9138,7 @@ func (c *GroupsPatchCall) Header() http.Header { func (c *GroupsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9277,7 +9277,7 @@ func (c *GroupsUpdateCall) Header() http.Header { func (c *GroupsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9416,7 +9416,7 @@ func (c *GroupsAliasesDeleteCall) Header() http.Header { func (c *GroupsAliasesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9527,7 +9527,7 @@ func (c *GroupsAliasesInsertCall) Header() http.Header { func (c *GroupsAliasesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9675,7 +9675,7 @@ func (c *GroupsAliasesListCall) Header() http.Header { func (c *GroupsAliasesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9810,7 +9810,7 @@ func (c *MembersDeleteCall) Header() http.Header { func (c *MembersDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9933,7 +9933,7 @@ func (c *MembersGetCall) Header() http.Header { func (c *MembersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10090,7 +10090,7 @@ func (c *MembersHasMemberCall) Header() http.Header { func (c *MembersHasMemberCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10235,7 +10235,7 @@ func (c *MembersInsertCall) Header() http.Header { func (c *MembersInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10414,7 +10414,7 @@ func (c *MembersListCall) Header() http.Header { func (c *MembersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10599,7 +10599,7 @@ func (c *MembersPatchCall) Header() http.Header { func (c *MembersPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10749,7 +10749,7 @@ func (c *MembersUpdateCall) Header() http.Header { func (c *MembersUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10900,7 +10900,7 @@ func (c *MobiledevicesActionCall) Header() http.Header { func (c *MobiledevicesActionCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11020,7 +11020,7 @@ func (c *MobiledevicesDeleteCall) Header() http.Header { func (c *MobiledevicesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11155,7 +11155,7 @@ func (c *MobiledevicesGetCall) Header() http.Header { func (c *MobiledevicesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11391,7 +11391,7 @@ func (c *MobiledevicesListCall) Header() http.Header { func (c *MobiledevicesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11624,7 +11624,7 @@ func (c *OrgunitsDeleteCall) Header() http.Header { func (c *OrgunitsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11747,7 +11747,7 @@ func (c *OrgunitsGetCall) Header() http.Header { func (c *OrgunitsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11891,7 +11891,7 @@ func (c *OrgunitsInsertCall) Header() http.Header { func (c *OrgunitsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12059,7 +12059,7 @@ func (c *OrgunitsListCall) Header() http.Header { func (c *OrgunitsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12218,7 +12218,7 @@ func (c *OrgunitsPatchCall) Header() http.Header { func (c *OrgunitsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12368,7 +12368,7 @@ func (c *OrgunitsUpdateCall) Header() http.Header { func (c *OrgunitsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12525,7 +12525,7 @@ func (c *PrivilegesListCall) Header() http.Header { func (c *PrivilegesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12660,7 +12660,7 @@ func (c *ResourcesBuildingsDeleteCall) Header() http.Header { func (c *ResourcesBuildingsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12782,7 +12782,7 @@ func (c *ResourcesBuildingsGetCall) Header() http.Header { func (c *ResourcesBuildingsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12942,7 +12942,7 @@ func (c *ResourcesBuildingsInsertCall) Header() http.Header { func (c *ResourcesBuildingsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13122,7 +13122,7 @@ func (c *ResourcesBuildingsListCall) Header() http.Header { func (c *ResourcesBuildingsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13310,7 +13310,7 @@ func (c *ResourcesBuildingsPatchCall) Header() http.Header { func (c *ResourcesBuildingsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13494,7 +13494,7 @@ func (c *ResourcesBuildingsUpdateCall) Header() http.Header { func (c *ResourcesBuildingsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13659,7 +13659,7 @@ func (c *ResourcesCalendarsDeleteCall) Header() http.Header { func (c *ResourcesCalendarsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13781,7 +13781,7 @@ func (c *ResourcesCalendarsGetCall) Header() http.Header { func (c *ResourcesCalendarsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13924,7 +13924,7 @@ func (c *ResourcesCalendarsInsertCall) Header() http.Header { func (c *ResourcesCalendarsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14116,7 +14116,7 @@ func (c *ResourcesCalendarsListCall) Header() http.Header { func (c *ResourcesCalendarsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14297,7 +14297,7 @@ func (c *ResourcesCalendarsPatchCall) Header() http.Header { func (c *ResourcesCalendarsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14448,7 +14448,7 @@ func (c *ResourcesCalendarsUpdateCall) Header() http.Header { func (c *ResourcesCalendarsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14595,7 +14595,7 @@ func (c *ResourcesFeaturesDeleteCall) Header() http.Header { func (c *ResourcesFeaturesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14717,7 +14717,7 @@ func (c *ResourcesFeaturesGetCall) Header() http.Header { func (c *ResourcesFeaturesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14860,7 +14860,7 @@ func (c *ResourcesFeaturesInsertCall) Header() http.Header { func (c *ResourcesFeaturesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15022,7 +15022,7 @@ func (c *ResourcesFeaturesListCall) Header() http.Header { func (c *ResourcesFeaturesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15193,7 +15193,7 @@ func (c *ResourcesFeaturesPatchCall) Header() http.Header { func (c *ResourcesFeaturesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15342,7 +15342,7 @@ func (c *ResourcesFeaturesRenameCall) Header() http.Header { func (c *ResourcesFeaturesRenameCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15463,7 +15463,7 @@ func (c *ResourcesFeaturesUpdateCall) Header() http.Header { func (c *ResourcesFeaturesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15610,7 +15610,7 @@ func (c *RoleAssignmentsDeleteCall) Header() http.Header { func (c *RoleAssignmentsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15732,7 +15732,7 @@ func (c *RoleAssignmentsGetCall) Header() http.Header { func (c *RoleAssignmentsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15875,7 +15875,7 @@ func (c *RoleAssignmentsInsertCall) Header() http.Header { func (c *RoleAssignmentsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16053,7 +16053,7 @@ func (c *RoleAssignmentsListCall) Header() http.Header { func (c *RoleAssignmentsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16232,7 +16232,7 @@ func (c *RolesDeleteCall) Header() http.Header { func (c *RolesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16354,7 +16354,7 @@ func (c *RolesGetCall) Header() http.Header { func (c *RolesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16497,7 +16497,7 @@ func (c *RolesInsertCall) Header() http.Header { func (c *RolesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16659,7 +16659,7 @@ func (c *RolesListCall) Header() http.Header { func (c *RolesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16830,7 +16830,7 @@ func (c *RolesPatchCall) Header() http.Header { func (c *RolesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16979,7 +16979,7 @@ func (c *RolesUpdateCall) Header() http.Header { func (c *RolesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17126,7 +17126,7 @@ func (c *SchemasDeleteCall) Header() http.Header { func (c *SchemasDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17248,7 +17248,7 @@ func (c *SchemasGetCall) Header() http.Header { func (c *SchemasGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17391,7 +17391,7 @@ func (c *SchemasInsertCall) Header() http.Header { func (c *SchemasInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17539,7 +17539,7 @@ func (c *SchemasListCall) Header() http.Header { func (c *SchemasListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17676,7 +17676,7 @@ func (c *SchemasPatchCall) Header() http.Header { func (c *SchemasPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17825,7 +17825,7 @@ func (c *SchemasUpdateCall) Header() http.Header { func (c *SchemasUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17972,7 +17972,7 @@ func (c *TokensDeleteCall) Header() http.Header { func (c *TokensDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18094,7 +18094,7 @@ func (c *TokensGetCall) Header() http.Header { func (c *TokensGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18246,7 +18246,7 @@ func (c *TokensListCall) Header() http.Header { func (c *TokensListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18378,7 +18378,7 @@ func (c *TwoStepVerificationTurnOffCall) Header() http.Header { func (c *TwoStepVerificationTurnOffCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18479,7 +18479,7 @@ func (c *UsersDeleteCall) Header() http.Header { func (c *UsersDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18630,7 +18630,7 @@ func (c *UsersGetCall) Header() http.Header { func (c *UsersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18802,7 +18802,7 @@ func (c *UsersInsertCall) Header() http.Header { func (c *UsersInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19051,7 +19051,7 @@ func (c *UsersListCall) Header() http.Header { func (c *UsersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19302,7 +19302,7 @@ func (c *UsersMakeAdminCall) Header() http.Header { func (c *UsersMakeAdminCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19417,7 +19417,7 @@ func (c *UsersPatchCall) Header() http.Header { func (c *UsersPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19556,7 +19556,7 @@ func (c *UsersSignOutCall) Header() http.Header { func (c *UsersSignOutCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19659,7 +19659,7 @@ func (c *UsersUndeleteCall) Header() http.Header { func (c *UsersUndeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19773,7 +19773,7 @@ func (c *UsersUpdateCall) Header() http.Header { func (c *UsersUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -20032,7 +20032,7 @@ func (c *UsersWatchCall) Header() http.Header { func (c *UsersWatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -20286,7 +20286,7 @@ func (c *UsersAliasesDeleteCall) Header() http.Header { func (c *UsersAliasesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -20398,7 +20398,7 @@ func (c *UsersAliasesInsertCall) Header() http.Header { func (c *UsersAliasesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -20547,7 +20547,7 @@ func (c *UsersAliasesListCall) Header() http.Header { func (c *UsersAliasesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -20695,7 +20695,7 @@ func (c *UsersAliasesWatchCall) Header() http.Header { func (c *UsersAliasesWatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -20850,7 +20850,7 @@ func (c *UsersPhotosDeleteCall) Header() http.Header { func (c *UsersPhotosDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -20962,7 +20962,7 @@ func (c *UsersPhotosGetCall) Header() http.Header { func (c *UsersPhotosGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21098,7 +21098,7 @@ func (c *UsersPhotosPatchCall) Header() http.Header { func (c *UsersPhotosPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21237,7 +21237,7 @@ func (c *UsersPhotosUpdateCall) Header() http.Header { func (c *UsersPhotosUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21374,7 +21374,7 @@ func (c *VerificationCodesGenerateCall) Header() http.Header { func (c *VerificationCodesGenerateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21476,7 +21476,7 @@ func (c *VerificationCodesInvalidateCall) Header() http.Header { func (c *VerificationCodesInvalidateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21589,7 +21589,7 @@ func (c *VerificationCodesListCall) Header() http.Header { func (c *VerificationCodesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/admin/reports/v1/admin-gen.go b/admin/reports/v1/admin-gen.go index b36c3782180..97370069185 100644 --- a/admin/reports/v1/admin-gen.go +++ b/admin/reports/v1/admin-gen.go @@ -1115,7 +1115,7 @@ func (c *ActivitiesListCall) Header() http.Header { func (c *ActivitiesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1535,7 +1535,7 @@ func (c *ActivitiesWatchCall) Header() http.Header { func (c *ActivitiesWatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1788,7 +1788,7 @@ func (c *ChannelsStopCall) Header() http.Header { func (c *ChannelsStopCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1938,7 +1938,7 @@ func (c *CustomerUsageReportsGetCall) Header() http.Header { func (c *CustomerUsageReportsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2191,7 +2191,7 @@ func (c *EntityUsageReportsGetCall) Header() http.Header { func (c *EntityUsageReportsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2512,7 +2512,7 @@ func (c *UserUsageReportGetCall) Header() http.Header { func (c *UserUsageReportGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/admob/v1/admob-gen.go b/admob/v1/admob-gen.go index ec952424911..01593be6a85 100644 --- a/admob/v1/admob-gen.go +++ b/admob/v1/admob-gen.go @@ -1481,7 +1481,7 @@ func (c *AccountsGetCall) Header() http.Header { func (c *AccountsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1643,7 +1643,7 @@ func (c *AccountsListCall) Header() http.Header { func (c *AccountsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1802,7 +1802,7 @@ func (c *AccountsMediationReportGenerateCall) Header() http.Header { func (c *AccountsMediationReportGenerateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1946,7 +1946,7 @@ func (c *AccountsNetworkReportGenerateCall) Header() http.Header { func (c *AccountsNetworkReportGenerateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/admob/v1beta/admob-gen.go b/admob/v1beta/admob-gen.go index 0c8c1712536..00f2b11798a 100644 --- a/admob/v1beta/admob-gen.go +++ b/admob/v1beta/admob-gen.go @@ -1762,7 +1762,7 @@ func (c *AccountsGetCall) Header() http.Header { func (c *AccountsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1924,7 +1924,7 @@ func (c *AccountsListCall) Header() http.Header { func (c *AccountsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2106,7 +2106,7 @@ func (c *AccountsAdUnitsListCall) Header() http.Header { func (c *AccountsAdUnitsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2301,7 +2301,7 @@ func (c *AccountsAppsListCall) Header() http.Header { func (c *AccountsAppsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2471,7 +2471,7 @@ func (c *AccountsMediationReportGenerateCall) Header() http.Header { func (c *AccountsMediationReportGenerateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2615,7 +2615,7 @@ func (c *AccountsNetworkReportGenerateCall) Header() http.Header { func (c *AccountsNetworkReportGenerateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/adsense/v1.4/adsense-gen.go b/adsense/v1.4/adsense-gen.go index 7747a934e48..d523555f09b 100644 --- a/adsense/v1.4/adsense-gen.go +++ b/adsense/v1.4/adsense-gen.go @@ -1825,7 +1825,7 @@ func (c *AccountsGetCall) Header() http.Header { func (c *AccountsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1987,7 +1987,7 @@ func (c *AccountsListCall) Header() http.Header { func (c *AccountsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2161,7 +2161,7 @@ func (c *AccountsAdclientsGetAdCodeCall) Header() http.Header { func (c *AccountsAdclientsGetAdCodeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2333,7 +2333,7 @@ func (c *AccountsAdclientsListCall) Header() http.Header { func (c *AccountsAdclientsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2515,7 +2515,7 @@ func (c *AccountsAdunitsGetCall) Header() http.Header { func (c *AccountsAdunitsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2678,7 +2678,7 @@ func (c *AccountsAdunitsGetAdCodeCall) Header() http.Header { func (c *AccountsAdunitsGetAdCodeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2863,7 +2863,7 @@ func (c *AccountsAdunitsListCall) Header() http.Header { func (c *AccountsAdunitsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3075,7 +3075,7 @@ func (c *AccountsAdunitsCustomchannelsListCall) Header() http.Header { func (c *AccountsAdunitsCustomchannelsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3260,7 +3260,7 @@ func (c *AccountsAlertsDeleteCall) Header() http.Header { func (c *AccountsAlertsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3388,7 +3388,7 @@ func (c *AccountsAlertsListCall) Header() http.Header { func (c *AccountsAlertsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3541,7 +3541,7 @@ func (c *AccountsCustomchannelsGetCall) Header() http.Header { func (c *AccountsCustomchannelsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3720,7 +3720,7 @@ func (c *AccountsCustomchannelsListCall) Header() http.Header { func (c *AccountsCustomchannelsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3932,7 +3932,7 @@ func (c *AccountsCustomchannelsAdunitsListCall) Header() http.Header { func (c *AccountsCustomchannelsAdunitsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4130,7 +4130,7 @@ func (c *AccountsPaymentsListCall) Header() http.Header { func (c *AccountsPaymentsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4346,7 +4346,7 @@ func (c *AccountsReportsGenerateCall) Header() http.Header { func (c *AccountsReportsGenerateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4608,7 +4608,7 @@ func (c *AccountsReportsSavedGenerateCall) Header() http.Header { func (c *AccountsReportsSavedGenerateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4797,7 +4797,7 @@ func (c *AccountsReportsSavedListCall) Header() http.Header { func (c *AccountsReportsSavedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4976,7 +4976,7 @@ func (c *AccountsSavedadstylesGetCall) Header() http.Header { func (c *AccountsSavedadstylesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5144,7 +5144,7 @@ func (c *AccountsSavedadstylesListCall) Header() http.Header { func (c *AccountsSavedadstylesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5340,7 +5340,7 @@ func (c *AccountsUrlchannelsListCall) Header() http.Header { func (c *AccountsUrlchannelsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5539,7 +5539,7 @@ func (c *AdclientsListCall) Header() http.Header { func (c *AdclientsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5706,7 +5706,7 @@ func (c *AdunitsGetCall) Header() http.Header { func (c *AdunitsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5859,7 +5859,7 @@ func (c *AdunitsGetAdCodeCall) Header() http.Header { func (c *AdunitsGetAdCodeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6034,7 +6034,7 @@ func (c *AdunitsListCall) Header() http.Header { func (c *AdunitsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6236,7 +6236,7 @@ func (c *AdunitsCustomchannelsListCall) Header() http.Header { func (c *AdunitsCustomchannelsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6411,7 +6411,7 @@ func (c *AlertsDeleteCall) Header() http.Header { func (c *AlertsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6529,7 +6529,7 @@ func (c *AlertsListCall) Header() http.Header { func (c *AlertsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6667,7 +6667,7 @@ func (c *CustomchannelsGetCall) Header() http.Header { func (c *CustomchannelsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6836,7 +6836,7 @@ func (c *CustomchannelsListCall) Header() http.Header { func (c *CustomchannelsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7038,7 +7038,7 @@ func (c *CustomchannelsAdunitsListCall) Header() http.Header { func (c *CustomchannelsAdunitsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7227,7 +7227,7 @@ func (c *MetadataDimensionsListCall) Header() http.Header { func (c *MetadataDimensionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7355,7 +7355,7 @@ func (c *MetadataMetricsListCall) Header() http.Header { func (c *MetadataMetricsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7482,7 +7482,7 @@ func (c *PaymentsListCall) Header() http.Header { func (c *PaymentsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7689,7 +7689,7 @@ func (c *ReportsGenerateCall) Header() http.Header { func (c *ReportsGenerateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7945,7 +7945,7 @@ func (c *ReportsSavedGenerateCall) Header() http.Header { func (c *ReportsSavedGenerateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8124,7 +8124,7 @@ func (c *ReportsSavedListCall) Header() http.Header { func (c *ReportsSavedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8289,7 +8289,7 @@ func (c *SavedadstylesGetCall) Header() http.Header { func (c *SavedadstylesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8447,7 +8447,7 @@ func (c *SavedadstylesListCall) Header() http.Header { func (c *SavedadstylesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8629,7 +8629,7 @@ func (c *UrlchannelsListCall) Header() http.Header { func (c *UrlchannelsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/adsensehost/v4.1/adsensehost-gen.go b/adsensehost/v4.1/adsensehost-gen.go index 3979afa6a0a..5a231f0271f 100644 --- a/adsensehost/v4.1/adsensehost-gen.go +++ b/adsensehost/v4.1/adsensehost-gen.go @@ -1153,7 +1153,7 @@ func (c *AccountsGetCall) Header() http.Header { func (c *AccountsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1295,7 +1295,7 @@ func (c *AccountsListCall) Header() http.Header { func (c *AccountsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1438,7 +1438,7 @@ func (c *AccountsAdclientsGetCall) Header() http.Header { func (c *AccountsAdclientsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1604,7 +1604,7 @@ func (c *AccountsAdclientsListCall) Header() http.Header { func (c *AccountsAdclientsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1774,7 +1774,7 @@ func (c *AccountsAdunitsDeleteCall) Header() http.Header { func (c *AccountsAdunitsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1933,7 +1933,7 @@ func (c *AccountsAdunitsGetCall) Header() http.Header { func (c *AccountsAdunitsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2103,7 +2103,7 @@ func (c *AccountsAdunitsGetAdCodeCall) Header() http.Header { func (c *AccountsAdunitsGetAdCodeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2261,7 +2261,7 @@ func (c *AccountsAdunitsInsertCall) Header() http.Header { func (c *AccountsAdunitsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2441,7 +2441,7 @@ func (c *AccountsAdunitsListCall) Header() http.Header { func (c *AccountsAdunitsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2625,7 +2625,7 @@ func (c *AccountsAdunitsPatchCall) Header() http.Header { func (c *AccountsAdunitsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2781,7 +2781,7 @@ func (c *AccountsAdunitsUpdateCall) Header() http.Header { func (c *AccountsAdunitsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2992,7 +2992,7 @@ func (c *AccountsReportsGenerateCall) Header() http.Header { func (c *AccountsReportsGenerateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3201,7 +3201,7 @@ func (c *AdclientsGetCall) Header() http.Header { func (c *AdclientsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3357,7 +3357,7 @@ func (c *AdclientsListCall) Header() http.Header { func (c *AdclientsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3545,7 +3545,7 @@ func (c *AssociationsessionsStartCall) Header() http.Header { func (c *AssociationsessionsStartCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3721,7 +3721,7 @@ func (c *AssociationsessionsVerifyCall) Header() http.Header { func (c *AssociationsessionsVerifyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3852,7 +3852,7 @@ func (c *CustomchannelsDeleteCall) Header() http.Header { func (c *CustomchannelsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4001,7 +4001,7 @@ func (c *CustomchannelsGetCall) Header() http.Header { func (c *CustomchannelsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4142,7 +4142,7 @@ func (c *CustomchannelsInsertCall) Header() http.Header { func (c *CustomchannelsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4306,7 +4306,7 @@ func (c *CustomchannelsListCall) Header() http.Header { func (c *CustomchannelsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4475,7 +4475,7 @@ func (c *CustomchannelsPatchCall) Header() http.Header { func (c *CustomchannelsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4620,7 +4620,7 @@ func (c *CustomchannelsUpdateCall) Header() http.Header { func (c *CustomchannelsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4821,7 +4821,7 @@ func (c *ReportsGenerateCall) Header() http.Header { func (c *ReportsGenerateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5010,7 +5010,7 @@ func (c *UrlchannelsDeleteCall) Header() http.Header { func (c *UrlchannelsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5148,7 +5148,7 @@ func (c *UrlchannelsInsertCall) Header() http.Header { func (c *UrlchannelsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5311,7 +5311,7 @@ func (c *UrlchannelsListCall) Header() http.Header { func (c *UrlchannelsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/alertcenter/v1beta1/alertcenter-gen.go b/alertcenter/v1beta1/alertcenter-gen.go index 04a4d676116..e7ab3f7cb30 100644 --- a/alertcenter/v1beta1/alertcenter-gen.go +++ b/alertcenter/v1beta1/alertcenter-gen.go @@ -1951,7 +1951,7 @@ func (c *AlertsBatchDeleteCall) Header() http.Header { func (c *AlertsBatchDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2076,7 +2076,7 @@ func (c *AlertsBatchUndeleteCall) Header() http.Header { func (c *AlertsBatchUndeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2214,7 +2214,7 @@ func (c *AlertsDeleteCall) Header() http.Header { func (c *AlertsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2369,7 +2369,7 @@ func (c *AlertsGetCall) Header() http.Header { func (c *AlertsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2527,7 +2527,7 @@ func (c *AlertsGetMetadataCall) Header() http.Header { func (c *AlertsGetMetadataCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2720,7 +2720,7 @@ func (c *AlertsListCall) Header() http.Header { func (c *AlertsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2895,7 +2895,7 @@ func (c *AlertsUndeleteCall) Header() http.Header { func (c *AlertsUndeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3046,7 +3046,7 @@ func (c *AlertsFeedbackCreateCall) Header() http.Header { func (c *AlertsFeedbackCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3220,7 +3220,7 @@ func (c *AlertsFeedbackListCall) Header() http.Header { func (c *AlertsFeedbackListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3380,7 +3380,7 @@ func (c *V1beta1GetSettingsCall) Header() http.Header { func (c *V1beta1GetSettingsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3515,7 +3515,7 @@ func (c *V1beta1UpdateSettingsCall) Header() http.Header { func (c *V1beta1UpdateSettingsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/analytics/v3/analytics-gen.go b/analytics/v3/analytics-gen.go index bcab1d9673e..473b966798d 100644 --- a/analytics/v3/analytics-gen.go +++ b/analytics/v3/analytics-gen.go @@ -6030,7 +6030,7 @@ func (c *DataGaGetCall) Header() http.Header { func (c *DataGaGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6319,7 +6319,7 @@ func (c *DataMcfGetCall) Header() http.Header { func (c *DataMcfGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6560,7 +6560,7 @@ func (c *DataRealtimeGetCall) Header() http.Header { func (c *DataRealtimeGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6748,7 +6748,7 @@ func (c *ManagementAccountSummariesListCall) Header() http.Header { func (c *ManagementAccountSummariesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6883,7 +6883,7 @@ func (c *ManagementAccountUserLinksDeleteCall) Header() http.Header { func (c *ManagementAccountUserLinksDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6993,7 +6993,7 @@ func (c *ManagementAccountUserLinksInsertCall) Header() http.Header { func (c *ManagementAccountUserLinksInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7155,7 +7155,7 @@ func (c *ManagementAccountUserLinksListCall) Header() http.Header { func (c *ManagementAccountUserLinksListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7305,7 +7305,7 @@ func (c *ManagementAccountUserLinksUpdateCall) Header() http.Header { func (c *ManagementAccountUserLinksUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7473,7 +7473,7 @@ func (c *ManagementAccountsListCall) Header() http.Header { func (c *ManagementAccountsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7607,7 +7607,7 @@ func (c *ManagementClientIdHashClientIdCall) Header() http.Header { func (c *ManagementClientIdHashClientIdCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7758,7 +7758,7 @@ func (c *ManagementCustomDataSourcesListCall) Header() http.Header { func (c *ManagementCustomDataSourcesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7930,7 +7930,7 @@ func (c *ManagementCustomDimensionsGetCall) Header() http.Header { func (c *ManagementCustomDimensionsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8082,7 +8082,7 @@ func (c *ManagementCustomDimensionsInsertCall) Header() http.Header { func (c *ManagementCustomDimensionsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8254,7 +8254,7 @@ func (c *ManagementCustomDimensionsListCall) Header() http.Header { func (c *ManagementCustomDimensionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8423,7 +8423,7 @@ func (c *ManagementCustomDimensionsPatchCall) Header() http.Header { func (c *ManagementCustomDimensionsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8596,7 +8596,7 @@ func (c *ManagementCustomDimensionsUpdateCall) Header() http.Header { func (c *ManagementCustomDimensionsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8769,7 +8769,7 @@ func (c *ManagementCustomMetricsGetCall) Header() http.Header { func (c *ManagementCustomMetricsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8921,7 +8921,7 @@ func (c *ManagementCustomMetricsInsertCall) Header() http.Header { func (c *ManagementCustomMetricsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9093,7 +9093,7 @@ func (c *ManagementCustomMetricsListCall) Header() http.Header { func (c *ManagementCustomMetricsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9262,7 +9262,7 @@ func (c *ManagementCustomMetricsPatchCall) Header() http.Header { func (c *ManagementCustomMetricsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9435,7 +9435,7 @@ func (c *ManagementCustomMetricsUpdateCall) Header() http.Header { func (c *ManagementCustomMetricsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9599,7 +9599,7 @@ func (c *ManagementExperimentsDeleteCall) Header() http.Header { func (c *ManagementExperimentsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9741,7 +9741,7 @@ func (c *ManagementExperimentsGetCall) Header() http.Header { func (c *ManagementExperimentsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9904,7 +9904,7 @@ func (c *ManagementExperimentsInsertCall) Header() http.Header { func (c *ManagementExperimentsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10087,7 +10087,7 @@ func (c *ManagementExperimentsListCall) Header() http.Header { func (c *ManagementExperimentsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10261,7 +10261,7 @@ func (c *ManagementExperimentsPatchCall) Header() http.Header { func (c *ManagementExperimentsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10430,7 +10430,7 @@ func (c *ManagementExperimentsUpdateCall) Header() http.Header { func (c *ManagementExperimentsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10593,7 +10593,7 @@ func (c *ManagementFiltersDeleteCall) Header() http.Header { func (c *ManagementFiltersDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10742,7 +10742,7 @@ func (c *ManagementFiltersGetCall) Header() http.Header { func (c *ManagementFiltersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10884,7 +10884,7 @@ func (c *ManagementFiltersInsertCall) Header() http.Header { func (c *ManagementFiltersInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11046,7 +11046,7 @@ func (c *ManagementFiltersListCall) Header() http.Header { func (c *ManagementFiltersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11197,7 +11197,7 @@ func (c *ManagementFiltersPatchCall) Header() http.Header { func (c *ManagementFiltersPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11345,7 +11345,7 @@ func (c *ManagementFiltersUpdateCall) Header() http.Header { func (c *ManagementFiltersUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11506,7 +11506,7 @@ func (c *ManagementGoalsGetCall) Header() http.Header { func (c *ManagementGoalsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11668,7 +11668,7 @@ func (c *ManagementGoalsInsertCall) Header() http.Header { func (c *ManagementGoalsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11850,7 +11850,7 @@ func (c *ManagementGoalsListCall) Header() http.Header { func (c *ManagementGoalsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12021,7 +12021,7 @@ func (c *ManagementGoalsPatchCall) Header() http.Header { func (c *ManagementGoalsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12189,7 +12189,7 @@ func (c *ManagementGoalsUpdateCall) Header() http.Header { func (c *ManagementGoalsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12355,7 +12355,7 @@ func (c *ManagementProfileFilterLinksDeleteCall) Header() http.Header { func (c *ManagementProfileFilterLinksDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12500,7 +12500,7 @@ func (c *ManagementProfileFilterLinksGetCall) Header() http.Header { func (c *ManagementProfileFilterLinksGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12666,7 +12666,7 @@ func (c *ManagementProfileFilterLinksInsertCall) Header() http.Header { func (c *ManagementProfileFilterLinksInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12851,7 +12851,7 @@ func (c *ManagementProfileFilterLinksListCall) Header() http.Header { func (c *ManagementProfileFilterLinksListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13022,7 +13022,7 @@ func (c *ManagementProfileFilterLinksPatchCall) Header() http.Header { func (c *ManagementProfileFilterLinksPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13194,7 +13194,7 @@ func (c *ManagementProfileFilterLinksUpdateCall) Header() http.Header { func (c *ManagementProfileFilterLinksUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13364,7 +13364,7 @@ func (c *ManagementProfileUserLinksDeleteCall) Header() http.Header { func (c *ManagementProfileUserLinksDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13494,7 +13494,7 @@ func (c *ManagementProfileUserLinksInsertCall) Header() http.Header { func (c *ManagementProfileUserLinksInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13676,7 +13676,7 @@ func (c *ManagementProfileUserLinksListCall) Header() http.Header { func (c *ManagementProfileUserLinksListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13846,7 +13846,7 @@ func (c *ManagementProfileUserLinksUpdateCall) Header() http.Header { func (c *ManagementProfileUserLinksUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14010,7 +14010,7 @@ func (c *ManagementProfilesDeleteCall) Header() http.Header { func (c *ManagementProfilesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14141,7 +14141,7 @@ func (c *ManagementProfilesGetCall) Header() http.Header { func (c *ManagementProfilesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14296,7 +14296,7 @@ func (c *ManagementProfilesInsertCall) Header() http.Header { func (c *ManagementProfilesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14468,7 +14468,7 @@ func (c *ManagementProfilesListCall) Header() http.Header { func (c *ManagementProfilesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14629,7 +14629,7 @@ func (c *ManagementProfilesPatchCall) Header() http.Header { func (c *ManagementProfilesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14787,7 +14787,7 @@ func (c *ManagementProfilesUpdateCall) Header() http.Header { func (c *ManagementProfilesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14943,7 +14943,7 @@ func (c *ManagementRemarketingAudienceDeleteCall) Header() http.Header { func (c *ManagementRemarketingAudienceDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15074,7 +15074,7 @@ func (c *ManagementRemarketingAudienceGetCall) Header() http.Header { func (c *ManagementRemarketingAudienceGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15226,7 +15226,7 @@ func (c *ManagementRemarketingAudienceInsertCall) Header() http.Header { func (c *ManagementRemarketingAudienceInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15404,7 +15404,7 @@ func (c *ManagementRemarketingAudienceListCall) Header() http.Header { func (c *ManagementRemarketingAudienceListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15569,7 +15569,7 @@ func (c *ManagementRemarketingAudiencePatchCall) Header() http.Header { func (c *ManagementRemarketingAudiencePatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15727,7 +15727,7 @@ func (c *ManagementRemarketingAudienceUpdateCall) Header() http.Header { func (c *ManagementRemarketingAudienceUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15903,7 +15903,7 @@ func (c *ManagementSegmentsListCall) Header() http.Header { func (c *ManagementSegmentsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16043,7 +16043,7 @@ func (c *ManagementUnsampledReportsDeleteCall) Header() http.Header { func (c *ManagementUnsampledReportsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16184,7 +16184,7 @@ func (c *ManagementUnsampledReportsGetCall) Header() http.Header { func (c *ManagementUnsampledReportsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16347,7 +16347,7 @@ func (c *ManagementUnsampledReportsInsertCall) Header() http.Header { func (c *ManagementUnsampledReportsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16530,7 +16530,7 @@ func (c *ManagementUnsampledReportsListCall) Header() http.Header { func (c *ManagementUnsampledReportsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16698,7 +16698,7 @@ func (c *ManagementUploadsDeleteUploadDataCall) Header() http.Header { func (c *ManagementUploadsDeleteUploadDataCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16843,7 +16843,7 @@ func (c *ManagementUploadsGetCall) Header() http.Header { func (c *ManagementUploadsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17034,7 +17034,7 @@ func (c *ManagementUploadsListCall) Header() http.Header { func (c *ManagementUploadsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17244,7 +17244,7 @@ func (c *ManagementUploadsUploadDataCall) Header() http.Header { func (c *ManagementUploadsUploadDataCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17440,7 +17440,7 @@ func (c *ManagementWebPropertyAdWordsLinksDeleteCall) Header() http.Header { func (c *ManagementWebPropertyAdWordsLinksDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17572,7 +17572,7 @@ func (c *ManagementWebPropertyAdWordsLinksGetCall) Header() http.Header { func (c *ManagementWebPropertyAdWordsLinksGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17724,7 +17724,7 @@ func (c *ManagementWebPropertyAdWordsLinksInsertCall) Header() http.Header { func (c *ManagementWebPropertyAdWordsLinksInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17896,7 +17896,7 @@ func (c *ManagementWebPropertyAdWordsLinksListCall) Header() http.Header { func (c *ManagementWebPropertyAdWordsLinksListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18057,7 +18057,7 @@ func (c *ManagementWebPropertyAdWordsLinksPatchCall) Header() http.Header { func (c *ManagementWebPropertyAdWordsLinksPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18215,7 +18215,7 @@ func (c *ManagementWebPropertyAdWordsLinksUpdateCall) Header() http.Header { func (c *ManagementWebPropertyAdWordsLinksUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18380,7 +18380,7 @@ func (c *ManagementWebpropertiesGetCall) Header() http.Header { func (c *ManagementWebpropertiesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18526,7 +18526,7 @@ func (c *ManagementWebpropertiesInsertCall) Header() http.Header { func (c *ManagementWebpropertiesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18688,7 +18688,7 @@ func (c *ManagementWebpropertiesListCall) Header() http.Header { func (c *ManagementWebpropertiesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18839,7 +18839,7 @@ func (c *ManagementWebpropertiesPatchCall) Header() http.Header { func (c *ManagementWebpropertiesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18987,7 +18987,7 @@ func (c *ManagementWebpropertiesUpdateCall) Header() http.Header { func (c *ManagementWebpropertiesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19135,7 +19135,7 @@ func (c *ManagementWebpropertyUserLinksDeleteCall) Header() http.Header { func (c *ManagementWebpropertyUserLinksDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19255,7 +19255,7 @@ func (c *ManagementWebpropertyUserLinksInsertCall) Header() http.Header { func (c *ManagementWebpropertyUserLinksInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19427,7 +19427,7 @@ func (c *ManagementWebpropertyUserLinksListCall) Header() http.Header { func (c *ManagementWebpropertyUserLinksListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19587,7 +19587,7 @@ func (c *ManagementWebpropertyUserLinksUpdateCall) Header() http.Header { func (c *ManagementWebpropertyUserLinksUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19750,7 +19750,7 @@ func (c *MetadataColumnsListCall) Header() http.Header { func (c *MetadataColumnsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19884,7 +19884,7 @@ func (c *ProvisioningCreateAccountTicketCall) Header() http.Header { func (c *ProvisioningCreateAccountTicketCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -20006,7 +20006,7 @@ func (c *ProvisioningCreateAccountTreeCall) Header() http.Header { func (c *ProvisioningCreateAccountTreeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -20128,7 +20128,7 @@ func (c *UserDeletionUserDeletionRequestUpsertCall) Header() http.Header { func (c *UserDeletionUserDeletionRequestUpsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/analyticsadmin/v1alpha/analyticsadmin-gen.go b/analyticsadmin/v1alpha/analyticsadmin-gen.go index 29142791d82..3fb7412474b 100644 --- a/analyticsadmin/v1alpha/analyticsadmin-gen.go +++ b/analyticsadmin/v1alpha/analyticsadmin-gen.go @@ -1976,7 +1976,7 @@ func (c *AccountSummariesListCall) Header() http.Header { func (c *AccountSummariesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2139,7 +2139,7 @@ func (c *AccountsDeleteCall) Header() http.Header { func (c *AccountsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2280,7 +2280,7 @@ func (c *AccountsGetCall) Header() http.Header { func (c *AccountsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2426,7 +2426,7 @@ func (c *AccountsGetDataSharingSettingsCall) Header() http.Header { func (c *AccountsGetDataSharingSettingsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2602,7 +2602,7 @@ func (c *AccountsListCall) Header() http.Header { func (c *AccountsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2773,7 +2773,7 @@ func (c *AccountsPatchCall) Header() http.Header { func (c *AccountsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2918,7 +2918,7 @@ func (c *AccountsProvisionAccountTicketCall) Header() http.Header { func (c *AccountsProvisionAccountTicketCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3054,7 +3054,7 @@ func (c *AccountsUserLinksAuditCall) Header() http.Header { func (c *AccountsUserLinksAuditCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3219,7 +3219,7 @@ func (c *AccountsUserLinksBatchCreateCall) Header() http.Header { func (c *AccountsUserLinksBatchCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3363,7 +3363,7 @@ func (c *AccountsUserLinksBatchDeleteCall) Header() http.Header { func (c *AccountsUserLinksBatchDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3521,7 +3521,7 @@ func (c *AccountsUserLinksBatchGetCall) Header() http.Header { func (c *AccountsUserLinksBatchGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3665,7 +3665,7 @@ func (c *AccountsUserLinksBatchUpdateCall) Header() http.Header { func (c *AccountsUserLinksBatchUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3819,7 +3819,7 @@ func (c *AccountsUserLinksCreateCall) Header() http.Header { func (c *AccountsUserLinksCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3963,7 +3963,7 @@ func (c *AccountsUserLinksDeleteCall) Header() http.Header { func (c *AccountsUserLinksDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4104,7 +4104,7 @@ func (c *AccountsUserLinksGetCall) Header() http.Header { func (c *AccountsUserLinksGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4268,7 +4268,7 @@ func (c *AccountsUserLinksListCall) Header() http.Header { func (c *AccountsUserLinksListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4437,7 +4437,7 @@ func (c *AccountsUserLinksPatchCall) Header() http.Header { func (c *AccountsUserLinksPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4577,7 +4577,7 @@ func (c *PropertiesCreateCall) Header() http.Header { func (c *PropertiesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4710,7 +4710,7 @@ func (c *PropertiesDeleteCall) Header() http.Header { func (c *PropertiesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4851,7 +4851,7 @@ func (c *PropertiesGetCall) Header() http.Header { func (c *PropertiesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5042,7 +5042,7 @@ func (c *PropertiesListCall) Header() http.Header { func (c *PropertiesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5218,7 +5218,7 @@ func (c *PropertiesPatchCall) Header() http.Header { func (c *PropertiesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5366,7 +5366,7 @@ func (c *PropertiesAndroidAppDataStreamsCreateCall) Header() http.Header { func (c *PropertiesAndroidAppDataStreamsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5506,7 +5506,7 @@ func (c *PropertiesAndroidAppDataStreamsDeleteCall) Header() http.Header { func (c *PropertiesAndroidAppDataStreamsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5647,7 +5647,7 @@ func (c *PropertiesAndroidAppDataStreamsGetCall) Header() http.Header { func (c *PropertiesAndroidAppDataStreamsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5815,7 +5815,7 @@ func (c *PropertiesAndroidAppDataStreamsListCall) Header() http.Header { func (c *PropertiesAndroidAppDataStreamsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5994,7 +5994,7 @@ func (c *PropertiesAndroidAppDataStreamsPatchCall) Header() http.Header { func (c *PropertiesAndroidAppDataStreamsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6143,7 +6143,7 @@ func (c *PropertiesFirebaseLinksCreateCall) Header() http.Header { func (c *PropertiesFirebaseLinksCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6282,7 +6282,7 @@ func (c *PropertiesFirebaseLinksDeleteCall) Header() http.Header { func (c *PropertiesFirebaseLinksDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6444,7 +6444,7 @@ func (c *PropertiesFirebaseLinksListCall) Header() http.Header { func (c *PropertiesFirebaseLinksListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6622,7 +6622,7 @@ func (c *PropertiesFirebaseLinksPatchCall) Header() http.Header { func (c *PropertiesFirebaseLinksPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6769,7 +6769,7 @@ func (c *PropertiesGoogleAdsLinksCreateCall) Header() http.Header { func (c *PropertiesGoogleAdsLinksCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6909,7 +6909,7 @@ func (c *PropertiesGoogleAdsLinksDeleteCall) Header() http.Header { func (c *PropertiesGoogleAdsLinksDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7069,7 +7069,7 @@ func (c *PropertiesGoogleAdsLinksListCall) Header() http.Header { func (c *PropertiesGoogleAdsLinksListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7247,7 +7247,7 @@ func (c *PropertiesGoogleAdsLinksPatchCall) Header() http.Header { func (c *PropertiesGoogleAdsLinksPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7396,7 +7396,7 @@ func (c *PropertiesIosAppDataStreamsCreateCall) Header() http.Header { func (c *PropertiesIosAppDataStreamsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7536,7 +7536,7 @@ func (c *PropertiesIosAppDataStreamsDeleteCall) Header() http.Header { func (c *PropertiesIosAppDataStreamsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7677,7 +7677,7 @@ func (c *PropertiesIosAppDataStreamsGetCall) Header() http.Header { func (c *PropertiesIosAppDataStreamsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7845,7 +7845,7 @@ func (c *PropertiesIosAppDataStreamsListCall) Header() http.Header { func (c *PropertiesIosAppDataStreamsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8024,7 +8024,7 @@ func (c *PropertiesIosAppDataStreamsPatchCall) Header() http.Header { func (c *PropertiesIosAppDataStreamsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8178,7 +8178,7 @@ func (c *PropertiesUserLinksAuditCall) Header() http.Header { func (c *PropertiesUserLinksAuditCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8343,7 +8343,7 @@ func (c *PropertiesUserLinksBatchCreateCall) Header() http.Header { func (c *PropertiesUserLinksBatchCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8487,7 +8487,7 @@ func (c *PropertiesUserLinksBatchDeleteCall) Header() http.Header { func (c *PropertiesUserLinksBatchDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8645,7 +8645,7 @@ func (c *PropertiesUserLinksBatchGetCall) Header() http.Header { func (c *PropertiesUserLinksBatchGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8789,7 +8789,7 @@ func (c *PropertiesUserLinksBatchUpdateCall) Header() http.Header { func (c *PropertiesUserLinksBatchUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8943,7 +8943,7 @@ func (c *PropertiesUserLinksCreateCall) Header() http.Header { func (c *PropertiesUserLinksCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9087,7 +9087,7 @@ func (c *PropertiesUserLinksDeleteCall) Header() http.Header { func (c *PropertiesUserLinksDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9228,7 +9228,7 @@ func (c *PropertiesUserLinksGetCall) Header() http.Header { func (c *PropertiesUserLinksGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9392,7 +9392,7 @@ func (c *PropertiesUserLinksListCall) Header() http.Header { func (c *PropertiesUserLinksListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9561,7 +9561,7 @@ func (c *PropertiesUserLinksPatchCall) Header() http.Header { func (c *PropertiesUserLinksPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9703,7 +9703,7 @@ func (c *PropertiesWebDataStreamsCreateCall) Header() http.Header { func (c *PropertiesWebDataStreamsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9843,7 +9843,7 @@ func (c *PropertiesWebDataStreamsDeleteCall) Header() http.Header { func (c *PropertiesWebDataStreamsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9984,7 +9984,7 @@ func (c *PropertiesWebDataStreamsGetCall) Header() http.Header { func (c *PropertiesWebDataStreamsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10132,7 +10132,7 @@ func (c *PropertiesWebDataStreamsGetEnhancedMeasurementSettingsCall) Header() ht func (c *PropertiesWebDataStreamsGetEnhancedMeasurementSettingsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10280,7 +10280,7 @@ func (c *PropertiesWebDataStreamsGetGlobalSiteTagCall) Header() http.Header { func (c *PropertiesWebDataStreamsGetGlobalSiteTagCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10448,7 +10448,7 @@ func (c *PropertiesWebDataStreamsListCall) Header() http.Header { func (c *PropertiesWebDataStreamsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10626,7 +10626,7 @@ func (c *PropertiesWebDataStreamsPatchCall) Header() http.Header { func (c *PropertiesWebDataStreamsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10785,7 +10785,7 @@ func (c *PropertiesWebDataStreamsUpdateEnhancedMeasurementSettingsCall) Header() func (c *PropertiesWebDataStreamsUpdateEnhancedMeasurementSettingsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/analyticsdata/v1alpha/analyticsdata-gen.go b/analyticsdata/v1alpha/analyticsdata-gen.go index 400159ac46f..5d39569861d 100644 --- a/analyticsdata/v1alpha/analyticsdata-gen.go +++ b/analyticsdata/v1alpha/analyticsdata-gen.go @@ -2378,7 +2378,7 @@ func (c *PropertiesGetMetadataCall) Header() http.Header { func (c *PropertiesGetMetadataCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2516,7 +2516,7 @@ func (c *PropertiesRunRealtimeReportCall) Header() http.Header { func (c *PropertiesRunRealtimeReportCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2656,7 +2656,7 @@ func (c *V1alphaBatchRunPivotReportsCall) Header() http.Header { func (c *V1alphaBatchRunPivotReportsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2783,7 +2783,7 @@ func (c *V1alphaBatchRunReportsCall) Header() http.Header { func (c *V1alphaBatchRunReportsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2913,7 +2913,7 @@ func (c *V1alphaRunPivotReportCall) Header() http.Header { func (c *V1alphaRunPivotReportCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3045,7 +3045,7 @@ func (c *V1alphaRunReportCall) Header() http.Header { func (c *V1alphaRunReportCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/analyticsreporting/v4/analyticsreporting-gen.go b/analyticsreporting/v4/analyticsreporting-gen.go index f003585df6e..ff3157fca49 100644 --- a/analyticsreporting/v4/analyticsreporting-gen.go +++ b/analyticsreporting/v4/analyticsreporting-gen.go @@ -2692,7 +2692,7 @@ func (c *ReportsBatchGetCall) Header() http.Header { func (c *ReportsBatchGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2818,7 +2818,7 @@ func (c *UserActivitySearchCall) Header() http.Header { func (c *UserActivitySearchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/androiddeviceprovisioning/v1/androiddeviceprovisioning-gen.go b/androiddeviceprovisioning/v1/androiddeviceprovisioning-gen.go index d8bcf2c1a90..2ff2814f460 100644 --- a/androiddeviceprovisioning/v1/androiddeviceprovisioning-gen.go +++ b/androiddeviceprovisioning/v1/androiddeviceprovisioning-gen.go @@ -1975,7 +1975,7 @@ func (c *CustomersListCall) Header() http.Header { func (c *CustomersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2128,7 +2128,7 @@ func (c *CustomersConfigurationsCreateCall) Header() http.Header { func (c *CustomersConfigurationsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2264,7 +2264,7 @@ func (c *CustomersConfigurationsDeleteCall) Header() http.Header { func (c *CustomersConfigurationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2402,7 +2402,7 @@ func (c *CustomersConfigurationsGetCall) Header() http.Header { func (c *CustomersConfigurationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2543,7 +2543,7 @@ func (c *CustomersConfigurationsListCall) Header() http.Header { func (c *CustomersConfigurationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2686,7 +2686,7 @@ func (c *CustomersConfigurationsPatchCall) Header() http.Header { func (c *CustomersConfigurationsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2832,7 +2832,7 @@ func (c *CustomersDevicesApplyConfigurationCall) Header() http.Header { func (c *CustomersDevicesApplyConfigurationCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2978,7 +2978,7 @@ func (c *CustomersDevicesGetCall) Header() http.Header { func (c *CustomersDevicesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3134,7 +3134,7 @@ func (c *CustomersDevicesListCall) Header() http.Header { func (c *CustomersDevicesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3298,7 +3298,7 @@ func (c *CustomersDevicesRemoveConfigurationCall) Header() http.Header { func (c *CustomersDevicesRemoveConfigurationCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3438,7 +3438,7 @@ func (c *CustomersDevicesUnclaimCall) Header() http.Header { func (c *CustomersDevicesUnclaimCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3585,7 +3585,7 @@ func (c *CustomersDpcsListCall) Header() http.Header { func (c *CustomersDpcsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3728,7 +3728,7 @@ func (c *OperationsGetCall) Header() http.Header { func (c *OperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3864,7 +3864,7 @@ func (c *PartnersCustomersCreateCall) Header() http.Header { func (c *PartnersCustomersCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4028,7 +4028,7 @@ func (c *PartnersCustomersListCall) Header() http.Header { func (c *PartnersCustomersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4195,7 +4195,7 @@ func (c *PartnersDevicesClaimCall) Header() http.Header { func (c *PartnersDevicesClaimCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4336,7 +4336,7 @@ func (c *PartnersDevicesClaimAsyncCall) Header() http.Header { func (c *PartnersDevicesClaimAsyncCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4475,7 +4475,7 @@ func (c *PartnersDevicesFindByIdentifierCall) Header() http.Header { func (c *PartnersDevicesFindByIdentifierCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4638,7 +4638,7 @@ func (c *PartnersDevicesFindByOwnerCall) Header() http.Header { func (c *PartnersDevicesFindByOwnerCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4806,7 +4806,7 @@ func (c *PartnersDevicesGetCall) Header() http.Header { func (c *PartnersDevicesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4940,7 +4940,7 @@ func (c *PartnersDevicesMetadataCall) Header() http.Header { func (c *PartnersDevicesMetadataCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5089,7 +5089,7 @@ func (c *PartnersDevicesUnclaimCall) Header() http.Header { func (c *PartnersDevicesUnclaimCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5230,7 +5230,7 @@ func (c *PartnersDevicesUnclaimAsyncCall) Header() http.Header { func (c *PartnersDevicesUnclaimAsyncCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5372,7 +5372,7 @@ func (c *PartnersDevicesUpdateMetadataAsyncCall) Header() http.Header { func (c *PartnersDevicesUpdateMetadataAsyncCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5533,7 +5533,7 @@ func (c *PartnersVendorsListCall) Header() http.Header { func (c *PartnersVendorsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5720,7 +5720,7 @@ func (c *PartnersVendorsCustomersListCall) Header() http.Header { func (c *PartnersVendorsCustomersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/androidenterprise/v1/androidenterprise-gen.go b/androidenterprise/v1/androidenterprise-gen.go index ada580a2511..be9c5fe067f 100644 --- a/androidenterprise/v1/androidenterprise-gen.go +++ b/androidenterprise/v1/androidenterprise-gen.go @@ -4106,7 +4106,7 @@ func (c *DevicesForceReportUploadCall) Header() http.Header { func (c *DevicesForceReportUploadCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4238,7 +4238,7 @@ func (c *DevicesGetCall) Header() http.Header { func (c *DevicesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4406,7 +4406,7 @@ func (c *DevicesGetStateCall) Header() http.Header { func (c *DevicesGetStateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4567,7 +4567,7 @@ func (c *DevicesListCall) Header() http.Header { func (c *DevicesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4718,7 +4718,7 @@ func (c *DevicesSetStateCall) Header() http.Header { func (c *DevicesSetStateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4890,7 +4890,7 @@ func (c *DevicesUpdateCall) Header() http.Header { func (c *DevicesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5056,7 +5056,7 @@ func (c *EnterprisesAcknowledgeNotificationSetCall) Header() http.Header { func (c *EnterprisesAcknowledgeNotificationSetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5165,7 +5165,7 @@ func (c *EnterprisesCompleteSignupCall) Header() http.Header { func (c *EnterprisesCompleteSignupCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5299,7 +5299,7 @@ func (c *EnterprisesCreateWebTokenCall) Header() http.Header { func (c *EnterprisesCreateWebTokenCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5437,7 +5437,7 @@ func (c *EnterprisesEnrollCall) Header() http.Header { func (c *EnterprisesEnrollCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5583,7 +5583,7 @@ func (c *EnterprisesGenerateSignupUrlCall) Header() http.Header { func (c *EnterprisesGenerateSignupUrlCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5717,7 +5717,7 @@ func (c *EnterprisesGetCall) Header() http.Header { func (c *EnterprisesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5886,7 +5886,7 @@ func (c *EnterprisesGetServiceAccountCall) Header() http.Header { func (c *EnterprisesGetServiceAccountCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6044,7 +6044,7 @@ func (c *EnterprisesGetStoreLayoutCall) Header() http.Header { func (c *EnterprisesGetStoreLayoutCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6190,7 +6190,7 @@ func (c *EnterprisesListCall) Header() http.Header { func (c *EnterprisesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6350,7 +6350,7 @@ func (c *EnterprisesPullNotificationSetCall) Header() http.Header { func (c *EnterprisesPullNotificationSetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6483,7 +6483,7 @@ func (c *EnterprisesSendTestPushNotificationCall) Header() http.Header { func (c *EnterprisesSendTestPushNotificationCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6617,7 +6617,7 @@ func (c *EnterprisesSetAccountCall) Header() http.Header { func (c *EnterprisesSetAccountCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6763,7 +6763,7 @@ func (c *EnterprisesSetStoreLayoutCall) Header() http.Header { func (c *EnterprisesSetStoreLayoutCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6900,7 +6900,7 @@ func (c *EnterprisesUnenrollCall) Header() http.Header { func (c *EnterprisesUnenrollCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7005,7 +7005,7 @@ func (c *EntitlementsDeleteCall) Header() http.Header { func (c *EntitlementsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7137,7 +7137,7 @@ func (c *EntitlementsGetCall) Header() http.Header { func (c *EntitlementsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7299,7 +7299,7 @@ func (c *EntitlementsListCall) Header() http.Header { func (c *EntitlementsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7455,7 +7455,7 @@ func (c *EntitlementsUpdateCall) Header() http.Header { func (c *EntitlementsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7627,7 +7627,7 @@ func (c *GrouplicensesGetCall) Header() http.Header { func (c *GrouplicensesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7779,7 +7779,7 @@ func (c *GrouplicensesListCall) Header() http.Header { func (c *GrouplicensesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7925,7 +7925,7 @@ func (c *GrouplicenseusersListCall) Header() http.Header { func (c *GrouplicenseusersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8073,7 +8073,7 @@ func (c *InstallsDeleteCall) Header() http.Header { func (c *InstallsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8215,7 +8215,7 @@ func (c *InstallsGetCall) Header() http.Header { func (c *InstallsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8387,7 +8387,7 @@ func (c *InstallsListCall) Header() http.Header { func (c *InstallsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8545,7 +8545,7 @@ func (c *InstallsUpdateCall) Header() http.Header { func (c *InstallsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8713,7 +8713,7 @@ func (c *ManagedconfigurationsfordeviceDeleteCall) Header() http.Header { func (c *ManagedconfigurationsfordeviceDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8855,7 +8855,7 @@ func (c *ManagedconfigurationsfordeviceGetCall) Header() http.Header { func (c *ManagedconfigurationsfordeviceGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9027,7 +9027,7 @@ func (c *ManagedconfigurationsfordeviceListCall) Header() http.Header { func (c *ManagedconfigurationsfordeviceListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9186,7 +9186,7 @@ func (c *ManagedconfigurationsfordeviceUpdateCall) Header() http.Header { func (c *ManagedconfigurationsfordeviceUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9352,7 +9352,7 @@ func (c *ManagedconfigurationsforuserDeleteCall) Header() http.Header { func (c *ManagedconfigurationsforuserDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9485,7 +9485,7 @@ func (c *ManagedconfigurationsforuserGetCall) Header() http.Header { func (c *ManagedconfigurationsforuserGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9647,7 +9647,7 @@ func (c *ManagedconfigurationsforuserListCall) Header() http.Header { func (c *ManagedconfigurationsforuserListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9800,7 +9800,7 @@ func (c *ManagedconfigurationsforuserUpdateCall) Header() http.Header { func (c *ManagedconfigurationsforuserUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9967,7 +9967,7 @@ func (c *ManagedconfigurationssettingsListCall) Header() http.Header { func (c *ManagedconfigurationssettingsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10128,7 +10128,7 @@ func (c *PermissionsGetCall) Header() http.Header { func (c *PermissionsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10273,7 +10273,7 @@ func (c *ProductsApproveCall) Header() http.Header { func (c *ProductsApproveCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10408,7 +10408,7 @@ func (c *ProductsGenerateApprovalUrlCall) Header() http.Header { func (c *ProductsGenerateApprovalUrlCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10572,7 +10572,7 @@ func (c *ProductsGetCall) Header() http.Header { func (c *ProductsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10743,7 +10743,7 @@ func (c *ProductsGetAppRestrictionsSchemaCall) Header() http.Header { func (c *ProductsGetAppRestrictionsSchemaCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10902,7 +10902,7 @@ func (c *ProductsGetPermissionsCall) Header() http.Header { func (c *ProductsGetPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11096,7 +11096,7 @@ func (c *ProductsListCall) Header() http.Header { func (c *ProductsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11257,7 +11257,7 @@ func (c *ProductsUnapproveCall) Header() http.Header { func (c *ProductsUnapproveCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11372,7 +11372,7 @@ func (c *ServiceaccountkeysDeleteCall) Header() http.Header { func (c *ServiceaccountkeysDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11488,7 +11488,7 @@ func (c *ServiceaccountkeysInsertCall) Header() http.Header { func (c *ServiceaccountkeysInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11640,7 +11640,7 @@ func (c *ServiceaccountkeysListCall) Header() http.Header { func (c *ServiceaccountkeysListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11776,7 +11776,7 @@ func (c *StorelayoutclustersDeleteCall) Header() http.Header { func (c *StorelayoutclustersDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11908,7 +11908,7 @@ func (c *StorelayoutclustersGetCall) Header() http.Header { func (c *StorelayoutclustersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12060,7 +12060,7 @@ func (c *StorelayoutclustersInsertCall) Header() http.Header { func (c *StorelayoutclustersInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12218,7 +12218,7 @@ func (c *StorelayoutclustersListCall) Header() http.Header { func (c *StorelayoutclustersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12364,7 +12364,7 @@ func (c *StorelayoutclustersUpdateCall) Header() http.Header { func (c *StorelayoutclustersUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12519,7 +12519,7 @@ func (c *StorelayoutpagesDeleteCall) Header() http.Header { func (c *StorelayoutpagesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12641,7 +12641,7 @@ func (c *StorelayoutpagesGetCall) Header() http.Header { func (c *StorelayoutpagesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12783,7 +12783,7 @@ func (c *StorelayoutpagesInsertCall) Header() http.Header { func (c *StorelayoutpagesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12931,7 +12931,7 @@ func (c *StorelayoutpagesListCall) Header() http.Header { func (c *StorelayoutpagesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13067,7 +13067,7 @@ func (c *StorelayoutpagesUpdateCall) Header() http.Header { func (c *StorelayoutpagesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13214,7 +13214,7 @@ func (c *UsersDeleteCall) Header() http.Header { func (c *UsersDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13329,7 +13329,7 @@ func (c *UsersGenerateAuthenticationTokenCall) Header() http.Header { func (c *UsersGenerateAuthenticationTokenCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13479,7 +13479,7 @@ func (c *UsersGetCall) Header() http.Header { func (c *UsersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13633,7 +13633,7 @@ func (c *UsersGetAvailableProductSetCall) Header() http.Header { func (c *UsersGetAvailableProductSetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13779,7 +13779,7 @@ func (c *UsersInsertCall) Header() http.Header { func (c *UsersInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13931,7 +13931,7 @@ func (c *UsersListCall) Header() http.Header { func (c *UsersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14075,7 +14075,7 @@ func (c *UsersRevokeDeviceAccessCall) Header() http.Header { func (c *UsersRevokeDeviceAccessCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14191,7 +14191,7 @@ func (c *UsersSetAvailableProductSetCall) Header() http.Header { func (c *UsersSetAvailableProductSetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14344,7 +14344,7 @@ func (c *UsersUpdateCall) Header() http.Header { func (c *UsersUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14491,7 +14491,7 @@ func (c *WebappsDeleteCall) Header() http.Header { func (c *WebappsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14613,7 +14613,7 @@ func (c *WebappsGetCall) Header() http.Header { func (c *WebappsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14755,7 +14755,7 @@ func (c *WebappsInsertCall) Header() http.Header { func (c *WebappsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14903,7 +14903,7 @@ func (c *WebappsListCall) Header() http.Header { func (c *WebappsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15039,7 +15039,7 @@ func (c *WebappsUpdateCall) Header() http.Header { func (c *WebappsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/androidpublisher/v3/androidpublisher-gen.go b/androidpublisher/v3/androidpublisher-gen.go index ec8d267d493..72cfe880fa7 100644 --- a/androidpublisher/v3/androidpublisher-gen.go +++ b/androidpublisher/v3/androidpublisher-gen.go @@ -2979,7 +2979,7 @@ func (c *EditsCommitCall) Header() http.Header { func (c *EditsCommitCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3118,7 +3118,7 @@ func (c *EditsDeleteCall) Header() http.Header { func (c *EditsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3240,7 +3240,7 @@ func (c *EditsGetCall) Header() http.Header { func (c *EditsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3382,7 +3382,7 @@ func (c *EditsInsertCall) Header() http.Header { func (c *EditsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3521,7 +3521,7 @@ func (c *EditsValidateCall) Header() http.Header { func (c *EditsValidateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3666,7 +3666,7 @@ func (c *EditsApksAddexternallyhostedCall) Header() http.Header { func (c *EditsApksAddexternallyhostedCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3824,7 +3824,7 @@ func (c *EditsApksListCall) Header() http.Header { func (c *EditsApksListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4006,7 +4006,7 @@ func (c *EditsApksUploadCall) Header() http.Header { func (c *EditsApksUploadCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4202,7 +4202,7 @@ func (c *EditsBundlesListCall) Header() http.Header { func (c *EditsBundlesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4398,7 +4398,7 @@ func (c *EditsBundlesUploadCall) Header() http.Header { func (c *EditsBundlesUploadCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4632,7 +4632,7 @@ func (c *EditsDeobfuscationfilesUploadCall) Header() http.Header { func (c *EditsDeobfuscationfilesUploadCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4854,7 +4854,7 @@ func (c *EditsDetailsGetCall) Header() http.Header { func (c *EditsDetailsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4998,7 +4998,7 @@ func (c *EditsDetailsPatchCall) Header() http.Header { func (c *EditsDetailsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5147,7 +5147,7 @@ func (c *EditsDetailsUpdateCall) Header() http.Header { func (c *EditsDetailsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5309,7 +5309,7 @@ func (c *EditsExpansionfilesGetCall) Header() http.Header { func (c *EditsExpansionfilesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5486,7 +5486,7 @@ func (c *EditsExpansionfilesPatchCall) Header() http.Header { func (c *EditsExpansionfilesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5668,7 +5668,7 @@ func (c *EditsExpansionfilesUpdateCall) Header() http.Header { func (c *EditsExpansionfilesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5887,7 +5887,7 @@ func (c *EditsExpansionfilesUploadCall) Header() http.Header { func (c *EditsExpansionfilesUploadCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6104,7 +6104,7 @@ func (c *EditsImagesDeleteCall) Header() http.Header { func (c *EditsImagesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6266,7 +6266,7 @@ func (c *EditsImagesDeleteallCall) Header() http.Header { func (c *EditsImagesDeleteallCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6458,7 +6458,7 @@ func (c *EditsImagesListCall) Header() http.Header { func (c *EditsImagesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6683,7 +6683,7 @@ func (c *EditsImagesUploadCall) Header() http.Header { func (c *EditsImagesUploadCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6907,7 +6907,7 @@ func (c *EditsListingsDeleteCall) Header() http.Header { func (c *EditsListingsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7026,7 +7026,7 @@ func (c *EditsListingsDeleteallCall) Header() http.Header { func (c *EditsListingsDeleteallCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7150,7 +7150,7 @@ func (c *EditsListingsGetCall) Header() http.Header { func (c *EditsListingsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7311,7 +7311,7 @@ func (c *EditsListingsListCall) Header() http.Header { func (c *EditsListingsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7457,7 +7457,7 @@ func (c *EditsListingsPatchCall) Header() http.Header { func (c *EditsListingsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7616,7 +7616,7 @@ func (c *EditsListingsUpdateCall) Header() http.Header { func (c *EditsListingsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7784,7 +7784,7 @@ func (c *EditsTestersGetCall) Header() http.Header { func (c *EditsTestersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7938,7 +7938,7 @@ func (c *EditsTestersPatchCall) Header() http.Header { func (c *EditsTestersPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8097,7 +8097,7 @@ func (c *EditsTestersUpdateCall) Header() http.Header { func (c *EditsTestersUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8265,7 +8265,7 @@ func (c *EditsTracksGetCall) Header() http.Header { func (c *EditsTracksGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8426,7 +8426,7 @@ func (c *EditsTracksListCall) Header() http.Header { func (c *EditsTracksListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8572,7 +8572,7 @@ func (c *EditsTracksPatchCall) Header() http.Header { func (c *EditsTracksPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8731,7 +8731,7 @@ func (c *EditsTracksUpdateCall) Header() http.Header { func (c *EditsTracksUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8887,7 +8887,7 @@ func (c *InappproductsDeleteCall) Header() http.Header { func (c *InappproductsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9010,7 +9010,7 @@ func (c *InappproductsGetCall) Header() http.Header { func (c *InappproductsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9163,7 +9163,7 @@ func (c *InappproductsInsertCall) Header() http.Header { func (c *InappproductsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9338,7 +9338,7 @@ func (c *InappproductsListCall) Header() http.Header { func (c *InappproductsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9502,7 +9502,7 @@ func (c *InappproductsPatchCall) Header() http.Header { func (c *InappproductsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9667,7 +9667,7 @@ func (c *InappproductsUpdateCall) Header() http.Header { func (c *InappproductsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9862,7 +9862,7 @@ func (c *InternalappsharingartifactsUploadapkCall) Header() http.Header { func (c *InternalappsharingartifactsUploadapkCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10082,7 +10082,7 @@ func (c *InternalappsharingartifactsUploadbundleCall) Header() http.Header { func (c *InternalappsharingartifactsUploadbundleCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10268,7 +10268,7 @@ func (c *OrdersRefundCall) Header() http.Header { func (c *OrdersRefundCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10388,7 +10388,7 @@ func (c *PurchasesProductsAcknowledgeCall) Header() http.Header { func (c *PurchasesProductsAcknowledgeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10528,7 +10528,7 @@ func (c *PurchasesProductsGetCall) Header() http.Header { func (c *PurchasesProductsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10682,7 +10682,7 @@ func (c *PurchasesSubscriptionsAcknowledgeCall) Header() http.Header { func (c *PurchasesSubscriptionsAcknowledgeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10812,7 +10812,7 @@ func (c *PurchasesSubscriptionsCancelCall) Header() http.Header { func (c *PurchasesSubscriptionsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10936,7 +10936,7 @@ func (c *PurchasesSubscriptionsDeferCall) Header() http.Header { func (c *PurchasesSubscriptionsDeferCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11106,7 +11106,7 @@ func (c *PurchasesSubscriptionsGetCall) Header() http.Header { func (c *PurchasesSubscriptionsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11260,7 +11260,7 @@ func (c *PurchasesSubscriptionsRefundCall) Header() http.Header { func (c *PurchasesSubscriptionsRefundCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11383,7 +11383,7 @@ func (c *PurchasesSubscriptionsRevokeCall) Header() http.Header { func (c *PurchasesSubscriptionsRevokeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11575,7 +11575,7 @@ func (c *PurchasesVoidedpurchasesListCall) Header() http.Header { func (c *PurchasesVoidedpurchasesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11762,7 +11762,7 @@ func (c *ReviewsGetCall) Header() http.Header { func (c *ReviewsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11946,7 +11946,7 @@ func (c *ReviewsListCall) Header() http.Header { func (c *ReviewsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12104,7 +12104,7 @@ func (c *ReviewsReplyCall) Header() http.Header { func (c *ReviewsReplyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12254,7 +12254,7 @@ func (c *SystemapksVariantsCreateCall) Header() http.Header { func (c *SystemapksVariantsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12416,7 +12416,7 @@ func (c *SystemapksVariantsDownloadCall) Header() http.Header { func (c *SystemapksVariantsDownloadCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12571,7 +12571,7 @@ func (c *SystemapksVariantsGetCall) Header() http.Header { func (c *SystemapksVariantsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12734,7 +12734,7 @@ func (c *SystemapksVariantsListCall) Header() http.Header { func (c *SystemapksVariantsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/apigateway/v1/apigateway-api.json b/apigateway/v1/apigateway-api.json new file mode 100644 index 00000000000..df8e8e16051 --- /dev/null +++ b/apigateway/v1/apigateway-api.json @@ -0,0 +1,1806 @@ +{ + "auth": { + "oauth2": { + "scopes": { + "https://www.googleapis.com/auth/cloud-platform": { + "description": "View and manage your data across Google Cloud Platform services" + } + } + } + }, + "basePath": "", + "baseUrl": "https://apigateway.googleapis.com/", + "batchPath": "batch", + "description": "", + "discoveryVersion": "v1", + "documentationLink": " https://cloud.google.com/api-gateway/docs", + "fullyEncodeReservedExpansion": true, + "icons": { + "x16": "http://www.google.com/images/icons/product/search-16.gif", + "x32": "http://www.google.com/images/icons/product/search-32.gif" + }, + "id": "apigateway:v1", + "kind": "discovery#restDescription", + "mtlsRootUrl": "https://apigateway.mtls.googleapis.com/", + "name": "apigateway", + "ownerDomain": "google.com", + "ownerName": "Google", + "parameters": { + "$.xgafv": { + "description": "V1 error format.", + "enum": [ + "1", + "2" + ], + "enumDescriptions": [ + "v1 error format", + "v2 error format" + ], + "location": "query", + "type": "string" + }, + "access_token": { + "description": "OAuth access token.", + "location": "query", + "type": "string" + }, + "alt": { + "default": "json", + "description": "Data format for response.", + "enum": [ + "json", + "media", + "proto" + ], + "enumDescriptions": [ + "Responses with Content-Type of application/json", + "Media download with context-dependent Content-Type", + "Responses with Content-Type of application/x-protobuf" + ], + "location": "query", + "type": "string" + }, + "callback": { + "description": "JSONP", + "location": "query", + "type": "string" + }, + "fields": { + "description": "Selector specifying which fields to include in a partial response.", + "location": "query", + "type": "string" + }, + "key": { + "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", + "location": "query", + "type": "string" + }, + "oauth_token": { + "description": "OAuth 2.0 token for the current user.", + "location": "query", + "type": "string" + }, + "prettyPrint": { + "default": "true", + "description": "Returns response with indentations and line breaks.", + "location": "query", + "type": "boolean" + }, + "quotaUser": { + "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", + "location": "query", + "type": "string" + }, + "uploadType": { + "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", + "location": "query", + "type": "string" + }, + "upload_protocol": { + "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", + "location": "query", + "type": "string" + } + }, + "protocol": "rest", + "resources": { + "projects": { + "resources": { + "locations": { + "methods": { + "get": { + "description": "Gets information about a location.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}", + "httpMethod": "GET", + "id": "apigateway.projects.locations.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Resource name for the location.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "ApigatewayLocation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "Lists information about the supported locations for this service.", + "flatPath": "v1/projects/{projectsId}/locations", + "httpMethod": "GET", + "id": "apigateway.projects.locations.list", + "parameterOrder": [ + "name" + ], + "parameters": { + "filter": { + "description": "The standard list filter.", + "location": "query", + "type": "string" + }, + "name": { + "description": "The resource that owns the locations collection, if applicable.", + "location": "path", + "pattern": "^projects/[^/]+$", + "required": true, + "type": "string" + }, + "pageSize": { + "description": "The standard list page size.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "The standard list page token.", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+name}/locations", + "response": { + "$ref": "ApigatewayListLocationsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + }, + "resources": { + "apis": { + "methods": { + "create": { + "description": "Creates a new Api in a given project and location.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis", + "httpMethod": "POST", + "id": "apigateway.projects.locations.apis.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "apiId": { + "description": "Required. Identifier to assign to the API. Must be unique within scope of the parent resource.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. Parent resource of the API, of the form: `projects/*/locations/global`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/apis", + "request": { + "$ref": "ApigatewayApi" + }, + "response": { + "$ref": "ApigatewayOperation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "delete": { + "description": "Deletes a single Api.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}", + "httpMethod": "DELETE", + "id": "apigateway.projects.locations.apis.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. Resource name of the form: `projects/*/locations/global/apis/*`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/apis/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "ApigatewayOperation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "get": { + "description": "Gets details of a single Api.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}", + "httpMethod": "GET", + "id": "apigateway.projects.locations.apis.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. Resource name of the form: `projects/*/locations/global/apis/*`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/apis/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "ApigatewayApi" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "getIamPolicy": { + "description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}:getIamPolicy", + "httpMethod": "GET", + "id": "apigateway.projects.locations.apis.getIamPolicy", + "parameterOrder": [ + "resource" + ], + "parameters": { + "options.requestedPolicyVersion": { + "description": "Optional. The policy format version to be returned. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional bindings must specify version 3. Policies without any conditional bindings may specify any valid value or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", + "format": "int32", + "location": "query", + "type": "integer" + }, + "resource": { + "description": "REQUIRED: The resource for which the policy is being requested. See the operation documentation for the appropriate value for this field.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/apis/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+resource}:getIamPolicy", + "response": { + "$ref": "ApigatewayPolicy" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "Lists Apis in a given project and location.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis", + "httpMethod": "GET", + "id": "apigateway.projects.locations.apis.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "filter": { + "description": "Filter.", + "location": "query", + "type": "string" + }, + "orderBy": { + "description": "Order by parameters.", + "location": "query", + "type": "string" + }, + "pageSize": { + "description": "Page size.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "Page token.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. Parent resource of the API, of the form: `projects/*/locations/global`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/apis", + "response": { + "$ref": "ApigatewayListApisResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "patch": { + "description": "Updates the parameters of a single Api.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}", + "httpMethod": "PATCH", + "id": "apigateway.projects.locations.apis.patch", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Output only. Resource name of the API. Format: projects/{project}/locations/global/apis/{api}", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/apis/[^/]+$", + "required": true, + "type": "string" + }, + "updateMask": { + "description": "Field mask is used to specify the fields to be overwritten in the Api resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+name}", + "request": { + "$ref": "ApigatewayApi" + }, + "response": { + "$ref": "ApigatewayOperation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "setIamPolicy": { + "description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}:setIamPolicy", + "httpMethod": "POST", + "id": "apigateway.projects.locations.apis.setIamPolicy", + "parameterOrder": [ + "resource" + ], + "parameters": { + "resource": { + "description": "REQUIRED: The resource for which the policy is being specified. See the operation documentation for the appropriate value for this field.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/apis/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+resource}:setIamPolicy", + "request": { + "$ref": "ApigatewaySetIamPolicyRequest" + }, + "response": { + "$ref": "ApigatewayPolicy" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "testIamPermissions": { + "description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}:testIamPermissions", + "httpMethod": "POST", + "id": "apigateway.projects.locations.apis.testIamPermissions", + "parameterOrder": [ + "resource" + ], + "parameters": { + "resource": { + "description": "REQUIRED: The resource for which the policy detail is being requested. See the operation documentation for the appropriate value for this field.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/apis/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+resource}:testIamPermissions", + "request": { + "$ref": "ApigatewayTestIamPermissionsRequest" + }, + "response": { + "$ref": "ApigatewayTestIamPermissionsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + }, + "resources": { + "configs": { + "methods": { + "create": { + "description": "Creates a new ApiConfig in a given project and location.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}/configs", + "httpMethod": "POST", + "id": "apigateway.projects.locations.apis.configs.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "apiConfigId": { + "description": "Required. Identifier to assign to the API Config. Must be unique within scope of the parent resource.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. Parent resource of the API Config, of the form: `projects/*/locations/global/apis/*`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/apis/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/configs", + "request": { + "$ref": "ApigatewayApiConfig" + }, + "response": { + "$ref": "ApigatewayOperation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "delete": { + "description": "Deletes a single ApiConfig.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}/configs/{configsId}", + "httpMethod": "DELETE", + "id": "apigateway.projects.locations.apis.configs.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. Resource name of the form: `projects/*/locations/global/apis/*/configs/*`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/apis/[^/]+/configs/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "ApigatewayOperation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "get": { + "description": "Gets details of a single ApiConfig.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}/configs/{configsId}", + "httpMethod": "GET", + "id": "apigateway.projects.locations.apis.configs.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. Resource name of the form: `projects/*/locations/global/apis/*/configs/*`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/apis/[^/]+/configs/[^/]+$", + "required": true, + "type": "string" + }, + "view": { + "description": "Specifies which fields of the API Config are returned in the response. Defaults to `BASIC` view.", + "enum": [ + "CONFIG_VIEW_UNSPECIFIED", + "BASIC", + "FULL" + ], + "enumDescriptions": [ + "", + "Do not include configuration source files.", + "Include configuration source files." + ], + "location": "query", + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "ApigatewayApiConfig" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "getIamPolicy": { + "description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}/configs/{configsId}:getIamPolicy", + "httpMethod": "GET", + "id": "apigateway.projects.locations.apis.configs.getIamPolicy", + "parameterOrder": [ + "resource" + ], + "parameters": { + "options.requestedPolicyVersion": { + "description": "Optional. The policy format version to be returned. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional bindings must specify version 3. Policies without any conditional bindings may specify any valid value or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", + "format": "int32", + "location": "query", + "type": "integer" + }, + "resource": { + "description": "REQUIRED: The resource for which the policy is being requested. See the operation documentation for the appropriate value for this field.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/apis/[^/]+/configs/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+resource}:getIamPolicy", + "response": { + "$ref": "ApigatewayPolicy" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "Lists ApiConfigs in a given project and location.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}/configs", + "httpMethod": "GET", + "id": "apigateway.projects.locations.apis.configs.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "filter": { + "description": "Filter.", + "location": "query", + "type": "string" + }, + "orderBy": { + "description": "Order by parameters.", + "location": "query", + "type": "string" + }, + "pageSize": { + "description": "Page size.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "Page token.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. Parent resource of the API Config, of the form: `projects/*/locations/global/apis/*`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/apis/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/configs", + "response": { + "$ref": "ApigatewayListApiConfigsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "patch": { + "description": "Updates the parameters of a single ApiConfig.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}/configs/{configsId}", + "httpMethod": "PATCH", + "id": "apigateway.projects.locations.apis.configs.patch", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Output only. Resource name of the API Config. Format: projects/{project}/locations/global/apis/{api}/configs/{api_config}", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/apis/[^/]+/configs/[^/]+$", + "required": true, + "type": "string" + }, + "updateMask": { + "description": "Field mask is used to specify the fields to be overwritten in the ApiConfig resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+name}", + "request": { + "$ref": "ApigatewayApiConfig" + }, + "response": { + "$ref": "ApigatewayOperation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "setIamPolicy": { + "description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}/configs/{configsId}:setIamPolicy", + "httpMethod": "POST", + "id": "apigateway.projects.locations.apis.configs.setIamPolicy", + "parameterOrder": [ + "resource" + ], + "parameters": { + "resource": { + "description": "REQUIRED: The resource for which the policy is being specified. See the operation documentation for the appropriate value for this field.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/apis/[^/]+/configs/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+resource}:setIamPolicy", + "request": { + "$ref": "ApigatewaySetIamPolicyRequest" + }, + "response": { + "$ref": "ApigatewayPolicy" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "testIamPermissions": { + "description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}/configs/{configsId}:testIamPermissions", + "httpMethod": "POST", + "id": "apigateway.projects.locations.apis.configs.testIamPermissions", + "parameterOrder": [ + "resource" + ], + "parameters": { + "resource": { + "description": "REQUIRED: The resource for which the policy detail is being requested. See the operation documentation for the appropriate value for this field.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/apis/[^/]+/configs/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+resource}:testIamPermissions", + "request": { + "$ref": "ApigatewayTestIamPermissionsRequest" + }, + "response": { + "$ref": "ApigatewayTestIamPermissionsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + } + } + }, + "gateways": { + "methods": { + "create": { + "description": "Creates a new Gateway in a given project and location.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/gateways", + "httpMethod": "POST", + "id": "apigateway.projects.locations.gateways.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "gatewayId": { + "description": "Required. Identifier to assign to the Gateway. Must be unique within scope of the parent resource.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. Parent resource of the Gateway, of the form: `projects/*/locations/*`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/gateways", + "request": { + "$ref": "ApigatewayGateway" + }, + "response": { + "$ref": "ApigatewayOperation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "delete": { + "description": "Deletes a single Gateway.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/gateways/{gatewaysId}", + "httpMethod": "DELETE", + "id": "apigateway.projects.locations.gateways.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. Resource name of the form: `projects/*/locations/*/gateways/*`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/gateways/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "ApigatewayOperation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "get": { + "description": "Gets details of a single Gateway.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/gateways/{gatewaysId}", + "httpMethod": "GET", + "id": "apigateway.projects.locations.gateways.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. Resource name of the form: `projects/*/locations/*/gateways/*`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/gateways/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "ApigatewayGateway" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "getIamPolicy": { + "description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/gateways/{gatewaysId}:getIamPolicy", + "httpMethod": "GET", + "id": "apigateway.projects.locations.gateways.getIamPolicy", + "parameterOrder": [ + "resource" + ], + "parameters": { + "options.requestedPolicyVersion": { + "description": "Optional. The policy format version to be returned. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional bindings must specify version 3. Policies without any conditional bindings may specify any valid value or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", + "format": "int32", + "location": "query", + "type": "integer" + }, + "resource": { + "description": "REQUIRED: The resource for which the policy is being requested. See the operation documentation for the appropriate value for this field.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/gateways/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+resource}:getIamPolicy", + "response": { + "$ref": "ApigatewayPolicy" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "Lists Gateways in a given project and location.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/gateways", + "httpMethod": "GET", + "id": "apigateway.projects.locations.gateways.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "filter": { + "description": "Filter.", + "location": "query", + "type": "string" + }, + "orderBy": { + "description": "Order by parameters.", + "location": "query", + "type": "string" + }, + "pageSize": { + "description": "Page size.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "Page token.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. Parent resource of the Gateway, of the form: `projects/*/locations/*`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/gateways", + "response": { + "$ref": "ApigatewayListGatewaysResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "patch": { + "description": "Updates the parameters of a single Gateway.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/gateways/{gatewaysId}", + "httpMethod": "PATCH", + "id": "apigateway.projects.locations.gateways.patch", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Output only. Resource name of the Gateway. Format: projects/{project}/locations/{location}/gateways/{gateway}", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/gateways/[^/]+$", + "required": true, + "type": "string" + }, + "updateMask": { + "description": "Field mask is used to specify the fields to be overwritten in the Gateway resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+name}", + "request": { + "$ref": "ApigatewayGateway" + }, + "response": { + "$ref": "ApigatewayOperation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "setIamPolicy": { + "description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/gateways/{gatewaysId}:setIamPolicy", + "httpMethod": "POST", + "id": "apigateway.projects.locations.gateways.setIamPolicy", + "parameterOrder": [ + "resource" + ], + "parameters": { + "resource": { + "description": "REQUIRED: The resource for which the policy is being specified. See the operation documentation for the appropriate value for this field.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/gateways/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+resource}:setIamPolicy", + "request": { + "$ref": "ApigatewaySetIamPolicyRequest" + }, + "response": { + "$ref": "ApigatewayPolicy" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "testIamPermissions": { + "description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/gateways/{gatewaysId}:testIamPermissions", + "httpMethod": "POST", + "id": "apigateway.projects.locations.gateways.testIamPermissions", + "parameterOrder": [ + "resource" + ], + "parameters": { + "resource": { + "description": "REQUIRED: The resource for which the policy detail is being requested. See the operation documentation for the appropriate value for this field.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/gateways/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+resource}:testIamPermissions", + "request": { + "$ref": "ApigatewayTestIamPermissionsRequest" + }, + "response": { + "$ref": "ApigatewayTestIamPermissionsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + }, + "operations": { + "methods": { + "cancel": { + "description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel", + "httpMethod": "POST", + "id": "apigateway.projects.locations.operations.cancel", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "The name of the operation resource to be cancelled.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}:cancel", + "request": { + "$ref": "ApigatewayCancelOperationRequest" + }, + "response": { + "$ref": "Empty" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "delete": { + "description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", + "httpMethod": "DELETE", + "id": "apigateway.projects.locations.operations.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "The name of the operation resource to be deleted.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "Empty" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "get": { + "description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", + "httpMethod": "GET", + "id": "apigateway.projects.locations.operations.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "The name of the operation resource.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "ApigatewayOperation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. 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.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations", + "httpMethod": "GET", + "id": "apigateway.projects.locations.operations.list", + "parameterOrder": [ + "name" + ], + "parameters": { + "filter": { + "description": "The standard list filter.", + "location": "query", + "type": "string" + }, + "name": { + "description": "The name of the operation's parent resource.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + }, + "pageSize": { + "description": "The standard list page size.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "The standard list page token.", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+name}/operations", + "response": { + "$ref": "ApigatewayListOperationsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + } + } + } + } + } + }, + "revision": "20201211", + "rootUrl": "https://apigateway.googleapis.com/", + "schemas": { + "ApigatewayApi": { + "description": "An API that can be served by one or more Gateways.", + "id": "ApigatewayApi", + "properties": { + "createTime": { + "description": "Output only. Created time.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "displayName": { + "description": "Optional. Display name.", + "type": "string" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "description": "Optional. Resource labels to represent user-provided metadata. Refer to cloud documentation on labels for more details. https://cloud.google.com/compute/docs/labeling-resources", + "type": "object" + }, + "managedService": { + "description": "Optional. Immutable. The name of a Google Managed Service ( https://cloud.google.com/service-infrastructure/docs/glossary#managed). If not specified, a new Service will automatically be created in the same project as this API.", + "type": "string" + }, + "name": { + "description": "Output only. Resource name of the API. Format: projects/{project}/locations/global/apis/{api}", + "readOnly": true, + "type": "string" + }, + "state": { + "description": "Output only. State of the API.", + "enum": [ + "STATE_UNSPECIFIED", + "CREATING", + "ACTIVE", + "FAILED", + "DELETING", + "UPDATING" + ], + "enumDescriptions": [ + "API does not have a state yet.", + "API is being created.", + "API is active.", + "API creation failed.", + "API is being deleted.", + "API is being updated." + ], + "readOnly": true, + "type": "string" + }, + "updateTime": { + "description": "Output only. Updated time.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "ApigatewayApiConfig": { + "description": "An API Configuration is a combination of settings for both the Managed Service and Gateways serving this API Config.", + "id": "ApigatewayApiConfig", + "properties": { + "createTime": { + "description": "Output only. Created time.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "displayName": { + "description": "Optional. Display name.", + "type": "string" + }, + "gatewayServiceAccount": { + "description": "Immutable. The Google Cloud IAM Service Account that Gateways serving this config should use to authenticate to other services. This may either be the Service Account's email (`{ACCOUNT_ID}@{PROJECT}.iam.gserviceaccount.com`) or its full resource name (`projects/{PROJECT}/accounts/{UNIQUE_ID}`). This is most often used when the service is a GCP resource such as a Cloud Run Service or an IAP-secured service.", + "type": "string" + }, + "grpcServices": { + "description": "Optional. gRPC service definition files. If specified, openapi_documents must not be included.", + "items": { + "$ref": "ApigatewayApiConfigGrpcServiceDefinition" + }, + "type": "array" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "description": "Optional. Resource labels to represent user-provided metadata. Refer to cloud documentation on labels for more details. https://cloud.google.com/compute/docs/labeling-resources", + "type": "object" + }, + "managedServiceConfigs": { + "description": "Optional. Service Configuration files. At least one must be included when using gRPC service definitions. See https://cloud.google.com/endpoints/docs/grpc/grpc-service-config#service_configuration_overview for the expected file contents. If multiple files are specified, the files are merged with the following rules: * All singular scalar fields are merged using \"last one wins\" semantics in the order of the files uploaded. * Repeated fields are concatenated. * Singular embedded messages are merged using these rules for nested fields.", + "items": { + "$ref": "ApigatewayApiConfigFile" + }, + "type": "array" + }, + "name": { + "description": "Output only. Resource name of the API Config. Format: projects/{project}/locations/global/apis/{api}/configs/{api_config}", + "readOnly": true, + "type": "string" + }, + "openapiDocuments": { + "description": "Optional. OpenAPI specification documents. If specified, grpc_services and managed_service_configs must not be included.", + "items": { + "$ref": "ApigatewayApiConfigOpenApiDocument" + }, + "type": "array" + }, + "serviceConfigId": { + "description": "Output only. The ID of the associated Service Config ( https://cloud.google.com/service-infrastructure/docs/glossary#config).", + "readOnly": true, + "type": "string" + }, + "state": { + "description": "Output only. State of the API Config.", + "enum": [ + "STATE_UNSPECIFIED", + "CREATING", + "ACTIVE", + "FAILED", + "DELETING", + "UPDATING", + "ACTIVATING" + ], + "enumDescriptions": [ + "API Config does not have a state yet.", + "API Config is being created and deployed to the API Controller.", + "API Config is ready for use by Gateways.", + "API Config creation failed.", + "API Config is being deleted.", + "API Config is being updated.", + "API Config settings are being activated in downstream systems. API Configs in this state cannot be used by Gateways." + ], + "readOnly": true, + "type": "string" + }, + "updateTime": { + "description": "Output only. Updated time.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "ApigatewayApiConfigFile": { + "description": "A lightweight description of a file.", + "id": "ApigatewayApiConfigFile", + "properties": { + "contents": { + "description": "The bytes that constitute the file.", + "format": "byte", + "type": "string" + }, + "path": { + "description": "The file path (full or relative path). This is typically the path of the file when it is uploaded.", + "type": "string" + } + }, + "type": "object" + }, + "ApigatewayApiConfigGrpcServiceDefinition": { + "description": "A gRPC service definition.", + "id": "ApigatewayApiConfigGrpcServiceDefinition", + "properties": { + "fileDescriptorSet": { + "$ref": "ApigatewayApiConfigFile", + "description": "Input only. File descriptor set, generated by protoc. To generate, use protoc with imports and source info included. For an example test.proto file, the following command would put the value in a new file named out.pb. $ protoc --include_imports --include_source_info test.proto -o out.pb" + }, + "source": { + "description": "Optional. Uncompiled proto files associated with the descriptor set, used for display purposes (server-side compilation is not supported). These should match the inputs to 'protoc' command used to generate file_descriptor_set.", + "items": { + "$ref": "ApigatewayApiConfigFile" + }, + "type": "array" + } + }, + "type": "object" + }, + "ApigatewayApiConfigOpenApiDocument": { + "description": "An OpenAPI Specification Document describing an API.", + "id": "ApigatewayApiConfigOpenApiDocument", + "properties": { + "document": { + "$ref": "ApigatewayApiConfigFile", + "description": "The OpenAPI Specification document file." + } + }, + "type": "object" + }, + "ApigatewayAuditConfig": { + "description": "Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { \"audit_configs\": [ { \"service\": \"allServices\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" }, { \"log_type\": \"ADMIN_READ\" } ] }, { \"service\": \"sampleservice.googleapis.com\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\" }, { \"log_type\": \"DATA_WRITE\", \"exempted_members\": [ \"user:aliya@example.com\" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts jose@example.com from DATA_READ logging, and aliya@example.com from DATA_WRITE logging.", + "id": "ApigatewayAuditConfig", + "properties": { + "auditLogConfigs": { + "description": "The configuration for logging of each type of permission.", + "items": { + "$ref": "ApigatewayAuditLogConfig" + }, + "type": "array" + }, + "service": { + "description": "Specifies a service that will be enabled for audit logging. For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that covers all services.", + "type": "string" + } + }, + "type": "object" + }, + "ApigatewayAuditLogConfig": { + "description": "Provides the configuration for logging a type of permissions. Example: { \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging.", + "id": "ApigatewayAuditLogConfig", + "properties": { + "exemptedMembers": { + "description": "Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members.", + "items": { + "type": "string" + }, + "type": "array" + }, + "logType": { + "description": "The log type that this config enables.", + "enum": [ + "LOG_TYPE_UNSPECIFIED", + "ADMIN_READ", + "DATA_WRITE", + "DATA_READ" + ], + "enumDescriptions": [ + "Default case. Should never be this.", + "Admin reads. Example: CloudIAM getIamPolicy", + "Data writes. Example: CloudSQL Users create", + "Data reads. Example: CloudSQL Users list" + ], + "type": "string" + } + }, + "type": "object" + }, + "ApigatewayBinding": { + "description": "Associates `members` with a `role`.", + "id": "ApigatewayBinding", + "properties": { + "condition": { + "$ref": "ApigatewayExpr", + "description": "The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the members in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies)." + }, + "members": { + "description": "Specifies the identities requesting access for a Cloud Platform resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. ", + "items": { + "type": "string" + }, + "type": "array" + }, + "role": { + "description": "Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`, or `roles/owner`.", + "type": "string" + } + }, + "type": "object" + }, + "ApigatewayCancelOperationRequest": { + "description": "The request message for Operations.CancelOperation.", + "id": "ApigatewayCancelOperationRequest", + "properties": {}, + "type": "object" + }, + "ApigatewayExpr": { + "description": "Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: \"Summary size limit\" description: \"Determines if a summary is less than 100 chars\" expression: \"document.summary.size() \u003c 100\" Example (Equality): title: \"Requestor is owner\" description: \"Determines if requestor is the document owner\" expression: \"document.owner == request.auth.claims.email\" Example (Logic): title: \"Public documents\" description: \"Determine whether the document should be publicly visible\" expression: \"document.type != 'private' \u0026\u0026 document.type != 'internal'\" Example (Data Manipulation): title: \"Notification string\" description: \"Create a notification string with a timestamp.\" expression: \"'New message received at ' + string(document.create_time)\" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.", + "id": "ApigatewayExpr", + "properties": { + "description": { + "description": "Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.", + "type": "string" + }, + "expression": { + "description": "Textual representation of an expression in Common Expression Language syntax.", + "type": "string" + }, + "location": { + "description": "Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.", + "type": "string" + }, + "title": { + "description": "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.", + "type": "string" + } + }, + "type": "object" + }, + "ApigatewayGateway": { + "description": "A Gateway is an API-aware HTTP proxy. It performs API-Method and/or API-Consumer specific actions based on an API Config such as authentication, policy enforcement, and backend selection.", + "id": "ApigatewayGateway", + "properties": { + "apiConfig": { + "description": "Required. Resource name of the API Config for this Gateway. Format: projects/{project}/locations/global/apis/{api}/configs/{apiConfig}", + "type": "string" + }, + "createTime": { + "description": "Output only. Created time.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "defaultHostname": { + "description": "Output only. The default API Gateway host name of the form `{gateway_id}-{hash}.{region_code}.gateway.dev`.", + "readOnly": true, + "type": "string" + }, + "displayName": { + "description": "Optional. Display name.", + "type": "string" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "description": "Optional. Resource labels to represent user-provided metadata. Refer to cloud documentation on labels for more details. https://cloud.google.com/compute/docs/labeling-resources", + "type": "object" + }, + "name": { + "description": "Output only. Resource name of the Gateway. Format: projects/{project}/locations/{location}/gateways/{gateway}", + "readOnly": true, + "type": "string" + }, + "state": { + "description": "Output only. The current state of the Gateway.", + "enum": [ + "STATE_UNSPECIFIED", + "CREATING", + "ACTIVE", + "FAILED", + "DELETING", + "UPDATING" + ], + "enumDescriptions": [ + "Gateway does not have a state yet.", + "Gateway is being created.", + "Gateway is running and ready for requests.", + "Gateway creation failed.", + "Gateway is being deleted.", + "Gateway is being updated." + ], + "readOnly": true, + "type": "string" + }, + "updateTime": { + "description": "Output only. Updated time.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "ApigatewayListApiConfigsResponse": { + "description": "Response message for ApiGatewayService.ListApiConfigs", + "id": "ApigatewayListApiConfigsResponse", + "properties": { + "apiConfigs": { + "description": "API Configs.", + "items": { + "$ref": "ApigatewayApiConfig" + }, + "type": "array" + }, + "nextPageToken": { + "description": "Next page token.", + "type": "string" + }, + "unreachableLocations": { + "description": "Locations that could not be reached.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "ApigatewayListApisResponse": { + "description": "Response message for ApiGatewayService.ListApis", + "id": "ApigatewayListApisResponse", + "properties": { + "apis": { + "description": "APIs.", + "items": { + "$ref": "ApigatewayApi" + }, + "type": "array" + }, + "nextPageToken": { + "description": "Next page token.", + "type": "string" + }, + "unreachableLocations": { + "description": "Locations that could not be reached.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "ApigatewayListGatewaysResponse": { + "description": "Response message for ApiGatewayService.ListGateways", + "id": "ApigatewayListGatewaysResponse", + "properties": { + "gateways": { + "description": "Gateways.", + "items": { + "$ref": "ApigatewayGateway" + }, + "type": "array" + }, + "nextPageToken": { + "description": "Next page token.", + "type": "string" + }, + "unreachableLocations": { + "description": "Locations that could not be reached.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "ApigatewayListLocationsResponse": { + "description": "The response message for Locations.ListLocations.", + "id": "ApigatewayListLocationsResponse", + "properties": { + "locations": { + "description": "A list of locations that matches the specified filter in the request.", + "items": { + "$ref": "ApigatewayLocation" + }, + "type": "array" + }, + "nextPageToken": { + "description": "The standard List next-page token.", + "type": "string" + } + }, + "type": "object" + }, + "ApigatewayListOperationsResponse": { + "description": "The response message for Operations.ListOperations.", + "id": "ApigatewayListOperationsResponse", + "properties": { + "nextPageToken": { + "description": "The standard List next-page token.", + "type": "string" + }, + "operations": { + "description": "A list of operations that matches the specified filter in the request.", + "items": { + "$ref": "ApigatewayOperation" + }, + "type": "array" + } + }, + "type": "object" + }, + "ApigatewayLocation": { + "description": "A resource that represents Google Cloud Platform location.", + "id": "ApigatewayLocation", + "properties": { + "displayName": { + "description": "The friendly name for this location, typically a nearby city name. For example, \"Tokyo\".", + "type": "string" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "description": "Cross-service attributes for the location. For example {\"cloud.googleapis.com/region\": \"us-east1\"}", + "type": "object" + }, + "locationId": { + "description": "The canonical id for this location. For example: `\"us-east1\"`.", + "type": "string" + }, + "metadata": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "description": "Service-specific metadata. For example the available capacity at the given location.", + "type": "object" + }, + "name": { + "description": "Resource name for the location, which may vary between implementations. For example: `\"projects/example-project/locations/us-east1\"`", + "type": "string" + } + }, + "type": "object" + }, + "ApigatewayOperation": { + "description": "This resource represents a long-running operation that is the result of a network API call.", + "id": "ApigatewayOperation", + "properties": { + "done": { + "description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", + "type": "boolean" + }, + "error": { + "$ref": "ApigatewayStatus", + "description": "The error result of the operation in case of failure or cancellation." + }, + "metadata": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", + "type": "object" + }, + "name": { + "description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", + "type": "string" + }, + "response": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "description": "The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", + "type": "object" + } + }, + "type": "object" + }, + "ApigatewayOperationMetadata": { + "description": "Represents the metadata of the long-running operation.", + "id": "ApigatewayOperationMetadata", + "properties": { + "apiVersion": { + "description": "Output only. API version used to start the operation.", + "readOnly": true, + "type": "string" + }, + "createTime": { + "description": "Output only. The time the operation was created.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "diagnostics": { + "description": "Output only. Diagnostics generated during processing of configuration source files.", + "items": { + "$ref": "ApigatewayOperationMetadataDiagnostic" + }, + "readOnly": true, + "type": "array" + }, + "endTime": { + "description": "Output only. The time the operation finished running.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "requestedCancellation": { + "description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", + "readOnly": true, + "type": "boolean" + }, + "statusMessage": { + "description": "Output only. Human-readable status of the operation, if any.", + "readOnly": true, + "type": "string" + }, + "target": { + "description": "Output only. Server-defined resource path for the target of the operation.", + "readOnly": true, + "type": "string" + }, + "verb": { + "description": "Output only. Name of the verb executed by the operation.", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "ApigatewayOperationMetadataDiagnostic": { + "description": "Diagnostic information from configuration processing.", + "id": "ApigatewayOperationMetadataDiagnostic", + "properties": { + "location": { + "description": "Location of the diagnostic.", + "type": "string" + }, + "message": { + "description": "The diagnostic message.", + "type": "string" + } + }, + "type": "object" + }, + "ApigatewayPolicy": { + "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members` to a single `role`. Members can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time \u003c timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } **YAML example:** bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time \u003c timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", + "id": "ApigatewayPolicy", + "properties": { + "auditConfigs": { + "description": "Specifies cloud audit logging configuration for this policy.", + "items": { + "$ref": "ApigatewayAuditConfig" + }, + "type": "array" + }, + "bindings": { + "description": "Associates a list of `members` to a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one member.", + "items": { + "$ref": "ApigatewayBinding" + }, + "type": "array" + }, + "etag": { + "description": "`etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost.", + "format": "byte", + "type": "string" + }, + "version": { + "description": "Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "ApigatewaySetIamPolicyRequest": { + "description": "Request message for `SetIamPolicy` method.", + "id": "ApigatewaySetIamPolicyRequest", + "properties": { + "policy": { + "$ref": "ApigatewayPolicy", + "description": "REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Cloud Platform services (such as Projects) might reject them." + }, + "updateMask": { + "description": "OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only the fields in the mask will be modified. If no mask is provided, the following default mask is used: `paths: \"bindings, etag\"`", + "format": "google-fieldmask", + "type": "string" + } + }, + "type": "object" + }, + "ApigatewayStatus": { + "description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", + "id": "ApigatewayStatus", + "properties": { + "code": { + "description": "The status code, which should be an enum value of google.rpc.Code.", + "format": "int32", + "type": "integer" + }, + "details": { + "description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", + "items": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "type": "object" + }, + "type": "array" + }, + "message": { + "description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", + "type": "string" + } + }, + "type": "object" + }, + "ApigatewayTestIamPermissionsRequest": { + "description": "Request message for `TestIamPermissions` method.", + "id": "ApigatewayTestIamPermissionsRequest", + "properties": { + "permissions": { + "description": "The set of permissions to check for the `resource`. Permissions with wildcards (such as '*' or 'storage.*') are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "ApigatewayTestIamPermissionsResponse": { + "description": "Response message for `TestIamPermissions` method.", + "id": "ApigatewayTestIamPermissionsResponse", + "properties": { + "permissions": { + "description": "A subset of `TestPermissionsRequest.permissions` that the caller is allowed.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "Empty": { + "description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`.", + "id": "Empty", + "properties": {}, + "type": "object" + } + }, + "servicePath": "", + "title": "API Gateway API", + "version": "v1", + "version_module": true +} \ No newline at end of file diff --git a/apigateway/v1/apigateway-gen.go b/apigateway/v1/apigateway-gen.go new file mode 100644 index 00000000000..f38139c8735 --- /dev/null +++ b/apigateway/v1/apigateway-gen.go @@ -0,0 +1,6184 @@ +// Copyright 2020 Google LLC. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + +// Code generated file. DO NOT EDIT. + +// Package apigateway provides access to the API Gateway API. +// +// For product documentation, see: https://cloud.google.com/api-gateway/docs +// +// Creating a client +// +// Usage example: +// +// import "google.golang.org/api/apigateway/v1" +// ... +// ctx := context.Background() +// apigatewayService, err := apigateway.NewService(ctx) +// +// In this example, Google Application Default Credentials are used for authentication. +// +// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials. +// +// Other authentication options +// +// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey: +// +// apigatewayService, err := apigateway.NewService(ctx, option.WithAPIKey("AIza...")) +// +// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource: +// +// config := &oauth2.Config{...} +// // ... +// token, err := config.Exchange(ctx, ...) +// apigatewayService, err := apigateway.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token))) +// +// See https://godoc.org/google.golang.org/api/option/ for details on options. +package apigateway // import "google.golang.org/api/apigateway/v1" + +import ( + "bytes" + "context" + "encoding/json" + "errors" + "fmt" + "io" + "net/http" + "net/url" + "strconv" + "strings" + + googleapi "google.golang.org/api/googleapi" + gensupport "google.golang.org/api/internal/gensupport" + option "google.golang.org/api/option" + internaloption "google.golang.org/api/option/internaloption" + htransport "google.golang.org/api/transport/http" +) + +// Always reference these packages, just in case the auto-generated code +// below doesn't. +var _ = bytes.NewBuffer +var _ = strconv.Itoa +var _ = fmt.Sprintf +var _ = json.NewDecoder +var _ = io.Copy +var _ = url.Parse +var _ = gensupport.MarshalJSON +var _ = googleapi.Version +var _ = errors.New +var _ = strings.Replace +var _ = context.Canceled +var _ = internaloption.WithDefaultEndpoint + +const apiId = "apigateway:v1" +const apiName = "apigateway" +const apiVersion = "v1" +const basePath = "https://apigateway.googleapis.com/" +const mtlsBasePath = "https://apigateway.mtls.googleapis.com/" + +// OAuth2 scopes used by this API. +const ( + // View and manage your data across Google Cloud Platform services + CloudPlatformScope = "https://www.googleapis.com/auth/cloud-platform" +) + +// NewService creates a new Service. +func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) { + scopesOption := option.WithScopes( + "https://www.googleapis.com/auth/cloud-platform", + ) + // NOTE: prepend, so we don't override user-specified scopes. + opts = append([]option.ClientOption{scopesOption}, opts...) + opts = append(opts, internaloption.WithDefaultEndpoint(basePath)) + opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath)) + client, endpoint, err := htransport.NewClient(ctx, opts...) + if err != nil { + return nil, err + } + s, err := New(client) + if err != nil { + return nil, err + } + if endpoint != "" { + s.BasePath = endpoint + } + return s, nil +} + +// New creates a new Service. It uses the provided http.Client for requests. +// +// Deprecated: please use NewService instead. +// To provide a custom HTTP client, use option.WithHTTPClient. +// If you are using google.golang.org/api/googleapis/transport.APIKey, use option.WithAPIKey with NewService instead. +func New(client *http.Client) (*Service, error) { + if client == nil { + return nil, errors.New("client is nil") + } + s := &Service{client: client, BasePath: basePath} + s.Projects = NewProjectsService(s) + return s, nil +} + +type Service struct { + client *http.Client + BasePath string // API endpoint base URL + UserAgent string // optional additional User-Agent fragment + + Projects *ProjectsService +} + +func (s *Service) userAgent() string { + if s.UserAgent == "" { + return googleapi.UserAgent + } + return googleapi.UserAgent + " " + s.UserAgent +} + +func NewProjectsService(s *Service) *ProjectsService { + rs := &ProjectsService{s: s} + rs.Locations = NewProjectsLocationsService(s) + return rs +} + +type ProjectsService struct { + s *Service + + Locations *ProjectsLocationsService +} + +func NewProjectsLocationsService(s *Service) *ProjectsLocationsService { + rs := &ProjectsLocationsService{s: s} + rs.Apis = NewProjectsLocationsApisService(s) + rs.Gateways = NewProjectsLocationsGatewaysService(s) + rs.Operations = NewProjectsLocationsOperationsService(s) + return rs +} + +type ProjectsLocationsService struct { + s *Service + + Apis *ProjectsLocationsApisService + + Gateways *ProjectsLocationsGatewaysService + + Operations *ProjectsLocationsOperationsService +} + +func NewProjectsLocationsApisService(s *Service) *ProjectsLocationsApisService { + rs := &ProjectsLocationsApisService{s: s} + rs.Configs = NewProjectsLocationsApisConfigsService(s) + return rs +} + +type ProjectsLocationsApisService struct { + s *Service + + Configs *ProjectsLocationsApisConfigsService +} + +func NewProjectsLocationsApisConfigsService(s *Service) *ProjectsLocationsApisConfigsService { + rs := &ProjectsLocationsApisConfigsService{s: s} + return rs +} + +type ProjectsLocationsApisConfigsService struct { + s *Service +} + +func NewProjectsLocationsGatewaysService(s *Service) *ProjectsLocationsGatewaysService { + rs := &ProjectsLocationsGatewaysService{s: s} + return rs +} + +type ProjectsLocationsGatewaysService struct { + s *Service +} + +func NewProjectsLocationsOperationsService(s *Service) *ProjectsLocationsOperationsService { + rs := &ProjectsLocationsOperationsService{s: s} + return rs +} + +type ProjectsLocationsOperationsService struct { + s *Service +} + +// ApigatewayApi: An API that can be served by one or more Gateways. +type ApigatewayApi struct { + // CreateTime: Output only. Created time. + CreateTime string `json:"createTime,omitempty"` + + // DisplayName: Optional. Display name. + DisplayName string `json:"displayName,omitempty"` + + // Labels: Optional. Resource labels to represent user-provided + // metadata. Refer to cloud documentation on labels for more details. + // https://cloud.google.com/compute/docs/labeling-resources + Labels map[string]string `json:"labels,omitempty"` + + // ManagedService: Optional. Immutable. The name of a Google Managed + // Service ( + // https://cloud.google.com/service-infrastructure/docs/glossary#managed). If not specified, a new Service will automatically be created in the same project as this + // API. + ManagedService string `json:"managedService,omitempty"` + + // Name: Output only. Resource name of the API. Format: + // projects/{project}/locations/global/apis/{api} + Name string `json:"name,omitempty"` + + // State: Output only. State of the API. + // + // Possible values: + // "STATE_UNSPECIFIED" - API does not have a state yet. + // "CREATING" - API is being created. + // "ACTIVE" - API is active. + // "FAILED" - API creation failed. + // "DELETING" - API is being deleted. + // "UPDATING" - API is being updated. + State string `json:"state,omitempty"` + + // UpdateTime: Output only. Updated time. + UpdateTime string `json:"updateTime,omitempty"` + + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` + + // ForceSendFields is a list of field names (e.g. "CreateTime") 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. "CreateTime") 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 *ApigatewayApi) MarshalJSON() ([]byte, error) { + type NoMethod ApigatewayApi + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// ApigatewayApiConfig: An API Configuration is a combination of +// settings for both the Managed Service and Gateways serving this API +// Config. +type ApigatewayApiConfig struct { + // CreateTime: Output only. Created time. + CreateTime string `json:"createTime,omitempty"` + + // DisplayName: Optional. Display name. + DisplayName string `json:"displayName,omitempty"` + + // GatewayServiceAccount: Immutable. The Google Cloud IAM Service + // Account that Gateways serving this config should use to authenticate + // to other services. This may either be the Service Account's email + // (`{ACCOUNT_ID}@{PROJECT}.iam.gserviceaccount.com`) or its full + // resource name (`projects/{PROJECT}/accounts/{UNIQUE_ID}`). This is + // most often used when the service is a GCP resource such as a Cloud + // Run Service or an IAP-secured service. + GatewayServiceAccount string `json:"gatewayServiceAccount,omitempty"` + + // GrpcServices: Optional. gRPC service definition files. If specified, + // openapi_documents must not be included. + GrpcServices []*ApigatewayApiConfigGrpcServiceDefinition `json:"grpcServices,omitempty"` + + // Labels: Optional. Resource labels to represent user-provided + // metadata. Refer to cloud documentation on labels for more details. + // https://cloud.google.com/compute/docs/labeling-resources + Labels map[string]string `json:"labels,omitempty"` + + // ManagedServiceConfigs: Optional. Service Configuration files. At + // least one must be included when using gRPC service definitions. See + // https://cloud.google.com/endpoints/docs/grpc/grpc-service-config#service_configuration_overview for the expected file contents. If multiple files are specified, the files are merged with the following rules: * All singular scalar fields are merged using "last one wins" semantics in the order of the files uploaded. * Repeated fields are concatenated. * Singular embedded messages are merged using these rules for nested + // fields. + ManagedServiceConfigs []*ApigatewayApiConfigFile `json:"managedServiceConfigs,omitempty"` + + // Name: Output only. Resource name of the API Config. Format: + // projects/{project}/locations/global/apis/{api}/configs/{api_config} + Name string `json:"name,omitempty"` + + // OpenapiDocuments: Optional. OpenAPI specification documents. If + // specified, grpc_services and managed_service_configs must not be + // included. + OpenapiDocuments []*ApigatewayApiConfigOpenApiDocument `json:"openapiDocuments,omitempty"` + + // ServiceConfigId: Output only. The ID of the associated Service Config + // ( + // https://cloud.google.com/service-infrastructure/docs/glossary#config). + ServiceConfigId string `json:"serviceConfigId,omitempty"` + + // State: Output only. State of the API Config. + // + // Possible values: + // "STATE_UNSPECIFIED" - API Config does not have a state yet. + // "CREATING" - API Config is being created and deployed to the API + // Controller. + // "ACTIVE" - API Config is ready for use by Gateways. + // "FAILED" - API Config creation failed. + // "DELETING" - API Config is being deleted. + // "UPDATING" - API Config is being updated. + // "ACTIVATING" - API Config settings are being activated in + // downstream systems. API Configs in this state cannot be used by + // Gateways. + State string `json:"state,omitempty"` + + // UpdateTime: Output only. Updated time. + UpdateTime string `json:"updateTime,omitempty"` + + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` + + // ForceSendFields is a list of field names (e.g. "CreateTime") 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. "CreateTime") 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 *ApigatewayApiConfig) MarshalJSON() ([]byte, error) { + type NoMethod ApigatewayApiConfig + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// ApigatewayApiConfigFile: A lightweight description of a file. +type ApigatewayApiConfigFile struct { + // Contents: The bytes that constitute the file. + Contents string `json:"contents,omitempty"` + + // Path: The file path (full or relative path). This is typically the + // path of the file when it is uploaded. + Path string `json:"path,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Contents") 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. "Contents") 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 *ApigatewayApiConfigFile) MarshalJSON() ([]byte, error) { + type NoMethod ApigatewayApiConfigFile + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// ApigatewayApiConfigGrpcServiceDefinition: A gRPC service definition. +type ApigatewayApiConfigGrpcServiceDefinition struct { + // FileDescriptorSet: Input only. File descriptor set, generated by + // protoc. To generate, use protoc with imports and source info + // included. For an example test.proto file, the following command would + // put the value in a new file named out.pb. $ protoc --include_imports + // --include_source_info test.proto -o out.pb + FileDescriptorSet *ApigatewayApiConfigFile `json:"fileDescriptorSet,omitempty"` + + // Source: Optional. Uncompiled proto files associated with the + // descriptor set, used for display purposes (server-side compilation is + // not supported). These should match the inputs to 'protoc' command + // used to generate file_descriptor_set. + Source []*ApigatewayApiConfigFile `json:"source,omitempty"` + + // ForceSendFields is a list of field names (e.g. "FileDescriptorSet") + // 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. "FileDescriptorSet") 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 *ApigatewayApiConfigGrpcServiceDefinition) MarshalJSON() ([]byte, error) { + type NoMethod ApigatewayApiConfigGrpcServiceDefinition + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// ApigatewayApiConfigOpenApiDocument: An OpenAPI Specification Document +// describing an API. +type ApigatewayApiConfigOpenApiDocument struct { + // Document: The OpenAPI Specification document file. + Document *ApigatewayApiConfigFile `json:"document,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Document") 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. "Document") 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 *ApigatewayApiConfigOpenApiDocument) MarshalJSON() ([]byte, error) { + type NoMethod ApigatewayApiConfigOpenApiDocument + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// ApigatewayAuditConfig: Specifies the audit configuration for a +// service. The configuration determines which permission types are +// logged, and what identities, if any, are exempted from logging. An +// AuditConfig must have one or more AuditLogConfigs. If there are +// AuditConfigs for both `allServices` and a specific service, the union +// of the two AuditConfigs is used for that service: the log_types +// specified in each AuditConfig are enabled, and the exempted_members +// in each AuditLogConfig are exempted. Example Policy with multiple +// AuditConfigs: { "audit_configs": [ { "service": "allServices", +// "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": +// [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" }, { +// "log_type": "ADMIN_READ" } ] }, { "service": +// "sampleservice.googleapis.com", "audit_log_configs": [ { "log_type": +// "DATA_READ" }, { "log_type": "DATA_WRITE", "exempted_members": [ +// "user:aliya@example.com" ] } ] } ] } For sampleservice, this policy +// enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts +// jose@example.com from DATA_READ logging, and aliya@example.com from +// DATA_WRITE logging. +type ApigatewayAuditConfig struct { + // AuditLogConfigs: The configuration for logging of each type of + // permission. + AuditLogConfigs []*ApigatewayAuditLogConfig `json:"auditLogConfigs,omitempty"` + + // Service: Specifies a service that will be enabled for audit logging. + // For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. + // `allServices` is a special value that covers all services. + Service string `json:"service,omitempty"` + + // ForceSendFields is a list of field names (e.g. "AuditLogConfigs") 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. "AuditLogConfigs") 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 *ApigatewayAuditConfig) MarshalJSON() ([]byte, error) { + type NoMethod ApigatewayAuditConfig + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// ApigatewayAuditLogConfig: Provides the configuration for logging a +// type of permissions. Example: { "audit_log_configs": [ { "log_type": +// "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { +// "log_type": "DATA_WRITE" } ] } This enables 'DATA_READ' and +// 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ +// logging. +type ApigatewayAuditLogConfig struct { + // ExemptedMembers: Specifies the identities that do not cause logging + // for this type of permission. Follows the same format of + // Binding.members. + ExemptedMembers []string `json:"exemptedMembers,omitempty"` + + // LogType: The log type that this config enables. + // + // Possible values: + // "LOG_TYPE_UNSPECIFIED" - Default case. Should never be this. + // "ADMIN_READ" - Admin reads. Example: CloudIAM getIamPolicy + // "DATA_WRITE" - Data writes. Example: CloudSQL Users create + // "DATA_READ" - Data reads. Example: CloudSQL Users list + LogType string `json:"logType,omitempty"` + + // ForceSendFields is a list of field names (e.g. "ExemptedMembers") 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. "ExemptedMembers") 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 *ApigatewayAuditLogConfig) MarshalJSON() ([]byte, error) { + type NoMethod ApigatewayAuditLogConfig + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// ApigatewayBinding: Associates `members` with a `role`. +type ApigatewayBinding struct { + // Condition: The condition that is associated with this binding. If the + // condition evaluates to `true`, then this binding applies to the + // current request. If the condition evaluates to `false`, then this + // binding does not apply to the current request. However, a different + // role binding might grant the same role to one or more of the members + // in this binding. To learn which resources support conditions in their + // IAM policies, see the [IAM + // documentation](https://cloud.google.com/iam/help/conditions/resource-p + // olicies). + Condition *ApigatewayExpr `json:"condition,omitempty"` + + // Members: Specifies the identities requesting access for a Cloud + // Platform resource. `members` can have the following values: * + // `allUsers`: A special identifier that represents anyone who is on the + // internet; with or without a Google account. * + // `allAuthenticatedUsers`: A special identifier that represents anyone + // who is authenticated with a Google account or a service account. * + // `user:{emailid}`: An email address that represents a specific Google + // account. For example, `alice@example.com` . * + // `serviceAccount:{emailid}`: An email address that represents a + // service account. For example, + // `my-other-app@appspot.gserviceaccount.com`. * `group:{emailid}`: An + // email address that represents a Google group. For example, + // `admins@example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An + // email address (plus unique identifier) representing a user that has + // been recently deleted. For example, + // `alice@example.com?uid=123456789012345678901`. If the user is + // recovered, this value reverts to `user:{emailid}` and the recovered + // user retains the role in the binding. * + // `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address + // (plus unique identifier) representing a service account that has been + // recently deleted. For example, + // `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. + // If the service account is undeleted, this value reverts to + // `serviceAccount:{emailid}` and the undeleted service account retains + // the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: + // An email address (plus unique identifier) representing a Google group + // that has been recently deleted. For example, + // `admins@example.com?uid=123456789012345678901`. If the group is + // recovered, this value reverts to `group:{emailid}` and the recovered + // group retains the role in the binding. * `domain:{domain}`: The G + // Suite domain (primary) that represents all the users of that domain. + // For example, `google.com` or `example.com`. + Members []string `json:"members,omitempty"` + + // Role: Role that is assigned to `members`. For example, + // `roles/viewer`, `roles/editor`, or `roles/owner`. + Role string `json:"role,omitempty"` + + // 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 + // 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. "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 + // 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 *ApigatewayBinding) MarshalJSON() ([]byte, error) { + type NoMethod ApigatewayBinding + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// ApigatewayCancelOperationRequest: The request message for +// Operations.CancelOperation. +type ApigatewayCancelOperationRequest struct { +} + +// ApigatewayExpr: Represents a textual expression in the Common +// Expression Language (CEL) syntax. CEL is a C-like expression +// language. The syntax and semantics of CEL are documented at +// https://github.com/google/cel-spec. Example (Comparison): title: +// "Summary size limit" description: "Determines if a summary is less +// than 100 chars" expression: "document.summary.size() < 100" Example +// (Equality): title: "Requestor is owner" description: "Determines if +// requestor is the document owner" expression: "document.owner == +// request.auth.claims.email" Example (Logic): title: "Public documents" +// description: "Determine whether the document should be publicly +// visible" expression: "document.type != 'private' && document.type != +// 'internal'" Example (Data Manipulation): title: "Notification string" +// description: "Create a notification string with a timestamp." +// expression: "'New message received at ' + +// string(document.create_time)" The exact variables and functions that +// may be referenced within an expression are determined by the service +// that evaluates it. See the service documentation for additional +// information. +type ApigatewayExpr struct { + // Description: 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. + Expression string `json:"expression,omitempty"` + + // Location: 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: 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 *ApigatewayExpr) MarshalJSON() ([]byte, error) { + type NoMethod ApigatewayExpr + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// ApigatewayGateway: A Gateway is an API-aware HTTP proxy. It performs +// API-Method and/or API-Consumer specific actions based on an API +// Config such as authentication, policy enforcement, and backend +// selection. +type ApigatewayGateway struct { + // ApiConfig: Required. Resource name of the API Config for this + // Gateway. Format: + // projects/{project}/locations/global/apis/{api}/configs/{apiConfig} + ApiConfig string `json:"apiConfig,omitempty"` + + // CreateTime: Output only. Created time. + CreateTime string `json:"createTime,omitempty"` + + // DefaultHostname: Output only. The default API Gateway host name of + // the form `{gateway_id}-{hash}.{region_code}.gateway.dev`. + DefaultHostname string `json:"defaultHostname,omitempty"` + + // DisplayName: Optional. Display name. + DisplayName string `json:"displayName,omitempty"` + + // Labels: Optional. Resource labels to represent user-provided + // metadata. Refer to cloud documentation on labels for more details. + // https://cloud.google.com/compute/docs/labeling-resources + Labels map[string]string `json:"labels,omitempty"` + + // Name: Output only. Resource name of the Gateway. Format: + // projects/{project}/locations/{location}/gateways/{gateway} + Name string `json:"name,omitempty"` + + // State: Output only. The current state of the Gateway. + // + // Possible values: + // "STATE_UNSPECIFIED" - Gateway does not have a state yet. + // "CREATING" - Gateway is being created. + // "ACTIVE" - Gateway is running and ready for requests. + // "FAILED" - Gateway creation failed. + // "DELETING" - Gateway is being deleted. + // "UPDATING" - Gateway is being updated. + State string `json:"state,omitempty"` + + // UpdateTime: Output only. Updated time. + UpdateTime string `json:"updateTime,omitempty"` + + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` + + // ForceSendFields is a list of field names (e.g. "ApiConfig") 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. "ApiConfig") 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 *ApigatewayGateway) MarshalJSON() ([]byte, error) { + type NoMethod ApigatewayGateway + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// ApigatewayListApiConfigsResponse: Response message for +// ApiGatewayService.ListApiConfigs +type ApigatewayListApiConfigsResponse struct { + // ApiConfigs: API Configs. + ApiConfigs []*ApigatewayApiConfig `json:"apiConfigs,omitempty"` + + // NextPageToken: Next page token. + NextPageToken string `json:"nextPageToken,omitempty"` + + // UnreachableLocations: Locations that could not be reached. + UnreachableLocations []string `json:"unreachableLocations,omitempty"` + + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` + + // ForceSendFields is a list of field names (e.g. "ApiConfigs") 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. "ApiConfigs") 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 *ApigatewayListApiConfigsResponse) MarshalJSON() ([]byte, error) { + type NoMethod ApigatewayListApiConfigsResponse + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// ApigatewayListApisResponse: Response message for +// ApiGatewayService.ListApis +type ApigatewayListApisResponse struct { + // Apis: APIs. + Apis []*ApigatewayApi `json:"apis,omitempty"` + + // NextPageToken: Next page token. + NextPageToken string `json:"nextPageToken,omitempty"` + + // UnreachableLocations: Locations that could not be reached. + UnreachableLocations []string `json:"unreachableLocations,omitempty"` + + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` + + // ForceSendFields is a list of field names (e.g. "Apis") 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. "Apis") 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 *ApigatewayListApisResponse) MarshalJSON() ([]byte, error) { + type NoMethod ApigatewayListApisResponse + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// ApigatewayListGatewaysResponse: Response message for +// ApiGatewayService.ListGateways +type ApigatewayListGatewaysResponse struct { + // Gateways: Gateways. + Gateways []*ApigatewayGateway `json:"gateways,omitempty"` + + // NextPageToken: Next page token. + NextPageToken string `json:"nextPageToken,omitempty"` + + // UnreachableLocations: Locations that could not be reached. + UnreachableLocations []string `json:"unreachableLocations,omitempty"` + + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` + + // ForceSendFields is a list of field names (e.g. "Gateways") 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. "Gateways") 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 *ApigatewayListGatewaysResponse) MarshalJSON() ([]byte, error) { + type NoMethod ApigatewayListGatewaysResponse + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// ApigatewayListLocationsResponse: The response message for +// Locations.ListLocations. +type ApigatewayListLocationsResponse struct { + // Locations: A list of locations that matches the specified filter in + // the request. + Locations []*ApigatewayLocation `json:"locations,omitempty"` + + // NextPageToken: The standard List next-page token. + NextPageToken string `json:"nextPageToken,omitempty"` + + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` + + // ForceSendFields is a list of field names (e.g. "Locations") 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. "Locations") 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 *ApigatewayListLocationsResponse) MarshalJSON() ([]byte, error) { + type NoMethod ApigatewayListLocationsResponse + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// ApigatewayListOperationsResponse: The response message for +// Operations.ListOperations. +type ApigatewayListOperationsResponse struct { + // NextPageToken: The standard List next-page token. + NextPageToken string `json:"nextPageToken,omitempty"` + + // Operations: A list of operations that matches the specified filter in + // the request. + Operations []*ApigatewayOperation `json:"operations,omitempty"` + + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` + + // ForceSendFields is a list of field names (e.g. "NextPageToken") 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. "NextPageToken") 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 *ApigatewayListOperationsResponse) MarshalJSON() ([]byte, error) { + type NoMethod ApigatewayListOperationsResponse + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// ApigatewayLocation: A resource that represents Google Cloud Platform +// location. +type ApigatewayLocation struct { + // DisplayName: The friendly name for this location, typically a nearby + // city name. For example, "Tokyo". + DisplayName string `json:"displayName,omitempty"` + + // Labels: Cross-service attributes for the location. For example + // {"cloud.googleapis.com/region": "us-east1"} + Labels map[string]string `json:"labels,omitempty"` + + // LocationId: The canonical id for this location. For example: + // "us-east1". + LocationId string `json:"locationId,omitempty"` + + // Metadata: Service-specific metadata. For example the available + // capacity at the given location. + Metadata googleapi.RawMessage `json:"metadata,omitempty"` + + // Name: Resource name for the location, which may vary between + // implementations. For example: + // "projects/example-project/locations/us-east1" + Name string `json:"name,omitempty"` + + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` + + // ForceSendFields is a list of field names (e.g. "DisplayName") 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. "DisplayName") 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 *ApigatewayLocation) MarshalJSON() ([]byte, error) { + type NoMethod ApigatewayLocation + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// ApigatewayOperation: This resource represents a long-running +// operation that is the result of a network API call. +type ApigatewayOperation struct { + // Done: If the value is `false`, it means the operation is still in + // progress. If `true`, the operation is completed, and either `error` + // or `response` is available. + Done bool `json:"done,omitempty"` + + // Error: The error result of the operation in case of failure or + // cancellation. + Error *ApigatewayStatus `json:"error,omitempty"` + + // Metadata: Service-specific metadata associated with the operation. It + // typically contains progress information and common metadata such as + // create time. Some services might not provide such metadata. Any + // method that returns a long-running operation should document the + // metadata type, if any. + Metadata googleapi.RawMessage `json:"metadata,omitempty"` + + // Name: The server-assigned name, which is only unique within the same + // service that originally returns it. If you use the default HTTP + // mapping, the `name` should be a resource name ending with + // `operations/{unique_id}`. + Name string `json:"name,omitempty"` + + // Response: The normal response of the operation in case of success. If + // the original method returns no data on success, such as `Delete`, the + // response is `google.protobuf.Empty`. If the original method is + // standard `Get`/`Create`/`Update`, the response should be the + // resource. For other methods, the response should have the type + // `XxxResponse`, where `Xxx` is the original method name. For example, + // if the original method name is `TakeSnapshot()`, the inferred + // response type is `TakeSnapshotResponse`. + Response googleapi.RawMessage `json:"response,omitempty"` + + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` + + // ForceSendFields is a list of field names (e.g. "Done") 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. "Done") 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 *ApigatewayOperation) MarshalJSON() ([]byte, error) { + type NoMethod ApigatewayOperation + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// ApigatewayOperationMetadata: Represents the metadata of the +// long-running operation. +type ApigatewayOperationMetadata struct { + // ApiVersion: Output only. API version used to start the operation. + ApiVersion string `json:"apiVersion,omitempty"` + + // CreateTime: Output only. The time the operation was created. + CreateTime string `json:"createTime,omitempty"` + + // Diagnostics: Output only. Diagnostics generated during processing of + // configuration source files. + Diagnostics []*ApigatewayOperationMetadataDiagnostic `json:"diagnostics,omitempty"` + + // EndTime: Output only. The time the operation finished running. + EndTime string `json:"endTime,omitempty"` + + // RequestedCancellation: Output only. Identifies whether the user has + // requested cancellation of the operation. Operations that have + // successfully been cancelled have Operation.error value with a + // google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`. + RequestedCancellation bool `json:"requestedCancellation,omitempty"` + + // StatusMessage: Output only. Human-readable status of the operation, + // if any. + StatusMessage string `json:"statusMessage,omitempty"` + + // Target: Output only. Server-defined resource path for the target of + // the operation. + Target string `json:"target,omitempty"` + + // Verb: Output only. Name of the verb executed by the operation. + Verb string `json:"verb,omitempty"` + + // ForceSendFields is a list of field names (e.g. "ApiVersion") 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. "ApiVersion") 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 *ApigatewayOperationMetadata) MarshalJSON() ([]byte, error) { + type NoMethod ApigatewayOperationMetadata + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// ApigatewayOperationMetadataDiagnostic: Diagnostic information from +// configuration processing. +type ApigatewayOperationMetadataDiagnostic struct { + // Location: Location of the diagnostic. + Location string `json:"location,omitempty"` + + // Message: The diagnostic message. + Message string `json:"message,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Location") 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. "Location") 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 *ApigatewayOperationMetadataDiagnostic) MarshalJSON() ([]byte, error) { + type NoMethod ApigatewayOperationMetadataDiagnostic + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// ApigatewayPolicy: An Identity and Access Management (IAM) policy, +// which specifies access controls for Google Cloud resources. A +// `Policy` is a collection of `bindings`. A `binding` binds one or more +// `members` to a single `role`. Members can be user accounts, service +// accounts, Google groups, and domains (such as G Suite). A `role` is a +// named list of permissions; each `role` can be an IAM predefined role +// or a user-created custom role. For some types of Google Cloud +// resources, a `binding` can also specify a `condition`, which is a +// logical expression that allows access to a resource only if the +// expression evaluates to `true`. A condition can add constraints based +// on attributes of the request, the resource, or both. To learn which +// resources support conditions in their IAM policies, see the [IAM +// documentation](https://cloud.google.com/iam/help/conditions/resource-p +// olicies). **JSON example:** { "bindings": [ { "role": +// "roles/resourcemanager.organizationAdmin", "members": [ +// "user:mike@example.com", "group:admins@example.com", +// "domain:google.com", +// "serviceAccount:my-project-id@appspot.gserviceaccount.com" ] }, { +// "role": "roles/resourcemanager.organizationViewer", "members": [ +// "user:eve@example.com" ], "condition": { "title": "expirable access", +// "description": "Does not grant access after Sep 2020", "expression": +// "request.time < timestamp('2020-10-01T00:00:00.000Z')", } } ], +// "etag": "BwWWja0YfJA=", "version": 3 } **YAML example:** bindings: - +// members: - user:mike@example.com - group:admins@example.com - +// domain:google.com - +// serviceAccount:my-project-id@appspot.gserviceaccount.com role: +// roles/resourcemanager.organizationAdmin - members: - +// user:eve@example.com role: roles/resourcemanager.organizationViewer +// condition: title: expirable access description: Does not grant access +// after Sep 2020 expression: request.time < +// timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: +// 3 For a description of IAM and its features, see the [IAM +// documentation](https://cloud.google.com/iam/docs/). +type ApigatewayPolicy struct { + // AuditConfigs: Specifies cloud audit logging configuration for this + // policy. + AuditConfigs []*ApigatewayAuditConfig `json:"auditConfigs,omitempty"` + + // Bindings: Associates a list of `members` to a `role`. Optionally, may + // specify a `condition` that determines how and when the `bindings` are + // applied. Each of the `bindings` must contain at least one member. + Bindings []*ApigatewayBinding `json:"bindings,omitempty"` + + // Etag: `etag` is used for optimistic concurrency control as a way to + // help prevent simultaneous updates of a policy from overwriting each + // other. It is strongly suggested that systems make use of the `etag` + // in the read-modify-write cycle to perform policy updates in order to + // avoid race conditions: An `etag` is returned in the response to + // `getIamPolicy`, and systems are expected to put that etag in the + // request to `setIamPolicy` to ensure that their change will be applied + // to the same version of the policy. **Important:** If you use IAM + // Conditions, you must include the `etag` field whenever you call + // `setIamPolicy`. If you omit this field, then IAM allows you to + // overwrite a version `3` policy with a version `1` policy, and all of + // the conditions in the version `3` policy are lost. + Etag string `json:"etag,omitempty"` + + // Version: Specifies the format of the policy. Valid values are `0`, + // `1`, and `3`. Requests that specify an invalid value are rejected. + // Any operation that affects conditional role bindings must specify + // version `3`. This requirement applies to the following operations: * + // Getting a policy that includes a conditional role binding * Adding a + // conditional role binding to a policy * Changing a conditional role + // binding in a policy * Removing any role binding, with or without a + // condition, from a policy that includes conditions **Important:** If + // you use IAM Conditions, you must include the `etag` field whenever + // you call `setIamPolicy`. If you omit this field, then IAM allows you + // to overwrite a version `3` policy with a version `1` policy, and all + // of the conditions in the version `3` policy are lost. If a policy + // does not include any conditions, operations on that policy may + // specify any valid version or leave the field unset. To learn which + // resources support conditions in their IAM policies, see the [IAM + // documentation](https://cloud.google.com/iam/help/conditions/resource-p + // olicies). + Version int64 `json:"version,omitempty"` + + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` + + // ForceSendFields is a list of field names (e.g. "AuditConfigs") 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. "AuditConfigs") 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 *ApigatewayPolicy) MarshalJSON() ([]byte, error) { + type NoMethod ApigatewayPolicy + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// ApigatewaySetIamPolicyRequest: Request message for `SetIamPolicy` +// method. +type ApigatewaySetIamPolicyRequest struct { + // Policy: REQUIRED: The complete policy to be applied to the + // `resource`. The size of the policy is limited to a few 10s of KB. An + // empty policy is a valid policy but certain Cloud Platform services + // (such as Projects) might reject them. + Policy *ApigatewayPolicy `json:"policy,omitempty"` + + // UpdateMask: OPTIONAL: A FieldMask specifying which fields of the + // policy to modify. Only the fields in the mask will be modified. If no + // mask is provided, the following default mask is used: `paths: + // "bindings, etag" + UpdateMask string `json:"updateMask,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Policy") 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. "Policy") 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 *ApigatewaySetIamPolicyRequest) MarshalJSON() ([]byte, error) { + type NoMethod ApigatewaySetIamPolicyRequest + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// ApigatewayStatus: The `Status` type defines a logical error model +// that is suitable for different programming environments, including +// REST APIs and RPC APIs. It is used by +// [gRPC](https://github.com/grpc). Each `Status` message contains three +// pieces of data: error code, error message, and error details. You can +// find out more about this error model and how to work with it in the +// [API Design Guide](https://cloud.google.com/apis/design/errors). +type ApigatewayStatus struct { + // Code: The status code, which should be an enum value of + // google.rpc.Code. + Code int64 `json:"code,omitempty"` + + // Details: A list of messages that carry the error details. There is a + // common set of message types for APIs to use. + Details []googleapi.RawMessage `json:"details,omitempty"` + + // Message: A developer-facing error message, which should be in + // English. Any user-facing error message should be localized and sent + // in the google.rpc.Status.details field, or localized by the client. + Message string `json:"message,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Code") 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. "Code") 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 *ApigatewayStatus) MarshalJSON() ([]byte, error) { + type NoMethod ApigatewayStatus + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// ApigatewayTestIamPermissionsRequest: Request message for +// `TestIamPermissions` method. +type ApigatewayTestIamPermissionsRequest struct { + // Permissions: The set of permissions to check for the `resource`. + // Permissions with wildcards (such as '*' or 'storage.*') are not + // allowed. For more information see [IAM + // Overview](https://cloud.google.com/iam/docs/overview#permissions). + Permissions []string `json:"permissions,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Permissions") 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. "Permissions") 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 *ApigatewayTestIamPermissionsRequest) MarshalJSON() ([]byte, error) { + type NoMethod ApigatewayTestIamPermissionsRequest + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// ApigatewayTestIamPermissionsResponse: Response message for +// `TestIamPermissions` method. +type ApigatewayTestIamPermissionsResponse struct { + // Permissions: A subset of `TestPermissionsRequest.permissions` that + // the caller is allowed. + Permissions []string `json:"permissions,omitempty"` + + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` + + // ForceSendFields is a list of field names (e.g. "Permissions") 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. "Permissions") 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 *ApigatewayTestIamPermissionsResponse) MarshalJSON() ([]byte, error) { + type NoMethod ApigatewayTestIamPermissionsResponse + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// Empty: A generic empty message that you can re-use to avoid defining +// duplicated empty messages in your APIs. A typical example is to use +// it as the request or the response type of an API method. For +// instance: service Foo { rpc Bar(google.protobuf.Empty) returns +// (google.protobuf.Empty); } The JSON representation for `Empty` is +// empty JSON object `{}`. +type Empty struct { + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` +} + +// method id "apigateway.projects.locations.get": + +type ProjectsLocationsGetCall struct { + s *Service + name string + urlParams_ gensupport.URLParams + ifNoneMatch_ string + ctx_ context.Context + header_ http.Header +} + +// Get: Gets information about a location. +func (r *ProjectsLocationsService) Get(name string) *ProjectsLocationsGetCall { + c := &ProjectsLocationsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsGetCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// IfNoneMatch sets the optional parameter which makes the operation +// fail if the object's ETag matches the given value. This is useful for +// getting updates only after the object has changed since the last +// request. Use googleapi.IsNotModified to check whether the response +// error from Do is the result of In-None-Match. +func (c *ProjectsLocationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsGetCall { + c.ifNoneMatch_ = entityTag + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsLocationsGetCall) Context(ctx context.Context) *ProjectsLocationsGetCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsLocationsGetCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsGetCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + if c.ifNoneMatch_ != "" { + reqHeaders.Set("If-None-Match", c.ifNoneMatch_) + } + var body io.Reader = nil + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+name}") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("GET", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "name": c.name, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "apigateway.projects.locations.get" call. +// Exactly one of *ApigatewayLocation or error will be non-nil. Any +// non-2xx status code is an error. Response headers are in either +// *ApigatewayLocation.ServerResponse.Header or (if a response was +// returned at all) in error.(*googleapi.Error).Header. Use +// googleapi.IsNotModified to check whether the returned error was +// because http.StatusNotModified was returned. +func (c *ProjectsLocationsGetCall) Do(opts ...googleapi.CallOption) (*ApigatewayLocation, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &ApigatewayLocation{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Gets information about a location.", + // "flatPath": "v1/projects/{projectsId}/locations/{locationsId}", + // "httpMethod": "GET", + // "id": "apigateway.projects.locations.get", + // "parameterOrder": [ + // "name" + // ], + // "parameters": { + // "name": { + // "description": "Resource name for the location.", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v1/{+name}", + // "response": { + // "$ref": "ApigatewayLocation" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform" + // ] + // } + +} + +// method id "apigateway.projects.locations.list": + +type ProjectsLocationsListCall struct { + s *Service + name string + urlParams_ gensupport.URLParams + ifNoneMatch_ string + ctx_ context.Context + header_ http.Header +} + +// List: Lists information about the supported locations for this +// service. +func (r *ProjectsLocationsService) List(name string) *ProjectsLocationsListCall { + c := &ProjectsLocationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name + return c +} + +// Filter sets the optional parameter "filter": The standard list +// filter. +func (c *ProjectsLocationsListCall) Filter(filter string) *ProjectsLocationsListCall { + c.urlParams_.Set("filter", filter) + return c +} + +// PageSize sets the optional parameter "pageSize": The standard list +// page size. +func (c *ProjectsLocationsListCall) PageSize(pageSize int64) *ProjectsLocationsListCall { + c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) + return c +} + +// PageToken sets the optional parameter "pageToken": The standard list +// page token. +func (c *ProjectsLocationsListCall) PageToken(pageToken string) *ProjectsLocationsListCall { + c.urlParams_.Set("pageToken", pageToken) + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsListCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// IfNoneMatch sets the optional parameter which makes the operation +// fail if the object's ETag matches the given value. This is useful for +// getting updates only after the object has changed since the last +// request. Use googleapi.IsNotModified to check whether the response +// error from Do is the result of In-None-Match. +func (c *ProjectsLocationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsListCall { + c.ifNoneMatch_ = entityTag + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsLocationsListCall) Context(ctx context.Context) *ProjectsLocationsListCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsLocationsListCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsListCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + if c.ifNoneMatch_ != "" { + reqHeaders.Set("If-None-Match", c.ifNoneMatch_) + } + var body io.Reader = nil + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+name}/locations") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("GET", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "name": c.name, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "apigateway.projects.locations.list" call. +// Exactly one of *ApigatewayListLocationsResponse or error will be +// non-nil. Any non-2xx status code is an error. Response headers are in +// either *ApigatewayListLocationsResponse.ServerResponse.Header or (if +// a response was returned at all) in error.(*googleapi.Error).Header. +// Use googleapi.IsNotModified to check whether the returned error was +// because http.StatusNotModified was returned. +func (c *ProjectsLocationsListCall) Do(opts ...googleapi.CallOption) (*ApigatewayListLocationsResponse, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &ApigatewayListLocationsResponse{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Lists information about the supported locations for this service.", + // "flatPath": "v1/projects/{projectsId}/locations", + // "httpMethod": "GET", + // "id": "apigateway.projects.locations.list", + // "parameterOrder": [ + // "name" + // ], + // "parameters": { + // "filter": { + // "description": "The standard list filter.", + // "location": "query", + // "type": "string" + // }, + // "name": { + // "description": "The resource that owns the locations collection, if applicable.", + // "location": "path", + // "pattern": "^projects/[^/]+$", + // "required": true, + // "type": "string" + // }, + // "pageSize": { + // "description": "The standard list page size.", + // "format": "int32", + // "location": "query", + // "type": "integer" + // }, + // "pageToken": { + // "description": "The standard list page token.", + // "location": "query", + // "type": "string" + // } + // }, + // "path": "v1/{+name}/locations", + // "response": { + // "$ref": "ApigatewayListLocationsResponse" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform" + // ] + // } + +} + +// Pages invokes f for each page of results. +// A non-nil error returned from f will halt the iteration. +// The provided context supersedes any context provided to the Context method. +func (c *ProjectsLocationsListCall) Pages(ctx context.Context, f func(*ApigatewayListLocationsResponse) error) error { + c.ctx_ = ctx + defer c.PageToken(c.urlParams_.Get("pageToken")) // reset paging to original point + for { + x, err := c.Do() + if err != nil { + return err + } + if err := f(x); err != nil { + return err + } + if x.NextPageToken == "" { + return nil + } + c.PageToken(x.NextPageToken) + } +} + +// method id "apigateway.projects.locations.apis.create": + +type ProjectsLocationsApisCreateCall struct { + s *Service + parent string + apigatewayapi *ApigatewayApi + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// Create: Creates a new Api in a given project and location. +func (r *ProjectsLocationsApisService) Create(parent string, apigatewayapi *ApigatewayApi) *ProjectsLocationsApisCreateCall { + c := &ProjectsLocationsApisCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.parent = parent + c.apigatewayapi = apigatewayapi + return c +} + +// ApiId sets the optional parameter "apiId": Required. Identifier to +// assign to the API. Must be unique within scope of the parent +// resource. +func (c *ProjectsLocationsApisCreateCall) ApiId(apiId string) *ProjectsLocationsApisCreateCall { + c.urlParams_.Set("apiId", apiId) + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsApisCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisCreateCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsLocationsApisCreateCall) Context(ctx context.Context) *ProjectsLocationsApisCreateCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsLocationsApisCreateCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsApisCreateCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + var body io.Reader = nil + body, err := googleapi.WithoutDataWrapper.JSONReader(c.apigatewayapi) + if err != nil { + return nil, err + } + reqHeaders.Set("Content-Type", "application/json") + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+parent}/apis") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("POST", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "parent": c.parent, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "apigateway.projects.locations.apis.create" call. +// Exactly one of *ApigatewayOperation or error will be non-nil. Any +// non-2xx status code is an error. Response headers are in either +// *ApigatewayOperation.ServerResponse.Header or (if a response was +// returned at all) in error.(*googleapi.Error).Header. Use +// googleapi.IsNotModified to check whether the returned error was +// because http.StatusNotModified was returned. +func (c *ProjectsLocationsApisCreateCall) Do(opts ...googleapi.CallOption) (*ApigatewayOperation, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &ApigatewayOperation{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Creates a new Api in a given project and location.", + // "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis", + // "httpMethod": "POST", + // "id": "apigateway.projects.locations.apis.create", + // "parameterOrder": [ + // "parent" + // ], + // "parameters": { + // "apiId": { + // "description": "Required. Identifier to assign to the API. Must be unique within scope of the parent resource.", + // "location": "query", + // "type": "string" + // }, + // "parent": { + // "description": "Required. Parent resource of the API, of the form: `projects/*/locations/global`", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v1/{+parent}/apis", + // "request": { + // "$ref": "ApigatewayApi" + // }, + // "response": { + // "$ref": "ApigatewayOperation" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform" + // ] + // } + +} + +// method id "apigateway.projects.locations.apis.delete": + +type ProjectsLocationsApisDeleteCall struct { + s *Service + name string + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// Delete: Deletes a single Api. +func (r *ProjectsLocationsApisService) Delete(name string) *ProjectsLocationsApisDeleteCall { + c := &ProjectsLocationsApisDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsApisDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisDeleteCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsLocationsApisDeleteCall) Context(ctx context.Context) *ProjectsLocationsApisDeleteCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsLocationsApisDeleteCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsApisDeleteCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + var body io.Reader = nil + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+name}") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("DELETE", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "name": c.name, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "apigateway.projects.locations.apis.delete" call. +// Exactly one of *ApigatewayOperation or error will be non-nil. Any +// non-2xx status code is an error. Response headers are in either +// *ApigatewayOperation.ServerResponse.Header or (if a response was +// returned at all) in error.(*googleapi.Error).Header. Use +// googleapi.IsNotModified to check whether the returned error was +// because http.StatusNotModified was returned. +func (c *ProjectsLocationsApisDeleteCall) Do(opts ...googleapi.CallOption) (*ApigatewayOperation, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &ApigatewayOperation{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Deletes a single Api.", + // "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}", + // "httpMethod": "DELETE", + // "id": "apigateway.projects.locations.apis.delete", + // "parameterOrder": [ + // "name" + // ], + // "parameters": { + // "name": { + // "description": "Required. Resource name of the form: `projects/*/locations/global/apis/*`", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+/apis/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v1/{+name}", + // "response": { + // "$ref": "ApigatewayOperation" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform" + // ] + // } + +} + +// method id "apigateway.projects.locations.apis.get": + +type ProjectsLocationsApisGetCall struct { + s *Service + name string + urlParams_ gensupport.URLParams + ifNoneMatch_ string + ctx_ context.Context + header_ http.Header +} + +// Get: Gets details of a single Api. +func (r *ProjectsLocationsApisService) Get(name string) *ProjectsLocationsApisGetCall { + c := &ProjectsLocationsApisGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsApisGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisGetCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// IfNoneMatch sets the optional parameter which makes the operation +// fail if the object's ETag matches the given value. This is useful for +// getting updates only after the object has changed since the last +// request. Use googleapi.IsNotModified to check whether the response +// error from Do is the result of In-None-Match. +func (c *ProjectsLocationsApisGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsApisGetCall { + c.ifNoneMatch_ = entityTag + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsLocationsApisGetCall) Context(ctx context.Context) *ProjectsLocationsApisGetCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsLocationsApisGetCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsApisGetCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + if c.ifNoneMatch_ != "" { + reqHeaders.Set("If-None-Match", c.ifNoneMatch_) + } + var body io.Reader = nil + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+name}") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("GET", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "name": c.name, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "apigateway.projects.locations.apis.get" call. +// Exactly one of *ApigatewayApi or error will be non-nil. Any non-2xx +// status code is an error. Response headers are in either +// *ApigatewayApi.ServerResponse.Header or (if a response was returned +// at all) in error.(*googleapi.Error).Header. Use +// googleapi.IsNotModified to check whether the returned error was +// because http.StatusNotModified was returned. +func (c *ProjectsLocationsApisGetCall) Do(opts ...googleapi.CallOption) (*ApigatewayApi, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &ApigatewayApi{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Gets details of a single Api.", + // "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}", + // "httpMethod": "GET", + // "id": "apigateway.projects.locations.apis.get", + // "parameterOrder": [ + // "name" + // ], + // "parameters": { + // "name": { + // "description": "Required. Resource name of the form: `projects/*/locations/global/apis/*`", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+/apis/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v1/{+name}", + // "response": { + // "$ref": "ApigatewayApi" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform" + // ] + // } + +} + +// method id "apigateway.projects.locations.apis.getIamPolicy": + +type ProjectsLocationsApisGetIamPolicyCall struct { + s *Service + resource string + urlParams_ gensupport.URLParams + ifNoneMatch_ string + ctx_ context.Context + header_ http.Header +} + +// GetIamPolicy: Gets the access control policy for a resource. Returns +// an empty policy if the resource exists and does not have a policy +// set. +func (r *ProjectsLocationsApisService) GetIamPolicy(resource string) *ProjectsLocationsApisGetIamPolicyCall { + c := &ProjectsLocationsApisGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.resource = resource + return c +} + +// OptionsRequestedPolicyVersion sets the optional parameter +// "options.requestedPolicyVersion": The policy format version to be +// returned. Valid values are 0, 1, and 3. Requests specifying an +// invalid value will be rejected. Requests for policies with any +// conditional bindings must specify version 3. Policies without any +// conditional bindings may specify any valid value or leave the field +// unset. To learn which resources support conditions in their IAM +// policies, see the [IAM +// documentation](https://cloud.google.com/iam/help/conditions/resource-p +// olicies). +func (c *ProjectsLocationsApisGetIamPolicyCall) OptionsRequestedPolicyVersion(optionsRequestedPolicyVersion int64) *ProjectsLocationsApisGetIamPolicyCall { + c.urlParams_.Set("options.requestedPolicyVersion", fmt.Sprint(optionsRequestedPolicyVersion)) + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsApisGetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisGetIamPolicyCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// IfNoneMatch sets the optional parameter which makes the operation +// fail if the object's ETag matches the given value. This is useful for +// getting updates only after the object has changed since the last +// request. Use googleapi.IsNotModified to check whether the response +// error from Do is the result of In-None-Match. +func (c *ProjectsLocationsApisGetIamPolicyCall) IfNoneMatch(entityTag string) *ProjectsLocationsApisGetIamPolicyCall { + c.ifNoneMatch_ = entityTag + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsLocationsApisGetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsApisGetIamPolicyCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsLocationsApisGetIamPolicyCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsApisGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + if c.ifNoneMatch_ != "" { + reqHeaders.Set("If-None-Match", c.ifNoneMatch_) + } + var body io.Reader = nil + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+resource}:getIamPolicy") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("GET", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "resource": c.resource, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "apigateway.projects.locations.apis.getIamPolicy" call. +// Exactly one of *ApigatewayPolicy or error will be non-nil. Any +// non-2xx status code is an error. Response headers are in either +// *ApigatewayPolicy.ServerResponse.Header or (if a response was +// returned at all) in error.(*googleapi.Error).Header. Use +// googleapi.IsNotModified to check whether the returned error was +// because http.StatusNotModified was returned. +func (c *ProjectsLocationsApisGetIamPolicyCall) Do(opts ...googleapi.CallOption) (*ApigatewayPolicy, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &ApigatewayPolicy{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", + // "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}:getIamPolicy", + // "httpMethod": "GET", + // "id": "apigateway.projects.locations.apis.getIamPolicy", + // "parameterOrder": [ + // "resource" + // ], + // "parameters": { + // "options.requestedPolicyVersion": { + // "description": "Optional. The policy format version to be returned. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional bindings must specify version 3. Policies without any conditional bindings may specify any valid value or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", + // "format": "int32", + // "location": "query", + // "type": "integer" + // }, + // "resource": { + // "description": "REQUIRED: The resource for which the policy is being requested. See the operation documentation for the appropriate value for this field.", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+/apis/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v1/{+resource}:getIamPolicy", + // "response": { + // "$ref": "ApigatewayPolicy" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform" + // ] + // } + +} + +// method id "apigateway.projects.locations.apis.list": + +type ProjectsLocationsApisListCall struct { + s *Service + parent string + urlParams_ gensupport.URLParams + ifNoneMatch_ string + ctx_ context.Context + header_ http.Header +} + +// List: Lists Apis in a given project and location. +func (r *ProjectsLocationsApisService) List(parent string) *ProjectsLocationsApisListCall { + c := &ProjectsLocationsApisListCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.parent = parent + return c +} + +// Filter sets the optional parameter "filter": Filter. +func (c *ProjectsLocationsApisListCall) Filter(filter string) *ProjectsLocationsApisListCall { + c.urlParams_.Set("filter", filter) + return c +} + +// OrderBy sets the optional parameter "orderBy": Order by parameters. +func (c *ProjectsLocationsApisListCall) OrderBy(orderBy string) *ProjectsLocationsApisListCall { + c.urlParams_.Set("orderBy", orderBy) + return c +} + +// PageSize sets the optional parameter "pageSize": Page size. +func (c *ProjectsLocationsApisListCall) PageSize(pageSize int64) *ProjectsLocationsApisListCall { + c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) + return c +} + +// PageToken sets the optional parameter "pageToken": Page token. +func (c *ProjectsLocationsApisListCall) PageToken(pageToken string) *ProjectsLocationsApisListCall { + c.urlParams_.Set("pageToken", pageToken) + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsApisListCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisListCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// IfNoneMatch sets the optional parameter which makes the operation +// fail if the object's ETag matches the given value. This is useful for +// getting updates only after the object has changed since the last +// request. Use googleapi.IsNotModified to check whether the response +// error from Do is the result of In-None-Match. +func (c *ProjectsLocationsApisListCall) IfNoneMatch(entityTag string) *ProjectsLocationsApisListCall { + c.ifNoneMatch_ = entityTag + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsLocationsApisListCall) Context(ctx context.Context) *ProjectsLocationsApisListCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsLocationsApisListCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsApisListCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + if c.ifNoneMatch_ != "" { + reqHeaders.Set("If-None-Match", c.ifNoneMatch_) + } + var body io.Reader = nil + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+parent}/apis") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("GET", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "parent": c.parent, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "apigateway.projects.locations.apis.list" call. +// Exactly one of *ApigatewayListApisResponse or error will be non-nil. +// Any non-2xx status code is an error. Response headers are in either +// *ApigatewayListApisResponse.ServerResponse.Header or (if a response +// was returned at all) in error.(*googleapi.Error).Header. Use +// googleapi.IsNotModified to check whether the returned error was +// because http.StatusNotModified was returned. +func (c *ProjectsLocationsApisListCall) Do(opts ...googleapi.CallOption) (*ApigatewayListApisResponse, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &ApigatewayListApisResponse{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Lists Apis in a given project and location.", + // "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis", + // "httpMethod": "GET", + // "id": "apigateway.projects.locations.apis.list", + // "parameterOrder": [ + // "parent" + // ], + // "parameters": { + // "filter": { + // "description": "Filter.", + // "location": "query", + // "type": "string" + // }, + // "orderBy": { + // "description": "Order by parameters.", + // "location": "query", + // "type": "string" + // }, + // "pageSize": { + // "description": "Page size.", + // "format": "int32", + // "location": "query", + // "type": "integer" + // }, + // "pageToken": { + // "description": "Page token.", + // "location": "query", + // "type": "string" + // }, + // "parent": { + // "description": "Required. Parent resource of the API, of the form: `projects/*/locations/global`", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v1/{+parent}/apis", + // "response": { + // "$ref": "ApigatewayListApisResponse" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform" + // ] + // } + +} + +// Pages invokes f for each page of results. +// A non-nil error returned from f will halt the iteration. +// The provided context supersedes any context provided to the Context method. +func (c *ProjectsLocationsApisListCall) Pages(ctx context.Context, f func(*ApigatewayListApisResponse) error) error { + c.ctx_ = ctx + defer c.PageToken(c.urlParams_.Get("pageToken")) // reset paging to original point + for { + x, err := c.Do() + if err != nil { + return err + } + if err := f(x); err != nil { + return err + } + if x.NextPageToken == "" { + return nil + } + c.PageToken(x.NextPageToken) + } +} + +// method id "apigateway.projects.locations.apis.patch": + +type ProjectsLocationsApisPatchCall struct { + s *Service + name string + apigatewayapi *ApigatewayApi + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// Patch: Updates the parameters of a single Api. +func (r *ProjectsLocationsApisService) Patch(name string, apigatewayapi *ApigatewayApi) *ProjectsLocationsApisPatchCall { + c := &ProjectsLocationsApisPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name + c.apigatewayapi = apigatewayapi + return c +} + +// UpdateMask sets the optional parameter "updateMask": Field mask is +// used to specify the fields to be overwritten in the Api resource by +// the update. The fields specified in the update_mask are relative to +// the resource, not the full request. A field will be overwritten if it +// is in the mask. If the user does not provide a mask then all fields +// will be overwritten. +func (c *ProjectsLocationsApisPatchCall) UpdateMask(updateMask string) *ProjectsLocationsApisPatchCall { + c.urlParams_.Set("updateMask", updateMask) + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsApisPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisPatchCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsLocationsApisPatchCall) Context(ctx context.Context) *ProjectsLocationsApisPatchCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsLocationsApisPatchCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsApisPatchCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + var body io.Reader = nil + body, err := googleapi.WithoutDataWrapper.JSONReader(c.apigatewayapi) + if err != nil { + return nil, err + } + reqHeaders.Set("Content-Type", "application/json") + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+name}") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("PATCH", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "name": c.name, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "apigateway.projects.locations.apis.patch" call. +// Exactly one of *ApigatewayOperation or error will be non-nil. Any +// non-2xx status code is an error. Response headers are in either +// *ApigatewayOperation.ServerResponse.Header or (if a response was +// returned at all) in error.(*googleapi.Error).Header. Use +// googleapi.IsNotModified to check whether the returned error was +// because http.StatusNotModified was returned. +func (c *ProjectsLocationsApisPatchCall) Do(opts ...googleapi.CallOption) (*ApigatewayOperation, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &ApigatewayOperation{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Updates the parameters of a single Api.", + // "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}", + // "httpMethod": "PATCH", + // "id": "apigateway.projects.locations.apis.patch", + // "parameterOrder": [ + // "name" + // ], + // "parameters": { + // "name": { + // "description": "Output only. Resource name of the API. Format: projects/{project}/locations/global/apis/{api}", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+/apis/[^/]+$", + // "required": true, + // "type": "string" + // }, + // "updateMask": { + // "description": "Field mask is used to specify the fields to be overwritten in the Api resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.", + // "format": "google-fieldmask", + // "location": "query", + // "type": "string" + // } + // }, + // "path": "v1/{+name}", + // "request": { + // "$ref": "ApigatewayApi" + // }, + // "response": { + // "$ref": "ApigatewayOperation" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform" + // ] + // } + +} + +// method id "apigateway.projects.locations.apis.setIamPolicy": + +type ProjectsLocationsApisSetIamPolicyCall struct { + s *Service + resource string + apigatewaysetiampolicyrequest *ApigatewaySetIamPolicyRequest + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// SetIamPolicy: Sets the access control policy on the specified +// resource. Replaces any existing policy. Can return `NOT_FOUND`, +// `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. +func (r *ProjectsLocationsApisService) SetIamPolicy(resource string, apigatewaysetiampolicyrequest *ApigatewaySetIamPolicyRequest) *ProjectsLocationsApisSetIamPolicyCall { + c := &ProjectsLocationsApisSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.resource = resource + c.apigatewaysetiampolicyrequest = apigatewaysetiampolicyrequest + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsApisSetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisSetIamPolicyCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsLocationsApisSetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsApisSetIamPolicyCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsLocationsApisSetIamPolicyCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsApisSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + var body io.Reader = nil + body, err := googleapi.WithoutDataWrapper.JSONReader(c.apigatewaysetiampolicyrequest) + if err != nil { + return nil, err + } + reqHeaders.Set("Content-Type", "application/json") + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+resource}:setIamPolicy") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("POST", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "resource": c.resource, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "apigateway.projects.locations.apis.setIamPolicy" call. +// Exactly one of *ApigatewayPolicy or error will be non-nil. Any +// non-2xx status code is an error. Response headers are in either +// *ApigatewayPolicy.ServerResponse.Header or (if a response was +// returned at all) in error.(*googleapi.Error).Header. Use +// googleapi.IsNotModified to check whether the returned error was +// because http.StatusNotModified was returned. +func (c *ProjectsLocationsApisSetIamPolicyCall) Do(opts ...googleapi.CallOption) (*ApigatewayPolicy, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &ApigatewayPolicy{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", + // "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}:setIamPolicy", + // "httpMethod": "POST", + // "id": "apigateway.projects.locations.apis.setIamPolicy", + // "parameterOrder": [ + // "resource" + // ], + // "parameters": { + // "resource": { + // "description": "REQUIRED: The resource for which the policy is being specified. See the operation documentation for the appropriate value for this field.", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+/apis/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v1/{+resource}:setIamPolicy", + // "request": { + // "$ref": "ApigatewaySetIamPolicyRequest" + // }, + // "response": { + // "$ref": "ApigatewayPolicy" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform" + // ] + // } + +} + +// method id "apigateway.projects.locations.apis.testIamPermissions": + +type ProjectsLocationsApisTestIamPermissionsCall struct { + s *Service + resource string + apigatewaytestiampermissionsrequest *ApigatewayTestIamPermissionsRequest + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// TestIamPermissions: Returns permissions that a caller has on the +// specified resource. If the resource does not exist, this will return +// an empty set of permissions, not a `NOT_FOUND` error. Note: This +// operation is designed to be used for building permission-aware UIs +// and command-line tools, not for authorization checking. This +// operation may "fail open" without warning. +func (r *ProjectsLocationsApisService) TestIamPermissions(resource string, apigatewaytestiampermissionsrequest *ApigatewayTestIamPermissionsRequest) *ProjectsLocationsApisTestIamPermissionsCall { + c := &ProjectsLocationsApisTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.resource = resource + c.apigatewaytestiampermissionsrequest = apigatewaytestiampermissionsrequest + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsApisTestIamPermissionsCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisTestIamPermissionsCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsLocationsApisTestIamPermissionsCall) Context(ctx context.Context) *ProjectsLocationsApisTestIamPermissionsCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsLocationsApisTestIamPermissionsCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsApisTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + var body io.Reader = nil + body, err := googleapi.WithoutDataWrapper.JSONReader(c.apigatewaytestiampermissionsrequest) + if err != nil { + return nil, err + } + reqHeaders.Set("Content-Type", "application/json") + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+resource}:testIamPermissions") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("POST", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "resource": c.resource, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "apigateway.projects.locations.apis.testIamPermissions" call. +// Exactly one of *ApigatewayTestIamPermissionsResponse or error will be +// non-nil. Any non-2xx status code is an error. Response headers are in +// either *ApigatewayTestIamPermissionsResponse.ServerResponse.Header or +// (if a response was returned at all) in +// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check +// whether the returned error was because http.StatusNotModified was +// returned. +func (c *ProjectsLocationsApisTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*ApigatewayTestIamPermissionsResponse, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &ApigatewayTestIamPermissionsResponse{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", + // "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}:testIamPermissions", + // "httpMethod": "POST", + // "id": "apigateway.projects.locations.apis.testIamPermissions", + // "parameterOrder": [ + // "resource" + // ], + // "parameters": { + // "resource": { + // "description": "REQUIRED: The resource for which the policy detail is being requested. See the operation documentation for the appropriate value for this field.", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+/apis/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v1/{+resource}:testIamPermissions", + // "request": { + // "$ref": "ApigatewayTestIamPermissionsRequest" + // }, + // "response": { + // "$ref": "ApigatewayTestIamPermissionsResponse" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform" + // ] + // } + +} + +// method id "apigateway.projects.locations.apis.configs.create": + +type ProjectsLocationsApisConfigsCreateCall struct { + s *Service + parent string + apigatewayapiconfig *ApigatewayApiConfig + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// Create: Creates a new ApiConfig in a given project and location. +func (r *ProjectsLocationsApisConfigsService) Create(parent string, apigatewayapiconfig *ApigatewayApiConfig) *ProjectsLocationsApisConfigsCreateCall { + c := &ProjectsLocationsApisConfigsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.parent = parent + c.apigatewayapiconfig = apigatewayapiconfig + return c +} + +// ApiConfigId sets the optional parameter "apiConfigId": Required. +// Identifier to assign to the API Config. Must be unique within scope +// of the parent resource. +func (c *ProjectsLocationsApisConfigsCreateCall) ApiConfigId(apiConfigId string) *ProjectsLocationsApisConfigsCreateCall { + c.urlParams_.Set("apiConfigId", apiConfigId) + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsApisConfigsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisConfigsCreateCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsLocationsApisConfigsCreateCall) Context(ctx context.Context) *ProjectsLocationsApisConfigsCreateCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsLocationsApisConfigsCreateCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsApisConfigsCreateCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + var body io.Reader = nil + body, err := googleapi.WithoutDataWrapper.JSONReader(c.apigatewayapiconfig) + if err != nil { + return nil, err + } + reqHeaders.Set("Content-Type", "application/json") + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+parent}/configs") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("POST", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "parent": c.parent, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "apigateway.projects.locations.apis.configs.create" call. +// Exactly one of *ApigatewayOperation or error will be non-nil. Any +// non-2xx status code is an error. Response headers are in either +// *ApigatewayOperation.ServerResponse.Header or (if a response was +// returned at all) in error.(*googleapi.Error).Header. Use +// googleapi.IsNotModified to check whether the returned error was +// because http.StatusNotModified was returned. +func (c *ProjectsLocationsApisConfigsCreateCall) Do(opts ...googleapi.CallOption) (*ApigatewayOperation, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &ApigatewayOperation{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Creates a new ApiConfig in a given project and location.", + // "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}/configs", + // "httpMethod": "POST", + // "id": "apigateway.projects.locations.apis.configs.create", + // "parameterOrder": [ + // "parent" + // ], + // "parameters": { + // "apiConfigId": { + // "description": "Required. Identifier to assign to the API Config. Must be unique within scope of the parent resource.", + // "location": "query", + // "type": "string" + // }, + // "parent": { + // "description": "Required. Parent resource of the API Config, of the form: `projects/*/locations/global/apis/*`", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+/apis/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v1/{+parent}/configs", + // "request": { + // "$ref": "ApigatewayApiConfig" + // }, + // "response": { + // "$ref": "ApigatewayOperation" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform" + // ] + // } + +} + +// method id "apigateway.projects.locations.apis.configs.delete": + +type ProjectsLocationsApisConfigsDeleteCall struct { + s *Service + name string + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// Delete: Deletes a single ApiConfig. +func (r *ProjectsLocationsApisConfigsService) Delete(name string) *ProjectsLocationsApisConfigsDeleteCall { + c := &ProjectsLocationsApisConfigsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsApisConfigsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisConfigsDeleteCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsLocationsApisConfigsDeleteCall) Context(ctx context.Context) *ProjectsLocationsApisConfigsDeleteCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsLocationsApisConfigsDeleteCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsApisConfigsDeleteCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + var body io.Reader = nil + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+name}") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("DELETE", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "name": c.name, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "apigateway.projects.locations.apis.configs.delete" call. +// Exactly one of *ApigatewayOperation or error will be non-nil. Any +// non-2xx status code is an error. Response headers are in either +// *ApigatewayOperation.ServerResponse.Header or (if a response was +// returned at all) in error.(*googleapi.Error).Header. Use +// googleapi.IsNotModified to check whether the returned error was +// because http.StatusNotModified was returned. +func (c *ProjectsLocationsApisConfigsDeleteCall) Do(opts ...googleapi.CallOption) (*ApigatewayOperation, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &ApigatewayOperation{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Deletes a single ApiConfig.", + // "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}/configs/{configsId}", + // "httpMethod": "DELETE", + // "id": "apigateway.projects.locations.apis.configs.delete", + // "parameterOrder": [ + // "name" + // ], + // "parameters": { + // "name": { + // "description": "Required. Resource name of the form: `projects/*/locations/global/apis/*/configs/*`", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+/apis/[^/]+/configs/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v1/{+name}", + // "response": { + // "$ref": "ApigatewayOperation" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform" + // ] + // } + +} + +// method id "apigateway.projects.locations.apis.configs.get": + +type ProjectsLocationsApisConfigsGetCall struct { + s *Service + name string + urlParams_ gensupport.URLParams + ifNoneMatch_ string + ctx_ context.Context + header_ http.Header +} + +// Get: Gets details of a single ApiConfig. +func (r *ProjectsLocationsApisConfigsService) Get(name string) *ProjectsLocationsApisConfigsGetCall { + c := &ProjectsLocationsApisConfigsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name + return c +} + +// View sets the optional parameter "view": Specifies which fields of +// the API Config are returned in the response. Defaults to `BASIC` +// view. +// +// Possible values: +// "CONFIG_VIEW_UNSPECIFIED" +// "BASIC" - Do not include configuration source files. +// "FULL" - Include configuration source files. +func (c *ProjectsLocationsApisConfigsGetCall) View(view string) *ProjectsLocationsApisConfigsGetCall { + c.urlParams_.Set("view", view) + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsApisConfigsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisConfigsGetCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// IfNoneMatch sets the optional parameter which makes the operation +// fail if the object's ETag matches the given value. This is useful for +// getting updates only after the object has changed since the last +// request. Use googleapi.IsNotModified to check whether the response +// error from Do is the result of In-None-Match. +func (c *ProjectsLocationsApisConfigsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsApisConfigsGetCall { + c.ifNoneMatch_ = entityTag + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsLocationsApisConfigsGetCall) Context(ctx context.Context) *ProjectsLocationsApisConfigsGetCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsLocationsApisConfigsGetCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsApisConfigsGetCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + if c.ifNoneMatch_ != "" { + reqHeaders.Set("If-None-Match", c.ifNoneMatch_) + } + var body io.Reader = nil + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+name}") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("GET", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "name": c.name, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "apigateway.projects.locations.apis.configs.get" call. +// Exactly one of *ApigatewayApiConfig or error will be non-nil. Any +// non-2xx status code is an error. Response headers are in either +// *ApigatewayApiConfig.ServerResponse.Header or (if a response was +// returned at all) in error.(*googleapi.Error).Header. Use +// googleapi.IsNotModified to check whether the returned error was +// because http.StatusNotModified was returned. +func (c *ProjectsLocationsApisConfigsGetCall) Do(opts ...googleapi.CallOption) (*ApigatewayApiConfig, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &ApigatewayApiConfig{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Gets details of a single ApiConfig.", + // "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}/configs/{configsId}", + // "httpMethod": "GET", + // "id": "apigateway.projects.locations.apis.configs.get", + // "parameterOrder": [ + // "name" + // ], + // "parameters": { + // "name": { + // "description": "Required. Resource name of the form: `projects/*/locations/global/apis/*/configs/*`", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+/apis/[^/]+/configs/[^/]+$", + // "required": true, + // "type": "string" + // }, + // "view": { + // "description": "Specifies which fields of the API Config are returned in the response. Defaults to `BASIC` view.", + // "enum": [ + // "CONFIG_VIEW_UNSPECIFIED", + // "BASIC", + // "FULL" + // ], + // "enumDescriptions": [ + // "", + // "Do not include configuration source files.", + // "Include configuration source files." + // ], + // "location": "query", + // "type": "string" + // } + // }, + // "path": "v1/{+name}", + // "response": { + // "$ref": "ApigatewayApiConfig" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform" + // ] + // } + +} + +// method id "apigateway.projects.locations.apis.configs.getIamPolicy": + +type ProjectsLocationsApisConfigsGetIamPolicyCall struct { + s *Service + resource string + urlParams_ gensupport.URLParams + ifNoneMatch_ string + ctx_ context.Context + header_ http.Header +} + +// GetIamPolicy: Gets the access control policy for a resource. Returns +// an empty policy if the resource exists and does not have a policy +// set. +func (r *ProjectsLocationsApisConfigsService) GetIamPolicy(resource string) *ProjectsLocationsApisConfigsGetIamPolicyCall { + c := &ProjectsLocationsApisConfigsGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.resource = resource + return c +} + +// OptionsRequestedPolicyVersion sets the optional parameter +// "options.requestedPolicyVersion": The policy format version to be +// returned. Valid values are 0, 1, and 3. Requests specifying an +// invalid value will be rejected. Requests for policies with any +// conditional bindings must specify version 3. Policies without any +// conditional bindings may specify any valid value or leave the field +// unset. To learn which resources support conditions in their IAM +// policies, see the [IAM +// documentation](https://cloud.google.com/iam/help/conditions/resource-p +// olicies). +func (c *ProjectsLocationsApisConfigsGetIamPolicyCall) OptionsRequestedPolicyVersion(optionsRequestedPolicyVersion int64) *ProjectsLocationsApisConfigsGetIamPolicyCall { + c.urlParams_.Set("options.requestedPolicyVersion", fmt.Sprint(optionsRequestedPolicyVersion)) + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsApisConfigsGetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisConfigsGetIamPolicyCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// IfNoneMatch sets the optional parameter which makes the operation +// fail if the object's ETag matches the given value. This is useful for +// getting updates only after the object has changed since the last +// request. Use googleapi.IsNotModified to check whether the response +// error from Do is the result of In-None-Match. +func (c *ProjectsLocationsApisConfigsGetIamPolicyCall) IfNoneMatch(entityTag string) *ProjectsLocationsApisConfigsGetIamPolicyCall { + c.ifNoneMatch_ = entityTag + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsLocationsApisConfigsGetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsApisConfigsGetIamPolicyCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsLocationsApisConfigsGetIamPolicyCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsApisConfigsGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + if c.ifNoneMatch_ != "" { + reqHeaders.Set("If-None-Match", c.ifNoneMatch_) + } + var body io.Reader = nil + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+resource}:getIamPolicy") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("GET", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "resource": c.resource, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "apigateway.projects.locations.apis.configs.getIamPolicy" call. +// Exactly one of *ApigatewayPolicy or error will be non-nil. Any +// non-2xx status code is an error. Response headers are in either +// *ApigatewayPolicy.ServerResponse.Header or (if a response was +// returned at all) in error.(*googleapi.Error).Header. Use +// googleapi.IsNotModified to check whether the returned error was +// because http.StatusNotModified was returned. +func (c *ProjectsLocationsApisConfigsGetIamPolicyCall) Do(opts ...googleapi.CallOption) (*ApigatewayPolicy, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &ApigatewayPolicy{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", + // "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}/configs/{configsId}:getIamPolicy", + // "httpMethod": "GET", + // "id": "apigateway.projects.locations.apis.configs.getIamPolicy", + // "parameterOrder": [ + // "resource" + // ], + // "parameters": { + // "options.requestedPolicyVersion": { + // "description": "Optional. The policy format version to be returned. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional bindings must specify version 3. Policies without any conditional bindings may specify any valid value or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", + // "format": "int32", + // "location": "query", + // "type": "integer" + // }, + // "resource": { + // "description": "REQUIRED: The resource for which the policy is being requested. See the operation documentation for the appropriate value for this field.", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+/apis/[^/]+/configs/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v1/{+resource}:getIamPolicy", + // "response": { + // "$ref": "ApigatewayPolicy" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform" + // ] + // } + +} + +// method id "apigateway.projects.locations.apis.configs.list": + +type ProjectsLocationsApisConfigsListCall struct { + s *Service + parent string + urlParams_ gensupport.URLParams + ifNoneMatch_ string + ctx_ context.Context + header_ http.Header +} + +// List: Lists ApiConfigs in a given project and location. +func (r *ProjectsLocationsApisConfigsService) List(parent string) *ProjectsLocationsApisConfigsListCall { + c := &ProjectsLocationsApisConfigsListCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.parent = parent + return c +} + +// Filter sets the optional parameter "filter": Filter. +func (c *ProjectsLocationsApisConfigsListCall) Filter(filter string) *ProjectsLocationsApisConfigsListCall { + c.urlParams_.Set("filter", filter) + return c +} + +// OrderBy sets the optional parameter "orderBy": Order by parameters. +func (c *ProjectsLocationsApisConfigsListCall) OrderBy(orderBy string) *ProjectsLocationsApisConfigsListCall { + c.urlParams_.Set("orderBy", orderBy) + return c +} + +// PageSize sets the optional parameter "pageSize": Page size. +func (c *ProjectsLocationsApisConfigsListCall) PageSize(pageSize int64) *ProjectsLocationsApisConfigsListCall { + c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) + return c +} + +// PageToken sets the optional parameter "pageToken": Page token. +func (c *ProjectsLocationsApisConfigsListCall) PageToken(pageToken string) *ProjectsLocationsApisConfigsListCall { + c.urlParams_.Set("pageToken", pageToken) + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsApisConfigsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisConfigsListCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// IfNoneMatch sets the optional parameter which makes the operation +// fail if the object's ETag matches the given value. This is useful for +// getting updates only after the object has changed since the last +// request. Use googleapi.IsNotModified to check whether the response +// error from Do is the result of In-None-Match. +func (c *ProjectsLocationsApisConfigsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsApisConfigsListCall { + c.ifNoneMatch_ = entityTag + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsLocationsApisConfigsListCall) Context(ctx context.Context) *ProjectsLocationsApisConfigsListCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsLocationsApisConfigsListCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsApisConfigsListCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + if c.ifNoneMatch_ != "" { + reqHeaders.Set("If-None-Match", c.ifNoneMatch_) + } + var body io.Reader = nil + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+parent}/configs") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("GET", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "parent": c.parent, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "apigateway.projects.locations.apis.configs.list" call. +// Exactly one of *ApigatewayListApiConfigsResponse or error will be +// non-nil. Any non-2xx status code is an error. Response headers are in +// either *ApigatewayListApiConfigsResponse.ServerResponse.Header or (if +// a response was returned at all) in error.(*googleapi.Error).Header. +// Use googleapi.IsNotModified to check whether the returned error was +// because http.StatusNotModified was returned. +func (c *ProjectsLocationsApisConfigsListCall) Do(opts ...googleapi.CallOption) (*ApigatewayListApiConfigsResponse, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &ApigatewayListApiConfigsResponse{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Lists ApiConfigs in a given project and location.", + // "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}/configs", + // "httpMethod": "GET", + // "id": "apigateway.projects.locations.apis.configs.list", + // "parameterOrder": [ + // "parent" + // ], + // "parameters": { + // "filter": { + // "description": "Filter.", + // "location": "query", + // "type": "string" + // }, + // "orderBy": { + // "description": "Order by parameters.", + // "location": "query", + // "type": "string" + // }, + // "pageSize": { + // "description": "Page size.", + // "format": "int32", + // "location": "query", + // "type": "integer" + // }, + // "pageToken": { + // "description": "Page token.", + // "location": "query", + // "type": "string" + // }, + // "parent": { + // "description": "Required. Parent resource of the API Config, of the form: `projects/*/locations/global/apis/*`", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+/apis/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v1/{+parent}/configs", + // "response": { + // "$ref": "ApigatewayListApiConfigsResponse" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform" + // ] + // } + +} + +// Pages invokes f for each page of results. +// A non-nil error returned from f will halt the iteration. +// The provided context supersedes any context provided to the Context method. +func (c *ProjectsLocationsApisConfigsListCall) Pages(ctx context.Context, f func(*ApigatewayListApiConfigsResponse) error) error { + c.ctx_ = ctx + defer c.PageToken(c.urlParams_.Get("pageToken")) // reset paging to original point + for { + x, err := c.Do() + if err != nil { + return err + } + if err := f(x); err != nil { + return err + } + if x.NextPageToken == "" { + return nil + } + c.PageToken(x.NextPageToken) + } +} + +// method id "apigateway.projects.locations.apis.configs.patch": + +type ProjectsLocationsApisConfigsPatchCall struct { + s *Service + name string + apigatewayapiconfig *ApigatewayApiConfig + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// Patch: Updates the parameters of a single ApiConfig. +func (r *ProjectsLocationsApisConfigsService) Patch(name string, apigatewayapiconfig *ApigatewayApiConfig) *ProjectsLocationsApisConfigsPatchCall { + c := &ProjectsLocationsApisConfigsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name + c.apigatewayapiconfig = apigatewayapiconfig + return c +} + +// UpdateMask sets the optional parameter "updateMask": Field mask is +// used to specify the fields to be overwritten in the ApiConfig +// resource by the update. The fields specified in the update_mask are +// relative to the resource, not the full request. A field will be +// overwritten if it is in the mask. If the user does not provide a mask +// then all fields will be overwritten. +func (c *ProjectsLocationsApisConfigsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsApisConfigsPatchCall { + c.urlParams_.Set("updateMask", updateMask) + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsApisConfigsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisConfigsPatchCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsLocationsApisConfigsPatchCall) Context(ctx context.Context) *ProjectsLocationsApisConfigsPatchCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsLocationsApisConfigsPatchCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsApisConfigsPatchCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + var body io.Reader = nil + body, err := googleapi.WithoutDataWrapper.JSONReader(c.apigatewayapiconfig) + if err != nil { + return nil, err + } + reqHeaders.Set("Content-Type", "application/json") + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+name}") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("PATCH", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "name": c.name, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "apigateway.projects.locations.apis.configs.patch" call. +// Exactly one of *ApigatewayOperation or error will be non-nil. Any +// non-2xx status code is an error. Response headers are in either +// *ApigatewayOperation.ServerResponse.Header or (if a response was +// returned at all) in error.(*googleapi.Error).Header. Use +// googleapi.IsNotModified to check whether the returned error was +// because http.StatusNotModified was returned. +func (c *ProjectsLocationsApisConfigsPatchCall) Do(opts ...googleapi.CallOption) (*ApigatewayOperation, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &ApigatewayOperation{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Updates the parameters of a single ApiConfig.", + // "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}/configs/{configsId}", + // "httpMethod": "PATCH", + // "id": "apigateway.projects.locations.apis.configs.patch", + // "parameterOrder": [ + // "name" + // ], + // "parameters": { + // "name": { + // "description": "Output only. Resource name of the API Config. Format: projects/{project}/locations/global/apis/{api}/configs/{api_config}", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+/apis/[^/]+/configs/[^/]+$", + // "required": true, + // "type": "string" + // }, + // "updateMask": { + // "description": "Field mask is used to specify the fields to be overwritten in the ApiConfig resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.", + // "format": "google-fieldmask", + // "location": "query", + // "type": "string" + // } + // }, + // "path": "v1/{+name}", + // "request": { + // "$ref": "ApigatewayApiConfig" + // }, + // "response": { + // "$ref": "ApigatewayOperation" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform" + // ] + // } + +} + +// method id "apigateway.projects.locations.apis.configs.setIamPolicy": + +type ProjectsLocationsApisConfigsSetIamPolicyCall struct { + s *Service + resource string + apigatewaysetiampolicyrequest *ApigatewaySetIamPolicyRequest + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// SetIamPolicy: Sets the access control policy on the specified +// resource. Replaces any existing policy. Can return `NOT_FOUND`, +// `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. +func (r *ProjectsLocationsApisConfigsService) SetIamPolicy(resource string, apigatewaysetiampolicyrequest *ApigatewaySetIamPolicyRequest) *ProjectsLocationsApisConfigsSetIamPolicyCall { + c := &ProjectsLocationsApisConfigsSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.resource = resource + c.apigatewaysetiampolicyrequest = apigatewaysetiampolicyrequest + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsApisConfigsSetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisConfigsSetIamPolicyCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsLocationsApisConfigsSetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsApisConfigsSetIamPolicyCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsLocationsApisConfigsSetIamPolicyCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsApisConfigsSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + var body io.Reader = nil + body, err := googleapi.WithoutDataWrapper.JSONReader(c.apigatewaysetiampolicyrequest) + if err != nil { + return nil, err + } + reqHeaders.Set("Content-Type", "application/json") + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+resource}:setIamPolicy") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("POST", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "resource": c.resource, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "apigateway.projects.locations.apis.configs.setIamPolicy" call. +// Exactly one of *ApigatewayPolicy or error will be non-nil. Any +// non-2xx status code is an error. Response headers are in either +// *ApigatewayPolicy.ServerResponse.Header or (if a response was +// returned at all) in error.(*googleapi.Error).Header. Use +// googleapi.IsNotModified to check whether the returned error was +// because http.StatusNotModified was returned. +func (c *ProjectsLocationsApisConfigsSetIamPolicyCall) Do(opts ...googleapi.CallOption) (*ApigatewayPolicy, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &ApigatewayPolicy{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", + // "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}/configs/{configsId}:setIamPolicy", + // "httpMethod": "POST", + // "id": "apigateway.projects.locations.apis.configs.setIamPolicy", + // "parameterOrder": [ + // "resource" + // ], + // "parameters": { + // "resource": { + // "description": "REQUIRED: The resource for which the policy is being specified. See the operation documentation for the appropriate value for this field.", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+/apis/[^/]+/configs/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v1/{+resource}:setIamPolicy", + // "request": { + // "$ref": "ApigatewaySetIamPolicyRequest" + // }, + // "response": { + // "$ref": "ApigatewayPolicy" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform" + // ] + // } + +} + +// method id "apigateway.projects.locations.apis.configs.testIamPermissions": + +type ProjectsLocationsApisConfigsTestIamPermissionsCall struct { + s *Service + resource string + apigatewaytestiampermissionsrequest *ApigatewayTestIamPermissionsRequest + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// TestIamPermissions: Returns permissions that a caller has on the +// specified resource. If the resource does not exist, this will return +// an empty set of permissions, not a `NOT_FOUND` error. Note: This +// operation is designed to be used for building permission-aware UIs +// and command-line tools, not for authorization checking. This +// operation may "fail open" without warning. +func (r *ProjectsLocationsApisConfigsService) TestIamPermissions(resource string, apigatewaytestiampermissionsrequest *ApigatewayTestIamPermissionsRequest) *ProjectsLocationsApisConfigsTestIamPermissionsCall { + c := &ProjectsLocationsApisConfigsTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.resource = resource + c.apigatewaytestiampermissionsrequest = apigatewaytestiampermissionsrequest + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsApisConfigsTestIamPermissionsCall) Fields(s ...googleapi.Field) *ProjectsLocationsApisConfigsTestIamPermissionsCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsLocationsApisConfigsTestIamPermissionsCall) Context(ctx context.Context) *ProjectsLocationsApisConfigsTestIamPermissionsCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsLocationsApisConfigsTestIamPermissionsCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsApisConfigsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + var body io.Reader = nil + body, err := googleapi.WithoutDataWrapper.JSONReader(c.apigatewaytestiampermissionsrequest) + if err != nil { + return nil, err + } + reqHeaders.Set("Content-Type", "application/json") + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+resource}:testIamPermissions") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("POST", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "resource": c.resource, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "apigateway.projects.locations.apis.configs.testIamPermissions" call. +// Exactly one of *ApigatewayTestIamPermissionsResponse or error will be +// non-nil. Any non-2xx status code is an error. Response headers are in +// either *ApigatewayTestIamPermissionsResponse.ServerResponse.Header or +// (if a response was returned at all) in +// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check +// whether the returned error was because http.StatusNotModified was +// returned. +func (c *ProjectsLocationsApisConfigsTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*ApigatewayTestIamPermissionsResponse, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &ApigatewayTestIamPermissionsResponse{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", + // "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/apis/{apisId}/configs/{configsId}:testIamPermissions", + // "httpMethod": "POST", + // "id": "apigateway.projects.locations.apis.configs.testIamPermissions", + // "parameterOrder": [ + // "resource" + // ], + // "parameters": { + // "resource": { + // "description": "REQUIRED: The resource for which the policy detail is being requested. See the operation documentation for the appropriate value for this field.", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+/apis/[^/]+/configs/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v1/{+resource}:testIamPermissions", + // "request": { + // "$ref": "ApigatewayTestIamPermissionsRequest" + // }, + // "response": { + // "$ref": "ApigatewayTestIamPermissionsResponse" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform" + // ] + // } + +} + +// method id "apigateway.projects.locations.gateways.create": + +type ProjectsLocationsGatewaysCreateCall struct { + s *Service + parent string + apigatewaygateway *ApigatewayGateway + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// Create: Creates a new Gateway in a given project and location. +func (r *ProjectsLocationsGatewaysService) Create(parent string, apigatewaygateway *ApigatewayGateway) *ProjectsLocationsGatewaysCreateCall { + c := &ProjectsLocationsGatewaysCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.parent = parent + c.apigatewaygateway = apigatewaygateway + return c +} + +// GatewayId sets the optional parameter "gatewayId": Required. +// Identifier to assign to the Gateway. Must be unique within scope of +// the parent resource. +func (c *ProjectsLocationsGatewaysCreateCall) GatewayId(gatewayId string) *ProjectsLocationsGatewaysCreateCall { + c.urlParams_.Set("gatewayId", gatewayId) + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsGatewaysCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsGatewaysCreateCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsLocationsGatewaysCreateCall) Context(ctx context.Context) *ProjectsLocationsGatewaysCreateCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsLocationsGatewaysCreateCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsGatewaysCreateCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + var body io.Reader = nil + body, err := googleapi.WithoutDataWrapper.JSONReader(c.apigatewaygateway) + if err != nil { + return nil, err + } + reqHeaders.Set("Content-Type", "application/json") + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+parent}/gateways") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("POST", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "parent": c.parent, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "apigateway.projects.locations.gateways.create" call. +// Exactly one of *ApigatewayOperation or error will be non-nil. Any +// non-2xx status code is an error. Response headers are in either +// *ApigatewayOperation.ServerResponse.Header or (if a response was +// returned at all) in error.(*googleapi.Error).Header. Use +// googleapi.IsNotModified to check whether the returned error was +// because http.StatusNotModified was returned. +func (c *ProjectsLocationsGatewaysCreateCall) Do(opts ...googleapi.CallOption) (*ApigatewayOperation, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &ApigatewayOperation{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Creates a new Gateway in a given project and location.", + // "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/gateways", + // "httpMethod": "POST", + // "id": "apigateway.projects.locations.gateways.create", + // "parameterOrder": [ + // "parent" + // ], + // "parameters": { + // "gatewayId": { + // "description": "Required. Identifier to assign to the Gateway. Must be unique within scope of the parent resource.", + // "location": "query", + // "type": "string" + // }, + // "parent": { + // "description": "Required. Parent resource of the Gateway, of the form: `projects/*/locations/*`", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v1/{+parent}/gateways", + // "request": { + // "$ref": "ApigatewayGateway" + // }, + // "response": { + // "$ref": "ApigatewayOperation" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform" + // ] + // } + +} + +// method id "apigateway.projects.locations.gateways.delete": + +type ProjectsLocationsGatewaysDeleteCall struct { + s *Service + name string + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// Delete: Deletes a single Gateway. +func (r *ProjectsLocationsGatewaysService) Delete(name string) *ProjectsLocationsGatewaysDeleteCall { + c := &ProjectsLocationsGatewaysDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsGatewaysDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsGatewaysDeleteCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsLocationsGatewaysDeleteCall) Context(ctx context.Context) *ProjectsLocationsGatewaysDeleteCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsLocationsGatewaysDeleteCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsGatewaysDeleteCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + var body io.Reader = nil + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+name}") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("DELETE", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "name": c.name, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "apigateway.projects.locations.gateways.delete" call. +// Exactly one of *ApigatewayOperation or error will be non-nil. Any +// non-2xx status code is an error. Response headers are in either +// *ApigatewayOperation.ServerResponse.Header or (if a response was +// returned at all) in error.(*googleapi.Error).Header. Use +// googleapi.IsNotModified to check whether the returned error was +// because http.StatusNotModified was returned. +func (c *ProjectsLocationsGatewaysDeleteCall) Do(opts ...googleapi.CallOption) (*ApigatewayOperation, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &ApigatewayOperation{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Deletes a single Gateway.", + // "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/gateways/{gatewaysId}", + // "httpMethod": "DELETE", + // "id": "apigateway.projects.locations.gateways.delete", + // "parameterOrder": [ + // "name" + // ], + // "parameters": { + // "name": { + // "description": "Required. Resource name of the form: `projects/*/locations/*/gateways/*`", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+/gateways/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v1/{+name}", + // "response": { + // "$ref": "ApigatewayOperation" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform" + // ] + // } + +} + +// method id "apigateway.projects.locations.gateways.get": + +type ProjectsLocationsGatewaysGetCall struct { + s *Service + name string + urlParams_ gensupport.URLParams + ifNoneMatch_ string + ctx_ context.Context + header_ http.Header +} + +// Get: Gets details of a single Gateway. +func (r *ProjectsLocationsGatewaysService) Get(name string) *ProjectsLocationsGatewaysGetCall { + c := &ProjectsLocationsGatewaysGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsGatewaysGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsGatewaysGetCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// IfNoneMatch sets the optional parameter which makes the operation +// fail if the object's ETag matches the given value. This is useful for +// getting updates only after the object has changed since the last +// request. Use googleapi.IsNotModified to check whether the response +// error from Do is the result of In-None-Match. +func (c *ProjectsLocationsGatewaysGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsGatewaysGetCall { + c.ifNoneMatch_ = entityTag + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsLocationsGatewaysGetCall) Context(ctx context.Context) *ProjectsLocationsGatewaysGetCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsLocationsGatewaysGetCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsGatewaysGetCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + if c.ifNoneMatch_ != "" { + reqHeaders.Set("If-None-Match", c.ifNoneMatch_) + } + var body io.Reader = nil + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+name}") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("GET", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "name": c.name, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "apigateway.projects.locations.gateways.get" call. +// Exactly one of *ApigatewayGateway or error will be non-nil. Any +// non-2xx status code is an error. Response headers are in either +// *ApigatewayGateway.ServerResponse.Header or (if a response was +// returned at all) in error.(*googleapi.Error).Header. Use +// googleapi.IsNotModified to check whether the returned error was +// because http.StatusNotModified was returned. +func (c *ProjectsLocationsGatewaysGetCall) Do(opts ...googleapi.CallOption) (*ApigatewayGateway, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &ApigatewayGateway{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Gets details of a single Gateway.", + // "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/gateways/{gatewaysId}", + // "httpMethod": "GET", + // "id": "apigateway.projects.locations.gateways.get", + // "parameterOrder": [ + // "name" + // ], + // "parameters": { + // "name": { + // "description": "Required. Resource name of the form: `projects/*/locations/*/gateways/*`", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+/gateways/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v1/{+name}", + // "response": { + // "$ref": "ApigatewayGateway" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform" + // ] + // } + +} + +// method id "apigateway.projects.locations.gateways.getIamPolicy": + +type ProjectsLocationsGatewaysGetIamPolicyCall struct { + s *Service + resource string + urlParams_ gensupport.URLParams + ifNoneMatch_ string + ctx_ context.Context + header_ http.Header +} + +// GetIamPolicy: Gets the access control policy for a resource. Returns +// an empty policy if the resource exists and does not have a policy +// set. +func (r *ProjectsLocationsGatewaysService) GetIamPolicy(resource string) *ProjectsLocationsGatewaysGetIamPolicyCall { + c := &ProjectsLocationsGatewaysGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.resource = resource + return c +} + +// OptionsRequestedPolicyVersion sets the optional parameter +// "options.requestedPolicyVersion": The policy format version to be +// returned. Valid values are 0, 1, and 3. Requests specifying an +// invalid value will be rejected. Requests for policies with any +// conditional bindings must specify version 3. Policies without any +// conditional bindings may specify any valid value or leave the field +// unset. To learn which resources support conditions in their IAM +// policies, see the [IAM +// documentation](https://cloud.google.com/iam/help/conditions/resource-p +// olicies). +func (c *ProjectsLocationsGatewaysGetIamPolicyCall) OptionsRequestedPolicyVersion(optionsRequestedPolicyVersion int64) *ProjectsLocationsGatewaysGetIamPolicyCall { + c.urlParams_.Set("options.requestedPolicyVersion", fmt.Sprint(optionsRequestedPolicyVersion)) + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsGatewaysGetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsGatewaysGetIamPolicyCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// IfNoneMatch sets the optional parameter which makes the operation +// fail if the object's ETag matches the given value. This is useful for +// getting updates only after the object has changed since the last +// request. Use googleapi.IsNotModified to check whether the response +// error from Do is the result of In-None-Match. +func (c *ProjectsLocationsGatewaysGetIamPolicyCall) IfNoneMatch(entityTag string) *ProjectsLocationsGatewaysGetIamPolicyCall { + c.ifNoneMatch_ = entityTag + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsLocationsGatewaysGetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsGatewaysGetIamPolicyCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsLocationsGatewaysGetIamPolicyCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsGatewaysGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + if c.ifNoneMatch_ != "" { + reqHeaders.Set("If-None-Match", c.ifNoneMatch_) + } + var body io.Reader = nil + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+resource}:getIamPolicy") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("GET", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "resource": c.resource, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "apigateway.projects.locations.gateways.getIamPolicy" call. +// Exactly one of *ApigatewayPolicy or error will be non-nil. Any +// non-2xx status code is an error. Response headers are in either +// *ApigatewayPolicy.ServerResponse.Header or (if a response was +// returned at all) in error.(*googleapi.Error).Header. Use +// googleapi.IsNotModified to check whether the returned error was +// because http.StatusNotModified was returned. +func (c *ProjectsLocationsGatewaysGetIamPolicyCall) Do(opts ...googleapi.CallOption) (*ApigatewayPolicy, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &ApigatewayPolicy{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", + // "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/gateways/{gatewaysId}:getIamPolicy", + // "httpMethod": "GET", + // "id": "apigateway.projects.locations.gateways.getIamPolicy", + // "parameterOrder": [ + // "resource" + // ], + // "parameters": { + // "options.requestedPolicyVersion": { + // "description": "Optional. The policy format version to be returned. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional bindings must specify version 3. Policies without any conditional bindings may specify any valid value or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", + // "format": "int32", + // "location": "query", + // "type": "integer" + // }, + // "resource": { + // "description": "REQUIRED: The resource for which the policy is being requested. See the operation documentation for the appropriate value for this field.", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+/gateways/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v1/{+resource}:getIamPolicy", + // "response": { + // "$ref": "ApigatewayPolicy" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform" + // ] + // } + +} + +// method id "apigateway.projects.locations.gateways.list": + +type ProjectsLocationsGatewaysListCall struct { + s *Service + parent string + urlParams_ gensupport.URLParams + ifNoneMatch_ string + ctx_ context.Context + header_ http.Header +} + +// List: Lists Gateways in a given project and location. +func (r *ProjectsLocationsGatewaysService) List(parent string) *ProjectsLocationsGatewaysListCall { + c := &ProjectsLocationsGatewaysListCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.parent = parent + return c +} + +// Filter sets the optional parameter "filter": Filter. +func (c *ProjectsLocationsGatewaysListCall) Filter(filter string) *ProjectsLocationsGatewaysListCall { + c.urlParams_.Set("filter", filter) + return c +} + +// OrderBy sets the optional parameter "orderBy": Order by parameters. +func (c *ProjectsLocationsGatewaysListCall) OrderBy(orderBy string) *ProjectsLocationsGatewaysListCall { + c.urlParams_.Set("orderBy", orderBy) + return c +} + +// PageSize sets the optional parameter "pageSize": Page size. +func (c *ProjectsLocationsGatewaysListCall) PageSize(pageSize int64) *ProjectsLocationsGatewaysListCall { + c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) + return c +} + +// PageToken sets the optional parameter "pageToken": Page token. +func (c *ProjectsLocationsGatewaysListCall) PageToken(pageToken string) *ProjectsLocationsGatewaysListCall { + c.urlParams_.Set("pageToken", pageToken) + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsGatewaysListCall) Fields(s ...googleapi.Field) *ProjectsLocationsGatewaysListCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// IfNoneMatch sets the optional parameter which makes the operation +// fail if the object's ETag matches the given value. This is useful for +// getting updates only after the object has changed since the last +// request. Use googleapi.IsNotModified to check whether the response +// error from Do is the result of In-None-Match. +func (c *ProjectsLocationsGatewaysListCall) IfNoneMatch(entityTag string) *ProjectsLocationsGatewaysListCall { + c.ifNoneMatch_ = entityTag + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsLocationsGatewaysListCall) Context(ctx context.Context) *ProjectsLocationsGatewaysListCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsLocationsGatewaysListCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsGatewaysListCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + if c.ifNoneMatch_ != "" { + reqHeaders.Set("If-None-Match", c.ifNoneMatch_) + } + var body io.Reader = nil + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+parent}/gateways") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("GET", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "parent": c.parent, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "apigateway.projects.locations.gateways.list" call. +// Exactly one of *ApigatewayListGatewaysResponse or error will be +// non-nil. Any non-2xx status code is an error. Response headers are in +// either *ApigatewayListGatewaysResponse.ServerResponse.Header or (if a +// response was returned at all) in error.(*googleapi.Error).Header. Use +// googleapi.IsNotModified to check whether the returned error was +// because http.StatusNotModified was returned. +func (c *ProjectsLocationsGatewaysListCall) Do(opts ...googleapi.CallOption) (*ApigatewayListGatewaysResponse, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &ApigatewayListGatewaysResponse{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Lists Gateways in a given project and location.", + // "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/gateways", + // "httpMethod": "GET", + // "id": "apigateway.projects.locations.gateways.list", + // "parameterOrder": [ + // "parent" + // ], + // "parameters": { + // "filter": { + // "description": "Filter.", + // "location": "query", + // "type": "string" + // }, + // "orderBy": { + // "description": "Order by parameters.", + // "location": "query", + // "type": "string" + // }, + // "pageSize": { + // "description": "Page size.", + // "format": "int32", + // "location": "query", + // "type": "integer" + // }, + // "pageToken": { + // "description": "Page token.", + // "location": "query", + // "type": "string" + // }, + // "parent": { + // "description": "Required. Parent resource of the Gateway, of the form: `projects/*/locations/*`", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v1/{+parent}/gateways", + // "response": { + // "$ref": "ApigatewayListGatewaysResponse" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform" + // ] + // } + +} + +// Pages invokes f for each page of results. +// A non-nil error returned from f will halt the iteration. +// The provided context supersedes any context provided to the Context method. +func (c *ProjectsLocationsGatewaysListCall) Pages(ctx context.Context, f func(*ApigatewayListGatewaysResponse) error) error { + c.ctx_ = ctx + defer c.PageToken(c.urlParams_.Get("pageToken")) // reset paging to original point + for { + x, err := c.Do() + if err != nil { + return err + } + if err := f(x); err != nil { + return err + } + if x.NextPageToken == "" { + return nil + } + c.PageToken(x.NextPageToken) + } +} + +// method id "apigateway.projects.locations.gateways.patch": + +type ProjectsLocationsGatewaysPatchCall struct { + s *Service + name string + apigatewaygateway *ApigatewayGateway + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// Patch: Updates the parameters of a single Gateway. +func (r *ProjectsLocationsGatewaysService) Patch(name string, apigatewaygateway *ApigatewayGateway) *ProjectsLocationsGatewaysPatchCall { + c := &ProjectsLocationsGatewaysPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name + c.apigatewaygateway = apigatewaygateway + return c +} + +// UpdateMask sets the optional parameter "updateMask": Field mask is +// used to specify the fields to be overwritten in the Gateway resource +// by the update. The fields specified in the update_mask are relative +// to the resource, not the full request. A field will be overwritten if +// it is in the mask. If the user does not provide a mask then all +// fields will be overwritten. +func (c *ProjectsLocationsGatewaysPatchCall) UpdateMask(updateMask string) *ProjectsLocationsGatewaysPatchCall { + c.urlParams_.Set("updateMask", updateMask) + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsGatewaysPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsGatewaysPatchCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsLocationsGatewaysPatchCall) Context(ctx context.Context) *ProjectsLocationsGatewaysPatchCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsLocationsGatewaysPatchCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsGatewaysPatchCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + var body io.Reader = nil + body, err := googleapi.WithoutDataWrapper.JSONReader(c.apigatewaygateway) + if err != nil { + return nil, err + } + reqHeaders.Set("Content-Type", "application/json") + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+name}") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("PATCH", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "name": c.name, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "apigateway.projects.locations.gateways.patch" call. +// Exactly one of *ApigatewayOperation or error will be non-nil. Any +// non-2xx status code is an error. Response headers are in either +// *ApigatewayOperation.ServerResponse.Header or (if a response was +// returned at all) in error.(*googleapi.Error).Header. Use +// googleapi.IsNotModified to check whether the returned error was +// because http.StatusNotModified was returned. +func (c *ProjectsLocationsGatewaysPatchCall) Do(opts ...googleapi.CallOption) (*ApigatewayOperation, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &ApigatewayOperation{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Updates the parameters of a single Gateway.", + // "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/gateways/{gatewaysId}", + // "httpMethod": "PATCH", + // "id": "apigateway.projects.locations.gateways.patch", + // "parameterOrder": [ + // "name" + // ], + // "parameters": { + // "name": { + // "description": "Output only. Resource name of the Gateway. Format: projects/{project}/locations/{location}/gateways/{gateway}", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+/gateways/[^/]+$", + // "required": true, + // "type": "string" + // }, + // "updateMask": { + // "description": "Field mask is used to specify the fields to be overwritten in the Gateway resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.", + // "format": "google-fieldmask", + // "location": "query", + // "type": "string" + // } + // }, + // "path": "v1/{+name}", + // "request": { + // "$ref": "ApigatewayGateway" + // }, + // "response": { + // "$ref": "ApigatewayOperation" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform" + // ] + // } + +} + +// method id "apigateway.projects.locations.gateways.setIamPolicy": + +type ProjectsLocationsGatewaysSetIamPolicyCall struct { + s *Service + resource string + apigatewaysetiampolicyrequest *ApigatewaySetIamPolicyRequest + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// SetIamPolicy: Sets the access control policy on the specified +// resource. Replaces any existing policy. Can return `NOT_FOUND`, +// `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. +func (r *ProjectsLocationsGatewaysService) SetIamPolicy(resource string, apigatewaysetiampolicyrequest *ApigatewaySetIamPolicyRequest) *ProjectsLocationsGatewaysSetIamPolicyCall { + c := &ProjectsLocationsGatewaysSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.resource = resource + c.apigatewaysetiampolicyrequest = apigatewaysetiampolicyrequest + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsGatewaysSetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsGatewaysSetIamPolicyCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsLocationsGatewaysSetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsGatewaysSetIamPolicyCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsLocationsGatewaysSetIamPolicyCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsGatewaysSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + var body io.Reader = nil + body, err := googleapi.WithoutDataWrapper.JSONReader(c.apigatewaysetiampolicyrequest) + if err != nil { + return nil, err + } + reqHeaders.Set("Content-Type", "application/json") + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+resource}:setIamPolicy") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("POST", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "resource": c.resource, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "apigateway.projects.locations.gateways.setIamPolicy" call. +// Exactly one of *ApigatewayPolicy or error will be non-nil. Any +// non-2xx status code is an error. Response headers are in either +// *ApigatewayPolicy.ServerResponse.Header or (if a response was +// returned at all) in error.(*googleapi.Error).Header. Use +// googleapi.IsNotModified to check whether the returned error was +// because http.StatusNotModified was returned. +func (c *ProjectsLocationsGatewaysSetIamPolicyCall) Do(opts ...googleapi.CallOption) (*ApigatewayPolicy, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &ApigatewayPolicy{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", + // "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/gateways/{gatewaysId}:setIamPolicy", + // "httpMethod": "POST", + // "id": "apigateway.projects.locations.gateways.setIamPolicy", + // "parameterOrder": [ + // "resource" + // ], + // "parameters": { + // "resource": { + // "description": "REQUIRED: The resource for which the policy is being specified. See the operation documentation for the appropriate value for this field.", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+/gateways/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v1/{+resource}:setIamPolicy", + // "request": { + // "$ref": "ApigatewaySetIamPolicyRequest" + // }, + // "response": { + // "$ref": "ApigatewayPolicy" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform" + // ] + // } + +} + +// method id "apigateway.projects.locations.gateways.testIamPermissions": + +type ProjectsLocationsGatewaysTestIamPermissionsCall struct { + s *Service + resource string + apigatewaytestiampermissionsrequest *ApigatewayTestIamPermissionsRequest + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// TestIamPermissions: Returns permissions that a caller has on the +// specified resource. If the resource does not exist, this will return +// an empty set of permissions, not a `NOT_FOUND` error. Note: This +// operation is designed to be used for building permission-aware UIs +// and command-line tools, not for authorization checking. This +// operation may "fail open" without warning. +func (r *ProjectsLocationsGatewaysService) TestIamPermissions(resource string, apigatewaytestiampermissionsrequest *ApigatewayTestIamPermissionsRequest) *ProjectsLocationsGatewaysTestIamPermissionsCall { + c := &ProjectsLocationsGatewaysTestIamPermissionsCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.resource = resource + c.apigatewaytestiampermissionsrequest = apigatewaytestiampermissionsrequest + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsGatewaysTestIamPermissionsCall) Fields(s ...googleapi.Field) *ProjectsLocationsGatewaysTestIamPermissionsCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsLocationsGatewaysTestIamPermissionsCall) Context(ctx context.Context) *ProjectsLocationsGatewaysTestIamPermissionsCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsLocationsGatewaysTestIamPermissionsCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsGatewaysTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + var body io.Reader = nil + body, err := googleapi.WithoutDataWrapper.JSONReader(c.apigatewaytestiampermissionsrequest) + if err != nil { + return nil, err + } + reqHeaders.Set("Content-Type", "application/json") + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+resource}:testIamPermissions") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("POST", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "resource": c.resource, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "apigateway.projects.locations.gateways.testIamPermissions" call. +// Exactly one of *ApigatewayTestIamPermissionsResponse or error will be +// non-nil. Any non-2xx status code is an error. Response headers are in +// either *ApigatewayTestIamPermissionsResponse.ServerResponse.Header or +// (if a response was returned at all) in +// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check +// whether the returned error was because http.StatusNotModified was +// returned. +func (c *ProjectsLocationsGatewaysTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*ApigatewayTestIamPermissionsResponse, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &ApigatewayTestIamPermissionsResponse{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", + // "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/gateways/{gatewaysId}:testIamPermissions", + // "httpMethod": "POST", + // "id": "apigateway.projects.locations.gateways.testIamPermissions", + // "parameterOrder": [ + // "resource" + // ], + // "parameters": { + // "resource": { + // "description": "REQUIRED: The resource for which the policy detail is being requested. See the operation documentation for the appropriate value for this field.", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+/gateways/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v1/{+resource}:testIamPermissions", + // "request": { + // "$ref": "ApigatewayTestIamPermissionsRequest" + // }, + // "response": { + // "$ref": "ApigatewayTestIamPermissionsResponse" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform" + // ] + // } + +} + +// method id "apigateway.projects.locations.operations.cancel": + +type ProjectsLocationsOperationsCancelCall struct { + s *Service + name string + apigatewaycanceloperationrequest *ApigatewayCancelOperationRequest + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// Cancel: Starts asynchronous cancellation on a long-running operation. +// The server makes a best effort to cancel the operation, but success +// is not guaranteed. If the server doesn't support this method, it +// returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use +// Operations.GetOperation or other methods to check whether the +// cancellation succeeded or whether the operation completed despite +// cancellation. On successful cancellation, the operation is not +// deleted; instead, it becomes an operation with an Operation.error +// value with a google.rpc.Status.code of 1, corresponding to +// `Code.CANCELLED`. +func (r *ProjectsLocationsOperationsService) Cancel(name string, apigatewaycanceloperationrequest *ApigatewayCancelOperationRequest) *ProjectsLocationsOperationsCancelCall { + c := &ProjectsLocationsOperationsCancelCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name + c.apigatewaycanceloperationrequest = apigatewaycanceloperationrequest + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsOperationsCancelCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsCancelCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsLocationsOperationsCancelCall) Context(ctx context.Context) *ProjectsLocationsOperationsCancelCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsLocationsOperationsCancelCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsOperationsCancelCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + var body io.Reader = nil + body, err := googleapi.WithoutDataWrapper.JSONReader(c.apigatewaycanceloperationrequest) + if err != nil { + return nil, err + } + reqHeaders.Set("Content-Type", "application/json") + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+name}:cancel") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("POST", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "name": c.name, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "apigateway.projects.locations.operations.cancel" call. +// Exactly one of *Empty or error will be non-nil. Any non-2xx status +// code is an error. Response headers are in either +// *Empty.ServerResponse.Header or (if a response was returned at all) +// in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to +// check whether the returned error was because http.StatusNotModified +// was returned. +func (c *ProjectsLocationsOperationsCancelCall) Do(opts ...googleapi.CallOption) (*Empty, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &Empty{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", + // "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel", + // "httpMethod": "POST", + // "id": "apigateway.projects.locations.operations.cancel", + // "parameterOrder": [ + // "name" + // ], + // "parameters": { + // "name": { + // "description": "The name of the operation resource to be cancelled.", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v1/{+name}:cancel", + // "request": { + // "$ref": "ApigatewayCancelOperationRequest" + // }, + // "response": { + // "$ref": "Empty" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform" + // ] + // } + +} + +// method id "apigateway.projects.locations.operations.delete": + +type ProjectsLocationsOperationsDeleteCall struct { + s *Service + name string + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// Delete: Deletes a long-running operation. This method indicates that +// the client is no longer interested in the operation result. It does +// not cancel the operation. If the server doesn't support this method, +// it returns `google.rpc.Code.UNIMPLEMENTED`. +func (r *ProjectsLocationsOperationsService) Delete(name string) *ProjectsLocationsOperationsDeleteCall { + c := &ProjectsLocationsOperationsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsOperationsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsDeleteCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsLocationsOperationsDeleteCall) Context(ctx context.Context) *ProjectsLocationsOperationsDeleteCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsLocationsOperationsDeleteCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsOperationsDeleteCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + var body io.Reader = nil + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+name}") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("DELETE", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "name": c.name, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "apigateway.projects.locations.operations.delete" call. +// Exactly one of *Empty or error will be non-nil. Any non-2xx status +// code is an error. Response headers are in either +// *Empty.ServerResponse.Header or (if a response was returned at all) +// in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to +// check whether the returned error was because http.StatusNotModified +// was returned. +func (c *ProjectsLocationsOperationsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &Empty{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", + // "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", + // "httpMethod": "DELETE", + // "id": "apigateway.projects.locations.operations.delete", + // "parameterOrder": [ + // "name" + // ], + // "parameters": { + // "name": { + // "description": "The name of the operation resource to be deleted.", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v1/{+name}", + // "response": { + // "$ref": "Empty" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform" + // ] + // } + +} + +// method id "apigateway.projects.locations.operations.get": + +type ProjectsLocationsOperationsGetCall struct { + s *Service + name string + urlParams_ gensupport.URLParams + ifNoneMatch_ string + ctx_ context.Context + header_ http.Header +} + +// Get: Gets the latest state of a long-running operation. Clients can +// use this method to poll the operation result at intervals as +// recommended by the API service. +func (r *ProjectsLocationsOperationsService) Get(name string) *ProjectsLocationsOperationsGetCall { + c := &ProjectsLocationsOperationsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsOperationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsGetCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// IfNoneMatch sets the optional parameter which makes the operation +// fail if the object's ETag matches the given value. This is useful for +// getting updates only after the object has changed since the last +// request. Use googleapi.IsNotModified to check whether the response +// error from Do is the result of In-None-Match. +func (c *ProjectsLocationsOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsOperationsGetCall { + c.ifNoneMatch_ = entityTag + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsLocationsOperationsGetCall) Context(ctx context.Context) *ProjectsLocationsOperationsGetCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsLocationsOperationsGetCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsOperationsGetCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + if c.ifNoneMatch_ != "" { + reqHeaders.Set("If-None-Match", c.ifNoneMatch_) + } + var body io.Reader = nil + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+name}") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("GET", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "name": c.name, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "apigateway.projects.locations.operations.get" call. +// Exactly one of *ApigatewayOperation or error will be non-nil. Any +// non-2xx status code is an error. Response headers are in either +// *ApigatewayOperation.ServerResponse.Header or (if a response was +// returned at all) in error.(*googleapi.Error).Header. Use +// googleapi.IsNotModified to check whether the returned error was +// because http.StatusNotModified was returned. +func (c *ProjectsLocationsOperationsGetCall) Do(opts ...googleapi.CallOption) (*ApigatewayOperation, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &ApigatewayOperation{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", + // "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", + // "httpMethod": "GET", + // "id": "apigateway.projects.locations.operations.get", + // "parameterOrder": [ + // "name" + // ], + // "parameters": { + // "name": { + // "description": "The name of the operation resource.", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v1/{+name}", + // "response": { + // "$ref": "ApigatewayOperation" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform" + // ] + // } + +} + +// method id "apigateway.projects.locations.operations.list": + +type ProjectsLocationsOperationsListCall struct { + s *Service + name string + urlParams_ gensupport.URLParams + ifNoneMatch_ string + ctx_ context.Context + header_ http.Header +} + +// List: Lists operations that match the specified filter in the +// request. If the server doesn't support this method, it returns +// `UNIMPLEMENTED`. 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 *ProjectsLocationsOperationsService) List(name string) *ProjectsLocationsOperationsListCall { + c := &ProjectsLocationsOperationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name + return c +} + +// Filter sets the optional parameter "filter": The standard list +// filter. +func (c *ProjectsLocationsOperationsListCall) Filter(filter string) *ProjectsLocationsOperationsListCall { + c.urlParams_.Set("filter", filter) + return c +} + +// PageSize sets the optional parameter "pageSize": The standard list +// page size. +func (c *ProjectsLocationsOperationsListCall) PageSize(pageSize int64) *ProjectsLocationsOperationsListCall { + c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) + return c +} + +// PageToken sets the optional parameter "pageToken": The standard list +// page token. +func (c *ProjectsLocationsOperationsListCall) PageToken(pageToken string) *ProjectsLocationsOperationsListCall { + c.urlParams_.Set("pageToken", pageToken) + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsOperationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsListCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// IfNoneMatch sets the optional parameter which makes the operation +// fail if the object's ETag matches the given value. This is useful for +// getting updates only after the object has changed since the last +// request. Use googleapi.IsNotModified to check whether the response +// error from Do is the result of In-None-Match. +func (c *ProjectsLocationsOperationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsOperationsListCall { + c.ifNoneMatch_ = entityTag + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsLocationsOperationsListCall) Context(ctx context.Context) *ProjectsLocationsOperationsListCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsLocationsOperationsListCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsOperationsListCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + if c.ifNoneMatch_ != "" { + reqHeaders.Set("If-None-Match", c.ifNoneMatch_) + } + var body io.Reader = nil + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+name}/operations") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("GET", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "name": c.name, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "apigateway.projects.locations.operations.list" call. +// Exactly one of *ApigatewayListOperationsResponse or error will be +// non-nil. Any non-2xx status code is an error. Response headers are in +// either *ApigatewayListOperationsResponse.ServerResponse.Header or (if +// a response was returned at all) in error.(*googleapi.Error).Header. +// Use googleapi.IsNotModified to check whether the returned error was +// because http.StatusNotModified was returned. +func (c *ProjectsLocationsOperationsListCall) Do(opts ...googleapi.CallOption) (*ApigatewayListOperationsResponse, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &ApigatewayListOperationsResponse{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. 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.", + // "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations", + // "httpMethod": "GET", + // "id": "apigateway.projects.locations.operations.list", + // "parameterOrder": [ + // "name" + // ], + // "parameters": { + // "filter": { + // "description": "The standard list filter.", + // "location": "query", + // "type": "string" + // }, + // "name": { + // "description": "The name of the operation's parent resource.", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+$", + // "required": true, + // "type": "string" + // }, + // "pageSize": { + // "description": "The standard list page size.", + // "format": "int32", + // "location": "query", + // "type": "integer" + // }, + // "pageToken": { + // "description": "The standard list page token.", + // "location": "query", + // "type": "string" + // } + // }, + // "path": "v1/{+name}/operations", + // "response": { + // "$ref": "ApigatewayListOperationsResponse" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform" + // ] + // } + +} + +// Pages invokes f for each page of results. +// A non-nil error returned from f will halt the iteration. +// The provided context supersedes any context provided to the Context method. +func (c *ProjectsLocationsOperationsListCall) Pages(ctx context.Context, f func(*ApigatewayListOperationsResponse) error) error { + c.ctx_ = ctx + defer c.PageToken(c.urlParams_.Get("pageToken")) // reset paging to original point + for { + x, err := c.Do() + if err != nil { + return err + } + if err := f(x); err != nil { + return err + } + if x.NextPageToken == "" { + return nil + } + c.PageToken(x.NextPageToken) + } +} diff --git a/apigateway/v1beta/apigateway-gen.go b/apigateway/v1beta/apigateway-gen.go index b914e5e3769..2254b0614d8 100644 --- a/apigateway/v1beta/apigateway-gen.go +++ b/apigateway/v1beta/apigateway-gen.go @@ -1552,7 +1552,7 @@ func (c *ProjectsLocationsGetCall) Header() http.Header { func (c *ProjectsLocationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1718,7 +1718,7 @@ func (c *ProjectsLocationsListCall) Header() http.Header { func (c *ProjectsLocationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1898,7 +1898,7 @@ func (c *ProjectsLocationsApisCreateCall) Header() http.Header { func (c *ProjectsLocationsApisCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2041,7 +2041,7 @@ func (c *ProjectsLocationsApisDeleteCall) Header() http.Header { func (c *ProjectsLocationsApisDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2182,7 +2182,7 @@ func (c *ProjectsLocationsApisGetCall) Header() http.Header { func (c *ProjectsLocationsApisGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2343,7 +2343,7 @@ func (c *ProjectsLocationsApisGetIamPolicyCall) Header() http.Header { func (c *ProjectsLocationsApisGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2517,7 +2517,7 @@ func (c *ProjectsLocationsApisListCall) Header() http.Header { func (c *ProjectsLocationsApisListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2705,7 +2705,7 @@ func (c *ProjectsLocationsApisPatchCall) Header() http.Header { func (c *ProjectsLocationsApisPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2853,7 +2853,7 @@ func (c *ProjectsLocationsApisSetIamPolicyCall) Header() http.Header { func (c *ProjectsLocationsApisSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2998,7 +2998,7 @@ func (c *ProjectsLocationsApisTestIamPermissionsCall) Header() http.Header { func (c *ProjectsLocationsApisTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3147,7 +3147,7 @@ func (c *ProjectsLocationsApisConfigsCreateCall) Header() http.Header { func (c *ProjectsLocationsApisConfigsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3290,7 +3290,7 @@ func (c *ProjectsLocationsApisConfigsDeleteCall) Header() http.Header { func (c *ProjectsLocationsApisConfigsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3444,7 +3444,7 @@ func (c *ProjectsLocationsApisConfigsGetCall) Header() http.Header { func (c *ProjectsLocationsApisConfigsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3620,7 +3620,7 @@ func (c *ProjectsLocationsApisConfigsGetIamPolicyCall) Header() http.Header { func (c *ProjectsLocationsApisConfigsGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3794,7 +3794,7 @@ func (c *ProjectsLocationsApisConfigsListCall) Header() http.Header { func (c *ProjectsLocationsApisConfigsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3982,7 +3982,7 @@ func (c *ProjectsLocationsApisConfigsPatchCall) Header() http.Header { func (c *ProjectsLocationsApisConfigsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4130,7 +4130,7 @@ func (c *ProjectsLocationsApisConfigsSetIamPolicyCall) Header() http.Header { func (c *ProjectsLocationsApisConfigsSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4275,7 +4275,7 @@ func (c *ProjectsLocationsApisConfigsTestIamPermissionsCall) Header() http.Heade func (c *ProjectsLocationsApisConfigsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4424,7 +4424,7 @@ func (c *ProjectsLocationsGatewaysCreateCall) Header() http.Header { func (c *ProjectsLocationsGatewaysCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4567,7 +4567,7 @@ func (c *ProjectsLocationsGatewaysDeleteCall) Header() http.Header { func (c *ProjectsLocationsGatewaysDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4708,7 +4708,7 @@ func (c *ProjectsLocationsGatewaysGetCall) Header() http.Header { func (c *ProjectsLocationsGatewaysGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4869,7 +4869,7 @@ func (c *ProjectsLocationsGatewaysGetIamPolicyCall) Header() http.Header { func (c *ProjectsLocationsGatewaysGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5043,7 +5043,7 @@ func (c *ProjectsLocationsGatewaysListCall) Header() http.Header { func (c *ProjectsLocationsGatewaysListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5231,7 +5231,7 @@ func (c *ProjectsLocationsGatewaysPatchCall) Header() http.Header { func (c *ProjectsLocationsGatewaysPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5379,7 +5379,7 @@ func (c *ProjectsLocationsGatewaysSetIamPolicyCall) Header() http.Header { func (c *ProjectsLocationsGatewaysSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5524,7 +5524,7 @@ func (c *ProjectsLocationsGatewaysTestIamPermissionsCall) Header() http.Header { func (c *ProjectsLocationsGatewaysTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5674,7 +5674,7 @@ func (c *ProjectsLocationsOperationsCancelCall) Header() http.Header { func (c *ProjectsLocationsOperationsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5815,7 +5815,7 @@ func (c *ProjectsLocationsOperationsDeleteCall) Header() http.Header { func (c *ProjectsLocationsOperationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5958,7 +5958,7 @@ func (c *ProjectsLocationsOperationsGetCall) Header() http.Header { func (c *ProjectsLocationsOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6132,7 +6132,7 @@ func (c *ProjectsLocationsOperationsListCall) Header() http.Header { func (c *ProjectsLocationsOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/apigee/v1/apigee-gen.go b/apigee/v1/apigee-gen.go index 8a10faa581e..1931486f12a 100644 --- a/apigee/v1/apigee-gen.go +++ b/apigee/v1/apigee-gen.go @@ -8321,7 +8321,7 @@ func (c *HybridIssuersListCall) Header() http.Header { func (c *HybridIssuersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8467,7 +8467,7 @@ func (c *OrganizationsCreateCall) Header() http.Header { func (c *OrganizationsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8599,7 +8599,7 @@ func (c *OrganizationsDeleteCall) Header() http.Header { func (c *OrganizationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8742,7 +8742,7 @@ func (c *OrganizationsGetCall) Header() http.Header { func (c *OrganizationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8905,7 +8905,7 @@ func (c *OrganizationsGetDeployedIngressConfigCall) Header() http.Header { func (c *OrganizationsGetDeployedIngressConfigCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9065,7 +9065,7 @@ func (c *OrganizationsGetSyncAuthorizationCall) Header() http.Header { func (c *OrganizationsGetSyncAuthorizationCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9218,7 +9218,7 @@ func (c *OrganizationsListCall) Header() http.Header { func (c *OrganizationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9365,7 +9365,7 @@ func (c *OrganizationsSetSyncAuthorizationCall) Header() http.Header { func (c *OrganizationsSetSyncAuthorizationCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9507,7 +9507,7 @@ func (c *OrganizationsUpdateCall) Header() http.Header { func (c *OrganizationsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9647,7 +9647,7 @@ func (c *OrganizationsAnalyticsDatastoresCreateCall) Header() http.Header { func (c *OrganizationsAnalyticsDatastoresCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9785,7 +9785,7 @@ func (c *OrganizationsAnalyticsDatastoresDeleteCall) Header() http.Header { func (c *OrganizationsAnalyticsDatastoresDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9926,7 +9926,7 @@ func (c *OrganizationsAnalyticsDatastoresGetCall) Header() http.Header { func (c *OrganizationsAnalyticsDatastoresGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10077,7 +10077,7 @@ func (c *OrganizationsAnalyticsDatastoresListCall) Header() http.Header { func (c *OrganizationsAnalyticsDatastoresListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10221,7 +10221,7 @@ func (c *OrganizationsAnalyticsDatastoresTestCall) Header() http.Header { func (c *OrganizationsAnalyticsDatastoresTestCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10363,7 +10363,7 @@ func (c *OrganizationsAnalyticsDatastoresUpdateCall) Header() http.Header { func (c *OrganizationsAnalyticsDatastoresUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10513,7 +10513,7 @@ func (c *OrganizationsApiproductsAttributesCall) Header() http.Header { func (c *OrganizationsApiproductsAttributesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10671,7 +10671,7 @@ func (c *OrganizationsApiproductsCreateCall) Header() http.Header { func (c *OrganizationsApiproductsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10817,7 +10817,7 @@ func (c *OrganizationsApiproductsDeleteCall) Header() http.Header { func (c *OrganizationsApiproductsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10962,7 +10962,7 @@ func (c *OrganizationsApiproductsGetCall) Header() http.Header { func (c *OrganizationsApiproductsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11150,7 +11150,7 @@ func (c *OrganizationsApiproductsListCall) Header() http.Header { func (c *OrganizationsApiproductsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11319,7 +11319,7 @@ func (c *OrganizationsApiproductsUpdateCall) Header() http.Header { func (c *OrganizationsApiproductsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11457,7 +11457,7 @@ func (c *OrganizationsApiproductsAttributesDeleteCall) Header() http.Header { func (c *OrganizationsApiproductsAttributesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11598,7 +11598,7 @@ func (c *OrganizationsApiproductsAttributesGetCall) Header() http.Header { func (c *OrganizationsApiproductsAttributesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11742,7 +11742,7 @@ func (c *OrganizationsApiproductsAttributesListCall) Header() http.Header { func (c *OrganizationsApiproductsAttributesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11884,7 +11884,7 @@ func (c *OrganizationsApiproductsAttributesUpdateApiProductAttributeCall) Header func (c *OrganizationsApiproductsAttributesUpdateApiProductAttributeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12064,7 +12064,7 @@ func (c *OrganizationsApisCreateCall) Header() http.Header { func (c *OrganizationsApisCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12220,7 +12220,7 @@ func (c *OrganizationsApisDeleteCall) Header() http.Header { func (c *OrganizationsApisDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12361,7 +12361,7 @@ func (c *OrganizationsApisGetCall) Header() http.Header { func (c *OrganizationsApisGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12522,7 +12522,7 @@ func (c *OrganizationsApisListCall) Header() http.Header { func (c *OrganizationsApisListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12678,7 +12678,7 @@ func (c *OrganizationsApisDeploymentsListCall) Header() http.Header { func (c *OrganizationsApisDeploymentsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12815,7 +12815,7 @@ func (c *OrganizationsApisKeyvaluemapsCreateCall) Header() http.Header { func (c *OrganizationsApisKeyvaluemapsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12953,7 +12953,7 @@ func (c *OrganizationsApisKeyvaluemapsDeleteCall) Header() http.Header { func (c *OrganizationsApisKeyvaluemapsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13085,7 +13085,7 @@ func (c *OrganizationsApisRevisionsDeleteCall) Header() http.Header { func (c *OrganizationsApisRevisionsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13242,7 +13242,7 @@ func (c *OrganizationsApisRevisionsGetCall) Header() http.Header { func (c *OrganizationsApisRevisionsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13395,7 +13395,7 @@ func (c *OrganizationsApisRevisionsUpdateApiProxyRevisionCall) Header() http.Hea func (c *OrganizationsApisRevisionsUpdateApiProxyRevisionCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13550,7 +13550,7 @@ func (c *OrganizationsApisRevisionsDeploymentsListCall) Header() http.Header { func (c *OrganizationsApisRevisionsDeploymentsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13696,7 +13696,7 @@ func (c *OrganizationsAppsGetCall) Header() http.Header { func (c *OrganizationsAppsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13908,7 +13908,7 @@ func (c *OrganizationsAppsListCall) Header() http.Header { func (c *OrganizationsAppsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14098,7 +14098,7 @@ func (c *OrganizationsDatacollectorsCreateCall) Header() http.Header { func (c *OrganizationsDatacollectorsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14241,7 +14241,7 @@ func (c *OrganizationsDatacollectorsDeleteCall) Header() http.Header { func (c *OrganizationsDatacollectorsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14382,7 +14382,7 @@ func (c *OrganizationsDatacollectorsGetCall) Header() http.Header { func (c *OrganizationsDatacollectorsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14541,7 +14541,7 @@ func (c *OrganizationsDatacollectorsListCall) Header() http.Header { func (c *OrganizationsDatacollectorsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14717,7 +14717,7 @@ func (c *OrganizationsDatacollectorsPatchCall) Header() http.Header { func (c *OrganizationsDatacollectorsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14881,7 +14881,7 @@ func (c *OrganizationsDeploymentsListCall) Header() http.Header { func (c *OrganizationsDeploymentsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15033,7 +15033,7 @@ func (c *OrganizationsDevelopersAttributesCall) Header() http.Header { func (c *OrganizationsDevelopersAttributesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15176,7 +15176,7 @@ func (c *OrganizationsDevelopersCreateCall) Header() http.Header { func (c *OrganizationsDevelopersCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15322,7 +15322,7 @@ func (c *OrganizationsDevelopersDeleteCall) Header() http.Header { func (c *OrganizationsDevelopersDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15472,7 +15472,7 @@ func (c *OrganizationsDevelopersGetCall) Header() http.Header { func (c *OrganizationsDevelopersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15677,7 +15677,7 @@ func (c *OrganizationsDevelopersListCall) Header() http.Header { func (c *OrganizationsDevelopersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15857,7 +15857,7 @@ func (c *OrganizationsDevelopersSetDeveloperStatusCall) Header() http.Header { func (c *OrganizationsDevelopersSetDeveloperStatusCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16003,7 +16003,7 @@ func (c *OrganizationsDevelopersUpdateCall) Header() http.Header { func (c *OrganizationsDevelopersUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16144,7 +16144,7 @@ func (c *OrganizationsDevelopersAppsAttributesCall) Header() http.Header { func (c *OrganizationsDevelopersAppsAttributesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16290,7 +16290,7 @@ func (c *OrganizationsDevelopersAppsCreateCall) Header() http.Header { func (c *OrganizationsDevelopersAppsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16431,7 +16431,7 @@ func (c *OrganizationsDevelopersAppsDeleteCall) Header() http.Header { func (c *OrganizationsDevelopersAppsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16595,7 +16595,7 @@ func (c *OrganizationsDevelopersAppsGenerateKeyPairOrUpdateDeveloperAppStatusCal func (c *OrganizationsDevelopersAppsGenerateKeyPairOrUpdateDeveloperAppStatusCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16767,7 +16767,7 @@ func (c *OrganizationsDevelopersAppsGetCall) Header() http.Header { func (c *OrganizationsDevelopersAppsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16962,7 +16962,7 @@ func (c *OrganizationsDevelopersAppsListCall) Header() http.Header { func (c *OrganizationsDevelopersAppsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17130,7 +17130,7 @@ func (c *OrganizationsDevelopersAppsUpdateCall) Header() http.Header { func (c *OrganizationsDevelopersAppsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17268,7 +17268,7 @@ func (c *OrganizationsDevelopersAppsAttributesDeleteCall) Header() http.Header { func (c *OrganizationsDevelopersAppsAttributesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17409,7 +17409,7 @@ func (c *OrganizationsDevelopersAppsAttributesGetCall) Header() http.Header { func (c *OrganizationsDevelopersAppsAttributesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17553,7 +17553,7 @@ func (c *OrganizationsDevelopersAppsAttributesListCall) Header() http.Header { func (c *OrganizationsDevelopersAppsAttributesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17695,7 +17695,7 @@ func (c *OrganizationsDevelopersAppsAttributesUpdateDeveloperAppAttributeCall) H func (c *OrganizationsDevelopersAppsAttributesUpdateDeveloperAppAttributeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17847,7 +17847,7 @@ func (c *OrganizationsDevelopersAppsKeysCreateCall) Header() http.Header { func (c *OrganizationsDevelopersAppsKeysCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17992,7 +17992,7 @@ func (c *OrganizationsDevelopersAppsKeysDeleteCall) Header() http.Header { func (c *OrganizationsDevelopersAppsKeysDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18136,7 +18136,7 @@ func (c *OrganizationsDevelopersAppsKeysGetCall) Header() http.Header { func (c *OrganizationsDevelopersAppsKeysGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18278,7 +18278,7 @@ func (c *OrganizationsDevelopersAppsKeysReplaceDeveloperAppKeyCall) Header() htt func (c *OrganizationsDevelopersAppsKeysReplaceDeveloperAppKeyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18433,7 +18433,7 @@ func (c *OrganizationsDevelopersAppsKeysUpdateDeveloperAppKeyCall) Header() http func (c *OrganizationsDevelopersAppsKeysUpdateDeveloperAppKeyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18580,7 +18580,7 @@ func (c *OrganizationsDevelopersAppsKeysApiproductsDeleteCall) Header() http.Hea func (c *OrganizationsDevelopersAppsKeysApiproductsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18725,7 +18725,7 @@ func (c *OrganizationsDevelopersAppsKeysApiproductsUpdateDeveloperAppKeyApiProdu func (c *OrganizationsDevelopersAppsKeysApiproductsUpdateDeveloperAppKeyApiProductCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18874,7 +18874,7 @@ func (c *OrganizationsDevelopersAppsKeysCreateCreateCall) Header() http.Header { func (c *OrganizationsDevelopersAppsKeysCreateCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19013,7 +19013,7 @@ func (c *OrganizationsDevelopersAttributesDeleteCall) Header() http.Header { func (c *OrganizationsDevelopersAttributesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19154,7 +19154,7 @@ func (c *OrganizationsDevelopersAttributesGetCall) Header() http.Header { func (c *OrganizationsDevelopersAttributesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19298,7 +19298,7 @@ func (c *OrganizationsDevelopersAttributesListCall) Header() http.Header { func (c *OrganizationsDevelopersAttributesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19439,7 +19439,7 @@ func (c *OrganizationsDevelopersAttributesUpdateDeveloperAttributeCall) Header() func (c *OrganizationsDevelopersAttributesUpdateDeveloperAttributeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19586,7 +19586,7 @@ func (c *OrganizationsEnvgroupsCreateCall) Header() http.Header { func (c *OrganizationsEnvgroupsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19729,7 +19729,7 @@ func (c *OrganizationsEnvgroupsDeleteCall) Header() http.Header { func (c *OrganizationsEnvgroupsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19870,7 +19870,7 @@ func (c *OrganizationsEnvgroupsGetCall) Header() http.Header { func (c *OrganizationsEnvgroupsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -20030,7 +20030,7 @@ func (c *OrganizationsEnvgroupsListCall) Header() http.Header { func (c *OrganizationsEnvgroupsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -20206,7 +20206,7 @@ func (c *OrganizationsEnvgroupsPatchCall) Header() http.Header { func (c *OrganizationsEnvgroupsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -20353,7 +20353,7 @@ func (c *OrganizationsEnvgroupsAttachmentsCreateCall) Header() http.Header { func (c *OrganizationsEnvgroupsAttachmentsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -20491,7 +20491,7 @@ func (c *OrganizationsEnvgroupsAttachmentsDeleteCall) Header() http.Header { func (c *OrganizationsEnvgroupsAttachmentsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -20632,7 +20632,7 @@ func (c *OrganizationsEnvgroupsAttachmentsGetCall) Header() http.Header { func (c *OrganizationsEnvgroupsAttachmentsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -20794,7 +20794,7 @@ func (c *OrganizationsEnvgroupsAttachmentsListCall) Header() http.Header { func (c *OrganizationsEnvgroupsAttachmentsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -20972,7 +20972,7 @@ func (c *OrganizationsEnvironmentsCreateCall) Header() http.Header { func (c *OrganizationsEnvironmentsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21115,7 +21115,7 @@ func (c *OrganizationsEnvironmentsDeleteCall) Header() http.Header { func (c *OrganizationsEnvironmentsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21256,7 +21256,7 @@ func (c *OrganizationsEnvironmentsGetCall) Header() http.Header { func (c *OrganizationsEnvironmentsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21401,7 +21401,7 @@ func (c *OrganizationsEnvironmentsGetDebugmaskCall) Header() http.Header { func (c *OrganizationsEnvironmentsGetDebugmaskCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21546,7 +21546,7 @@ func (c *OrganizationsEnvironmentsGetDeployedConfigCall) Header() http.Header { func (c *OrganizationsEnvironmentsGetDeployedConfigCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21710,7 +21710,7 @@ func (c *OrganizationsEnvironmentsGetIamPolicyCall) Header() http.Header { func (c *OrganizationsEnvironmentsGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21856,7 +21856,7 @@ func (c *OrganizationsEnvironmentsSetIamPolicyCall) Header() http.Header { func (c *OrganizationsEnvironmentsSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21996,7 +21996,7 @@ func (c *OrganizationsEnvironmentsSubscribeCall) Header() http.Header { func (c *OrganizationsEnvironmentsSubscribeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -22131,7 +22131,7 @@ func (c *OrganizationsEnvironmentsTestIamPermissionsCall) Header() http.Header { func (c *OrganizationsEnvironmentsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -22273,7 +22273,7 @@ func (c *OrganizationsEnvironmentsUnsubscribeCall) Header() http.Header { func (c *OrganizationsEnvironmentsUnsubscribeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -22417,7 +22417,7 @@ func (c *OrganizationsEnvironmentsUpdateCall) Header() http.Header { func (c *OrganizationsEnvironmentsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -22575,7 +22575,7 @@ func (c *OrganizationsEnvironmentsUpdateDebugmaskCall) Header() http.Header { func (c *OrganizationsEnvironmentsUpdateDebugmaskCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -22730,7 +22730,7 @@ func (c *OrganizationsEnvironmentsUpdateEnvironmentCall) Header() http.Header { func (c *OrganizationsEnvironmentsUpdateEnvironmentCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -22890,7 +22890,7 @@ func (c *OrganizationsEnvironmentsAnalyticsAdminGetSchemav2Call) Header() http.H func (c *OrganizationsEnvironmentsAnalyticsAdminGetSchemav2Call) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -23033,7 +23033,7 @@ func (c *OrganizationsEnvironmentsAnalyticsExportsCreateCall) Header() http.Head func (c *OrganizationsEnvironmentsAnalyticsExportsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -23186,7 +23186,7 @@ func (c *OrganizationsEnvironmentsAnalyticsExportsGetCall) Header() http.Header func (c *OrganizationsEnvironmentsAnalyticsExportsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -23331,7 +23331,7 @@ func (c *OrganizationsEnvironmentsAnalyticsExportsListCall) Header() http.Header func (c *OrganizationsEnvironmentsAnalyticsExportsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -23476,7 +23476,7 @@ func (c *OrganizationsEnvironmentsApisDeploymentsListCall) Header() http.Header func (c *OrganizationsEnvironmentsApisDeploymentsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -23652,7 +23652,7 @@ func (c *OrganizationsEnvironmentsApisRevisionsDeployCall) Header() http.Header func (c *OrganizationsEnvironmentsApisRevisionsDeployCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -23804,7 +23804,7 @@ func (c *OrganizationsEnvironmentsApisRevisionsGetDeploymentsCall) Header() http func (c *OrganizationsEnvironmentsApisRevisionsGetDeploymentsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -23960,7 +23960,7 @@ func (c *OrganizationsEnvironmentsApisRevisionsUndeployCall) Header() http.Heade func (c *OrganizationsEnvironmentsApisRevisionsUndeployCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -24105,7 +24105,7 @@ func (c *OrganizationsEnvironmentsApisRevisionsDebugsessionsCreateCall) Header() func (c *OrganizationsEnvironmentsApisRevisionsDebugsessionsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -24251,7 +24251,7 @@ func (c *OrganizationsEnvironmentsApisRevisionsDebugsessionsDeleteDataCall) Head func (c *OrganizationsEnvironmentsApisRevisionsDebugsessionsDeleteDataCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -24392,7 +24392,7 @@ func (c *OrganizationsEnvironmentsApisRevisionsDebugsessionsGetCall) Header() ht func (c *OrganizationsEnvironmentsApisRevisionsDebugsessionsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -24552,7 +24552,7 @@ func (c *OrganizationsEnvironmentsApisRevisionsDebugsessionsListCall) Header() h func (c *OrganizationsEnvironmentsApisRevisionsDebugsessionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -24730,7 +24730,7 @@ func (c *OrganizationsEnvironmentsApisRevisionsDebugsessionsDataGetCall) Header( func (c *OrganizationsEnvironmentsApisRevisionsDebugsessionsDataGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -24886,7 +24886,7 @@ func (c *OrganizationsEnvironmentsApisRevisionsDeploymentsGenerateDeployChangeRe func (c *OrganizationsEnvironmentsApisRevisionsDeploymentsGenerateDeployChangeReportCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -25037,7 +25037,7 @@ func (c *OrganizationsEnvironmentsApisRevisionsDeploymentsGenerateUndeployChange func (c *OrganizationsEnvironmentsApisRevisionsDeploymentsGenerateUndeployChangeReportCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -25169,7 +25169,7 @@ func (c *OrganizationsEnvironmentsCachesDeleteCall) Header() http.Header { func (c *OrganizationsEnvironmentsCachesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -25320,7 +25320,7 @@ func (c *OrganizationsEnvironmentsDeploymentsListCall) Header() http.Header { func (c *OrganizationsEnvironmentsDeploymentsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -25462,7 +25462,7 @@ func (c *OrganizationsEnvironmentsFlowhooksAttachSharedFlowToFlowHookCall) Heade func (c *OrganizationsEnvironmentsFlowhooksAttachSharedFlowToFlowHookCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -25601,7 +25601,7 @@ func (c *OrganizationsEnvironmentsFlowhooksDetachSharedFlowFromFlowHookCall) Hea func (c *OrganizationsEnvironmentsFlowhooksDetachSharedFlowFromFlowHookCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -25745,7 +25745,7 @@ func (c *OrganizationsEnvironmentsFlowhooksGetCall) Header() http.Header { func (c *OrganizationsEnvironmentsFlowhooksGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -25891,7 +25891,7 @@ func (c *OrganizationsEnvironmentsKeystoresCreateCall) Header() http.Header { func (c *OrganizationsEnvironmentsKeystoresCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -26034,7 +26034,7 @@ func (c *OrganizationsEnvironmentsKeystoresDeleteCall) Header() http.Header { func (c *OrganizationsEnvironmentsKeystoresDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -26175,7 +26175,7 @@ func (c *OrganizationsEnvironmentsKeystoresGetCall) Header() http.Header { func (c *OrganizationsEnvironmentsKeystoresGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -26366,7 +26366,7 @@ func (c *OrganizationsEnvironmentsKeystoresAliasesCreateCall) Header() http.Head func (c *OrganizationsEnvironmentsKeystoresAliasesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -26541,7 +26541,7 @@ func (c *OrganizationsEnvironmentsKeystoresAliasesCsrCall) Header() http.Header func (c *OrganizationsEnvironmentsKeystoresAliasesCsrCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -26674,7 +26674,7 @@ func (c *OrganizationsEnvironmentsKeystoresAliasesDeleteCall) Header() http.Head func (c *OrganizationsEnvironmentsKeystoresAliasesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -26815,7 +26815,7 @@ func (c *OrganizationsEnvironmentsKeystoresAliasesGetCall) Header() http.Header func (c *OrganizationsEnvironmentsKeystoresAliasesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -26960,7 +26960,7 @@ func (c *OrganizationsEnvironmentsKeystoresAliasesGetCertificateCall) Header() h func (c *OrganizationsEnvironmentsKeystoresAliasesGetCertificateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -27112,7 +27112,7 @@ func (c *OrganizationsEnvironmentsKeystoresAliasesUpdateCall) Header() http.Head func (c *OrganizationsEnvironmentsKeystoresAliasesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -27262,7 +27262,7 @@ func (c *OrganizationsEnvironmentsKeyvaluemapsCreateCall) Header() http.Header { func (c *OrganizationsEnvironmentsKeyvaluemapsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -27400,7 +27400,7 @@ func (c *OrganizationsEnvironmentsKeyvaluemapsDeleteCall) Header() http.Header { func (c *OrganizationsEnvironmentsKeyvaluemapsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -27660,7 +27660,7 @@ func (c *OrganizationsEnvironmentsOptimizedStatsGetCall) Header() http.Header { func (c *OrganizationsEnvironmentsOptimizedStatsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -27874,7 +27874,7 @@ func (c *OrganizationsEnvironmentsQueriesCreateCall) Header() http.Header { func (c *OrganizationsEnvironmentsQueriesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -28025,7 +28025,7 @@ func (c *OrganizationsEnvironmentsQueriesGetCall) Header() http.Header { func (c *OrganizationsEnvironmentsQueriesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -28173,7 +28173,7 @@ func (c *OrganizationsEnvironmentsQueriesGetResultCall) Header() http.Header { func (c *OrganizationsEnvironmentsQueriesGetResultCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -28362,7 +28362,7 @@ func (c *OrganizationsEnvironmentsQueriesListCall) Header() http.Header { func (c *OrganizationsEnvironmentsQueriesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -28529,7 +28529,7 @@ func (c *OrganizationsEnvironmentsReferencesCreateCall) Header() http.Header { func (c *OrganizationsEnvironmentsReferencesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -28668,7 +28668,7 @@ func (c *OrganizationsEnvironmentsReferencesDeleteCall) Header() http.Header { func (c *OrganizationsEnvironmentsReferencesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -28809,7 +28809,7 @@ func (c *OrganizationsEnvironmentsReferencesGetCall) Header() http.Header { func (c *OrganizationsEnvironmentsReferencesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -28946,7 +28946,7 @@ func (c *OrganizationsEnvironmentsReferencesUpdateCall) Header() http.Header { func (c *OrganizationsEnvironmentsReferencesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -29105,7 +29105,7 @@ func (c *OrganizationsEnvironmentsResourcefilesCreateCall) Header() http.Header func (c *OrganizationsEnvironmentsResourcefilesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -29260,7 +29260,7 @@ func (c *OrganizationsEnvironmentsResourcefilesDeleteCall) Header() http.Header func (c *OrganizationsEnvironmentsResourcefilesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -29424,7 +29424,7 @@ func (c *OrganizationsEnvironmentsResourcefilesGetCall) Header() http.Header { func (c *OrganizationsEnvironmentsResourcefilesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -29594,7 +29594,7 @@ func (c *OrganizationsEnvironmentsResourcefilesListCall) Header() http.Header { func (c *OrganizationsEnvironmentsResourcefilesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -29751,7 +29751,7 @@ func (c *OrganizationsEnvironmentsResourcefilesListEnvironmentResourcesCall) Hea func (c *OrganizationsEnvironmentsResourcefilesListEnvironmentResourcesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -29904,7 +29904,7 @@ func (c *OrganizationsEnvironmentsResourcefilesUpdateCall) Header() http.Header func (c *OrganizationsEnvironmentsResourcefilesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -30069,7 +30069,7 @@ func (c *OrganizationsEnvironmentsSharedflowsDeploymentsListCall) Header() http. func (c *OrganizationsEnvironmentsSharedflowsDeploymentsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -30227,7 +30227,7 @@ func (c *OrganizationsEnvironmentsSharedflowsRevisionsDeployCall) Header() http. func (c *OrganizationsEnvironmentsSharedflowsRevisionsDeployCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -30374,7 +30374,7 @@ func (c *OrganizationsEnvironmentsSharedflowsRevisionsGetDeploymentsCall) Header func (c *OrganizationsEnvironmentsSharedflowsRevisionsGetDeploymentsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -30514,7 +30514,7 @@ func (c *OrganizationsEnvironmentsSharedflowsRevisionsUndeployCall) Header() htt func (c *OrganizationsEnvironmentsSharedflowsRevisionsUndeployCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -30775,7 +30775,7 @@ func (c *OrganizationsEnvironmentsStatsGetCall) Header() http.Header { func (c *OrganizationsEnvironmentsStatsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -30992,7 +30992,7 @@ func (c *OrganizationsEnvironmentsTargetserversCreateCall) Header() http.Header func (c *OrganizationsEnvironmentsTargetserversCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -31136,7 +31136,7 @@ func (c *OrganizationsEnvironmentsTargetserversDeleteCall) Header() http.Header func (c *OrganizationsEnvironmentsTargetserversDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -31277,7 +31277,7 @@ func (c *OrganizationsEnvironmentsTargetserversGetCall) Header() http.Header { func (c *OrganizationsEnvironmentsTargetserversGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -31414,7 +31414,7 @@ func (c *OrganizationsEnvironmentsTargetserversUpdateCall) Header() http.Header func (c *OrganizationsEnvironmentsTargetserversUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -31558,7 +31558,7 @@ func (c *OrganizationsHostQueriesCreateCall) Header() http.Header { func (c *OrganizationsHostQueriesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -31709,7 +31709,7 @@ func (c *OrganizationsHostQueriesGetCall) Header() http.Header { func (c *OrganizationsHostQueriesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -31857,7 +31857,7 @@ func (c *OrganizationsHostQueriesGetResultCall) Header() http.Header { func (c *OrganizationsHostQueriesGetResultCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -32001,7 +32001,7 @@ func (c *OrganizationsHostQueriesGetResultViewCall) Header() http.Header { func (c *OrganizationsHostQueriesGetResultViewCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -32198,7 +32198,7 @@ func (c *OrganizationsHostQueriesListCall) Header() http.Header { func (c *OrganizationsHostQueriesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -32489,7 +32489,7 @@ func (c *OrganizationsHostStatsGetCall) Header() http.Header { func (c *OrganizationsHostStatsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -32696,7 +32696,7 @@ func (c *OrganizationsInstancesCreateCall) Header() http.Header { func (c *OrganizationsInstancesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -32836,7 +32836,7 @@ func (c *OrganizationsInstancesDeleteCall) Header() http.Header { func (c *OrganizationsInstancesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -32978,7 +32978,7 @@ func (c *OrganizationsInstancesGetCall) Header() http.Header { func (c *OrganizationsInstancesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -33138,7 +33138,7 @@ func (c *OrganizationsInstancesListCall) Header() http.Header { func (c *OrganizationsInstancesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -33307,7 +33307,7 @@ func (c *OrganizationsInstancesReportStatusCall) Header() http.Header { func (c *OrganizationsInstancesReportStatusCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -33450,7 +33450,7 @@ func (c *OrganizationsInstancesAttachmentsCreateCall) Header() http.Header { func (c *OrganizationsInstancesAttachmentsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -33589,7 +33589,7 @@ func (c *OrganizationsInstancesAttachmentsDeleteCall) Header() http.Header { func (c *OrganizationsInstancesAttachmentsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -33730,7 +33730,7 @@ func (c *OrganizationsInstancesAttachmentsGetCall) Header() http.Header { func (c *OrganizationsInstancesAttachmentsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -33891,7 +33891,7 @@ func (c *OrganizationsInstancesAttachmentsListCall) Header() http.Header { func (c *OrganizationsInstancesAttachmentsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -34060,7 +34060,7 @@ func (c *OrganizationsInstancesCanaryevaluationsCreateCall) Header() http.Header func (c *OrganizationsInstancesCanaryevaluationsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -34209,7 +34209,7 @@ func (c *OrganizationsInstancesCanaryevaluationsGetCall) Header() http.Header { func (c *OrganizationsInstancesCanaryevaluationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -34347,7 +34347,7 @@ func (c *OrganizationsInstancesNatAddressesActivateCall) Header() http.Header { func (c *OrganizationsInstancesNatAddressesActivateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -34492,7 +34492,7 @@ func (c *OrganizationsInstancesNatAddressesCreateCall) Header() http.Header { func (c *OrganizationsInstancesNatAddressesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -34632,7 +34632,7 @@ func (c *OrganizationsInstancesNatAddressesDeleteCall) Header() http.Header { func (c *OrganizationsInstancesNatAddressesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -34774,7 +34774,7 @@ func (c *OrganizationsInstancesNatAddressesGetCall) Header() http.Header { func (c *OrganizationsInstancesNatAddressesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -34934,7 +34934,7 @@ func (c *OrganizationsInstancesNatAddressesListCall) Header() http.Header { func (c *OrganizationsInstancesNatAddressesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -35103,7 +35103,7 @@ func (c *OrganizationsKeyvaluemapsCreateCall) Header() http.Header { func (c *OrganizationsKeyvaluemapsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -35241,7 +35241,7 @@ func (c *OrganizationsKeyvaluemapsDeleteCall) Header() http.Header { func (c *OrganizationsKeyvaluemapsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -35384,7 +35384,7 @@ func (c *OrganizationsOperationsGetCall) Header() http.Header { func (c *OrganizationsOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -35558,7 +35558,7 @@ func (c *OrganizationsOperationsListCall) Header() http.Header { func (c *OrganizationsOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -35846,7 +35846,7 @@ func (c *OrganizationsOptimizedHostStatsGetCall) Header() http.Header { func (c *OrganizationsOptimizedHostStatsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -36059,7 +36059,7 @@ func (c *OrganizationsReportsCreateCall) Header() http.Header { func (c *OrganizationsReportsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -36197,7 +36197,7 @@ func (c *OrganizationsReportsDeleteCall) Header() http.Header { func (c *OrganizationsReportsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -36340,7 +36340,7 @@ func (c *OrganizationsReportsGetCall) Header() http.Header { func (c *OrganizationsReportsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -36491,7 +36491,7 @@ func (c *OrganizationsReportsListCall) Header() http.Header { func (c *OrganizationsReportsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -36633,7 +36633,7 @@ func (c *OrganizationsReportsUpdateCall) Header() http.Header { func (c *OrganizationsReportsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -36792,7 +36792,7 @@ func (c *OrganizationsSharedflowsCreateCall) Header() http.Header { func (c *OrganizationsSharedflowsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -36942,7 +36942,7 @@ func (c *OrganizationsSharedflowsDeleteCall) Header() http.Header { func (c *OrganizationsSharedflowsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -37083,7 +37083,7 @@ func (c *OrganizationsSharedflowsGetCall) Header() http.Header { func (c *OrganizationsSharedflowsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -37241,7 +37241,7 @@ func (c *OrganizationsSharedflowsListCall) Header() http.Header { func (c *OrganizationsSharedflowsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -37397,7 +37397,7 @@ func (c *OrganizationsSharedflowsDeploymentsListCall) Header() http.Header { func (c *OrganizationsSharedflowsDeploymentsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -37533,7 +37533,7 @@ func (c *OrganizationsSharedflowsRevisionsDeleteCall) Header() http.Header { func (c *OrganizationsSharedflowsRevisionsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -37685,7 +37685,7 @@ func (c *OrganizationsSharedflowsRevisionsGetCall) Header() http.Header { func (c *OrganizationsSharedflowsRevisionsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -37839,7 +37839,7 @@ func (c *OrganizationsSharedflowsRevisionsUpdateSharedFlowRevisionCall) Header() func (c *OrganizationsSharedflowsRevisionsUpdateSharedFlowRevisionCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -37994,7 +37994,7 @@ func (c *OrganizationsSharedflowsRevisionsDeploymentsListCall) Header() http.Hea func (c *OrganizationsSharedflowsRevisionsDeploymentsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -38131,7 +38131,7 @@ func (c *OrganizationsSitesApicategoriesCreateCall) Header() http.Header { func (c *OrganizationsSitesApicategoriesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -38269,7 +38269,7 @@ func (c *OrganizationsSitesApicategoriesDeleteCall) Header() http.Header { func (c *OrganizationsSitesApicategoriesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -38411,7 +38411,7 @@ func (c *OrganizationsSitesApicategoriesGetCall) Header() http.Header { func (c *OrganizationsSitesApicategoriesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -38555,7 +38555,7 @@ func (c *OrganizationsSitesApicategoriesListCall) Header() http.Header { func (c *OrganizationsSitesApicategoriesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -38692,7 +38692,7 @@ func (c *OrganizationsSitesApicategoriesPatchCall) Header() http.Header { func (c *OrganizationsSitesApicategoriesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -38834,7 +38834,7 @@ func (c *ProjectsProvisionOrganizationCall) Header() http.Header { func (c *ProjectsProvisionOrganizationCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/appengine/v1/appengine-gen.go b/appengine/v1/appengine-gen.go index fa5521ef162..61fa4d5d093 100644 --- a/appengine/v1/appengine-gen.go +++ b/appengine/v1/appengine-gen.go @@ -3788,7 +3788,7 @@ func (c *AppsCreateCall) Header() http.Header { func (c *AppsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3924,7 +3924,7 @@ func (c *AppsGetCall) Header() http.Header { func (c *AppsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4070,7 +4070,7 @@ func (c *AppsPatchCall) Header() http.Header { func (c *AppsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4223,7 +4223,7 @@ func (c *AppsRepairCall) Header() http.Header { func (c *AppsRepairCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4362,7 +4362,7 @@ func (c *AppsAuthorizedCertificatesCreateCall) Header() http.Header { func (c *AppsAuthorizedCertificatesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4501,7 +4501,7 @@ func (c *AppsAuthorizedCertificatesDeleteCall) Header() http.Header { func (c *AppsAuthorizedCertificatesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4665,7 +4665,7 @@ func (c *AppsAuthorizedCertificatesGetCall) Header() http.Header { func (c *AppsAuthorizedCertificatesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4860,7 +4860,7 @@ func (c *AppsAuthorizedCertificatesListCall) Header() http.Header { func (c *AppsAuthorizedCertificatesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5056,7 +5056,7 @@ func (c *AppsAuthorizedCertificatesPatchCall) Header() http.Header { func (c *AppsAuthorizedCertificatesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5232,7 +5232,7 @@ func (c *AppsAuthorizedDomainsListCall) Header() http.Header { func (c *AppsAuthorizedDomainsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5423,7 +5423,7 @@ func (c *AppsDomainMappingsCreateCall) Header() http.Header { func (c *AppsDomainMappingsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5579,7 +5579,7 @@ func (c *AppsDomainMappingsDeleteCall) Header() http.Header { func (c *AppsDomainMappingsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5729,7 +5729,7 @@ func (c *AppsDomainMappingsGetCall) Header() http.Header { func (c *AppsDomainMappingsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5896,7 +5896,7 @@ func (c *AppsDomainMappingsListCall) Header() http.Header { func (c *AppsDomainMappingsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6077,7 +6077,7 @@ func (c *AppsDomainMappingsPatchCall) Header() http.Header { func (c *AppsDomainMappingsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6234,7 +6234,7 @@ func (c *AppsFirewallIngressRulesBatchUpdateCall) Header() http.Header { func (c *AppsFirewallIngressRulesBatchUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6373,7 +6373,7 @@ func (c *AppsFirewallIngressRulesCreateCall) Header() http.Header { func (c *AppsFirewallIngressRulesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6512,7 +6512,7 @@ func (c *AppsFirewallIngressRulesDeleteCall) Header() http.Header { func (c *AppsFirewallIngressRulesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6662,7 +6662,7 @@ func (c *AppsFirewallIngressRulesGetCall) Header() http.Header { func (c *AppsFirewallIngressRulesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6838,7 +6838,7 @@ func (c *AppsFirewallIngressRulesListCall) Header() http.Header { func (c *AppsFirewallIngressRulesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7020,7 +7020,7 @@ func (c *AppsFirewallIngressRulesPatchCall) Header() http.Header { func (c *AppsFirewallIngressRulesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7184,7 +7184,7 @@ func (c *AppsLocationsGetCall) Header() http.Header { func (c *AppsLocationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7359,7 +7359,7 @@ func (c *AppsLocationsListCall) Header() http.Header { func (c *AppsLocationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7545,7 +7545,7 @@ func (c *AppsOperationsGetCall) Header() http.Header { func (c *AppsOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7728,7 +7728,7 @@ func (c *AppsOperationsListCall) Header() http.Header { func (c *AppsOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7901,7 +7901,7 @@ func (c *AppsServicesDeleteCall) Header() http.Header { func (c *AppsServicesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8051,7 +8051,7 @@ func (c *AppsServicesGetCall) Header() http.Header { func (c *AppsServicesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8218,7 +8218,7 @@ func (c *AppsServicesListCall) Header() http.Header { func (c *AppsServicesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8415,7 +8415,7 @@ func (c *AppsServicesPatchCall) Header() http.Header { func (c *AppsServicesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8575,7 +8575,7 @@ func (c *AppsServicesVersionsCreateCall) Header() http.Header { func (c *AppsServicesVersionsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8724,7 +8724,7 @@ func (c *AppsServicesVersionsDeleteCall) Header() http.Header { func (c *AppsServicesVersionsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8900,7 +8900,7 @@ func (c *AppsServicesVersionsGetCall) Header() http.Header { func (c *AppsServicesVersionsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9104,7 +9104,7 @@ func (c *AppsServicesVersionsListCall) Header() http.Header { func (c *AppsServicesVersionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9352,7 +9352,7 @@ func (c *AppsServicesVersionsPatchCall) Header() http.Header { func (c *AppsServicesVersionsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9525,7 +9525,7 @@ func (c *AppsServicesVersionsInstancesDebugCall) Header() http.Header { func (c *AppsServicesVersionsInstancesDebugCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9703,7 +9703,7 @@ func (c *AppsServicesVersionsInstancesDeleteCall) Header() http.Header { func (c *AppsServicesVersionsInstancesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9873,7 +9873,7 @@ func (c *AppsServicesVersionsInstancesGetCall) Header() http.Header { func (c *AppsServicesVersionsInstancesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10063,7 +10063,7 @@ func (c *AppsServicesVersionsInstancesListCall) Header() http.Header { func (c *AppsServicesVersionsInstancesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/appengine/v1alpha/appengine-gen.go b/appengine/v1alpha/appengine-gen.go index 821ec3a9eca..a89aeb0cee4 100644 --- a/appengine/v1alpha/appengine-gen.go +++ b/appengine/v1alpha/appengine-gen.go @@ -1268,7 +1268,7 @@ func (c *AppsAuthorizedCertificatesCreateCall) Header() http.Header { func (c *AppsAuthorizedCertificatesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1407,7 +1407,7 @@ func (c *AppsAuthorizedCertificatesDeleteCall) Header() http.Header { func (c *AppsAuthorizedCertificatesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1571,7 +1571,7 @@ func (c *AppsAuthorizedCertificatesGetCall) Header() http.Header { func (c *AppsAuthorizedCertificatesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1766,7 +1766,7 @@ func (c *AppsAuthorizedCertificatesListCall) Header() http.Header { func (c *AppsAuthorizedCertificatesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1962,7 +1962,7 @@ func (c *AppsAuthorizedCertificatesPatchCall) Header() http.Header { func (c *AppsAuthorizedCertificatesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2138,7 +2138,7 @@ func (c *AppsAuthorizedDomainsListCall) Header() http.Header { func (c *AppsAuthorizedDomainsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2340,7 +2340,7 @@ func (c *AppsDomainMappingsCreateCall) Header() http.Header { func (c *AppsDomainMappingsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2501,7 +2501,7 @@ func (c *AppsDomainMappingsDeleteCall) Header() http.Header { func (c *AppsDomainMappingsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2651,7 +2651,7 @@ func (c *AppsDomainMappingsGetCall) Header() http.Header { func (c *AppsDomainMappingsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2818,7 +2818,7 @@ func (c *AppsDomainMappingsListCall) Header() http.Header { func (c *AppsDomainMappingsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3011,7 +3011,7 @@ func (c *AppsDomainMappingsPatchCall) Header() http.Header { func (c *AppsDomainMappingsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3180,7 +3180,7 @@ func (c *AppsLocationsGetCall) Header() http.Header { func (c *AppsLocationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3355,7 +3355,7 @@ func (c *AppsLocationsListCall) Header() http.Header { func (c *AppsLocationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3541,7 +3541,7 @@ func (c *AppsOperationsGetCall) Header() http.Header { func (c *AppsOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3724,7 +3724,7 @@ func (c *AppsOperationsListCall) Header() http.Header { func (c *AppsOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/appengine/v1beta/appengine-gen.go b/appengine/v1beta/appengine-gen.go index 29a20b6a943..f8a94ed19cf 100644 --- a/appengine/v1beta/appengine-gen.go +++ b/appengine/v1beta/appengine-gen.go @@ -3888,7 +3888,7 @@ func (c *AppsCreateCall) Header() http.Header { func (c *AppsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4024,7 +4024,7 @@ func (c *AppsGetCall) Header() http.Header { func (c *AppsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4170,7 +4170,7 @@ func (c *AppsPatchCall) Header() http.Header { func (c *AppsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4323,7 +4323,7 @@ func (c *AppsRepairCall) Header() http.Header { func (c *AppsRepairCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4462,7 +4462,7 @@ func (c *AppsAuthorizedCertificatesCreateCall) Header() http.Header { func (c *AppsAuthorizedCertificatesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4601,7 +4601,7 @@ func (c *AppsAuthorizedCertificatesDeleteCall) Header() http.Header { func (c *AppsAuthorizedCertificatesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4765,7 +4765,7 @@ func (c *AppsAuthorizedCertificatesGetCall) Header() http.Header { func (c *AppsAuthorizedCertificatesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4960,7 +4960,7 @@ func (c *AppsAuthorizedCertificatesListCall) Header() http.Header { func (c *AppsAuthorizedCertificatesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5156,7 +5156,7 @@ func (c *AppsAuthorizedCertificatesPatchCall) Header() http.Header { func (c *AppsAuthorizedCertificatesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5332,7 +5332,7 @@ func (c *AppsAuthorizedDomainsListCall) Header() http.Header { func (c *AppsAuthorizedDomainsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5523,7 +5523,7 @@ func (c *AppsDomainMappingsCreateCall) Header() http.Header { func (c *AppsDomainMappingsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5679,7 +5679,7 @@ func (c *AppsDomainMappingsDeleteCall) Header() http.Header { func (c *AppsDomainMappingsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5829,7 +5829,7 @@ func (c *AppsDomainMappingsGetCall) Header() http.Header { func (c *AppsDomainMappingsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5996,7 +5996,7 @@ func (c *AppsDomainMappingsListCall) Header() http.Header { func (c *AppsDomainMappingsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6177,7 +6177,7 @@ func (c *AppsDomainMappingsPatchCall) Header() http.Header { func (c *AppsDomainMappingsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6334,7 +6334,7 @@ func (c *AppsFirewallIngressRulesBatchUpdateCall) Header() http.Header { func (c *AppsFirewallIngressRulesBatchUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6473,7 +6473,7 @@ func (c *AppsFirewallIngressRulesCreateCall) Header() http.Header { func (c *AppsFirewallIngressRulesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6612,7 +6612,7 @@ func (c *AppsFirewallIngressRulesDeleteCall) Header() http.Header { func (c *AppsFirewallIngressRulesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6762,7 +6762,7 @@ func (c *AppsFirewallIngressRulesGetCall) Header() http.Header { func (c *AppsFirewallIngressRulesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6938,7 +6938,7 @@ func (c *AppsFirewallIngressRulesListCall) Header() http.Header { func (c *AppsFirewallIngressRulesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7120,7 +7120,7 @@ func (c *AppsFirewallIngressRulesPatchCall) Header() http.Header { func (c *AppsFirewallIngressRulesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7284,7 +7284,7 @@ func (c *AppsLocationsGetCall) Header() http.Header { func (c *AppsLocationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7459,7 +7459,7 @@ func (c *AppsLocationsListCall) Header() http.Header { func (c *AppsLocationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7645,7 +7645,7 @@ func (c *AppsOperationsGetCall) Header() http.Header { func (c *AppsOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7828,7 +7828,7 @@ func (c *AppsOperationsListCall) Header() http.Header { func (c *AppsOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8001,7 +8001,7 @@ func (c *AppsServicesDeleteCall) Header() http.Header { func (c *AppsServicesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8151,7 +8151,7 @@ func (c *AppsServicesGetCall) Header() http.Header { func (c *AppsServicesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8318,7 +8318,7 @@ func (c *AppsServicesListCall) Header() http.Header { func (c *AppsServicesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8516,7 +8516,7 @@ func (c *AppsServicesPatchCall) Header() http.Header { func (c *AppsServicesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8676,7 +8676,7 @@ func (c *AppsServicesVersionsCreateCall) Header() http.Header { func (c *AppsServicesVersionsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8825,7 +8825,7 @@ func (c *AppsServicesVersionsDeleteCall) Header() http.Header { func (c *AppsServicesVersionsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9001,7 +9001,7 @@ func (c *AppsServicesVersionsGetCall) Header() http.Header { func (c *AppsServicesVersionsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9205,7 +9205,7 @@ func (c *AppsServicesVersionsListCall) Header() http.Header { func (c *AppsServicesVersionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9455,7 +9455,7 @@ func (c *AppsServicesVersionsPatchCall) Header() http.Header { func (c *AppsServicesVersionsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9628,7 +9628,7 @@ func (c *AppsServicesVersionsInstancesDebugCall) Header() http.Header { func (c *AppsServicesVersionsInstancesDebugCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9806,7 +9806,7 @@ func (c *AppsServicesVersionsInstancesDeleteCall) Header() http.Header { func (c *AppsServicesVersionsInstancesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9976,7 +9976,7 @@ func (c *AppsServicesVersionsInstancesGetCall) Header() http.Header { func (c *AppsServicesVersionsInstancesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10166,7 +10166,7 @@ func (c *AppsServicesVersionsInstancesListCall) Header() http.Header { func (c *AppsServicesVersionsInstancesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/area120tables/v1alpha1/area120tables-gen.go b/area120tables/v1alpha1/area120tables-gen.go index 22854469864..1b32957438b 100644 --- a/area120tables/v1alpha1/area120tables-gen.go +++ b/area120tables/v1alpha1/area120tables-gen.go @@ -841,7 +841,7 @@ func (c *TablesGetCall) Header() http.Header { func (c *TablesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1006,7 +1006,7 @@ func (c *TablesListCall) Header() http.Header { func (c *TablesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1166,7 +1166,7 @@ func (c *TablesRowsBatchCreateCall) Header() http.Header { func (c *TablesRowsBatchCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1309,7 +1309,7 @@ func (c *TablesRowsBatchUpdateCall) Header() http.Header { func (c *TablesRowsBatchUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1464,7 +1464,7 @@ func (c *TablesRowsCreateCall) Header() http.Header { func (c *TablesRowsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1618,7 +1618,7 @@ func (c *TablesRowsDeleteCall) Header() http.Header { func (c *TablesRowsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1775,7 +1775,7 @@ func (c *TablesRowsGetCall) Header() http.Header { func (c *TablesRowsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1968,7 +1968,7 @@ func (c *TablesRowsListCall) Header() http.Header { func (c *TablesRowsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2172,7 +2172,7 @@ func (c *TablesRowsPatchCall) Header() http.Header { func (c *TablesRowsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2344,7 +2344,7 @@ func (c *WorkspacesGetCall) Header() http.Header { func (c *WorkspacesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2510,7 +2510,7 @@ func (c *WorkspacesListCall) Header() http.Header { func (c *WorkspacesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/artifactregistry/v1/artifactregistry-gen.go b/artifactregistry/v1/artifactregistry-gen.go index 024627af22e..59b7b220d04 100644 --- a/artifactregistry/v1/artifactregistry-gen.go +++ b/artifactregistry/v1/artifactregistry-gen.go @@ -504,7 +504,7 @@ func (c *OperationsCancelCall) Header() http.Header { func (c *OperationsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -645,7 +645,7 @@ func (c *OperationsDeleteCall) Header() http.Header { func (c *OperationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -788,7 +788,7 @@ func (c *OperationsGetCall) Header() http.Header { func (c *OperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -968,7 +968,7 @@ func (c *OperationsListCall) Header() http.Header { func (c *OperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/artifactregistry/v1beta1/artifactregistry-gen.go b/artifactregistry/v1beta1/artifactregistry-gen.go index bbbdb9cf0bd..95dcfcaf9e2 100644 --- a/artifactregistry/v1beta1/artifactregistry-gen.go +++ b/artifactregistry/v1beta1/artifactregistry-gen.go @@ -1464,7 +1464,7 @@ func (c *ProjectsLocationsGetCall) Header() http.Header { func (c *ProjectsLocationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1631,7 +1631,7 @@ func (c *ProjectsLocationsListCall) Header() http.Header { func (c *ProjectsLocationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1815,7 +1815,7 @@ func (c *ProjectsLocationsOperationsGetCall) Header() http.Header { func (c *ProjectsLocationsOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1990,7 +1990,7 @@ func (c *ProjectsLocationsOperationsListCall) Header() http.Header { func (c *ProjectsLocationsOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2172,7 +2172,7 @@ func (c *ProjectsLocationsRepositoriesCreateCall) Header() http.Header { func (c *ProjectsLocationsRepositoriesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2318,7 +2318,7 @@ func (c *ProjectsLocationsRepositoriesDeleteCall) Header() http.Header { func (c *ProjectsLocationsRepositoriesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2459,7 +2459,7 @@ func (c *ProjectsLocationsRepositoriesGetCall) Header() http.Header { func (c *ProjectsLocationsRepositoriesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2619,7 +2619,7 @@ func (c *ProjectsLocationsRepositoriesGetIamPolicyCall) Header() http.Header { func (c *ProjectsLocationsRepositoriesGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2784,7 +2784,7 @@ func (c *ProjectsLocationsRepositoriesListCall) Header() http.Header { func (c *ProjectsLocationsRepositoriesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2960,7 +2960,7 @@ func (c *ProjectsLocationsRepositoriesPatchCall) Header() http.Header { func (c *ProjectsLocationsRepositoriesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3106,7 +3106,7 @@ func (c *ProjectsLocationsRepositoriesSetIamPolicyCall) Header() http.Header { func (c *ProjectsLocationsRepositoriesSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3247,7 +3247,7 @@ func (c *ProjectsLocationsRepositoriesTestIamPermissionsCall) Header() http.Head func (c *ProjectsLocationsRepositoriesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3397,7 +3397,7 @@ func (c *ProjectsLocationsRepositoriesFilesGetCall) Header() http.Header { func (c *ProjectsLocationsRepositoriesFilesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3570,7 +3570,7 @@ func (c *ProjectsLocationsRepositoriesFilesListCall) Header() http.Header { func (c *ProjectsLocationsRepositoriesFilesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3742,7 +3742,7 @@ func (c *ProjectsLocationsRepositoriesPackagesDeleteCall) Header() http.Header { func (c *ProjectsLocationsRepositoriesPackagesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3883,7 +3883,7 @@ func (c *ProjectsLocationsRepositoriesPackagesGetCall) Header() http.Header { func (c *ProjectsLocationsRepositoriesPackagesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4042,7 +4042,7 @@ func (c *ProjectsLocationsRepositoriesPackagesListCall) Header() http.Header { func (c *ProjectsLocationsRepositoriesPackagesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4217,7 +4217,7 @@ func (c *ProjectsLocationsRepositoriesPackagesTagsCreateCall) Header() http.Head func (c *ProjectsLocationsRepositoriesPackagesTagsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4360,7 +4360,7 @@ func (c *ProjectsLocationsRepositoriesPackagesTagsDeleteCall) Header() http.Head func (c *ProjectsLocationsRepositoriesPackagesTagsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4501,7 +4501,7 @@ func (c *ProjectsLocationsRepositoriesPackagesTagsGetCall) Header() http.Header func (c *ProjectsLocationsRepositoriesPackagesTagsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4672,7 +4672,7 @@ func (c *ProjectsLocationsRepositoriesPackagesTagsListCall) Header() http.Header func (c *ProjectsLocationsRepositoriesPackagesTagsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4853,7 +4853,7 @@ func (c *ProjectsLocationsRepositoriesPackagesTagsPatchCall) Header() http.Heade func (c *ProjectsLocationsRepositoriesPackagesTagsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5006,7 +5006,7 @@ func (c *ProjectsLocationsRepositoriesPackagesVersionsDeleteCall) Header() http. func (c *ProjectsLocationsRepositoriesPackagesVersionsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5166,7 +5166,7 @@ func (c *ProjectsLocationsRepositoriesPackagesVersionsGetCall) Header() http.Hea func (c *ProjectsLocationsRepositoriesPackagesVersionsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5361,7 +5361,7 @@ func (c *ProjectsLocationsRepositoriesPackagesVersionsListCall) Header() http.He func (c *ProjectsLocationsRepositoriesPackagesVersionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/artifactregistry/v1beta2/artifactregistry-gen.go b/artifactregistry/v1beta2/artifactregistry-gen.go index 87696a78315..882a63596cf 100644 --- a/artifactregistry/v1beta2/artifactregistry-gen.go +++ b/artifactregistry/v1beta2/artifactregistry-gen.go @@ -1464,7 +1464,7 @@ func (c *ProjectsLocationsGetCall) Header() http.Header { func (c *ProjectsLocationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1631,7 +1631,7 @@ func (c *ProjectsLocationsListCall) Header() http.Header { func (c *ProjectsLocationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1815,7 +1815,7 @@ func (c *ProjectsLocationsOperationsGetCall) Header() http.Header { func (c *ProjectsLocationsOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1990,7 +1990,7 @@ func (c *ProjectsLocationsOperationsListCall) Header() http.Header { func (c *ProjectsLocationsOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2172,7 +2172,7 @@ func (c *ProjectsLocationsRepositoriesCreateCall) Header() http.Header { func (c *ProjectsLocationsRepositoriesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2318,7 +2318,7 @@ func (c *ProjectsLocationsRepositoriesDeleteCall) Header() http.Header { func (c *ProjectsLocationsRepositoriesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2459,7 +2459,7 @@ func (c *ProjectsLocationsRepositoriesGetCall) Header() http.Header { func (c *ProjectsLocationsRepositoriesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2619,7 +2619,7 @@ func (c *ProjectsLocationsRepositoriesGetIamPolicyCall) Header() http.Header { func (c *ProjectsLocationsRepositoriesGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2784,7 +2784,7 @@ func (c *ProjectsLocationsRepositoriesListCall) Header() http.Header { func (c *ProjectsLocationsRepositoriesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2960,7 +2960,7 @@ func (c *ProjectsLocationsRepositoriesPatchCall) Header() http.Header { func (c *ProjectsLocationsRepositoriesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3106,7 +3106,7 @@ func (c *ProjectsLocationsRepositoriesSetIamPolicyCall) Header() http.Header { func (c *ProjectsLocationsRepositoriesSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3247,7 +3247,7 @@ func (c *ProjectsLocationsRepositoriesTestIamPermissionsCall) Header() http.Head func (c *ProjectsLocationsRepositoriesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3397,7 +3397,7 @@ func (c *ProjectsLocationsRepositoriesFilesGetCall) Header() http.Header { func (c *ProjectsLocationsRepositoriesFilesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3570,7 +3570,7 @@ func (c *ProjectsLocationsRepositoriesFilesListCall) Header() http.Header { func (c *ProjectsLocationsRepositoriesFilesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3742,7 +3742,7 @@ func (c *ProjectsLocationsRepositoriesPackagesDeleteCall) Header() http.Header { func (c *ProjectsLocationsRepositoriesPackagesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3883,7 +3883,7 @@ func (c *ProjectsLocationsRepositoriesPackagesGetCall) Header() http.Header { func (c *ProjectsLocationsRepositoriesPackagesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4042,7 +4042,7 @@ func (c *ProjectsLocationsRepositoriesPackagesListCall) Header() http.Header { func (c *ProjectsLocationsRepositoriesPackagesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4217,7 +4217,7 @@ func (c *ProjectsLocationsRepositoriesPackagesTagsCreateCall) Header() http.Head func (c *ProjectsLocationsRepositoriesPackagesTagsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4360,7 +4360,7 @@ func (c *ProjectsLocationsRepositoriesPackagesTagsDeleteCall) Header() http.Head func (c *ProjectsLocationsRepositoriesPackagesTagsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4501,7 +4501,7 @@ func (c *ProjectsLocationsRepositoriesPackagesTagsGetCall) Header() http.Header func (c *ProjectsLocationsRepositoriesPackagesTagsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4672,7 +4672,7 @@ func (c *ProjectsLocationsRepositoriesPackagesTagsListCall) Header() http.Header func (c *ProjectsLocationsRepositoriesPackagesTagsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4853,7 +4853,7 @@ func (c *ProjectsLocationsRepositoriesPackagesTagsPatchCall) Header() http.Heade func (c *ProjectsLocationsRepositoriesPackagesTagsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5006,7 +5006,7 @@ func (c *ProjectsLocationsRepositoriesPackagesVersionsDeleteCall) Header() http. func (c *ProjectsLocationsRepositoriesPackagesVersionsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5166,7 +5166,7 @@ func (c *ProjectsLocationsRepositoriesPackagesVersionsGetCall) Header() http.Hea func (c *ProjectsLocationsRepositoriesPackagesVersionsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5361,7 +5361,7 @@ func (c *ProjectsLocationsRepositoriesPackagesVersionsListCall) Header() http.He func (c *ProjectsLocationsRepositoriesPackagesVersionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/assuredworkloads/v1/assuredworkloads-gen.go b/assuredworkloads/v1/assuredworkloads-gen.go index 84d8c7ea273..2587ad37355 100644 --- a/assuredworkloads/v1/assuredworkloads-gen.go +++ b/assuredworkloads/v1/assuredworkloads-gen.go @@ -995,7 +995,7 @@ func (c *OrganizationsLocationsOperationsGetCall) Header() http.Header { func (c *OrganizationsLocationsOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1169,7 +1169,7 @@ func (c *OrganizationsLocationsOperationsListCall) Header() http.Header { func (c *OrganizationsLocationsOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1352,7 +1352,7 @@ func (c *OrganizationsLocationsWorkloadsCreateCall) Header() http.Header { func (c *OrganizationsLocationsWorkloadsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1504,7 +1504,7 @@ func (c *OrganizationsLocationsWorkloadsDeleteCall) Header() http.Header { func (c *OrganizationsLocationsWorkloadsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1650,7 +1650,7 @@ func (c *OrganizationsLocationsWorkloadsGetCall) Header() http.Header { func (c *OrganizationsLocationsWorkloadsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1818,7 +1818,7 @@ func (c *OrganizationsLocationsWorkloadsListCall) Header() http.Header { func (c *OrganizationsLocationsWorkloadsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2002,7 +2002,7 @@ func (c *OrganizationsLocationsWorkloadsPatchCall) Header() http.Header { func (c *OrganizationsLocationsWorkloadsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/bigquery/v2/bigquery-gen.go b/bigquery/v2/bigquery-gen.go index a119959ace0..6226f447060 100644 --- a/bigquery/v2/bigquery-gen.go +++ b/bigquery/v2/bigquery-gen.go @@ -7696,7 +7696,7 @@ func (c *DatasetsDeleteCall) Header() http.Header { func (c *DatasetsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7823,7 +7823,7 @@ func (c *DatasetsGetCall) Header() http.Header { func (c *DatasetsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7967,7 +7967,7 @@ func (c *DatasetsInsertCall) Header() http.Header { func (c *DatasetsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8147,7 +8147,7 @@ func (c *DatasetsListCall) Header() http.Header { func (c *DatasetsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8330,7 +8330,7 @@ func (c *DatasetsPatchCall) Header() http.Header { func (c *DatasetsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8481,7 +8481,7 @@ func (c *DatasetsUpdateCall) Header() http.Header { func (c *DatasetsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8639,7 +8639,7 @@ func (c *JobsCancelCall) Header() http.Header { func (c *JobsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8804,7 +8804,7 @@ func (c *JobsGetCall) Header() http.Header { func (c *JobsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9003,7 +9003,7 @@ func (c *JobsGetQueryResultsCall) Header() http.Header { func (c *JobsGetQueryResultsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9237,7 +9237,7 @@ func (c *JobsInsertCall) Header() http.Header { func (c *JobsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9504,7 +9504,7 @@ func (c *JobsListCall) Header() http.Header { func (c *JobsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9724,7 +9724,7 @@ func (c *JobsQueryCall) Header() http.Header { func (c *JobsQueryCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9867,7 +9867,7 @@ func (c *ModelsDeleteCall) Header() http.Header { func (c *ModelsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10003,7 +10003,7 @@ func (c *ModelsGetCall) Header() http.Header { func (c *ModelsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10186,7 +10186,7 @@ func (c *ModelsListCall) Header() http.Header { func (c *ModelsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10369,7 +10369,7 @@ func (c *ModelsPatchCall) Header() http.Header { func (c *ModelsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10538,7 +10538,7 @@ func (c *ProjectsGetServiceAccountCall) Header() http.Header { func (c *ProjectsGetServiceAccountCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10696,7 +10696,7 @@ func (c *ProjectsListCall) Header() http.Header { func (c *ProjectsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10854,7 +10854,7 @@ func (c *RoutinesDeleteCall) Header() http.Header { func (c *RoutinesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10998,7 +10998,7 @@ func (c *RoutinesGetCall) Header() http.Header { func (c *RoutinesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11162,7 +11162,7 @@ func (c *RoutinesInsertCall) Header() http.Header { func (c *RoutinesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11359,7 +11359,7 @@ func (c *RoutinesListCall) Header() http.Header { func (c *RoutinesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11554,7 +11554,7 @@ func (c *RoutinesUpdateCall) Header() http.Header { func (c *RoutinesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11741,7 +11741,7 @@ func (c *RowAccessPoliciesListCall) Header() http.Header { func (c *RowAccessPoliciesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11934,7 +11934,7 @@ func (c *TabledataInsertAllCall) Header() http.Header { func (c *TabledataInsertAllCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12133,7 +12133,7 @@ func (c *TabledataListCall) Header() http.Header { func (c *TabledataListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12331,7 +12331,7 @@ func (c *TablesDeleteCall) Header() http.Header { func (c *TablesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12473,7 +12473,7 @@ func (c *TablesGetCall) Header() http.Header { func (c *TablesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12632,7 +12632,7 @@ func (c *TablesGetIamPolicyCall) Header() http.Header { func (c *TablesGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12777,7 +12777,7 @@ func (c *TablesInsertCall) Header() http.Header { func (c *TablesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12950,7 +12950,7 @@ func (c *TablesListCall) Header() http.Header { func (c *TablesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13133,7 +13133,7 @@ func (c *TablesPatchCall) Header() http.Header { func (c *TablesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13290,7 +13290,7 @@ func (c *TablesSetIamPolicyCall) Header() http.Header { func (c *TablesSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13436,7 +13436,7 @@ func (c *TablesTestIamPermissionsCall) Header() http.Header { func (c *TablesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13585,7 +13585,7 @@ func (c *TablesUpdateCall) Header() http.Header { func (c *TablesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/bigqueryconnection/v1beta1/bigqueryconnection-gen.go b/bigqueryconnection/v1beta1/bigqueryconnection-gen.go index 223a157c7f0..4438d283e23 100644 --- a/bigqueryconnection/v1beta1/bigqueryconnection-gen.go +++ b/bigqueryconnection/v1beta1/bigqueryconnection-gen.go @@ -940,7 +940,7 @@ func (c *ProjectsLocationsConnectionsCreateCall) Header() http.Header { func (c *ProjectsLocationsConnectionsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1084,7 +1084,7 @@ func (c *ProjectsLocationsConnectionsDeleteCall) Header() http.Header { func (c *ProjectsLocationsConnectionsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1226,7 +1226,7 @@ func (c *ProjectsLocationsConnectionsGetCall) Header() http.Header { func (c *ProjectsLocationsConnectionsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1364,7 +1364,7 @@ func (c *ProjectsLocationsConnectionsGetIamPolicyCall) Header() http.Header { func (c *ProjectsLocationsConnectionsGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1527,7 +1527,7 @@ func (c *ProjectsLocationsConnectionsListCall) Header() http.Header { func (c *ProjectsLocationsConnectionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1704,7 +1704,7 @@ func (c *ProjectsLocationsConnectionsPatchCall) Header() http.Header { func (c *ProjectsLocationsConnectionsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1853,7 +1853,7 @@ func (c *ProjectsLocationsConnectionsSetIamPolicyCall) Header() http.Header { func (c *ProjectsLocationsConnectionsSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1999,7 +1999,7 @@ func (c *ProjectsLocationsConnectionsTestIamPermissionsCall) Header() http.Heade func (c *ProjectsLocationsConnectionsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2140,7 +2140,7 @@ func (c *ProjectsLocationsConnectionsUpdateCredentialCall) Header() http.Header func (c *ProjectsLocationsConnectionsUpdateCredentialCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/bigquerydatatransfer/v1/bigquerydatatransfer-gen.go b/bigquerydatatransfer/v1/bigquerydatatransfer-gen.go index 0abcd8729e9..fd531db4e7b 100644 --- a/bigquerydatatransfer/v1/bigquerydatatransfer-gen.go +++ b/bigquerydatatransfer/v1/bigquerydatatransfer-gen.go @@ -1411,7 +1411,7 @@ func (c *ProjectsDataSourcesCheckValidCredsCall) Header() http.Header { func (c *ProjectsDataSourcesCheckValidCredsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1564,7 +1564,7 @@ func (c *ProjectsDataSourcesGetCall) Header() http.Header { func (c *ProjectsDataSourcesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1730,7 +1730,7 @@ func (c *ProjectsDataSourcesListCall) Header() http.Header { func (c *ProjectsDataSourcesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1909,7 +1909,7 @@ func (c *ProjectsLocationsGetCall) Header() http.Header { func (c *ProjectsLocationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2078,7 +2078,7 @@ func (c *ProjectsLocationsListCall) Header() http.Header { func (c *ProjectsLocationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2258,7 +2258,7 @@ func (c *ProjectsLocationsDataSourcesCheckValidCredsCall) Header() http.Header { func (c *ProjectsLocationsDataSourcesCheckValidCredsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2411,7 +2411,7 @@ func (c *ProjectsLocationsDataSourcesGetCall) Header() http.Header { func (c *ProjectsLocationsDataSourcesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2577,7 +2577,7 @@ func (c *ProjectsLocationsDataSourcesListCall) Header() http.Header { func (c *ProjectsLocationsDataSourcesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2781,7 +2781,7 @@ func (c *ProjectsLocationsTransferConfigsCreateCall) Header() http.Header { func (c *ProjectsLocationsTransferConfigsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2935,7 +2935,7 @@ func (c *ProjectsLocationsTransferConfigsDeleteCall) Header() http.Header { func (c *ProjectsLocationsTransferConfigsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3077,7 +3077,7 @@ func (c *ProjectsLocationsTransferConfigsGetCall) Header() http.Header { func (c *ProjectsLocationsTransferConfigsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3250,7 +3250,7 @@ func (c *ProjectsLocationsTransferConfigsListCall) Header() http.Header { func (c *ProjectsLocationsTransferConfigsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3469,7 +3469,7 @@ func (c *ProjectsLocationsTransferConfigsPatchCall) Header() http.Header { func (c *ProjectsLocationsTransferConfigsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3634,7 +3634,7 @@ func (c *ProjectsLocationsTransferConfigsScheduleRunsCall) Header() http.Header func (c *ProjectsLocationsTransferConfigsScheduleRunsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3778,7 +3778,7 @@ func (c *ProjectsLocationsTransferConfigsStartManualRunsCall) Header() http.Head func (c *ProjectsLocationsTransferConfigsStartManualRunsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3917,7 +3917,7 @@ func (c *ProjectsLocationsTransferConfigsRunsDeleteCall) Header() http.Header { func (c *ProjectsLocationsTransferConfigsRunsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4059,7 +4059,7 @@ func (c *ProjectsLocationsTransferConfigsRunsGetCall) Header() http.Header { func (c *ProjectsLocationsTransferConfigsRunsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4251,7 +4251,7 @@ func (c *ProjectsLocationsTransferConfigsRunsListCall) Header() http.Header { func (c *ProjectsLocationsTransferConfigsRunsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4497,7 +4497,7 @@ func (c *ProjectsLocationsTransferConfigsRunsTransferLogsListCall) Header() http func (c *ProjectsLocationsTransferConfigsRunsTransferLogsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4719,7 +4719,7 @@ func (c *ProjectsTransferConfigsCreateCall) Header() http.Header { func (c *ProjectsTransferConfigsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4873,7 +4873,7 @@ func (c *ProjectsTransferConfigsDeleteCall) Header() http.Header { func (c *ProjectsTransferConfigsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5015,7 +5015,7 @@ func (c *ProjectsTransferConfigsGetCall) Header() http.Header { func (c *ProjectsTransferConfigsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5188,7 +5188,7 @@ func (c *ProjectsTransferConfigsListCall) Header() http.Header { func (c *ProjectsTransferConfigsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5407,7 +5407,7 @@ func (c *ProjectsTransferConfigsPatchCall) Header() http.Header { func (c *ProjectsTransferConfigsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5572,7 +5572,7 @@ func (c *ProjectsTransferConfigsScheduleRunsCall) Header() http.Header { func (c *ProjectsTransferConfigsScheduleRunsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5716,7 +5716,7 @@ func (c *ProjectsTransferConfigsStartManualRunsCall) Header() http.Header { func (c *ProjectsTransferConfigsStartManualRunsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5855,7 +5855,7 @@ func (c *ProjectsTransferConfigsRunsDeleteCall) Header() http.Header { func (c *ProjectsTransferConfigsRunsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5997,7 +5997,7 @@ func (c *ProjectsTransferConfigsRunsGetCall) Header() http.Header { func (c *ProjectsTransferConfigsRunsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6189,7 +6189,7 @@ func (c *ProjectsTransferConfigsRunsListCall) Header() http.Header { func (c *ProjectsTransferConfigsRunsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6435,7 +6435,7 @@ func (c *ProjectsTransferConfigsRunsTransferLogsListCall) Header() http.Header { func (c *ProjectsTransferConfigsRunsTransferLogsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/bigqueryreservation/v1/bigqueryreservation-gen.go b/bigqueryreservation/v1/bigqueryreservation-gen.go index b56ce7ea49d..708281c7596 100644 --- a/bigqueryreservation/v1/bigqueryreservation-gen.go +++ b/bigqueryreservation/v1/bigqueryreservation-gen.go @@ -1036,7 +1036,7 @@ func (c *OperationsDeleteCall) Header() http.Header { func (c *OperationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1208,7 +1208,7 @@ func (c *OperationsListCall) Header() http.Header { func (c *OperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1390,7 +1390,7 @@ func (c *ProjectsLocationsGetBiReservationCall) Header() http.Header { func (c *ProjectsLocationsGetBiReservationCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1570,7 +1570,7 @@ func (c *ProjectsLocationsSearchAllAssignmentsCall) Header() http.Header { func (c *ProjectsLocationsSearchAllAssignmentsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1788,7 +1788,7 @@ func (c *ProjectsLocationsSearchAssignmentsCall) Header() http.Header { func (c *ProjectsLocationsSearchAssignmentsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1972,7 +1972,7 @@ func (c *ProjectsLocationsUpdateBiReservationCall) Header() http.Header { func (c *ProjectsLocationsUpdateBiReservationCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2127,7 +2127,7 @@ func (c *ProjectsLocationsCapacityCommitmentsCreateCall) Header() http.Header { func (c *ProjectsLocationsCapacityCommitmentsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2273,7 +2273,7 @@ func (c *ProjectsLocationsCapacityCommitmentsDeleteCall) Header() http.Header { func (c *ProjectsLocationsCapacityCommitmentsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2415,7 +2415,7 @@ func (c *ProjectsLocationsCapacityCommitmentsGetCall) Header() http.Header { func (c *ProjectsLocationsCapacityCommitmentsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2574,7 +2574,7 @@ func (c *ProjectsLocationsCapacityCommitmentsListCall) Header() http.Header { func (c *ProjectsLocationsCapacityCommitmentsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2746,7 +2746,7 @@ func (c *ProjectsLocationsCapacityCommitmentsMergeCall) Header() http.Header { func (c *ProjectsLocationsCapacityCommitmentsMergeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2898,7 +2898,7 @@ func (c *ProjectsLocationsCapacityCommitmentsPatchCall) Header() http.Header { func (c *ProjectsLocationsCapacityCommitmentsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3050,7 +3050,7 @@ func (c *ProjectsLocationsCapacityCommitmentsSplitCall) Header() http.Header { func (c *ProjectsLocationsCapacityCommitmentsSplitCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3199,7 +3199,7 @@ func (c *ProjectsLocationsReservationsCreateCall) Header() http.Header { func (c *ProjectsLocationsReservationsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3345,7 +3345,7 @@ func (c *ProjectsLocationsReservationsDeleteCall) Header() http.Header { func (c *ProjectsLocationsReservationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3487,7 +3487,7 @@ func (c *ProjectsLocationsReservationsGetCall) Header() http.Header { func (c *ProjectsLocationsReservationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3647,7 +3647,7 @@ func (c *ProjectsLocationsReservationsListCall) Header() http.Header { func (c *ProjectsLocationsReservationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3822,7 +3822,7 @@ func (c *ProjectsLocationsReservationsPatchCall) Header() http.Header { func (c *ProjectsLocationsReservationsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3987,7 +3987,7 @@ func (c *ProjectsLocationsReservationsAssignmentsCreateCall) Header() http.Heade func (c *ProjectsLocationsReservationsAssignmentsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4134,7 +4134,7 @@ func (c *ProjectsLocationsReservationsAssignmentsDeleteCall) Header() http.Heade func (c *ProjectsLocationsReservationsAssignmentsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4300,7 +4300,7 @@ func (c *ProjectsLocationsReservationsAssignmentsListCall) Header() http.Header func (c *ProjectsLocationsReservationsAssignmentsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4471,7 +4471,7 @@ func (c *ProjectsLocationsReservationsAssignmentsMoveCall) Header() http.Header func (c *ProjectsLocationsReservationsAssignmentsMoveCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/bigqueryreservation/v1beta1/bigqueryreservation-gen.go b/bigqueryreservation/v1beta1/bigqueryreservation-gen.go index e3330c62ecb..7827c2b5f08 100644 --- a/bigqueryreservation/v1beta1/bigqueryreservation-gen.go +++ b/bigqueryreservation/v1beta1/bigqueryreservation-gen.go @@ -900,7 +900,7 @@ func (c *ProjectsLocationsGetBiReservationCall) Header() http.Header { func (c *ProjectsLocationsGetBiReservationCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1081,7 +1081,7 @@ func (c *ProjectsLocationsSearchAssignmentsCall) Header() http.Header { func (c *ProjectsLocationsSearchAssignmentsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1265,7 +1265,7 @@ func (c *ProjectsLocationsUpdateBiReservationCall) Header() http.Header { func (c *ProjectsLocationsUpdateBiReservationCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1420,7 +1420,7 @@ func (c *ProjectsLocationsCapacityCommitmentsCreateCall) Header() http.Header { func (c *ProjectsLocationsCapacityCommitmentsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1566,7 +1566,7 @@ func (c *ProjectsLocationsCapacityCommitmentsDeleteCall) Header() http.Header { func (c *ProjectsLocationsCapacityCommitmentsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1708,7 +1708,7 @@ func (c *ProjectsLocationsCapacityCommitmentsGetCall) Header() http.Header { func (c *ProjectsLocationsCapacityCommitmentsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1867,7 +1867,7 @@ func (c *ProjectsLocationsCapacityCommitmentsListCall) Header() http.Header { func (c *ProjectsLocationsCapacityCommitmentsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2039,7 +2039,7 @@ func (c *ProjectsLocationsCapacityCommitmentsMergeCall) Header() http.Header { func (c *ProjectsLocationsCapacityCommitmentsMergeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2191,7 +2191,7 @@ func (c *ProjectsLocationsCapacityCommitmentsPatchCall) Header() http.Header { func (c *ProjectsLocationsCapacityCommitmentsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2343,7 +2343,7 @@ func (c *ProjectsLocationsCapacityCommitmentsSplitCall) Header() http.Header { func (c *ProjectsLocationsCapacityCommitmentsSplitCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2492,7 +2492,7 @@ func (c *ProjectsLocationsReservationsCreateCall) Header() http.Header { func (c *ProjectsLocationsReservationsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2638,7 +2638,7 @@ func (c *ProjectsLocationsReservationsDeleteCall) Header() http.Header { func (c *ProjectsLocationsReservationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2780,7 +2780,7 @@ func (c *ProjectsLocationsReservationsGetCall) Header() http.Header { func (c *ProjectsLocationsReservationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2950,7 +2950,7 @@ func (c *ProjectsLocationsReservationsListCall) Header() http.Header { func (c *ProjectsLocationsReservationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3130,7 +3130,7 @@ func (c *ProjectsLocationsReservationsPatchCall) Header() http.Header { func (c *ProjectsLocationsReservationsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3295,7 +3295,7 @@ func (c *ProjectsLocationsReservationsAssignmentsCreateCall) Header() http.Heade func (c *ProjectsLocationsReservationsAssignmentsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3442,7 +3442,7 @@ func (c *ProjectsLocationsReservationsAssignmentsDeleteCall) Header() http.Heade func (c *ProjectsLocationsReservationsAssignmentsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3608,7 +3608,7 @@ func (c *ProjectsLocationsReservationsAssignmentsListCall) Header() http.Header func (c *ProjectsLocationsReservationsAssignmentsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3779,7 +3779,7 @@ func (c *ProjectsLocationsReservationsAssignmentsMoveCall) Header() http.Header func (c *ProjectsLocationsReservationsAssignmentsMoveCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/bigtableadmin/v2/bigtableadmin-gen.go b/bigtableadmin/v2/bigtableadmin-gen.go index c3fef2c262b..f83bf3d1ff8 100644 --- a/bigtableadmin/v2/bigtableadmin-gen.go +++ b/bigtableadmin/v2/bigtableadmin-gen.go @@ -2813,7 +2813,7 @@ func (c *OperationsCancelCall) Header() http.Header { func (c *OperationsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2951,7 +2951,7 @@ func (c *OperationsDeleteCall) Header() http.Header { func (c *OperationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3099,7 +3099,7 @@ func (c *OperationsGetCall) Header() http.Header { func (c *OperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3279,7 +3279,7 @@ func (c *OperationsProjectsOperationsListCall) Header() http.Header { func (c *OperationsProjectsOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3457,7 +3457,7 @@ func (c *ProjectsInstancesCreateCall) Header() http.Header { func (c *ProjectsInstancesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3600,7 +3600,7 @@ func (c *ProjectsInstancesDeleteCall) Header() http.Header { func (c *ProjectsInstancesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3746,7 +3746,7 @@ func (c *ProjectsInstancesGetCall) Header() http.Header { func (c *ProjectsInstancesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3889,7 +3889,7 @@ func (c *ProjectsInstancesGetIamPolicyCall) Header() http.Header { func (c *ProjectsInstancesGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4050,7 +4050,7 @@ func (c *ProjectsInstancesListCall) Header() http.Header { func (c *ProjectsInstancesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4227,7 +4227,7 @@ func (c *ProjectsInstancesPartialUpdateInstanceCall) Header() http.Header { func (c *ProjectsInstancesPartialUpdateInstanceCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4379,7 +4379,7 @@ func (c *ProjectsInstancesSetIamPolicyCall) Header() http.Header { func (c *ProjectsInstancesSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4525,7 +4525,7 @@ func (c *ProjectsInstancesTestIamPermissionsCall) Header() http.Header { func (c *ProjectsInstancesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4672,7 +4672,7 @@ func (c *ProjectsInstancesUpdateCall) Header() http.Header { func (c *ProjectsInstancesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4833,7 +4833,7 @@ func (c *ProjectsInstancesAppProfilesCreateCall) Header() http.Header { func (c *ProjectsInstancesAppProfilesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4994,7 +4994,7 @@ func (c *ProjectsInstancesAppProfilesDeleteCall) Header() http.Header { func (c *ProjectsInstancesAppProfilesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5145,7 +5145,7 @@ func (c *ProjectsInstancesAppProfilesGetCall) Header() http.Header { func (c *ProjectsInstancesAppProfilesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5314,7 +5314,7 @@ func (c *ProjectsInstancesAppProfilesListCall) Header() http.Header { func (c *ProjectsInstancesAppProfilesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5501,7 +5501,7 @@ func (c *ProjectsInstancesAppProfilesPatchCall) Header() http.Header { func (c *ProjectsInstancesAppProfilesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5666,7 +5666,7 @@ func (c *ProjectsInstancesClustersCreateCall) Header() http.Header { func (c *ProjectsInstancesClustersCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5814,7 +5814,7 @@ func (c *ProjectsInstancesClustersDeleteCall) Header() http.Header { func (c *ProjectsInstancesClustersDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5960,7 +5960,7 @@ func (c *ProjectsInstancesClustersGetCall) Header() http.Header { func (c *ProjectsInstancesClustersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6117,7 +6117,7 @@ func (c *ProjectsInstancesClustersListCall) Header() http.Header { func (c *ProjectsInstancesClustersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6284,7 +6284,7 @@ func (c *ProjectsInstancesClustersUpdateCall) Header() http.Header { func (c *ProjectsInstancesClustersUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6445,7 +6445,7 @@ func (c *ProjectsInstancesClustersBackupsCreateCall) Header() http.Header { func (c *ProjectsInstancesClustersBackupsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6592,7 +6592,7 @@ func (c *ProjectsInstancesClustersBackupsDeleteCall) Header() http.Header { func (c *ProjectsInstancesClustersBackupsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6737,7 +6737,7 @@ func (c *ProjectsInstancesClustersBackupsGetCall) Header() http.Header { func (c *ProjectsInstancesClustersBackupsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6878,7 +6878,7 @@ func (c *ProjectsInstancesClustersBackupsGetIamPolicyCall) Header() http.Header func (c *ProjectsInstancesClustersBackupsGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7093,7 +7093,7 @@ func (c *ProjectsInstancesClustersBackupsListCall) Header() http.Header { func (c *ProjectsInstancesClustersBackupsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7285,7 +7285,7 @@ func (c *ProjectsInstancesClustersBackupsPatchCall) Header() http.Header { func (c *ProjectsInstancesClustersBackupsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7436,7 +7436,7 @@ func (c *ProjectsInstancesClustersBackupsSetIamPolicyCall) Header() http.Header func (c *ProjectsInstancesClustersBackupsSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7581,7 +7581,7 @@ func (c *ProjectsInstancesClustersBackupsTestIamPermissionsCall) Header() http.H func (c *ProjectsInstancesClustersBackupsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7727,7 +7727,7 @@ func (c *ProjectsInstancesTablesCheckConsistencyCall) Header() http.Header { func (c *ProjectsInstancesTablesCheckConsistencyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7873,7 +7873,7 @@ func (c *ProjectsInstancesTablesCreateCall) Header() http.Header { func (c *ProjectsInstancesTablesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8015,7 +8015,7 @@ func (c *ProjectsInstancesTablesDeleteCall) Header() http.Header { func (c *ProjectsInstancesTablesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8153,7 +8153,7 @@ func (c *ProjectsInstancesTablesDropRowRangeCall) Header() http.Header { func (c *ProjectsInstancesTablesDropRowRangeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8300,7 +8300,7 @@ func (c *ProjectsInstancesTablesGenerateConsistencyTokenCall) Header() http.Head func (c *ProjectsInstancesTablesGenerateConsistencyTokenCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8471,7 +8471,7 @@ func (c *ProjectsInstancesTablesGetCall) Header() http.Header { func (c *ProjectsInstancesTablesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8632,7 +8632,7 @@ func (c *ProjectsInstancesTablesGetIamPolicyCall) Header() http.Header { func (c *ProjectsInstancesTablesGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8822,7 +8822,7 @@ func (c *ProjectsInstancesTablesListCall) Header() http.Header { func (c *ProjectsInstancesTablesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9017,7 +9017,7 @@ func (c *ProjectsInstancesTablesModifyColumnFamiliesCall) Header() http.Header { func (c *ProjectsInstancesTablesModifyColumnFamiliesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9166,7 +9166,7 @@ func (c *ProjectsInstancesTablesRestoreCall) Header() http.Header { func (c *ProjectsInstancesTablesRestoreCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9311,7 +9311,7 @@ func (c *ProjectsInstancesTablesSetIamPolicyCall) Header() http.Header { func (c *ProjectsInstancesTablesSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9456,7 +9456,7 @@ func (c *ProjectsInstancesTablesTestIamPermissionsCall) Header() http.Header { func (c *ProjectsInstancesTablesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9609,7 +9609,7 @@ func (c *ProjectsLocationsGetCall) Header() http.Header { func (c *ProjectsLocationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9781,7 +9781,7 @@ func (c *ProjectsLocationsListCall) Header() http.Header { func (c *ProjectsLocationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/billingbudgets/v1/billingbudgets-gen.go b/billingbudgets/v1/billingbudgets-gen.go index f68cb8903d8..e1cec65b824 100644 --- a/billingbudgets/v1/billingbudgets-gen.go +++ b/billingbudgets/v1/billingbudgets-gen.go @@ -615,7 +615,7 @@ func (c *BillingAccountsBudgetsCreateCall) Header() http.Header { func (c *BillingAccountsBudgetsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -755,7 +755,7 @@ func (c *BillingAccountsBudgetsDeleteCall) Header() http.Header { func (c *BillingAccountsBudgetsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -900,7 +900,7 @@ func (c *BillingAccountsBudgetsGetCall) Header() http.Header { func (c *BillingAccountsBudgetsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1066,7 +1066,7 @@ func (c *BillingAccountsBudgetsListCall) Header() http.Header { func (c *BillingAccountsBudgetsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1250,7 +1250,7 @@ func (c *BillingAccountsBudgetsPatchCall) Header() http.Header { func (c *BillingAccountsBudgetsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/billingbudgets/v1beta1/billingbudgets-gen.go b/billingbudgets/v1beta1/billingbudgets-gen.go index 3e1f64863cf..0f848f7709f 100644 --- a/billingbudgets/v1beta1/billingbudgets-gen.go +++ b/billingbudgets/v1beta1/billingbudgets-gen.go @@ -681,7 +681,7 @@ func (c *BillingAccountsBudgetsCreateCall) Header() http.Header { func (c *BillingAccountsBudgetsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -821,7 +821,7 @@ func (c *BillingAccountsBudgetsDeleteCall) Header() http.Header { func (c *BillingAccountsBudgetsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -966,7 +966,7 @@ func (c *BillingAccountsBudgetsGetCall) Header() http.Header { func (c *BillingAccountsBudgetsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1132,7 +1132,7 @@ func (c *BillingAccountsBudgetsListCall) Header() http.Header { func (c *BillingAccountsBudgetsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1305,7 +1305,7 @@ func (c *BillingAccountsBudgetsPatchCall) Header() http.Header { func (c *BillingAccountsBudgetsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/binaryauthorization/v1/binaryauthorization-gen.go b/binaryauthorization/v1/binaryauthorization-gen.go index 5711f56096e..d17b6fc2794 100644 --- a/binaryauthorization/v1/binaryauthorization-gen.go +++ b/binaryauthorization/v1/binaryauthorization-gen.go @@ -1234,7 +1234,7 @@ func (c *ProjectsGetPolicyCall) Header() http.Header { func (c *ProjectsGetPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1373,7 +1373,7 @@ func (c *ProjectsUpdatePolicyCall) Header() http.Header { func (c *ProjectsUpdatePolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1523,7 +1523,7 @@ func (c *ProjectsAttestorsCreateCall) Header() http.Header { func (c *ProjectsAttestorsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1667,7 +1667,7 @@ func (c *ProjectsAttestorsDeleteCall) Header() http.Header { func (c *ProjectsAttestorsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1809,7 +1809,7 @@ func (c *ProjectsAttestorsGetCall) Header() http.Header { func (c *ProjectsAttestorsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1970,7 +1970,7 @@ func (c *ProjectsAttestorsGetIamPolicyCall) Header() http.Header { func (c *ProjectsAttestorsGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2138,7 +2138,7 @@ func (c *ProjectsAttestorsListCall) Header() http.Header { func (c *ProjectsAttestorsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2307,7 +2307,7 @@ func (c *ProjectsAttestorsSetIamPolicyCall) Header() http.Header { func (c *ProjectsAttestorsSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2452,7 +2452,7 @@ func (c *ProjectsAttestorsTestIamPermissionsCall) Header() http.Header { func (c *ProjectsAttestorsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2593,7 +2593,7 @@ func (c *ProjectsAttestorsUpdateCall) Header() http.Header { func (c *ProjectsAttestorsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2734,7 +2734,7 @@ func (c *ProjectsAttestorsValidateAttestationOccurrenceCall) Header() http.Heade func (c *ProjectsAttestorsValidateAttestationOccurrenceCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2901,7 +2901,7 @@ func (c *ProjectsPolicyGetIamPolicyCall) Header() http.Header { func (c *ProjectsPolicyGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3044,7 +3044,7 @@ func (c *ProjectsPolicySetIamPolicyCall) Header() http.Header { func (c *ProjectsPolicySetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3189,7 +3189,7 @@ func (c *ProjectsPolicyTestIamPermissionsCall) Header() http.Header { func (c *ProjectsPolicyTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/binaryauthorization/v1beta1/binaryauthorization-gen.go b/binaryauthorization/v1beta1/binaryauthorization-gen.go index c7a4b3754d8..543bd25c5b3 100644 --- a/binaryauthorization/v1beta1/binaryauthorization-gen.go +++ b/binaryauthorization/v1beta1/binaryauthorization-gen.go @@ -1236,7 +1236,7 @@ func (c *ProjectsGetPolicyCall) Header() http.Header { func (c *ProjectsGetPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1375,7 +1375,7 @@ func (c *ProjectsUpdatePolicyCall) Header() http.Header { func (c *ProjectsUpdatePolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1525,7 +1525,7 @@ func (c *ProjectsAttestorsCreateCall) Header() http.Header { func (c *ProjectsAttestorsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1669,7 +1669,7 @@ func (c *ProjectsAttestorsDeleteCall) Header() http.Header { func (c *ProjectsAttestorsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1811,7 +1811,7 @@ func (c *ProjectsAttestorsGetCall) Header() http.Header { func (c *ProjectsAttestorsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1972,7 +1972,7 @@ func (c *ProjectsAttestorsGetIamPolicyCall) Header() http.Header { func (c *ProjectsAttestorsGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2140,7 +2140,7 @@ func (c *ProjectsAttestorsListCall) Header() http.Header { func (c *ProjectsAttestorsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2309,7 +2309,7 @@ func (c *ProjectsAttestorsSetIamPolicyCall) Header() http.Header { func (c *ProjectsAttestorsSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2454,7 +2454,7 @@ func (c *ProjectsAttestorsTestIamPermissionsCall) Header() http.Header { func (c *ProjectsAttestorsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2595,7 +2595,7 @@ func (c *ProjectsAttestorsUpdateCall) Header() http.Header { func (c *ProjectsAttestorsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2736,7 +2736,7 @@ func (c *ProjectsAttestorsValidateAttestationOccurrenceCall) Header() http.Heade func (c *ProjectsAttestorsValidateAttestationOccurrenceCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2903,7 +2903,7 @@ func (c *ProjectsPolicyGetIamPolicyCall) Header() http.Header { func (c *ProjectsPolicyGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3046,7 +3046,7 @@ func (c *ProjectsPolicySetIamPolicyCall) Header() http.Header { func (c *ProjectsPolicySetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3191,7 +3191,7 @@ func (c *ProjectsPolicyTestIamPermissionsCall) Header() http.Header { func (c *ProjectsPolicyTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/blogger/v2/blogger-gen.go b/blogger/v2/blogger-gen.go index fe07984f3f3..8c1db2f668d 100644 --- a/blogger/v2/blogger-gen.go +++ b/blogger/v2/blogger-gen.go @@ -1471,7 +1471,7 @@ func (c *BlogsGetCall) Header() http.Header { func (c *BlogsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1613,7 +1613,7 @@ func (c *BlogsListCall) Header() http.Header { func (c *BlogsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1759,7 +1759,7 @@ func (c *CommentsGetCall) Header() http.Header { func (c *CommentsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1941,7 +1941,7 @@ func (c *CommentsListCall) Header() http.Header { func (c *CommentsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2130,7 +2130,7 @@ func (c *PagesGetCall) Header() http.Header { func (c *PagesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2285,7 +2285,7 @@ func (c *PagesListCall) Header() http.Header { func (c *PagesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2433,7 +2433,7 @@ func (c *PostsGetCall) Header() http.Header { func (c *PostsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2606,7 +2606,7 @@ func (c *PostsListCall) Header() http.Header { func (c *PostsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2786,7 +2786,7 @@ func (c *UsersGetCall) Header() http.Header { func (c *UsersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/blogger/v3/blogger-gen.go b/blogger/v3/blogger-gen.go index 83362cc6e1f..fe3b8e4cccb 100644 --- a/blogger/v3/blogger-gen.go +++ b/blogger/v3/blogger-gen.go @@ -1714,7 +1714,7 @@ func (c *BlogUserInfosGetCall) Header() http.Header { func (c *BlogUserInfosGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1887,7 +1887,7 @@ func (c *BlogsGetCall) Header() http.Header { func (c *BlogsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2062,7 +2062,7 @@ func (c *BlogsGetByUrlCall) Header() http.Header { func (c *BlogsGetByUrlCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2259,7 +2259,7 @@ func (c *BlogsListByUserCall) Header() http.Header { func (c *BlogsListByUserCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2447,7 +2447,7 @@ func (c *CommentsApproveCall) Header() http.Header { func (c *CommentsApproveCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2593,7 +2593,7 @@ func (c *CommentsDeleteCall) Header() http.Header { func (c *CommentsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2734,7 +2734,7 @@ func (c *CommentsGetCall) Header() http.Header { func (c *CommentsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2963,7 +2963,7 @@ func (c *CommentsListCall) Header() http.Header { func (c *CommentsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3229,7 +3229,7 @@ func (c *CommentsListByBlogCall) Header() http.Header { func (c *CommentsListByBlogCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3425,7 +3425,7 @@ func (c *CommentsMarkAsSpamCall) Header() http.Header { func (c *CommentsMarkAsSpamCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3572,7 +3572,7 @@ func (c *CommentsRemoveContentCall) Header() http.Header { func (c *CommentsRemoveContentCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3736,7 +3736,7 @@ func (c *PageViewsGetCall) Header() http.Header { func (c *PageViewsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3884,7 +3884,7 @@ func (c *PagesDeleteCall) Header() http.Header { func (c *PagesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4016,7 +4016,7 @@ func (c *PagesGetCall) Header() http.Header { func (c *PagesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4179,7 +4179,7 @@ func (c *PagesInsertCall) Header() http.Header { func (c *PagesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4370,7 +4370,7 @@ func (c *PagesListCall) Header() http.Header { func (c *PagesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4581,7 +4581,7 @@ func (c *PagesPatchCall) Header() http.Header { func (c *PagesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4734,7 +4734,7 @@ func (c *PagesPublishCall) Header() http.Header { func (c *PagesPublishCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4871,7 +4871,7 @@ func (c *PagesRevertCall) Header() http.Header { func (c *PagesRevertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5022,7 +5022,7 @@ func (c *PagesUpdateCall) Header() http.Header { func (c *PagesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5194,7 +5194,7 @@ func (c *PostUserInfosGetCall) Header() http.Header { func (c *PostUserInfosGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5428,7 +5428,7 @@ func (c *PostUserInfosListCall) Header() http.Header { func (c *PostUserInfosListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5662,7 +5662,7 @@ func (c *PostsDeleteCall) Header() http.Header { func (c *PostsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5812,7 +5812,7 @@ func (c *PostsGetCall) Header() http.Header { func (c *PostsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6011,7 +6011,7 @@ func (c *PostsGetByPathCall) Header() http.Header { func (c *PostsGetByPathCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6190,7 +6190,7 @@ func (c *PostsInsertCall) Header() http.Header { func (c *PostsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6426,7 +6426,7 @@ func (c *PostsListCall) Header() http.Header { func (c *PostsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6689,7 +6689,7 @@ func (c *PostsPatchCall) Header() http.Header { func (c *PostsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6862,7 +6862,7 @@ func (c *PostsPublishCall) Header() http.Header { func (c *PostsPublishCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7003,7 +7003,7 @@ func (c *PostsRevertCall) Header() http.Header { func (c *PostsRevertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7168,7 +7168,7 @@ func (c *PostsSearchCall) Header() http.Header { func (c *PostsSearchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7360,7 +7360,7 @@ func (c *PostsUpdateCall) Header() http.Header { func (c *PostsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7536,7 +7536,7 @@ func (c *UsersGetCall) Header() http.Header { func (c *UsersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/books/v1/books-gen.go b/books/v1/books-gen.go index 042dcc660d9..9f6b068f7fd 100644 --- a/books/v1/books-gen.go +++ b/books/v1/books-gen.go @@ -4973,7 +4973,7 @@ func (c *BookshelvesGetCall) Header() http.Header { func (c *BookshelvesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5136,7 +5136,7 @@ func (c *BookshelvesListCall) Header() http.Header { func (c *BookshelvesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5315,7 +5315,7 @@ func (c *BookshelvesVolumesListCall) Header() http.Header { func (c *BookshelvesVolumesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5505,7 +5505,7 @@ func (c *CloudloadingAddBookCall) Header() http.Header { func (c *CloudloadingAddBookCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5642,7 +5642,7 @@ func (c *CloudloadingDeleteBookCall) Header() http.Header { func (c *CloudloadingDeleteBookCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5768,7 +5768,7 @@ func (c *CloudloadingUpdateBookCall) Header() http.Header { func (c *CloudloadingUpdateBookCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5904,7 +5904,7 @@ func (c *DictionaryListOfflineMetadataCall) Header() http.Header { func (c *DictionaryListOfflineMetadataCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6050,7 +6050,7 @@ func (c *FamilysharingGetFamilyInfoCall) Header() http.Header { func (c *FamilysharingGetFamilyInfoCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6194,7 +6194,7 @@ func (c *FamilysharingShareCall) Header() http.Header { func (c *FamilysharingShareCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6346,7 +6346,7 @@ func (c *FamilysharingUnshareCall) Header() http.Header { func (c *FamilysharingUnshareCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6506,7 +6506,7 @@ func (c *LayersGetCall) Header() http.Header { func (c *LayersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6695,7 +6695,7 @@ func (c *LayersListCall) Header() http.Header { func (c *LayersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6910,7 +6910,7 @@ func (c *LayersAnnotationDataGetCall) Header() http.Header { func (c *LayersAnnotationDataGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7187,7 +7187,7 @@ func (c *LayersAnnotationDataListCall) Header() http.Header { func (c *LayersAnnotationDataListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7443,7 +7443,7 @@ func (c *LayersVolumeAnnotationsGetCall) Header() http.Header { func (c *LayersVolumeAnnotationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7704,7 +7704,7 @@ func (c *LayersVolumeAnnotationsListCall) Header() http.Header { func (c *LayersVolumeAnnotationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7951,7 +7951,7 @@ func (c *MyconfigGetUserSettingsCall) Header() http.Header { func (c *MyconfigGetUserSettingsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8091,7 +8091,7 @@ func (c *MyconfigReleaseDownloadAccessCall) Header() http.Header { func (c *MyconfigReleaseDownloadAccessCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8257,7 +8257,7 @@ func (c *MyconfigRequestAccessCall) Header() http.Header { func (c *MyconfigRequestAccessCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8468,7 +8468,7 @@ func (c *MyconfigSyncVolumeLicensesCall) Header() http.Header { func (c *MyconfigSyncVolumeLicensesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8645,7 +8645,7 @@ func (c *MyconfigUpdateUserSettingsCall) Header() http.Header { func (c *MyconfigUpdateUserSettingsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8777,7 +8777,7 @@ func (c *MylibraryAnnotationsDeleteCall) Header() http.Header { func (c *MylibraryAnnotationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8940,7 +8940,7 @@ func (c *MylibraryAnnotationsInsertCall) Header() http.Header { func (c *MylibraryAnnotationsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9168,7 +9168,7 @@ func (c *MylibraryAnnotationsListCall) Header() http.Header { func (c *MylibraryAnnotationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9364,7 +9364,7 @@ func (c *MylibraryAnnotationsSummaryCall) Header() http.Header { func (c *MylibraryAnnotationsSummaryCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9507,7 +9507,7 @@ func (c *MylibraryAnnotationsUpdateCall) Header() http.Header { func (c *MylibraryAnnotationsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9670,7 +9670,7 @@ func (c *MylibraryBookshelvesAddVolumeCall) Header() http.Header { func (c *MylibraryBookshelvesAddVolumeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9835,7 +9835,7 @@ func (c *MylibraryBookshelvesClearVolumesCall) Header() http.Header { func (c *MylibraryBookshelvesClearVolumesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9988,7 +9988,7 @@ func (c *MylibraryBookshelvesGetCall) Header() http.Header { func (c *MylibraryBookshelvesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10142,7 +10142,7 @@ func (c *MylibraryBookshelvesListCall) Header() http.Header { func (c *MylibraryBookshelvesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10277,7 +10277,7 @@ func (c *MylibraryBookshelvesMoveVolumeCall) Header() http.Header { func (c *MylibraryBookshelvesMoveVolumeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10445,7 +10445,7 @@ func (c *MylibraryBookshelvesRemoveVolumeCall) Header() http.Header { func (c *MylibraryBookshelvesRemoveVolumeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10664,7 +10664,7 @@ func (c *MylibraryBookshelvesVolumesListCall) Header() http.Header { func (c *MylibraryBookshelvesVolumesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10870,7 +10870,7 @@ func (c *MylibraryReadingpositionsGetCall) Header() http.Header { func (c *MylibraryReadingpositionsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11051,7 +11051,7 @@ func (c *MylibraryReadingpositionsSetPositionCall) Header() http.Header { func (c *MylibraryReadingpositionsSetPositionCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11257,7 +11257,7 @@ func (c *NotificationGetCall) Header() http.Header { func (c *NotificationGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11412,7 +11412,7 @@ func (c *OnboardingListCategoriesCall) Header() http.Header { func (c *OnboardingListCategoriesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11590,7 +11590,7 @@ func (c *OnboardingListCategoryVolumesCall) Header() http.Header { func (c *OnboardingListCategoryVolumesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11807,7 +11807,7 @@ func (c *PersonalizedstreamGetCall) Header() http.Header { func (c *PersonalizedstreamGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12001,7 +12001,7 @@ func (c *PromoofferAcceptCall) Header() http.Header { func (c *PromoofferAcceptCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12199,7 +12199,7 @@ func (c *PromoofferDismissCall) Header() http.Header { func (c *PromoofferDismissCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12398,7 +12398,7 @@ func (c *PromoofferGetCall) Header() http.Header { func (c *PromoofferGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12559,7 +12559,7 @@ func (c *SeriesGetCall) Header() http.Header { func (c *SeriesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12713,7 +12713,7 @@ func (c *SeriesMembershipGetCall) Header() http.Header { func (c *SeriesMembershipGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12912,7 +12912,7 @@ func (c *VolumesGetCall) Header() http.Header { func (c *VolumesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13222,7 +13222,7 @@ func (c *VolumesListCall) Header() http.Header { func (c *VolumesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13550,7 +13550,7 @@ func (c *VolumesAssociatedListCall) Header() http.Header { func (c *VolumesAssociatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13801,7 +13801,7 @@ func (c *VolumesMybooksListCall) Header() http.Header { func (c *VolumesMybooksListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14036,7 +14036,7 @@ func (c *VolumesRecommendedListCall) Header() http.Header { func (c *VolumesRecommendedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14197,7 +14197,7 @@ func (c *VolumesRecommendedRateCall) Header() http.Header { func (c *VolumesRecommendedRateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14410,7 +14410,7 @@ func (c *VolumesUseruploadedListCall) Header() http.Header { func (c *VolumesUseruploadedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/calendar/v3/calendar-gen.go b/calendar/v3/calendar-gen.go index 53bf1a8537b..96ebea71b2b 100644 --- a/calendar/v3/calendar-gen.go +++ b/calendar/v3/calendar-gen.go @@ -2424,7 +2424,7 @@ func (c *AclDeleteCall) Header() http.Header { func (c *AclDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2545,7 +2545,7 @@ func (c *AclGetCall) Header() http.Header { func (c *AclGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2695,7 +2695,7 @@ func (c *AclInsertCall) Header() http.Header { func (c *AclInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2887,7 +2887,7 @@ func (c *AclListCall) Header() http.Header { func (c *AclListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3076,7 +3076,7 @@ func (c *AclPatchCall) Header() http.Header { func (c *AclPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3238,7 +3238,7 @@ func (c *AclUpdateCall) Header() http.Header { func (c *AclUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3429,7 +3429,7 @@ func (c *AclWatchCall) Header() http.Header { func (c *AclWatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3589,7 +3589,7 @@ func (c *CalendarListDeleteCall) Header() http.Header { func (c *CalendarListDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3700,7 +3700,7 @@ func (c *CalendarListGetCall) Header() http.Header { func (c *CalendarListGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3842,7 +3842,7 @@ func (c *CalendarListInsertCall) Header() http.Header { func (c *CalendarListInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4045,7 +4045,7 @@ func (c *CalendarListListCall) Header() http.Header { func (c *CalendarListListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4244,7 +4244,7 @@ func (c *CalendarListPatchCall) Header() http.Header { func (c *CalendarListPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4397,7 +4397,7 @@ func (c *CalendarListUpdateCall) Header() http.Header { func (c *CalendarListUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4603,7 +4603,7 @@ func (c *CalendarListWatchCall) Header() http.Header { func (c *CalendarListWatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4775,7 +4775,7 @@ func (c *CalendarsClearCall) Header() http.Header { func (c *CalendarsClearCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4876,7 +4876,7 @@ func (c *CalendarsDeleteCall) Header() http.Header { func (c *CalendarsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4987,7 +4987,7 @@ func (c *CalendarsGetCall) Header() http.Header { func (c *CalendarsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5119,7 +5119,7 @@ func (c *CalendarsInsertCall) Header() http.Header { func (c *CalendarsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5244,7 +5244,7 @@ func (c *CalendarsPatchCall) Header() http.Header { func (c *CalendarsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5382,7 +5382,7 @@ func (c *CalendarsUpdateCall) Header() http.Header { func (c *CalendarsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5518,7 +5518,7 @@ func (c *ChannelsStopCall) Header() http.Header { func (c *ChannelsStopCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5626,7 +5626,7 @@ func (c *ColorsGetCall) Header() http.Header { func (c *ColorsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5772,7 +5772,7 @@ func (c *EventsDeleteCall) Header() http.Header { func (c *EventsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5940,7 +5940,7 @@ func (c *EventsGetCall) Header() http.Header { func (c *EventsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6122,7 +6122,7 @@ func (c *EventsImportCall) Header() http.Header { func (c *EventsImportCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6330,7 +6330,7 @@ func (c *EventsInsertCall) Header() http.Header { func (c *EventsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6595,7 +6595,7 @@ func (c *EventsInstancesCall) Header() http.Header { func (c *EventsInstancesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7003,7 +7003,7 @@ func (c *EventsListCall) Header() http.Header { func (c *EventsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7293,7 +7293,7 @@ func (c *EventsMoveCall) Header() http.Header { func (c *EventsMoveCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7527,7 +7527,7 @@ func (c *EventsPatchCall) Header() http.Header { func (c *EventsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7744,7 +7744,7 @@ func (c *EventsQuickAddCall) Header() http.Header { func (c *EventsQuickAddCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7970,7 +7970,7 @@ func (c *EventsUpdateCall) Header() http.Header { func (c *EventsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8344,7 +8344,7 @@ func (c *EventsWatchCall) Header() http.Header { func (c *EventsWatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8588,7 +8588,7 @@ func (c *FreebusyQueryCall) Header() http.Header { func (c *FreebusyQueryCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8722,7 +8722,7 @@ func (c *SettingsGetCall) Header() http.Header { func (c *SettingsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8893,7 +8893,7 @@ func (c *SettingsListCall) Header() http.Header { func (c *SettingsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9082,7 +9082,7 @@ func (c *SettingsWatchCall) Header() http.Header { func (c *SettingsWatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/chat/v1/chat-gen.go b/chat/v1/chat-gen.go index 17e21d8ccc2..3f986b2b98c 100644 --- a/chat/v1/chat-gen.go +++ b/chat/v1/chat-gen.go @@ -1689,7 +1689,7 @@ func (c *DmsMessagesCall) Header() http.Header { func (c *DmsMessagesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1846,7 +1846,7 @@ func (c *DmsWebhooksCall) Header() http.Header { func (c *DmsWebhooksCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2003,7 +2003,7 @@ func (c *DmsConversationsMessagesCall) Header() http.Header { func (c *DmsConversationsMessagesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2155,7 +2155,7 @@ func (c *MediaDownloadCall) Header() http.Header { func (c *MediaDownloadCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2319,7 +2319,7 @@ func (c *RoomsMessagesCall) Header() http.Header { func (c *RoomsMessagesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2476,7 +2476,7 @@ func (c *RoomsWebhooksCall) Header() http.Header { func (c *RoomsWebhooksCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2633,7 +2633,7 @@ func (c *RoomsConversationsMessagesCall) Header() http.Header { func (c *RoomsConversationsMessagesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2784,7 +2784,7 @@ func (c *SpacesGetCall) Header() http.Header { func (c *SpacesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2938,7 +2938,7 @@ func (c *SpacesListCall) Header() http.Header { func (c *SpacesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3105,7 +3105,7 @@ func (c *SpacesWebhooksCall) Header() http.Header { func (c *SpacesWebhooksCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3256,7 +3256,7 @@ func (c *SpacesMembersGetCall) Header() http.Header { func (c *SpacesMembersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3412,7 +3412,7 @@ func (c *SpacesMembersListCall) Header() http.Header { func (c *SpacesMembersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3590,7 +3590,7 @@ func (c *SpacesMessagesCreateCall) Header() http.Header { func (c *SpacesMessagesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3730,7 +3730,7 @@ func (c *SpacesMessagesDeleteCall) Header() http.Header { func (c *SpacesMessagesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3868,7 +3868,7 @@ func (c *SpacesMessagesGetCall) Header() http.Header { func (c *SpacesMessagesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4008,7 +4008,7 @@ func (c *SpacesMessagesUpdateCall) Header() http.Header { func (c *SpacesMessagesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4161,7 +4161,7 @@ func (c *SpacesMessagesAttachmentsGetCall) Header() http.Header { func (c *SpacesMessagesAttachmentsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/chromeuxreport/v1/chromeuxreport-gen.go b/chromeuxreport/v1/chromeuxreport-gen.go index 8f19c417336..a833d5cfe27 100644 --- a/chromeuxreport/v1/chromeuxreport-gen.go +++ b/chromeuxreport/v1/chromeuxreport-gen.go @@ -552,7 +552,7 @@ func (c *RecordsQueryRecordCall) Header() http.Header { func (c *RecordsQueryRecordCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/civicinfo/v2/civicinfo-gen.go b/civicinfo/v2/civicinfo-gen.go index fae106be19f..f646abebecf 100644 --- a/civicinfo/v2/civicinfo-gen.go +++ b/civicinfo/v2/civicinfo-gen.go @@ -1355,7 +1355,7 @@ func (c *DivisionsSearchCall) Header() http.Header { func (c *DivisionsSearchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1487,7 +1487,7 @@ func (c *ElectionsElectionQueryCall) Header() http.Header { func (c *ElectionsElectionQueryCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1643,7 +1643,7 @@ func (c *ElectionsVoterInfoQueryCall) Header() http.Header { func (c *ElectionsVoterInfoQueryCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1855,7 +1855,7 @@ func (c *RepresentativesRepresentativeInfoByAddressCall) Header() http.Header { func (c *RepresentativesRepresentativeInfoByAddressCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2108,7 +2108,7 @@ func (c *RepresentativesRepresentativeInfoByDivisionCall) Header() http.Header { func (c *RepresentativesRepresentativeInfoByDivisionCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/classroom/v1/classroom-gen.go b/classroom/v1/classroom-gen.go index 2af2fe9d8eb..e7b824efe35 100644 --- a/classroom/v1/classroom-gen.go +++ b/classroom/v1/classroom-gen.go @@ -3167,7 +3167,7 @@ func (c *CoursesCreateCall) Header() http.Header { func (c *CoursesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3295,7 +3295,7 @@ func (c *CoursesDeleteCall) Header() http.Header { func (c *CoursesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3438,7 +3438,7 @@ func (c *CoursesGetCall) Header() http.Header { func (c *CoursesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3653,7 +3653,7 @@ func (c *CoursesListCall) Header() http.Header { func (c *CoursesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3861,7 +3861,7 @@ func (c *CoursesPatchCall) Header() http.Header { func (c *CoursesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4010,7 +4010,7 @@ func (c *CoursesUpdateCall) Header() http.Header { func (c *CoursesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4155,7 +4155,7 @@ func (c *CoursesAliasesCreateCall) Header() http.Header { func (c *CoursesAliasesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4300,7 +4300,7 @@ func (c *CoursesAliasesDeleteCall) Header() http.Header { func (c *CoursesAliasesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4469,7 +4469,7 @@ func (c *CoursesAliasesListCall) Header() http.Header { func (c *CoursesAliasesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4642,7 +4642,7 @@ func (c *CoursesAnnouncementsCreateCall) Header() http.Header { func (c *CoursesAnnouncementsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4790,7 +4790,7 @@ func (c *CoursesAnnouncementsDeleteCall) Header() http.Header { func (c *CoursesAnnouncementsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4944,7 +4944,7 @@ func (c *CoursesAnnouncementsGetCall) Header() http.Header { func (c *CoursesAnnouncementsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5152,7 +5152,7 @@ func (c *CoursesAnnouncementsListCall) Header() http.Header { func (c *CoursesAnnouncementsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5350,7 +5350,7 @@ func (c *CoursesAnnouncementsModifyAssigneesCall) Header() http.Header { func (c *CoursesAnnouncementsModifyAssigneesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5519,7 +5519,7 @@ func (c *CoursesAnnouncementsPatchCall) Header() http.Header { func (c *CoursesAnnouncementsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5684,7 +5684,7 @@ func (c *CoursesCourseWorkCreateCall) Header() http.Header { func (c *CoursesCourseWorkCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5832,7 +5832,7 @@ func (c *CoursesCourseWorkDeleteCall) Header() http.Header { func (c *CoursesCourseWorkDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5986,7 +5986,7 @@ func (c *CoursesCourseWorkGetCall) Header() http.Header { func (c *CoursesCourseWorkGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6195,7 +6195,7 @@ func (c *CoursesCourseWorkListCall) Header() http.Header { func (c *CoursesCourseWorkListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6395,7 +6395,7 @@ func (c *CoursesCourseWorkModifyAssigneesCall) Header() http.Header { func (c *CoursesCourseWorkModifyAssigneesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6572,7 +6572,7 @@ func (c *CoursesCourseWorkPatchCall) Header() http.Header { func (c *CoursesCourseWorkPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6742,7 +6742,7 @@ func (c *CoursesCourseWorkStudentSubmissionsGetCall) Header() http.Header { func (c *CoursesCourseWorkStudentSubmissionsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6979,7 +6979,7 @@ func (c *CoursesCourseWorkStudentSubmissionsListCall) Header() http.Header { func (c *CoursesCourseWorkStudentSubmissionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7215,7 +7215,7 @@ func (c *CoursesCourseWorkStudentSubmissionsModifyAttachmentsCall) Header() http func (c *CoursesCourseWorkStudentSubmissionsModifyAttachmentsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7396,7 +7396,7 @@ func (c *CoursesCourseWorkStudentSubmissionsPatchCall) Header() http.Header { func (c *CoursesCourseWorkStudentSubmissionsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7576,7 +7576,7 @@ func (c *CoursesCourseWorkStudentSubmissionsReclaimCall) Header() http.Header { func (c *CoursesCourseWorkStudentSubmissionsReclaimCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7748,7 +7748,7 @@ func (c *CoursesCourseWorkStudentSubmissionsReturnCall) Header() http.Header { func (c *CoursesCourseWorkStudentSubmissionsReturnCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7918,7 +7918,7 @@ func (c *CoursesCourseWorkStudentSubmissionsTurnInCall) Header() http.Header { func (c *CoursesCourseWorkStudentSubmissionsTurnInCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8080,7 +8080,7 @@ func (c *CoursesCourseWorkMaterialsCreateCall) Header() http.Header { func (c *CoursesCourseWorkMaterialsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8228,7 +8228,7 @@ func (c *CoursesCourseWorkMaterialsDeleteCall) Header() http.Header { func (c *CoursesCourseWorkMaterialsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8383,7 +8383,7 @@ func (c *CoursesCourseWorkMaterialsGetCall) Header() http.Header { func (c *CoursesCourseWorkMaterialsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8611,7 +8611,7 @@ func (c *CoursesCourseWorkMaterialsListCall) Header() http.Header { func (c *CoursesCourseWorkMaterialsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8834,7 +8834,7 @@ func (c *CoursesCourseWorkMaterialsPatchCall) Header() http.Header { func (c *CoursesCourseWorkMaterialsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9005,7 +9005,7 @@ func (c *CoursesStudentsCreateCall) Header() http.Header { func (c *CoursesStudentsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9155,7 +9155,7 @@ func (c *CoursesStudentsDeleteCall) Header() http.Header { func (c *CoursesStudentsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9309,7 +9309,7 @@ func (c *CoursesStudentsGetCall) Header() http.Header { func (c *CoursesStudentsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9483,7 +9483,7 @@ func (c *CoursesStudentsListCall) Header() http.Header { func (c *CoursesStudentsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9660,7 +9660,7 @@ func (c *CoursesTeachersCreateCall) Header() http.Header { func (c *CoursesTeachersCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9806,7 +9806,7 @@ func (c *CoursesTeachersDeleteCall) Header() http.Header { func (c *CoursesTeachersDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9960,7 +9960,7 @@ func (c *CoursesTeachersGetCall) Header() http.Header { func (c *CoursesTeachersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10134,7 +10134,7 @@ func (c *CoursesTeachersListCall) Header() http.Header { func (c *CoursesTeachersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10307,7 +10307,7 @@ func (c *CoursesTopicsCreateCall) Header() http.Header { func (c *CoursesTopicsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10451,7 +10451,7 @@ func (c *CoursesTopicsDeleteCall) Header() http.Header { func (c *CoursesTopicsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10605,7 +10605,7 @@ func (c *CoursesTopicsGetCall) Header() http.Header { func (c *CoursesTopicsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10780,7 +10780,7 @@ func (c *CoursesTopicsListCall) Header() http.Header { func (c *CoursesTopicsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10966,7 +10966,7 @@ func (c *CoursesTopicsPatchCall) Header() http.Header { func (c *CoursesTopicsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11125,7 +11125,7 @@ func (c *InvitationsAcceptCall) Header() http.Header { func (c *InvitationsAcceptCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11262,7 +11262,7 @@ func (c *InvitationsCreateCall) Header() http.Header { func (c *InvitationsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11390,7 +11390,7 @@ func (c *InvitationsDeleteCall) Header() http.Header { func (c *InvitationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11533,7 +11533,7 @@ func (c *InvitationsGetCall) Header() http.Header { func (c *InvitationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11713,7 +11713,7 @@ func (c *InvitationsListCall) Header() http.Header { func (c *InvitationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11900,7 +11900,7 @@ func (c *RegistrationsCreateCall) Header() http.Header { func (c *RegistrationsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12026,7 +12026,7 @@ func (c *RegistrationsDeleteCall) Header() http.Header { func (c *RegistrationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12169,7 +12169,7 @@ func (c *UserProfilesGetCall) Header() http.Header { func (c *UserProfilesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12330,7 +12330,7 @@ func (c *UserProfilesGuardianInvitationsCreateCall) Header() http.Header { func (c *UserProfilesGuardianInvitationsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12490,7 +12490,7 @@ func (c *UserProfilesGuardianInvitationsGetCall) Header() http.Header { func (c *UserProfilesGuardianInvitationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12694,7 +12694,7 @@ func (c *UserProfilesGuardianInvitationsListCall) Header() http.Header { func (c *UserProfilesGuardianInvitationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12908,7 +12908,7 @@ func (c *UserProfilesGuardianInvitationsPatchCall) Header() http.Header { func (c *UserProfilesGuardianInvitationsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13073,7 +13073,7 @@ func (c *UserProfilesGuardiansDeleteCall) Header() http.Header { func (c *UserProfilesGuardiansDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13234,7 +13234,7 @@ func (c *UserProfilesGuardiansGetCall) Header() http.Header { func (c *UserProfilesGuardiansGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13430,7 +13430,7 @@ func (c *UserProfilesGuardiansListCall) Header() http.Header { func (c *UserProfilesGuardiansListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/cloudasset/v1/cloudasset-gen.go b/cloudasset/v1/cloudasset-gen.go index f0ba43c682a..9e72ea0b9c1 100644 --- a/cloudasset/v1/cloudasset-gen.go +++ b/cloudasset/v1/cloudasset-gen.go @@ -3909,7 +3909,7 @@ func (c *FeedsCreateCall) Header() http.Header { func (c *FeedsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4047,7 +4047,7 @@ func (c *FeedsDeleteCall) Header() http.Header { func (c *FeedsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4188,7 +4188,7 @@ func (c *FeedsGetCall) Header() http.Header { func (c *FeedsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4332,7 +4332,7 @@ func (c *FeedsListCall) Header() http.Header { func (c *FeedsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4467,7 +4467,7 @@ func (c *FeedsPatchCall) Header() http.Header { func (c *FeedsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4618,7 +4618,7 @@ func (c *OperationsGetCall) Header() http.Header { func (c *OperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4908,7 +4908,7 @@ func (c *V1AnalyzeIamPolicyCall) Header() http.Header { func (c *V1AnalyzeIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5110,7 +5110,7 @@ func (c *V1AnalyzeIamPolicyLongrunningCall) Header() http.Header { func (c *V1AnalyzeIamPolicyLongrunningCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5309,7 +5309,7 @@ func (c *V1BatchGetAssetsHistoryCall) Header() http.Header { func (c *V1BatchGetAssetsHistoryCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5493,7 +5493,7 @@ func (c *V1ExportAssetsCall) Header() http.Header { func (c *V1ExportAssetsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5694,7 +5694,7 @@ func (c *V1SearchAllIamPoliciesCall) Header() http.Header { func (c *V1SearchAllIamPoliciesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5956,7 +5956,7 @@ func (c *V1SearchAllResourcesCall) Header() http.Header { func (c *V1SearchAllResourcesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/cloudasset/v1beta1/cloudasset-gen.go b/cloudasset/v1beta1/cloudasset-gen.go index 4862ba393b8..d07afea7f32 100644 --- a/cloudasset/v1beta1/cloudasset-gen.go +++ b/cloudasset/v1beta1/cloudasset-gen.go @@ -1876,7 +1876,7 @@ func (c *FoldersExportAssetsCall) Header() http.Header { func (c *FoldersExportAssetsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2027,7 +2027,7 @@ func (c *FoldersOperationsGetCall) Header() http.Header { func (c *FoldersOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2218,7 +2218,7 @@ func (c *OrganizationsBatchGetAssetsHistoryCall) Header() http.Header { func (c *OrganizationsBatchGetAssetsHistoryCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2392,7 +2392,7 @@ func (c *OrganizationsExportAssetsCall) Header() http.Header { func (c *OrganizationsExportAssetsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2543,7 +2543,7 @@ func (c *OrganizationsOperationsGetCall) Header() http.Header { func (c *OrganizationsOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2734,7 +2734,7 @@ func (c *ProjectsBatchGetAssetsHistoryCall) Header() http.Header { func (c *ProjectsBatchGetAssetsHistoryCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2908,7 +2908,7 @@ func (c *ProjectsExportAssetsCall) Header() http.Header { func (c *ProjectsExportAssetsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3059,7 +3059,7 @@ func (c *ProjectsOperationsGetCall) Header() http.Header { func (c *ProjectsOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/cloudasset/v1p1beta1/cloudasset-gen.go b/cloudasset/v1p1beta1/cloudasset-gen.go index 7abdfe59bbc..15494c4fdfe 100644 --- a/cloudasset/v1p1beta1/cloudasset-gen.go +++ b/cloudasset/v1p1beta1/cloudasset-gen.go @@ -837,7 +837,7 @@ func (c *IamPoliciesSearchAllCall) Header() http.Header { func (c *IamPoliciesSearchAllCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1069,7 +1069,7 @@ func (c *ResourcesSearchAllCall) Header() http.Header { func (c *ResourcesSearchAllCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/cloudasset/v1p4beta1/cloudasset-gen.go b/cloudasset/v1p4beta1/cloudasset-gen.go index a3ac3e000de..3aa11264765 100644 --- a/cloudasset/v1p4beta1/cloudasset-gen.go +++ b/cloudasset/v1p4beta1/cloudasset-gen.go @@ -1402,7 +1402,7 @@ func (c *V1p4beta1AnalyzeIamPolicyCall) Header() http.Header { func (c *V1p4beta1AnalyzeIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1602,7 +1602,7 @@ func (c *V1p4beta1ExportIamPolicyAnalysisCall) Header() http.Header { func (c *V1p4beta1ExportIamPolicyAnalysisCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/cloudasset/v1p5beta1/cloudasset-gen.go b/cloudasset/v1p5beta1/cloudasset-gen.go index 845dcbd2876..be0fff77899 100644 --- a/cloudasset/v1p5beta1/cloudasset-gen.go +++ b/cloudasset/v1p5beta1/cloudasset-gen.go @@ -1603,7 +1603,7 @@ func (c *AssetsListCall) Header() http.Header { func (c *AssetsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/cloudbilling/v1/cloudbilling-gen.go b/cloudbilling/v1/cloudbilling-gen.go index 7f6eb090112..a59da0260ed 100644 --- a/cloudbilling/v1/cloudbilling-gen.go +++ b/cloudbilling/v1/cloudbilling-gen.go @@ -1427,7 +1427,7 @@ func (c *BillingAccountsCreateCall) Header() http.Header { func (c *BillingAccountsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1566,7 +1566,7 @@ func (c *BillingAccountsGetCall) Header() http.Header { func (c *BillingAccountsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1731,7 +1731,7 @@ func (c *BillingAccountsGetIamPolicyCall) Header() http.Header { func (c *BillingAccountsGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1912,7 +1912,7 @@ func (c *BillingAccountsListCall) Header() http.Header { func (c *BillingAccountsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2086,7 +2086,7 @@ func (c *BillingAccountsPatchCall) Header() http.Header { func (c *BillingAccountsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2238,7 +2238,7 @@ func (c *BillingAccountsSetIamPolicyCall) Header() http.Header { func (c *BillingAccountsSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2382,7 +2382,7 @@ func (c *BillingAccountsTestIamPermissionsCall) Header() http.Header { func (c *BillingAccountsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2555,7 +2555,7 @@ func (c *BillingAccountsProjectsListCall) Header() http.Header { func (c *BillingAccountsProjectsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2736,7 +2736,7 @@ func (c *ProjectsGetBillingInfoCall) Header() http.Header { func (c *ProjectsGetBillingInfoCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2900,7 +2900,7 @@ func (c *ProjectsUpdateBillingInfoCall) Header() http.Header { func (c *ProjectsUpdateBillingInfoCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3064,7 +3064,7 @@ func (c *ServicesListCall) Header() http.Header { func (c *ServicesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3277,7 +3277,7 @@ func (c *ServicesSkusListCall) Header() http.Header { func (c *ServicesSkusListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/cloudbuild/v1/cloudbuild-gen.go b/cloudbuild/v1/cloudbuild-gen.go index b3a5832f67a..2a72942d091 100644 --- a/cloudbuild/v1/cloudbuild-gen.go +++ b/cloudbuild/v1/cloudbuild-gen.go @@ -2082,7 +2082,7 @@ func (c *OperationsCancelCall) Header() http.Header { func (c *OperationsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2233,7 +2233,7 @@ func (c *OperationsGetCall) Header() http.Header { func (c *OperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2370,7 +2370,7 @@ func (c *ProjectsBuildsCancelCall) Header() http.Header { func (c *ProjectsBuildsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2528,7 +2528,7 @@ func (c *ProjectsBuildsCreateCall) Header() http.Header { func (c *ProjectsBuildsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2693,7 +2693,7 @@ func (c *ProjectsBuildsGetCall) Header() http.Header { func (c *ProjectsBuildsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2884,7 +2884,7 @@ func (c *ProjectsBuildsListCall) Header() http.Header { func (c *ProjectsBuildsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3079,7 +3079,7 @@ func (c *ProjectsBuildsRetryCall) Header() http.Header { func (c *ProjectsBuildsRetryCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3226,7 +3226,7 @@ func (c *ProjectsLocationsBuildsCancelCall) Header() http.Header { func (c *ProjectsLocationsBuildsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3376,7 +3376,7 @@ func (c *ProjectsLocationsBuildsCreateCall) Header() http.Header { func (c *ProjectsLocationsBuildsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3545,7 +3545,7 @@ func (c *ProjectsLocationsBuildsGetCall) Header() http.Header { func (c *ProjectsLocationsBuildsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3733,7 +3733,7 @@ func (c *ProjectsLocationsBuildsListCall) Header() http.Header { func (c *ProjectsLocationsBuildsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3927,7 +3927,7 @@ func (c *ProjectsLocationsBuildsRetryCall) Header() http.Header { func (c *ProjectsLocationsBuildsRetryCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4076,7 +4076,7 @@ func (c *ProjectsLocationsOperationsCancelCall) Header() http.Header { func (c *ProjectsLocationsOperationsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4227,7 +4227,7 @@ func (c *ProjectsLocationsOperationsGetCall) Header() http.Header { func (c *ProjectsLocationsOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4362,7 +4362,7 @@ func (c *ProjectsTriggersCreateCall) Header() http.Header { func (c *ProjectsTriggersCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4502,7 +4502,7 @@ func (c *ProjectsTriggersDeleteCall) Header() http.Header { func (c *ProjectsTriggersDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4653,7 +4653,7 @@ func (c *ProjectsTriggersGetCall) Header() http.Header { func (c *ProjectsTriggersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4818,7 +4818,7 @@ func (c *ProjectsTriggersListCall) Header() http.Header { func (c *ProjectsTriggersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4987,7 +4987,7 @@ func (c *ProjectsTriggersPatchCall) Header() http.Header { func (c *ProjectsTriggersPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5136,7 +5136,7 @@ func (c *ProjectsTriggersRunCall) Header() http.Header { func (c *ProjectsTriggersRunCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/cloudbuild/v1alpha1/cloudbuild-gen.go b/cloudbuild/v1alpha1/cloudbuild-gen.go index 829337a4304..bd284329ebc 100644 --- a/cloudbuild/v1alpha1/cloudbuild-gen.go +++ b/cloudbuild/v1alpha1/cloudbuild-gen.go @@ -1888,7 +1888,7 @@ func (c *ProjectsLocationsOperationsCancelCall) Header() http.Header { func (c *ProjectsLocationsOperationsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2039,7 +2039,7 @@ func (c *ProjectsLocationsOperationsGetCall) Header() http.Header { func (c *ProjectsLocationsOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2175,7 +2175,7 @@ func (c *ProjectsWorkerPoolsCreateCall) Header() http.Header { func (c *ProjectsWorkerPoolsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2313,7 +2313,7 @@ func (c *ProjectsWorkerPoolsDeleteCall) Header() http.Header { func (c *ProjectsWorkerPoolsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2454,7 +2454,7 @@ func (c *ProjectsWorkerPoolsGetCall) Header() http.Header { func (c *ProjectsWorkerPoolsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2598,7 +2598,7 @@ func (c *ProjectsWorkerPoolsListCall) Header() http.Header { func (c *ProjectsWorkerPoolsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2733,7 +2733,7 @@ func (c *ProjectsWorkerPoolsPatchCall) Header() http.Header { func (c *ProjectsWorkerPoolsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/cloudbuild/v1alpha2/cloudbuild-gen.go b/cloudbuild/v1alpha2/cloudbuild-gen.go index c1832c921a9..19d36efa559 100644 --- a/cloudbuild/v1alpha2/cloudbuild-gen.go +++ b/cloudbuild/v1alpha2/cloudbuild-gen.go @@ -1846,7 +1846,7 @@ func (c *ProjectsLocationsOperationsCancelCall) Header() http.Header { func (c *ProjectsLocationsOperationsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1997,7 +1997,7 @@ func (c *ProjectsLocationsOperationsGetCall) Header() http.Header { func (c *ProjectsLocationsOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2142,7 +2142,7 @@ func (c *ProjectsWorkerPoolsCreateCall) Header() http.Header { func (c *ProjectsWorkerPoolsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2285,7 +2285,7 @@ func (c *ProjectsWorkerPoolsDeleteCall) Header() http.Header { func (c *ProjectsWorkerPoolsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2426,7 +2426,7 @@ func (c *ProjectsWorkerPoolsGetCall) Header() http.Header { func (c *ProjectsWorkerPoolsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2570,7 +2570,7 @@ func (c *ProjectsWorkerPoolsListCall) Header() http.Header { func (c *ProjectsWorkerPoolsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2712,7 +2712,7 @@ func (c *ProjectsWorkerPoolsPatchCall) Header() http.Header { func (c *ProjectsWorkerPoolsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/clouddebugger/v2/clouddebugger-gen.go b/clouddebugger/v2/clouddebugger-gen.go index e62d4db42b3..da101c01435 100644 --- a/clouddebugger/v2/clouddebugger-gen.go +++ b/clouddebugger/v2/clouddebugger-gen.go @@ -1435,7 +1435,7 @@ func (c *ControllerDebuggeesRegisterCall) Header() http.Header { func (c *ControllerDebuggeesRegisterCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1610,7 +1610,7 @@ func (c *ControllerDebuggeesBreakpointsListCall) Header() http.Header { func (c *ControllerDebuggeesBreakpointsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1769,7 +1769,7 @@ func (c *ControllerDebuggeesBreakpointsUpdateCall) Header() http.Header { func (c *ControllerDebuggeesBreakpointsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1947,7 +1947,7 @@ func (c *DebuggerDebuggeesListCall) Header() http.Header { func (c *DebuggerDebuggeesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2094,7 +2094,7 @@ func (c *DebuggerDebuggeesBreakpointsDeleteCall) Header() http.Header { func (c *DebuggerDebuggeesBreakpointsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2258,7 +2258,7 @@ func (c *DebuggerDebuggeesBreakpointsGetCall) Header() http.Header { func (c *DebuggerDebuggeesBreakpointsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2472,7 +2472,7 @@ func (c *DebuggerDebuggeesBreakpointsListCall) Header() http.Header { func (c *DebuggerDebuggeesBreakpointsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2670,7 +2670,7 @@ func (c *DebuggerDebuggeesBreakpointsSetCall) Header() http.Header { func (c *DebuggerDebuggeesBreakpointsSetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/clouderrorreporting/v1beta1/clouderrorreporting-gen.go b/clouderrorreporting/v1beta1/clouderrorreporting-gen.go index ad0341890b7..67c4a63899d 100644 --- a/clouderrorreporting/v1beta1/clouderrorreporting-gen.go +++ b/clouderrorreporting/v1beta1/clouderrorreporting-gen.go @@ -854,7 +854,7 @@ func (c *ProjectsDeleteEventsCall) Header() http.Header { func (c *ProjectsDeleteEventsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1063,7 +1063,7 @@ func (c *ProjectsEventsListCall) Header() http.Header { func (c *ProjectsEventsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1276,7 +1276,7 @@ func (c *ProjectsEventsReportCall) Header() http.Header { func (c *ProjectsEventsReportCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1550,7 +1550,7 @@ func (c *ProjectsGroupStatsListCall) Header() http.Header { func (c *ProjectsGroupStatsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1814,7 +1814,7 @@ func (c *ProjectsGroupsGetCall) Header() http.Header { func (c *ProjectsGroupsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1950,7 +1950,7 @@ func (c *ProjectsGroupsUpdateCall) Header() http.Header { func (c *ProjectsGroupsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/cloudfunctions/v1/cloudfunctions-gen.go b/cloudfunctions/v1/cloudfunctions-gen.go index 0017d2fd009..c1d96da7744 100644 --- a/cloudfunctions/v1/cloudfunctions-gen.go +++ b/cloudfunctions/v1/cloudfunctions-gen.go @@ -1525,7 +1525,7 @@ func (c *OperationsGetCall) Header() http.Header { func (c *OperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1710,7 +1710,7 @@ func (c *OperationsListCall) Header() http.Header { func (c *OperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1906,7 +1906,7 @@ func (c *ProjectsLocationsListCall) Header() http.Header { func (c *ProjectsLocationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2081,7 +2081,7 @@ func (c *ProjectsLocationsFunctionsCallCall) Header() http.Header { func (c *ProjectsLocationsFunctionsCallCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2223,7 +2223,7 @@ func (c *ProjectsLocationsFunctionsCreateCall) Header() http.Header { func (c *ProjectsLocationsFunctionsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2363,7 +2363,7 @@ func (c *ProjectsLocationsFunctionsDeleteCall) Header() http.Header { func (c *ProjectsLocationsFunctionsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2499,7 +2499,7 @@ func (c *ProjectsLocationsFunctionsGenerateDownloadUrlCall) Header() http.Header func (c *ProjectsLocationsFunctionsGenerateDownloadUrlCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2654,7 +2654,7 @@ func (c *ProjectsLocationsFunctionsGenerateUploadUrlCall) Header() http.Header { func (c *ProjectsLocationsFunctionsGenerateUploadUrlCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2804,7 +2804,7 @@ func (c *ProjectsLocationsFunctionsGetCall) Header() http.Header { func (c *ProjectsLocationsFunctionsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2965,7 +2965,7 @@ func (c *ProjectsLocationsFunctionsGetIamPolicyCall) Header() http.Header { func (c *ProjectsLocationsFunctionsGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3132,7 +3132,7 @@ func (c *ProjectsLocationsFunctionsListCall) Header() http.Header { func (c *ProjectsLocationsFunctionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3306,7 +3306,7 @@ func (c *ProjectsLocationsFunctionsPatchCall) Header() http.Header { func (c *ProjectsLocationsFunctionsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3453,7 +3453,7 @@ func (c *ProjectsLocationsFunctionsSetIamPolicyCall) Header() http.Header { func (c *ProjectsLocationsFunctionsSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3595,7 +3595,7 @@ func (c *ProjectsLocationsFunctionsTestIamPermissionsCall) Header() http.Header func (c *ProjectsLocationsFunctionsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/cloudidentity/v1/cloudidentity-gen.go b/cloudidentity/v1/cloudidentity-gen.go index a8bced4dd98..2ba7ae2f541 100644 --- a/cloudidentity/v1/cloudidentity-gen.go +++ b/cloudidentity/v1/cloudidentity-gen.go @@ -2189,7 +2189,7 @@ func (c *DevicesCancelWipeCall) Header() http.Header { func (c *DevicesCancelWipeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2338,7 +2338,7 @@ func (c *DevicesCreateCall) Header() http.Header { func (c *DevicesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2477,7 +2477,7 @@ func (c *DevicesDeleteCall) Header() http.Header { func (c *DevicesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2633,7 +2633,7 @@ func (c *DevicesGetCall) Header() http.Header { func (c *DevicesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2849,7 +2849,7 @@ func (c *DevicesListCall) Header() http.Header { func (c *DevicesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3033,7 +3033,7 @@ func (c *DevicesWipeCall) Header() http.Header { func (c *DevicesWipeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3170,7 +3170,7 @@ func (c *DevicesDeviceUsersApproveCall) Header() http.Header { func (c *DevicesDeviceUsersApproveCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3307,7 +3307,7 @@ func (c *DevicesDeviceUsersBlockCall) Header() http.Header { func (c *DevicesDeviceUsersBlockCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3446,7 +3446,7 @@ func (c *DevicesDeviceUsersCancelWipeCall) Header() http.Header { func (c *DevicesDeviceUsersCancelWipeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3593,7 +3593,7 @@ func (c *DevicesDeviceUsersDeleteCall) Header() http.Header { func (c *DevicesDeviceUsersDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3747,7 +3747,7 @@ func (c *DevicesDeviceUsersGetCall) Header() http.Header { func (c *DevicesDeviceUsersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3943,7 +3943,7 @@ func (c *DevicesDeviceUsersListCall) Header() http.Header { func (c *DevicesDeviceUsersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4194,7 +4194,7 @@ func (c *DevicesDeviceUsersLookupCall) Header() http.Header { func (c *DevicesDeviceUsersLookupCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4385,7 +4385,7 @@ func (c *DevicesDeviceUsersWipeCall) Header() http.Header { func (c *DevicesDeviceUsersWipeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4542,7 +4542,7 @@ func (c *DevicesDeviceUsersClientStatesGetCall) Header() http.Header { func (c *DevicesDeviceUsersClientStatesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4725,7 +4725,7 @@ func (c *DevicesDeviceUsersClientStatesListCall) Header() http.Header { func (c *DevicesDeviceUsersClientStatesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4923,7 +4923,7 @@ func (c *DevicesDeviceUsersClientStatesPatchCall) Header() http.Header { func (c *DevicesDeviceUsersClientStatesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5083,7 +5083,7 @@ func (c *GroupsCreateCall) Header() http.Header { func (c *GroupsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5225,7 +5225,7 @@ func (c *GroupsDeleteCall) Header() http.Header { func (c *GroupsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5367,7 +5367,7 @@ func (c *GroupsGetCall) Header() http.Header { func (c *GroupsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5553,7 +5553,7 @@ func (c *GroupsListCall) Header() http.Header { func (c *GroupsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5761,7 +5761,7 @@ func (c *GroupsLookupCall) Header() http.Header { func (c *GroupsLookupCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5904,7 +5904,7 @@ func (c *GroupsPatchCall) Header() http.Header { func (c *GroupsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6102,7 +6102,7 @@ func (c *GroupsSearchCall) Header() http.Header { func (c *GroupsSearchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6307,7 +6307,7 @@ func (c *GroupsMembershipsCheckTransitiveMembershipCall) Header() http.Header { func (c *GroupsMembershipsCheckTransitiveMembershipCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6450,7 +6450,7 @@ func (c *GroupsMembershipsCreateCall) Header() http.Header { func (c *GroupsMembershipsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6589,7 +6589,7 @@ func (c *GroupsMembershipsDeleteCall) Header() http.Header { func (c *GroupsMembershipsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6731,7 +6731,7 @@ func (c *GroupsMembershipsGetCall) Header() http.Header { func (c *GroupsMembershipsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6896,7 +6896,7 @@ func (c *GroupsMembershipsGetMembershipGraphCall) Header() http.Header { func (c *GroupsMembershipsGetMembershipGraphCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7080,7 +7080,7 @@ func (c *GroupsMembershipsListCall) Header() http.Header { func (c *GroupsMembershipsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7297,7 +7297,7 @@ func (c *GroupsMembershipsLookupCall) Header() http.Header { func (c *GroupsMembershipsLookupCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7445,7 +7445,7 @@ func (c *GroupsMembershipsModifyMembershipRolesCall) Header() http.Header { func (c *GroupsMembershipsModifyMembershipRolesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7629,7 +7629,7 @@ func (c *GroupsMembershipsSearchTransitiveGroupsCall) Header() http.Header { func (c *GroupsMembershipsSearchTransitiveGroupsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7833,7 +7833,7 @@ func (c *GroupsMembershipsSearchTransitiveMembershipsCall) Header() http.Header func (c *GroupsMembershipsSearchTransitiveMembershipsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/cloudidentity/v1beta1/cloudidentity-gen.go b/cloudidentity/v1beta1/cloudidentity-gen.go index 7619bc37fd4..9ccc74c08fe 100644 --- a/cloudidentity/v1beta1/cloudidentity-gen.go +++ b/cloudidentity/v1beta1/cloudidentity-gen.go @@ -3066,7 +3066,7 @@ func (c *DevicesCancelWipeCall) Header() http.Header { func (c *DevicesCancelWipeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3204,7 +3204,7 @@ func (c *DevicesCreateCall) Header() http.Header { func (c *DevicesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3337,7 +3337,7 @@ func (c *DevicesDeleteCall) Header() http.Header { func (c *DevicesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3489,7 +3489,7 @@ func (c *DevicesGetCall) Header() http.Header { func (c *DevicesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3698,7 +3698,7 @@ func (c *DevicesListCall) Header() http.Header { func (c *DevicesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3880,7 +3880,7 @@ func (c *DevicesWipeCall) Header() http.Header { func (c *DevicesWipeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4017,7 +4017,7 @@ func (c *DevicesDeviceUsersApproveCall) Header() http.Header { func (c *DevicesDeviceUsersApproveCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4154,7 +4154,7 @@ func (c *DevicesDeviceUsersBlockCall) Header() http.Header { func (c *DevicesDeviceUsersBlockCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4293,7 +4293,7 @@ func (c *DevicesDeviceUsersCancelWipeCall) Header() http.Header { func (c *DevicesDeviceUsersCancelWipeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4440,7 +4440,7 @@ func (c *DevicesDeviceUsersDeleteCall) Header() http.Header { func (c *DevicesDeviceUsersDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4594,7 +4594,7 @@ func (c *DevicesDeviceUsersGetCall) Header() http.Header { func (c *DevicesDeviceUsersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4788,7 +4788,7 @@ func (c *DevicesDeviceUsersListCall) Header() http.Header { func (c *DevicesDeviceUsersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5036,7 +5036,7 @@ func (c *DevicesDeviceUsersLookupCall) Header() http.Header { func (c *DevicesDeviceUsersLookupCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5218,7 +5218,7 @@ func (c *DevicesDeviceUsersWipeCall) Header() http.Header { func (c *DevicesDeviceUsersWipeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5375,7 +5375,7 @@ func (c *DevicesDeviceUsersClientStatesGetCall) Header() http.Header { func (c *DevicesDeviceUsersClientStatesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5534,7 +5534,7 @@ func (c *DevicesDeviceUsersClientStatesPatchCall) Header() http.Header { func (c *DevicesDeviceUsersClientStatesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5694,7 +5694,7 @@ func (c *GroupsCreateCall) Header() http.Header { func (c *GroupsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5836,7 +5836,7 @@ func (c *GroupsDeleteCall) Header() http.Header { func (c *GroupsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5978,7 +5978,7 @@ func (c *GroupsGetCall) Header() http.Header { func (c *GroupsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6164,7 +6164,7 @@ func (c *GroupsListCall) Header() http.Header { func (c *GroupsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6372,7 +6372,7 @@ func (c *GroupsLookupCall) Header() http.Header { func (c *GroupsLookupCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6515,7 +6515,7 @@ func (c *GroupsPatchCall) Header() http.Header { func (c *GroupsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6712,7 +6712,7 @@ func (c *GroupsSearchCall) Header() http.Header { func (c *GroupsSearchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6914,7 +6914,7 @@ func (c *GroupsMembershipsCheckTransitiveMembershipCall) Header() http.Header { func (c *GroupsMembershipsCheckTransitiveMembershipCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7057,7 +7057,7 @@ func (c *GroupsMembershipsCreateCall) Header() http.Header { func (c *GroupsMembershipsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7196,7 +7196,7 @@ func (c *GroupsMembershipsDeleteCall) Header() http.Header { func (c *GroupsMembershipsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7338,7 +7338,7 @@ func (c *GroupsMembershipsGetCall) Header() http.Header { func (c *GroupsMembershipsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7501,7 +7501,7 @@ func (c *GroupsMembershipsGetMembershipGraphCall) Header() http.Header { func (c *GroupsMembershipsGetMembershipGraphCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7684,7 +7684,7 @@ func (c *GroupsMembershipsListCall) Header() http.Header { func (c *GroupsMembershipsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7899,7 +7899,7 @@ func (c *GroupsMembershipsLookupCall) Header() http.Header { func (c *GroupsMembershipsLookupCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8047,7 +8047,7 @@ func (c *GroupsMembershipsModifyMembershipRolesCall) Header() http.Header { func (c *GroupsMembershipsModifyMembershipRolesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8229,7 +8229,7 @@ func (c *GroupsMembershipsSearchTransitiveGroupsCall) Header() http.Header { func (c *GroupsMembershipsSearchTransitiveGroupsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8431,7 +8431,7 @@ func (c *GroupsMembershipsSearchTransitiveMembershipsCall) Header() http.Header func (c *GroupsMembershipsSearchTransitiveMembershipsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/cloudiot/v1/cloudiot-gen.go b/cloudiot/v1/cloudiot-gen.go index 3ac1d9903cc..9dcb53bb68d 100644 --- a/cloudiot/v1/cloudiot-gen.go +++ b/cloudiot/v1/cloudiot-gen.go @@ -1786,7 +1786,7 @@ func (c *ProjectsLocationsRegistriesBindDeviceToGatewayCall) Header() http.Heade func (c *ProjectsLocationsRegistriesBindDeviceToGatewayCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1927,7 +1927,7 @@ func (c *ProjectsLocationsRegistriesCreateCall) Header() http.Header { func (c *ProjectsLocationsRegistriesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2066,7 +2066,7 @@ func (c *ProjectsLocationsRegistriesDeleteCall) Header() http.Header { func (c *ProjectsLocationsRegistriesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2208,7 +2208,7 @@ func (c *ProjectsLocationsRegistriesGetCall) Header() http.Header { func (c *ProjectsLocationsRegistriesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2346,7 +2346,7 @@ func (c *ProjectsLocationsRegistriesGetIamPolicyCall) Header() http.Header { func (c *ProjectsLocationsRegistriesGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2515,7 +2515,7 @@ func (c *ProjectsLocationsRegistriesListCall) Header() http.Header { func (c *ProjectsLocationsRegistriesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2694,7 +2694,7 @@ func (c *ProjectsLocationsRegistriesPatchCall) Header() http.Header { func (c *ProjectsLocationsRegistriesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2842,7 +2842,7 @@ func (c *ProjectsLocationsRegistriesSetIamPolicyCall) Header() http.Header { func (c *ProjectsLocationsRegistriesSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2985,7 +2985,7 @@ func (c *ProjectsLocationsRegistriesTestIamPermissionsCall) Header() http.Header func (c *ProjectsLocationsRegistriesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3127,7 +3127,7 @@ func (c *ProjectsLocationsRegistriesUnbindDeviceFromGatewayCall) Header() http.H func (c *ProjectsLocationsRegistriesUnbindDeviceFromGatewayCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3268,7 +3268,7 @@ func (c *ProjectsLocationsRegistriesDevicesCreateCall) Header() http.Header { func (c *ProjectsLocationsRegistriesDevicesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3407,7 +3407,7 @@ func (c *ProjectsLocationsRegistriesDevicesDeleteCall) Header() http.Header { func (c *ProjectsLocationsRegistriesDevicesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3557,7 +3557,7 @@ func (c *ProjectsLocationsRegistriesDevicesGetCall) Header() http.Header { func (c *ProjectsLocationsRegistriesDevicesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3793,7 +3793,7 @@ func (c *ProjectsLocationsRegistriesDevicesListCall) Header() http.Header { func (c *ProjectsLocationsRegistriesDevicesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4007,7 +4007,7 @@ func (c *ProjectsLocationsRegistriesDevicesModifyCloudToDeviceConfigCall) Header func (c *ProjectsLocationsRegistriesDevicesModifyCloudToDeviceConfigCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4158,7 +4158,7 @@ func (c *ProjectsLocationsRegistriesDevicesPatchCall) Header() http.Header { func (c *ProjectsLocationsRegistriesDevicesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4318,7 +4318,7 @@ func (c *ProjectsLocationsRegistriesDevicesSendCommandToDeviceCall) Header() htt func (c *ProjectsLocationsRegistriesDevicesSendCommandToDeviceCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4478,7 +4478,7 @@ func (c *ProjectsLocationsRegistriesDevicesConfigVersionsListCall) Header() http func (c *ProjectsLocationsRegistriesDevicesConfigVersionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4639,7 +4639,7 @@ func (c *ProjectsLocationsRegistriesDevicesStatesListCall) Header() http.Header func (c *ProjectsLocationsRegistriesDevicesStatesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4783,7 +4783,7 @@ func (c *ProjectsLocationsRegistriesGroupsGetIamPolicyCall) Header() http.Header func (c *ProjectsLocationsRegistriesGroupsGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4925,7 +4925,7 @@ func (c *ProjectsLocationsRegistriesGroupsSetIamPolicyCall) Header() http.Header func (c *ProjectsLocationsRegistriesGroupsSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5068,7 +5068,7 @@ func (c *ProjectsLocationsRegistriesGroupsTestIamPermissionsCall) Header() http. func (c *ProjectsLocationsRegistriesGroupsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5303,7 +5303,7 @@ func (c *ProjectsLocationsRegistriesGroupsDevicesListCall) Header() http.Header func (c *ProjectsLocationsRegistriesGroupsDevicesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/cloudkms/v1/cloudkms-gen.go b/cloudkms/v1/cloudkms-gen.go index 4831d9c921c..8ec5629b529 100644 --- a/cloudkms/v1/cloudkms-gen.go +++ b/cloudkms/v1/cloudkms-gen.go @@ -2363,7 +2363,7 @@ func (c *ProjectsLocationsGetCall) Header() http.Header { func (c *ProjectsLocationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2530,7 +2530,7 @@ func (c *ProjectsLocationsListCall) Header() http.Header { func (c *ProjectsLocationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2711,7 +2711,7 @@ func (c *ProjectsLocationsKeyRingsCreateCall) Header() http.Header { func (c *ProjectsLocationsKeyRingsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2866,7 +2866,7 @@ func (c *ProjectsLocationsKeyRingsGetCall) Header() http.Header { func (c *ProjectsLocationsKeyRingsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3028,7 +3028,7 @@ func (c *ProjectsLocationsKeyRingsGetIamPolicyCall) Header() http.Header { func (c *ProjectsLocationsKeyRingsGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3216,7 +3216,7 @@ func (c *ProjectsLocationsKeyRingsListCall) Header() http.Header { func (c *ProjectsLocationsKeyRingsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3396,7 +3396,7 @@ func (c *ProjectsLocationsKeyRingsSetIamPolicyCall) Header() http.Header { func (c *ProjectsLocationsKeyRingsSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3542,7 +3542,7 @@ func (c *ProjectsLocationsKeyRingsTestIamPermissionsCall) Header() http.Header { func (c *ProjectsLocationsKeyRingsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3702,7 +3702,7 @@ func (c *ProjectsLocationsKeyRingsCryptoKeysCreateCall) Header() http.Header { func (c *ProjectsLocationsKeyRingsCryptoKeysCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3854,7 +3854,7 @@ func (c *ProjectsLocationsKeyRingsCryptoKeysDecryptCall) Header() http.Header { func (c *ProjectsLocationsKeyRingsCryptoKeysDecryptCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3996,7 +3996,7 @@ func (c *ProjectsLocationsKeyRingsCryptoKeysEncryptCall) Header() http.Header { func (c *ProjectsLocationsKeyRingsCryptoKeysEncryptCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4147,7 +4147,7 @@ func (c *ProjectsLocationsKeyRingsCryptoKeysGetCall) Header() http.Header { func (c *ProjectsLocationsKeyRingsCryptoKeysGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4309,7 +4309,7 @@ func (c *ProjectsLocationsKeyRingsCryptoKeysGetIamPolicyCall) Header() http.Head func (c *ProjectsLocationsKeyRingsCryptoKeysGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4510,7 +4510,7 @@ func (c *ProjectsLocationsKeyRingsCryptoKeysListCall) Header() http.Header { func (c *ProjectsLocationsKeyRingsCryptoKeysListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4708,7 +4708,7 @@ func (c *ProjectsLocationsKeyRingsCryptoKeysPatchCall) Header() http.Header { func (c *ProjectsLocationsKeyRingsCryptoKeysPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4857,7 +4857,7 @@ func (c *ProjectsLocationsKeyRingsCryptoKeysSetIamPolicyCall) Header() http.Head func (c *ProjectsLocationsKeyRingsCryptoKeysSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5003,7 +5003,7 @@ func (c *ProjectsLocationsKeyRingsCryptoKeysTestIamPermissionsCall) Header() htt func (c *ProjectsLocationsKeyRingsCryptoKeysTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5145,7 +5145,7 @@ func (c *ProjectsLocationsKeyRingsCryptoKeysUpdatePrimaryVersionCall) Header() h func (c *ProjectsLocationsKeyRingsCryptoKeysUpdatePrimaryVersionCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5288,7 +5288,7 @@ func (c *ProjectsLocationsKeyRingsCryptoKeysCryptoKeyVersionsAsymmetricDecryptCa func (c *ProjectsLocationsKeyRingsCryptoKeysCryptoKeyVersionsAsymmetricDecryptCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5431,7 +5431,7 @@ func (c *ProjectsLocationsKeyRingsCryptoKeysCryptoKeyVersionsAsymmetricSignCall) func (c *ProjectsLocationsKeyRingsCryptoKeysCryptoKeyVersionsAsymmetricSignCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5574,7 +5574,7 @@ func (c *ProjectsLocationsKeyRingsCryptoKeysCryptoKeyVersionsCreateCall) Header( func (c *ProjectsLocationsKeyRingsCryptoKeysCryptoKeyVersionsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5721,7 +5721,7 @@ func (c *ProjectsLocationsKeyRingsCryptoKeysCryptoKeyVersionsDestroyCall) Header func (c *ProjectsLocationsKeyRingsCryptoKeysCryptoKeyVersionsDestroyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5871,7 +5871,7 @@ func (c *ProjectsLocationsKeyRingsCryptoKeysCryptoKeyVersionsGetCall) Header() h func (c *ProjectsLocationsKeyRingsCryptoKeysCryptoKeyVersionsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6017,7 +6017,7 @@ func (c *ProjectsLocationsKeyRingsCryptoKeysCryptoKeyVersionsGetPublicKeyCall) H func (c *ProjectsLocationsKeyRingsCryptoKeysCryptoKeyVersionsGetPublicKeyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6155,7 +6155,7 @@ func (c *ProjectsLocationsKeyRingsCryptoKeysCryptoKeyVersionsImportCall) Header( func (c *ProjectsLocationsKeyRingsCryptoKeysCryptoKeyVersionsImportCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6355,7 +6355,7 @@ func (c *ProjectsLocationsKeyRingsCryptoKeysCryptoKeyVersionsListCall) Header() func (c *ProjectsLocationsKeyRingsCryptoKeysCryptoKeyVersionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6556,7 +6556,7 @@ func (c *ProjectsLocationsKeyRingsCryptoKeysCryptoKeyVersionsPatchCall) Header() func (c *ProjectsLocationsKeyRingsCryptoKeysCryptoKeyVersionsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6705,7 +6705,7 @@ func (c *ProjectsLocationsKeyRingsCryptoKeysCryptoKeyVersionsRestoreCall) Header func (c *ProjectsLocationsKeyRingsCryptoKeysCryptoKeyVersionsRestoreCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6855,7 +6855,7 @@ func (c *ProjectsLocationsKeyRingsImportJobsCreateCall) Header() http.Header { func (c *ProjectsLocationsKeyRingsImportJobsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7010,7 +7010,7 @@ func (c *ProjectsLocationsKeyRingsImportJobsGetCall) Header() http.Header { func (c *ProjectsLocationsKeyRingsImportJobsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7172,7 +7172,7 @@ func (c *ProjectsLocationsKeyRingsImportJobsGetIamPolicyCall) Header() http.Head func (c *ProjectsLocationsKeyRingsImportJobsGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7360,7 +7360,7 @@ func (c *ProjectsLocationsKeyRingsImportJobsListCall) Header() http.Header { func (c *ProjectsLocationsKeyRingsImportJobsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7540,7 +7540,7 @@ func (c *ProjectsLocationsKeyRingsImportJobsSetIamPolicyCall) Header() http.Head func (c *ProjectsLocationsKeyRingsImportJobsSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7686,7 +7686,7 @@ func (c *ProjectsLocationsKeyRingsImportJobsTestIamPermissionsCall) Header() htt func (c *ProjectsLocationsKeyRingsImportJobsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/cloudprofiler/v2/cloudprofiler-gen.go b/cloudprofiler/v2/cloudprofiler-gen.go index cd82945dfba..74842d935b5 100644 --- a/cloudprofiler/v2/cloudprofiler-gen.go +++ b/cloudprofiler/v2/cloudprofiler-gen.go @@ -407,7 +407,7 @@ func (c *ProjectsProfilesCreateCall) Header() http.Header { func (c *ProjectsProfilesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -551,7 +551,7 @@ func (c *ProjectsProfilesCreateOfflineCall) Header() http.Header { func (c *ProjectsProfilesCreateOfflineCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -706,7 +706,7 @@ func (c *ProjectsProfilesPatchCall) Header() http.Header { func (c *ProjectsProfilesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/cloudresourcemanager/v1/cloudresourcemanager-gen.go b/cloudresourcemanager/v1/cloudresourcemanager-gen.go index 3d2a86f7974..7a1906e5f2b 100644 --- a/cloudresourcemanager/v1/cloudresourcemanager-gen.go +++ b/cloudresourcemanager/v1/cloudresourcemanager-gen.go @@ -2452,7 +2452,7 @@ func (c *FoldersClearOrgPolicyCall) Header() http.Header { func (c *FoldersClearOrgPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2596,7 +2596,7 @@ func (c *FoldersGetEffectiveOrgPolicyCall) Header() http.Header { func (c *FoldersGetEffectiveOrgPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2741,7 +2741,7 @@ func (c *FoldersGetOrgPolicyCall) Header() http.Header { func (c *FoldersGetOrgPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2883,7 +2883,7 @@ func (c *FoldersListAvailableOrgPolicyConstraintsCall) Header() http.Header { func (c *FoldersListAvailableOrgPolicyConstraintsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3048,7 +3048,7 @@ func (c *FoldersListOrgPoliciesCall) Header() http.Header { func (c *FoldersListOrgPoliciesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3213,7 +3213,7 @@ func (c *FoldersSetOrgPolicyCall) Header() http.Header { func (c *FoldersSetOrgPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3355,7 +3355,7 @@ func (c *LiensCreateCall) Header() http.Header { func (c *LiensCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3484,7 +3484,7 @@ func (c *LiensDeleteCall) Header() http.Header { func (c *LiensDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3630,7 +3630,7 @@ func (c *LiensGetCall) Header() http.Header { func (c *LiensGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3801,7 +3801,7 @@ func (c *LiensListCall) Header() http.Header { func (c *LiensListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3973,7 +3973,7 @@ func (c *OperationsGetCall) Header() http.Header { func (c *OperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4109,7 +4109,7 @@ func (c *OrganizationsClearOrgPolicyCall) Header() http.Header { func (c *OrganizationsClearOrgPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4259,7 +4259,7 @@ func (c *OrganizationsGetCall) Header() http.Header { func (c *OrganizationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4399,7 +4399,7 @@ func (c *OrganizationsGetEffectiveOrgPolicyCall) Header() http.Header { func (c *OrganizationsGetEffectiveOrgPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4545,7 +4545,7 @@ func (c *OrganizationsGetIamPolicyCall) Header() http.Header { func (c *OrganizationsGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4690,7 +4690,7 @@ func (c *OrganizationsGetOrgPolicyCall) Header() http.Header { func (c *OrganizationsGetOrgPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4832,7 +4832,7 @@ func (c *OrganizationsListAvailableOrgPolicyConstraintsCall) Header() http.Heade func (c *OrganizationsListAvailableOrgPolicyConstraintsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4997,7 +4997,7 @@ func (c *OrganizationsListOrgPoliciesCall) Header() http.Header { func (c *OrganizationsListOrgPoliciesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5161,7 +5161,7 @@ func (c *OrganizationsSearchCall) Header() http.Header { func (c *OrganizationsSearchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5315,7 +5315,7 @@ func (c *OrganizationsSetIamPolicyCall) Header() http.Header { func (c *OrganizationsSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5458,7 +5458,7 @@ func (c *OrganizationsSetOrgPolicyCall) Header() http.Header { func (c *OrganizationsSetOrgPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5601,7 +5601,7 @@ func (c *OrganizationsTestIamPermissionsCall) Header() http.Header { func (c *OrganizationsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5742,7 +5742,7 @@ func (c *ProjectsClearOrgPolicyCall) Header() http.Header { func (c *ProjectsClearOrgPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5891,7 +5891,7 @@ func (c *ProjectsCreateCall) Header() http.Header { func (c *ProjectsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6027,7 +6027,7 @@ func (c *ProjectsDeleteCall) Header() http.Header { func (c *ProjectsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6169,7 +6169,7 @@ func (c *ProjectsGetCall) Header() http.Header { func (c *ProjectsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6307,7 +6307,7 @@ func (c *ProjectsGetAncestryCall) Header() http.Header { func (c *ProjectsGetAncestryCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6451,7 +6451,7 @@ func (c *ProjectsGetEffectiveOrgPolicyCall) Header() http.Header { func (c *ProjectsGetEffectiveOrgPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6598,7 +6598,7 @@ func (c *ProjectsGetIamPolicyCall) Header() http.Header { func (c *ProjectsGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6742,7 +6742,7 @@ func (c *ProjectsGetOrgPolicyCall) Header() http.Header { func (c *ProjectsGetOrgPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6950,7 +6950,7 @@ func (c *ProjectsListCall) Header() http.Header { func (c *ProjectsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7112,7 +7112,7 @@ func (c *ProjectsListAvailableOrgPolicyConstraintsCall) Header() http.Header { func (c *ProjectsListAvailableOrgPolicyConstraintsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7277,7 +7277,7 @@ func (c *ProjectsListOrgPoliciesCall) Header() http.Header { func (c *ProjectsListOrgPoliciesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7475,7 +7475,7 @@ func (c *ProjectsSetIamPolicyCall) Header() http.Header { func (c *ProjectsSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7617,7 +7617,7 @@ func (c *ProjectsSetOrgPolicyCall) Header() http.Header { func (c *ProjectsSetOrgPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7761,7 +7761,7 @@ func (c *ProjectsTestIamPermissionsCall) Header() http.Header { func (c *ProjectsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7905,7 +7905,7 @@ func (c *ProjectsUndeleteCall) Header() http.Header { func (c *ProjectsUndeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8046,7 +8046,7 @@ func (c *ProjectsUpdateCall) Header() http.Header { func (c *ProjectsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/cloudresourcemanager/v1beta1/cloudresourcemanager-gen.go b/cloudresourcemanager/v1beta1/cloudresourcemanager-gen.go index 89a7b1e4f6a..26d02ea3715 100644 --- a/cloudresourcemanager/v1beta1/cloudresourcemanager-gen.go +++ b/cloudresourcemanager/v1beta1/cloudresourcemanager-gen.go @@ -1534,7 +1534,7 @@ func (c *OrganizationsGetCall) Header() http.Header { func (c *OrganizationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1678,7 +1678,7 @@ func (c *OrganizationsGetIamPolicyCall) Header() http.Header { func (c *OrganizationsGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1858,7 +1858,7 @@ func (c *OrganizationsListCall) Header() http.Header { func (c *OrganizationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2021,7 +2021,7 @@ func (c *OrganizationsSetIamPolicyCall) Header() http.Header { func (c *OrganizationsSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2163,7 +2163,7 @@ func (c *OrganizationsTestIamPermissionsCall) Header() http.Header { func (c *OrganizationsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2305,7 +2305,7 @@ func (c *OrganizationsUpdateCall) Header() http.Header { func (c *OrganizationsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2459,7 +2459,7 @@ func (c *ProjectsCreateCall) Header() http.Header { func (c *ProjectsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2601,7 +2601,7 @@ func (c *ProjectsDeleteCall) Header() http.Header { func (c *ProjectsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2743,7 +2743,7 @@ func (c *ProjectsGetCall) Header() http.Header { func (c *ProjectsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2881,7 +2881,7 @@ func (c *ProjectsGetAncestryCall) Header() http.Header { func (c *ProjectsGetAncestryCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3024,7 +3024,7 @@ func (c *ProjectsGetIamPolicyCall) Header() http.Header { func (c *ProjectsGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3229,7 +3229,7 @@ func (c *ProjectsListCall) Header() http.Header { func (c *ProjectsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3420,7 +3420,7 @@ func (c *ProjectsSetIamPolicyCall) Header() http.Header { func (c *ProjectsSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3560,7 +3560,7 @@ func (c *ProjectsTestIamPermissionsCall) Header() http.Header { func (c *ProjectsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3704,7 +3704,7 @@ func (c *ProjectsUndeleteCall) Header() http.Header { func (c *ProjectsUndeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3845,7 +3845,7 @@ func (c *ProjectsUpdateCall) Header() http.Header { func (c *ProjectsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/cloudresourcemanager/v2/cloudresourcemanager-gen.go b/cloudresourcemanager/v2/cloudresourcemanager-gen.go index 55628dcc057..1ee0bca0bbe 100644 --- a/cloudresourcemanager/v2/cloudresourcemanager-gen.go +++ b/cloudresourcemanager/v2/cloudresourcemanager-gen.go @@ -1477,7 +1477,7 @@ func (c *FoldersCreateCall) Header() http.Header { func (c *FoldersCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1613,7 +1613,7 @@ func (c *FoldersDeleteCall) Header() http.Header { func (c *FoldersDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1757,7 +1757,7 @@ func (c *FoldersGetCall) Header() http.Header { func (c *FoldersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1898,7 +1898,7 @@ func (c *FoldersGetIamPolicyCall) Header() http.Header { func (c *FoldersGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2085,7 +2085,7 @@ func (c *FoldersListCall) Header() http.Header { func (c *FoldersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2264,7 +2264,7 @@ func (c *FoldersMoveCall) Header() http.Header { func (c *FoldersMoveCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2422,7 +2422,7 @@ func (c *FoldersPatchCall) Header() http.Header { func (c *FoldersPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2570,7 +2570,7 @@ func (c *FoldersSearchCall) Header() http.Header { func (c *FoldersSearchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2723,7 +2723,7 @@ func (c *FoldersSetIamPolicyCall) Header() http.Header { func (c *FoldersSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2866,7 +2866,7 @@ func (c *FoldersTestIamPermissionsCall) Header() http.Header { func (c *FoldersTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3013,7 +3013,7 @@ func (c *FoldersUndeleteCall) Header() http.Header { func (c *FoldersUndeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3164,7 +3164,7 @@ func (c *OperationsGetCall) Header() http.Header { func (c *OperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/cloudresourcemanager/v2beta1/cloudresourcemanager-gen.go b/cloudresourcemanager/v2beta1/cloudresourcemanager-gen.go index 37540147118..69138deefa4 100644 --- a/cloudresourcemanager/v2beta1/cloudresourcemanager-gen.go +++ b/cloudresourcemanager/v2beta1/cloudresourcemanager-gen.go @@ -1477,7 +1477,7 @@ func (c *FoldersCreateCall) Header() http.Header { func (c *FoldersCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1613,7 +1613,7 @@ func (c *FoldersDeleteCall) Header() http.Header { func (c *FoldersDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1757,7 +1757,7 @@ func (c *FoldersGetCall) Header() http.Header { func (c *FoldersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1898,7 +1898,7 @@ func (c *FoldersGetIamPolicyCall) Header() http.Header { func (c *FoldersGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2085,7 +2085,7 @@ func (c *FoldersListCall) Header() http.Header { func (c *FoldersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2264,7 +2264,7 @@ func (c *FoldersMoveCall) Header() http.Header { func (c *FoldersMoveCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2422,7 +2422,7 @@ func (c *FoldersPatchCall) Header() http.Header { func (c *FoldersPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2570,7 +2570,7 @@ func (c *FoldersSearchCall) Header() http.Header { func (c *FoldersSearchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2723,7 +2723,7 @@ func (c *FoldersSetIamPolicyCall) Header() http.Header { func (c *FoldersSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2866,7 +2866,7 @@ func (c *FoldersTestIamPermissionsCall) Header() http.Header { func (c *FoldersTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3013,7 +3013,7 @@ func (c *FoldersUndeleteCall) Header() http.Header { func (c *FoldersUndeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3164,7 +3164,7 @@ func (c *OperationsGetCall) Header() http.Header { func (c *OperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/cloudscheduler/v1/cloudscheduler-gen.go b/cloudscheduler/v1/cloudscheduler-gen.go index 22728218f41..9225fc7243b 100644 --- a/cloudscheduler/v1/cloudscheduler-gen.go +++ b/cloudscheduler/v1/cloudscheduler-gen.go @@ -1061,7 +1061,7 @@ func (c *ProjectsLocationsGetCall) Header() http.Header { func (c *ProjectsLocationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1227,7 +1227,7 @@ func (c *ProjectsLocationsListCall) Header() http.Header { func (c *ProjectsLocationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1399,7 +1399,7 @@ func (c *ProjectsLocationsJobsCreateCall) Header() http.Header { func (c *ProjectsLocationsJobsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1537,7 +1537,7 @@ func (c *ProjectsLocationsJobsDeleteCall) Header() http.Header { func (c *ProjectsLocationsJobsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1678,7 +1678,7 @@ func (c *ProjectsLocationsJobsGetCall) Header() http.Header { func (c *ProjectsLocationsJobsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1842,7 +1842,7 @@ func (c *ProjectsLocationsJobsListCall) Header() http.Header { func (c *ProjectsLocationsJobsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2021,7 +2021,7 @@ func (c *ProjectsLocationsJobsPatchCall) Header() http.Header { func (c *ProjectsLocationsJobsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2170,7 +2170,7 @@ func (c *ProjectsLocationsJobsPauseCall) Header() http.Header { func (c *ProjectsLocationsJobsPauseCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2313,7 +2313,7 @@ func (c *ProjectsLocationsJobsResumeCall) Header() http.Header { func (c *ProjectsLocationsJobsResumeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2454,7 +2454,7 @@ func (c *ProjectsLocationsJobsRunCall) Header() http.Header { func (c *ProjectsLocationsJobsRunCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/cloudscheduler/v1beta1/cloudscheduler-gen.go b/cloudscheduler/v1beta1/cloudscheduler-gen.go index 0b31ed4e5a0..7d93dcdd4a6 100644 --- a/cloudscheduler/v1beta1/cloudscheduler-gen.go +++ b/cloudscheduler/v1beta1/cloudscheduler-gen.go @@ -1096,7 +1096,7 @@ func (c *ProjectsLocationsGetCall) Header() http.Header { func (c *ProjectsLocationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1262,7 +1262,7 @@ func (c *ProjectsLocationsListCall) Header() http.Header { func (c *ProjectsLocationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1434,7 +1434,7 @@ func (c *ProjectsLocationsJobsCreateCall) Header() http.Header { func (c *ProjectsLocationsJobsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1582,7 +1582,7 @@ func (c *ProjectsLocationsJobsDeleteCall) Header() http.Header { func (c *ProjectsLocationsJobsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1728,7 +1728,7 @@ func (c *ProjectsLocationsJobsGetCall) Header() http.Header { func (c *ProjectsLocationsJobsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1901,7 +1901,7 @@ func (c *ProjectsLocationsJobsListCall) Header() http.Header { func (c *ProjectsLocationsJobsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2085,7 +2085,7 @@ func (c *ProjectsLocationsJobsPatchCall) Header() http.Header { func (c *ProjectsLocationsJobsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2234,7 +2234,7 @@ func (c *ProjectsLocationsJobsPauseCall) Header() http.Header { func (c *ProjectsLocationsJobsPauseCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2377,7 +2377,7 @@ func (c *ProjectsLocationsJobsResumeCall) Header() http.Header { func (c *ProjectsLocationsJobsResumeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2518,7 +2518,7 @@ func (c *ProjectsLocationsJobsRunCall) Header() http.Header { func (c *ProjectsLocationsJobsRunCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/cloudsearch/v1/cloudsearch-gen.go b/cloudsearch/v1/cloudsearch-gen.go index 60cad6b3f17..1bfea31295a 100644 --- a/cloudsearch/v1/cloudsearch-gen.go +++ b/cloudsearch/v1/cloudsearch-gen.go @@ -6533,7 +6533,7 @@ func (c *DebugDatasourcesItemsCheckAccessCall) Header() http.Header { func (c *DebugDatasourcesItemsCheckAccessCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6681,7 +6681,7 @@ func (c *DebugDatasourcesItemsSearchByViewUrlCall) Header() http.Header { func (c *DebugDatasourcesItemsSearchByViewUrlCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6875,7 +6875,7 @@ func (c *DebugDatasourcesItemsUnmappedidsListCall) Header() http.Header { func (c *DebugDatasourcesItemsUnmappedidsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7093,7 +7093,7 @@ func (c *DebugIdentitysourcesItemsListForunmappedidentityCall) Header() http.Hea func (c *DebugIdentitysourcesItemsListForunmappedidentityCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7329,7 +7329,7 @@ func (c *DebugIdentitysourcesUnmappedidsListCall) Header() http.Header { func (c *DebugIdentitysourcesUnmappedidsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7530,7 +7530,7 @@ func (c *IndexingDatasourcesDeleteSchemaCall) Header() http.Header { func (c *IndexingDatasourcesDeleteSchemaCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7687,7 +7687,7 @@ func (c *IndexingDatasourcesGetSchemaCall) Header() http.Header { func (c *IndexingDatasourcesGetSchemaCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7832,7 +7832,7 @@ func (c *IndexingDatasourcesUpdateSchemaCall) Header() http.Header { func (c *IndexingDatasourcesUpdateSchemaCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8017,7 +8017,7 @@ func (c *IndexingDatasourcesItemsDeleteCall) Header() http.Header { func (c *IndexingDatasourcesItemsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8184,7 +8184,7 @@ func (c *IndexingDatasourcesItemsDeleteQueueItemsCall) Header() http.Header { func (c *IndexingDatasourcesItemsDeleteQueueItemsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8352,7 +8352,7 @@ func (c *IndexingDatasourcesItemsGetCall) Header() http.Header { func (c *IndexingDatasourcesItemsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8503,7 +8503,7 @@ func (c *IndexingDatasourcesItemsIndexCall) Header() http.Header { func (c *IndexingDatasourcesItemsIndexCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8699,7 +8699,7 @@ func (c *IndexingDatasourcesItemsListCall) Header() http.Header { func (c *IndexingDatasourcesItemsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8893,7 +8893,7 @@ func (c *IndexingDatasourcesItemsPollCall) Header() http.Header { func (c *IndexingDatasourcesItemsPollCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9036,7 +9036,7 @@ func (c *IndexingDatasourcesItemsPushCall) Header() http.Header { func (c *IndexingDatasourcesItemsPushCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9181,7 +9181,7 @@ func (c *IndexingDatasourcesItemsUnreserveCall) Header() http.Header { func (c *IndexingDatasourcesItemsUnreserveCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9326,7 +9326,7 @@ func (c *IndexingDatasourcesItemsUploadCall) Header() http.Header { func (c *IndexingDatasourcesItemsUploadCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9523,7 +9523,7 @@ func (c *MediaUploadCall) Header() http.Header { func (c *MediaUploadCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9715,7 +9715,7 @@ func (c *OperationsGetCall) Header() http.Header { func (c *OperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9894,7 +9894,7 @@ func (c *OperationsLroListCall) Header() http.Header { func (c *OperationsLroListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10077,7 +10077,7 @@ func (c *QuerySearchCall) Header() http.Header { func (c *QuerySearchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10208,7 +10208,7 @@ func (c *QuerySuggestCall) Header() http.Header { func (c *QuerySuggestCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10404,7 +10404,7 @@ func (c *QuerySourcesListCall) Header() http.Header { func (c *QuerySourcesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10573,7 +10573,7 @@ func (c *SettingsDatasourcesCreateCall) Header() http.Header { func (c *SettingsDatasourcesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10709,7 +10709,7 @@ func (c *SettingsDatasourcesDeleteCall) Header() http.Header { func (c *SettingsDatasourcesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10866,7 +10866,7 @@ func (c *SettingsDatasourcesGetCall) Header() http.Header { func (c *SettingsDatasourcesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11039,7 +11039,7 @@ func (c *SettingsDatasourcesListCall) Header() http.Header { func (c *SettingsDatasourcesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11202,7 +11202,7 @@ func (c *SettingsDatasourcesUpdateCall) Header() http.Header { func (c *SettingsDatasourcesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11343,7 +11343,7 @@ func (c *SettingsSearchapplicationsCreateCall) Header() http.Header { func (c *SettingsSearchapplicationsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11479,7 +11479,7 @@ func (c *SettingsSearchapplicationsDeleteCall) Header() http.Header { func (c *SettingsSearchapplicationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11636,7 +11636,7 @@ func (c *SettingsSearchapplicationsGetCall) Header() http.Header { func (c *SettingsSearchapplicationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11809,7 +11809,7 @@ func (c *SettingsSearchapplicationsListCall) Header() http.Header { func (c *SettingsSearchapplicationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11973,7 +11973,7 @@ func (c *SettingsSearchapplicationsResetCall) Header() http.Header { func (c *SettingsSearchapplicationsResetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12116,7 +12116,7 @@ func (c *SettingsSearchapplicationsUpdateCall) Header() http.Header { func (c *SettingsSearchapplicationsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12310,7 +12310,7 @@ func (c *StatsGetIndexCall) Header() http.Header { func (c *StatsGetIndexCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12521,7 +12521,7 @@ func (c *StatsGetQueryCall) Header() http.Header { func (c *StatsGetQueryCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12733,7 +12733,7 @@ func (c *StatsGetSessionCall) Header() http.Header { func (c *StatsGetSessionCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12944,7 +12944,7 @@ func (c *StatsGetUserCall) Header() http.Header { func (c *StatsGetUserCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13157,7 +13157,7 @@ func (c *StatsIndexDatasourcesGetCall) Header() http.Header { func (c *StatsIndexDatasourcesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13382,7 +13382,7 @@ func (c *StatsQuerySearchapplicationsGetCall) Header() http.Header { func (c *StatsQuerySearchapplicationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13609,7 +13609,7 @@ func (c *StatsSessionSearchapplicationsGetCall) Header() http.Header { func (c *StatsSessionSearchapplicationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13836,7 +13836,7 @@ func (c *StatsUserSearchapplicationsGetCall) Header() http.Header { func (c *StatsUserSearchapplicationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/cloudshell/v1/cloudshell-gen.go b/cloudshell/v1/cloudshell-gen.go index 3b38a9d3851..378d7eb5eec 100644 --- a/cloudshell/v1/cloudshell-gen.go +++ b/cloudshell/v1/cloudshell-gen.go @@ -740,7 +740,7 @@ func (c *OperationsCancelCall) Header() http.Header { func (c *OperationsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -881,7 +881,7 @@ func (c *OperationsDeleteCall) Header() http.Header { func (c *OperationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1024,7 +1024,7 @@ func (c *OperationsGetCall) Header() http.Header { func (c *OperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1198,7 +1198,7 @@ func (c *OperationsListCall) Header() http.Header { func (c *OperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1373,7 +1373,7 @@ func (c *UsersEnvironmentsAddPublicKeyCall) Header() http.Header { func (c *UsersEnvironmentsAddPublicKeyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1516,7 +1516,7 @@ func (c *UsersEnvironmentsAuthorizeCall) Header() http.Header { func (c *UsersEnvironmentsAuthorizeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1666,7 +1666,7 @@ func (c *UsersEnvironmentsGetCall) Header() http.Header { func (c *UsersEnvironmentsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1804,7 +1804,7 @@ func (c *UsersEnvironmentsRemovePublicKeyCall) Header() http.Header { func (c *UsersEnvironmentsRemovePublicKeyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1950,7 +1950,7 @@ func (c *UsersEnvironmentsStartCall) Header() http.Header { func (c *UsersEnvironmentsStartCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/cloudshell/v1alpha1/cloudshell-gen.go b/cloudshell/v1alpha1/cloudshell-gen.go index 7cdf99e7ba8..5da41581e5f 100644 --- a/cloudshell/v1alpha1/cloudshell-gen.go +++ b/cloudshell/v1alpha1/cloudshell-gen.go @@ -677,7 +677,7 @@ func (c *UsersEnvironmentsAuthorizeCall) Header() http.Header { func (c *UsersEnvironmentsAuthorizeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -827,7 +827,7 @@ func (c *UsersEnvironmentsGetCall) Header() http.Header { func (c *UsersEnvironmentsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -969,7 +969,7 @@ func (c *UsersEnvironmentsPatchCall) Header() http.Header { func (c *UsersEnvironmentsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1121,7 +1121,7 @@ func (c *UsersEnvironmentsStartCall) Header() http.Header { func (c *UsersEnvironmentsStartCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1264,7 +1264,7 @@ func (c *UsersEnvironmentsPublicKeysCreateCall) Header() http.Header { func (c *UsersEnvironmentsPublicKeysCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1404,7 +1404,7 @@ func (c *UsersEnvironmentsPublicKeysDeleteCall) Header() http.Header { func (c *UsersEnvironmentsPublicKeysDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/cloudtasks/v2/cloudtasks-gen.go b/cloudtasks/v2/cloudtasks-gen.go index 21038934f06..63597f9a6aa 100644 --- a/cloudtasks/v2/cloudtasks-gen.go +++ b/cloudtasks/v2/cloudtasks-gen.go @@ -1893,7 +1893,7 @@ func (c *ProjectsLocationsGetCall) Header() http.Header { func (c *ProjectsLocationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2059,7 +2059,7 @@ func (c *ProjectsLocationsListCall) Header() http.Header { func (c *ProjectsLocationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2238,7 +2238,7 @@ func (c *ProjectsLocationsQueuesCreateCall) Header() http.Header { func (c *ProjectsLocationsQueuesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2383,7 +2383,7 @@ func (c *ProjectsLocationsQueuesDeleteCall) Header() http.Header { func (c *ProjectsLocationsQueuesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2524,7 +2524,7 @@ func (c *ProjectsLocationsQueuesGetCall) Header() http.Header { func (c *ProjectsLocationsQueuesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2663,7 +2663,7 @@ func (c *ProjectsLocationsQueuesGetIamPolicyCall) Header() http.Header { func (c *ProjectsLocationsQueuesGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2846,7 +2846,7 @@ func (c *ProjectsLocationsQueuesListCall) Header() http.Header { func (c *ProjectsLocationsQueuesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3035,7 +3035,7 @@ func (c *ProjectsLocationsQueuesPatchCall) Header() http.Header { func (c *ProjectsLocationsQueuesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3184,7 +3184,7 @@ func (c *ProjectsLocationsQueuesPauseCall) Header() http.Header { func (c *ProjectsLocationsQueuesPauseCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3327,7 +3327,7 @@ func (c *ProjectsLocationsQueuesPurgeCall) Header() http.Header { func (c *ProjectsLocationsQueuesPurgeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3473,7 +3473,7 @@ func (c *ProjectsLocationsQueuesResumeCall) Header() http.Header { func (c *ProjectsLocationsQueuesResumeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3618,7 +3618,7 @@ func (c *ProjectsLocationsQueuesSetIamPolicyCall) Header() http.Header { func (c *ProjectsLocationsQueuesSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3763,7 +3763,7 @@ func (c *ProjectsLocationsQueuesTestIamPermissionsCall) Header() http.Header { func (c *ProjectsLocationsQueuesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3905,7 +3905,7 @@ func (c *ProjectsLocationsQueuesTasksCreateCall) Header() http.Header { func (c *ProjectsLocationsQueuesTasksCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4045,7 +4045,7 @@ func (c *ProjectsLocationsQueuesTasksDeleteCall) Header() http.Header { func (c *ProjectsLocationsQueuesTasksDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4210,7 +4210,7 @@ func (c *ProjectsLocationsQueuesTasksGetCall) Header() http.Header { func (c *ProjectsLocationsQueuesTasksGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4417,7 +4417,7 @@ func (c *ProjectsLocationsQueuesTasksListCall) Header() http.Header { func (c *ProjectsLocationsQueuesTasksListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4612,7 +4612,7 @@ func (c *ProjectsLocationsQueuesTasksRunCall) Header() http.Header { func (c *ProjectsLocationsQueuesTasksRunCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/cloudtasks/v2beta2/cloudtasks-gen.go b/cloudtasks/v2beta2/cloudtasks-gen.go index 216cdefa1c2..d3b95e67d56 100644 --- a/cloudtasks/v2beta2/cloudtasks-gen.go +++ b/cloudtasks/v2beta2/cloudtasks-gen.go @@ -2113,7 +2113,7 @@ func (c *ProjectsLocationsGetCall) Header() http.Header { func (c *ProjectsLocationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2279,7 +2279,7 @@ func (c *ProjectsLocationsListCall) Header() http.Header { func (c *ProjectsLocationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2458,7 +2458,7 @@ func (c *ProjectsLocationsQueuesCreateCall) Header() http.Header { func (c *ProjectsLocationsQueuesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2603,7 +2603,7 @@ func (c *ProjectsLocationsQueuesDeleteCall) Header() http.Header { func (c *ProjectsLocationsQueuesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2755,7 +2755,7 @@ func (c *ProjectsLocationsQueuesGetCall) Header() http.Header { func (c *ProjectsLocationsQueuesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2900,7 +2900,7 @@ func (c *ProjectsLocationsQueuesGetIamPolicyCall) Header() http.Header { func (c *ProjectsLocationsQueuesGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3094,7 +3094,7 @@ func (c *ProjectsLocationsQueuesListCall) Header() http.Header { func (c *ProjectsLocationsQueuesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3289,7 +3289,7 @@ func (c *ProjectsLocationsQueuesPatchCall) Header() http.Header { func (c *ProjectsLocationsQueuesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3438,7 +3438,7 @@ func (c *ProjectsLocationsQueuesPauseCall) Header() http.Header { func (c *ProjectsLocationsQueuesPauseCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3581,7 +3581,7 @@ func (c *ProjectsLocationsQueuesPurgeCall) Header() http.Header { func (c *ProjectsLocationsQueuesPurgeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3727,7 +3727,7 @@ func (c *ProjectsLocationsQueuesResumeCall) Header() http.Header { func (c *ProjectsLocationsQueuesResumeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3872,7 +3872,7 @@ func (c *ProjectsLocationsQueuesSetIamPolicyCall) Header() http.Header { func (c *ProjectsLocationsQueuesSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4017,7 +4017,7 @@ func (c *ProjectsLocationsQueuesTestIamPermissionsCall) Header() http.Header { func (c *ProjectsLocationsQueuesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4163,7 +4163,7 @@ func (c *ProjectsLocationsQueuesTasksAcknowledgeCall) Header() http.Header { func (c *ProjectsLocationsQueuesTasksAcknowledgeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4306,7 +4306,7 @@ func (c *ProjectsLocationsQueuesTasksCancelLeaseCall) Header() http.Header { func (c *ProjectsLocationsQueuesTasksCancelLeaseCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4449,7 +4449,7 @@ func (c *ProjectsLocationsQueuesTasksCreateCall) Header() http.Header { func (c *ProjectsLocationsQueuesTasksCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4589,7 +4589,7 @@ func (c *ProjectsLocationsQueuesTasksDeleteCall) Header() http.Header { func (c *ProjectsLocationsQueuesTasksDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4755,7 +4755,7 @@ func (c *ProjectsLocationsQueuesTasksGetCall) Header() http.Header { func (c *ProjectsLocationsQueuesTasksGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4914,7 +4914,7 @@ func (c *ProjectsLocationsQueuesTasksLeaseCall) Header() http.Header { func (c *ProjectsLocationsQueuesTasksLeaseCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5112,7 +5112,7 @@ func (c *ProjectsLocationsQueuesTasksListCall) Header() http.Header { func (c *ProjectsLocationsQueuesTasksListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5296,7 +5296,7 @@ func (c *ProjectsLocationsQueuesTasksRenewLeaseCall) Header() http.Header { func (c *ProjectsLocationsQueuesTasksRenewLeaseCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5449,7 +5449,7 @@ func (c *ProjectsLocationsQueuesTasksRunCall) Header() http.Header { func (c *ProjectsLocationsQueuesTasksRunCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/cloudtasks/v2beta3/cloudtasks-gen.go b/cloudtasks/v2beta3/cloudtasks-gen.go index bf409c92652..1139701c7db 100644 --- a/cloudtasks/v2beta3/cloudtasks-gen.go +++ b/cloudtasks/v2beta3/cloudtasks-gen.go @@ -2060,7 +2060,7 @@ func (c *ProjectsLocationsGetCall) Header() http.Header { func (c *ProjectsLocationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2226,7 +2226,7 @@ func (c *ProjectsLocationsListCall) Header() http.Header { func (c *ProjectsLocationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2405,7 +2405,7 @@ func (c *ProjectsLocationsQueuesCreateCall) Header() http.Header { func (c *ProjectsLocationsQueuesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2550,7 +2550,7 @@ func (c *ProjectsLocationsQueuesDeleteCall) Header() http.Header { func (c *ProjectsLocationsQueuesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2702,7 +2702,7 @@ func (c *ProjectsLocationsQueuesGetCall) Header() http.Header { func (c *ProjectsLocationsQueuesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2847,7 +2847,7 @@ func (c *ProjectsLocationsQueuesGetIamPolicyCall) Header() http.Header { func (c *ProjectsLocationsQueuesGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3041,7 +3041,7 @@ func (c *ProjectsLocationsQueuesListCall) Header() http.Header { func (c *ProjectsLocationsQueuesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3236,7 +3236,7 @@ func (c *ProjectsLocationsQueuesPatchCall) Header() http.Header { func (c *ProjectsLocationsQueuesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3385,7 +3385,7 @@ func (c *ProjectsLocationsQueuesPauseCall) Header() http.Header { func (c *ProjectsLocationsQueuesPauseCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3528,7 +3528,7 @@ func (c *ProjectsLocationsQueuesPurgeCall) Header() http.Header { func (c *ProjectsLocationsQueuesPurgeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3674,7 +3674,7 @@ func (c *ProjectsLocationsQueuesResumeCall) Header() http.Header { func (c *ProjectsLocationsQueuesResumeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3819,7 +3819,7 @@ func (c *ProjectsLocationsQueuesSetIamPolicyCall) Header() http.Header { func (c *ProjectsLocationsQueuesSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3964,7 +3964,7 @@ func (c *ProjectsLocationsQueuesTestIamPermissionsCall) Header() http.Header { func (c *ProjectsLocationsQueuesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4106,7 +4106,7 @@ func (c *ProjectsLocationsQueuesTasksCreateCall) Header() http.Header { func (c *ProjectsLocationsQueuesTasksCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4246,7 +4246,7 @@ func (c *ProjectsLocationsQueuesTasksDeleteCall) Header() http.Header { func (c *ProjectsLocationsQueuesTasksDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4411,7 +4411,7 @@ func (c *ProjectsLocationsQueuesTasksGetCall) Header() http.Header { func (c *ProjectsLocationsQueuesTasksGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4618,7 +4618,7 @@ func (c *ProjectsLocationsQueuesTasksListCall) Header() http.Header { func (c *ProjectsLocationsQueuesTasksListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4813,7 +4813,7 @@ func (c *ProjectsLocationsQueuesTasksRunCall) Header() http.Header { func (c *ProjectsLocationsQueuesTasksRunCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/cloudtrace/v1/cloudtrace-gen.go b/cloudtrace/v1/cloudtrace-gen.go index 4616f45bc05..9449e2a024a 100644 --- a/cloudtrace/v1/cloudtrace-gen.go +++ b/cloudtrace/v1/cloudtrace-gen.go @@ -419,7 +419,7 @@ func (c *ProjectsPatchTracesCall) Header() http.Header { func (c *ProjectsPatchTracesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -570,7 +570,7 @@ func (c *ProjectsTracesGetCall) Header() http.Header { func (c *ProjectsTracesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -813,7 +813,7 @@ func (c *ProjectsTracesListCall) Header() http.Header { func (c *ProjectsTracesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/cloudtrace/v2/cloudtrace-gen.go b/cloudtrace/v2/cloudtrace-gen.go index b81a4e06ad6..6a61ef078bd 100644 --- a/cloudtrace/v2/cloudtrace-gen.go +++ b/cloudtrace/v2/cloudtrace-gen.go @@ -947,7 +947,7 @@ func (c *ProjectsTracesBatchWriteCall) Header() http.Header { func (c *ProjectsTracesBatchWriteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1088,7 +1088,7 @@ func (c *ProjectsTracesSpansCreateSpanCall) Header() http.Header { func (c *ProjectsTracesSpansCreateSpanCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/cloudtrace/v2beta1/cloudtrace-gen.go b/cloudtrace/v2beta1/cloudtrace-gen.go index a5bbc2da3f0..d7df562a1e4 100644 --- a/cloudtrace/v2beta1/cloudtrace-gen.go +++ b/cloudtrace/v2beta1/cloudtrace-gen.go @@ -353,7 +353,7 @@ func (c *ProjectsTraceSinksCreateCall) Header() http.Header { func (c *ProjectsTraceSinksCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -492,7 +492,7 @@ func (c *ProjectsTraceSinksDeleteCall) Header() http.Header { func (c *ProjectsTraceSinksDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -635,7 +635,7 @@ func (c *ProjectsTraceSinksGetCall) Header() http.Header { func (c *ProjectsTraceSinksGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -799,7 +799,7 @@ func (c *ProjectsTraceSinksListCall) Header() http.Header { func (c *ProjectsTraceSinksListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -982,7 +982,7 @@ func (c *ProjectsTraceSinksPatchCall) Header() http.Header { func (c *ProjectsTraceSinksPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/composer/v1/composer-gen.go b/composer/v1/composer-gen.go index 958b7edea27..1b63313d4e8 100644 --- a/composer/v1/composer-gen.go +++ b/composer/v1/composer-gen.go @@ -1186,7 +1186,7 @@ func (c *ProjectsLocationsEnvironmentsCreateCall) Header() http.Header { func (c *ProjectsLocationsEnvironmentsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1324,7 +1324,7 @@ func (c *ProjectsLocationsEnvironmentsDeleteCall) Header() http.Header { func (c *ProjectsLocationsEnvironmentsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1465,7 +1465,7 @@ func (c *ProjectsLocationsEnvironmentsGetCall) Header() http.Header { func (c *ProjectsLocationsEnvironmentsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1623,7 +1623,7 @@ func (c *ProjectsLocationsEnvironmentsListCall) Header() http.Header { func (c *ProjectsLocationsEnvironmentsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1864,7 +1864,7 @@ func (c *ProjectsLocationsEnvironmentsPatchCall) Header() http.Header { func (c *ProjectsLocationsEnvironmentsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2041,7 +2041,7 @@ func (c *ProjectsLocationsImageVersionsListCall) Header() http.Header { func (c *ProjectsLocationsImageVersionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2214,7 +2214,7 @@ func (c *ProjectsLocationsOperationsDeleteCall) Header() http.Header { func (c *ProjectsLocationsOperationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2357,7 +2357,7 @@ func (c *ProjectsLocationsOperationsGetCall) Header() http.Header { func (c *ProjectsLocationsOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2531,7 +2531,7 @@ func (c *ProjectsLocationsOperationsListCall) Header() http.Header { func (c *ProjectsLocationsOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/composer/v1beta1/composer-gen.go b/composer/v1beta1/composer-gen.go index f0b0c009654..d0dd75c3f33 100644 --- a/composer/v1beta1/composer-gen.go +++ b/composer/v1beta1/composer-gen.go @@ -1374,7 +1374,7 @@ func (c *ProjectsLocationsEnvironmentsCreateCall) Header() http.Header { func (c *ProjectsLocationsEnvironmentsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1512,7 +1512,7 @@ func (c *ProjectsLocationsEnvironmentsDeleteCall) Header() http.Header { func (c *ProjectsLocationsEnvironmentsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1653,7 +1653,7 @@ func (c *ProjectsLocationsEnvironmentsGetCall) Header() http.Header { func (c *ProjectsLocationsEnvironmentsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1811,7 +1811,7 @@ func (c *ProjectsLocationsEnvironmentsListCall) Header() http.Header { func (c *ProjectsLocationsEnvironmentsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2065,7 +2065,7 @@ func (c *ProjectsLocationsEnvironmentsPatchCall) Header() http.Header { func (c *ProjectsLocationsEnvironmentsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2211,7 +2211,7 @@ func (c *ProjectsLocationsEnvironmentsRestartWebServerCall) Header() http.Header func (c *ProjectsLocationsEnvironmentsRestartWebServerCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2382,7 +2382,7 @@ func (c *ProjectsLocationsImageVersionsListCall) Header() http.Header { func (c *ProjectsLocationsImageVersionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2555,7 +2555,7 @@ func (c *ProjectsLocationsOperationsDeleteCall) Header() http.Header { func (c *ProjectsLocationsOperationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2698,7 +2698,7 @@ func (c *ProjectsLocationsOperationsGetCall) Header() http.Header { func (c *ProjectsLocationsOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2872,7 +2872,7 @@ func (c *ProjectsLocationsOperationsListCall) Header() http.Header { func (c *ProjectsLocationsOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/compute/v0.alpha/compute-gen.go b/compute/v0.alpha/compute-gen.go index c361323b013..64723a97958 100644 --- a/compute/v0.alpha/compute-gen.go +++ b/compute/v0.alpha/compute-gen.go @@ -53052,7 +53052,7 @@ func (c *AcceleratorTypesAggregatedListCall) Header() http.Header { func (c *AcceleratorTypesAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -53255,7 +53255,7 @@ func (c *AcceleratorTypesGetCall) Header() http.Header { func (c *AcceleratorTypesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -53495,7 +53495,7 @@ func (c *AcceleratorTypesListCall) Header() http.Header { func (c *AcceleratorTypesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -53786,7 +53786,7 @@ func (c *AddressesAggregatedListCall) Header() http.Header { func (c *AddressesAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -53998,7 +53998,7 @@ func (c *AddressesDeleteCall) Header() http.Header { func (c *AddressesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -54167,7 +54167,7 @@ func (c *AddressesGetCall) Header() http.Header { func (c *AddressesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -54344,7 +54344,7 @@ func (c *AddressesInsertCall) Header() http.Header { func (c *AddressesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -54585,7 +54585,7 @@ func (c *AddressesListCall) Header() http.Header { func (c *AddressesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -54803,7 +54803,7 @@ func (c *AddressesSetLabelsCall) Header() http.Header { func (c *AddressesSetLabelsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -54971,7 +54971,7 @@ func (c *AddressesTestIamPermissionsCall) Header() http.Header { func (c *AddressesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -55226,7 +55226,7 @@ func (c *AutoscalersAggregatedListCall) Header() http.Header { func (c *AutoscalersAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -55437,7 +55437,7 @@ func (c *AutoscalersDeleteCall) Header() http.Header { func (c *AutoscalersDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -55606,7 +55606,7 @@ func (c *AutoscalersGetCall) Header() http.Header { func (c *AutoscalersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -55782,7 +55782,7 @@ func (c *AutoscalersInsertCall) Header() http.Header { func (c *AutoscalersInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -56022,7 +56022,7 @@ func (c *AutoscalersListCall) Header() http.Header { func (c *AutoscalersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -56246,7 +56246,7 @@ func (c *AutoscalersPatchCall) Header() http.Header { func (c *AutoscalersPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -56411,7 +56411,7 @@ func (c *AutoscalersTestIamPermissionsCall) Header() http.Header { func (c *AutoscalersTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -56599,7 +56599,7 @@ func (c *AutoscalersUpdateCall) Header() http.Header { func (c *AutoscalersUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -56781,7 +56781,7 @@ func (c *BackendBucketsAddSignedUrlKeyCall) Header() http.Header { func (c *BackendBucketsAddSignedUrlKeyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -56953,7 +56953,7 @@ func (c *BackendBucketsDeleteCall) Header() http.Header { func (c *BackendBucketsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -57120,7 +57120,7 @@ func (c *BackendBucketsDeleteSignedUrlKeyCall) Header() http.Header { func (c *BackendBucketsDeleteSignedUrlKeyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -57284,7 +57284,7 @@ func (c *BackendBucketsGetCall) Header() http.Header { func (c *BackendBucketsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -57448,7 +57448,7 @@ func (c *BackendBucketsGetIamPolicyCall) Header() http.Header { func (c *BackendBucketsGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -57619,7 +57619,7 @@ func (c *BackendBucketsInsertCall) Header() http.Header { func (c *BackendBucketsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -57848,7 +57848,7 @@ func (c *BackendBucketsListCall) Header() http.Header { func (c *BackendBucketsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -58056,7 +58056,7 @@ func (c *BackendBucketsPatchCall) Header() http.Header { func (c *BackendBucketsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -58232,7 +58232,7 @@ func (c *BackendBucketsSetEdgeSecurityPolicyCall) Header() http.Header { func (c *BackendBucketsSetEdgeSecurityPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -58388,7 +58388,7 @@ func (c *BackendBucketsSetIamPolicyCall) Header() http.Header { func (c *BackendBucketsSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -58540,7 +58540,7 @@ func (c *BackendBucketsTestIamPermissionsCall) Header() http.Header { func (c *BackendBucketsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -58712,7 +58712,7 @@ func (c *BackendBucketsUpdateCall) Header() http.Header { func (c *BackendBucketsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -58888,7 +58888,7 @@ func (c *BackendServicesAddSignedUrlKeyCall) Header() http.Header { func (c *BackendServicesAddSignedUrlKeyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -59138,7 +59138,7 @@ func (c *BackendServicesAggregatedListCall) Header() http.Header { func (c *BackendServicesAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -59348,7 +59348,7 @@ func (c *BackendServicesDeleteCall) Header() http.Header { func (c *BackendServicesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -59515,7 +59515,7 @@ func (c *BackendServicesDeleteSignedUrlKeyCall) Header() http.Header { func (c *BackendServicesDeleteSignedUrlKeyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -59680,7 +59680,7 @@ func (c *BackendServicesGetCall) Header() http.Header { func (c *BackendServicesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -59833,7 +59833,7 @@ func (c *BackendServicesGetHealthCall) Header() http.Header { func (c *BackendServicesGetHealthCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -60004,7 +60004,7 @@ func (c *BackendServicesInsertCall) Header() http.Header { func (c *BackendServicesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -60234,7 +60234,7 @@ func (c *BackendServicesListCall) Header() http.Header { func (c *BackendServicesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -60444,7 +60444,7 @@ func (c *BackendServicesPatchCall) Header() http.Header { func (c *BackendServicesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -60620,7 +60620,7 @@ func (c *BackendServicesSetEdgeSecurityPolicyCall) Header() http.Header { func (c *BackendServicesSetEdgeSecurityPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -60795,7 +60795,7 @@ func (c *BackendServicesSetSecurityPolicyCall) Header() http.Header { func (c *BackendServicesSetSecurityPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -60951,7 +60951,7 @@ func (c *BackendServicesTestIamPermissionsCall) Header() http.Header { func (c *BackendServicesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -61125,7 +61125,7 @@ func (c *BackendServicesUpdateCall) Header() http.Header { func (c *BackendServicesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -61376,7 +61376,7 @@ func (c *DiskTypesAggregatedListCall) Header() http.Header { func (c *DiskTypesAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -61581,7 +61581,7 @@ func (c *DiskTypesGetCall) Header() http.Header { func (c *DiskTypesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -61822,7 +61822,7 @@ func (c *DiskTypesListCall) Header() http.Header { func (c *DiskTypesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -62041,7 +62041,7 @@ func (c *DisksAddResourcePoliciesCall) Header() http.Header { func (c *DisksAddResourcePoliciesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -62301,7 +62301,7 @@ func (c *DisksAggregatedListCall) Header() http.Header { func (c *DisksAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -62524,7 +62524,7 @@ func (c *DisksCreateSnapshotCall) Header() http.Header { func (c *DisksCreateSnapshotCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -62717,7 +62717,7 @@ func (c *DisksDeleteCall) Header() http.Header { func (c *DisksDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -62886,7 +62886,7 @@ func (c *DisksGetCall) Header() http.Header { func (c *DisksGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -63061,7 +63061,7 @@ func (c *DisksGetIamPolicyCall) Header() http.Header { func (c *DisksGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -63255,7 +63255,7 @@ func (c *DisksInsertCall) Header() http.Header { func (c *DisksInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -63501,7 +63501,7 @@ func (c *DisksListCall) Header() http.Header { func (c *DisksListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -63718,7 +63718,7 @@ func (c *DisksRemoveResourcePoliciesCall) Header() http.Header { func (c *DisksRemoveResourcePoliciesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -63905,7 +63905,7 @@ func (c *DisksResizeCall) Header() http.Header { func (c *DisksResizeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -64073,7 +64073,7 @@ func (c *DisksSetIamPolicyCall) Header() http.Header { func (c *DisksSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -64255,7 +64255,7 @@ func (c *DisksSetLabelsCall) Header() http.Header { func (c *DisksSetLabelsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -64423,7 +64423,7 @@ func (c *DisksTestIamPermissionsCall) Header() http.Header { func (c *DisksTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -64615,7 +64615,7 @@ func (c *DisksUpdateCall) Header() http.Header { func (c *DisksUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -64803,7 +64803,7 @@ func (c *ExternalVpnGatewaysDeleteCall) Header() http.Header { func (c *ExternalVpnGatewaysDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -64961,7 +64961,7 @@ func (c *ExternalVpnGatewaysGetCall) Header() http.Header { func (c *ExternalVpnGatewaysGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -65126,7 +65126,7 @@ func (c *ExternalVpnGatewaysInsertCall) Header() http.Header { func (c *ExternalVpnGatewaysInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -65355,7 +65355,7 @@ func (c *ExternalVpnGatewaysListCall) Header() http.Header { func (c *ExternalVpnGatewaysListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -65543,7 +65543,7 @@ func (c *ExternalVpnGatewaysSetLabelsCall) Header() http.Header { func (c *ExternalVpnGatewaysSetLabelsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -65695,7 +65695,7 @@ func (c *ExternalVpnGatewaysTestIamPermissionsCall) Header() http.Header { func (c *ExternalVpnGatewaysTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -65865,7 +65865,7 @@ func (c *FirewallsDeleteCall) Header() http.Header { func (c *FirewallsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -66023,7 +66023,7 @@ func (c *FirewallsGetCall) Header() http.Header { func (c *FirewallsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -66189,7 +66189,7 @@ func (c *FirewallsInsertCall) Header() http.Header { func (c *FirewallsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -66419,7 +66419,7 @@ func (c *FirewallsListCall) Header() http.Header { func (c *FirewallsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -66628,7 +66628,7 @@ func (c *FirewallsPatchCall) Header() http.Header { func (c *FirewallsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -66785,7 +66785,7 @@ func (c *FirewallsTestIamPermissionsCall) Header() http.Header { func (c *FirewallsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -66960,7 +66960,7 @@ func (c *FirewallsUpdateCall) Header() http.Header { func (c *FirewallsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -67211,7 +67211,7 @@ func (c *ForwardingRulesAggregatedListCall) Header() http.Header { func (c *ForwardingRulesAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -67423,7 +67423,7 @@ func (c *ForwardingRulesDeleteCall) Header() http.Header { func (c *ForwardingRulesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -67592,7 +67592,7 @@ func (c *ForwardingRulesGetCall) Header() http.Header { func (c *ForwardingRulesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -67769,7 +67769,7 @@ func (c *ForwardingRulesInsertCall) Header() http.Header { func (c *ForwardingRulesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -68010,7 +68010,7 @@ func (c *ForwardingRulesListCall) Header() http.Header { func (c *ForwardingRulesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -68230,7 +68230,7 @@ func (c *ForwardingRulesPatchCall) Header() http.Header { func (c *ForwardingRulesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -68417,7 +68417,7 @@ func (c *ForwardingRulesSetLabelsCall) Header() http.Header { func (c *ForwardingRulesSetLabelsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -68605,7 +68605,7 @@ func (c *ForwardingRulesSetTargetCall) Header() http.Header { func (c *ForwardingRulesSetTargetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -68773,7 +68773,7 @@ func (c *ForwardingRulesTestIamPermissionsCall) Header() http.Header { func (c *ForwardingRulesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -68952,7 +68952,7 @@ func (c *GlobalAddressesDeleteCall) Header() http.Header { func (c *GlobalAddressesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -69111,7 +69111,7 @@ func (c *GlobalAddressesGetCall) Header() http.Header { func (c *GlobalAddressesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -69273,7 +69273,7 @@ func (c *GlobalAddressesGetOwnerInstanceCall) Header() http.Header { func (c *GlobalAddressesGetOwnerInstanceCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -69434,7 +69434,7 @@ func (c *GlobalAddressesInsertCall) Header() http.Header { func (c *GlobalAddressesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -69663,7 +69663,7 @@ func (c *GlobalAddressesListCall) Header() http.Header { func (c *GlobalAddressesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -69851,7 +69851,7 @@ func (c *GlobalAddressesSetLabelsCall) Header() http.Header { func (c *GlobalAddressesSetLabelsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -70003,7 +70003,7 @@ func (c *GlobalAddressesTestIamPermissionsCall) Header() http.Header { func (c *GlobalAddressesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -70173,7 +70173,7 @@ func (c *GlobalForwardingRulesDeleteCall) Header() http.Header { func (c *GlobalForwardingRulesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -70332,7 +70332,7 @@ func (c *GlobalForwardingRulesGetCall) Header() http.Header { func (c *GlobalForwardingRulesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -70498,7 +70498,7 @@ func (c *GlobalForwardingRulesInsertCall) Header() http.Header { func (c *GlobalForwardingRulesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -70728,7 +70728,7 @@ func (c *GlobalForwardingRulesListCall) Header() http.Header { func (c *GlobalForwardingRulesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -70937,7 +70937,7 @@ func (c *GlobalForwardingRulesPatchCall) Header() http.Header { func (c *GlobalForwardingRulesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -71094,7 +71094,7 @@ func (c *GlobalForwardingRulesSetLabelsCall) Header() http.Header { func (c *GlobalForwardingRulesSetLabelsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -71266,7 +71266,7 @@ func (c *GlobalForwardingRulesSetTargetCall) Header() http.Header { func (c *GlobalForwardingRulesSetTargetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -71423,7 +71423,7 @@ func (c *GlobalForwardingRulesTestIamPermissionsCall) Header() http.Header { func (c *GlobalForwardingRulesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -71595,7 +71595,7 @@ func (c *GlobalNetworkEndpointGroupsAttachNetworkEndpointsCall) Header() http.He func (c *GlobalNetworkEndpointGroupsAttachNetworkEndpointsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -71768,7 +71768,7 @@ func (c *GlobalNetworkEndpointGroupsDeleteCall) Header() http.Header { func (c *GlobalNetworkEndpointGroupsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -71935,7 +71935,7 @@ func (c *GlobalNetworkEndpointGroupsDetachNetworkEndpointsCall) Header() http.He func (c *GlobalNetworkEndpointGroupsDetachNetworkEndpointsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -72100,7 +72100,7 @@ func (c *GlobalNetworkEndpointGroupsGetCall) Header() http.Header { func (c *GlobalNetworkEndpointGroupsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -72264,7 +72264,7 @@ func (c *GlobalNetworkEndpointGroupsInsertCall) Header() http.Header { func (c *GlobalNetworkEndpointGroupsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -72493,7 +72493,7 @@ func (c *GlobalNetworkEndpointGroupsListCall) Header() http.Header { func (c *GlobalNetworkEndpointGroupsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -72753,7 +72753,7 @@ func (c *GlobalNetworkEndpointGroupsListNetworkEndpointsCall) Header() http.Head func (c *GlobalNetworkEndpointGroupsListNetworkEndpointsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -73042,7 +73042,7 @@ func (c *GlobalOperationsAggregatedListCall) Header() http.Header { func (c *GlobalOperationsAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -73233,7 +73233,7 @@ func (c *GlobalOperationsDeleteCall) Header() http.Header { func (c *GlobalOperationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -73359,7 +73359,7 @@ func (c *GlobalOperationsGetCall) Header() http.Header { func (c *GlobalOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -73589,7 +73589,7 @@ func (c *GlobalOperationsListCall) Header() http.Header { func (c *GlobalOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -73787,7 +73787,7 @@ func (c *GlobalOperationsWaitCall) Header() http.Header { func (c *GlobalOperationsWaitCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -73934,7 +73934,7 @@ func (c *GlobalOrganizationOperationsDeleteCall) Header() http.Header { func (c *GlobalOrganizationOperationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -74060,7 +74060,7 @@ func (c *GlobalOrganizationOperationsGetCall) Header() http.Header { func (c *GlobalOrganizationOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -74290,7 +74290,7 @@ func (c *GlobalOrganizationOperationsListCall) Header() http.Header { func (c *GlobalOrganizationOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -74486,7 +74486,7 @@ func (c *GlobalPublicDelegatedPrefixesDeleteCall) Header() http.Header { func (c *GlobalPublicDelegatedPrefixesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -74643,7 +74643,7 @@ func (c *GlobalPublicDelegatedPrefixesGetCall) Header() http.Header { func (c *GlobalPublicDelegatedPrefixesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -74808,7 +74808,7 @@ func (c *GlobalPublicDelegatedPrefixesInsertCall) Header() http.Header { func (c *GlobalPublicDelegatedPrefixesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -75036,7 +75036,7 @@ func (c *GlobalPublicDelegatedPrefixesListCall) Header() http.Header { func (c *GlobalPublicDelegatedPrefixesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -75244,7 +75244,7 @@ func (c *GlobalPublicDelegatedPrefixesPatchCall) Header() http.Header { func (c *GlobalPublicDelegatedPrefixesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -75495,7 +75495,7 @@ func (c *HealthChecksAggregatedListCall) Header() http.Header { func (c *HealthChecksAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -75704,7 +75704,7 @@ func (c *HealthChecksDeleteCall) Header() http.Header { func (c *HealthChecksDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -75862,7 +75862,7 @@ func (c *HealthChecksGetCall) Header() http.Header { func (c *HealthChecksGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -76027,7 +76027,7 @@ func (c *HealthChecksInsertCall) Header() http.Header { func (c *HealthChecksInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -76256,7 +76256,7 @@ func (c *HealthChecksListCall) Header() http.Header { func (c *HealthChecksListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -76464,7 +76464,7 @@ func (c *HealthChecksPatchCall) Header() http.Header { func (c *HealthChecksPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -76621,7 +76621,7 @@ func (c *HealthChecksTestIamPermissionsCall) Header() http.Header { func (c *HealthChecksTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -76793,7 +76793,7 @@ func (c *HealthChecksUpdateCall) Header() http.Header { func (c *HealthChecksUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -76967,7 +76967,7 @@ func (c *HttpHealthChecksDeleteCall) Header() http.Header { func (c *HttpHealthChecksDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -77126,7 +77126,7 @@ func (c *HttpHealthChecksGetCall) Header() http.Header { func (c *HttpHealthChecksGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -77292,7 +77292,7 @@ func (c *HttpHealthChecksInsertCall) Header() http.Header { func (c *HttpHealthChecksInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -77522,7 +77522,7 @@ func (c *HttpHealthChecksListCall) Header() http.Header { func (c *HttpHealthChecksListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -77731,7 +77731,7 @@ func (c *HttpHealthChecksPatchCall) Header() http.Header { func (c *HttpHealthChecksPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -77888,7 +77888,7 @@ func (c *HttpHealthChecksTestIamPermissionsCall) Header() http.Header { func (c *HttpHealthChecksTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -78061,7 +78061,7 @@ func (c *HttpHealthChecksUpdateCall) Header() http.Header { func (c *HttpHealthChecksUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -78234,7 +78234,7 @@ func (c *HttpsHealthChecksDeleteCall) Header() http.Header { func (c *HttpsHealthChecksDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -78392,7 +78392,7 @@ func (c *HttpsHealthChecksGetCall) Header() http.Header { func (c *HttpsHealthChecksGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -78557,7 +78557,7 @@ func (c *HttpsHealthChecksInsertCall) Header() http.Header { func (c *HttpsHealthChecksInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -78786,7 +78786,7 @@ func (c *HttpsHealthChecksListCall) Header() http.Header { func (c *HttpsHealthChecksListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -78994,7 +78994,7 @@ func (c *HttpsHealthChecksPatchCall) Header() http.Header { func (c *HttpsHealthChecksPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -79151,7 +79151,7 @@ func (c *HttpsHealthChecksTestIamPermissionsCall) Header() http.Header { func (c *HttpsHealthChecksTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -79323,7 +79323,7 @@ func (c *HttpsHealthChecksUpdateCall) Header() http.Header { func (c *HttpsHealthChecksUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -79497,7 +79497,7 @@ func (c *ImagesDeleteCall) Header() http.Header { func (c *ImagesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -79668,7 +79668,7 @@ func (c *ImagesDeprecateCall) Header() http.Header { func (c *ImagesDeprecateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -79835,7 +79835,7 @@ func (c *ImagesGetCall) Header() http.Header { func (c *ImagesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -79992,7 +79992,7 @@ func (c *ImagesGetFromFamilyCall) Header() http.Header { func (c *ImagesGetFromFamilyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -80156,7 +80156,7 @@ func (c *ImagesGetIamPolicyCall) Header() http.Header { func (c *ImagesGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -80335,7 +80335,7 @@ func (c *ImagesInsertCall) Header() http.Header { func (c *ImagesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -80578,7 +80578,7 @@ func (c *ImagesListCall) Header() http.Header { func (c *ImagesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -80786,7 +80786,7 @@ func (c *ImagesPatchCall) Header() http.Header { func (c *ImagesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -80943,7 +80943,7 @@ func (c *ImagesSetIamPolicyCall) Header() http.Header { func (c *ImagesSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -81095,7 +81095,7 @@ func (c *ImagesSetLabelsCall) Header() http.Header { func (c *ImagesSetLabelsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -81247,7 +81247,7 @@ func (c *ImagesTestIamPermissionsCall) Header() http.Header { func (c *ImagesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -81436,7 +81436,7 @@ func (c *InstanceGroupManagersAbandonInstancesCall) Header() http.Header { func (c *InstanceGroupManagersAbandonInstancesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -81694,7 +81694,7 @@ func (c *InstanceGroupManagersAggregatedListCall) Header() http.Header { func (c *InstanceGroupManagersAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -81891,7 +81891,7 @@ func (c *InstanceGroupManagersApplyUpdatesToInstancesCall) Header() http.Header func (c *InstanceGroupManagersApplyUpdatesToInstancesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -82074,7 +82074,7 @@ func (c *InstanceGroupManagersCreateInstancesCall) Header() http.Header { func (c *InstanceGroupManagersCreateInstancesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -82259,7 +82259,7 @@ func (c *InstanceGroupManagersDeleteCall) Header() http.Header { func (c *InstanceGroupManagersDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -82450,7 +82450,7 @@ func (c *InstanceGroupManagersDeleteInstancesCall) Header() http.Header { func (c *InstanceGroupManagersDeleteInstancesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -82616,7 +82616,7 @@ func (c *InstanceGroupManagersDeletePerInstanceConfigsCall) Header() http.Header func (c *InstanceGroupManagersDeletePerInstanceConfigsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -82787,7 +82787,7 @@ func (c *InstanceGroupManagersGetCall) Header() http.Header { func (c *InstanceGroupManagersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -82969,7 +82969,7 @@ func (c *InstanceGroupManagersInsertCall) Header() http.Header { func (c *InstanceGroupManagersInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -83208,7 +83208,7 @@ func (c *InstanceGroupManagersListCall) Header() http.Header { func (c *InstanceGroupManagersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -83490,7 +83490,7 @@ func (c *InstanceGroupManagersListErrorsCall) Header() http.Header { func (c *InstanceGroupManagersListErrorsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -83774,7 +83774,7 @@ func (c *InstanceGroupManagersListManagedInstancesCall) Header() http.Header { func (c *InstanceGroupManagersListManagedInstancesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -84052,7 +84052,7 @@ func (c *InstanceGroupManagersListPerInstanceConfigsCall) Header() http.Header { func (c *InstanceGroupManagersListPerInstanceConfigsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -84281,7 +84281,7 @@ func (c *InstanceGroupManagersPatchCall) Header() http.Header { func (c *InstanceGroupManagersPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -84467,7 +84467,7 @@ func (c *InstanceGroupManagersPatchPerInstanceConfigsCall) Header() http.Header func (c *InstanceGroupManagersPatchPerInstanceConfigsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -84665,7 +84665,7 @@ func (c *InstanceGroupManagersRecreateInstancesCall) Header() http.Header { func (c *InstanceGroupManagersRecreateInstancesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -84868,7 +84868,7 @@ func (c *InstanceGroupManagersResizeCall) Header() http.Header { func (c *InstanceGroupManagersResizeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -85066,7 +85066,7 @@ func (c *InstanceGroupManagersResizeAdvancedCall) Header() http.Header { func (c *InstanceGroupManagersResizeAdvancedCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -85252,7 +85252,7 @@ func (c *InstanceGroupManagersSetAutoHealingPoliciesCall) Header() http.Header { func (c *InstanceGroupManagersSetAutoHealingPoliciesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -85440,7 +85440,7 @@ func (c *InstanceGroupManagersSetInstanceTemplateCall) Header() http.Header { func (c *InstanceGroupManagersSetInstanceTemplateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -85630,7 +85630,7 @@ func (c *InstanceGroupManagersSetTargetPoolsCall) Header() http.Header { func (c *InstanceGroupManagersSetTargetPoolsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -85796,7 +85796,7 @@ func (c *InstanceGroupManagersTestIamPermissionsCall) Header() http.Header { func (c *InstanceGroupManagersTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -85982,7 +85982,7 @@ func (c *InstanceGroupManagersUpdateCall) Header() http.Header { func (c *InstanceGroupManagersUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -86168,7 +86168,7 @@ func (c *InstanceGroupManagersUpdatePerInstanceConfigsCall) Header() http.Header func (c *InstanceGroupManagersUpdatePerInstanceConfigsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -86354,7 +86354,7 @@ func (c *InstanceGroupsAddInstancesCall) Header() http.Header { func (c *InstanceGroupsAddInstancesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -86612,7 +86612,7 @@ func (c *InstanceGroupsAggregatedListCall) Header() http.Header { func (c *InstanceGroupsAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -86826,7 +86826,7 @@ func (c *InstanceGroupsDeleteCall) Header() http.Header { func (c *InstanceGroupsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -86996,7 +86996,7 @@ func (c *InstanceGroupsGetCall) Header() http.Header { func (c *InstanceGroupsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -87170,7 +87170,7 @@ func (c *InstanceGroupsInsertCall) Header() http.Header { func (c *InstanceGroupsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -87412,7 +87412,7 @@ func (c *InstanceGroupsListCall) Header() http.Header { func (c *InstanceGroupsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -87684,7 +87684,7 @@ func (c *InstanceGroupsListInstancesCall) Header() http.Header { func (c *InstanceGroupsListInstancesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -87918,7 +87918,7 @@ func (c *InstanceGroupsRemoveInstancesCall) Header() http.Header { func (c *InstanceGroupsRemoveInstancesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -88102,7 +88102,7 @@ func (c *InstanceGroupsSetNamedPortsCall) Header() http.Header { func (c *InstanceGroupsSetNamedPortsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -88268,7 +88268,7 @@ func (c *InstanceGroupsTestIamPermissionsCall) Header() http.Header { func (c *InstanceGroupsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -88449,7 +88449,7 @@ func (c *InstanceTemplatesDeleteCall) Header() http.Header { func (c *InstanceTemplatesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -88608,7 +88608,7 @@ func (c *InstanceTemplatesGetCall) Header() http.Header { func (c *InstanceTemplatesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -88772,7 +88772,7 @@ func (c *InstanceTemplatesGetIamPolicyCall) Header() http.Header { func (c *InstanceTemplatesGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -88947,7 +88947,7 @@ func (c *InstanceTemplatesInsertCall) Header() http.Header { func (c *InstanceTemplatesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -89177,7 +89177,7 @@ func (c *InstanceTemplatesListCall) Header() http.Header { func (c *InstanceTemplatesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -89365,7 +89365,7 @@ func (c *InstanceTemplatesSetIamPolicyCall) Header() http.Header { func (c *InstanceTemplatesSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -89517,7 +89517,7 @@ func (c *InstanceTemplatesTestIamPermissionsCall) Header() http.Header { func (c *InstanceTemplatesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -89693,7 +89693,7 @@ func (c *InstancesAddAccessConfigCall) Header() http.Header { func (c *InstancesAddAccessConfigCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -89888,7 +89888,7 @@ func (c *InstancesAddResourcePoliciesCall) Header() http.Header { func (c *InstancesAddResourcePoliciesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -90149,7 +90149,7 @@ func (c *InstancesAggregatedListCall) Header() http.Header { func (c *InstancesAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -90375,7 +90375,7 @@ func (c *InstancesAttachDiskCall) Header() http.Header { func (c *InstancesAttachDiskCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -90565,7 +90565,7 @@ func (c *InstancesBulkInsertCall) Header() http.Header { func (c *InstancesBulkInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -90742,7 +90742,7 @@ func (c *InstancesDeleteCall) Header() http.Header { func (c *InstancesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -90922,7 +90922,7 @@ func (c *InstancesDeleteAccessConfigCall) Header() http.Header { func (c *InstancesDeleteAccessConfigCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -91114,7 +91114,7 @@ func (c *InstancesDetachDiskCall) Header() http.Header { func (c *InstancesDetachDiskCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -91291,7 +91291,7 @@ func (c *InstancesGetCall) Header() http.Header { func (c *InstancesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -91460,7 +91460,7 @@ func (c *InstancesGetEffectiveFirewallsCall) Header() http.Header { func (c *InstancesGetEffectiveFirewallsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -91649,7 +91649,7 @@ func (c *InstancesGetGuestAttributesCall) Header() http.Header { func (c *InstancesGetGuestAttributesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -91834,7 +91834,7 @@ func (c *InstancesGetIamPolicyCall) Header() http.Header { func (c *InstancesGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -92007,7 +92007,7 @@ func (c *InstancesGetScreenshotCall) Header() http.Header { func (c *InstancesGetScreenshotCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -92205,7 +92205,7 @@ func (c *InstancesGetSerialPortOutputCall) Header() http.Header { func (c *InstancesGetSerialPortOutputCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -92388,7 +92388,7 @@ func (c *InstancesGetShieldedInstanceIdentityCall) Header() http.Header { func (c *InstancesGetShieldedInstanceIdentityCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -92556,7 +92556,7 @@ func (c *InstancesGetShieldedVmIdentityCall) Header() http.Header { func (c *InstancesGetShieldedVmIdentityCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -92762,7 +92762,7 @@ func (c *InstancesInsertCall) Header() http.Header { func (c *InstancesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -93013,7 +93013,7 @@ func (c *InstancesListCall) Header() http.Header { func (c *InstancesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -93298,7 +93298,7 @@ func (c *InstancesListReferrersCall) Header() http.Header { func (c *InstancesListReferrersCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -93524,7 +93524,7 @@ func (c *InstancesRemoveResourcePoliciesCall) Header() http.Header { func (c *InstancesRemoveResourcePoliciesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -93711,7 +93711,7 @@ func (c *InstancesResetCall) Header() http.Header { func (c *InstancesResetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -93890,7 +93890,7 @@ func (c *InstancesResumeCall) Header() http.Header { func (c *InstancesResumeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -94081,7 +94081,7 @@ func (c *InstancesSetDeletionProtectionCall) Header() http.Header { func (c *InstancesSetDeletionProtectionCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -94267,7 +94267,7 @@ func (c *InstancesSetDiskAutoDeleteCall) Header() http.Header { func (c *InstancesSetDiskAutoDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -94442,7 +94442,7 @@ func (c *InstancesSetIamPolicyCall) Header() http.Header { func (c *InstancesSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -94624,7 +94624,7 @@ func (c *InstancesSetLabelsCall) Header() http.Header { func (c *InstancesSetLabelsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -94811,7 +94811,7 @@ func (c *InstancesSetMachineResourcesCall) Header() http.Header { func (c *InstancesSetMachineResourcesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -94998,7 +94998,7 @@ func (c *InstancesSetMachineTypeCall) Header() http.Header { func (c *InstancesSetMachineTypeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -95186,7 +95186,7 @@ func (c *InstancesSetMetadataCall) Header() http.Header { func (c *InstancesSetMetadataCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -95375,7 +95375,7 @@ func (c *InstancesSetMinCpuPlatformCall) Header() http.Header { func (c *InstancesSetMinCpuPlatformCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -95561,7 +95561,7 @@ func (c *InstancesSetNameCall) Header() http.Header { func (c *InstancesSetNameCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -95751,7 +95751,7 @@ func (c *InstancesSetSchedulingCall) Header() http.Header { func (c *InstancesSetSchedulingCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -95939,7 +95939,7 @@ func (c *InstancesSetServiceAccountCall) Header() http.Header { func (c *InstancesSetServiceAccountCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -96128,7 +96128,7 @@ func (c *InstancesSetShieldedInstanceIntegrityPolicyCall) Header() http.Header { func (c *InstancesSetShieldedInstanceIntegrityPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -96317,7 +96317,7 @@ func (c *InstancesSetShieldedVmIntegrityPolicyCall) Header() http.Header { func (c *InstancesSetShieldedVmIntegrityPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -96505,7 +96505,7 @@ func (c *InstancesSetTagsCall) Header() http.Header { func (c *InstancesSetTagsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -96671,7 +96671,7 @@ func (c *InstancesSimulateMaintenanceEventCall) Header() http.Header { func (c *InstancesSimulateMaintenanceEventCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -96844,7 +96844,7 @@ func (c *InstancesStartCall) Header() http.Header { func (c *InstancesStartCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -97024,7 +97024,7 @@ func (c *InstancesStartWithEncryptionKeyCall) Header() http.Header { func (c *InstancesStartWithEncryptionKeyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -97222,7 +97222,7 @@ func (c *InstancesStopCall) Header() http.Header { func (c *InstancesStopCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -97416,7 +97416,7 @@ func (c *InstancesSuspendCall) Header() http.Header { func (c *InstancesSuspendCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -97581,7 +97581,7 @@ func (c *InstancesTestIamPermissionsCall) Header() http.Header { func (c *InstancesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -97798,7 +97798,7 @@ func (c *InstancesUpdateCall) Header() http.Header { func (c *InstancesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -98022,7 +98022,7 @@ func (c *InstancesUpdateAccessConfigCall) Header() http.Header { func (c *InstancesUpdateAccessConfigCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -98218,7 +98218,7 @@ func (c *InstancesUpdateDisplayDeviceCall) Header() http.Header { func (c *InstancesUpdateDisplayDeviceCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -98406,7 +98406,7 @@ func (c *InstancesUpdateNetworkInterfaceCall) Header() http.Header { func (c *InstancesUpdateNetworkInterfaceCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -98602,7 +98602,7 @@ func (c *InstancesUpdateShieldedInstanceConfigCall) Header() http.Header { func (c *InstancesUpdateShieldedInstanceConfigCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -98791,7 +98791,7 @@ func (c *InstancesUpdateShieldedVmConfigCall) Header() http.Header { func (c *InstancesUpdateShieldedVmConfigCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -99051,7 +99051,7 @@ func (c *InterconnectAttachmentsAggregatedListCall) Header() http.Header { func (c *InterconnectAttachmentsAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -99263,7 +99263,7 @@ func (c *InterconnectAttachmentsDeleteCall) Header() http.Header { func (c *InterconnectAttachmentsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -99431,7 +99431,7 @@ func (c *InterconnectAttachmentsGetCall) Header() http.Header { func (c *InterconnectAttachmentsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -99606,7 +99606,7 @@ func (c *InterconnectAttachmentsGetIamPolicyCall) Header() http.Header { func (c *InterconnectAttachmentsGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -99795,7 +99795,7 @@ func (c *InterconnectAttachmentsInsertCall) Header() http.Header { func (c *InterconnectAttachmentsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -100040,7 +100040,7 @@ func (c *InterconnectAttachmentsListCall) Header() http.Header { func (c *InterconnectAttachmentsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -100259,7 +100259,7 @@ func (c *InterconnectAttachmentsPatchCall) Header() http.Header { func (c *InterconnectAttachmentsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -100427,7 +100427,7 @@ func (c *InterconnectAttachmentsSetIamPolicyCall) Header() http.Header { func (c *InterconnectAttachmentsSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -100609,7 +100609,7 @@ func (c *InterconnectAttachmentsSetLabelsCall) Header() http.Header { func (c *InterconnectAttachmentsSetLabelsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -100777,7 +100777,7 @@ func (c *InterconnectAttachmentsTestIamPermissionsCall) Header() http.Header { func (c *InterconnectAttachmentsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -100949,7 +100949,7 @@ func (c *InterconnectLocationsGetCall) Header() http.Header { func (c *InterconnectLocationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -101178,7 +101178,7 @@ func (c *InterconnectLocationsListCall) Header() http.Header { func (c *InterconnectLocationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -101366,7 +101366,7 @@ func (c *InterconnectLocationsTestIamPermissionsCall) Header() http.Header { func (c *InterconnectLocationsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -101535,7 +101535,7 @@ func (c *InterconnectsDeleteCall) Header() http.Header { func (c *InterconnectsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -101693,7 +101693,7 @@ func (c *InterconnectsGetCall) Header() http.Header { func (c *InterconnectsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -101850,7 +101850,7 @@ func (c *InterconnectsGetDiagnosticsCall) Header() http.Header { func (c *InterconnectsGetDiagnosticsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -102015,7 +102015,7 @@ func (c *InterconnectsGetIamPolicyCall) Header() http.Header { func (c *InterconnectsGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -102186,7 +102186,7 @@ func (c *InterconnectsInsertCall) Header() http.Header { func (c *InterconnectsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -102415,7 +102415,7 @@ func (c *InterconnectsListCall) Header() http.Header { func (c *InterconnectsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -102623,7 +102623,7 @@ func (c *InterconnectsPatchCall) Header() http.Header { func (c *InterconnectsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -102780,7 +102780,7 @@ func (c *InterconnectsSetIamPolicyCall) Header() http.Header { func (c *InterconnectsSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -102932,7 +102932,7 @@ func (c *InterconnectsSetLabelsCall) Header() http.Header { func (c *InterconnectsSetLabelsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -103084,7 +103084,7 @@ func (c *InterconnectsTestIamPermissionsCall) Header() http.Header { func (c *InterconnectsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -103248,7 +103248,7 @@ func (c *LicenseCodesGetCall) Header() http.Header { func (c *LicenseCodesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -103414,7 +103414,7 @@ func (c *LicenseCodesGetIamPolicyCall) Header() http.Header { func (c *LicenseCodesGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -103570,7 +103570,7 @@ func (c *LicenseCodesSetIamPolicyCall) Header() http.Header { func (c *LicenseCodesSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -103723,7 +103723,7 @@ func (c *LicenseCodesTestIamPermissionsCall) Header() http.Header { func (c *LicenseCodesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -103894,7 +103894,7 @@ func (c *LicensesDeleteCall) Header() http.Header { func (c *LicensesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -104054,7 +104054,7 @@ func (c *LicensesGetCall) Header() http.Header { func (c *LicensesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -104220,7 +104220,7 @@ func (c *LicensesGetIamPolicyCall) Header() http.Header { func (c *LicensesGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -104392,7 +104392,7 @@ func (c *LicensesInsertCall) Header() http.Header { func (c *LicensesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -104630,7 +104630,7 @@ func (c *LicensesListCall) Header() http.Header { func (c *LicensesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -104820,7 +104820,7 @@ func (c *LicensesSetIamPolicyCall) Header() http.Header { func (c *LicensesSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -104973,7 +104973,7 @@ func (c *LicensesTestIamPermissionsCall) Header() http.Header { func (c *LicensesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -105143,7 +105143,7 @@ func (c *MachineImagesDeleteCall) Header() http.Header { func (c *MachineImagesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -105301,7 +105301,7 @@ func (c *MachineImagesGetCall) Header() http.Header { func (c *MachineImagesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -105465,7 +105465,7 @@ func (c *MachineImagesGetIamPolicyCall) Header() http.Header { func (c *MachineImagesGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -105647,7 +105647,7 @@ func (c *MachineImagesInsertCall) Header() http.Header { func (c *MachineImagesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -105881,7 +105881,7 @@ func (c *MachineImagesListCall) Header() http.Header { func (c *MachineImagesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -106069,7 +106069,7 @@ func (c *MachineImagesSetIamPolicyCall) Header() http.Header { func (c *MachineImagesSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -106221,7 +106221,7 @@ func (c *MachineImagesTestIamPermissionsCall) Header() http.Header { func (c *MachineImagesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -106468,7 +106468,7 @@ func (c *MachineTypesAggregatedListCall) Header() http.Header { func (c *MachineTypesAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -106673,7 +106673,7 @@ func (c *MachineTypesGetCall) Header() http.Header { func (c *MachineTypesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -106914,7 +106914,7 @@ func (c *MachineTypesListCall) Header() http.Header { func (c *MachineTypesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -107205,7 +107205,7 @@ func (c *NetworkEndpointGroupsAggregatedListCall) Header() http.Header { func (c *NetworkEndpointGroupsAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -107420,7 +107420,7 @@ func (c *NetworkEndpointGroupsAttachNetworkEndpointsCall) Header() http.Header { func (c *NetworkEndpointGroupsAttachNetworkEndpointsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -107605,7 +107605,7 @@ func (c *NetworkEndpointGroupsDeleteCall) Header() http.Header { func (c *NetworkEndpointGroupsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -107782,7 +107782,7 @@ func (c *NetworkEndpointGroupsDetachNetworkEndpointsCall) Header() http.Header { func (c *NetworkEndpointGroupsDetachNetworkEndpointsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -107957,7 +107957,7 @@ func (c *NetworkEndpointGroupsGetCall) Header() http.Header { func (c *NetworkEndpointGroupsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -108131,7 +108131,7 @@ func (c *NetworkEndpointGroupsInsertCall) Header() http.Header { func (c *NetworkEndpointGroupsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -108370,7 +108370,7 @@ func (c *NetworkEndpointGroupsListCall) Header() http.Header { func (c *NetworkEndpointGroupsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -108642,7 +108642,7 @@ func (c *NetworkEndpointGroupsListNetworkEndpointsCall) Header() http.Header { func (c *NetworkEndpointGroupsListNetworkEndpointsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -108855,7 +108855,7 @@ func (c *NetworkEndpointGroupsTestIamPermissionsCall) Header() http.Header { func (c *NetworkEndpointGroupsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -109046,7 +109046,7 @@ func (c *NetworkFirewallPoliciesAddAssociationCall) Header() http.Header { func (c *NetworkFirewallPoliciesAddAssociationCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -109207,7 +109207,7 @@ func (c *NetworkFirewallPoliciesAddRuleCall) Header() http.Header { func (c *NetworkFirewallPoliciesAddRuleCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -109382,7 +109382,7 @@ func (c *NetworkFirewallPoliciesCloneRulesCall) Header() http.Header { func (c *NetworkFirewallPoliciesCloneRulesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -109552,7 +109552,7 @@ func (c *NetworkFirewallPoliciesDeleteCall) Header() http.Header { func (c *NetworkFirewallPoliciesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -109709,7 +109709,7 @@ func (c *NetworkFirewallPoliciesGetCall) Header() http.Header { func (c *NetworkFirewallPoliciesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -109872,7 +109872,7 @@ func (c *NetworkFirewallPoliciesGetAssociationCall) Header() http.Header { func (c *NetworkFirewallPoliciesGetAssociationCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -110041,7 +110041,7 @@ func (c *NetworkFirewallPoliciesGetIamPolicyCall) Header() http.Header { func (c *NetworkFirewallPoliciesGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -110210,7 +110210,7 @@ func (c *NetworkFirewallPoliciesGetRuleCall) Header() http.Header { func (c *NetworkFirewallPoliciesGetRuleCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -110381,7 +110381,7 @@ func (c *NetworkFirewallPoliciesInsertCall) Header() http.Header { func (c *NetworkFirewallPoliciesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -110610,7 +110610,7 @@ func (c *NetworkFirewallPoliciesListCall) Header() http.Header { func (c *NetworkFirewallPoliciesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -110817,7 +110817,7 @@ func (c *NetworkFirewallPoliciesPatchCall) Header() http.Header { func (c *NetworkFirewallPoliciesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -110980,7 +110980,7 @@ func (c *NetworkFirewallPoliciesPatchRuleCall) Header() http.Header { func (c *NetworkFirewallPoliciesPatchRuleCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -111162,7 +111162,7 @@ func (c *NetworkFirewallPoliciesRemoveAssociationCall) Header() http.Header { func (c *NetworkFirewallPoliciesRemoveAssociationCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -111320,7 +111320,7 @@ func (c *NetworkFirewallPoliciesRemoveRuleCall) Header() http.Header { func (c *NetworkFirewallPoliciesRemoveRuleCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -111470,7 +111470,7 @@ func (c *NetworkFirewallPoliciesSetIamPolicyCall) Header() http.Header { func (c *NetworkFirewallPoliciesSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -111622,7 +111622,7 @@ func (c *NetworkFirewallPoliciesTestIamPermissionsCall) Header() http.Header { func (c *NetworkFirewallPoliciesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -111793,7 +111793,7 @@ func (c *NetworksAddPeeringCall) Header() http.Header { func (c *NetworksAddPeeringCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -111967,7 +111967,7 @@ func (c *NetworksDeleteCall) Header() http.Header { func (c *NetworksDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -112126,7 +112126,7 @@ func (c *NetworksGetCall) Header() http.Header { func (c *NetworksGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -112283,7 +112283,7 @@ func (c *NetworksGetEffectiveFirewallsCall) Header() http.Header { func (c *NetworksGetEffectiveFirewallsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -112450,7 +112450,7 @@ func (c *NetworksInsertCall) Header() http.Header { func (c *NetworksInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -112680,7 +112680,7 @@ func (c *NetworksListCall) Header() http.Header { func (c *NetworksListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -112959,7 +112959,7 @@ func (c *NetworksListIpAddressesCall) Header() http.Header { func (c *NetworksListIpAddressesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -113278,7 +113278,7 @@ func (c *NetworksListIpOwnersCall) Header() http.Header { func (c *NetworksListIpOwnersCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -113611,7 +113611,7 @@ func (c *NetworksListPeeringRoutesCall) Header() http.Header { func (c *NetworksListPeeringRoutesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -113851,7 +113851,7 @@ func (c *NetworksPatchCall) Header() http.Header { func (c *NetworksPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -114026,7 +114026,7 @@ func (c *NetworksRemovePeeringCall) Header() http.Header { func (c *NetworksRemovePeeringCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -114200,7 +114200,7 @@ func (c *NetworksSwitchToCustomModeCall) Header() http.Header { func (c *NetworksSwitchToCustomModeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -114349,7 +114349,7 @@ func (c *NetworksTestIamPermissionsCall) Header() http.Header { func (c *NetworksTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -114523,7 +114523,7 @@ func (c *NetworksUpdatePeeringCall) Header() http.Header { func (c *NetworksUpdatePeeringCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -114700,7 +114700,7 @@ func (c *NodeGroupsAddNodesCall) Header() http.Header { func (c *NodeGroupsAddNodesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -114960,7 +114960,7 @@ func (c *NodeGroupsAggregatedListCall) Header() http.Header { func (c *NodeGroupsAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -115171,7 +115171,7 @@ func (c *NodeGroupsDeleteCall) Header() http.Header { func (c *NodeGroupsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -115349,7 +115349,7 @@ func (c *NodeGroupsDeleteNodesCall) Header() http.Header { func (c *NodeGroupsDeleteNodesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -115527,7 +115527,7 @@ func (c *NodeGroupsGetCall) Header() http.Header { func (c *NodeGroupsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -115702,7 +115702,7 @@ func (c *NodeGroupsGetIamPolicyCall) Header() http.Header { func (c *NodeGroupsGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -115885,7 +115885,7 @@ func (c *NodeGroupsInsertCall) Header() http.Header { func (c *NodeGroupsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -116134,7 +116134,7 @@ func (c *NodeGroupsListCall) Header() http.Header { func (c *NodeGroupsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -116404,7 +116404,7 @@ func (c *NodeGroupsListNodesCall) Header() http.Header { func (c *NodeGroupsListNodesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -116627,7 +116627,7 @@ func (c *NodeGroupsPatchCall) Header() http.Header { func (c *NodeGroupsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -116795,7 +116795,7 @@ func (c *NodeGroupsSetIamPolicyCall) Header() http.Header { func (c *NodeGroupsSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -116976,7 +116976,7 @@ func (c *NodeGroupsSetNodeTemplateCall) Header() http.Header { func (c *NodeGroupsSetNodeTemplateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -117144,7 +117144,7 @@ func (c *NodeGroupsTestIamPermissionsCall) Header() http.Header { func (c *NodeGroupsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -117399,7 +117399,7 @@ func (c *NodeTemplatesAggregatedListCall) Header() http.Header { func (c *NodeTemplatesAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -117610,7 +117610,7 @@ func (c *NodeTemplatesDeleteCall) Header() http.Header { func (c *NodeTemplatesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -117779,7 +117779,7 @@ func (c *NodeTemplatesGetCall) Header() http.Header { func (c *NodeTemplatesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -117954,7 +117954,7 @@ func (c *NodeTemplatesGetIamPolicyCall) Header() http.Header { func (c *NodeTemplatesGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -118136,7 +118136,7 @@ func (c *NodeTemplatesInsertCall) Header() http.Header { func (c *NodeTemplatesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -118376,7 +118376,7 @@ func (c *NodeTemplatesListCall) Header() http.Header { func (c *NodeTemplatesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -118575,7 +118575,7 @@ func (c *NodeTemplatesSetIamPolicyCall) Header() http.Header { func (c *NodeTemplatesSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -118738,7 +118738,7 @@ func (c *NodeTemplatesTestIamPermissionsCall) Header() http.Header { func (c *NodeTemplatesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -118993,7 +118993,7 @@ func (c *NodeTypesAggregatedListCall) Header() http.Header { func (c *NodeTypesAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -119197,7 +119197,7 @@ func (c *NodeTypesGetCall) Header() http.Header { func (c *NodeTypesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -119437,7 +119437,7 @@ func (c *NodeTypesListCall) Header() http.Header { func (c *NodeTypesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -119661,7 +119661,7 @@ func (c *OrganizationSecurityPoliciesAddAssociationCall) Header() http.Header { func (c *OrganizationSecurityPoliciesAddAssociationCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -119830,7 +119830,7 @@ func (c *OrganizationSecurityPoliciesAddRuleCall) Header() http.Header { func (c *OrganizationSecurityPoliciesAddRuleCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -119999,7 +119999,7 @@ func (c *OrganizationSecurityPoliciesCopyRulesCall) Header() http.Header { func (c *OrganizationSecurityPoliciesCopyRulesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -120158,7 +120158,7 @@ func (c *OrganizationSecurityPoliciesDeleteCall) Header() http.Header { func (c *OrganizationSecurityPoliciesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -120305,7 +120305,7 @@ func (c *OrganizationSecurityPoliciesGetCall) Header() http.Header { func (c *OrganizationSecurityPoliciesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -120457,7 +120457,7 @@ func (c *OrganizationSecurityPoliciesGetAssociationCall) Header() http.Header { func (c *OrganizationSecurityPoliciesGetAssociationCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -120614,7 +120614,7 @@ func (c *OrganizationSecurityPoliciesGetRuleCall) Header() http.Header { func (c *OrganizationSecurityPoliciesGetRuleCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -120783,7 +120783,7 @@ func (c *OrganizationSecurityPoliciesInsertCall) Header() http.Header { func (c *OrganizationSecurityPoliciesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -121009,7 +121009,7 @@ func (c *OrganizationSecurityPoliciesListCall) Header() http.Header { func (c *OrganizationSecurityPoliciesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -121202,7 +121202,7 @@ func (c *OrganizationSecurityPoliciesListAssociationsCall) Header() http.Header func (c *OrganizationSecurityPoliciesListAssociationsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -121355,7 +121355,7 @@ func (c *OrganizationSecurityPoliciesMoveCall) Header() http.Header { func (c *OrganizationSecurityPoliciesMoveCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -121517,7 +121517,7 @@ func (c *OrganizationSecurityPoliciesPatchCall) Header() http.Header { func (c *OrganizationSecurityPoliciesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -121688,7 +121688,7 @@ func (c *OrganizationSecurityPoliciesPatchRuleCall) Header() http.Header { func (c *OrganizationSecurityPoliciesPatchRuleCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -121864,7 +121864,7 @@ func (c *OrganizationSecurityPoliciesRemoveAssociationCall) Header() http.Header func (c *OrganizationSecurityPoliciesRemoveAssociationCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -122030,7 +122030,7 @@ func (c *OrganizationSecurityPoliciesRemoveRuleCall) Header() http.Header { func (c *OrganizationSecurityPoliciesRemoveRuleCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -122269,7 +122269,7 @@ func (c *PacketMirroringsAggregatedListCall) Header() http.Header { func (c *PacketMirroringsAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -122480,7 +122480,7 @@ func (c *PacketMirroringsDeleteCall) Header() http.Header { func (c *PacketMirroringsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -122648,7 +122648,7 @@ func (c *PacketMirroringsGetCall) Header() http.Header { func (c *PacketMirroringsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -122824,7 +122824,7 @@ func (c *PacketMirroringsInsertCall) Header() http.Header { func (c *PacketMirroringsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -123064,7 +123064,7 @@ func (c *PacketMirroringsListCall) Header() http.Header { func (c *PacketMirroringsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -123283,7 +123283,7 @@ func (c *PacketMirroringsPatchCall) Header() http.Header { func (c *PacketMirroringsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -123451,7 +123451,7 @@ func (c *PacketMirroringsTestIamPermissionsCall) Header() http.Header { func (c *PacketMirroringsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -123627,7 +123627,7 @@ func (c *ProjectsDisableXpnHostCall) Header() http.Header { func (c *ProjectsDisableXpnHostCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -123784,7 +123784,7 @@ func (c *ProjectsDisableXpnResourceCall) Header() http.Header { func (c *ProjectsDisableXpnResourceCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -123946,7 +123946,7 @@ func (c *ProjectsEnableXpnHostCall) Header() http.Header { func (c *ProjectsEnableXpnHostCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -124104,7 +124104,7 @@ func (c *ProjectsEnableXpnResourceCall) Header() http.Header { func (c *ProjectsEnableXpnResourceCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -124259,7 +124259,7 @@ func (c *ProjectsGetCall) Header() http.Header { func (c *ProjectsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -124405,7 +124405,7 @@ func (c *ProjectsGetXpnHostCall) Header() http.Header { func (c *ProjectsGetXpnHostCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -124624,7 +124624,7 @@ func (c *ProjectsGetXpnResourcesCall) Header() http.Header { func (c *ProjectsGetXpnResourcesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -124883,7 +124883,7 @@ func (c *ProjectsListXpnHostsCall) Header() http.Header { func (c *ProjectsListXpnHostsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -125091,7 +125091,7 @@ func (c *ProjectsMoveDiskCall) Header() http.Header { func (c *ProjectsMoveDiskCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -125256,7 +125256,7 @@ func (c *ProjectsMoveInstanceCall) Header() http.Header { func (c *ProjectsMoveInstanceCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -125422,7 +125422,7 @@ func (c *ProjectsSetCommonInstanceMetadataCall) Header() http.Header { func (c *ProjectsSetCommonInstanceMetadataCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -125589,7 +125589,7 @@ func (c *ProjectsSetDefaultNetworkTierCall) Header() http.Header { func (c *ProjectsSetDefaultNetworkTierCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -125755,7 +125755,7 @@ func (c *ProjectsSetDefaultServiceAccountCall) Header() http.Header { func (c *ProjectsSetDefaultServiceAccountCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -125923,7 +125923,7 @@ func (c *ProjectsSetUsageExportBucketCall) Header() http.Header { func (c *ProjectsSetUsageExportBucketCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -126090,7 +126090,7 @@ func (c *PublicAdvertisedPrefixesDeleteCall) Header() http.Header { func (c *PublicAdvertisedPrefixesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -126247,7 +126247,7 @@ func (c *PublicAdvertisedPrefixesGetCall) Header() http.Header { func (c *PublicAdvertisedPrefixesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -126412,7 +126412,7 @@ func (c *PublicAdvertisedPrefixesInsertCall) Header() http.Header { func (c *PublicAdvertisedPrefixesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -126640,7 +126640,7 @@ func (c *PublicAdvertisedPrefixesListCall) Header() http.Header { func (c *PublicAdvertisedPrefixesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -126848,7 +126848,7 @@ func (c *PublicAdvertisedPrefixesPatchCall) Header() http.Header { func (c *PublicAdvertisedPrefixesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -127099,7 +127099,7 @@ func (c *PublicDelegatedPrefixesAggregatedListCall) Header() http.Header { func (c *PublicDelegatedPrefixesAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -127312,7 +127312,7 @@ func (c *PublicDelegatedPrefixesDeleteCall) Header() http.Header { func (c *PublicDelegatedPrefixesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -127481,7 +127481,7 @@ func (c *PublicDelegatedPrefixesGetCall) Header() http.Header { func (c *PublicDelegatedPrefixesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -127658,7 +127658,7 @@ func (c *PublicDelegatedPrefixesInsertCall) Header() http.Header { func (c *PublicDelegatedPrefixesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -127898,7 +127898,7 @@ func (c *PublicDelegatedPrefixesListCall) Header() http.Header { func (c *PublicDelegatedPrefixesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -128117,7 +128117,7 @@ func (c *PublicDelegatedPrefixesPatchCall) Header() http.Header { func (c *PublicDelegatedPrefixesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -128301,7 +128301,7 @@ func (c *RegionAutoscalersDeleteCall) Header() http.Header { func (c *RegionAutoscalersDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -128469,7 +128469,7 @@ func (c *RegionAutoscalersGetCall) Header() http.Header { func (c *RegionAutoscalersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -128645,7 +128645,7 @@ func (c *RegionAutoscalersInsertCall) Header() http.Header { func (c *RegionAutoscalersInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -128885,7 +128885,7 @@ func (c *RegionAutoscalersListCall) Header() http.Header { func (c *RegionAutoscalersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -129109,7 +129109,7 @@ func (c *RegionAutoscalersPatchCall) Header() http.Header { func (c *RegionAutoscalersPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -129274,7 +129274,7 @@ func (c *RegionAutoscalersTestIamPermissionsCall) Header() http.Header { func (c *RegionAutoscalersTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -129462,7 +129462,7 @@ func (c *RegionAutoscalersUpdateCall) Header() http.Header { func (c *RegionAutoscalersUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -129643,7 +129643,7 @@ func (c *RegionBackendServicesDeleteCall) Header() http.Header { func (c *RegionBackendServicesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -129811,7 +129811,7 @@ func (c *RegionBackendServicesGetCall) Header() http.Header { func (c *RegionBackendServicesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -129970,7 +129970,7 @@ func (c *RegionBackendServicesGetHealthCall) Header() http.Header { func (c *RegionBackendServicesGetHealthCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -130151,7 +130151,7 @@ func (c *RegionBackendServicesInsertCall) Header() http.Header { func (c *RegionBackendServicesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -130391,7 +130391,7 @@ func (c *RegionBackendServicesListCall) Header() http.Header { func (c *RegionBackendServicesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -130611,7 +130611,7 @@ func (c *RegionBackendServicesPatchCall) Header() http.Header { func (c *RegionBackendServicesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -130779,7 +130779,7 @@ func (c *RegionBackendServicesTestIamPermissionsCall) Header() http.Header { func (c *RegionBackendServicesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -130963,7 +130963,7 @@ func (c *RegionBackendServicesUpdateCall) Header() http.Header { func (c *RegionBackendServicesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -131222,7 +131222,7 @@ func (c *RegionCommitmentsAggregatedListCall) Header() http.Header { func (c *RegionCommitmentsAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -131426,7 +131426,7 @@ func (c *RegionCommitmentsGetCall) Header() http.Header { func (c *RegionCommitmentsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -131602,7 +131602,7 @@ func (c *RegionCommitmentsInsertCall) Header() http.Header { func (c *RegionCommitmentsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -131842,7 +131842,7 @@ func (c *RegionCommitmentsListCall) Header() http.Header { func (c *RegionCommitmentsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -132041,7 +132041,7 @@ func (c *RegionCommitmentsTestIamPermissionsCall) Header() http.Header { func (c *RegionCommitmentsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -132224,7 +132224,7 @@ func (c *RegionCommitmentsUpdateReservationsCall) Header() http.Header { func (c *RegionCommitmentsUpdateReservationsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -132401,7 +132401,7 @@ func (c *RegionDiskTypesGetCall) Header() http.Header { func (c *RegionDiskTypesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -132641,7 +132641,7 @@ func (c *RegionDiskTypesListCall) Header() http.Header { func (c *RegionDiskTypesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -132860,7 +132860,7 @@ func (c *RegionDisksAddResourcePoliciesCall) Header() http.Header { func (c *RegionDisksAddResourcePoliciesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -133055,7 +133055,7 @@ func (c *RegionDisksCreateSnapshotCall) Header() http.Header { func (c *RegionDisksCreateSnapshotCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -133247,7 +133247,7 @@ func (c *RegionDisksDeleteCall) Header() http.Header { func (c *RegionDisksDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -133414,7 +133414,7 @@ func (c *RegionDisksGetCall) Header() http.Header { func (c *RegionDisksGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -133589,7 +133589,7 @@ func (c *RegionDisksGetIamPolicyCall) Header() http.Header { func (c *RegionDisksGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -133778,7 +133778,7 @@ func (c *RegionDisksInsertCall) Header() http.Header { func (c *RegionDisksInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -134023,7 +134023,7 @@ func (c *RegionDisksListCall) Header() http.Header { func (c *RegionDisksListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -134241,7 +134241,7 @@ func (c *RegionDisksRemoveResourcePoliciesCall) Header() http.Header { func (c *RegionDisksRemoveResourcePoliciesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -134427,7 +134427,7 @@ func (c *RegionDisksResizeCall) Header() http.Header { func (c *RegionDisksResizeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -134595,7 +134595,7 @@ func (c *RegionDisksSetIamPolicyCall) Header() http.Header { func (c *RegionDisksSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -134776,7 +134776,7 @@ func (c *RegionDisksSetLabelsCall) Header() http.Header { func (c *RegionDisksSetLabelsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -134944,7 +134944,7 @@ func (c *RegionDisksTestIamPermissionsCall) Header() http.Header { func (c *RegionDisksTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -135124,7 +135124,7 @@ func (c *RegionHealthCheckServicesDeleteCall) Header() http.Header { func (c *RegionHealthCheckServicesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -135291,7 +135291,7 @@ func (c *RegionHealthCheckServicesGetCall) Header() http.Header { func (c *RegionHealthCheckServicesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -135466,7 +135466,7 @@ func (c *RegionHealthCheckServicesInsertCall) Header() http.Header { func (c *RegionHealthCheckServicesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -135706,7 +135706,7 @@ func (c *RegionHealthCheckServicesListCall) Header() http.Header { func (c *RegionHealthCheckServicesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -135925,7 +135925,7 @@ func (c *RegionHealthCheckServicesPatchCall) Header() http.Header { func (c *RegionHealthCheckServicesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -136092,7 +136092,7 @@ func (c *RegionHealthCheckServicesTestIamPermissionsCall) Header() http.Header { func (c *RegionHealthCheckServicesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -136272,7 +136272,7 @@ func (c *RegionHealthChecksDeleteCall) Header() http.Header { func (c *RegionHealthChecksDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -136441,7 +136441,7 @@ func (c *RegionHealthChecksGetCall) Header() http.Header { func (c *RegionHealthChecksGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -136617,7 +136617,7 @@ func (c *RegionHealthChecksInsertCall) Header() http.Header { func (c *RegionHealthChecksInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -136857,7 +136857,7 @@ func (c *RegionHealthChecksListCall) Header() http.Header { func (c *RegionHealthChecksListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -137076,7 +137076,7 @@ func (c *RegionHealthChecksPatchCall) Header() http.Header { func (c *RegionHealthChecksPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -137244,7 +137244,7 @@ func (c *RegionHealthChecksTestIamPermissionsCall) Header() http.Header { func (c *RegionHealthChecksTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -137427,7 +137427,7 @@ func (c *RegionHealthChecksUpdateCall) Header() http.Header { func (c *RegionHealthChecksUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -137618,7 +137618,7 @@ func (c *RegionInPlaceSnapshotsDeleteCall) Header() http.Header { func (c *RegionInPlaceSnapshotsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -137787,7 +137787,7 @@ func (c *RegionInPlaceSnapshotsGetCall) Header() http.Header { func (c *RegionInPlaceSnapshotsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -137962,7 +137962,7 @@ func (c *RegionInPlaceSnapshotsGetIamPolicyCall) Header() http.Header { func (c *RegionInPlaceSnapshotsGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -138143,7 +138143,7 @@ func (c *RegionInPlaceSnapshotsInsertCall) Header() http.Header { func (c *RegionInPlaceSnapshotsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -138383,7 +138383,7 @@ func (c *RegionInPlaceSnapshotsListCall) Header() http.Header { func (c *RegionInPlaceSnapshotsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -138582,7 +138582,7 @@ func (c *RegionInPlaceSnapshotsSetIamPolicyCall) Header() http.Header { func (c *RegionInPlaceSnapshotsSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -138765,7 +138765,7 @@ func (c *RegionInPlaceSnapshotsSetLabelsCall) Header() http.Header { func (c *RegionInPlaceSnapshotsSetLabelsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -138933,7 +138933,7 @@ func (c *RegionInPlaceSnapshotsTestIamPermissionsCall) Header() http.Header { func (c *RegionInPlaceSnapshotsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -139131,7 +139131,7 @@ func (c *RegionInstanceGroupManagersAbandonInstancesCall) Header() http.Header { func (c *RegionInstanceGroupManagersAbandonInstancesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -139297,7 +139297,7 @@ func (c *RegionInstanceGroupManagersApplyUpdatesToInstancesCall) Header() http.H func (c *RegionInstanceGroupManagersApplyUpdatesToInstancesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -139480,7 +139480,7 @@ func (c *RegionInstanceGroupManagersCreateInstancesCall) Header() http.Header { func (c *RegionInstanceGroupManagersCreateInstancesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -139663,7 +139663,7 @@ func (c *RegionInstanceGroupManagersDeleteCall) Header() http.Header { func (c *RegionInstanceGroupManagersDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -139855,7 +139855,7 @@ func (c *RegionInstanceGroupManagersDeleteInstancesCall) Header() http.Header { func (c *RegionInstanceGroupManagersDeleteInstancesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -140021,7 +140021,7 @@ func (c *RegionInstanceGroupManagersDeletePerInstanceConfigsCall) Header() http. func (c *RegionInstanceGroupManagersDeletePerInstanceConfigsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -140191,7 +140191,7 @@ func (c *RegionInstanceGroupManagersGetCall) Header() http.Header { func (c *RegionInstanceGroupManagersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -140372,7 +140372,7 @@ func (c *RegionInstanceGroupManagersInsertCall) Header() http.Header { func (c *RegionInstanceGroupManagersInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -140611,7 +140611,7 @@ func (c *RegionInstanceGroupManagersListCall) Header() http.Header { func (c *RegionInstanceGroupManagersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -140893,7 +140893,7 @@ func (c *RegionInstanceGroupManagersListErrorsCall) Header() http.Header { func (c *RegionInstanceGroupManagersListErrorsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -141175,7 +141175,7 @@ func (c *RegionInstanceGroupManagersListManagedInstancesCall) Header() http.Head func (c *RegionInstanceGroupManagersListManagedInstancesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -141453,7 +141453,7 @@ func (c *RegionInstanceGroupManagersListPerInstanceConfigsCall) Header() http.He func (c *RegionInstanceGroupManagersListPerInstanceConfigsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -141682,7 +141682,7 @@ func (c *RegionInstanceGroupManagersPatchCall) Header() http.Header { func (c *RegionInstanceGroupManagersPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -141868,7 +141868,7 @@ func (c *RegionInstanceGroupManagersPatchPerInstanceConfigsCall) Header() http.H func (c *RegionInstanceGroupManagersPatchPerInstanceConfigsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -142066,7 +142066,7 @@ func (c *RegionInstanceGroupManagersRecreateInstancesCall) Header() http.Header func (c *RegionInstanceGroupManagersRecreateInstancesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -142261,7 +142261,7 @@ func (c *RegionInstanceGroupManagersResizeCall) Header() http.Header { func (c *RegionInstanceGroupManagersResizeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -142448,7 +142448,7 @@ func (c *RegionInstanceGroupManagersSetAutoHealingPoliciesCall) Header() http.He func (c *RegionInstanceGroupManagersSetAutoHealingPoliciesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -142634,7 +142634,7 @@ func (c *RegionInstanceGroupManagersSetInstanceTemplateCall) Header() http.Heade func (c *RegionInstanceGroupManagersSetInstanceTemplateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -142820,7 +142820,7 @@ func (c *RegionInstanceGroupManagersSetTargetPoolsCall) Header() http.Header { func (c *RegionInstanceGroupManagersSetTargetPoolsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -142986,7 +142986,7 @@ func (c *RegionInstanceGroupManagersTestIamPermissionsCall) Header() http.Header func (c *RegionInstanceGroupManagersTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -143172,7 +143172,7 @@ func (c *RegionInstanceGroupManagersUpdateCall) Header() http.Header { func (c *RegionInstanceGroupManagersUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -143358,7 +143358,7 @@ func (c *RegionInstanceGroupManagersUpdatePerInstanceConfigsCall) Header() http. func (c *RegionInstanceGroupManagersUpdatePerInstanceConfigsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -143532,7 +143532,7 @@ func (c *RegionInstanceGroupsGetCall) Header() http.Header { func (c *RegionInstanceGroupsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -143770,7 +143770,7 @@ func (c *RegionInstanceGroupsListCall) Header() http.Header { func (c *RegionInstanceGroupsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -144045,7 +144045,7 @@ func (c *RegionInstanceGroupsListInstancesCall) Header() http.Header { func (c *RegionInstanceGroupsListInstancesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -144276,7 +144276,7 @@ func (c *RegionInstanceGroupsSetNamedPortsCall) Header() http.Header { func (c *RegionInstanceGroupsSetNamedPortsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -144442,7 +144442,7 @@ func (c *RegionInstanceGroupsTestIamPermissionsCall) Header() http.Header { func (c *RegionInstanceGroupsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -144623,7 +144623,7 @@ func (c *RegionInstancesBulkInsertCall) Header() http.Header { func (c *RegionInstancesBulkInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -144805,7 +144805,7 @@ func (c *RegionInstantSnapshotsDeleteCall) Header() http.Header { func (c *RegionInstantSnapshotsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -144984,7 +144984,7 @@ func (c *RegionInstantSnapshotsExportCall) Header() http.Header { func (c *RegionInstantSnapshotsExportCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -145161,7 +145161,7 @@ func (c *RegionInstantSnapshotsGetCall) Header() http.Header { func (c *RegionInstantSnapshotsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -145336,7 +145336,7 @@ func (c *RegionInstantSnapshotsGetIamPolicyCall) Header() http.Header { func (c *RegionInstantSnapshotsGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -145517,7 +145517,7 @@ func (c *RegionInstantSnapshotsInsertCall) Header() http.Header { func (c *RegionInstantSnapshotsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -145757,7 +145757,7 @@ func (c *RegionInstantSnapshotsListCall) Header() http.Header { func (c *RegionInstantSnapshotsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -145956,7 +145956,7 @@ func (c *RegionInstantSnapshotsSetIamPolicyCall) Header() http.Header { func (c *RegionInstantSnapshotsSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -146139,7 +146139,7 @@ func (c *RegionInstantSnapshotsSetLabelsCall) Header() http.Header { func (c *RegionInstantSnapshotsSetLabelsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -146307,7 +146307,7 @@ func (c *RegionInstantSnapshotsTestIamPermissionsCall) Header() http.Header { func (c *RegionInstantSnapshotsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -146489,7 +146489,7 @@ func (c *RegionNetworkEndpointGroupsDeleteCall) Header() http.Header { func (c *RegionNetworkEndpointGroupsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -146656,7 +146656,7 @@ func (c *RegionNetworkEndpointGroupsGetCall) Header() http.Header { func (c *RegionNetworkEndpointGroupsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -146830,7 +146830,7 @@ func (c *RegionNetworkEndpointGroupsInsertCall) Header() http.Header { func (c *RegionNetworkEndpointGroupsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -147069,7 +147069,7 @@ func (c *RegionNetworkEndpointGroupsListCall) Header() http.Header { func (c *RegionNetworkEndpointGroupsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -147284,7 +147284,7 @@ func (c *RegionNotificationEndpointsDeleteCall) Header() http.Header { func (c *RegionNotificationEndpointsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -147453,7 +147453,7 @@ func (c *RegionNotificationEndpointsGetCall) Header() http.Header { func (c *RegionNotificationEndpointsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -147629,7 +147629,7 @@ func (c *RegionNotificationEndpointsInsertCall) Header() http.Header { func (c *RegionNotificationEndpointsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -147869,7 +147869,7 @@ func (c *RegionNotificationEndpointsListCall) Header() http.Header { func (c *RegionNotificationEndpointsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -148068,7 +148068,7 @@ func (c *RegionNotificationEndpointsTestIamPermissionsCall) Header() http.Header func (c *RegionNotificationEndpointsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -148230,7 +148230,7 @@ func (c *RegionOperationsDeleteCall) Header() http.Header { func (c *RegionOperationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -148366,7 +148366,7 @@ func (c *RegionOperationsGetCall) Header() http.Header { func (c *RegionOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -148607,7 +148607,7 @@ func (c *RegionOperationsListCall) Header() http.Header { func (c *RegionOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -148816,7 +148816,7 @@ func (c *RegionOperationsWaitCall) Header() http.Header { func (c *RegionOperationsWaitCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -148988,7 +148988,7 @@ func (c *RegionSslCertificatesDeleteCall) Header() http.Header { func (c *RegionSslCertificatesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -149158,7 +149158,7 @@ func (c *RegionSslCertificatesGetCall) Header() http.Header { func (c *RegionSslCertificatesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -149334,7 +149334,7 @@ func (c *RegionSslCertificatesInsertCall) Header() http.Header { func (c *RegionSslCertificatesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -149574,7 +149574,7 @@ func (c *RegionSslCertificatesListCall) Header() http.Header { func (c *RegionSslCertificatesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -149773,7 +149773,7 @@ func (c *RegionSslCertificatesTestIamPermissionsCall) Header() http.Header { func (c *RegionSslCertificatesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -149953,7 +149953,7 @@ func (c *RegionTargetHttpProxiesDeleteCall) Header() http.Header { func (c *RegionTargetHttpProxiesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -150123,7 +150123,7 @@ func (c *RegionTargetHttpProxiesGetCall) Header() http.Header { func (c *RegionTargetHttpProxiesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -150299,7 +150299,7 @@ func (c *RegionTargetHttpProxiesInsertCall) Header() http.Header { func (c *RegionTargetHttpProxiesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -150539,7 +150539,7 @@ func (c *RegionTargetHttpProxiesListCall) Header() http.Header { func (c *RegionTargetHttpProxiesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -150756,7 +150756,7 @@ func (c *RegionTargetHttpProxiesSetUrlMapCall) Header() http.Header { func (c *RegionTargetHttpProxiesSetUrlMapCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -150924,7 +150924,7 @@ func (c *RegionTargetHttpProxiesTestIamPermissionsCall) Header() http.Header { func (c *RegionTargetHttpProxiesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -151104,7 +151104,7 @@ func (c *RegionTargetHttpsProxiesDeleteCall) Header() http.Header { func (c *RegionTargetHttpsProxiesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -151274,7 +151274,7 @@ func (c *RegionTargetHttpsProxiesGetCall) Header() http.Header { func (c *RegionTargetHttpsProxiesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -151450,7 +151450,7 @@ func (c *RegionTargetHttpsProxiesInsertCall) Header() http.Header { func (c *RegionTargetHttpsProxiesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -151690,7 +151690,7 @@ func (c *RegionTargetHttpsProxiesListCall) Header() http.Header { func (c *RegionTargetHttpsProxiesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -151907,7 +151907,7 @@ func (c *RegionTargetHttpsProxiesSetSslCertificatesCall) Header() http.Header { func (c *RegionTargetHttpsProxiesSetSslCertificatesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -152093,7 +152093,7 @@ func (c *RegionTargetHttpsProxiesSetUrlMapCall) Header() http.Header { func (c *RegionTargetHttpsProxiesSetUrlMapCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -152261,7 +152261,7 @@ func (c *RegionTargetHttpsProxiesTestIamPermissionsCall) Header() http.Header { func (c *RegionTargetHttpsProxiesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -152429,7 +152429,7 @@ func (c *RegionUrlMapsDeleteCall) Header() http.Header { func (c *RegionUrlMapsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -152598,7 +152598,7 @@ func (c *RegionUrlMapsGetCall) Header() http.Header { func (c *RegionUrlMapsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -152762,7 +152762,7 @@ func (c *RegionUrlMapsInsertCall) Header() http.Header { func (c *RegionUrlMapsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -152931,7 +152931,7 @@ func (c *RegionUrlMapsInvalidateCacheCall) Header() http.Header { func (c *RegionUrlMapsInvalidateCacheCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -153180,7 +153180,7 @@ func (c *RegionUrlMapsListCall) Header() http.Header { func (c *RegionUrlMapsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -153387,7 +153387,7 @@ func (c *RegionUrlMapsPatchCall) Header() http.Header { func (c *RegionUrlMapsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -153555,7 +153555,7 @@ func (c *RegionUrlMapsTestIamPermissionsCall) Header() http.Header { func (c *RegionUrlMapsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -153726,7 +153726,7 @@ func (c *RegionUrlMapsUpdateCall) Header() http.Header { func (c *RegionUrlMapsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -153895,7 +153895,7 @@ func (c *RegionUrlMapsValidateCall) Header() http.Header { func (c *RegionUrlMapsValidateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -154066,7 +154066,7 @@ func (c *RegionsGetCall) Header() http.Header { func (c *RegionsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -154296,7 +154296,7 @@ func (c *RegionsListCall) Header() http.Header { func (c *RegionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -154577,7 +154577,7 @@ func (c *ReservationsAggregatedListCall) Header() http.Header { func (c *ReservationsAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -154788,7 +154788,7 @@ func (c *ReservationsDeleteCall) Header() http.Header { func (c *ReservationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -154956,7 +154956,7 @@ func (c *ReservationsGetCall) Header() http.Header { func (c *ReservationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -155131,7 +155131,7 @@ func (c *ReservationsGetIamPolicyCall) Header() http.Header { func (c *ReservationsGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -155313,7 +155313,7 @@ func (c *ReservationsInsertCall) Header() http.Header { func (c *ReservationsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -155553,7 +155553,7 @@ func (c *ReservationsListCall) Header() http.Header { func (c *ReservationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -155772,7 +155772,7 @@ func (c *ReservationsResizeCall) Header() http.Header { func (c *ReservationsResizeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -155940,7 +155940,7 @@ func (c *ReservationsSetIamPolicyCall) Header() http.Header { func (c *ReservationsSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -156103,7 +156103,7 @@ func (c *ReservationsTestIamPermissionsCall) Header() http.Header { func (c *ReservationsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -156358,7 +156358,7 @@ func (c *ResourcePoliciesAggregatedListCall) Header() http.Header { func (c *ResourcePoliciesAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -156569,7 +156569,7 @@ func (c *ResourcePoliciesDeleteCall) Header() http.Header { func (c *ResourcePoliciesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -156737,7 +156737,7 @@ func (c *ResourcePoliciesGetCall) Header() http.Header { func (c *ResourcePoliciesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -156912,7 +156912,7 @@ func (c *ResourcePoliciesGetIamPolicyCall) Header() http.Header { func (c *ResourcePoliciesGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -157093,7 +157093,7 @@ func (c *ResourcePoliciesInsertCall) Header() http.Header { func (c *ResourcePoliciesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -157333,7 +157333,7 @@ func (c *ResourcePoliciesListCall) Header() http.Header { func (c *ResourcePoliciesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -157532,7 +157532,7 @@ func (c *ResourcePoliciesSetIamPolicyCall) Header() http.Header { func (c *ResourcePoliciesSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -157695,7 +157695,7 @@ func (c *ResourcePoliciesTestIamPermissionsCall) Header() http.Header { func (c *ResourcePoliciesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -157950,7 +157950,7 @@ func (c *RoutersAggregatedListCall) Header() http.Header { func (c *RoutersAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -158161,7 +158161,7 @@ func (c *RoutersDeleteCall) Header() http.Header { func (c *RoutersDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -158330,7 +158330,7 @@ func (c *RoutersGetCall) Header() http.Header { func (c *RoutersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -158581,7 +158581,7 @@ func (c *RoutersGetNatMappingInfoCall) Header() http.Header { func (c *RoutersGetNatMappingInfoCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -158803,7 +158803,7 @@ func (c *RoutersGetRouterStatusCall) Header() http.Header { func (c *RoutersGetRouterStatusCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -158979,7 +158979,7 @@ func (c *RoutersInsertCall) Header() http.Header { func (c *RoutersInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -159219,7 +159219,7 @@ func (c *RoutersListCall) Header() http.Header { func (c *RoutersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -159438,7 +159438,7 @@ func (c *RoutersPatchCall) Header() http.Header { func (c *RoutersPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -159607,7 +159607,7 @@ func (c *RoutersPreviewCall) Header() http.Header { func (c *RoutersPreviewCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -159771,7 +159771,7 @@ func (c *RoutersTestIamPermissionsCall) Header() http.Header { func (c *RoutersTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -159957,7 +159957,7 @@ func (c *RoutersUpdateCall) Header() http.Header { func (c *RoutersUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -160140,7 +160140,7 @@ func (c *RoutesDeleteCall) Header() http.Header { func (c *RoutesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -160299,7 +160299,7 @@ func (c *RoutesGetCall) Header() http.Header { func (c *RoutesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -160465,7 +160465,7 @@ func (c *RoutesInsertCall) Header() http.Header { func (c *RoutesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -160695,7 +160695,7 @@ func (c *RoutesListCall) Header() http.Header { func (c *RoutesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -160883,7 +160883,7 @@ func (c *RoutesTestIamPermissionsCall) Header() http.Header { func (c *RoutesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -161042,7 +161042,7 @@ func (c *SecurityPoliciesAddRuleCall) Header() http.Header { func (c *SecurityPoliciesAddRuleCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -161215,7 +161215,7 @@ func (c *SecurityPoliciesDeleteCall) Header() http.Header { func (c *SecurityPoliciesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -161373,7 +161373,7 @@ func (c *SecurityPoliciesGetCall) Header() http.Header { func (c *SecurityPoliciesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -161536,7 +161536,7 @@ func (c *SecurityPoliciesGetRuleCall) Header() http.Header { func (c *SecurityPoliciesGetRuleCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -161714,7 +161714,7 @@ func (c *SecurityPoliciesInsertCall) Header() http.Header { func (c *SecurityPoliciesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -161948,7 +161948,7 @@ func (c *SecurityPoliciesListCall) Header() http.Header { func (c *SecurityPoliciesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -162217,7 +162217,7 @@ func (c *SecurityPoliciesListPreconfiguredExpressionSetsCall) Header() http.Head func (c *SecurityPoliciesListPreconfiguredExpressionSetsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -162407,7 +162407,7 @@ func (c *SecurityPoliciesPatchCall) Header() http.Header { func (c *SecurityPoliciesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -162577,7 +162577,7 @@ func (c *SecurityPoliciesPatchRuleCall) Header() http.Header { func (c *SecurityPoliciesPatchRuleCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -162744,7 +162744,7 @@ func (c *SecurityPoliciesRemoveRuleCall) Header() http.Header { func (c *SecurityPoliciesRemoveRuleCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -162894,7 +162894,7 @@ func (c *SecurityPoliciesSetLabelsCall) Header() http.Header { func (c *SecurityPoliciesSetLabelsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -163046,7 +163046,7 @@ func (c *SecurityPoliciesTestIamPermissionsCall) Header() http.Header { func (c *SecurityPoliciesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -163217,7 +163217,7 @@ func (c *ServiceAttachmentsDeleteCall) Header() http.Header { func (c *ServiceAttachmentsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -163386,7 +163386,7 @@ func (c *ServiceAttachmentsGetCall) Header() http.Header { func (c *ServiceAttachmentsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -163561,7 +163561,7 @@ func (c *ServiceAttachmentsGetIamPolicyCall) Header() http.Header { func (c *ServiceAttachmentsGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -163743,7 +163743,7 @@ func (c *ServiceAttachmentsInsertCall) Header() http.Header { func (c *ServiceAttachmentsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -163982,7 +163982,7 @@ func (c *ServiceAttachmentsListCall) Header() http.Header { func (c *ServiceAttachmentsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -164181,7 +164181,7 @@ func (c *ServiceAttachmentsSetIamPolicyCall) Header() http.Header { func (c *ServiceAttachmentsSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -164344,7 +164344,7 @@ func (c *ServiceAttachmentsTestIamPermissionsCall) Header() http.Header { func (c *ServiceAttachmentsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -164529,7 +164529,7 @@ func (c *SnapshotsDeleteCall) Header() http.Header { func (c *SnapshotsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -164688,7 +164688,7 @@ func (c *SnapshotsGetCall) Header() http.Header { func (c *SnapshotsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -164852,7 +164852,7 @@ func (c *SnapshotsGetIamPolicyCall) Header() http.Header { func (c *SnapshotsGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -165023,7 +165023,7 @@ func (c *SnapshotsInsertCall) Header() http.Header { func (c *SnapshotsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -165253,7 +165253,7 @@ func (c *SnapshotsListCall) Header() http.Header { func (c *SnapshotsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -165441,7 +165441,7 @@ func (c *SnapshotsSetIamPolicyCall) Header() http.Header { func (c *SnapshotsSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -165593,7 +165593,7 @@ func (c *SnapshotsSetLabelsCall) Header() http.Header { func (c *SnapshotsSetLabelsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -165745,7 +165745,7 @@ func (c *SnapshotsTestIamPermissionsCall) Header() http.Header { func (c *SnapshotsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -165992,7 +165992,7 @@ func (c *SslCertificatesAggregatedListCall) Header() http.Header { func (c *SslCertificatesAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -166201,7 +166201,7 @@ func (c *SslCertificatesDeleteCall) Header() http.Header { func (c *SslCertificatesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -166359,7 +166359,7 @@ func (c *SslCertificatesGetCall) Header() http.Header { func (c *SslCertificatesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -166524,7 +166524,7 @@ func (c *SslCertificatesInsertCall) Header() http.Header { func (c *SslCertificatesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -166753,7 +166753,7 @@ func (c *SslCertificatesListCall) Header() http.Header { func (c *SslCertificatesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -166941,7 +166941,7 @@ func (c *SslCertificatesTestIamPermissionsCall) Header() http.Header { func (c *SslCertificatesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -167112,7 +167112,7 @@ func (c *SslPoliciesDeleteCall) Header() http.Header { func (c *SslPoliciesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -167269,7 +167269,7 @@ func (c *SslPoliciesGetCall) Header() http.Header { func (c *SslPoliciesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -167433,7 +167433,7 @@ func (c *SslPoliciesInsertCall) Header() http.Header { func (c *SslPoliciesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -167662,7 +167662,7 @@ func (c *SslPoliciesListCall) Header() http.Header { func (c *SslPoliciesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -167931,7 +167931,7 @@ func (c *SslPoliciesListAvailableFeaturesCall) Header() http.Header { func (c *SslPoliciesListAvailableFeaturesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -168119,7 +168119,7 @@ func (c *SslPoliciesPatchCall) Header() http.Header { func (c *SslPoliciesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -168275,7 +168275,7 @@ func (c *SslPoliciesTestIamPermissionsCall) Header() http.Header { func (c *SslPoliciesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -168521,7 +168521,7 @@ func (c *SubnetworksAggregatedListCall) Header() http.Header { func (c *SubnetworksAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -168732,7 +168732,7 @@ func (c *SubnetworksDeleteCall) Header() http.Header { func (c *SubnetworksDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -168911,7 +168911,7 @@ func (c *SubnetworksExpandIpCidrRangeCall) Header() http.Header { func (c *SubnetworksExpandIpCidrRangeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -169088,7 +169088,7 @@ func (c *SubnetworksGetCall) Header() http.Header { func (c *SubnetworksGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -169263,7 +169263,7 @@ func (c *SubnetworksGetIamPolicyCall) Header() http.Header { func (c *SubnetworksGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -169445,7 +169445,7 @@ func (c *SubnetworksInsertCall) Header() http.Header { func (c *SubnetworksInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -169685,7 +169685,7 @@ func (c *SubnetworksListCall) Header() http.Header { func (c *SubnetworksListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -169963,7 +169963,7 @@ func (c *SubnetworksListUsableCall) Header() http.Header { func (c *SubnetworksListUsableCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -170189,7 +170189,7 @@ func (c *SubnetworksPatchCall) Header() http.Header { func (c *SubnetworksPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -170363,7 +170363,7 @@ func (c *SubnetworksSetIamPolicyCall) Header() http.Header { func (c *SubnetworksSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -170546,7 +170546,7 @@ func (c *SubnetworksSetPrivateIpGoogleAccessCall) Header() http.Header { func (c *SubnetworksSetPrivateIpGoogleAccessCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -170714,7 +170714,7 @@ func (c *SubnetworksTestIamPermissionsCall) Header() http.Header { func (c *SubnetworksTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -170892,7 +170892,7 @@ func (c *TargetGrpcProxiesDeleteCall) Header() http.Header { func (c *TargetGrpcProxiesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -171050,7 +171050,7 @@ func (c *TargetGrpcProxiesGetCall) Header() http.Header { func (c *TargetGrpcProxiesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -171215,7 +171215,7 @@ func (c *TargetGrpcProxiesInsertCall) Header() http.Header { func (c *TargetGrpcProxiesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -171443,7 +171443,7 @@ func (c *TargetGrpcProxiesListCall) Header() http.Header { func (c *TargetGrpcProxiesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -171651,7 +171651,7 @@ func (c *TargetGrpcProxiesPatchCall) Header() http.Header { func (c *TargetGrpcProxiesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -171808,7 +171808,7 @@ func (c *TargetGrpcProxiesTestIamPermissionsCall) Header() http.Header { func (c *TargetGrpcProxiesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -172055,7 +172055,7 @@ func (c *TargetHttpProxiesAggregatedListCall) Header() http.Header { func (c *TargetHttpProxiesAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -172265,7 +172265,7 @@ func (c *TargetHttpProxiesDeleteCall) Header() http.Header { func (c *TargetHttpProxiesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -172424,7 +172424,7 @@ func (c *TargetHttpProxiesGetCall) Header() http.Header { func (c *TargetHttpProxiesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -172590,7 +172590,7 @@ func (c *TargetHttpProxiesInsertCall) Header() http.Header { func (c *TargetHttpProxiesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -172820,7 +172820,7 @@ func (c *TargetHttpProxiesListCall) Header() http.Header { func (c *TargetHttpProxiesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -173029,7 +173029,7 @@ func (c *TargetHttpProxiesPatchCall) Header() http.Header { func (c *TargetHttpProxiesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -173205,7 +173205,7 @@ func (c *TargetHttpProxiesSetUrlMapCall) Header() http.Header { func (c *TargetHttpProxiesSetUrlMapCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -173362,7 +173362,7 @@ func (c *TargetHttpProxiesTestIamPermissionsCall) Header() http.Header { func (c *TargetHttpProxiesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -173609,7 +173609,7 @@ func (c *TargetHttpsProxiesAggregatedListCall) Header() http.Header { func (c *TargetHttpsProxiesAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -173818,7 +173818,7 @@ func (c *TargetHttpsProxiesDeleteCall) Header() http.Header { func (c *TargetHttpsProxiesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -173976,7 +173976,7 @@ func (c *TargetHttpsProxiesGetCall) Header() http.Header { func (c *TargetHttpsProxiesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -174141,7 +174141,7 @@ func (c *TargetHttpsProxiesInsertCall) Header() http.Header { func (c *TargetHttpsProxiesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -174370,7 +174370,7 @@ func (c *TargetHttpsProxiesListCall) Header() http.Header { func (c *TargetHttpsProxiesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -174579,7 +174579,7 @@ func (c *TargetHttpsProxiesPatchCall) Header() http.Header { func (c *TargetHttpsProxiesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -174754,7 +174754,7 @@ func (c *TargetHttpsProxiesSetCertificateMapCall) Header() http.Header { func (c *TargetHttpsProxiesSetCertificateMapCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -174928,7 +174928,7 @@ func (c *TargetHttpsProxiesSetQuicOverrideCall) Header() http.Header { func (c *TargetHttpsProxiesSetQuicOverrideCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -175102,7 +175102,7 @@ func (c *TargetHttpsProxiesSetSslCertificatesCall) Header() http.Header { func (c *TargetHttpsProxiesSetSslCertificatesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -175281,7 +175281,7 @@ func (c *TargetHttpsProxiesSetSslPolicyCall) Header() http.Header { func (c *TargetHttpsProxiesSetSslPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -175455,7 +175455,7 @@ func (c *TargetHttpsProxiesSetUrlMapCall) Header() http.Header { func (c *TargetHttpsProxiesSetUrlMapCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -175612,7 +175612,7 @@ func (c *TargetHttpsProxiesTestIamPermissionsCall) Header() http.Header { func (c *TargetHttpsProxiesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -175859,7 +175859,7 @@ func (c *TargetInstancesAggregatedListCall) Header() http.Header { func (c *TargetInstancesAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -176071,7 +176071,7 @@ func (c *TargetInstancesDeleteCall) Header() http.Header { func (c *TargetInstancesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -176241,7 +176241,7 @@ func (c *TargetInstancesGetCall) Header() http.Header { func (c *TargetInstancesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -176418,7 +176418,7 @@ func (c *TargetInstancesInsertCall) Header() http.Header { func (c *TargetInstancesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -176659,7 +176659,7 @@ func (c *TargetInstancesListCall) Header() http.Header { func (c *TargetInstancesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -176858,7 +176858,7 @@ func (c *TargetInstancesTestIamPermissionsCall) Header() http.Header { func (c *TargetInstancesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -177041,7 +177041,7 @@ func (c *TargetPoolsAddHealthCheckCall) Header() http.Header { func (c *TargetPoolsAddHealthCheckCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -177228,7 +177228,7 @@ func (c *TargetPoolsAddInstanceCall) Header() http.Header { func (c *TargetPoolsAddInstanceCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -177488,7 +177488,7 @@ func (c *TargetPoolsAggregatedListCall) Header() http.Header { func (c *TargetPoolsAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -177700,7 +177700,7 @@ func (c *TargetPoolsDeleteCall) Header() http.Header { func (c *TargetPoolsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -177870,7 +177870,7 @@ func (c *TargetPoolsGetCall) Header() http.Header { func (c *TargetPoolsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -178030,7 +178030,7 @@ func (c *TargetPoolsGetHealthCall) Header() http.Header { func (c *TargetPoolsGetHealthCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -178212,7 +178212,7 @@ func (c *TargetPoolsInsertCall) Header() http.Header { func (c *TargetPoolsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -178453,7 +178453,7 @@ func (c *TargetPoolsListCall) Header() http.Header { func (c *TargetPoolsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -178671,7 +178671,7 @@ func (c *TargetPoolsRemoveHealthCheckCall) Header() http.Header { func (c *TargetPoolsRemoveHealthCheckCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -178858,7 +178858,7 @@ func (c *TargetPoolsRemoveInstanceCall) Header() http.Header { func (c *TargetPoolsRemoveInstanceCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -179052,7 +179052,7 @@ func (c *TargetPoolsSetBackupCall) Header() http.Header { func (c *TargetPoolsSetBackupCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -179226,7 +179226,7 @@ func (c *TargetPoolsTestIamPermissionsCall) Header() http.Header { func (c *TargetPoolsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -179404,7 +179404,7 @@ func (c *TargetSslProxiesDeleteCall) Header() http.Header { func (c *TargetSslProxiesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -179562,7 +179562,7 @@ func (c *TargetSslProxiesGetCall) Header() http.Header { func (c *TargetSslProxiesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -179727,7 +179727,7 @@ func (c *TargetSslProxiesInsertCall) Header() http.Header { func (c *TargetSslProxiesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -179956,7 +179956,7 @@ func (c *TargetSslProxiesListCall) Header() http.Header { func (c *TargetSslProxiesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -180162,7 +180162,7 @@ func (c *TargetSslProxiesSetBackendServiceCall) Header() http.Header { func (c *TargetSslProxiesSetBackendServiceCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -180337,7 +180337,7 @@ func (c *TargetSslProxiesSetCertificateMapCall) Header() http.Header { func (c *TargetSslProxiesSetCertificateMapCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -180511,7 +180511,7 @@ func (c *TargetSslProxiesSetProxyHeaderCall) Header() http.Header { func (c *TargetSslProxiesSetProxyHeaderCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -180686,7 +180686,7 @@ func (c *TargetSslProxiesSetSslCertificatesCall) Header() http.Header { func (c *TargetSslProxiesSetSslCertificatesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -180864,7 +180864,7 @@ func (c *TargetSslProxiesSetSslPolicyCall) Header() http.Header { func (c *TargetSslProxiesSetSslPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -181020,7 +181020,7 @@ func (c *TargetSslProxiesTestIamPermissionsCall) Header() http.Header { func (c *TargetSslProxiesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -181189,7 +181189,7 @@ func (c *TargetTcpProxiesDeleteCall) Header() http.Header { func (c *TargetTcpProxiesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -181347,7 +181347,7 @@ func (c *TargetTcpProxiesGetCall) Header() http.Header { func (c *TargetTcpProxiesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -181512,7 +181512,7 @@ func (c *TargetTcpProxiesInsertCall) Header() http.Header { func (c *TargetTcpProxiesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -181741,7 +181741,7 @@ func (c *TargetTcpProxiesListCall) Header() http.Header { func (c *TargetTcpProxiesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -181947,7 +181947,7 @@ func (c *TargetTcpProxiesSetBackendServiceCall) Header() http.Header { func (c *TargetTcpProxiesSetBackendServiceCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -182122,7 +182122,7 @@ func (c *TargetTcpProxiesSetProxyHeaderCall) Header() http.Header { func (c *TargetTcpProxiesSetProxyHeaderCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -182279,7 +182279,7 @@ func (c *TargetTcpProxiesTestIamPermissionsCall) Header() http.Header { func (c *TargetTcpProxiesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -182525,7 +182525,7 @@ func (c *TargetVpnGatewaysAggregatedListCall) Header() http.Header { func (c *TargetVpnGatewaysAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -182736,7 +182736,7 @@ func (c *TargetVpnGatewaysDeleteCall) Header() http.Header { func (c *TargetVpnGatewaysDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -182905,7 +182905,7 @@ func (c *TargetVpnGatewaysGetCall) Header() http.Header { func (c *TargetVpnGatewaysGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -183081,7 +183081,7 @@ func (c *TargetVpnGatewaysInsertCall) Header() http.Header { func (c *TargetVpnGatewaysInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -183321,7 +183321,7 @@ func (c *TargetVpnGatewaysListCall) Header() http.Header { func (c *TargetVpnGatewaysListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -183539,7 +183539,7 @@ func (c *TargetVpnGatewaysSetLabelsCall) Header() http.Header { func (c *TargetVpnGatewaysSetLabelsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -183707,7 +183707,7 @@ func (c *TargetVpnGatewaysTestIamPermissionsCall) Header() http.Header { func (c *TargetVpnGatewaysTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -183963,7 +183963,7 @@ func (c *UrlMapsAggregatedListCall) Header() http.Header { func (c *UrlMapsAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -184173,7 +184173,7 @@ func (c *UrlMapsDeleteCall) Header() http.Header { func (c *UrlMapsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -184332,7 +184332,7 @@ func (c *UrlMapsGetCall) Header() http.Header { func (c *UrlMapsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -184498,7 +184498,7 @@ func (c *UrlMapsInsertCall) Header() http.Header { func (c *UrlMapsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -184668,7 +184668,7 @@ func (c *UrlMapsInvalidateCacheCall) Header() http.Header { func (c *UrlMapsInvalidateCacheCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -184907,7 +184907,7 @@ func (c *UrlMapsListCall) Header() http.Header { func (c *UrlMapsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -185116,7 +185116,7 @@ func (c *UrlMapsPatchCall) Header() http.Header { func (c *UrlMapsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -185273,7 +185273,7 @@ func (c *UrlMapsTestIamPermissionsCall) Header() http.Header { func (c *UrlMapsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -185446,7 +185446,7 @@ func (c *UrlMapsUpdateCall) Header() http.Header { func (c *UrlMapsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -185605,7 +185605,7 @@ func (c *UrlMapsValidateCall) Header() http.Header { func (c *UrlMapsValidateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -185850,7 +185850,7 @@ func (c *VpnGatewaysAggregatedListCall) Header() http.Header { func (c *VpnGatewaysAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -186061,7 +186061,7 @@ func (c *VpnGatewaysDeleteCall) Header() http.Header { func (c *VpnGatewaysDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -186230,7 +186230,7 @@ func (c *VpnGatewaysGetCall) Header() http.Header { func (c *VpnGatewaysGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -186397,7 +186397,7 @@ func (c *VpnGatewaysGetStatusCall) Header() http.Header { func (c *VpnGatewaysGetStatusCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -186573,7 +186573,7 @@ func (c *VpnGatewaysInsertCall) Header() http.Header { func (c *VpnGatewaysInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -186813,7 +186813,7 @@ func (c *VpnGatewaysListCall) Header() http.Header { func (c *VpnGatewaysListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -187031,7 +187031,7 @@ func (c *VpnGatewaysSetLabelsCall) Header() http.Header { func (c *VpnGatewaysSetLabelsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -187199,7 +187199,7 @@ func (c *VpnGatewaysTestIamPermissionsCall) Header() http.Header { func (c *VpnGatewaysTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -187454,7 +187454,7 @@ func (c *VpnTunnelsAggregatedListCall) Header() http.Header { func (c *VpnTunnelsAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -187665,7 +187665,7 @@ func (c *VpnTunnelsDeleteCall) Header() http.Header { func (c *VpnTunnelsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -187834,7 +187834,7 @@ func (c *VpnTunnelsGetCall) Header() http.Header { func (c *VpnTunnelsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -188010,7 +188010,7 @@ func (c *VpnTunnelsInsertCall) Header() http.Header { func (c *VpnTunnelsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -188250,7 +188250,7 @@ func (c *VpnTunnelsListCall) Header() http.Header { func (c *VpnTunnelsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -188468,7 +188468,7 @@ func (c *VpnTunnelsSetLabelsCall) Header() http.Header { func (c *VpnTunnelsSetLabelsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -188636,7 +188636,7 @@ func (c *VpnTunnelsTestIamPermissionsCall) Header() http.Header { func (c *VpnTunnelsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -188823,7 +188823,7 @@ func (c *ZoneInPlaceSnapshotsDeleteCall) Header() http.Header { func (c *ZoneInPlaceSnapshotsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -188992,7 +188992,7 @@ func (c *ZoneInPlaceSnapshotsGetCall) Header() http.Header { func (c *ZoneInPlaceSnapshotsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -189167,7 +189167,7 @@ func (c *ZoneInPlaceSnapshotsGetIamPolicyCall) Header() http.Header { func (c *ZoneInPlaceSnapshotsGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -189348,7 +189348,7 @@ func (c *ZoneInPlaceSnapshotsInsertCall) Header() http.Header { func (c *ZoneInPlaceSnapshotsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -189588,7 +189588,7 @@ func (c *ZoneInPlaceSnapshotsListCall) Header() http.Header { func (c *ZoneInPlaceSnapshotsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -189787,7 +189787,7 @@ func (c *ZoneInPlaceSnapshotsSetIamPolicyCall) Header() http.Header { func (c *ZoneInPlaceSnapshotsSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -189969,7 +189969,7 @@ func (c *ZoneInPlaceSnapshotsSetLabelsCall) Header() http.Header { func (c *ZoneInPlaceSnapshotsSetLabelsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -190137,7 +190137,7 @@ func (c *ZoneInPlaceSnapshotsTestIamPermissionsCall) Header() http.Header { func (c *ZoneInPlaceSnapshotsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -190324,7 +190324,7 @@ func (c *ZoneInstantSnapshotsDeleteCall) Header() http.Header { func (c *ZoneInstantSnapshotsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -190503,7 +190503,7 @@ func (c *ZoneInstantSnapshotsExportCall) Header() http.Header { func (c *ZoneInstantSnapshotsExportCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -190680,7 +190680,7 @@ func (c *ZoneInstantSnapshotsGetCall) Header() http.Header { func (c *ZoneInstantSnapshotsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -190855,7 +190855,7 @@ func (c *ZoneInstantSnapshotsGetIamPolicyCall) Header() http.Header { func (c *ZoneInstantSnapshotsGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -191036,7 +191036,7 @@ func (c *ZoneInstantSnapshotsInsertCall) Header() http.Header { func (c *ZoneInstantSnapshotsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -191276,7 +191276,7 @@ func (c *ZoneInstantSnapshotsListCall) Header() http.Header { func (c *ZoneInstantSnapshotsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -191475,7 +191475,7 @@ func (c *ZoneInstantSnapshotsSetIamPolicyCall) Header() http.Header { func (c *ZoneInstantSnapshotsSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -191657,7 +191657,7 @@ func (c *ZoneInstantSnapshotsSetLabelsCall) Header() http.Header { func (c *ZoneInstantSnapshotsSetLabelsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -191825,7 +191825,7 @@ func (c *ZoneInstantSnapshotsTestIamPermissionsCall) Header() http.Header { func (c *ZoneInstantSnapshotsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -191987,7 +191987,7 @@ func (c *ZoneOperationsDeleteCall) Header() http.Header { func (c *ZoneOperationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -192123,7 +192123,7 @@ func (c *ZoneOperationsGetCall) Header() http.Header { func (c *ZoneOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -192364,7 +192364,7 @@ func (c *ZoneOperationsListCall) Header() http.Header { func (c *ZoneOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -192573,7 +192573,7 @@ func (c *ZoneOperationsWaitCall) Header() http.Header { func (c *ZoneOperationsWaitCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -192737,7 +192737,7 @@ func (c *ZonesGetCall) Header() http.Header { func (c *ZonesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -192967,7 +192967,7 @@ func (c *ZonesListCall) Header() http.Header { func (c *ZonesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/compute/v0.beta/compute-gen.go b/compute/v0.beta/compute-gen.go index afb53c9984d..ba4d4efacf9 100644 --- a/compute/v0.beta/compute-gen.go +++ b/compute/v0.beta/compute-gen.go @@ -47353,7 +47353,7 @@ func (c *AcceleratorTypesAggregatedListCall) Header() http.Header { func (c *AcceleratorTypesAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -47556,7 +47556,7 @@ func (c *AcceleratorTypesGetCall) Header() http.Header { func (c *AcceleratorTypesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -47796,7 +47796,7 @@ func (c *AcceleratorTypesListCall) Header() http.Header { func (c *AcceleratorTypesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -48087,7 +48087,7 @@ func (c *AddressesAggregatedListCall) Header() http.Header { func (c *AddressesAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -48299,7 +48299,7 @@ func (c *AddressesDeleteCall) Header() http.Header { func (c *AddressesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -48468,7 +48468,7 @@ func (c *AddressesGetCall) Header() http.Header { func (c *AddressesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -48645,7 +48645,7 @@ func (c *AddressesInsertCall) Header() http.Header { func (c *AddressesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -48886,7 +48886,7 @@ func (c *AddressesListCall) Header() http.Header { func (c *AddressesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -49104,7 +49104,7 @@ func (c *AddressesSetLabelsCall) Header() http.Header { func (c *AddressesSetLabelsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -49272,7 +49272,7 @@ func (c *AddressesTestIamPermissionsCall) Header() http.Header { func (c *AddressesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -49527,7 +49527,7 @@ func (c *AutoscalersAggregatedListCall) Header() http.Header { func (c *AutoscalersAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -49738,7 +49738,7 @@ func (c *AutoscalersDeleteCall) Header() http.Header { func (c *AutoscalersDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -49907,7 +49907,7 @@ func (c *AutoscalersGetCall) Header() http.Header { func (c *AutoscalersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -50083,7 +50083,7 @@ func (c *AutoscalersInsertCall) Header() http.Header { func (c *AutoscalersInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -50323,7 +50323,7 @@ func (c *AutoscalersListCall) Header() http.Header { func (c *AutoscalersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -50547,7 +50547,7 @@ func (c *AutoscalersPatchCall) Header() http.Header { func (c *AutoscalersPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -50712,7 +50712,7 @@ func (c *AutoscalersTestIamPermissionsCall) Header() http.Header { func (c *AutoscalersTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -50900,7 +50900,7 @@ func (c *AutoscalersUpdateCall) Header() http.Header { func (c *AutoscalersUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -51082,7 +51082,7 @@ func (c *BackendBucketsAddSignedUrlKeyCall) Header() http.Header { func (c *BackendBucketsAddSignedUrlKeyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -51254,7 +51254,7 @@ func (c *BackendBucketsDeleteCall) Header() http.Header { func (c *BackendBucketsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -51421,7 +51421,7 @@ func (c *BackendBucketsDeleteSignedUrlKeyCall) Header() http.Header { func (c *BackendBucketsDeleteSignedUrlKeyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -51585,7 +51585,7 @@ func (c *BackendBucketsGetCall) Header() http.Header { func (c *BackendBucketsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -51750,7 +51750,7 @@ func (c *BackendBucketsInsertCall) Header() http.Header { func (c *BackendBucketsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -51979,7 +51979,7 @@ func (c *BackendBucketsListCall) Header() http.Header { func (c *BackendBucketsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -52187,7 +52187,7 @@ func (c *BackendBucketsPatchCall) Header() http.Header { func (c *BackendBucketsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -52363,7 +52363,7 @@ func (c *BackendBucketsUpdateCall) Header() http.Header { func (c *BackendBucketsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -52539,7 +52539,7 @@ func (c *BackendServicesAddSignedUrlKeyCall) Header() http.Header { func (c *BackendServicesAddSignedUrlKeyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -52789,7 +52789,7 @@ func (c *BackendServicesAggregatedListCall) Header() http.Header { func (c *BackendServicesAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -52999,7 +52999,7 @@ func (c *BackendServicesDeleteCall) Header() http.Header { func (c *BackendServicesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -53166,7 +53166,7 @@ func (c *BackendServicesDeleteSignedUrlKeyCall) Header() http.Header { func (c *BackendServicesDeleteSignedUrlKeyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -53331,7 +53331,7 @@ func (c *BackendServicesGetCall) Header() http.Header { func (c *BackendServicesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -53484,7 +53484,7 @@ func (c *BackendServicesGetHealthCall) Header() http.Header { func (c *BackendServicesGetHealthCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -53655,7 +53655,7 @@ func (c *BackendServicesInsertCall) Header() http.Header { func (c *BackendServicesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -53885,7 +53885,7 @@ func (c *BackendServicesListCall) Header() http.Header { func (c *BackendServicesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -54095,7 +54095,7 @@ func (c *BackendServicesPatchCall) Header() http.Header { func (c *BackendServicesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -54271,7 +54271,7 @@ func (c *BackendServicesSetSecurityPolicyCall) Header() http.Header { func (c *BackendServicesSetSecurityPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -54427,7 +54427,7 @@ func (c *BackendServicesTestIamPermissionsCall) Header() http.Header { func (c *BackendServicesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -54601,7 +54601,7 @@ func (c *BackendServicesUpdateCall) Header() http.Header { func (c *BackendServicesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -54852,7 +54852,7 @@ func (c *DiskTypesAggregatedListCall) Header() http.Header { func (c *DiskTypesAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -55057,7 +55057,7 @@ func (c *DiskTypesGetCall) Header() http.Header { func (c *DiskTypesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -55298,7 +55298,7 @@ func (c *DiskTypesListCall) Header() http.Header { func (c *DiskTypesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -55517,7 +55517,7 @@ func (c *DisksAddResourcePoliciesCall) Header() http.Header { func (c *DisksAddResourcePoliciesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -55777,7 +55777,7 @@ func (c *DisksAggregatedListCall) Header() http.Header { func (c *DisksAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -56000,7 +56000,7 @@ func (c *DisksCreateSnapshotCall) Header() http.Header { func (c *DisksCreateSnapshotCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -56193,7 +56193,7 @@ func (c *DisksDeleteCall) Header() http.Header { func (c *DisksDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -56362,7 +56362,7 @@ func (c *DisksGetCall) Header() http.Header { func (c *DisksGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -56537,7 +56537,7 @@ func (c *DisksGetIamPolicyCall) Header() http.Header { func (c *DisksGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -56731,7 +56731,7 @@ func (c *DisksInsertCall) Header() http.Header { func (c *DisksInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -56977,7 +56977,7 @@ func (c *DisksListCall) Header() http.Header { func (c *DisksListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -57194,7 +57194,7 @@ func (c *DisksRemoveResourcePoliciesCall) Header() http.Header { func (c *DisksRemoveResourcePoliciesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -57381,7 +57381,7 @@ func (c *DisksResizeCall) Header() http.Header { func (c *DisksResizeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -57549,7 +57549,7 @@ func (c *DisksSetIamPolicyCall) Header() http.Header { func (c *DisksSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -57731,7 +57731,7 @@ func (c *DisksSetLabelsCall) Header() http.Header { func (c *DisksSetLabelsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -57899,7 +57899,7 @@ func (c *DisksTestIamPermissionsCall) Header() http.Header { func (c *DisksTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -58077,7 +58077,7 @@ func (c *ExternalVpnGatewaysDeleteCall) Header() http.Header { func (c *ExternalVpnGatewaysDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -58235,7 +58235,7 @@ func (c *ExternalVpnGatewaysGetCall) Header() http.Header { func (c *ExternalVpnGatewaysGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -58400,7 +58400,7 @@ func (c *ExternalVpnGatewaysInsertCall) Header() http.Header { func (c *ExternalVpnGatewaysInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -58629,7 +58629,7 @@ func (c *ExternalVpnGatewaysListCall) Header() http.Header { func (c *ExternalVpnGatewaysListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -58817,7 +58817,7 @@ func (c *ExternalVpnGatewaysSetLabelsCall) Header() http.Header { func (c *ExternalVpnGatewaysSetLabelsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -58969,7 +58969,7 @@ func (c *ExternalVpnGatewaysTestIamPermissionsCall) Header() http.Header { func (c *ExternalVpnGatewaysTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -59139,7 +59139,7 @@ func (c *FirewallsDeleteCall) Header() http.Header { func (c *FirewallsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -59297,7 +59297,7 @@ func (c *FirewallsGetCall) Header() http.Header { func (c *FirewallsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -59463,7 +59463,7 @@ func (c *FirewallsInsertCall) Header() http.Header { func (c *FirewallsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -59693,7 +59693,7 @@ func (c *FirewallsListCall) Header() http.Header { func (c *FirewallsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -59902,7 +59902,7 @@ func (c *FirewallsPatchCall) Header() http.Header { func (c *FirewallsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -60059,7 +60059,7 @@ func (c *FirewallsTestIamPermissionsCall) Header() http.Header { func (c *FirewallsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -60234,7 +60234,7 @@ func (c *FirewallsUpdateCall) Header() http.Header { func (c *FirewallsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -60485,7 +60485,7 @@ func (c *ForwardingRulesAggregatedListCall) Header() http.Header { func (c *ForwardingRulesAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -60697,7 +60697,7 @@ func (c *ForwardingRulesDeleteCall) Header() http.Header { func (c *ForwardingRulesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -60866,7 +60866,7 @@ func (c *ForwardingRulesGetCall) Header() http.Header { func (c *ForwardingRulesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -61043,7 +61043,7 @@ func (c *ForwardingRulesInsertCall) Header() http.Header { func (c *ForwardingRulesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -61284,7 +61284,7 @@ func (c *ForwardingRulesListCall) Header() http.Header { func (c *ForwardingRulesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -61504,7 +61504,7 @@ func (c *ForwardingRulesPatchCall) Header() http.Header { func (c *ForwardingRulesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -61691,7 +61691,7 @@ func (c *ForwardingRulesSetLabelsCall) Header() http.Header { func (c *ForwardingRulesSetLabelsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -61879,7 +61879,7 @@ func (c *ForwardingRulesSetTargetCall) Header() http.Header { func (c *ForwardingRulesSetTargetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -62047,7 +62047,7 @@ func (c *ForwardingRulesTestIamPermissionsCall) Header() http.Header { func (c *ForwardingRulesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -62226,7 +62226,7 @@ func (c *GlobalAddressesDeleteCall) Header() http.Header { func (c *GlobalAddressesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -62385,7 +62385,7 @@ func (c *GlobalAddressesGetCall) Header() http.Header { func (c *GlobalAddressesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -62551,7 +62551,7 @@ func (c *GlobalAddressesInsertCall) Header() http.Header { func (c *GlobalAddressesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -62780,7 +62780,7 @@ func (c *GlobalAddressesListCall) Header() http.Header { func (c *GlobalAddressesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -62968,7 +62968,7 @@ func (c *GlobalAddressesSetLabelsCall) Header() http.Header { func (c *GlobalAddressesSetLabelsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -63120,7 +63120,7 @@ func (c *GlobalAddressesTestIamPermissionsCall) Header() http.Header { func (c *GlobalAddressesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -63290,7 +63290,7 @@ func (c *GlobalForwardingRulesDeleteCall) Header() http.Header { func (c *GlobalForwardingRulesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -63449,7 +63449,7 @@ func (c *GlobalForwardingRulesGetCall) Header() http.Header { func (c *GlobalForwardingRulesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -63615,7 +63615,7 @@ func (c *GlobalForwardingRulesInsertCall) Header() http.Header { func (c *GlobalForwardingRulesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -63845,7 +63845,7 @@ func (c *GlobalForwardingRulesListCall) Header() http.Header { func (c *GlobalForwardingRulesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -64054,7 +64054,7 @@ func (c *GlobalForwardingRulesPatchCall) Header() http.Header { func (c *GlobalForwardingRulesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -64211,7 +64211,7 @@ func (c *GlobalForwardingRulesSetLabelsCall) Header() http.Header { func (c *GlobalForwardingRulesSetLabelsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -64383,7 +64383,7 @@ func (c *GlobalForwardingRulesSetTargetCall) Header() http.Header { func (c *GlobalForwardingRulesSetTargetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -64540,7 +64540,7 @@ func (c *GlobalForwardingRulesTestIamPermissionsCall) Header() http.Header { func (c *GlobalForwardingRulesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -64712,7 +64712,7 @@ func (c *GlobalNetworkEndpointGroupsAttachNetworkEndpointsCall) Header() http.He func (c *GlobalNetworkEndpointGroupsAttachNetworkEndpointsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -64885,7 +64885,7 @@ func (c *GlobalNetworkEndpointGroupsDeleteCall) Header() http.Header { func (c *GlobalNetworkEndpointGroupsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -65052,7 +65052,7 @@ func (c *GlobalNetworkEndpointGroupsDetachNetworkEndpointsCall) Header() http.He func (c *GlobalNetworkEndpointGroupsDetachNetworkEndpointsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -65217,7 +65217,7 @@ func (c *GlobalNetworkEndpointGroupsGetCall) Header() http.Header { func (c *GlobalNetworkEndpointGroupsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -65381,7 +65381,7 @@ func (c *GlobalNetworkEndpointGroupsInsertCall) Header() http.Header { func (c *GlobalNetworkEndpointGroupsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -65610,7 +65610,7 @@ func (c *GlobalNetworkEndpointGroupsListCall) Header() http.Header { func (c *GlobalNetworkEndpointGroupsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -65870,7 +65870,7 @@ func (c *GlobalNetworkEndpointGroupsListNetworkEndpointsCall) Header() http.Head func (c *GlobalNetworkEndpointGroupsListNetworkEndpointsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -66159,7 +66159,7 @@ func (c *GlobalOperationsAggregatedListCall) Header() http.Header { func (c *GlobalOperationsAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -66350,7 +66350,7 @@ func (c *GlobalOperationsDeleteCall) Header() http.Header { func (c *GlobalOperationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -66476,7 +66476,7 @@ func (c *GlobalOperationsGetCall) Header() http.Header { func (c *GlobalOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -66706,7 +66706,7 @@ func (c *GlobalOperationsListCall) Header() http.Header { func (c *GlobalOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -66904,7 +66904,7 @@ func (c *GlobalOperationsWaitCall) Header() http.Header { func (c *GlobalOperationsWaitCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -67051,7 +67051,7 @@ func (c *GlobalOrganizationOperationsDeleteCall) Header() http.Header { func (c *GlobalOrganizationOperationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -67177,7 +67177,7 @@ func (c *GlobalOrganizationOperationsGetCall) Header() http.Header { func (c *GlobalOrganizationOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -67407,7 +67407,7 @@ func (c *GlobalOrganizationOperationsListCall) Header() http.Header { func (c *GlobalOrganizationOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -67681,7 +67681,7 @@ func (c *HealthChecksAggregatedListCall) Header() http.Header { func (c *HealthChecksAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -67890,7 +67890,7 @@ func (c *HealthChecksDeleteCall) Header() http.Header { func (c *HealthChecksDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -68048,7 +68048,7 @@ func (c *HealthChecksGetCall) Header() http.Header { func (c *HealthChecksGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -68213,7 +68213,7 @@ func (c *HealthChecksInsertCall) Header() http.Header { func (c *HealthChecksInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -68442,7 +68442,7 @@ func (c *HealthChecksListCall) Header() http.Header { func (c *HealthChecksListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -68650,7 +68650,7 @@ func (c *HealthChecksPatchCall) Header() http.Header { func (c *HealthChecksPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -68807,7 +68807,7 @@ func (c *HealthChecksTestIamPermissionsCall) Header() http.Header { func (c *HealthChecksTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -68979,7 +68979,7 @@ func (c *HealthChecksUpdateCall) Header() http.Header { func (c *HealthChecksUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -69153,7 +69153,7 @@ func (c *HttpHealthChecksDeleteCall) Header() http.Header { func (c *HttpHealthChecksDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -69312,7 +69312,7 @@ func (c *HttpHealthChecksGetCall) Header() http.Header { func (c *HttpHealthChecksGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -69478,7 +69478,7 @@ func (c *HttpHealthChecksInsertCall) Header() http.Header { func (c *HttpHealthChecksInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -69708,7 +69708,7 @@ func (c *HttpHealthChecksListCall) Header() http.Header { func (c *HttpHealthChecksListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -69917,7 +69917,7 @@ func (c *HttpHealthChecksPatchCall) Header() http.Header { func (c *HttpHealthChecksPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -70074,7 +70074,7 @@ func (c *HttpHealthChecksTestIamPermissionsCall) Header() http.Header { func (c *HttpHealthChecksTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -70247,7 +70247,7 @@ func (c *HttpHealthChecksUpdateCall) Header() http.Header { func (c *HttpHealthChecksUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -70420,7 +70420,7 @@ func (c *HttpsHealthChecksDeleteCall) Header() http.Header { func (c *HttpsHealthChecksDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -70578,7 +70578,7 @@ func (c *HttpsHealthChecksGetCall) Header() http.Header { func (c *HttpsHealthChecksGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -70743,7 +70743,7 @@ func (c *HttpsHealthChecksInsertCall) Header() http.Header { func (c *HttpsHealthChecksInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -70972,7 +70972,7 @@ func (c *HttpsHealthChecksListCall) Header() http.Header { func (c *HttpsHealthChecksListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -71180,7 +71180,7 @@ func (c *HttpsHealthChecksPatchCall) Header() http.Header { func (c *HttpsHealthChecksPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -71337,7 +71337,7 @@ func (c *HttpsHealthChecksTestIamPermissionsCall) Header() http.Header { func (c *HttpsHealthChecksTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -71509,7 +71509,7 @@ func (c *HttpsHealthChecksUpdateCall) Header() http.Header { func (c *HttpsHealthChecksUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -71683,7 +71683,7 @@ func (c *ImagesDeleteCall) Header() http.Header { func (c *ImagesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -71854,7 +71854,7 @@ func (c *ImagesDeprecateCall) Header() http.Header { func (c *ImagesDeprecateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -72021,7 +72021,7 @@ func (c *ImagesGetCall) Header() http.Header { func (c *ImagesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -72178,7 +72178,7 @@ func (c *ImagesGetFromFamilyCall) Header() http.Header { func (c *ImagesGetFromFamilyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -72342,7 +72342,7 @@ func (c *ImagesGetIamPolicyCall) Header() http.Header { func (c *ImagesGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -72521,7 +72521,7 @@ func (c *ImagesInsertCall) Header() http.Header { func (c *ImagesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -72764,7 +72764,7 @@ func (c *ImagesListCall) Header() http.Header { func (c *ImagesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -72972,7 +72972,7 @@ func (c *ImagesPatchCall) Header() http.Header { func (c *ImagesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -73129,7 +73129,7 @@ func (c *ImagesSetIamPolicyCall) Header() http.Header { func (c *ImagesSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -73281,7 +73281,7 @@ func (c *ImagesSetLabelsCall) Header() http.Header { func (c *ImagesSetLabelsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -73433,7 +73433,7 @@ func (c *ImagesTestIamPermissionsCall) Header() http.Header { func (c *ImagesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -73622,7 +73622,7 @@ func (c *InstanceGroupManagersAbandonInstancesCall) Header() http.Header { func (c *InstanceGroupManagersAbandonInstancesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -73880,7 +73880,7 @@ func (c *InstanceGroupManagersAggregatedListCall) Header() http.Header { func (c *InstanceGroupManagersAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -74077,7 +74077,7 @@ func (c *InstanceGroupManagersApplyUpdatesToInstancesCall) Header() http.Header func (c *InstanceGroupManagersApplyUpdatesToInstancesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -74260,7 +74260,7 @@ func (c *InstanceGroupManagersCreateInstancesCall) Header() http.Header { func (c *InstanceGroupManagersCreateInstancesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -74445,7 +74445,7 @@ func (c *InstanceGroupManagersDeleteCall) Header() http.Header { func (c *InstanceGroupManagersDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -74636,7 +74636,7 @@ func (c *InstanceGroupManagersDeleteInstancesCall) Header() http.Header { func (c *InstanceGroupManagersDeleteInstancesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -74802,7 +74802,7 @@ func (c *InstanceGroupManagersDeletePerInstanceConfigsCall) Header() http.Header func (c *InstanceGroupManagersDeletePerInstanceConfigsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -74973,7 +74973,7 @@ func (c *InstanceGroupManagersGetCall) Header() http.Header { func (c *InstanceGroupManagersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -75155,7 +75155,7 @@ func (c *InstanceGroupManagersInsertCall) Header() http.Header { func (c *InstanceGroupManagersInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -75394,7 +75394,7 @@ func (c *InstanceGroupManagersListCall) Header() http.Header { func (c *InstanceGroupManagersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -75676,7 +75676,7 @@ func (c *InstanceGroupManagersListErrorsCall) Header() http.Header { func (c *InstanceGroupManagersListErrorsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -75960,7 +75960,7 @@ func (c *InstanceGroupManagersListManagedInstancesCall) Header() http.Header { func (c *InstanceGroupManagersListManagedInstancesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -76238,7 +76238,7 @@ func (c *InstanceGroupManagersListPerInstanceConfigsCall) Header() http.Header { func (c *InstanceGroupManagersListPerInstanceConfigsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -76467,7 +76467,7 @@ func (c *InstanceGroupManagersPatchCall) Header() http.Header { func (c *InstanceGroupManagersPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -76653,7 +76653,7 @@ func (c *InstanceGroupManagersPatchPerInstanceConfigsCall) Header() http.Header func (c *InstanceGroupManagersPatchPerInstanceConfigsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -76851,7 +76851,7 @@ func (c *InstanceGroupManagersRecreateInstancesCall) Header() http.Header { func (c *InstanceGroupManagersRecreateInstancesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -77054,7 +77054,7 @@ func (c *InstanceGroupManagersResizeCall) Header() http.Header { func (c *InstanceGroupManagersResizeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -77252,7 +77252,7 @@ func (c *InstanceGroupManagersResizeAdvancedCall) Header() http.Header { func (c *InstanceGroupManagersResizeAdvancedCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -77438,7 +77438,7 @@ func (c *InstanceGroupManagersSetAutoHealingPoliciesCall) Header() http.Header { func (c *InstanceGroupManagersSetAutoHealingPoliciesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -77626,7 +77626,7 @@ func (c *InstanceGroupManagersSetInstanceTemplateCall) Header() http.Header { func (c *InstanceGroupManagersSetInstanceTemplateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -77816,7 +77816,7 @@ func (c *InstanceGroupManagersSetTargetPoolsCall) Header() http.Header { func (c *InstanceGroupManagersSetTargetPoolsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -77982,7 +77982,7 @@ func (c *InstanceGroupManagersTestIamPermissionsCall) Header() http.Header { func (c *InstanceGroupManagersTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -78168,7 +78168,7 @@ func (c *InstanceGroupManagersUpdateCall) Header() http.Header { func (c *InstanceGroupManagersUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -78354,7 +78354,7 @@ func (c *InstanceGroupManagersUpdatePerInstanceConfigsCall) Header() http.Header func (c *InstanceGroupManagersUpdatePerInstanceConfigsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -78540,7 +78540,7 @@ func (c *InstanceGroupsAddInstancesCall) Header() http.Header { func (c *InstanceGroupsAddInstancesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -78798,7 +78798,7 @@ func (c *InstanceGroupsAggregatedListCall) Header() http.Header { func (c *InstanceGroupsAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -79012,7 +79012,7 @@ func (c *InstanceGroupsDeleteCall) Header() http.Header { func (c *InstanceGroupsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -79182,7 +79182,7 @@ func (c *InstanceGroupsGetCall) Header() http.Header { func (c *InstanceGroupsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -79356,7 +79356,7 @@ func (c *InstanceGroupsInsertCall) Header() http.Header { func (c *InstanceGroupsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -79598,7 +79598,7 @@ func (c *InstanceGroupsListCall) Header() http.Header { func (c *InstanceGroupsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -79870,7 +79870,7 @@ func (c *InstanceGroupsListInstancesCall) Header() http.Header { func (c *InstanceGroupsListInstancesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -80104,7 +80104,7 @@ func (c *InstanceGroupsRemoveInstancesCall) Header() http.Header { func (c *InstanceGroupsRemoveInstancesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -80288,7 +80288,7 @@ func (c *InstanceGroupsSetNamedPortsCall) Header() http.Header { func (c *InstanceGroupsSetNamedPortsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -80454,7 +80454,7 @@ func (c *InstanceGroupsTestIamPermissionsCall) Header() http.Header { func (c *InstanceGroupsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -80635,7 +80635,7 @@ func (c *InstanceTemplatesDeleteCall) Header() http.Header { func (c *InstanceTemplatesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -80794,7 +80794,7 @@ func (c *InstanceTemplatesGetCall) Header() http.Header { func (c *InstanceTemplatesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -80958,7 +80958,7 @@ func (c *InstanceTemplatesGetIamPolicyCall) Header() http.Header { func (c *InstanceTemplatesGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -81133,7 +81133,7 @@ func (c *InstanceTemplatesInsertCall) Header() http.Header { func (c *InstanceTemplatesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -81363,7 +81363,7 @@ func (c *InstanceTemplatesListCall) Header() http.Header { func (c *InstanceTemplatesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -81551,7 +81551,7 @@ func (c *InstanceTemplatesSetIamPolicyCall) Header() http.Header { func (c *InstanceTemplatesSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -81703,7 +81703,7 @@ func (c *InstanceTemplatesTestIamPermissionsCall) Header() http.Header { func (c *InstanceTemplatesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -81879,7 +81879,7 @@ func (c *InstancesAddAccessConfigCall) Header() http.Header { func (c *InstancesAddAccessConfigCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -82074,7 +82074,7 @@ func (c *InstancesAddResourcePoliciesCall) Header() http.Header { func (c *InstancesAddResourcePoliciesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -82335,7 +82335,7 @@ func (c *InstancesAggregatedListCall) Header() http.Header { func (c *InstancesAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -82561,7 +82561,7 @@ func (c *InstancesAttachDiskCall) Header() http.Header { func (c *InstancesAttachDiskCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -82752,7 +82752,7 @@ func (c *InstancesDeleteCall) Header() http.Header { func (c *InstancesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -82932,7 +82932,7 @@ func (c *InstancesDeleteAccessConfigCall) Header() http.Header { func (c *InstancesDeleteAccessConfigCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -83124,7 +83124,7 @@ func (c *InstancesDetachDiskCall) Header() http.Header { func (c *InstancesDetachDiskCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -83301,7 +83301,7 @@ func (c *InstancesGetCall) Header() http.Header { func (c *InstancesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -83470,7 +83470,7 @@ func (c *InstancesGetEffectiveFirewallsCall) Header() http.Header { func (c *InstancesGetEffectiveFirewallsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -83659,7 +83659,7 @@ func (c *InstancesGetGuestAttributesCall) Header() http.Header { func (c *InstancesGetGuestAttributesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -83844,7 +83844,7 @@ func (c *InstancesGetIamPolicyCall) Header() http.Header { func (c *InstancesGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -84017,7 +84017,7 @@ func (c *InstancesGetScreenshotCall) Header() http.Header { func (c *InstancesGetScreenshotCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -84215,7 +84215,7 @@ func (c *InstancesGetSerialPortOutputCall) Header() http.Header { func (c *InstancesGetSerialPortOutputCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -84398,7 +84398,7 @@ func (c *InstancesGetShieldedInstanceIdentityCall) Header() http.Header { func (c *InstancesGetShieldedInstanceIdentityCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -84566,7 +84566,7 @@ func (c *InstancesGetShieldedVmIdentityCall) Header() http.Header { func (c *InstancesGetShieldedVmIdentityCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -84772,7 +84772,7 @@ func (c *InstancesInsertCall) Header() http.Header { func (c *InstancesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -85023,7 +85023,7 @@ func (c *InstancesListCall) Header() http.Header { func (c *InstancesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -85308,7 +85308,7 @@ func (c *InstancesListReferrersCall) Header() http.Header { func (c *InstancesListReferrersCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -85534,7 +85534,7 @@ func (c *InstancesRemoveResourcePoliciesCall) Header() http.Header { func (c *InstancesRemoveResourcePoliciesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -85721,7 +85721,7 @@ func (c *InstancesResetCall) Header() http.Header { func (c *InstancesResetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -85900,7 +85900,7 @@ func (c *InstancesResumeCall) Header() http.Header { func (c *InstancesResumeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -86091,7 +86091,7 @@ func (c *InstancesSetDeletionProtectionCall) Header() http.Header { func (c *InstancesSetDeletionProtectionCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -86277,7 +86277,7 @@ func (c *InstancesSetDiskAutoDeleteCall) Header() http.Header { func (c *InstancesSetDiskAutoDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -86452,7 +86452,7 @@ func (c *InstancesSetIamPolicyCall) Header() http.Header { func (c *InstancesSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -86634,7 +86634,7 @@ func (c *InstancesSetLabelsCall) Header() http.Header { func (c *InstancesSetLabelsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -86821,7 +86821,7 @@ func (c *InstancesSetMachineResourcesCall) Header() http.Header { func (c *InstancesSetMachineResourcesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -87008,7 +87008,7 @@ func (c *InstancesSetMachineTypeCall) Header() http.Header { func (c *InstancesSetMachineTypeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -87196,7 +87196,7 @@ func (c *InstancesSetMetadataCall) Header() http.Header { func (c *InstancesSetMetadataCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -87385,7 +87385,7 @@ func (c *InstancesSetMinCpuPlatformCall) Header() http.Header { func (c *InstancesSetMinCpuPlatformCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -87571,7 +87571,7 @@ func (c *InstancesSetNameCall) Header() http.Header { func (c *InstancesSetNameCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -87761,7 +87761,7 @@ func (c *InstancesSetSchedulingCall) Header() http.Header { func (c *InstancesSetSchedulingCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -87949,7 +87949,7 @@ func (c *InstancesSetServiceAccountCall) Header() http.Header { func (c *InstancesSetServiceAccountCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -88138,7 +88138,7 @@ func (c *InstancesSetShieldedInstanceIntegrityPolicyCall) Header() http.Header { func (c *InstancesSetShieldedInstanceIntegrityPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -88327,7 +88327,7 @@ func (c *InstancesSetShieldedVmIntegrityPolicyCall) Header() http.Header { func (c *InstancesSetShieldedVmIntegrityPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -88515,7 +88515,7 @@ func (c *InstancesSetTagsCall) Header() http.Header { func (c *InstancesSetTagsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -88681,7 +88681,7 @@ func (c *InstancesSimulateMaintenanceEventCall) Header() http.Header { func (c *InstancesSimulateMaintenanceEventCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -88854,7 +88854,7 @@ func (c *InstancesStartCall) Header() http.Header { func (c *InstancesStartCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -89034,7 +89034,7 @@ func (c *InstancesStartWithEncryptionKeyCall) Header() http.Header { func (c *InstancesStartWithEncryptionKeyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -89224,7 +89224,7 @@ func (c *InstancesStopCall) Header() http.Header { func (c *InstancesStopCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -89413,7 +89413,7 @@ func (c *InstancesSuspendCall) Header() http.Header { func (c *InstancesSuspendCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -89578,7 +89578,7 @@ func (c *InstancesTestIamPermissionsCall) Header() http.Header { func (c *InstancesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -89795,7 +89795,7 @@ func (c *InstancesUpdateCall) Header() http.Header { func (c *InstancesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -90019,7 +90019,7 @@ func (c *InstancesUpdateAccessConfigCall) Header() http.Header { func (c *InstancesUpdateAccessConfigCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -90215,7 +90215,7 @@ func (c *InstancesUpdateDisplayDeviceCall) Header() http.Header { func (c *InstancesUpdateDisplayDeviceCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -90403,7 +90403,7 @@ func (c *InstancesUpdateNetworkInterfaceCall) Header() http.Header { func (c *InstancesUpdateNetworkInterfaceCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -90599,7 +90599,7 @@ func (c *InstancesUpdateShieldedInstanceConfigCall) Header() http.Header { func (c *InstancesUpdateShieldedInstanceConfigCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -90788,7 +90788,7 @@ func (c *InstancesUpdateShieldedVmConfigCall) Header() http.Header { func (c *InstancesUpdateShieldedVmConfigCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -91048,7 +91048,7 @@ func (c *InterconnectAttachmentsAggregatedListCall) Header() http.Header { func (c *InterconnectAttachmentsAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -91260,7 +91260,7 @@ func (c *InterconnectAttachmentsDeleteCall) Header() http.Header { func (c *InterconnectAttachmentsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -91428,7 +91428,7 @@ func (c *InterconnectAttachmentsGetCall) Header() http.Header { func (c *InterconnectAttachmentsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -91611,7 +91611,7 @@ func (c *InterconnectAttachmentsInsertCall) Header() http.Header { func (c *InterconnectAttachmentsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -91856,7 +91856,7 @@ func (c *InterconnectAttachmentsListCall) Header() http.Header { func (c *InterconnectAttachmentsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -92075,7 +92075,7 @@ func (c *InterconnectAttachmentsPatchCall) Header() http.Header { func (c *InterconnectAttachmentsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -92262,7 +92262,7 @@ func (c *InterconnectAttachmentsSetLabelsCall) Header() http.Header { func (c *InterconnectAttachmentsSetLabelsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -92430,7 +92430,7 @@ func (c *InterconnectAttachmentsTestIamPermissionsCall) Header() http.Header { func (c *InterconnectAttachmentsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -92602,7 +92602,7 @@ func (c *InterconnectLocationsGetCall) Header() http.Header { func (c *InterconnectLocationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -92831,7 +92831,7 @@ func (c *InterconnectLocationsListCall) Header() http.Header { func (c *InterconnectLocationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -93035,7 +93035,7 @@ func (c *InterconnectsDeleteCall) Header() http.Header { func (c *InterconnectsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -93193,7 +93193,7 @@ func (c *InterconnectsGetCall) Header() http.Header { func (c *InterconnectsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -93350,7 +93350,7 @@ func (c *InterconnectsGetDiagnosticsCall) Header() http.Header { func (c *InterconnectsGetDiagnosticsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -93516,7 +93516,7 @@ func (c *InterconnectsInsertCall) Header() http.Header { func (c *InterconnectsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -93745,7 +93745,7 @@ func (c *InterconnectsListCall) Header() http.Header { func (c *InterconnectsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -93953,7 +93953,7 @@ func (c *InterconnectsPatchCall) Header() http.Header { func (c *InterconnectsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -94110,7 +94110,7 @@ func (c *InterconnectsSetLabelsCall) Header() http.Header { func (c *InterconnectsSetLabelsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -94262,7 +94262,7 @@ func (c *InterconnectsTestIamPermissionsCall) Header() http.Header { func (c *InterconnectsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -94426,7 +94426,7 @@ func (c *LicenseCodesGetCall) Header() http.Header { func (c *LicenseCodesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -94592,7 +94592,7 @@ func (c *LicensesDeleteCall) Header() http.Header { func (c *LicensesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -94752,7 +94752,7 @@ func (c *LicensesGetCall) Header() http.Header { func (c *LicensesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -94918,7 +94918,7 @@ func (c *LicensesGetIamPolicyCall) Header() http.Header { func (c *LicensesGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -95090,7 +95090,7 @@ func (c *LicensesInsertCall) Header() http.Header { func (c *LicensesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -95328,7 +95328,7 @@ func (c *LicensesListCall) Header() http.Header { func (c *LicensesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -95518,7 +95518,7 @@ func (c *LicensesSetIamPolicyCall) Header() http.Header { func (c *LicensesSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -95687,7 +95687,7 @@ func (c *MachineImagesDeleteCall) Header() http.Header { func (c *MachineImagesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -95845,7 +95845,7 @@ func (c *MachineImagesGetCall) Header() http.Header { func (c *MachineImagesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -96009,7 +96009,7 @@ func (c *MachineImagesGetIamPolicyCall) Header() http.Header { func (c *MachineImagesGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -96191,7 +96191,7 @@ func (c *MachineImagesInsertCall) Header() http.Header { func (c *MachineImagesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -96425,7 +96425,7 @@ func (c *MachineImagesListCall) Header() http.Header { func (c *MachineImagesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -96613,7 +96613,7 @@ func (c *MachineImagesSetIamPolicyCall) Header() http.Header { func (c *MachineImagesSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -96765,7 +96765,7 @@ func (c *MachineImagesTestIamPermissionsCall) Header() http.Header { func (c *MachineImagesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -97012,7 +97012,7 @@ func (c *MachineTypesAggregatedListCall) Header() http.Header { func (c *MachineTypesAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -97217,7 +97217,7 @@ func (c *MachineTypesGetCall) Header() http.Header { func (c *MachineTypesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -97458,7 +97458,7 @@ func (c *MachineTypesListCall) Header() http.Header { func (c *MachineTypesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -97749,7 +97749,7 @@ func (c *NetworkEndpointGroupsAggregatedListCall) Header() http.Header { func (c *NetworkEndpointGroupsAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -97964,7 +97964,7 @@ func (c *NetworkEndpointGroupsAttachNetworkEndpointsCall) Header() http.Header { func (c *NetworkEndpointGroupsAttachNetworkEndpointsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -98149,7 +98149,7 @@ func (c *NetworkEndpointGroupsDeleteCall) Header() http.Header { func (c *NetworkEndpointGroupsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -98326,7 +98326,7 @@ func (c *NetworkEndpointGroupsDetachNetworkEndpointsCall) Header() http.Header { func (c *NetworkEndpointGroupsDetachNetworkEndpointsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -98501,7 +98501,7 @@ func (c *NetworkEndpointGroupsGetCall) Header() http.Header { func (c *NetworkEndpointGroupsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -98675,7 +98675,7 @@ func (c *NetworkEndpointGroupsInsertCall) Header() http.Header { func (c *NetworkEndpointGroupsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -98914,7 +98914,7 @@ func (c *NetworkEndpointGroupsListCall) Header() http.Header { func (c *NetworkEndpointGroupsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -99186,7 +99186,7 @@ func (c *NetworkEndpointGroupsListNetworkEndpointsCall) Header() http.Header { func (c *NetworkEndpointGroupsListNetworkEndpointsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -99399,7 +99399,7 @@ func (c *NetworkEndpointGroupsTestIamPermissionsCall) Header() http.Header { func (c *NetworkEndpointGroupsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -99579,7 +99579,7 @@ func (c *NetworksAddPeeringCall) Header() http.Header { func (c *NetworksAddPeeringCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -99753,7 +99753,7 @@ func (c *NetworksDeleteCall) Header() http.Header { func (c *NetworksDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -99912,7 +99912,7 @@ func (c *NetworksGetCall) Header() http.Header { func (c *NetworksGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -100069,7 +100069,7 @@ func (c *NetworksGetEffectiveFirewallsCall) Header() http.Header { func (c *NetworksGetEffectiveFirewallsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -100236,7 +100236,7 @@ func (c *NetworksInsertCall) Header() http.Header { func (c *NetworksInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -100466,7 +100466,7 @@ func (c *NetworksListCall) Header() http.Header { func (c *NetworksListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -100763,7 +100763,7 @@ func (c *NetworksListPeeringRoutesCall) Header() http.Header { func (c *NetworksListPeeringRoutesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -101003,7 +101003,7 @@ func (c *NetworksPatchCall) Header() http.Header { func (c *NetworksPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -101178,7 +101178,7 @@ func (c *NetworksRemovePeeringCall) Header() http.Header { func (c *NetworksRemovePeeringCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -101352,7 +101352,7 @@ func (c *NetworksSwitchToCustomModeCall) Header() http.Header { func (c *NetworksSwitchToCustomModeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -101501,7 +101501,7 @@ func (c *NetworksTestIamPermissionsCall) Header() http.Header { func (c *NetworksTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -101675,7 +101675,7 @@ func (c *NetworksUpdatePeeringCall) Header() http.Header { func (c *NetworksUpdatePeeringCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -101852,7 +101852,7 @@ func (c *NodeGroupsAddNodesCall) Header() http.Header { func (c *NodeGroupsAddNodesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -102112,7 +102112,7 @@ func (c *NodeGroupsAggregatedListCall) Header() http.Header { func (c *NodeGroupsAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -102323,7 +102323,7 @@ func (c *NodeGroupsDeleteCall) Header() http.Header { func (c *NodeGroupsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -102501,7 +102501,7 @@ func (c *NodeGroupsDeleteNodesCall) Header() http.Header { func (c *NodeGroupsDeleteNodesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -102679,7 +102679,7 @@ func (c *NodeGroupsGetCall) Header() http.Header { func (c *NodeGroupsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -102854,7 +102854,7 @@ func (c *NodeGroupsGetIamPolicyCall) Header() http.Header { func (c *NodeGroupsGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -103037,7 +103037,7 @@ func (c *NodeGroupsInsertCall) Header() http.Header { func (c *NodeGroupsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -103286,7 +103286,7 @@ func (c *NodeGroupsListCall) Header() http.Header { func (c *NodeGroupsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -103556,7 +103556,7 @@ func (c *NodeGroupsListNodesCall) Header() http.Header { func (c *NodeGroupsListNodesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -103779,7 +103779,7 @@ func (c *NodeGroupsPatchCall) Header() http.Header { func (c *NodeGroupsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -103947,7 +103947,7 @@ func (c *NodeGroupsSetIamPolicyCall) Header() http.Header { func (c *NodeGroupsSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -104128,7 +104128,7 @@ func (c *NodeGroupsSetNodeTemplateCall) Header() http.Header { func (c *NodeGroupsSetNodeTemplateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -104296,7 +104296,7 @@ func (c *NodeGroupsTestIamPermissionsCall) Header() http.Header { func (c *NodeGroupsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -104551,7 +104551,7 @@ func (c *NodeTemplatesAggregatedListCall) Header() http.Header { func (c *NodeTemplatesAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -104762,7 +104762,7 @@ func (c *NodeTemplatesDeleteCall) Header() http.Header { func (c *NodeTemplatesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -104931,7 +104931,7 @@ func (c *NodeTemplatesGetCall) Header() http.Header { func (c *NodeTemplatesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -105106,7 +105106,7 @@ func (c *NodeTemplatesGetIamPolicyCall) Header() http.Header { func (c *NodeTemplatesGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -105288,7 +105288,7 @@ func (c *NodeTemplatesInsertCall) Header() http.Header { func (c *NodeTemplatesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -105528,7 +105528,7 @@ func (c *NodeTemplatesListCall) Header() http.Header { func (c *NodeTemplatesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -105727,7 +105727,7 @@ func (c *NodeTemplatesSetIamPolicyCall) Header() http.Header { func (c *NodeTemplatesSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -105890,7 +105890,7 @@ func (c *NodeTemplatesTestIamPermissionsCall) Header() http.Header { func (c *NodeTemplatesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -106145,7 +106145,7 @@ func (c *NodeTypesAggregatedListCall) Header() http.Header { func (c *NodeTypesAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -106349,7 +106349,7 @@ func (c *NodeTypesGetCall) Header() http.Header { func (c *NodeTypesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -106589,7 +106589,7 @@ func (c *NodeTypesListCall) Header() http.Header { func (c *NodeTypesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -106813,7 +106813,7 @@ func (c *OrganizationSecurityPoliciesAddAssociationCall) Header() http.Header { func (c *OrganizationSecurityPoliciesAddAssociationCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -106982,7 +106982,7 @@ func (c *OrganizationSecurityPoliciesAddRuleCall) Header() http.Header { func (c *OrganizationSecurityPoliciesAddRuleCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -107151,7 +107151,7 @@ func (c *OrganizationSecurityPoliciesCopyRulesCall) Header() http.Header { func (c *OrganizationSecurityPoliciesCopyRulesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -107310,7 +107310,7 @@ func (c *OrganizationSecurityPoliciesDeleteCall) Header() http.Header { func (c *OrganizationSecurityPoliciesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -107457,7 +107457,7 @@ func (c *OrganizationSecurityPoliciesGetCall) Header() http.Header { func (c *OrganizationSecurityPoliciesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -107609,7 +107609,7 @@ func (c *OrganizationSecurityPoliciesGetAssociationCall) Header() http.Header { func (c *OrganizationSecurityPoliciesGetAssociationCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -107766,7 +107766,7 @@ func (c *OrganizationSecurityPoliciesGetRuleCall) Header() http.Header { func (c *OrganizationSecurityPoliciesGetRuleCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -107935,7 +107935,7 @@ func (c *OrganizationSecurityPoliciesInsertCall) Header() http.Header { func (c *OrganizationSecurityPoliciesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -108161,7 +108161,7 @@ func (c *OrganizationSecurityPoliciesListCall) Header() http.Header { func (c *OrganizationSecurityPoliciesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -108354,7 +108354,7 @@ func (c *OrganizationSecurityPoliciesListAssociationsCall) Header() http.Header func (c *OrganizationSecurityPoliciesListAssociationsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -108507,7 +108507,7 @@ func (c *OrganizationSecurityPoliciesMoveCall) Header() http.Header { func (c *OrganizationSecurityPoliciesMoveCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -108669,7 +108669,7 @@ func (c *OrganizationSecurityPoliciesPatchCall) Header() http.Header { func (c *OrganizationSecurityPoliciesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -108840,7 +108840,7 @@ func (c *OrganizationSecurityPoliciesPatchRuleCall) Header() http.Header { func (c *OrganizationSecurityPoliciesPatchRuleCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -109016,7 +109016,7 @@ func (c *OrganizationSecurityPoliciesRemoveAssociationCall) Header() http.Header func (c *OrganizationSecurityPoliciesRemoveAssociationCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -109182,7 +109182,7 @@ func (c *OrganizationSecurityPoliciesRemoveRuleCall) Header() http.Header { func (c *OrganizationSecurityPoliciesRemoveRuleCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -109421,7 +109421,7 @@ func (c *PacketMirroringsAggregatedListCall) Header() http.Header { func (c *PacketMirroringsAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -109632,7 +109632,7 @@ func (c *PacketMirroringsDeleteCall) Header() http.Header { func (c *PacketMirroringsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -109800,7 +109800,7 @@ func (c *PacketMirroringsGetCall) Header() http.Header { func (c *PacketMirroringsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -109976,7 +109976,7 @@ func (c *PacketMirroringsInsertCall) Header() http.Header { func (c *PacketMirroringsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -110216,7 +110216,7 @@ func (c *PacketMirroringsListCall) Header() http.Header { func (c *PacketMirroringsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -110435,7 +110435,7 @@ func (c *PacketMirroringsPatchCall) Header() http.Header { func (c *PacketMirroringsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -110603,7 +110603,7 @@ func (c *PacketMirroringsTestIamPermissionsCall) Header() http.Header { func (c *PacketMirroringsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -110779,7 +110779,7 @@ func (c *ProjectsDisableXpnHostCall) Header() http.Header { func (c *ProjectsDisableXpnHostCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -110936,7 +110936,7 @@ func (c *ProjectsDisableXpnResourceCall) Header() http.Header { func (c *ProjectsDisableXpnResourceCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -111098,7 +111098,7 @@ func (c *ProjectsEnableXpnHostCall) Header() http.Header { func (c *ProjectsEnableXpnHostCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -111256,7 +111256,7 @@ func (c *ProjectsEnableXpnResourceCall) Header() http.Header { func (c *ProjectsEnableXpnResourceCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -111411,7 +111411,7 @@ func (c *ProjectsGetCall) Header() http.Header { func (c *ProjectsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -111557,7 +111557,7 @@ func (c *ProjectsGetXpnHostCall) Header() http.Header { func (c *ProjectsGetXpnHostCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -111776,7 +111776,7 @@ func (c *ProjectsGetXpnResourcesCall) Header() http.Header { func (c *ProjectsGetXpnResourcesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -112035,7 +112035,7 @@ func (c *ProjectsListXpnHostsCall) Header() http.Header { func (c *ProjectsListXpnHostsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -112243,7 +112243,7 @@ func (c *ProjectsMoveDiskCall) Header() http.Header { func (c *ProjectsMoveDiskCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -112408,7 +112408,7 @@ func (c *ProjectsMoveInstanceCall) Header() http.Header { func (c *ProjectsMoveInstanceCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -112574,7 +112574,7 @@ func (c *ProjectsSetCommonInstanceMetadataCall) Header() http.Header { func (c *ProjectsSetCommonInstanceMetadataCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -112741,7 +112741,7 @@ func (c *ProjectsSetDefaultNetworkTierCall) Header() http.Header { func (c *ProjectsSetDefaultNetworkTierCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -112909,7 +112909,7 @@ func (c *ProjectsSetUsageExportBucketCall) Header() http.Header { func (c *ProjectsSetUsageExportBucketCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -113078,7 +113078,7 @@ func (c *RegionAutoscalersDeleteCall) Header() http.Header { func (c *RegionAutoscalersDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -113246,7 +113246,7 @@ func (c *RegionAutoscalersGetCall) Header() http.Header { func (c *RegionAutoscalersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -113422,7 +113422,7 @@ func (c *RegionAutoscalersInsertCall) Header() http.Header { func (c *RegionAutoscalersInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -113662,7 +113662,7 @@ func (c *RegionAutoscalersListCall) Header() http.Header { func (c *RegionAutoscalersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -113886,7 +113886,7 @@ func (c *RegionAutoscalersPatchCall) Header() http.Header { func (c *RegionAutoscalersPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -114051,7 +114051,7 @@ func (c *RegionAutoscalersTestIamPermissionsCall) Header() http.Header { func (c *RegionAutoscalersTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -114239,7 +114239,7 @@ func (c *RegionAutoscalersUpdateCall) Header() http.Header { func (c *RegionAutoscalersUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -114420,7 +114420,7 @@ func (c *RegionBackendServicesDeleteCall) Header() http.Header { func (c *RegionBackendServicesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -114588,7 +114588,7 @@ func (c *RegionBackendServicesGetCall) Header() http.Header { func (c *RegionBackendServicesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -114747,7 +114747,7 @@ func (c *RegionBackendServicesGetHealthCall) Header() http.Header { func (c *RegionBackendServicesGetHealthCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -114928,7 +114928,7 @@ func (c *RegionBackendServicesInsertCall) Header() http.Header { func (c *RegionBackendServicesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -115168,7 +115168,7 @@ func (c *RegionBackendServicesListCall) Header() http.Header { func (c *RegionBackendServicesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -115388,7 +115388,7 @@ func (c *RegionBackendServicesPatchCall) Header() http.Header { func (c *RegionBackendServicesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -115556,7 +115556,7 @@ func (c *RegionBackendServicesTestIamPermissionsCall) Header() http.Header { func (c *RegionBackendServicesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -115740,7 +115740,7 @@ func (c *RegionBackendServicesUpdateCall) Header() http.Header { func (c *RegionBackendServicesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -115999,7 +115999,7 @@ func (c *RegionCommitmentsAggregatedListCall) Header() http.Header { func (c *RegionCommitmentsAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -116203,7 +116203,7 @@ func (c *RegionCommitmentsGetCall) Header() http.Header { func (c *RegionCommitmentsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -116379,7 +116379,7 @@ func (c *RegionCommitmentsInsertCall) Header() http.Header { func (c *RegionCommitmentsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -116619,7 +116619,7 @@ func (c *RegionCommitmentsListCall) Header() http.Header { func (c *RegionCommitmentsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -116837,7 +116837,7 @@ func (c *RegionCommitmentsUpdateReservationsCall) Header() http.Header { func (c *RegionCommitmentsUpdateReservationsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -117014,7 +117014,7 @@ func (c *RegionDiskTypesGetCall) Header() http.Header { func (c *RegionDiskTypesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -117254,7 +117254,7 @@ func (c *RegionDiskTypesListCall) Header() http.Header { func (c *RegionDiskTypesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -117473,7 +117473,7 @@ func (c *RegionDisksAddResourcePoliciesCall) Header() http.Header { func (c *RegionDisksAddResourcePoliciesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -117659,7 +117659,7 @@ func (c *RegionDisksCreateSnapshotCall) Header() http.Header { func (c *RegionDisksCreateSnapshotCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -117846,7 +117846,7 @@ func (c *RegionDisksDeleteCall) Header() http.Header { func (c *RegionDisksDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -118013,7 +118013,7 @@ func (c *RegionDisksGetCall) Header() http.Header { func (c *RegionDisksGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -118188,7 +118188,7 @@ func (c *RegionDisksGetIamPolicyCall) Header() http.Header { func (c *RegionDisksGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -118377,7 +118377,7 @@ func (c *RegionDisksInsertCall) Header() http.Header { func (c *RegionDisksInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -118622,7 +118622,7 @@ func (c *RegionDisksListCall) Header() http.Header { func (c *RegionDisksListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -118840,7 +118840,7 @@ func (c *RegionDisksRemoveResourcePoliciesCall) Header() http.Header { func (c *RegionDisksRemoveResourcePoliciesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -119026,7 +119026,7 @@ func (c *RegionDisksResizeCall) Header() http.Header { func (c *RegionDisksResizeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -119194,7 +119194,7 @@ func (c *RegionDisksSetIamPolicyCall) Header() http.Header { func (c *RegionDisksSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -119375,7 +119375,7 @@ func (c *RegionDisksSetLabelsCall) Header() http.Header { func (c *RegionDisksSetLabelsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -119543,7 +119543,7 @@ func (c *RegionDisksTestIamPermissionsCall) Header() http.Header { func (c *RegionDisksTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -119723,7 +119723,7 @@ func (c *RegionHealthCheckServicesDeleteCall) Header() http.Header { func (c *RegionHealthCheckServicesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -119890,7 +119890,7 @@ func (c *RegionHealthCheckServicesGetCall) Header() http.Header { func (c *RegionHealthCheckServicesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -120065,7 +120065,7 @@ func (c *RegionHealthCheckServicesInsertCall) Header() http.Header { func (c *RegionHealthCheckServicesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -120305,7 +120305,7 @@ func (c *RegionHealthCheckServicesListCall) Header() http.Header { func (c *RegionHealthCheckServicesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -120524,7 +120524,7 @@ func (c *RegionHealthCheckServicesPatchCall) Header() http.Header { func (c *RegionHealthCheckServicesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -120707,7 +120707,7 @@ func (c *RegionHealthChecksDeleteCall) Header() http.Header { func (c *RegionHealthChecksDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -120876,7 +120876,7 @@ func (c *RegionHealthChecksGetCall) Header() http.Header { func (c *RegionHealthChecksGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -121052,7 +121052,7 @@ func (c *RegionHealthChecksInsertCall) Header() http.Header { func (c *RegionHealthChecksInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -121292,7 +121292,7 @@ func (c *RegionHealthChecksListCall) Header() http.Header { func (c *RegionHealthChecksListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -121511,7 +121511,7 @@ func (c *RegionHealthChecksPatchCall) Header() http.Header { func (c *RegionHealthChecksPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -121698,7 +121698,7 @@ func (c *RegionHealthChecksUpdateCall) Header() http.Header { func (c *RegionHealthChecksUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -121900,7 +121900,7 @@ func (c *RegionInstanceGroupManagersAbandonInstancesCall) Header() http.Header { func (c *RegionInstanceGroupManagersAbandonInstancesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -122066,7 +122066,7 @@ func (c *RegionInstanceGroupManagersApplyUpdatesToInstancesCall) Header() http.H func (c *RegionInstanceGroupManagersApplyUpdatesToInstancesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -122249,7 +122249,7 @@ func (c *RegionInstanceGroupManagersCreateInstancesCall) Header() http.Header { func (c *RegionInstanceGroupManagersCreateInstancesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -122432,7 +122432,7 @@ func (c *RegionInstanceGroupManagersDeleteCall) Header() http.Header { func (c *RegionInstanceGroupManagersDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -122624,7 +122624,7 @@ func (c *RegionInstanceGroupManagersDeleteInstancesCall) Header() http.Header { func (c *RegionInstanceGroupManagersDeleteInstancesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -122790,7 +122790,7 @@ func (c *RegionInstanceGroupManagersDeletePerInstanceConfigsCall) Header() http. func (c *RegionInstanceGroupManagersDeletePerInstanceConfigsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -122960,7 +122960,7 @@ func (c *RegionInstanceGroupManagersGetCall) Header() http.Header { func (c *RegionInstanceGroupManagersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -123141,7 +123141,7 @@ func (c *RegionInstanceGroupManagersInsertCall) Header() http.Header { func (c *RegionInstanceGroupManagersInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -123380,7 +123380,7 @@ func (c *RegionInstanceGroupManagersListCall) Header() http.Header { func (c *RegionInstanceGroupManagersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -123662,7 +123662,7 @@ func (c *RegionInstanceGroupManagersListErrorsCall) Header() http.Header { func (c *RegionInstanceGroupManagersListErrorsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -123944,7 +123944,7 @@ func (c *RegionInstanceGroupManagersListManagedInstancesCall) Header() http.Head func (c *RegionInstanceGroupManagersListManagedInstancesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -124222,7 +124222,7 @@ func (c *RegionInstanceGroupManagersListPerInstanceConfigsCall) Header() http.He func (c *RegionInstanceGroupManagersListPerInstanceConfigsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -124451,7 +124451,7 @@ func (c *RegionInstanceGroupManagersPatchCall) Header() http.Header { func (c *RegionInstanceGroupManagersPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -124637,7 +124637,7 @@ func (c *RegionInstanceGroupManagersPatchPerInstanceConfigsCall) Header() http.H func (c *RegionInstanceGroupManagersPatchPerInstanceConfigsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -124835,7 +124835,7 @@ func (c *RegionInstanceGroupManagersRecreateInstancesCall) Header() http.Header func (c *RegionInstanceGroupManagersRecreateInstancesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -125030,7 +125030,7 @@ func (c *RegionInstanceGroupManagersResizeCall) Header() http.Header { func (c *RegionInstanceGroupManagersResizeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -125217,7 +125217,7 @@ func (c *RegionInstanceGroupManagersSetAutoHealingPoliciesCall) Header() http.He func (c *RegionInstanceGroupManagersSetAutoHealingPoliciesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -125403,7 +125403,7 @@ func (c *RegionInstanceGroupManagersSetInstanceTemplateCall) Header() http.Heade func (c *RegionInstanceGroupManagersSetInstanceTemplateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -125589,7 +125589,7 @@ func (c *RegionInstanceGroupManagersSetTargetPoolsCall) Header() http.Header { func (c *RegionInstanceGroupManagersSetTargetPoolsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -125755,7 +125755,7 @@ func (c *RegionInstanceGroupManagersTestIamPermissionsCall) Header() http.Header func (c *RegionInstanceGroupManagersTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -125941,7 +125941,7 @@ func (c *RegionInstanceGroupManagersUpdateCall) Header() http.Header { func (c *RegionInstanceGroupManagersUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -126127,7 +126127,7 @@ func (c *RegionInstanceGroupManagersUpdatePerInstanceConfigsCall) Header() http. func (c *RegionInstanceGroupManagersUpdatePerInstanceConfigsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -126301,7 +126301,7 @@ func (c *RegionInstanceGroupsGetCall) Header() http.Header { func (c *RegionInstanceGroupsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -126539,7 +126539,7 @@ func (c *RegionInstanceGroupsListCall) Header() http.Header { func (c *RegionInstanceGroupsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -126814,7 +126814,7 @@ func (c *RegionInstanceGroupsListInstancesCall) Header() http.Header { func (c *RegionInstanceGroupsListInstancesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -127045,7 +127045,7 @@ func (c *RegionInstanceGroupsSetNamedPortsCall) Header() http.Header { func (c *RegionInstanceGroupsSetNamedPortsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -127211,7 +127211,7 @@ func (c *RegionInstanceGroupsTestIamPermissionsCall) Header() http.Header { func (c *RegionInstanceGroupsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -127393,7 +127393,7 @@ func (c *RegionNetworkEndpointGroupsDeleteCall) Header() http.Header { func (c *RegionNetworkEndpointGroupsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -127560,7 +127560,7 @@ func (c *RegionNetworkEndpointGroupsGetCall) Header() http.Header { func (c *RegionNetworkEndpointGroupsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -127734,7 +127734,7 @@ func (c *RegionNetworkEndpointGroupsInsertCall) Header() http.Header { func (c *RegionNetworkEndpointGroupsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -127973,7 +127973,7 @@ func (c *RegionNetworkEndpointGroupsListCall) Header() http.Header { func (c *RegionNetworkEndpointGroupsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -128188,7 +128188,7 @@ func (c *RegionNotificationEndpointsDeleteCall) Header() http.Header { func (c *RegionNotificationEndpointsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -128357,7 +128357,7 @@ func (c *RegionNotificationEndpointsGetCall) Header() http.Header { func (c *RegionNotificationEndpointsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -128533,7 +128533,7 @@ func (c *RegionNotificationEndpointsInsertCall) Header() http.Header { func (c *RegionNotificationEndpointsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -128773,7 +128773,7 @@ func (c *RegionNotificationEndpointsListCall) Header() http.Header { func (c *RegionNotificationEndpointsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -128970,7 +128970,7 @@ func (c *RegionOperationsDeleteCall) Header() http.Header { func (c *RegionOperationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -129106,7 +129106,7 @@ func (c *RegionOperationsGetCall) Header() http.Header { func (c *RegionOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -129347,7 +129347,7 @@ func (c *RegionOperationsListCall) Header() http.Header { func (c *RegionOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -129556,7 +129556,7 @@ func (c *RegionOperationsWaitCall) Header() http.Header { func (c *RegionOperationsWaitCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -129728,7 +129728,7 @@ func (c *RegionSslCertificatesDeleteCall) Header() http.Header { func (c *RegionSslCertificatesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -129898,7 +129898,7 @@ func (c *RegionSslCertificatesGetCall) Header() http.Header { func (c *RegionSslCertificatesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -130074,7 +130074,7 @@ func (c *RegionSslCertificatesInsertCall) Header() http.Header { func (c *RegionSslCertificatesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -130314,7 +130314,7 @@ func (c *RegionSslCertificatesListCall) Header() http.Header { func (c *RegionSslCertificatesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -130529,7 +130529,7 @@ func (c *RegionTargetHttpProxiesDeleteCall) Header() http.Header { func (c *RegionTargetHttpProxiesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -130699,7 +130699,7 @@ func (c *RegionTargetHttpProxiesGetCall) Header() http.Header { func (c *RegionTargetHttpProxiesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -130875,7 +130875,7 @@ func (c *RegionTargetHttpProxiesInsertCall) Header() http.Header { func (c *RegionTargetHttpProxiesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -131115,7 +131115,7 @@ func (c *RegionTargetHttpProxiesListCall) Header() http.Header { func (c *RegionTargetHttpProxiesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -131332,7 +131332,7 @@ func (c *RegionTargetHttpProxiesSetUrlMapCall) Header() http.Header { func (c *RegionTargetHttpProxiesSetUrlMapCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -131516,7 +131516,7 @@ func (c *RegionTargetHttpsProxiesDeleteCall) Header() http.Header { func (c *RegionTargetHttpsProxiesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -131686,7 +131686,7 @@ func (c *RegionTargetHttpsProxiesGetCall) Header() http.Header { func (c *RegionTargetHttpsProxiesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -131862,7 +131862,7 @@ func (c *RegionTargetHttpsProxiesInsertCall) Header() http.Header { func (c *RegionTargetHttpsProxiesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -132102,7 +132102,7 @@ func (c *RegionTargetHttpsProxiesListCall) Header() http.Header { func (c *RegionTargetHttpsProxiesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -132319,7 +132319,7 @@ func (c *RegionTargetHttpsProxiesSetSslCertificatesCall) Header() http.Header { func (c *RegionTargetHttpsProxiesSetSslCertificatesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -132505,7 +132505,7 @@ func (c *RegionTargetHttpsProxiesSetUrlMapCall) Header() http.Header { func (c *RegionTargetHttpsProxiesSetUrlMapCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -132677,7 +132677,7 @@ func (c *RegionUrlMapsDeleteCall) Header() http.Header { func (c *RegionUrlMapsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -132846,7 +132846,7 @@ func (c *RegionUrlMapsGetCall) Header() http.Header { func (c *RegionUrlMapsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -133010,7 +133010,7 @@ func (c *RegionUrlMapsInsertCall) Header() http.Header { func (c *RegionUrlMapsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -133179,7 +133179,7 @@ func (c *RegionUrlMapsInvalidateCacheCall) Header() http.Header { func (c *RegionUrlMapsInvalidateCacheCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -133428,7 +133428,7 @@ func (c *RegionUrlMapsListCall) Header() http.Header { func (c *RegionUrlMapsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -133635,7 +133635,7 @@ func (c *RegionUrlMapsPatchCall) Header() http.Header { func (c *RegionUrlMapsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -133810,7 +133810,7 @@ func (c *RegionUrlMapsUpdateCall) Header() http.Header { func (c *RegionUrlMapsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -133979,7 +133979,7 @@ func (c *RegionUrlMapsValidateCall) Header() http.Header { func (c *RegionUrlMapsValidateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -134150,7 +134150,7 @@ func (c *RegionsGetCall) Header() http.Header { func (c *RegionsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -134380,7 +134380,7 @@ func (c *RegionsListCall) Header() http.Header { func (c *RegionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -134661,7 +134661,7 @@ func (c *ReservationsAggregatedListCall) Header() http.Header { func (c *ReservationsAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -134872,7 +134872,7 @@ func (c *ReservationsDeleteCall) Header() http.Header { func (c *ReservationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -135040,7 +135040,7 @@ func (c *ReservationsGetCall) Header() http.Header { func (c *ReservationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -135215,7 +135215,7 @@ func (c *ReservationsGetIamPolicyCall) Header() http.Header { func (c *ReservationsGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -135397,7 +135397,7 @@ func (c *ReservationsInsertCall) Header() http.Header { func (c *ReservationsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -135637,7 +135637,7 @@ func (c *ReservationsListCall) Header() http.Header { func (c *ReservationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -135856,7 +135856,7 @@ func (c *ReservationsResizeCall) Header() http.Header { func (c *ReservationsResizeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -136024,7 +136024,7 @@ func (c *ReservationsSetIamPolicyCall) Header() http.Header { func (c *ReservationsSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -136187,7 +136187,7 @@ func (c *ReservationsTestIamPermissionsCall) Header() http.Header { func (c *ReservationsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -136442,7 +136442,7 @@ func (c *ResourcePoliciesAggregatedListCall) Header() http.Header { func (c *ResourcePoliciesAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -136653,7 +136653,7 @@ func (c *ResourcePoliciesDeleteCall) Header() http.Header { func (c *ResourcePoliciesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -136821,7 +136821,7 @@ func (c *ResourcePoliciesGetCall) Header() http.Header { func (c *ResourcePoliciesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -136996,7 +136996,7 @@ func (c *ResourcePoliciesGetIamPolicyCall) Header() http.Header { func (c *ResourcePoliciesGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -137177,7 +137177,7 @@ func (c *ResourcePoliciesInsertCall) Header() http.Header { func (c *ResourcePoliciesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -137417,7 +137417,7 @@ func (c *ResourcePoliciesListCall) Header() http.Header { func (c *ResourcePoliciesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -137616,7 +137616,7 @@ func (c *ResourcePoliciesSetIamPolicyCall) Header() http.Header { func (c *ResourcePoliciesSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -137779,7 +137779,7 @@ func (c *ResourcePoliciesTestIamPermissionsCall) Header() http.Header { func (c *ResourcePoliciesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -138034,7 +138034,7 @@ func (c *RoutersAggregatedListCall) Header() http.Header { func (c *RoutersAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -138245,7 +138245,7 @@ func (c *RoutersDeleteCall) Header() http.Header { func (c *RoutersDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -138414,7 +138414,7 @@ func (c *RoutersGetCall) Header() http.Header { func (c *RoutersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -138665,7 +138665,7 @@ func (c *RoutersGetNatMappingInfoCall) Header() http.Header { func (c *RoutersGetNatMappingInfoCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -138887,7 +138887,7 @@ func (c *RoutersGetRouterStatusCall) Header() http.Header { func (c *RoutersGetRouterStatusCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -139063,7 +139063,7 @@ func (c *RoutersInsertCall) Header() http.Header { func (c *RoutersInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -139303,7 +139303,7 @@ func (c *RoutersListCall) Header() http.Header { func (c *RoutersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -139522,7 +139522,7 @@ func (c *RoutersPatchCall) Header() http.Header { func (c *RoutersPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -139691,7 +139691,7 @@ func (c *RoutersPreviewCall) Header() http.Header { func (c *RoutersPreviewCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -139855,7 +139855,7 @@ func (c *RoutersTestIamPermissionsCall) Header() http.Header { func (c *RoutersTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -140041,7 +140041,7 @@ func (c *RoutersUpdateCall) Header() http.Header { func (c *RoutersUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -140224,7 +140224,7 @@ func (c *RoutesDeleteCall) Header() http.Header { func (c *RoutesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -140383,7 +140383,7 @@ func (c *RoutesGetCall) Header() http.Header { func (c *RoutesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -140549,7 +140549,7 @@ func (c *RoutesInsertCall) Header() http.Header { func (c *RoutesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -140779,7 +140779,7 @@ func (c *RoutesListCall) Header() http.Header { func (c *RoutesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -140967,7 +140967,7 @@ func (c *RoutesTestIamPermissionsCall) Header() http.Header { func (c *RoutesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -141126,7 +141126,7 @@ func (c *SecurityPoliciesAddRuleCall) Header() http.Header { func (c *SecurityPoliciesAddRuleCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -141299,7 +141299,7 @@ func (c *SecurityPoliciesDeleteCall) Header() http.Header { func (c *SecurityPoliciesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -141457,7 +141457,7 @@ func (c *SecurityPoliciesGetCall) Header() http.Header { func (c *SecurityPoliciesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -141620,7 +141620,7 @@ func (c *SecurityPoliciesGetRuleCall) Header() http.Header { func (c *SecurityPoliciesGetRuleCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -141798,7 +141798,7 @@ func (c *SecurityPoliciesInsertCall) Header() http.Header { func (c *SecurityPoliciesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -142032,7 +142032,7 @@ func (c *SecurityPoliciesListCall) Header() http.Header { func (c *SecurityPoliciesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -142301,7 +142301,7 @@ func (c *SecurityPoliciesListPreconfiguredExpressionSetsCall) Header() http.Head func (c *SecurityPoliciesListPreconfiguredExpressionSetsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -142491,7 +142491,7 @@ func (c *SecurityPoliciesPatchCall) Header() http.Header { func (c *SecurityPoliciesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -142661,7 +142661,7 @@ func (c *SecurityPoliciesPatchRuleCall) Header() http.Header { func (c *SecurityPoliciesPatchRuleCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -142828,7 +142828,7 @@ func (c *SecurityPoliciesRemoveRuleCall) Header() http.Header { func (c *SecurityPoliciesRemoveRuleCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -142978,7 +142978,7 @@ func (c *SecurityPoliciesSetLabelsCall) Header() http.Header { func (c *SecurityPoliciesSetLabelsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -143130,7 +143130,7 @@ func (c *SecurityPoliciesTestIamPermissionsCall) Header() http.Header { func (c *SecurityPoliciesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -143306,7 +143306,7 @@ func (c *SnapshotsDeleteCall) Header() http.Header { func (c *SnapshotsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -143465,7 +143465,7 @@ func (c *SnapshotsGetCall) Header() http.Header { func (c *SnapshotsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -143629,7 +143629,7 @@ func (c *SnapshotsGetIamPolicyCall) Header() http.Header { func (c *SnapshotsGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -143800,7 +143800,7 @@ func (c *SnapshotsInsertCall) Header() http.Header { func (c *SnapshotsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -144030,7 +144030,7 @@ func (c *SnapshotsListCall) Header() http.Header { func (c *SnapshotsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -144218,7 +144218,7 @@ func (c *SnapshotsSetIamPolicyCall) Header() http.Header { func (c *SnapshotsSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -144370,7 +144370,7 @@ func (c *SnapshotsSetLabelsCall) Header() http.Header { func (c *SnapshotsSetLabelsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -144522,7 +144522,7 @@ func (c *SnapshotsTestIamPermissionsCall) Header() http.Header { func (c *SnapshotsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -144769,7 +144769,7 @@ func (c *SslCertificatesAggregatedListCall) Header() http.Header { func (c *SslCertificatesAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -144978,7 +144978,7 @@ func (c *SslCertificatesDeleteCall) Header() http.Header { func (c *SslCertificatesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -145136,7 +145136,7 @@ func (c *SslCertificatesGetCall) Header() http.Header { func (c *SslCertificatesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -145301,7 +145301,7 @@ func (c *SslCertificatesInsertCall) Header() http.Header { func (c *SslCertificatesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -145530,7 +145530,7 @@ func (c *SslCertificatesListCall) Header() http.Header { func (c *SslCertificatesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -145718,7 +145718,7 @@ func (c *SslCertificatesTestIamPermissionsCall) Header() http.Header { func (c *SslCertificatesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -145889,7 +145889,7 @@ func (c *SslPoliciesDeleteCall) Header() http.Header { func (c *SslPoliciesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -146046,7 +146046,7 @@ func (c *SslPoliciesGetCall) Header() http.Header { func (c *SslPoliciesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -146210,7 +146210,7 @@ func (c *SslPoliciesInsertCall) Header() http.Header { func (c *SslPoliciesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -146439,7 +146439,7 @@ func (c *SslPoliciesListCall) Header() http.Header { func (c *SslPoliciesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -146708,7 +146708,7 @@ func (c *SslPoliciesListAvailableFeaturesCall) Header() http.Header { func (c *SslPoliciesListAvailableFeaturesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -146896,7 +146896,7 @@ func (c *SslPoliciesPatchCall) Header() http.Header { func (c *SslPoliciesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -147052,7 +147052,7 @@ func (c *SslPoliciesTestIamPermissionsCall) Header() http.Header { func (c *SslPoliciesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -147298,7 +147298,7 @@ func (c *SubnetworksAggregatedListCall) Header() http.Header { func (c *SubnetworksAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -147509,7 +147509,7 @@ func (c *SubnetworksDeleteCall) Header() http.Header { func (c *SubnetworksDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -147688,7 +147688,7 @@ func (c *SubnetworksExpandIpCidrRangeCall) Header() http.Header { func (c *SubnetworksExpandIpCidrRangeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -147865,7 +147865,7 @@ func (c *SubnetworksGetCall) Header() http.Header { func (c *SubnetworksGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -148040,7 +148040,7 @@ func (c *SubnetworksGetIamPolicyCall) Header() http.Header { func (c *SubnetworksGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -148222,7 +148222,7 @@ func (c *SubnetworksInsertCall) Header() http.Header { func (c *SubnetworksInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -148462,7 +148462,7 @@ func (c *SubnetworksListCall) Header() http.Header { func (c *SubnetworksListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -148740,7 +148740,7 @@ func (c *SubnetworksListUsableCall) Header() http.Header { func (c *SubnetworksListUsableCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -148966,7 +148966,7 @@ func (c *SubnetworksPatchCall) Header() http.Header { func (c *SubnetworksPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -149140,7 +149140,7 @@ func (c *SubnetworksSetIamPolicyCall) Header() http.Header { func (c *SubnetworksSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -149323,7 +149323,7 @@ func (c *SubnetworksSetPrivateIpGoogleAccessCall) Header() http.Header { func (c *SubnetworksSetPrivateIpGoogleAccessCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -149491,7 +149491,7 @@ func (c *SubnetworksTestIamPermissionsCall) Header() http.Header { func (c *SubnetworksTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -149669,7 +149669,7 @@ func (c *TargetGrpcProxiesDeleteCall) Header() http.Header { func (c *TargetGrpcProxiesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -149827,7 +149827,7 @@ func (c *TargetGrpcProxiesGetCall) Header() http.Header { func (c *TargetGrpcProxiesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -149992,7 +149992,7 @@ func (c *TargetGrpcProxiesInsertCall) Header() http.Header { func (c *TargetGrpcProxiesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -150220,7 +150220,7 @@ func (c *TargetGrpcProxiesListCall) Header() http.Header { func (c *TargetGrpcProxiesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -150428,7 +150428,7 @@ func (c *TargetGrpcProxiesPatchCall) Header() http.Header { func (c *TargetGrpcProxiesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -150679,7 +150679,7 @@ func (c *TargetHttpProxiesAggregatedListCall) Header() http.Header { func (c *TargetHttpProxiesAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -150889,7 +150889,7 @@ func (c *TargetHttpProxiesDeleteCall) Header() http.Header { func (c *TargetHttpProxiesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -151048,7 +151048,7 @@ func (c *TargetHttpProxiesGetCall) Header() http.Header { func (c *TargetHttpProxiesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -151214,7 +151214,7 @@ func (c *TargetHttpProxiesInsertCall) Header() http.Header { func (c *TargetHttpProxiesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -151444,7 +151444,7 @@ func (c *TargetHttpProxiesListCall) Header() http.Header { func (c *TargetHttpProxiesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -151653,7 +151653,7 @@ func (c *TargetHttpProxiesPatchCall) Header() http.Header { func (c *TargetHttpProxiesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -151829,7 +151829,7 @@ func (c *TargetHttpProxiesSetUrlMapCall) Header() http.Header { func (c *TargetHttpProxiesSetUrlMapCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -151986,7 +151986,7 @@ func (c *TargetHttpProxiesTestIamPermissionsCall) Header() http.Header { func (c *TargetHttpProxiesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -152233,7 +152233,7 @@ func (c *TargetHttpsProxiesAggregatedListCall) Header() http.Header { func (c *TargetHttpsProxiesAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -152442,7 +152442,7 @@ func (c *TargetHttpsProxiesDeleteCall) Header() http.Header { func (c *TargetHttpsProxiesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -152600,7 +152600,7 @@ func (c *TargetHttpsProxiesGetCall) Header() http.Header { func (c *TargetHttpsProxiesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -152765,7 +152765,7 @@ func (c *TargetHttpsProxiesInsertCall) Header() http.Header { func (c *TargetHttpsProxiesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -152994,7 +152994,7 @@ func (c *TargetHttpsProxiesListCall) Header() http.Header { func (c *TargetHttpsProxiesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -153200,7 +153200,7 @@ func (c *TargetHttpsProxiesSetQuicOverrideCall) Header() http.Header { func (c *TargetHttpsProxiesSetQuicOverrideCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -153374,7 +153374,7 @@ func (c *TargetHttpsProxiesSetSslCertificatesCall) Header() http.Header { func (c *TargetHttpsProxiesSetSslCertificatesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -153553,7 +153553,7 @@ func (c *TargetHttpsProxiesSetSslPolicyCall) Header() http.Header { func (c *TargetHttpsProxiesSetSslPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -153727,7 +153727,7 @@ func (c *TargetHttpsProxiesSetUrlMapCall) Header() http.Header { func (c *TargetHttpsProxiesSetUrlMapCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -153884,7 +153884,7 @@ func (c *TargetHttpsProxiesTestIamPermissionsCall) Header() http.Header { func (c *TargetHttpsProxiesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -154131,7 +154131,7 @@ func (c *TargetInstancesAggregatedListCall) Header() http.Header { func (c *TargetInstancesAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -154343,7 +154343,7 @@ func (c *TargetInstancesDeleteCall) Header() http.Header { func (c *TargetInstancesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -154513,7 +154513,7 @@ func (c *TargetInstancesGetCall) Header() http.Header { func (c *TargetInstancesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -154690,7 +154690,7 @@ func (c *TargetInstancesInsertCall) Header() http.Header { func (c *TargetInstancesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -154931,7 +154931,7 @@ func (c *TargetInstancesListCall) Header() http.Header { func (c *TargetInstancesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -155130,7 +155130,7 @@ func (c *TargetInstancesTestIamPermissionsCall) Header() http.Header { func (c *TargetInstancesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -155313,7 +155313,7 @@ func (c *TargetPoolsAddHealthCheckCall) Header() http.Header { func (c *TargetPoolsAddHealthCheckCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -155500,7 +155500,7 @@ func (c *TargetPoolsAddInstanceCall) Header() http.Header { func (c *TargetPoolsAddInstanceCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -155760,7 +155760,7 @@ func (c *TargetPoolsAggregatedListCall) Header() http.Header { func (c *TargetPoolsAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -155972,7 +155972,7 @@ func (c *TargetPoolsDeleteCall) Header() http.Header { func (c *TargetPoolsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -156142,7 +156142,7 @@ func (c *TargetPoolsGetCall) Header() http.Header { func (c *TargetPoolsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -156302,7 +156302,7 @@ func (c *TargetPoolsGetHealthCall) Header() http.Header { func (c *TargetPoolsGetHealthCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -156484,7 +156484,7 @@ func (c *TargetPoolsInsertCall) Header() http.Header { func (c *TargetPoolsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -156725,7 +156725,7 @@ func (c *TargetPoolsListCall) Header() http.Header { func (c *TargetPoolsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -156943,7 +156943,7 @@ func (c *TargetPoolsRemoveHealthCheckCall) Header() http.Header { func (c *TargetPoolsRemoveHealthCheckCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -157130,7 +157130,7 @@ func (c *TargetPoolsRemoveInstanceCall) Header() http.Header { func (c *TargetPoolsRemoveInstanceCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -157324,7 +157324,7 @@ func (c *TargetPoolsSetBackupCall) Header() http.Header { func (c *TargetPoolsSetBackupCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -157498,7 +157498,7 @@ func (c *TargetPoolsTestIamPermissionsCall) Header() http.Header { func (c *TargetPoolsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -157676,7 +157676,7 @@ func (c *TargetSslProxiesDeleteCall) Header() http.Header { func (c *TargetSslProxiesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -157834,7 +157834,7 @@ func (c *TargetSslProxiesGetCall) Header() http.Header { func (c *TargetSslProxiesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -157999,7 +157999,7 @@ func (c *TargetSslProxiesInsertCall) Header() http.Header { func (c *TargetSslProxiesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -158228,7 +158228,7 @@ func (c *TargetSslProxiesListCall) Header() http.Header { func (c *TargetSslProxiesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -158434,7 +158434,7 @@ func (c *TargetSslProxiesSetBackendServiceCall) Header() http.Header { func (c *TargetSslProxiesSetBackendServiceCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -158609,7 +158609,7 @@ func (c *TargetSslProxiesSetProxyHeaderCall) Header() http.Header { func (c *TargetSslProxiesSetProxyHeaderCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -158784,7 +158784,7 @@ func (c *TargetSslProxiesSetSslCertificatesCall) Header() http.Header { func (c *TargetSslProxiesSetSslCertificatesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -158962,7 +158962,7 @@ func (c *TargetSslProxiesSetSslPolicyCall) Header() http.Header { func (c *TargetSslProxiesSetSslPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -159118,7 +159118,7 @@ func (c *TargetSslProxiesTestIamPermissionsCall) Header() http.Header { func (c *TargetSslProxiesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -159287,7 +159287,7 @@ func (c *TargetTcpProxiesDeleteCall) Header() http.Header { func (c *TargetTcpProxiesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -159445,7 +159445,7 @@ func (c *TargetTcpProxiesGetCall) Header() http.Header { func (c *TargetTcpProxiesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -159610,7 +159610,7 @@ func (c *TargetTcpProxiesInsertCall) Header() http.Header { func (c *TargetTcpProxiesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -159839,7 +159839,7 @@ func (c *TargetTcpProxiesListCall) Header() http.Header { func (c *TargetTcpProxiesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -160045,7 +160045,7 @@ func (c *TargetTcpProxiesSetBackendServiceCall) Header() http.Header { func (c *TargetTcpProxiesSetBackendServiceCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -160220,7 +160220,7 @@ func (c *TargetTcpProxiesSetProxyHeaderCall) Header() http.Header { func (c *TargetTcpProxiesSetProxyHeaderCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -160470,7 +160470,7 @@ func (c *TargetVpnGatewaysAggregatedListCall) Header() http.Header { func (c *TargetVpnGatewaysAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -160681,7 +160681,7 @@ func (c *TargetVpnGatewaysDeleteCall) Header() http.Header { func (c *TargetVpnGatewaysDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -160850,7 +160850,7 @@ func (c *TargetVpnGatewaysGetCall) Header() http.Header { func (c *TargetVpnGatewaysGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -161026,7 +161026,7 @@ func (c *TargetVpnGatewaysInsertCall) Header() http.Header { func (c *TargetVpnGatewaysInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -161266,7 +161266,7 @@ func (c *TargetVpnGatewaysListCall) Header() http.Header { func (c *TargetVpnGatewaysListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -161484,7 +161484,7 @@ func (c *TargetVpnGatewaysSetLabelsCall) Header() http.Header { func (c *TargetVpnGatewaysSetLabelsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -161652,7 +161652,7 @@ func (c *TargetVpnGatewaysTestIamPermissionsCall) Header() http.Header { func (c *TargetVpnGatewaysTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -161908,7 +161908,7 @@ func (c *UrlMapsAggregatedListCall) Header() http.Header { func (c *UrlMapsAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -162118,7 +162118,7 @@ func (c *UrlMapsDeleteCall) Header() http.Header { func (c *UrlMapsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -162277,7 +162277,7 @@ func (c *UrlMapsGetCall) Header() http.Header { func (c *UrlMapsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -162443,7 +162443,7 @@ func (c *UrlMapsInsertCall) Header() http.Header { func (c *UrlMapsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -162613,7 +162613,7 @@ func (c *UrlMapsInvalidateCacheCall) Header() http.Header { func (c *UrlMapsInvalidateCacheCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -162852,7 +162852,7 @@ func (c *UrlMapsListCall) Header() http.Header { func (c *UrlMapsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -163061,7 +163061,7 @@ func (c *UrlMapsPatchCall) Header() http.Header { func (c *UrlMapsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -163218,7 +163218,7 @@ func (c *UrlMapsTestIamPermissionsCall) Header() http.Header { func (c *UrlMapsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -163391,7 +163391,7 @@ func (c *UrlMapsUpdateCall) Header() http.Header { func (c *UrlMapsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -163550,7 +163550,7 @@ func (c *UrlMapsValidateCall) Header() http.Header { func (c *UrlMapsValidateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -163795,7 +163795,7 @@ func (c *VpnGatewaysAggregatedListCall) Header() http.Header { func (c *VpnGatewaysAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -164006,7 +164006,7 @@ func (c *VpnGatewaysDeleteCall) Header() http.Header { func (c *VpnGatewaysDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -164175,7 +164175,7 @@ func (c *VpnGatewaysGetCall) Header() http.Header { func (c *VpnGatewaysGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -164342,7 +164342,7 @@ func (c *VpnGatewaysGetStatusCall) Header() http.Header { func (c *VpnGatewaysGetStatusCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -164518,7 +164518,7 @@ func (c *VpnGatewaysInsertCall) Header() http.Header { func (c *VpnGatewaysInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -164758,7 +164758,7 @@ func (c *VpnGatewaysListCall) Header() http.Header { func (c *VpnGatewaysListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -164976,7 +164976,7 @@ func (c *VpnGatewaysSetLabelsCall) Header() http.Header { func (c *VpnGatewaysSetLabelsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -165235,7 +165235,7 @@ func (c *VpnTunnelsAggregatedListCall) Header() http.Header { func (c *VpnTunnelsAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -165446,7 +165446,7 @@ func (c *VpnTunnelsDeleteCall) Header() http.Header { func (c *VpnTunnelsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -165615,7 +165615,7 @@ func (c *VpnTunnelsGetCall) Header() http.Header { func (c *VpnTunnelsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -165791,7 +165791,7 @@ func (c *VpnTunnelsInsertCall) Header() http.Header { func (c *VpnTunnelsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -166031,7 +166031,7 @@ func (c *VpnTunnelsListCall) Header() http.Header { func (c *VpnTunnelsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -166249,7 +166249,7 @@ func (c *VpnTunnelsSetLabelsCall) Header() http.Header { func (c *VpnTunnelsSetLabelsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -166417,7 +166417,7 @@ func (c *VpnTunnelsTestIamPermissionsCall) Header() http.Header { func (c *VpnTunnelsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -166579,7 +166579,7 @@ func (c *ZoneOperationsDeleteCall) Header() http.Header { func (c *ZoneOperationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -166715,7 +166715,7 @@ func (c *ZoneOperationsGetCall) Header() http.Header { func (c *ZoneOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -166956,7 +166956,7 @@ func (c *ZoneOperationsListCall) Header() http.Header { func (c *ZoneOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -167165,7 +167165,7 @@ func (c *ZoneOperationsWaitCall) Header() http.Header { func (c *ZoneOperationsWaitCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -167329,7 +167329,7 @@ func (c *ZonesGetCall) Header() http.Header { func (c *ZonesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -167559,7 +167559,7 @@ func (c *ZonesListCall) Header() http.Header { func (c *ZonesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/compute/v1/compute-gen.go b/compute/v1/compute-gen.go index e0a797f5ae9..037b291d6b7 100644 --- a/compute/v1/compute-gen.go +++ b/compute/v1/compute-gen.go @@ -44241,7 +44241,7 @@ func (c *AcceleratorTypesAggregatedListCall) Header() http.Header { func (c *AcceleratorTypesAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -44444,7 +44444,7 @@ func (c *AcceleratorTypesGetCall) Header() http.Header { func (c *AcceleratorTypesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -44684,7 +44684,7 @@ func (c *AcceleratorTypesListCall) Header() http.Header { func (c *AcceleratorTypesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -44975,7 +44975,7 @@ func (c *AddressesAggregatedListCall) Header() http.Header { func (c *AddressesAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -45187,7 +45187,7 @@ func (c *AddressesDeleteCall) Header() http.Header { func (c *AddressesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -45356,7 +45356,7 @@ func (c *AddressesGetCall) Header() http.Header { func (c *AddressesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -45533,7 +45533,7 @@ func (c *AddressesInsertCall) Header() http.Header { func (c *AddressesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -45774,7 +45774,7 @@ func (c *AddressesListCall) Header() http.Header { func (c *AddressesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -46064,7 +46064,7 @@ func (c *AutoscalersAggregatedListCall) Header() http.Header { func (c *AutoscalersAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -46275,7 +46275,7 @@ func (c *AutoscalersDeleteCall) Header() http.Header { func (c *AutoscalersDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -46444,7 +46444,7 @@ func (c *AutoscalersGetCall) Header() http.Header { func (c *AutoscalersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -46620,7 +46620,7 @@ func (c *AutoscalersInsertCall) Header() http.Header { func (c *AutoscalersInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -46860,7 +46860,7 @@ func (c *AutoscalersListCall) Header() http.Header { func (c *AutoscalersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -47084,7 +47084,7 @@ func (c *AutoscalersPatchCall) Header() http.Header { func (c *AutoscalersPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -47273,7 +47273,7 @@ func (c *AutoscalersUpdateCall) Header() http.Header { func (c *AutoscalersUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -47455,7 +47455,7 @@ func (c *BackendBucketsAddSignedUrlKeyCall) Header() http.Header { func (c *BackendBucketsAddSignedUrlKeyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -47627,7 +47627,7 @@ func (c *BackendBucketsDeleteCall) Header() http.Header { func (c *BackendBucketsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -47794,7 +47794,7 @@ func (c *BackendBucketsDeleteSignedUrlKeyCall) Header() http.Header { func (c *BackendBucketsDeleteSignedUrlKeyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -47958,7 +47958,7 @@ func (c *BackendBucketsGetCall) Header() http.Header { func (c *BackendBucketsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -48123,7 +48123,7 @@ func (c *BackendBucketsInsertCall) Header() http.Header { func (c *BackendBucketsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -48352,7 +48352,7 @@ func (c *BackendBucketsListCall) Header() http.Header { func (c *BackendBucketsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -48560,7 +48560,7 @@ func (c *BackendBucketsPatchCall) Header() http.Header { func (c *BackendBucketsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -48736,7 +48736,7 @@ func (c *BackendBucketsUpdateCall) Header() http.Header { func (c *BackendBucketsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -48912,7 +48912,7 @@ func (c *BackendServicesAddSignedUrlKeyCall) Header() http.Header { func (c *BackendServicesAddSignedUrlKeyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -49162,7 +49162,7 @@ func (c *BackendServicesAggregatedListCall) Header() http.Header { func (c *BackendServicesAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -49372,7 +49372,7 @@ func (c *BackendServicesDeleteCall) Header() http.Header { func (c *BackendServicesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -49539,7 +49539,7 @@ func (c *BackendServicesDeleteSignedUrlKeyCall) Header() http.Header { func (c *BackendServicesDeleteSignedUrlKeyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -49704,7 +49704,7 @@ func (c *BackendServicesGetCall) Header() http.Header { func (c *BackendServicesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -49857,7 +49857,7 @@ func (c *BackendServicesGetHealthCall) Header() http.Header { func (c *BackendServicesGetHealthCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -50028,7 +50028,7 @@ func (c *BackendServicesInsertCall) Header() http.Header { func (c *BackendServicesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -50258,7 +50258,7 @@ func (c *BackendServicesListCall) Header() http.Header { func (c *BackendServicesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -50468,7 +50468,7 @@ func (c *BackendServicesPatchCall) Header() http.Header { func (c *BackendServicesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -50644,7 +50644,7 @@ func (c *BackendServicesSetSecurityPolicyCall) Header() http.Header { func (c *BackendServicesSetSecurityPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -50821,7 +50821,7 @@ func (c *BackendServicesUpdateCall) Header() http.Header { func (c *BackendServicesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -51072,7 +51072,7 @@ func (c *DiskTypesAggregatedListCall) Header() http.Header { func (c *DiskTypesAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -51277,7 +51277,7 @@ func (c *DiskTypesGetCall) Header() http.Header { func (c *DiskTypesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -51518,7 +51518,7 @@ func (c *DiskTypesListCall) Header() http.Header { func (c *DiskTypesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -51737,7 +51737,7 @@ func (c *DisksAddResourcePoliciesCall) Header() http.Header { func (c *DisksAddResourcePoliciesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -51997,7 +51997,7 @@ func (c *DisksAggregatedListCall) Header() http.Header { func (c *DisksAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -52220,7 +52220,7 @@ func (c *DisksCreateSnapshotCall) Header() http.Header { func (c *DisksCreateSnapshotCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -52413,7 +52413,7 @@ func (c *DisksDeleteCall) Header() http.Header { func (c *DisksDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -52582,7 +52582,7 @@ func (c *DisksGetCall) Header() http.Header { func (c *DisksGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -52757,7 +52757,7 @@ func (c *DisksGetIamPolicyCall) Header() http.Header { func (c *DisksGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -52951,7 +52951,7 @@ func (c *DisksInsertCall) Header() http.Header { func (c *DisksInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -53197,7 +53197,7 @@ func (c *DisksListCall) Header() http.Header { func (c *DisksListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -53414,7 +53414,7 @@ func (c *DisksRemoveResourcePoliciesCall) Header() http.Header { func (c *DisksRemoveResourcePoliciesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -53601,7 +53601,7 @@ func (c *DisksResizeCall) Header() http.Header { func (c *DisksResizeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -53769,7 +53769,7 @@ func (c *DisksSetIamPolicyCall) Header() http.Header { func (c *DisksSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -53951,7 +53951,7 @@ func (c *DisksSetLabelsCall) Header() http.Header { func (c *DisksSetLabelsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -54119,7 +54119,7 @@ func (c *DisksTestIamPermissionsCall) Header() http.Header { func (c *DisksTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -54297,7 +54297,7 @@ func (c *ExternalVpnGatewaysDeleteCall) Header() http.Header { func (c *ExternalVpnGatewaysDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -54455,7 +54455,7 @@ func (c *ExternalVpnGatewaysGetCall) Header() http.Header { func (c *ExternalVpnGatewaysGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -54620,7 +54620,7 @@ func (c *ExternalVpnGatewaysInsertCall) Header() http.Header { func (c *ExternalVpnGatewaysInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -54849,7 +54849,7 @@ func (c *ExternalVpnGatewaysListCall) Header() http.Header { func (c *ExternalVpnGatewaysListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -55037,7 +55037,7 @@ func (c *ExternalVpnGatewaysSetLabelsCall) Header() http.Header { func (c *ExternalVpnGatewaysSetLabelsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -55189,7 +55189,7 @@ func (c *ExternalVpnGatewaysTestIamPermissionsCall) Header() http.Header { func (c *ExternalVpnGatewaysTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -55359,7 +55359,7 @@ func (c *FirewallsDeleteCall) Header() http.Header { func (c *FirewallsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -55517,7 +55517,7 @@ func (c *FirewallsGetCall) Header() http.Header { func (c *FirewallsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -55683,7 +55683,7 @@ func (c *FirewallsInsertCall) Header() http.Header { func (c *FirewallsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -55913,7 +55913,7 @@ func (c *FirewallsListCall) Header() http.Header { func (c *FirewallsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -56122,7 +56122,7 @@ func (c *FirewallsPatchCall) Header() http.Header { func (c *FirewallsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -56301,7 +56301,7 @@ func (c *FirewallsUpdateCall) Header() http.Header { func (c *FirewallsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -56552,7 +56552,7 @@ func (c *ForwardingRulesAggregatedListCall) Header() http.Header { func (c *ForwardingRulesAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -56764,7 +56764,7 @@ func (c *ForwardingRulesDeleteCall) Header() http.Header { func (c *ForwardingRulesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -56933,7 +56933,7 @@ func (c *ForwardingRulesGetCall) Header() http.Header { func (c *ForwardingRulesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -57110,7 +57110,7 @@ func (c *ForwardingRulesInsertCall) Header() http.Header { func (c *ForwardingRulesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -57351,7 +57351,7 @@ func (c *ForwardingRulesListCall) Header() http.Header { func (c *ForwardingRulesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -57571,7 +57571,7 @@ func (c *ForwardingRulesPatchCall) Header() http.Header { func (c *ForwardingRulesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -57759,7 +57759,7 @@ func (c *ForwardingRulesSetTargetCall) Header() http.Header { func (c *ForwardingRulesSetTargetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -57942,7 +57942,7 @@ func (c *GlobalAddressesDeleteCall) Header() http.Header { func (c *GlobalAddressesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -58101,7 +58101,7 @@ func (c *GlobalAddressesGetCall) Header() http.Header { func (c *GlobalAddressesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -58267,7 +58267,7 @@ func (c *GlobalAddressesInsertCall) Header() http.Header { func (c *GlobalAddressesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -58496,7 +58496,7 @@ func (c *GlobalAddressesListCall) Header() http.Header { func (c *GlobalAddressesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -58701,7 +58701,7 @@ func (c *GlobalForwardingRulesDeleteCall) Header() http.Header { func (c *GlobalForwardingRulesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -58860,7 +58860,7 @@ func (c *GlobalForwardingRulesGetCall) Header() http.Header { func (c *GlobalForwardingRulesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -59026,7 +59026,7 @@ func (c *GlobalForwardingRulesInsertCall) Header() http.Header { func (c *GlobalForwardingRulesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -59256,7 +59256,7 @@ func (c *GlobalForwardingRulesListCall) Header() http.Header { func (c *GlobalForwardingRulesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -59465,7 +59465,7 @@ func (c *GlobalForwardingRulesPatchCall) Header() http.Header { func (c *GlobalForwardingRulesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -59642,7 +59642,7 @@ func (c *GlobalForwardingRulesSetTargetCall) Header() http.Header { func (c *GlobalForwardingRulesSetTargetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -59818,7 +59818,7 @@ func (c *GlobalNetworkEndpointGroupsAttachNetworkEndpointsCall) Header() http.He func (c *GlobalNetworkEndpointGroupsAttachNetworkEndpointsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -59991,7 +59991,7 @@ func (c *GlobalNetworkEndpointGroupsDeleteCall) Header() http.Header { func (c *GlobalNetworkEndpointGroupsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -60158,7 +60158,7 @@ func (c *GlobalNetworkEndpointGroupsDetachNetworkEndpointsCall) Header() http.He func (c *GlobalNetworkEndpointGroupsDetachNetworkEndpointsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -60323,7 +60323,7 @@ func (c *GlobalNetworkEndpointGroupsGetCall) Header() http.Header { func (c *GlobalNetworkEndpointGroupsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -60487,7 +60487,7 @@ func (c *GlobalNetworkEndpointGroupsInsertCall) Header() http.Header { func (c *GlobalNetworkEndpointGroupsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -60716,7 +60716,7 @@ func (c *GlobalNetworkEndpointGroupsListCall) Header() http.Header { func (c *GlobalNetworkEndpointGroupsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -60976,7 +60976,7 @@ func (c *GlobalNetworkEndpointGroupsListNetworkEndpointsCall) Header() http.Head func (c *GlobalNetworkEndpointGroupsListNetworkEndpointsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -61265,7 +61265,7 @@ func (c *GlobalOperationsAggregatedListCall) Header() http.Header { func (c *GlobalOperationsAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -61456,7 +61456,7 @@ func (c *GlobalOperationsDeleteCall) Header() http.Header { func (c *GlobalOperationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -61582,7 +61582,7 @@ func (c *GlobalOperationsGetCall) Header() http.Header { func (c *GlobalOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -61812,7 +61812,7 @@ func (c *GlobalOperationsListCall) Header() http.Header { func (c *GlobalOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -62010,7 +62010,7 @@ func (c *GlobalOperationsWaitCall) Header() http.Header { func (c *GlobalOperationsWaitCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -62157,7 +62157,7 @@ func (c *GlobalOrganizationOperationsDeleteCall) Header() http.Header { func (c *GlobalOrganizationOperationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -62283,7 +62283,7 @@ func (c *GlobalOrganizationOperationsGetCall) Header() http.Header { func (c *GlobalOrganizationOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -62513,7 +62513,7 @@ func (c *GlobalOrganizationOperationsListCall) Header() http.Header { func (c *GlobalOrganizationOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -62787,7 +62787,7 @@ func (c *HealthChecksAggregatedListCall) Header() http.Header { func (c *HealthChecksAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -62996,7 +62996,7 @@ func (c *HealthChecksDeleteCall) Header() http.Header { func (c *HealthChecksDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -63154,7 +63154,7 @@ func (c *HealthChecksGetCall) Header() http.Header { func (c *HealthChecksGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -63319,7 +63319,7 @@ func (c *HealthChecksInsertCall) Header() http.Header { func (c *HealthChecksInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -63548,7 +63548,7 @@ func (c *HealthChecksListCall) Header() http.Header { func (c *HealthChecksListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -63756,7 +63756,7 @@ func (c *HealthChecksPatchCall) Header() http.Header { func (c *HealthChecksPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -63932,7 +63932,7 @@ func (c *HealthChecksUpdateCall) Header() http.Header { func (c *HealthChecksUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -64106,7 +64106,7 @@ func (c *HttpHealthChecksDeleteCall) Header() http.Header { func (c *HttpHealthChecksDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -64265,7 +64265,7 @@ func (c *HttpHealthChecksGetCall) Header() http.Header { func (c *HttpHealthChecksGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -64431,7 +64431,7 @@ func (c *HttpHealthChecksInsertCall) Header() http.Header { func (c *HttpHealthChecksInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -64661,7 +64661,7 @@ func (c *HttpHealthChecksListCall) Header() http.Header { func (c *HttpHealthChecksListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -64870,7 +64870,7 @@ func (c *HttpHealthChecksPatchCall) Header() http.Header { func (c *HttpHealthChecksPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -65047,7 +65047,7 @@ func (c *HttpHealthChecksUpdateCall) Header() http.Header { func (c *HttpHealthChecksUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -65220,7 +65220,7 @@ func (c *HttpsHealthChecksDeleteCall) Header() http.Header { func (c *HttpsHealthChecksDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -65378,7 +65378,7 @@ func (c *HttpsHealthChecksGetCall) Header() http.Header { func (c *HttpsHealthChecksGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -65543,7 +65543,7 @@ func (c *HttpsHealthChecksInsertCall) Header() http.Header { func (c *HttpsHealthChecksInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -65772,7 +65772,7 @@ func (c *HttpsHealthChecksListCall) Header() http.Header { func (c *HttpsHealthChecksListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -65980,7 +65980,7 @@ func (c *HttpsHealthChecksPatchCall) Header() http.Header { func (c *HttpsHealthChecksPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -66156,7 +66156,7 @@ func (c *HttpsHealthChecksUpdateCall) Header() http.Header { func (c *HttpsHealthChecksUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -66330,7 +66330,7 @@ func (c *ImagesDeleteCall) Header() http.Header { func (c *ImagesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -66501,7 +66501,7 @@ func (c *ImagesDeprecateCall) Header() http.Header { func (c *ImagesDeprecateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -66668,7 +66668,7 @@ func (c *ImagesGetCall) Header() http.Header { func (c *ImagesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -66825,7 +66825,7 @@ func (c *ImagesGetFromFamilyCall) Header() http.Header { func (c *ImagesGetFromFamilyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -66989,7 +66989,7 @@ func (c *ImagesGetIamPolicyCall) Header() http.Header { func (c *ImagesGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -67168,7 +67168,7 @@ func (c *ImagesInsertCall) Header() http.Header { func (c *ImagesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -67411,7 +67411,7 @@ func (c *ImagesListCall) Header() http.Header { func (c *ImagesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -67619,7 +67619,7 @@ func (c *ImagesPatchCall) Header() http.Header { func (c *ImagesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -67776,7 +67776,7 @@ func (c *ImagesSetIamPolicyCall) Header() http.Header { func (c *ImagesSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -67928,7 +67928,7 @@ func (c *ImagesSetLabelsCall) Header() http.Header { func (c *ImagesSetLabelsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -68080,7 +68080,7 @@ func (c *ImagesTestIamPermissionsCall) Header() http.Header { func (c *ImagesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -68269,7 +68269,7 @@ func (c *InstanceGroupManagersAbandonInstancesCall) Header() http.Header { func (c *InstanceGroupManagersAbandonInstancesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -68527,7 +68527,7 @@ func (c *InstanceGroupManagersAggregatedListCall) Header() http.Header { func (c *InstanceGroupManagersAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -68724,7 +68724,7 @@ func (c *InstanceGroupManagersApplyUpdatesToInstancesCall) Header() http.Header func (c *InstanceGroupManagersApplyUpdatesToInstancesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -68907,7 +68907,7 @@ func (c *InstanceGroupManagersCreateInstancesCall) Header() http.Header { func (c *InstanceGroupManagersCreateInstancesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -69092,7 +69092,7 @@ func (c *InstanceGroupManagersDeleteCall) Header() http.Header { func (c *InstanceGroupManagersDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -69283,7 +69283,7 @@ func (c *InstanceGroupManagersDeleteInstancesCall) Header() http.Header { func (c *InstanceGroupManagersDeleteInstancesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -69449,7 +69449,7 @@ func (c *InstanceGroupManagersDeletePerInstanceConfigsCall) Header() http.Header func (c *InstanceGroupManagersDeletePerInstanceConfigsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -69620,7 +69620,7 @@ func (c *InstanceGroupManagersGetCall) Header() http.Header { func (c *InstanceGroupManagersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -69802,7 +69802,7 @@ func (c *InstanceGroupManagersInsertCall) Header() http.Header { func (c *InstanceGroupManagersInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -70041,7 +70041,7 @@ func (c *InstanceGroupManagersListCall) Header() http.Header { func (c *InstanceGroupManagersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -70323,7 +70323,7 @@ func (c *InstanceGroupManagersListErrorsCall) Header() http.Header { func (c *InstanceGroupManagersListErrorsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -70607,7 +70607,7 @@ func (c *InstanceGroupManagersListManagedInstancesCall) Header() http.Header { func (c *InstanceGroupManagersListManagedInstancesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -70885,7 +70885,7 @@ func (c *InstanceGroupManagersListPerInstanceConfigsCall) Header() http.Header { func (c *InstanceGroupManagersListPerInstanceConfigsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -71114,7 +71114,7 @@ func (c *InstanceGroupManagersPatchCall) Header() http.Header { func (c *InstanceGroupManagersPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -71300,7 +71300,7 @@ func (c *InstanceGroupManagersPatchPerInstanceConfigsCall) Header() http.Header func (c *InstanceGroupManagersPatchPerInstanceConfigsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -71498,7 +71498,7 @@ func (c *InstanceGroupManagersRecreateInstancesCall) Header() http.Header { func (c *InstanceGroupManagersRecreateInstancesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -71701,7 +71701,7 @@ func (c *InstanceGroupManagersResizeCall) Header() http.Header { func (c *InstanceGroupManagersResizeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -71889,7 +71889,7 @@ func (c *InstanceGroupManagersSetInstanceTemplateCall) Header() http.Header { func (c *InstanceGroupManagersSetInstanceTemplateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -72079,7 +72079,7 @@ func (c *InstanceGroupManagersSetTargetPoolsCall) Header() http.Header { func (c *InstanceGroupManagersSetTargetPoolsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -72265,7 +72265,7 @@ func (c *InstanceGroupManagersUpdatePerInstanceConfigsCall) Header() http.Header func (c *InstanceGroupManagersUpdatePerInstanceConfigsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -72451,7 +72451,7 @@ func (c *InstanceGroupsAddInstancesCall) Header() http.Header { func (c *InstanceGroupsAddInstancesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -72709,7 +72709,7 @@ func (c *InstanceGroupsAggregatedListCall) Header() http.Header { func (c *InstanceGroupsAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -72923,7 +72923,7 @@ func (c *InstanceGroupsDeleteCall) Header() http.Header { func (c *InstanceGroupsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -73093,7 +73093,7 @@ func (c *InstanceGroupsGetCall) Header() http.Header { func (c *InstanceGroupsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -73267,7 +73267,7 @@ func (c *InstanceGroupsInsertCall) Header() http.Header { func (c *InstanceGroupsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -73509,7 +73509,7 @@ func (c *InstanceGroupsListCall) Header() http.Header { func (c *InstanceGroupsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -73781,7 +73781,7 @@ func (c *InstanceGroupsListInstancesCall) Header() http.Header { func (c *InstanceGroupsListInstancesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -74015,7 +74015,7 @@ func (c *InstanceGroupsRemoveInstancesCall) Header() http.Header { func (c *InstanceGroupsRemoveInstancesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -74199,7 +74199,7 @@ func (c *InstanceGroupsSetNamedPortsCall) Header() http.Header { func (c *InstanceGroupsSetNamedPortsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -74382,7 +74382,7 @@ func (c *InstanceTemplatesDeleteCall) Header() http.Header { func (c *InstanceTemplatesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -74541,7 +74541,7 @@ func (c *InstanceTemplatesGetCall) Header() http.Header { func (c *InstanceTemplatesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -74705,7 +74705,7 @@ func (c *InstanceTemplatesGetIamPolicyCall) Header() http.Header { func (c *InstanceTemplatesGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -74880,7 +74880,7 @@ func (c *InstanceTemplatesInsertCall) Header() http.Header { func (c *InstanceTemplatesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -75110,7 +75110,7 @@ func (c *InstanceTemplatesListCall) Header() http.Header { func (c *InstanceTemplatesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -75298,7 +75298,7 @@ func (c *InstanceTemplatesSetIamPolicyCall) Header() http.Header { func (c *InstanceTemplatesSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -75450,7 +75450,7 @@ func (c *InstanceTemplatesTestIamPermissionsCall) Header() http.Header { func (c *InstanceTemplatesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -75626,7 +75626,7 @@ func (c *InstancesAddAccessConfigCall) Header() http.Header { func (c *InstancesAddAccessConfigCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -75821,7 +75821,7 @@ func (c *InstancesAddResourcePoliciesCall) Header() http.Header { func (c *InstancesAddResourcePoliciesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -76082,7 +76082,7 @@ func (c *InstancesAggregatedListCall) Header() http.Header { func (c *InstancesAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -76308,7 +76308,7 @@ func (c *InstancesAttachDiskCall) Header() http.Header { func (c *InstancesAttachDiskCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -76499,7 +76499,7 @@ func (c *InstancesDeleteCall) Header() http.Header { func (c *InstancesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -76679,7 +76679,7 @@ func (c *InstancesDeleteAccessConfigCall) Header() http.Header { func (c *InstancesDeleteAccessConfigCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -76871,7 +76871,7 @@ func (c *InstancesDetachDiskCall) Header() http.Header { func (c *InstancesDetachDiskCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -77048,7 +77048,7 @@ func (c *InstancesGetCall) Header() http.Header { func (c *InstancesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -77229,7 +77229,7 @@ func (c *InstancesGetGuestAttributesCall) Header() http.Header { func (c *InstancesGetGuestAttributesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -77414,7 +77414,7 @@ func (c *InstancesGetIamPolicyCall) Header() http.Header { func (c *InstancesGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -77587,7 +77587,7 @@ func (c *InstancesGetScreenshotCall) Header() http.Header { func (c *InstancesGetScreenshotCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -77785,7 +77785,7 @@ func (c *InstancesGetSerialPortOutputCall) Header() http.Header { func (c *InstancesGetSerialPortOutputCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -77968,7 +77968,7 @@ func (c *InstancesGetShieldedInstanceIdentityCall) Header() http.Header { func (c *InstancesGetShieldedInstanceIdentityCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -78160,7 +78160,7 @@ func (c *InstancesInsertCall) Header() http.Header { func (c *InstancesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -78406,7 +78406,7 @@ func (c *InstancesListCall) Header() http.Header { func (c *InstancesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -78691,7 +78691,7 @@ func (c *InstancesListReferrersCall) Header() http.Header { func (c *InstancesListReferrersCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -78917,7 +78917,7 @@ func (c *InstancesRemoveResourcePoliciesCall) Header() http.Header { func (c *InstancesRemoveResourcePoliciesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -79104,7 +79104,7 @@ func (c *InstancesResetCall) Header() http.Header { func (c *InstancesResetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -79287,7 +79287,7 @@ func (c *InstancesSetDeletionProtectionCall) Header() http.Header { func (c *InstancesSetDeletionProtectionCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -79473,7 +79473,7 @@ func (c *InstancesSetDiskAutoDeleteCall) Header() http.Header { func (c *InstancesSetDiskAutoDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -79648,7 +79648,7 @@ func (c *InstancesSetIamPolicyCall) Header() http.Header { func (c *InstancesSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -79830,7 +79830,7 @@ func (c *InstancesSetLabelsCall) Header() http.Header { func (c *InstancesSetLabelsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -80017,7 +80017,7 @@ func (c *InstancesSetMachineResourcesCall) Header() http.Header { func (c *InstancesSetMachineResourcesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -80204,7 +80204,7 @@ func (c *InstancesSetMachineTypeCall) Header() http.Header { func (c *InstancesSetMachineTypeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -80392,7 +80392,7 @@ func (c *InstancesSetMetadataCall) Header() http.Header { func (c *InstancesSetMetadataCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -80581,7 +80581,7 @@ func (c *InstancesSetMinCpuPlatformCall) Header() http.Header { func (c *InstancesSetMinCpuPlatformCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -80771,7 +80771,7 @@ func (c *InstancesSetSchedulingCall) Header() http.Header { func (c *InstancesSetSchedulingCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -80959,7 +80959,7 @@ func (c *InstancesSetServiceAccountCall) Header() http.Header { func (c *InstancesSetServiceAccountCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -81148,7 +81148,7 @@ func (c *InstancesSetShieldedInstanceIntegrityPolicyCall) Header() http.Header { func (c *InstancesSetShieldedInstanceIntegrityPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -81336,7 +81336,7 @@ func (c *InstancesSetTagsCall) Header() http.Header { func (c *InstancesSetTagsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -81502,7 +81502,7 @@ func (c *InstancesSimulateMaintenanceEventCall) Header() http.Header { func (c *InstancesSimulateMaintenanceEventCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -81675,7 +81675,7 @@ func (c *InstancesStartCall) Header() http.Header { func (c *InstancesStartCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -81855,7 +81855,7 @@ func (c *InstancesStartWithEncryptionKeyCall) Header() http.Header { func (c *InstancesStartWithEncryptionKeyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -82045,7 +82045,7 @@ func (c *InstancesStopCall) Header() http.Header { func (c *InstancesStopCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -82205,7 +82205,7 @@ func (c *InstancesTestIamPermissionsCall) Header() http.Header { func (c *InstancesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -82422,7 +82422,7 @@ func (c *InstancesUpdateCall) Header() http.Header { func (c *InstancesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -82646,7 +82646,7 @@ func (c *InstancesUpdateAccessConfigCall) Header() http.Header { func (c *InstancesUpdateAccessConfigCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -82842,7 +82842,7 @@ func (c *InstancesUpdateDisplayDeviceCall) Header() http.Header { func (c *InstancesUpdateDisplayDeviceCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -83030,7 +83030,7 @@ func (c *InstancesUpdateNetworkInterfaceCall) Header() http.Header { func (c *InstancesUpdateNetworkInterfaceCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -83226,7 +83226,7 @@ func (c *InstancesUpdateShieldedInstanceConfigCall) Header() http.Header { func (c *InstancesUpdateShieldedInstanceConfigCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -83486,7 +83486,7 @@ func (c *InterconnectAttachmentsAggregatedListCall) Header() http.Header { func (c *InterconnectAttachmentsAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -83698,7 +83698,7 @@ func (c *InterconnectAttachmentsDeleteCall) Header() http.Header { func (c *InterconnectAttachmentsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -83866,7 +83866,7 @@ func (c *InterconnectAttachmentsGetCall) Header() http.Header { func (c *InterconnectAttachmentsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -84049,7 +84049,7 @@ func (c *InterconnectAttachmentsInsertCall) Header() http.Header { func (c *InterconnectAttachmentsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -84294,7 +84294,7 @@ func (c *InterconnectAttachmentsListCall) Header() http.Header { func (c *InterconnectAttachmentsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -84513,7 +84513,7 @@ func (c *InterconnectAttachmentsPatchCall) Header() http.Header { func (c *InterconnectAttachmentsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -84689,7 +84689,7 @@ func (c *InterconnectLocationsGetCall) Header() http.Header { func (c *InterconnectLocationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -84918,7 +84918,7 @@ func (c *InterconnectLocationsListCall) Header() http.Header { func (c *InterconnectLocationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -85122,7 +85122,7 @@ func (c *InterconnectsDeleteCall) Header() http.Header { func (c *InterconnectsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -85280,7 +85280,7 @@ func (c *InterconnectsGetCall) Header() http.Header { func (c *InterconnectsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -85437,7 +85437,7 @@ func (c *InterconnectsGetDiagnosticsCall) Header() http.Header { func (c *InterconnectsGetDiagnosticsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -85603,7 +85603,7 @@ func (c *InterconnectsInsertCall) Header() http.Header { func (c *InterconnectsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -85832,7 +85832,7 @@ func (c *InterconnectsListCall) Header() http.Header { func (c *InterconnectsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -86040,7 +86040,7 @@ func (c *InterconnectsPatchCall) Header() http.Header { func (c *InterconnectsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -86208,7 +86208,7 @@ func (c *LicenseCodesGetCall) Header() http.Header { func (c *LicenseCodesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -86357,7 +86357,7 @@ func (c *LicenseCodesTestIamPermissionsCall) Header() http.Header { func (c *LicenseCodesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -86528,7 +86528,7 @@ func (c *LicensesDeleteCall) Header() http.Header { func (c *LicensesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -86688,7 +86688,7 @@ func (c *LicensesGetCall) Header() http.Header { func (c *LicensesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -86854,7 +86854,7 @@ func (c *LicensesGetIamPolicyCall) Header() http.Header { func (c *LicensesGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -87026,7 +87026,7 @@ func (c *LicensesInsertCall) Header() http.Header { func (c *LicensesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -87264,7 +87264,7 @@ func (c *LicensesListCall) Header() http.Header { func (c *LicensesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -87454,7 +87454,7 @@ func (c *LicensesSetIamPolicyCall) Header() http.Header { func (c *LicensesSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -87607,7 +87607,7 @@ func (c *LicensesTestIamPermissionsCall) Header() http.Header { func (c *LicensesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -87854,7 +87854,7 @@ func (c *MachineTypesAggregatedListCall) Header() http.Header { func (c *MachineTypesAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -88059,7 +88059,7 @@ func (c *MachineTypesGetCall) Header() http.Header { func (c *MachineTypesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -88300,7 +88300,7 @@ func (c *MachineTypesListCall) Header() http.Header { func (c *MachineTypesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -88591,7 +88591,7 @@ func (c *NetworkEndpointGroupsAggregatedListCall) Header() http.Header { func (c *NetworkEndpointGroupsAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -88806,7 +88806,7 @@ func (c *NetworkEndpointGroupsAttachNetworkEndpointsCall) Header() http.Header { func (c *NetworkEndpointGroupsAttachNetworkEndpointsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -88991,7 +88991,7 @@ func (c *NetworkEndpointGroupsDeleteCall) Header() http.Header { func (c *NetworkEndpointGroupsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -89168,7 +89168,7 @@ func (c *NetworkEndpointGroupsDetachNetworkEndpointsCall) Header() http.Header { func (c *NetworkEndpointGroupsDetachNetworkEndpointsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -89343,7 +89343,7 @@ func (c *NetworkEndpointGroupsGetCall) Header() http.Header { func (c *NetworkEndpointGroupsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -89517,7 +89517,7 @@ func (c *NetworkEndpointGroupsInsertCall) Header() http.Header { func (c *NetworkEndpointGroupsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -89756,7 +89756,7 @@ func (c *NetworkEndpointGroupsListCall) Header() http.Header { func (c *NetworkEndpointGroupsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -90028,7 +90028,7 @@ func (c *NetworkEndpointGroupsListNetworkEndpointsCall) Header() http.Header { func (c *NetworkEndpointGroupsListNetworkEndpointsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -90241,7 +90241,7 @@ func (c *NetworkEndpointGroupsTestIamPermissionsCall) Header() http.Header { func (c *NetworkEndpointGroupsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -90421,7 +90421,7 @@ func (c *NetworksAddPeeringCall) Header() http.Header { func (c *NetworksAddPeeringCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -90595,7 +90595,7 @@ func (c *NetworksDeleteCall) Header() http.Header { func (c *NetworksDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -90754,7 +90754,7 @@ func (c *NetworksGetCall) Header() http.Header { func (c *NetworksGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -90920,7 +90920,7 @@ func (c *NetworksInsertCall) Header() http.Header { func (c *NetworksInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -91150,7 +91150,7 @@ func (c *NetworksListCall) Header() http.Header { func (c *NetworksListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -91447,7 +91447,7 @@ func (c *NetworksListPeeringRoutesCall) Header() http.Header { func (c *NetworksListPeeringRoutesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -91687,7 +91687,7 @@ func (c *NetworksPatchCall) Header() http.Header { func (c *NetworksPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -91862,7 +91862,7 @@ func (c *NetworksRemovePeeringCall) Header() http.Header { func (c *NetworksRemovePeeringCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -92036,7 +92036,7 @@ func (c *NetworksSwitchToCustomModeCall) Header() http.Header { func (c *NetworksSwitchToCustomModeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -92206,7 +92206,7 @@ func (c *NetworksUpdatePeeringCall) Header() http.Header { func (c *NetworksUpdatePeeringCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -92383,7 +92383,7 @@ func (c *NodeGroupsAddNodesCall) Header() http.Header { func (c *NodeGroupsAddNodesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -92643,7 +92643,7 @@ func (c *NodeGroupsAggregatedListCall) Header() http.Header { func (c *NodeGroupsAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -92854,7 +92854,7 @@ func (c *NodeGroupsDeleteCall) Header() http.Header { func (c *NodeGroupsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -93032,7 +93032,7 @@ func (c *NodeGroupsDeleteNodesCall) Header() http.Header { func (c *NodeGroupsDeleteNodesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -93210,7 +93210,7 @@ func (c *NodeGroupsGetCall) Header() http.Header { func (c *NodeGroupsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -93385,7 +93385,7 @@ func (c *NodeGroupsGetIamPolicyCall) Header() http.Header { func (c *NodeGroupsGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -93568,7 +93568,7 @@ func (c *NodeGroupsInsertCall) Header() http.Header { func (c *NodeGroupsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -93817,7 +93817,7 @@ func (c *NodeGroupsListCall) Header() http.Header { func (c *NodeGroupsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -94087,7 +94087,7 @@ func (c *NodeGroupsListNodesCall) Header() http.Header { func (c *NodeGroupsListNodesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -94310,7 +94310,7 @@ func (c *NodeGroupsPatchCall) Header() http.Header { func (c *NodeGroupsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -94478,7 +94478,7 @@ func (c *NodeGroupsSetIamPolicyCall) Header() http.Header { func (c *NodeGroupsSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -94659,7 +94659,7 @@ func (c *NodeGroupsSetNodeTemplateCall) Header() http.Header { func (c *NodeGroupsSetNodeTemplateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -94827,7 +94827,7 @@ func (c *NodeGroupsTestIamPermissionsCall) Header() http.Header { func (c *NodeGroupsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -95082,7 +95082,7 @@ func (c *NodeTemplatesAggregatedListCall) Header() http.Header { func (c *NodeTemplatesAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -95293,7 +95293,7 @@ func (c *NodeTemplatesDeleteCall) Header() http.Header { func (c *NodeTemplatesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -95462,7 +95462,7 @@ func (c *NodeTemplatesGetCall) Header() http.Header { func (c *NodeTemplatesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -95637,7 +95637,7 @@ func (c *NodeTemplatesGetIamPolicyCall) Header() http.Header { func (c *NodeTemplatesGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -95819,7 +95819,7 @@ func (c *NodeTemplatesInsertCall) Header() http.Header { func (c *NodeTemplatesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -96059,7 +96059,7 @@ func (c *NodeTemplatesListCall) Header() http.Header { func (c *NodeTemplatesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -96258,7 +96258,7 @@ func (c *NodeTemplatesSetIamPolicyCall) Header() http.Header { func (c *NodeTemplatesSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -96421,7 +96421,7 @@ func (c *NodeTemplatesTestIamPermissionsCall) Header() http.Header { func (c *NodeTemplatesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -96676,7 +96676,7 @@ func (c *NodeTypesAggregatedListCall) Header() http.Header { func (c *NodeTypesAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -96880,7 +96880,7 @@ func (c *NodeTypesGetCall) Header() http.Header { func (c *NodeTypesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -97120,7 +97120,7 @@ func (c *NodeTypesListCall) Header() http.Header { func (c *NodeTypesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -97410,7 +97410,7 @@ func (c *PacketMirroringsAggregatedListCall) Header() http.Header { func (c *PacketMirroringsAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -97621,7 +97621,7 @@ func (c *PacketMirroringsDeleteCall) Header() http.Header { func (c *PacketMirroringsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -97789,7 +97789,7 @@ func (c *PacketMirroringsGetCall) Header() http.Header { func (c *PacketMirroringsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -97965,7 +97965,7 @@ func (c *PacketMirroringsInsertCall) Header() http.Header { func (c *PacketMirroringsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -98205,7 +98205,7 @@ func (c *PacketMirroringsListCall) Header() http.Header { func (c *PacketMirroringsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -98424,7 +98424,7 @@ func (c *PacketMirroringsPatchCall) Header() http.Header { func (c *PacketMirroringsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -98592,7 +98592,7 @@ func (c *PacketMirroringsTestIamPermissionsCall) Header() http.Header { func (c *PacketMirroringsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -98768,7 +98768,7 @@ func (c *ProjectsDisableXpnHostCall) Header() http.Header { func (c *ProjectsDisableXpnHostCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -98925,7 +98925,7 @@ func (c *ProjectsDisableXpnResourceCall) Header() http.Header { func (c *ProjectsDisableXpnResourceCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -99087,7 +99087,7 @@ func (c *ProjectsEnableXpnHostCall) Header() http.Header { func (c *ProjectsEnableXpnHostCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -99245,7 +99245,7 @@ func (c *ProjectsEnableXpnResourceCall) Header() http.Header { func (c *ProjectsEnableXpnResourceCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -99400,7 +99400,7 @@ func (c *ProjectsGetCall) Header() http.Header { func (c *ProjectsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -99546,7 +99546,7 @@ func (c *ProjectsGetXpnHostCall) Header() http.Header { func (c *ProjectsGetXpnHostCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -99765,7 +99765,7 @@ func (c *ProjectsGetXpnResourcesCall) Header() http.Header { func (c *ProjectsGetXpnResourcesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -100024,7 +100024,7 @@ func (c *ProjectsListXpnHostsCall) Header() http.Header { func (c *ProjectsListXpnHostsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -100232,7 +100232,7 @@ func (c *ProjectsMoveDiskCall) Header() http.Header { func (c *ProjectsMoveDiskCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -100397,7 +100397,7 @@ func (c *ProjectsMoveInstanceCall) Header() http.Header { func (c *ProjectsMoveInstanceCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -100563,7 +100563,7 @@ func (c *ProjectsSetCommonInstanceMetadataCall) Header() http.Header { func (c *ProjectsSetCommonInstanceMetadataCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -100730,7 +100730,7 @@ func (c *ProjectsSetDefaultNetworkTierCall) Header() http.Header { func (c *ProjectsSetDefaultNetworkTierCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -100898,7 +100898,7 @@ func (c *ProjectsSetUsageExportBucketCall) Header() http.Header { func (c *ProjectsSetUsageExportBucketCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -101067,7 +101067,7 @@ func (c *RegionAutoscalersDeleteCall) Header() http.Header { func (c *RegionAutoscalersDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -101235,7 +101235,7 @@ func (c *RegionAutoscalersGetCall) Header() http.Header { func (c *RegionAutoscalersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -101411,7 +101411,7 @@ func (c *RegionAutoscalersInsertCall) Header() http.Header { func (c *RegionAutoscalersInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -101651,7 +101651,7 @@ func (c *RegionAutoscalersListCall) Header() http.Header { func (c *RegionAutoscalersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -101875,7 +101875,7 @@ func (c *RegionAutoscalersPatchCall) Header() http.Header { func (c *RegionAutoscalersPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -102064,7 +102064,7 @@ func (c *RegionAutoscalersUpdateCall) Header() http.Header { func (c *RegionAutoscalersUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -102245,7 +102245,7 @@ func (c *RegionBackendServicesDeleteCall) Header() http.Header { func (c *RegionBackendServicesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -102413,7 +102413,7 @@ func (c *RegionBackendServicesGetCall) Header() http.Header { func (c *RegionBackendServicesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -102572,7 +102572,7 @@ func (c *RegionBackendServicesGetHealthCall) Header() http.Header { func (c *RegionBackendServicesGetHealthCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -102753,7 +102753,7 @@ func (c *RegionBackendServicesInsertCall) Header() http.Header { func (c *RegionBackendServicesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -102993,7 +102993,7 @@ func (c *RegionBackendServicesListCall) Header() http.Header { func (c *RegionBackendServicesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -103213,7 +103213,7 @@ func (c *RegionBackendServicesPatchCall) Header() http.Header { func (c *RegionBackendServicesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -103401,7 +103401,7 @@ func (c *RegionBackendServicesUpdateCall) Header() http.Header { func (c *RegionBackendServicesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -103660,7 +103660,7 @@ func (c *RegionCommitmentsAggregatedListCall) Header() http.Header { func (c *RegionCommitmentsAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -103864,7 +103864,7 @@ func (c *RegionCommitmentsGetCall) Header() http.Header { func (c *RegionCommitmentsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -104040,7 +104040,7 @@ func (c *RegionCommitmentsInsertCall) Header() http.Header { func (c *RegionCommitmentsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -104280,7 +104280,7 @@ func (c *RegionCommitmentsListCall) Header() http.Header { func (c *RegionCommitmentsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -104488,7 +104488,7 @@ func (c *RegionDiskTypesGetCall) Header() http.Header { func (c *RegionDiskTypesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -104728,7 +104728,7 @@ func (c *RegionDiskTypesListCall) Header() http.Header { func (c *RegionDiskTypesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -104947,7 +104947,7 @@ func (c *RegionDisksAddResourcePoliciesCall) Header() http.Header { func (c *RegionDisksAddResourcePoliciesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -105133,7 +105133,7 @@ func (c *RegionDisksCreateSnapshotCall) Header() http.Header { func (c *RegionDisksCreateSnapshotCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -105320,7 +105320,7 @@ func (c *RegionDisksDeleteCall) Header() http.Header { func (c *RegionDisksDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -105487,7 +105487,7 @@ func (c *RegionDisksGetCall) Header() http.Header { func (c *RegionDisksGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -105662,7 +105662,7 @@ func (c *RegionDisksGetIamPolicyCall) Header() http.Header { func (c *RegionDisksGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -105851,7 +105851,7 @@ func (c *RegionDisksInsertCall) Header() http.Header { func (c *RegionDisksInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -106096,7 +106096,7 @@ func (c *RegionDisksListCall) Header() http.Header { func (c *RegionDisksListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -106314,7 +106314,7 @@ func (c *RegionDisksRemoveResourcePoliciesCall) Header() http.Header { func (c *RegionDisksRemoveResourcePoliciesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -106500,7 +106500,7 @@ func (c *RegionDisksResizeCall) Header() http.Header { func (c *RegionDisksResizeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -106668,7 +106668,7 @@ func (c *RegionDisksSetIamPolicyCall) Header() http.Header { func (c *RegionDisksSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -106849,7 +106849,7 @@ func (c *RegionDisksSetLabelsCall) Header() http.Header { func (c *RegionDisksSetLabelsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -107017,7 +107017,7 @@ func (c *RegionDisksTestIamPermissionsCall) Header() http.Header { func (c *RegionDisksTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -107197,7 +107197,7 @@ func (c *RegionHealthCheckServicesDeleteCall) Header() http.Header { func (c *RegionHealthCheckServicesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -107364,7 +107364,7 @@ func (c *RegionHealthCheckServicesGetCall) Header() http.Header { func (c *RegionHealthCheckServicesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -107539,7 +107539,7 @@ func (c *RegionHealthCheckServicesInsertCall) Header() http.Header { func (c *RegionHealthCheckServicesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -107779,7 +107779,7 @@ func (c *RegionHealthCheckServicesListCall) Header() http.Header { func (c *RegionHealthCheckServicesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -107998,7 +107998,7 @@ func (c *RegionHealthCheckServicesPatchCall) Header() http.Header { func (c *RegionHealthCheckServicesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -108181,7 +108181,7 @@ func (c *RegionHealthChecksDeleteCall) Header() http.Header { func (c *RegionHealthChecksDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -108350,7 +108350,7 @@ func (c *RegionHealthChecksGetCall) Header() http.Header { func (c *RegionHealthChecksGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -108526,7 +108526,7 @@ func (c *RegionHealthChecksInsertCall) Header() http.Header { func (c *RegionHealthChecksInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -108766,7 +108766,7 @@ func (c *RegionHealthChecksListCall) Header() http.Header { func (c *RegionHealthChecksListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -108985,7 +108985,7 @@ func (c *RegionHealthChecksPatchCall) Header() http.Header { func (c *RegionHealthChecksPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -109172,7 +109172,7 @@ func (c *RegionHealthChecksUpdateCall) Header() http.Header { func (c *RegionHealthChecksUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -109374,7 +109374,7 @@ func (c *RegionInstanceGroupManagersAbandonInstancesCall) Header() http.Header { func (c *RegionInstanceGroupManagersAbandonInstancesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -109540,7 +109540,7 @@ func (c *RegionInstanceGroupManagersApplyUpdatesToInstancesCall) Header() http.H func (c *RegionInstanceGroupManagersApplyUpdatesToInstancesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -109723,7 +109723,7 @@ func (c *RegionInstanceGroupManagersCreateInstancesCall) Header() http.Header { func (c *RegionInstanceGroupManagersCreateInstancesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -109906,7 +109906,7 @@ func (c *RegionInstanceGroupManagersDeleteCall) Header() http.Header { func (c *RegionInstanceGroupManagersDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -110098,7 +110098,7 @@ func (c *RegionInstanceGroupManagersDeleteInstancesCall) Header() http.Header { func (c *RegionInstanceGroupManagersDeleteInstancesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -110264,7 +110264,7 @@ func (c *RegionInstanceGroupManagersDeletePerInstanceConfigsCall) Header() http. func (c *RegionInstanceGroupManagersDeletePerInstanceConfigsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -110434,7 +110434,7 @@ func (c *RegionInstanceGroupManagersGetCall) Header() http.Header { func (c *RegionInstanceGroupManagersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -110615,7 +110615,7 @@ func (c *RegionInstanceGroupManagersInsertCall) Header() http.Header { func (c *RegionInstanceGroupManagersInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -110854,7 +110854,7 @@ func (c *RegionInstanceGroupManagersListCall) Header() http.Header { func (c *RegionInstanceGroupManagersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -111136,7 +111136,7 @@ func (c *RegionInstanceGroupManagersListErrorsCall) Header() http.Header { func (c *RegionInstanceGroupManagersListErrorsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -111418,7 +111418,7 @@ func (c *RegionInstanceGroupManagersListManagedInstancesCall) Header() http.Head func (c *RegionInstanceGroupManagersListManagedInstancesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -111696,7 +111696,7 @@ func (c *RegionInstanceGroupManagersListPerInstanceConfigsCall) Header() http.He func (c *RegionInstanceGroupManagersListPerInstanceConfigsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -111925,7 +111925,7 @@ func (c *RegionInstanceGroupManagersPatchCall) Header() http.Header { func (c *RegionInstanceGroupManagersPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -112111,7 +112111,7 @@ func (c *RegionInstanceGroupManagersPatchPerInstanceConfigsCall) Header() http.H func (c *RegionInstanceGroupManagersPatchPerInstanceConfigsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -112309,7 +112309,7 @@ func (c *RegionInstanceGroupManagersRecreateInstancesCall) Header() http.Header func (c *RegionInstanceGroupManagersRecreateInstancesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -112504,7 +112504,7 @@ func (c *RegionInstanceGroupManagersResizeCall) Header() http.Header { func (c *RegionInstanceGroupManagersResizeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -112691,7 +112691,7 @@ func (c *RegionInstanceGroupManagersSetInstanceTemplateCall) Header() http.Heade func (c *RegionInstanceGroupManagersSetInstanceTemplateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -112877,7 +112877,7 @@ func (c *RegionInstanceGroupManagersSetTargetPoolsCall) Header() http.Header { func (c *RegionInstanceGroupManagersSetTargetPoolsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -113063,7 +113063,7 @@ func (c *RegionInstanceGroupManagersUpdatePerInstanceConfigsCall) Header() http. func (c *RegionInstanceGroupManagersUpdatePerInstanceConfigsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -113237,7 +113237,7 @@ func (c *RegionInstanceGroupsGetCall) Header() http.Header { func (c *RegionInstanceGroupsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -113475,7 +113475,7 @@ func (c *RegionInstanceGroupsListCall) Header() http.Header { func (c *RegionInstanceGroupsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -113750,7 +113750,7 @@ func (c *RegionInstanceGroupsListInstancesCall) Header() http.Header { func (c *RegionInstanceGroupsListInstancesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -113981,7 +113981,7 @@ func (c *RegionInstanceGroupsSetNamedPortsCall) Header() http.Header { func (c *RegionInstanceGroupsSetNamedPortsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -114165,7 +114165,7 @@ func (c *RegionNetworkEndpointGroupsDeleteCall) Header() http.Header { func (c *RegionNetworkEndpointGroupsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -114332,7 +114332,7 @@ func (c *RegionNetworkEndpointGroupsGetCall) Header() http.Header { func (c *RegionNetworkEndpointGroupsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -114506,7 +114506,7 @@ func (c *RegionNetworkEndpointGroupsInsertCall) Header() http.Header { func (c *RegionNetworkEndpointGroupsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -114745,7 +114745,7 @@ func (c *RegionNetworkEndpointGroupsListCall) Header() http.Header { func (c *RegionNetworkEndpointGroupsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -114960,7 +114960,7 @@ func (c *RegionNotificationEndpointsDeleteCall) Header() http.Header { func (c *RegionNotificationEndpointsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -115129,7 +115129,7 @@ func (c *RegionNotificationEndpointsGetCall) Header() http.Header { func (c *RegionNotificationEndpointsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -115305,7 +115305,7 @@ func (c *RegionNotificationEndpointsInsertCall) Header() http.Header { func (c *RegionNotificationEndpointsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -115545,7 +115545,7 @@ func (c *RegionNotificationEndpointsListCall) Header() http.Header { func (c *RegionNotificationEndpointsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -115742,7 +115742,7 @@ func (c *RegionOperationsDeleteCall) Header() http.Header { func (c *RegionOperationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -115878,7 +115878,7 @@ func (c *RegionOperationsGetCall) Header() http.Header { func (c *RegionOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -116119,7 +116119,7 @@ func (c *RegionOperationsListCall) Header() http.Header { func (c *RegionOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -116328,7 +116328,7 @@ func (c *RegionOperationsWaitCall) Header() http.Header { func (c *RegionOperationsWaitCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -116500,7 +116500,7 @@ func (c *RegionSslCertificatesDeleteCall) Header() http.Header { func (c *RegionSslCertificatesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -116670,7 +116670,7 @@ func (c *RegionSslCertificatesGetCall) Header() http.Header { func (c *RegionSslCertificatesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -116846,7 +116846,7 @@ func (c *RegionSslCertificatesInsertCall) Header() http.Header { func (c *RegionSslCertificatesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -117086,7 +117086,7 @@ func (c *RegionSslCertificatesListCall) Header() http.Header { func (c *RegionSslCertificatesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -117301,7 +117301,7 @@ func (c *RegionTargetHttpProxiesDeleteCall) Header() http.Header { func (c *RegionTargetHttpProxiesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -117471,7 +117471,7 @@ func (c *RegionTargetHttpProxiesGetCall) Header() http.Header { func (c *RegionTargetHttpProxiesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -117647,7 +117647,7 @@ func (c *RegionTargetHttpProxiesInsertCall) Header() http.Header { func (c *RegionTargetHttpProxiesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -117887,7 +117887,7 @@ func (c *RegionTargetHttpProxiesListCall) Header() http.Header { func (c *RegionTargetHttpProxiesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -118104,7 +118104,7 @@ func (c *RegionTargetHttpProxiesSetUrlMapCall) Header() http.Header { func (c *RegionTargetHttpProxiesSetUrlMapCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -118288,7 +118288,7 @@ func (c *RegionTargetHttpsProxiesDeleteCall) Header() http.Header { func (c *RegionTargetHttpsProxiesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -118458,7 +118458,7 @@ func (c *RegionTargetHttpsProxiesGetCall) Header() http.Header { func (c *RegionTargetHttpsProxiesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -118634,7 +118634,7 @@ func (c *RegionTargetHttpsProxiesInsertCall) Header() http.Header { func (c *RegionTargetHttpsProxiesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -118874,7 +118874,7 @@ func (c *RegionTargetHttpsProxiesListCall) Header() http.Header { func (c *RegionTargetHttpsProxiesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -119091,7 +119091,7 @@ func (c *RegionTargetHttpsProxiesSetSslCertificatesCall) Header() http.Header { func (c *RegionTargetHttpsProxiesSetSslCertificatesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -119277,7 +119277,7 @@ func (c *RegionTargetHttpsProxiesSetUrlMapCall) Header() http.Header { func (c *RegionTargetHttpsProxiesSetUrlMapCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -119449,7 +119449,7 @@ func (c *RegionUrlMapsDeleteCall) Header() http.Header { func (c *RegionUrlMapsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -119618,7 +119618,7 @@ func (c *RegionUrlMapsGetCall) Header() http.Header { func (c *RegionUrlMapsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -119782,7 +119782,7 @@ func (c *RegionUrlMapsInsertCall) Header() http.Header { func (c *RegionUrlMapsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -120022,7 +120022,7 @@ func (c *RegionUrlMapsListCall) Header() http.Header { func (c *RegionUrlMapsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -120229,7 +120229,7 @@ func (c *RegionUrlMapsPatchCall) Header() http.Header { func (c *RegionUrlMapsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -120404,7 +120404,7 @@ func (c *RegionUrlMapsUpdateCall) Header() http.Header { func (c *RegionUrlMapsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -120573,7 +120573,7 @@ func (c *RegionUrlMapsValidateCall) Header() http.Header { func (c *RegionUrlMapsValidateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -120744,7 +120744,7 @@ func (c *RegionsGetCall) Header() http.Header { func (c *RegionsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -120974,7 +120974,7 @@ func (c *RegionsListCall) Header() http.Header { func (c *RegionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -121255,7 +121255,7 @@ func (c *ReservationsAggregatedListCall) Header() http.Header { func (c *ReservationsAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -121466,7 +121466,7 @@ func (c *ReservationsDeleteCall) Header() http.Header { func (c *ReservationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -121634,7 +121634,7 @@ func (c *ReservationsGetCall) Header() http.Header { func (c *ReservationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -121809,7 +121809,7 @@ func (c *ReservationsGetIamPolicyCall) Header() http.Header { func (c *ReservationsGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -121991,7 +121991,7 @@ func (c *ReservationsInsertCall) Header() http.Header { func (c *ReservationsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -122231,7 +122231,7 @@ func (c *ReservationsListCall) Header() http.Header { func (c *ReservationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -122450,7 +122450,7 @@ func (c *ReservationsResizeCall) Header() http.Header { func (c *ReservationsResizeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -122618,7 +122618,7 @@ func (c *ReservationsSetIamPolicyCall) Header() http.Header { func (c *ReservationsSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -122781,7 +122781,7 @@ func (c *ReservationsTestIamPermissionsCall) Header() http.Header { func (c *ReservationsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -123036,7 +123036,7 @@ func (c *ResourcePoliciesAggregatedListCall) Header() http.Header { func (c *ResourcePoliciesAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -123247,7 +123247,7 @@ func (c *ResourcePoliciesDeleteCall) Header() http.Header { func (c *ResourcePoliciesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -123415,7 +123415,7 @@ func (c *ResourcePoliciesGetCall) Header() http.Header { func (c *ResourcePoliciesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -123590,7 +123590,7 @@ func (c *ResourcePoliciesGetIamPolicyCall) Header() http.Header { func (c *ResourcePoliciesGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -123771,7 +123771,7 @@ func (c *ResourcePoliciesInsertCall) Header() http.Header { func (c *ResourcePoliciesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -124011,7 +124011,7 @@ func (c *ResourcePoliciesListCall) Header() http.Header { func (c *ResourcePoliciesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -124210,7 +124210,7 @@ func (c *ResourcePoliciesSetIamPolicyCall) Header() http.Header { func (c *ResourcePoliciesSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -124373,7 +124373,7 @@ func (c *ResourcePoliciesTestIamPermissionsCall) Header() http.Header { func (c *ResourcePoliciesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -124628,7 +124628,7 @@ func (c *RoutersAggregatedListCall) Header() http.Header { func (c *RoutersAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -124839,7 +124839,7 @@ func (c *RoutersDeleteCall) Header() http.Header { func (c *RoutersDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -125008,7 +125008,7 @@ func (c *RoutersGetCall) Header() http.Header { func (c *RoutersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -125250,7 +125250,7 @@ func (c *RoutersGetNatMappingInfoCall) Header() http.Header { func (c *RoutersGetNatMappingInfoCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -125467,7 +125467,7 @@ func (c *RoutersGetRouterStatusCall) Header() http.Header { func (c *RoutersGetRouterStatusCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -125643,7 +125643,7 @@ func (c *RoutersInsertCall) Header() http.Header { func (c *RoutersInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -125883,7 +125883,7 @@ func (c *RoutersListCall) Header() http.Header { func (c *RoutersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -126102,7 +126102,7 @@ func (c *RoutersPatchCall) Header() http.Header { func (c *RoutersPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -126271,7 +126271,7 @@ func (c *RoutersPreviewCall) Header() http.Header { func (c *RoutersPreviewCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -126457,7 +126457,7 @@ func (c *RoutersUpdateCall) Header() http.Header { func (c *RoutersUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -126640,7 +126640,7 @@ func (c *RoutesDeleteCall) Header() http.Header { func (c *RoutesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -126799,7 +126799,7 @@ func (c *RoutesGetCall) Header() http.Header { func (c *RoutesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -126965,7 +126965,7 @@ func (c *RoutesInsertCall) Header() http.Header { func (c *RoutesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -127195,7 +127195,7 @@ func (c *RoutesListCall) Header() http.Header { func (c *RoutesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -127382,7 +127382,7 @@ func (c *SecurityPoliciesAddRuleCall) Header() http.Header { func (c *SecurityPoliciesAddRuleCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -127550,7 +127550,7 @@ func (c *SecurityPoliciesDeleteCall) Header() http.Header { func (c *SecurityPoliciesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -127708,7 +127708,7 @@ func (c *SecurityPoliciesGetCall) Header() http.Header { func (c *SecurityPoliciesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -127871,7 +127871,7 @@ func (c *SecurityPoliciesGetRuleCall) Header() http.Header { func (c *SecurityPoliciesGetRuleCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -128042,7 +128042,7 @@ func (c *SecurityPoliciesInsertCall) Header() http.Header { func (c *SecurityPoliciesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -128271,7 +128271,7 @@ func (c *SecurityPoliciesListCall) Header() http.Header { func (c *SecurityPoliciesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -128540,7 +128540,7 @@ func (c *SecurityPoliciesListPreconfiguredExpressionSetsCall) Header() http.Head func (c *SecurityPoliciesListPreconfiguredExpressionSetsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -128730,7 +128730,7 @@ func (c *SecurityPoliciesPatchCall) Header() http.Header { func (c *SecurityPoliciesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -128893,7 +128893,7 @@ func (c *SecurityPoliciesPatchRuleCall) Header() http.Header { func (c *SecurityPoliciesPatchRuleCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -129055,7 +129055,7 @@ func (c *SecurityPoliciesRemoveRuleCall) Header() http.Header { func (c *SecurityPoliciesRemoveRuleCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -129228,7 +129228,7 @@ func (c *SnapshotsDeleteCall) Header() http.Header { func (c *SnapshotsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -129387,7 +129387,7 @@ func (c *SnapshotsGetCall) Header() http.Header { func (c *SnapshotsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -129551,7 +129551,7 @@ func (c *SnapshotsGetIamPolicyCall) Header() http.Header { func (c *SnapshotsGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -129787,7 +129787,7 @@ func (c *SnapshotsListCall) Header() http.Header { func (c *SnapshotsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -129975,7 +129975,7 @@ func (c *SnapshotsSetIamPolicyCall) Header() http.Header { func (c *SnapshotsSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -130127,7 +130127,7 @@ func (c *SnapshotsSetLabelsCall) Header() http.Header { func (c *SnapshotsSetLabelsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -130279,7 +130279,7 @@ func (c *SnapshotsTestIamPermissionsCall) Header() http.Header { func (c *SnapshotsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -130526,7 +130526,7 @@ func (c *SslCertificatesAggregatedListCall) Header() http.Header { func (c *SslCertificatesAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -130735,7 +130735,7 @@ func (c *SslCertificatesDeleteCall) Header() http.Header { func (c *SslCertificatesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -130893,7 +130893,7 @@ func (c *SslCertificatesGetCall) Header() http.Header { func (c *SslCertificatesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -131058,7 +131058,7 @@ func (c *SslCertificatesInsertCall) Header() http.Header { func (c *SslCertificatesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -131287,7 +131287,7 @@ func (c *SslCertificatesListCall) Header() http.Header { func (c *SslCertificatesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -131493,7 +131493,7 @@ func (c *SslPoliciesDeleteCall) Header() http.Header { func (c *SslPoliciesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -131650,7 +131650,7 @@ func (c *SslPoliciesGetCall) Header() http.Header { func (c *SslPoliciesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -131814,7 +131814,7 @@ func (c *SslPoliciesInsertCall) Header() http.Header { func (c *SslPoliciesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -132043,7 +132043,7 @@ func (c *SslPoliciesListCall) Header() http.Header { func (c *SslPoliciesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -132312,7 +132312,7 @@ func (c *SslPoliciesListAvailableFeaturesCall) Header() http.Header { func (c *SslPoliciesListAvailableFeaturesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -132500,7 +132500,7 @@ func (c *SslPoliciesPatchCall) Header() http.Header { func (c *SslPoliciesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -132749,7 +132749,7 @@ func (c *SubnetworksAggregatedListCall) Header() http.Header { func (c *SubnetworksAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -132960,7 +132960,7 @@ func (c *SubnetworksDeleteCall) Header() http.Header { func (c *SubnetworksDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -133139,7 +133139,7 @@ func (c *SubnetworksExpandIpCidrRangeCall) Header() http.Header { func (c *SubnetworksExpandIpCidrRangeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -133316,7 +133316,7 @@ func (c *SubnetworksGetCall) Header() http.Header { func (c *SubnetworksGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -133491,7 +133491,7 @@ func (c *SubnetworksGetIamPolicyCall) Header() http.Header { func (c *SubnetworksGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -133673,7 +133673,7 @@ func (c *SubnetworksInsertCall) Header() http.Header { func (c *SubnetworksInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -133913,7 +133913,7 @@ func (c *SubnetworksListCall) Header() http.Header { func (c *SubnetworksListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -134191,7 +134191,7 @@ func (c *SubnetworksListUsableCall) Header() http.Header { func (c *SubnetworksListUsableCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -134417,7 +134417,7 @@ func (c *SubnetworksPatchCall) Header() http.Header { func (c *SubnetworksPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -134591,7 +134591,7 @@ func (c *SubnetworksSetIamPolicyCall) Header() http.Header { func (c *SubnetworksSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -134774,7 +134774,7 @@ func (c *SubnetworksSetPrivateIpGoogleAccessCall) Header() http.Header { func (c *SubnetworksSetPrivateIpGoogleAccessCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -134942,7 +134942,7 @@ func (c *SubnetworksTestIamPermissionsCall) Header() http.Header { func (c *SubnetworksTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -135120,7 +135120,7 @@ func (c *TargetGrpcProxiesDeleteCall) Header() http.Header { func (c *TargetGrpcProxiesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -135278,7 +135278,7 @@ func (c *TargetGrpcProxiesGetCall) Header() http.Header { func (c *TargetGrpcProxiesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -135443,7 +135443,7 @@ func (c *TargetGrpcProxiesInsertCall) Header() http.Header { func (c *TargetGrpcProxiesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -135671,7 +135671,7 @@ func (c *TargetGrpcProxiesListCall) Header() http.Header { func (c *TargetGrpcProxiesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -135879,7 +135879,7 @@ func (c *TargetGrpcProxiesPatchCall) Header() http.Header { func (c *TargetGrpcProxiesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -136130,7 +136130,7 @@ func (c *TargetHttpProxiesAggregatedListCall) Header() http.Header { func (c *TargetHttpProxiesAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -136340,7 +136340,7 @@ func (c *TargetHttpProxiesDeleteCall) Header() http.Header { func (c *TargetHttpProxiesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -136499,7 +136499,7 @@ func (c *TargetHttpProxiesGetCall) Header() http.Header { func (c *TargetHttpProxiesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -136665,7 +136665,7 @@ func (c *TargetHttpProxiesInsertCall) Header() http.Header { func (c *TargetHttpProxiesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -136895,7 +136895,7 @@ func (c *TargetHttpProxiesListCall) Header() http.Header { func (c *TargetHttpProxiesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -137104,7 +137104,7 @@ func (c *TargetHttpProxiesPatchCall) Header() http.Header { func (c *TargetHttpProxiesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -137280,7 +137280,7 @@ func (c *TargetHttpProxiesSetUrlMapCall) Header() http.Header { func (c *TargetHttpProxiesSetUrlMapCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -137531,7 +137531,7 @@ func (c *TargetHttpsProxiesAggregatedListCall) Header() http.Header { func (c *TargetHttpsProxiesAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -137740,7 +137740,7 @@ func (c *TargetHttpsProxiesDeleteCall) Header() http.Header { func (c *TargetHttpsProxiesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -137898,7 +137898,7 @@ func (c *TargetHttpsProxiesGetCall) Header() http.Header { func (c *TargetHttpsProxiesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -138063,7 +138063,7 @@ func (c *TargetHttpsProxiesInsertCall) Header() http.Header { func (c *TargetHttpsProxiesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -138292,7 +138292,7 @@ func (c *TargetHttpsProxiesListCall) Header() http.Header { func (c *TargetHttpsProxiesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -138498,7 +138498,7 @@ func (c *TargetHttpsProxiesSetQuicOverrideCall) Header() http.Header { func (c *TargetHttpsProxiesSetQuicOverrideCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -138672,7 +138672,7 @@ func (c *TargetHttpsProxiesSetSslCertificatesCall) Header() http.Header { func (c *TargetHttpsProxiesSetSslCertificatesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -138851,7 +138851,7 @@ func (c *TargetHttpsProxiesSetSslPolicyCall) Header() http.Header { func (c *TargetHttpsProxiesSetSslPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -139025,7 +139025,7 @@ func (c *TargetHttpsProxiesSetUrlMapCall) Header() http.Header { func (c *TargetHttpsProxiesSetUrlMapCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -139276,7 +139276,7 @@ func (c *TargetInstancesAggregatedListCall) Header() http.Header { func (c *TargetInstancesAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -139488,7 +139488,7 @@ func (c *TargetInstancesDeleteCall) Header() http.Header { func (c *TargetInstancesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -139658,7 +139658,7 @@ func (c *TargetInstancesGetCall) Header() http.Header { func (c *TargetInstancesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -139835,7 +139835,7 @@ func (c *TargetInstancesInsertCall) Header() http.Header { func (c *TargetInstancesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -140076,7 +140076,7 @@ func (c *TargetInstancesListCall) Header() http.Header { func (c *TargetInstancesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -140294,7 +140294,7 @@ func (c *TargetPoolsAddHealthCheckCall) Header() http.Header { func (c *TargetPoolsAddHealthCheckCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -140481,7 +140481,7 @@ func (c *TargetPoolsAddInstanceCall) Header() http.Header { func (c *TargetPoolsAddInstanceCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -140741,7 +140741,7 @@ func (c *TargetPoolsAggregatedListCall) Header() http.Header { func (c *TargetPoolsAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -140953,7 +140953,7 @@ func (c *TargetPoolsDeleteCall) Header() http.Header { func (c *TargetPoolsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -141123,7 +141123,7 @@ func (c *TargetPoolsGetCall) Header() http.Header { func (c *TargetPoolsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -141283,7 +141283,7 @@ func (c *TargetPoolsGetHealthCall) Header() http.Header { func (c *TargetPoolsGetHealthCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -141465,7 +141465,7 @@ func (c *TargetPoolsInsertCall) Header() http.Header { func (c *TargetPoolsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -141706,7 +141706,7 @@ func (c *TargetPoolsListCall) Header() http.Header { func (c *TargetPoolsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -141924,7 +141924,7 @@ func (c *TargetPoolsRemoveHealthCheckCall) Header() http.Header { func (c *TargetPoolsRemoveHealthCheckCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -142111,7 +142111,7 @@ func (c *TargetPoolsRemoveInstanceCall) Header() http.Header { func (c *TargetPoolsRemoveInstanceCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -142305,7 +142305,7 @@ func (c *TargetPoolsSetBackupCall) Header() http.Header { func (c *TargetPoolsSetBackupCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -142493,7 +142493,7 @@ func (c *TargetSslProxiesDeleteCall) Header() http.Header { func (c *TargetSslProxiesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -142651,7 +142651,7 @@ func (c *TargetSslProxiesGetCall) Header() http.Header { func (c *TargetSslProxiesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -142816,7 +142816,7 @@ func (c *TargetSslProxiesInsertCall) Header() http.Header { func (c *TargetSslProxiesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -143045,7 +143045,7 @@ func (c *TargetSslProxiesListCall) Header() http.Header { func (c *TargetSslProxiesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -143251,7 +143251,7 @@ func (c *TargetSslProxiesSetBackendServiceCall) Header() http.Header { func (c *TargetSslProxiesSetBackendServiceCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -143426,7 +143426,7 @@ func (c *TargetSslProxiesSetProxyHeaderCall) Header() http.Header { func (c *TargetSslProxiesSetProxyHeaderCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -143601,7 +143601,7 @@ func (c *TargetSslProxiesSetSslCertificatesCall) Header() http.Header { func (c *TargetSslProxiesSetSslCertificatesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -143779,7 +143779,7 @@ func (c *TargetSslProxiesSetSslPolicyCall) Header() http.Header { func (c *TargetSslProxiesSetSslPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -143951,7 +143951,7 @@ func (c *TargetTcpProxiesDeleteCall) Header() http.Header { func (c *TargetTcpProxiesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -144109,7 +144109,7 @@ func (c *TargetTcpProxiesGetCall) Header() http.Header { func (c *TargetTcpProxiesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -144274,7 +144274,7 @@ func (c *TargetTcpProxiesInsertCall) Header() http.Header { func (c *TargetTcpProxiesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -144503,7 +144503,7 @@ func (c *TargetTcpProxiesListCall) Header() http.Header { func (c *TargetTcpProxiesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -144709,7 +144709,7 @@ func (c *TargetTcpProxiesSetBackendServiceCall) Header() http.Header { func (c *TargetTcpProxiesSetBackendServiceCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -144884,7 +144884,7 @@ func (c *TargetTcpProxiesSetProxyHeaderCall) Header() http.Header { func (c *TargetTcpProxiesSetProxyHeaderCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -145134,7 +145134,7 @@ func (c *TargetVpnGatewaysAggregatedListCall) Header() http.Header { func (c *TargetVpnGatewaysAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -145345,7 +145345,7 @@ func (c *TargetVpnGatewaysDeleteCall) Header() http.Header { func (c *TargetVpnGatewaysDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -145514,7 +145514,7 @@ func (c *TargetVpnGatewaysGetCall) Header() http.Header { func (c *TargetVpnGatewaysGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -145690,7 +145690,7 @@ func (c *TargetVpnGatewaysInsertCall) Header() http.Header { func (c *TargetVpnGatewaysInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -145930,7 +145930,7 @@ func (c *TargetVpnGatewaysListCall) Header() http.Header { func (c *TargetVpnGatewaysListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -146221,7 +146221,7 @@ func (c *UrlMapsAggregatedListCall) Header() http.Header { func (c *UrlMapsAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -146431,7 +146431,7 @@ func (c *UrlMapsDeleteCall) Header() http.Header { func (c *UrlMapsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -146590,7 +146590,7 @@ func (c *UrlMapsGetCall) Header() http.Header { func (c *UrlMapsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -146756,7 +146756,7 @@ func (c *UrlMapsInsertCall) Header() http.Header { func (c *UrlMapsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -146926,7 +146926,7 @@ func (c *UrlMapsInvalidateCacheCall) Header() http.Header { func (c *UrlMapsInvalidateCacheCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -147165,7 +147165,7 @@ func (c *UrlMapsListCall) Header() http.Header { func (c *UrlMapsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -147374,7 +147374,7 @@ func (c *UrlMapsPatchCall) Header() http.Header { func (c *UrlMapsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -147551,7 +147551,7 @@ func (c *UrlMapsUpdateCall) Header() http.Header { func (c *UrlMapsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -147710,7 +147710,7 @@ func (c *UrlMapsValidateCall) Header() http.Header { func (c *UrlMapsValidateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -147955,7 +147955,7 @@ func (c *VpnGatewaysAggregatedListCall) Header() http.Header { func (c *VpnGatewaysAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -148166,7 +148166,7 @@ func (c *VpnGatewaysDeleteCall) Header() http.Header { func (c *VpnGatewaysDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -148335,7 +148335,7 @@ func (c *VpnGatewaysGetCall) Header() http.Header { func (c *VpnGatewaysGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -148502,7 +148502,7 @@ func (c *VpnGatewaysGetStatusCall) Header() http.Header { func (c *VpnGatewaysGetStatusCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -148678,7 +148678,7 @@ func (c *VpnGatewaysInsertCall) Header() http.Header { func (c *VpnGatewaysInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -148918,7 +148918,7 @@ func (c *VpnGatewaysListCall) Header() http.Header { func (c *VpnGatewaysListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -149136,7 +149136,7 @@ func (c *VpnGatewaysSetLabelsCall) Header() http.Header { func (c *VpnGatewaysSetLabelsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -149304,7 +149304,7 @@ func (c *VpnGatewaysTestIamPermissionsCall) Header() http.Header { func (c *VpnGatewaysTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -149559,7 +149559,7 @@ func (c *VpnTunnelsAggregatedListCall) Header() http.Header { func (c *VpnTunnelsAggregatedListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -149770,7 +149770,7 @@ func (c *VpnTunnelsDeleteCall) Header() http.Header { func (c *VpnTunnelsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -149939,7 +149939,7 @@ func (c *VpnTunnelsGetCall) Header() http.Header { func (c *VpnTunnelsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -150115,7 +150115,7 @@ func (c *VpnTunnelsInsertCall) Header() http.Header { func (c *VpnTunnelsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -150355,7 +150355,7 @@ func (c *VpnTunnelsListCall) Header() http.Header { func (c *VpnTunnelsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -150552,7 +150552,7 @@ func (c *ZoneOperationsDeleteCall) Header() http.Header { func (c *ZoneOperationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -150688,7 +150688,7 @@ func (c *ZoneOperationsGetCall) Header() http.Header { func (c *ZoneOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -150929,7 +150929,7 @@ func (c *ZoneOperationsListCall) Header() http.Header { func (c *ZoneOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -151138,7 +151138,7 @@ func (c *ZoneOperationsWaitCall) Header() http.Header { func (c *ZoneOperationsWaitCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -151302,7 +151302,7 @@ func (c *ZonesGetCall) Header() http.Header { func (c *ZonesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -151532,7 +151532,7 @@ func (c *ZonesListCall) Header() http.Header { func (c *ZonesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/container/v1/container-gen.go b/container/v1/container-gen.go index d8d7b43c316..eef07329ac2 100644 --- a/container/v1/container-gen.go +++ b/container/v1/container-gen.go @@ -5101,7 +5101,7 @@ func (c *ProjectsAggregatedUsableSubnetworksListCall) Header() http.Header { func (c *ProjectsAggregatedUsableSubnetworksListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5302,7 +5302,7 @@ func (c *ProjectsLocationsGetServerConfigCall) Header() http.Header { func (c *ProjectsLocationsGetServerConfigCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5447,7 +5447,7 @@ func (c *ProjectsLocationsClustersCompleteIpRotationCall) Header() http.Header { func (c *ProjectsLocationsClustersCompleteIpRotationCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5595,7 +5595,7 @@ func (c *ProjectsLocationsClustersCreateCall) Header() http.Header { func (c *ProjectsLocationsClustersCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5765,7 +5765,7 @@ func (c *ProjectsLocationsClustersDeleteCall) Header() http.Header { func (c *ProjectsLocationsClustersDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5948,7 +5948,7 @@ func (c *ProjectsLocationsClustersGetCall) Header() http.Header { func (c *ProjectsLocationsClustersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6109,7 +6109,7 @@ func (c *ProjectsLocationsClustersGetJwksCall) Header() http.Header { func (c *ProjectsLocationsClustersGetJwksCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6270,7 +6270,7 @@ func (c *ProjectsLocationsClustersListCall) Header() http.Header { func (c *ProjectsLocationsClustersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6415,7 +6415,7 @@ func (c *ProjectsLocationsClustersSetAddonsCall) Header() http.Header { func (c *ProjectsLocationsClustersSetAddonsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6556,7 +6556,7 @@ func (c *ProjectsLocationsClustersSetLegacyAbacCall) Header() http.Header { func (c *ProjectsLocationsClustersSetLegacyAbacCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6700,7 +6700,7 @@ func (c *ProjectsLocationsClustersSetLocationsCall) Header() http.Header { func (c *ProjectsLocationsClustersSetLocationsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6840,7 +6840,7 @@ func (c *ProjectsLocationsClustersSetLoggingCall) Header() http.Header { func (c *ProjectsLocationsClustersSetLoggingCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6980,7 +6980,7 @@ func (c *ProjectsLocationsClustersSetMaintenancePolicyCall) Header() http.Header func (c *ProjectsLocationsClustersSetMaintenancePolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7122,7 +7122,7 @@ func (c *ProjectsLocationsClustersSetMasterAuthCall) Header() http.Header { func (c *ProjectsLocationsClustersSetMasterAuthCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7262,7 +7262,7 @@ func (c *ProjectsLocationsClustersSetMonitoringCall) Header() http.Header { func (c *ProjectsLocationsClustersSetMonitoringCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7402,7 +7402,7 @@ func (c *ProjectsLocationsClustersSetNetworkPolicyCall) Header() http.Header { func (c *ProjectsLocationsClustersSetNetworkPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7542,7 +7542,7 @@ func (c *ProjectsLocationsClustersSetResourceLabelsCall) Header() http.Header { func (c *ProjectsLocationsClustersSetResourceLabelsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7682,7 +7682,7 @@ func (c *ProjectsLocationsClustersStartIpRotationCall) Header() http.Header { func (c *ProjectsLocationsClustersStartIpRotationCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7822,7 +7822,7 @@ func (c *ProjectsLocationsClustersUpdateCall) Header() http.Header { func (c *ProjectsLocationsClustersUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7962,7 +7962,7 @@ func (c *ProjectsLocationsClustersUpdateMasterCall) Header() http.Header { func (c *ProjectsLocationsClustersUpdateMasterCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8102,7 +8102,7 @@ func (c *ProjectsLocationsClustersNodePoolsCreateCall) Header() http.Header { func (c *ProjectsLocationsClustersNodePoolsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8275,7 +8275,7 @@ func (c *ProjectsLocationsClustersNodePoolsDeleteCall) Header() http.Header { func (c *ProjectsLocationsClustersNodePoolsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8471,7 +8471,7 @@ func (c *ProjectsLocationsClustersNodePoolsGetCall) Header() http.Header { func (c *ProjectsLocationsClustersNodePoolsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8662,7 +8662,7 @@ func (c *ProjectsLocationsClustersNodePoolsListCall) Header() http.Header { func (c *ProjectsLocationsClustersNodePoolsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8813,7 +8813,7 @@ func (c *ProjectsLocationsClustersNodePoolsRollbackCall) Header() http.Header { func (c *ProjectsLocationsClustersNodePoolsRollbackCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8954,7 +8954,7 @@ func (c *ProjectsLocationsClustersNodePoolsSetAutoscalingCall) Header() http.Hea func (c *ProjectsLocationsClustersNodePoolsSetAutoscalingCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9094,7 +9094,7 @@ func (c *ProjectsLocationsClustersNodePoolsSetManagementCall) Header() http.Head func (c *ProjectsLocationsClustersNodePoolsSetManagementCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9236,7 +9236,7 @@ func (c *ProjectsLocationsClustersNodePoolsSetSizeCall) Header() http.Header { func (c *ProjectsLocationsClustersNodePoolsSetSizeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9377,7 +9377,7 @@ func (c *ProjectsLocationsClustersNodePoolsUpdateCall) Header() http.Header { func (c *ProjectsLocationsClustersNodePoolsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9530,7 +9530,7 @@ func (c *ProjectsLocationsClustersWellKnownGetOpenidConfigurationCall) Header() func (c *ProjectsLocationsClustersWellKnownGetOpenidConfigurationCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9662,7 +9662,7 @@ func (c *ProjectsLocationsOperationsCancelCall) Header() http.Header { func (c *ProjectsLocationsOperationsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9838,7 +9838,7 @@ func (c *ProjectsLocationsOperationsGetCall) Header() http.Header { func (c *ProjectsLocationsOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10017,7 +10017,7 @@ func (c *ProjectsLocationsOperationsListCall) Header() http.Header { func (c *ProjectsLocationsOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10182,7 +10182,7 @@ func (c *ProjectsZonesGetServerconfigCall) Header() http.Header { func (c *ProjectsZonesGetServerconfigCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10333,7 +10333,7 @@ func (c *ProjectsZonesClustersAddonsCall) Header() http.Header { func (c *ProjectsZonesClustersAddonsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10492,7 +10492,7 @@ func (c *ProjectsZonesClustersCompleteIpRotationCall) Header() http.Header { func (c *ProjectsZonesClustersCompleteIpRotationCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10657,7 +10657,7 @@ func (c *ProjectsZonesClustersCreateCall) Header() http.Header { func (c *ProjectsZonesClustersCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10819,7 +10819,7 @@ func (c *ProjectsZonesClustersDeleteCall) Header() http.Header { func (c *ProjectsZonesClustersDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10992,7 +10992,7 @@ func (c *ProjectsZonesClustersGetCall) Header() http.Header { func (c *ProjectsZonesClustersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11152,7 +11152,7 @@ func (c *ProjectsZonesClustersLegacyAbacCall) Header() http.Header { func (c *ProjectsZonesClustersLegacyAbacCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11328,7 +11328,7 @@ func (c *ProjectsZonesClustersListCall) Header() http.Header { func (c *ProjectsZonesClustersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11482,7 +11482,7 @@ func (c *ProjectsZonesClustersLocationsCall) Header() http.Header { func (c *ProjectsZonesClustersLocationsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11641,7 +11641,7 @@ func (c *ProjectsZonesClustersLoggingCall) Header() http.Header { func (c *ProjectsZonesClustersLoggingCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11800,7 +11800,7 @@ func (c *ProjectsZonesClustersMasterCall) Header() http.Header { func (c *ProjectsZonesClustersMasterCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11959,7 +11959,7 @@ func (c *ProjectsZonesClustersMonitoringCall) Header() http.Header { func (c *ProjectsZonesClustersMonitoringCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12118,7 +12118,7 @@ func (c *ProjectsZonesClustersResourceLabelsCall) Header() http.Header { func (c *ProjectsZonesClustersResourceLabelsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12277,7 +12277,7 @@ func (c *ProjectsZonesClustersSetMaintenancePolicyCall) Header() http.Header { func (c *ProjectsZonesClustersSetMaintenancePolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12438,7 +12438,7 @@ func (c *ProjectsZonesClustersSetMasterAuthCall) Header() http.Header { func (c *ProjectsZonesClustersSetMasterAuthCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12597,7 +12597,7 @@ func (c *ProjectsZonesClustersSetNetworkPolicyCall) Header() http.Header { func (c *ProjectsZonesClustersSetNetworkPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12756,7 +12756,7 @@ func (c *ProjectsZonesClustersStartIpRotationCall) Header() http.Header { func (c *ProjectsZonesClustersStartIpRotationCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12915,7 +12915,7 @@ func (c *ProjectsZonesClustersUpdateCall) Header() http.Header { func (c *ProjectsZonesClustersUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13077,7 +13077,7 @@ func (c *ProjectsZonesClustersNodePoolsAutoscalingCall) Header() http.Header { func (c *ProjectsZonesClustersNodePoolsAutoscalingCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13244,7 +13244,7 @@ func (c *ProjectsZonesClustersNodePoolsCreateCall) Header() http.Header { func (c *ProjectsZonesClustersNodePoolsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13411,7 +13411,7 @@ func (c *ProjectsZonesClustersNodePoolsDeleteCall) Header() http.Header { func (c *ProjectsZonesClustersNodePoolsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13594,7 +13594,7 @@ func (c *ProjectsZonesClustersNodePoolsGetCall) Header() http.Header { func (c *ProjectsZonesClustersNodePoolsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13778,7 +13778,7 @@ func (c *ProjectsZonesClustersNodePoolsListCall) Header() http.Header { func (c *ProjectsZonesClustersNodePoolsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13940,7 +13940,7 @@ func (c *ProjectsZonesClustersNodePoolsRollbackCall) Header() http.Header { func (c *ProjectsZonesClustersNodePoolsRollbackCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14109,7 +14109,7 @@ func (c *ProjectsZonesClustersNodePoolsSetManagementCall) Header() http.Header { func (c *ProjectsZonesClustersNodePoolsSetManagementCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14280,7 +14280,7 @@ func (c *ProjectsZonesClustersNodePoolsSetSizeCall) Header() http.Header { func (c *ProjectsZonesClustersNodePoolsSetSizeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14450,7 +14450,7 @@ func (c *ProjectsZonesClustersNodePoolsUpdateCall) Header() http.Header { func (c *ProjectsZonesClustersNodePoolsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14617,7 +14617,7 @@ func (c *ProjectsZonesOperationsCancelCall) Header() http.Header { func (c *ProjectsZonesOperationsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14793,7 +14793,7 @@ func (c *ProjectsZonesOperationsGetCall) Header() http.Header { func (c *ProjectsZonesOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14969,7 +14969,7 @@ func (c *ProjectsZonesOperationsListCall) Header() http.Header { func (c *ProjectsZonesOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/container/v1beta1/container-gen.go b/container/v1beta1/container-gen.go index 7eaf8202dad..40c3dea613e 100644 --- a/container/v1beta1/container-gen.go +++ b/container/v1beta1/container-gen.go @@ -5914,7 +5914,7 @@ func (c *ProjectsAggregatedUsableSubnetworksListCall) Header() http.Header { func (c *ProjectsAggregatedUsableSubnetworksListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6115,7 +6115,7 @@ func (c *ProjectsLocationsGetServerConfigCall) Header() http.Header { func (c *ProjectsLocationsGetServerConfigCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6269,7 +6269,7 @@ func (c *ProjectsLocationsListCall) Header() http.Header { func (c *ProjectsLocationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6404,7 +6404,7 @@ func (c *ProjectsLocationsClustersCompleteIpRotationCall) Header() http.Header { func (c *ProjectsLocationsClustersCompleteIpRotationCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6552,7 +6552,7 @@ func (c *ProjectsLocationsClustersCreateCall) Header() http.Header { func (c *ProjectsLocationsClustersCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6722,7 +6722,7 @@ func (c *ProjectsLocationsClustersDeleteCall) Header() http.Header { func (c *ProjectsLocationsClustersDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6905,7 +6905,7 @@ func (c *ProjectsLocationsClustersGetCall) Header() http.Header { func (c *ProjectsLocationsClustersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7066,7 +7066,7 @@ func (c *ProjectsLocationsClustersGetJwksCall) Header() http.Header { func (c *ProjectsLocationsClustersGetJwksCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7227,7 +7227,7 @@ func (c *ProjectsLocationsClustersListCall) Header() http.Header { func (c *ProjectsLocationsClustersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7372,7 +7372,7 @@ func (c *ProjectsLocationsClustersSetAddonsCall) Header() http.Header { func (c *ProjectsLocationsClustersSetAddonsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7513,7 +7513,7 @@ func (c *ProjectsLocationsClustersSetLegacyAbacCall) Header() http.Header { func (c *ProjectsLocationsClustersSetLegacyAbacCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7657,7 +7657,7 @@ func (c *ProjectsLocationsClustersSetLocationsCall) Header() http.Header { func (c *ProjectsLocationsClustersSetLocationsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7797,7 +7797,7 @@ func (c *ProjectsLocationsClustersSetLoggingCall) Header() http.Header { func (c *ProjectsLocationsClustersSetLoggingCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7937,7 +7937,7 @@ func (c *ProjectsLocationsClustersSetMaintenancePolicyCall) Header() http.Header func (c *ProjectsLocationsClustersSetMaintenancePolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8079,7 +8079,7 @@ func (c *ProjectsLocationsClustersSetMasterAuthCall) Header() http.Header { func (c *ProjectsLocationsClustersSetMasterAuthCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8219,7 +8219,7 @@ func (c *ProjectsLocationsClustersSetMonitoringCall) Header() http.Header { func (c *ProjectsLocationsClustersSetMonitoringCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8359,7 +8359,7 @@ func (c *ProjectsLocationsClustersSetNetworkPolicyCall) Header() http.Header { func (c *ProjectsLocationsClustersSetNetworkPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8499,7 +8499,7 @@ func (c *ProjectsLocationsClustersSetResourceLabelsCall) Header() http.Header { func (c *ProjectsLocationsClustersSetResourceLabelsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8639,7 +8639,7 @@ func (c *ProjectsLocationsClustersStartIpRotationCall) Header() http.Header { func (c *ProjectsLocationsClustersStartIpRotationCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8779,7 +8779,7 @@ func (c *ProjectsLocationsClustersUpdateCall) Header() http.Header { func (c *ProjectsLocationsClustersUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8919,7 +8919,7 @@ func (c *ProjectsLocationsClustersUpdateMasterCall) Header() http.Header { func (c *ProjectsLocationsClustersUpdateMasterCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9059,7 +9059,7 @@ func (c *ProjectsLocationsClustersNodePoolsCreateCall) Header() http.Header { func (c *ProjectsLocationsClustersNodePoolsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9232,7 +9232,7 @@ func (c *ProjectsLocationsClustersNodePoolsDeleteCall) Header() http.Header { func (c *ProjectsLocationsClustersNodePoolsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9428,7 +9428,7 @@ func (c *ProjectsLocationsClustersNodePoolsGetCall) Header() http.Header { func (c *ProjectsLocationsClustersNodePoolsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9619,7 +9619,7 @@ func (c *ProjectsLocationsClustersNodePoolsListCall) Header() http.Header { func (c *ProjectsLocationsClustersNodePoolsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9770,7 +9770,7 @@ func (c *ProjectsLocationsClustersNodePoolsRollbackCall) Header() http.Header { func (c *ProjectsLocationsClustersNodePoolsRollbackCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9911,7 +9911,7 @@ func (c *ProjectsLocationsClustersNodePoolsSetAutoscalingCall) Header() http.Hea func (c *ProjectsLocationsClustersNodePoolsSetAutoscalingCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10051,7 +10051,7 @@ func (c *ProjectsLocationsClustersNodePoolsSetManagementCall) Header() http.Head func (c *ProjectsLocationsClustersNodePoolsSetManagementCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10193,7 +10193,7 @@ func (c *ProjectsLocationsClustersNodePoolsSetSizeCall) Header() http.Header { func (c *ProjectsLocationsClustersNodePoolsSetSizeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10334,7 +10334,7 @@ func (c *ProjectsLocationsClustersNodePoolsUpdateCall) Header() http.Header { func (c *ProjectsLocationsClustersNodePoolsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10487,7 +10487,7 @@ func (c *ProjectsLocationsClustersWellKnownGetOpenidConfigurationCall) Header() func (c *ProjectsLocationsClustersWellKnownGetOpenidConfigurationCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10619,7 +10619,7 @@ func (c *ProjectsLocationsOperationsCancelCall) Header() http.Header { func (c *ProjectsLocationsOperationsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10795,7 +10795,7 @@ func (c *ProjectsLocationsOperationsGetCall) Header() http.Header { func (c *ProjectsLocationsOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10974,7 +10974,7 @@ func (c *ProjectsLocationsOperationsListCall) Header() http.Header { func (c *ProjectsLocationsOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11139,7 +11139,7 @@ func (c *ProjectsZonesGetServerconfigCall) Header() http.Header { func (c *ProjectsZonesGetServerconfigCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11290,7 +11290,7 @@ func (c *ProjectsZonesClustersAddonsCall) Header() http.Header { func (c *ProjectsZonesClustersAddonsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11449,7 +11449,7 @@ func (c *ProjectsZonesClustersCompleteIpRotationCall) Header() http.Header { func (c *ProjectsZonesClustersCompleteIpRotationCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11614,7 +11614,7 @@ func (c *ProjectsZonesClustersCreateCall) Header() http.Header { func (c *ProjectsZonesClustersCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11776,7 +11776,7 @@ func (c *ProjectsZonesClustersDeleteCall) Header() http.Header { func (c *ProjectsZonesClustersDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11949,7 +11949,7 @@ func (c *ProjectsZonesClustersGetCall) Header() http.Header { func (c *ProjectsZonesClustersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12109,7 +12109,7 @@ func (c *ProjectsZonesClustersLegacyAbacCall) Header() http.Header { func (c *ProjectsZonesClustersLegacyAbacCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12285,7 +12285,7 @@ func (c *ProjectsZonesClustersListCall) Header() http.Header { func (c *ProjectsZonesClustersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12439,7 +12439,7 @@ func (c *ProjectsZonesClustersLocationsCall) Header() http.Header { func (c *ProjectsZonesClustersLocationsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12598,7 +12598,7 @@ func (c *ProjectsZonesClustersLoggingCall) Header() http.Header { func (c *ProjectsZonesClustersLoggingCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12757,7 +12757,7 @@ func (c *ProjectsZonesClustersMasterCall) Header() http.Header { func (c *ProjectsZonesClustersMasterCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12916,7 +12916,7 @@ func (c *ProjectsZonesClustersMonitoringCall) Header() http.Header { func (c *ProjectsZonesClustersMonitoringCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13075,7 +13075,7 @@ func (c *ProjectsZonesClustersResourceLabelsCall) Header() http.Header { func (c *ProjectsZonesClustersResourceLabelsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13234,7 +13234,7 @@ func (c *ProjectsZonesClustersSetMaintenancePolicyCall) Header() http.Header { func (c *ProjectsZonesClustersSetMaintenancePolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13395,7 +13395,7 @@ func (c *ProjectsZonesClustersSetMasterAuthCall) Header() http.Header { func (c *ProjectsZonesClustersSetMasterAuthCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13554,7 +13554,7 @@ func (c *ProjectsZonesClustersSetNetworkPolicyCall) Header() http.Header { func (c *ProjectsZonesClustersSetNetworkPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13713,7 +13713,7 @@ func (c *ProjectsZonesClustersStartIpRotationCall) Header() http.Header { func (c *ProjectsZonesClustersStartIpRotationCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13872,7 +13872,7 @@ func (c *ProjectsZonesClustersUpdateCall) Header() http.Header { func (c *ProjectsZonesClustersUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14033,7 +14033,7 @@ func (c *ProjectsZonesClustersNodePoolsAutoscalingCall) Header() http.Header { func (c *ProjectsZonesClustersNodePoolsAutoscalingCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14200,7 +14200,7 @@ func (c *ProjectsZonesClustersNodePoolsCreateCall) Header() http.Header { func (c *ProjectsZonesClustersNodePoolsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14367,7 +14367,7 @@ func (c *ProjectsZonesClustersNodePoolsDeleteCall) Header() http.Header { func (c *ProjectsZonesClustersNodePoolsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14550,7 +14550,7 @@ func (c *ProjectsZonesClustersNodePoolsGetCall) Header() http.Header { func (c *ProjectsZonesClustersNodePoolsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14734,7 +14734,7 @@ func (c *ProjectsZonesClustersNodePoolsListCall) Header() http.Header { func (c *ProjectsZonesClustersNodePoolsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14896,7 +14896,7 @@ func (c *ProjectsZonesClustersNodePoolsRollbackCall) Header() http.Header { func (c *ProjectsZonesClustersNodePoolsRollbackCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15065,7 +15065,7 @@ func (c *ProjectsZonesClustersNodePoolsSetManagementCall) Header() http.Header { func (c *ProjectsZonesClustersNodePoolsSetManagementCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15236,7 +15236,7 @@ func (c *ProjectsZonesClustersNodePoolsSetSizeCall) Header() http.Header { func (c *ProjectsZonesClustersNodePoolsSetSizeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15406,7 +15406,7 @@ func (c *ProjectsZonesClustersNodePoolsUpdateCall) Header() http.Header { func (c *ProjectsZonesClustersNodePoolsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15573,7 +15573,7 @@ func (c *ProjectsZonesOperationsCancelCall) Header() http.Header { func (c *ProjectsZonesOperationsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15749,7 +15749,7 @@ func (c *ProjectsZonesOperationsGetCall) Header() http.Header { func (c *ProjectsZonesOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15925,7 +15925,7 @@ func (c *ProjectsZonesOperationsListCall) Header() http.Header { func (c *ProjectsZonesOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/containeranalysis/v1alpha1/containeranalysis-gen.go b/containeranalysis/v1alpha1/containeranalysis-gen.go index 0ab273230da..f2bf2af408f 100644 --- a/containeranalysis/v1alpha1/containeranalysis-gen.go +++ b/containeranalysis/v1alpha1/containeranalysis-gen.go @@ -3347,7 +3347,7 @@ func (c *ProjectsNotesCreateCall) Header() http.Header { func (c *ProjectsNotesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3495,7 +3495,7 @@ func (c *ProjectsNotesDeleteCall) Header() http.Header { func (c *ProjectsNotesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3636,7 +3636,7 @@ func (c *ProjectsNotesGetCall) Header() http.Header { func (c *ProjectsNotesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3782,7 +3782,7 @@ func (c *ProjectsNotesGetIamPolicyCall) Header() http.Header { func (c *ProjectsNotesGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3958,7 +3958,7 @@ func (c *ProjectsNotesListCall) Header() http.Header { func (c *ProjectsNotesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4142,7 +4142,7 @@ func (c *ProjectsNotesPatchCall) Header() http.Header { func (c *ProjectsNotesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4299,7 +4299,7 @@ func (c *ProjectsNotesSetIamPolicyCall) Header() http.Header { func (c *ProjectsNotesSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4447,7 +4447,7 @@ func (c *ProjectsNotesTestIamPermissionsCall) Header() http.Header { func (c *ProjectsNotesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4618,7 +4618,7 @@ func (c *ProjectsNotesOccurrencesListCall) Header() http.Header { func (c *ProjectsNotesOccurrencesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4798,7 +4798,7 @@ func (c *ProjectsOccurrencesCreateCall) Header() http.Header { func (c *ProjectsOccurrencesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4942,7 +4942,7 @@ func (c *ProjectsOccurrencesDeleteCall) Header() http.Header { func (c *ProjectsOccurrencesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5083,7 +5083,7 @@ func (c *ProjectsOccurrencesGetCall) Header() http.Header { func (c *ProjectsOccurrencesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5229,7 +5229,7 @@ func (c *ProjectsOccurrencesGetIamPolicyCall) Header() http.Header { func (c *ProjectsOccurrencesGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5378,7 +5378,7 @@ func (c *ProjectsOccurrencesGetNotesCall) Header() http.Header { func (c *ProjectsOccurrencesGetNotesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5529,7 +5529,7 @@ func (c *ProjectsOccurrencesGetVulnerabilitySummaryCall) Header() http.Header { func (c *ProjectsOccurrencesGetVulnerabilitySummaryCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5729,7 +5729,7 @@ func (c *ProjectsOccurrencesListCall) Header() http.Header { func (c *ProjectsOccurrencesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5940,7 +5940,7 @@ func (c *ProjectsOccurrencesPatchCall) Header() http.Header { func (c *ProjectsOccurrencesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6097,7 +6097,7 @@ func (c *ProjectsOccurrencesSetIamPolicyCall) Header() http.Header { func (c *ProjectsOccurrencesSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6245,7 +6245,7 @@ func (c *ProjectsOccurrencesTestIamPermissionsCall) Header() http.Header { func (c *ProjectsOccurrencesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6385,7 +6385,7 @@ func (c *ProjectsOperationsCreateCall) Header() http.Header { func (c *ProjectsOperationsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6527,7 +6527,7 @@ func (c *ProjectsOperationsPatchCall) Header() http.Header { func (c *ProjectsOperationsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6676,7 +6676,7 @@ func (c *ProjectsScanConfigsGetCall) Header() http.Header { func (c *ProjectsScanConfigsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6840,7 +6840,7 @@ func (c *ProjectsScanConfigsListCall) Header() http.Header { func (c *ProjectsScanConfigsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7019,7 +7019,7 @@ func (c *ProjectsScanConfigsPatchCall) Header() http.Header { func (c *ProjectsScanConfigsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7179,7 +7179,7 @@ func (c *ProvidersNotesCreateCall) Header() http.Header { func (c *ProvidersNotesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7327,7 +7327,7 @@ func (c *ProvidersNotesDeleteCall) Header() http.Header { func (c *ProvidersNotesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7468,7 +7468,7 @@ func (c *ProvidersNotesGetCall) Header() http.Header { func (c *ProvidersNotesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7614,7 +7614,7 @@ func (c *ProvidersNotesGetIamPolicyCall) Header() http.Header { func (c *ProvidersNotesGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7790,7 +7790,7 @@ func (c *ProvidersNotesListCall) Header() http.Header { func (c *ProvidersNotesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7974,7 +7974,7 @@ func (c *ProvidersNotesPatchCall) Header() http.Header { func (c *ProvidersNotesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8131,7 +8131,7 @@ func (c *ProvidersNotesSetIamPolicyCall) Header() http.Header { func (c *ProvidersNotesSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8279,7 +8279,7 @@ func (c *ProvidersNotesTestIamPermissionsCall) Header() http.Header { func (c *ProvidersNotesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8450,7 +8450,7 @@ func (c *ProvidersNotesOccurrencesListCall) Header() http.Header { func (c *ProvidersNotesOccurrencesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/containeranalysis/v1beta1/containeranalysis-gen.go b/containeranalysis/v1beta1/containeranalysis-gen.go index 8072d54c2d0..b929dba242e 100644 --- a/containeranalysis/v1beta1/containeranalysis-gen.go +++ b/containeranalysis/v1beta1/containeranalysis-gen.go @@ -3903,7 +3903,7 @@ func (c *ProjectsNotesBatchCreateCall) Header() http.Header { func (c *ProjectsNotesBatchCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4050,7 +4050,7 @@ func (c *ProjectsNotesCreateCall) Header() http.Header { func (c *ProjectsNotesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4193,7 +4193,7 @@ func (c *ProjectsNotesDeleteCall) Header() http.Header { func (c *ProjectsNotesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4334,7 +4334,7 @@ func (c *ProjectsNotesGetCall) Header() http.Header { func (c *ProjectsNotesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4474,7 +4474,7 @@ func (c *ProjectsNotesGetIamPolicyCall) Header() http.Header { func (c *ProjectsNotesGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4644,7 +4644,7 @@ func (c *ProjectsNotesListCall) Header() http.Header { func (c *ProjectsNotesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4823,7 +4823,7 @@ func (c *ProjectsNotesPatchCall) Header() http.Header { func (c *ProjectsNotesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4974,7 +4974,7 @@ func (c *ProjectsNotesSetIamPolicyCall) Header() http.Header { func (c *ProjectsNotesSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5118,7 +5118,7 @@ func (c *ProjectsNotesTestIamPermissionsCall) Header() http.Header { func (c *ProjectsNotesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5289,7 +5289,7 @@ func (c *ProjectsNotesOccurrencesListCall) Header() http.Header { func (c *ProjectsNotesOccurrencesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5461,7 +5461,7 @@ func (c *ProjectsOccurrencesBatchCreateCall) Header() http.Header { func (c *ProjectsOccurrencesBatchCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5601,7 +5601,7 @@ func (c *ProjectsOccurrencesCreateCall) Header() http.Header { func (c *ProjectsOccurrencesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5741,7 +5741,7 @@ func (c *ProjectsOccurrencesDeleteCall) Header() http.Header { func (c *ProjectsOccurrencesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5882,7 +5882,7 @@ func (c *ProjectsOccurrencesGetCall) Header() http.Header { func (c *ProjectsOccurrencesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6022,7 +6022,7 @@ func (c *ProjectsOccurrencesGetIamPolicyCall) Header() http.Header { func (c *ProjectsOccurrencesGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6173,7 +6173,7 @@ func (c *ProjectsOccurrencesGetNotesCall) Header() http.Header { func (c *ProjectsOccurrencesGetNotesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6324,7 +6324,7 @@ func (c *ProjectsOccurrencesGetVulnerabilitySummaryCall) Header() http.Header { func (c *ProjectsOccurrencesGetVulnerabilitySummaryCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6494,7 +6494,7 @@ func (c *ProjectsOccurrencesListCall) Header() http.Header { func (c *ProjectsOccurrencesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6673,7 +6673,7 @@ func (c *ProjectsOccurrencesPatchCall) Header() http.Header { func (c *ProjectsOccurrencesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6824,7 +6824,7 @@ func (c *ProjectsOccurrencesSetIamPolicyCall) Header() http.Header { func (c *ProjectsOccurrencesSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6968,7 +6968,7 @@ func (c *ProjectsOccurrencesTestIamPermissionsCall) Header() http.Header { func (c *ProjectsOccurrencesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7117,7 +7117,7 @@ func (c *ProjectsScanConfigsGetCall) Header() http.Header { func (c *ProjectsScanConfigsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7282,7 +7282,7 @@ func (c *ProjectsScanConfigsListCall) Header() http.Header { func (c *ProjectsScanConfigsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7454,7 +7454,7 @@ func (c *ProjectsScanConfigsUpdateCall) Header() http.Header { func (c *ProjectsScanConfigsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/content/v2.1/content-gen.go b/content/v2.1/content-gen.go index 8bf44f963e4..aab9a8fbf0a 100644 --- a/content/v2.1/content-gen.go +++ b/content/v2.1/content-gen.go @@ -14835,7 +14835,7 @@ func (c *AccountsAuthinfoCall) Header() http.Header { func (c *AccountsAuthinfoCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14966,7 +14966,7 @@ func (c *AccountsClaimwebsiteCall) Header() http.Header { func (c *AccountsClaimwebsiteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15111,7 +15111,7 @@ func (c *AccountsCustombatchCall) Header() http.Header { func (c *AccountsCustombatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15245,7 +15245,7 @@ func (c *AccountsDeleteCall) Header() http.Header { func (c *AccountsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15387,7 +15387,7 @@ func (c *AccountsGetCall) Header() http.Header { func (c *AccountsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15544,7 +15544,7 @@ func (c *AccountsInsertCall) Header() http.Header { func (c *AccountsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15687,7 +15687,7 @@ func (c *AccountsLinkCall) Header() http.Header { func (c *AccountsLinkCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15878,7 +15878,7 @@ func (c *AccountsListCall) Header() http.Header { func (c *AccountsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16090,7 +16090,7 @@ func (c *AccountsListlinksCall) Header() http.Header { func (c *AccountsListlinksCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16269,7 +16269,7 @@ func (c *AccountsUpdateCall) Header() http.Header { func (c *AccountsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16421,7 +16421,7 @@ func (c *AccountsUpdatelabelsCall) Header() http.Header { func (c *AccountsUpdatelabelsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16570,7 +16570,7 @@ func (c *AccountsLabelsCreateCall) Header() http.Header { func (c *AccountsLabelsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16711,7 +16711,7 @@ func (c *AccountsLabelsDeleteCall) Header() http.Header { func (c *AccountsLabelsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16852,7 +16852,7 @@ func (c *AccountsLabelsListCall) Header() http.Header { func (c *AccountsLabelsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17021,7 +17021,7 @@ func (c *AccountsLabelsPatchCall) Header() http.Header { func (c *AccountsLabelsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17169,7 +17169,7 @@ func (c *AccountstatusesCustombatchCall) Header() http.Header { func (c *AccountstatusesCustombatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17317,7 +17317,7 @@ func (c *AccountstatusesGetCall) Header() http.Header { func (c *AccountstatusesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17500,7 +17500,7 @@ func (c *AccountstatusesListCall) Header() http.Header { func (c *AccountstatusesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17672,7 +17672,7 @@ func (c *AccounttaxCustombatchCall) Header() http.Header { func (c *AccounttaxCustombatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17810,7 +17810,7 @@ func (c *AccounttaxGetCall) Header() http.Header { func (c *AccounttaxGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17978,7 +17978,7 @@ func (c *AccounttaxListCall) Header() http.Header { func (c *AccounttaxListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18148,7 +18148,7 @@ func (c *AccounttaxUpdateCall) Header() http.Header { func (c *AccounttaxUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18308,7 +18308,7 @@ func (c *CssesGetCall) Header() http.Header { func (c *CssesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18479,7 +18479,7 @@ func (c *CssesListCall) Header() http.Header { func (c *CssesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18649,7 +18649,7 @@ func (c *CssesUpdatelabelsCall) Header() http.Header { func (c *CssesUpdatelabelsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18797,7 +18797,7 @@ func (c *DatafeedsCustombatchCall) Header() http.Header { func (c *DatafeedsCustombatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18925,7 +18925,7 @@ func (c *DatafeedsDeleteCall) Header() http.Header { func (c *DatafeedsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19040,7 +19040,7 @@ func (c *DatafeedsFetchnowCall) Header() http.Header { func (c *DatafeedsFetchnowCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19193,7 +19193,7 @@ func (c *DatafeedsGetCall) Header() http.Header { func (c *DatafeedsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19338,7 +19338,7 @@ func (c *DatafeedsInsertCall) Header() http.Header { func (c *DatafeedsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19502,7 +19502,7 @@ func (c *DatafeedsListCall) Header() http.Header { func (c *DatafeedsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19673,7 +19673,7 @@ func (c *DatafeedsUpdateCall) Header() http.Header { func (c *DatafeedsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19821,7 +19821,7 @@ func (c *DatafeedstatusesCustombatchCall) Header() http.Header { func (c *DatafeedstatusesCustombatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19981,7 +19981,7 @@ func (c *DatafeedstatusesGetCall) Header() http.Header { func (c *DatafeedstatusesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -20159,7 +20159,7 @@ func (c *DatafeedstatusesListCall) Header() http.Header { func (c *DatafeedstatusesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -20325,7 +20325,7 @@ func (c *LiasettingsCustombatchCall) Header() http.Header { func (c *LiasettingsCustombatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -20463,7 +20463,7 @@ func (c *LiasettingsGetCall) Header() http.Header { func (c *LiasettingsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -20619,7 +20619,7 @@ func (c *LiasettingsGetaccessiblegmbaccountsCall) Header() http.Header { func (c *LiasettingsGetaccessiblegmbaccountsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -20789,7 +20789,7 @@ func (c *LiasettingsListCall) Header() http.Header { func (c *LiasettingsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -20964,7 +20964,7 @@ func (c *LiasettingsListposdataprovidersCall) Header() http.Header { func (c *LiasettingsListposdataprovidersCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21089,7 +21089,7 @@ func (c *LiasettingsRequestgmbaccessCall) Header() http.Header { func (c *LiasettingsRequestgmbaccessCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21241,7 +21241,7 @@ func (c *LiasettingsRequestinventoryverificationCall) Header() http.Header { func (c *LiasettingsRequestinventoryverificationCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21397,7 +21397,7 @@ func (c *LiasettingsSetinventoryverificationcontactCall) Header() http.Header { func (c *LiasettingsSetinventoryverificationcontactCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21585,7 +21585,7 @@ func (c *LiasettingsSetposdataproviderCall) Header() http.Header { func (c *LiasettingsSetposdataproviderCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21748,7 +21748,7 @@ func (c *LiasettingsUpdateCall) Header() http.Header { func (c *LiasettingsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21896,7 +21896,7 @@ func (c *LocalinventoryCustombatchCall) Header() http.Header { func (c *LocalinventoryCustombatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -22027,7 +22027,7 @@ func (c *LocalinventoryInsertCall) Header() http.Header { func (c *LocalinventoryInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -22178,7 +22178,7 @@ func (c *OrderinvoicesCreatechargeinvoiceCall) Header() http.Header { func (c *OrderinvoicesCreatechargeinvoiceCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -22334,7 +22334,7 @@ func (c *OrderinvoicesCreaterefundinvoiceCall) Header() http.Header { func (c *OrderinvoicesCreaterefundinvoiceCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -22524,7 +22524,7 @@ func (c *OrderreportsListdisbursementsCall) Header() http.Header { func (c *OrderreportsListdisbursementsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -22744,7 +22744,7 @@ func (c *OrderreportsListtransactionsCall) Header() http.Header { func (c *OrderreportsListtransactionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -22932,7 +22932,7 @@ func (c *OrderreturnsAcknowledgeCall) Header() http.Header { func (c *OrderreturnsAcknowledgeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -23080,7 +23080,7 @@ func (c *OrderreturnsCreateorderreturnCall) Header() http.Header { func (c *OrderreturnsCreateorderreturnCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -23232,7 +23232,7 @@ func (c *OrderreturnsGetCall) Header() http.Header { func (c *OrderreturnsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -23509,7 +23509,7 @@ func (c *OrderreturnsListCall) Header() http.Header { func (c *OrderreturnsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -23770,7 +23770,7 @@ func (c *OrderreturnsProcessCall) Header() http.Header { func (c *OrderreturnsProcessCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -23920,7 +23920,7 @@ func (c *OrdersAcknowledgeCall) Header() http.Header { func (c *OrdersAcknowledgeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -24069,7 +24069,7 @@ func (c *OrdersAdvancetestorderCall) Header() http.Header { func (c *OrdersAdvancetestorderCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -24211,7 +24211,7 @@ func (c *OrdersCancelCall) Header() http.Header { func (c *OrdersCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -24361,7 +24361,7 @@ func (c *OrdersCancellineitemCall) Header() http.Header { func (c *OrdersCancellineitemCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -24512,7 +24512,7 @@ func (c *OrdersCanceltestorderbycustomerCall) Header() http.Header { func (c *OrdersCanceltestorderbycustomerCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -24661,7 +24661,7 @@ func (c *OrdersCreatetestorderCall) Header() http.Header { func (c *OrdersCreatetestorderCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -24803,7 +24803,7 @@ func (c *OrdersCreatetestreturnCall) Header() http.Header { func (c *OrdersCreatetestreturnCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -24962,7 +24962,7 @@ func (c *OrdersGetCall) Header() http.Header { func (c *OrdersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -25116,7 +25116,7 @@ func (c *OrdersGetbymerchantorderidCall) Header() http.Header { func (c *OrdersGetbymerchantorderidCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -25279,7 +25279,7 @@ func (c *OrdersGettestordertemplateCall) Header() http.Header { func (c *OrdersGettestordertemplateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -25455,7 +25455,7 @@ func (c *OrdersInstorerefundlineitemCall) Header() http.Header { func (c *OrdersInstorerefundlineitemCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -25686,7 +25686,7 @@ func (c *OrdersListCall) Header() http.Header { func (c *OrdersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -25907,7 +25907,7 @@ func (c *OrdersRefunditemCall) Header() http.Header { func (c *OrdersRefunditemCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -26057,7 +26057,7 @@ func (c *OrdersRefundorderCall) Header() http.Header { func (c *OrdersRefundorderCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -26207,7 +26207,7 @@ func (c *OrdersRejectreturnlineitemCall) Header() http.Header { func (c *OrdersRejectreturnlineitemCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -26365,7 +26365,7 @@ func (c *OrdersReturnrefundlineitemCall) Header() http.Header { func (c *OrdersReturnrefundlineitemCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -26521,7 +26521,7 @@ func (c *OrdersSetlineitemmetadataCall) Header() http.Header { func (c *OrdersSetlineitemmetadataCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -26672,7 +26672,7 @@ func (c *OrdersShiplineitemsCall) Header() http.Header { func (c *OrdersShiplineitemsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -26823,7 +26823,7 @@ func (c *OrdersUpdatelineitemshippingdetailsCall) Header() http.Header { func (c *OrdersUpdatelineitemshippingdetailsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -26976,7 +26976,7 @@ func (c *OrdersUpdatemerchantorderidCall) Header() http.Header { func (c *OrdersUpdatemerchantorderidCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -27128,7 +27128,7 @@ func (c *OrdersUpdateshipmentCall) Header() http.Header { func (c *OrdersUpdateshipmentCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -27276,7 +27276,7 @@ func (c *OrdertrackingsignalsCreateCall) Header() http.Header { func (c *OrdertrackingsignalsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -27414,7 +27414,7 @@ func (c *PosCustombatchCall) Header() http.Header { func (c *PosCustombatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -27543,7 +27543,7 @@ func (c *PosDeleteCall) Header() http.Header { func (c *PosDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -27677,7 +27677,7 @@ func (c *PosGetCall) Header() http.Header { func (c *PosGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -27831,7 +27831,7 @@ func (c *PosInsertCall) Header() http.Header { func (c *PosInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -27982,7 +27982,7 @@ func (c *PosInventoryCall) Header() http.Header { func (c *PosInventoryCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -28142,7 +28142,7 @@ func (c *PosListCall) Header() http.Header { func (c *PosListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -28288,7 +28288,7 @@ func (c *PosSaleCall) Header() http.Header { func (c *PosSaleCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -28436,7 +28436,7 @@ func (c *ProductsCustombatchCall) Header() http.Header { func (c *ProductsCustombatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -28570,7 +28570,7 @@ func (c *ProductsDeleteCall) Header() http.Header { func (c *ProductsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -28699,7 +28699,7 @@ func (c *ProductsGetCall) Header() http.Header { func (c *ProductsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -28851,7 +28851,7 @@ func (c *ProductsInsertCall) Header() http.Header { func (c *ProductsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -29023,7 +29023,7 @@ func (c *ProductsListCall) Header() http.Header { func (c *ProductsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -29189,7 +29189,7 @@ func (c *ProductstatusesCustombatchCall) Header() http.Header { func (c *ProductstatusesCustombatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -29336,7 +29336,7 @@ func (c *ProductstatusesGetCall) Header() http.Header { func (c *ProductstatusesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -29518,7 +29518,7 @@ func (c *ProductstatusesListCall) Header() http.Header { func (c *ProductstatusesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -29749,7 +29749,7 @@ func (c *ProductstatusesRepricingreportsListCall) Header() http.Header { func (c *ProductstatusesRepricingreportsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -29950,7 +29950,7 @@ func (c *PubsubnotificationsettingsGetCall) Header() http.Header { func (c *PubsubnotificationsettingsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -30087,7 +30087,7 @@ func (c *PubsubnotificationsettingsUpdateCall) Header() http.Header { func (c *PubsubnotificationsettingsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -30226,7 +30226,7 @@ func (c *RegionalinventoryCustombatchCall) Header() http.Header { func (c *RegionalinventoryCustombatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -30358,7 +30358,7 @@ func (c *RegionalinventoryInsertCall) Header() http.Header { func (c *RegionalinventoryInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -30513,7 +30513,7 @@ func (c *RegionsCreateCall) Header() http.Header { func (c *RegionsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -30659,7 +30659,7 @@ func (c *RegionsDeleteCall) Header() http.Header { func (c *RegionsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -30782,7 +30782,7 @@ func (c *RegionsGetCall) Header() http.Header { func (c *RegionsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -30952,7 +30952,7 @@ func (c *RegionsListCall) Header() http.Header { func (c *RegionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -31128,7 +31128,7 @@ func (c *RegionsPatchCall) Header() http.Header { func (c *RegionsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -31289,7 +31289,7 @@ func (c *RepricingrulesCreateCall) Header() http.Header { func (c *RepricingrulesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -31434,7 +31434,7 @@ func (c *RepricingrulesDeleteCall) Header() http.Header { func (c *RepricingrulesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -31557,7 +31557,7 @@ func (c *RepricingrulesGetCall) Header() http.Header { func (c *RepricingrulesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -31743,7 +31743,7 @@ func (c *RepricingrulesListCall) Header() http.Header { func (c *RepricingrulesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -31927,7 +31927,7 @@ func (c *RepricingrulesPatchCall) Header() http.Header { func (c *RepricingrulesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -32124,7 +32124,7 @@ func (c *RepricingrulesRepricingreportsListCall) Header() http.Header { func (c *RepricingrulesRepricingreportsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -32308,7 +32308,7 @@ func (c *ReturnaddressCustombatchCall) Header() http.Header { func (c *ReturnaddressCustombatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -32436,7 +32436,7 @@ func (c *ReturnaddressDeleteCall) Header() http.Header { func (c *ReturnaddressDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -32559,7 +32559,7 @@ func (c *ReturnaddressGetCall) Header() http.Header { func (c *ReturnaddressGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -32702,7 +32702,7 @@ func (c *ReturnaddressInsertCall) Header() http.Header { func (c *ReturnaddressInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -32873,7 +32873,7 @@ func (c *ReturnaddressListCall) Header() http.Header { func (c *ReturnaddressListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -33044,7 +33044,7 @@ func (c *ReturnpolicyCustombatchCall) Header() http.Header { func (c *ReturnpolicyCustombatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -33172,7 +33172,7 @@ func (c *ReturnpolicyDeleteCall) Header() http.Header { func (c *ReturnpolicyDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -33295,7 +33295,7 @@ func (c *ReturnpolicyGetCall) Header() http.Header { func (c *ReturnpolicyGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -33438,7 +33438,7 @@ func (c *ReturnpolicyInsertCall) Header() http.Header { func (c *ReturnpolicyInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -33587,7 +33587,7 @@ func (c *ReturnpolicyListCall) Header() http.Header { func (c *ReturnpolicyListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -33733,7 +33733,7 @@ func (c *SettlementreportsGetCall) Header() http.Header { func (c *SettlementreportsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -33918,7 +33918,7 @@ func (c *SettlementreportsListCall) Header() http.Header { func (c *SettlementreportsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -34130,7 +34130,7 @@ func (c *SettlementtransactionsListCall) Header() http.Header { func (c *SettlementtransactionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -34311,7 +34311,7 @@ func (c *ShippingsettingsCustombatchCall) Header() http.Header { func (c *ShippingsettingsCustombatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -34450,7 +34450,7 @@ func (c *ShippingsettingsGetCall) Header() http.Header { func (c *ShippingsettingsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -34604,7 +34604,7 @@ func (c *ShippingsettingsGetsupportedcarriersCall) Header() http.Header { func (c *ShippingsettingsGetsupportedcarriersCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -34750,7 +34750,7 @@ func (c *ShippingsettingsGetsupportedholidaysCall) Header() http.Header { func (c *ShippingsettingsGetsupportedholidaysCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -34897,7 +34897,7 @@ func (c *ShippingsettingsGetsupportedpickupservicesCall) Header() http.Header { func (c *ShippingsettingsGetsupportedpickupservicesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -35059,7 +35059,7 @@ func (c *ShippingsettingsListCall) Header() http.Header { func (c *ShippingsettingsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -35229,7 +35229,7 @@ func (c *ShippingsettingsUpdateCall) Header() http.Header { func (c *ShippingsettingsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/content/v2/content-gen.go b/content/v2/content-gen.go index c7e33132517..18383c1f0a1 100644 --- a/content/v2/content-gen.go +++ b/content/v2/content-gen.go @@ -12036,7 +12036,7 @@ func (c *AccountsAuthinfoCall) Header() http.Header { func (c *AccountsAuthinfoCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12167,7 +12167,7 @@ func (c *AccountsClaimwebsiteCall) Header() http.Header { func (c *AccountsClaimwebsiteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12320,7 +12320,7 @@ func (c *AccountsCustombatchCall) Header() http.Header { func (c *AccountsCustombatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12468,7 +12468,7 @@ func (c *AccountsDeleteCall) Header() http.Header { func (c *AccountsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12603,7 +12603,7 @@ func (c *AccountsGetCall) Header() http.Header { func (c *AccountsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12755,7 +12755,7 @@ func (c *AccountsInsertCall) Header() http.Header { func (c *AccountsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12903,7 +12903,7 @@ func (c *AccountsLinkCall) Header() http.Header { func (c *AccountsLinkCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13075,7 +13075,7 @@ func (c *AccountsListCall) Header() http.Header { func (c *AccountsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13253,7 +13253,7 @@ func (c *AccountsUpdateCall) Header() http.Header { func (c *AccountsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13406,7 +13406,7 @@ func (c *AccountstatusesCustombatchCall) Header() http.Header { func (c *AccountstatusesCustombatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13554,7 +13554,7 @@ func (c *AccountstatusesGetCall) Header() http.Header { func (c *AccountstatusesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13737,7 +13737,7 @@ func (c *AccountstatusesListCall) Header() http.Header { func (c *AccountstatusesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13917,7 +13917,7 @@ func (c *AccounttaxCustombatchCall) Header() http.Header { func (c *AccounttaxCustombatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14061,7 +14061,7 @@ func (c *AccounttaxGetCall) Header() http.Header { func (c *AccounttaxGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14229,7 +14229,7 @@ func (c *AccounttaxListCall) Header() http.Header { func (c *AccounttaxListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14407,7 +14407,7 @@ func (c *AccounttaxUpdateCall) Header() http.Header { func (c *AccounttaxUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14568,7 +14568,7 @@ func (c *DatafeedsCustombatchCall) Header() http.Header { func (c *DatafeedsCustombatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14710,7 +14710,7 @@ func (c *DatafeedsDeleteCall) Header() http.Header { func (c *DatafeedsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14838,7 +14838,7 @@ func (c *DatafeedsFetchnowCall) Header() http.Header { func (c *DatafeedsFetchnowCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14996,7 +14996,7 @@ func (c *DatafeedsGetCall) Header() http.Header { func (c *DatafeedsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15149,7 +15149,7 @@ func (c *DatafeedsInsertCall) Header() http.Header { func (c *DatafeedsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15318,7 +15318,7 @@ func (c *DatafeedsListCall) Header() http.Header { func (c *DatafeedsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15497,7 +15497,7 @@ func (c *DatafeedsUpdateCall) Header() http.Header { func (c *DatafeedsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15650,7 +15650,7 @@ func (c *DatafeedstatusesCustombatchCall) Header() http.Header { func (c *DatafeedstatusesCustombatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15810,7 +15810,7 @@ func (c *DatafeedstatusesGetCall) Header() http.Header { func (c *DatafeedstatusesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15988,7 +15988,7 @@ func (c *DatafeedstatusesListCall) Header() http.Header { func (c *DatafeedstatusesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16163,7 +16163,7 @@ func (c *InventoryCustombatchCall) Header() http.Header { func (c *InventoryCustombatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16309,7 +16309,7 @@ func (c *InventorySetCall) Header() http.Header { func (c *InventorySetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16477,7 +16477,7 @@ func (c *LiasettingsCustombatchCall) Header() http.Header { func (c *LiasettingsCustombatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16621,7 +16621,7 @@ func (c *LiasettingsGetCall) Header() http.Header { func (c *LiasettingsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16777,7 +16777,7 @@ func (c *LiasettingsGetaccessiblegmbaccountsCall) Header() http.Header { func (c *LiasettingsGetaccessiblegmbaccountsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16947,7 +16947,7 @@ func (c *LiasettingsListCall) Header() http.Header { func (c *LiasettingsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17122,7 +17122,7 @@ func (c *LiasettingsListposdataprovidersCall) Header() http.Header { func (c *LiasettingsListposdataprovidersCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17247,7 +17247,7 @@ func (c *LiasettingsRequestgmbaccessCall) Header() http.Header { func (c *LiasettingsRequestgmbaccessCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17399,7 +17399,7 @@ func (c *LiasettingsRequestinventoryverificationCall) Header() http.Header { func (c *LiasettingsRequestinventoryverificationCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17555,7 +17555,7 @@ func (c *LiasettingsSetinventoryverificationcontactCall) Header() http.Header { func (c *LiasettingsSetinventoryverificationcontactCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17743,7 +17743,7 @@ func (c *LiasettingsSetposdataproviderCall) Header() http.Header { func (c *LiasettingsSetposdataproviderCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17914,7 +17914,7 @@ func (c *LiasettingsUpdateCall) Header() http.Header { func (c *LiasettingsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18071,7 +18071,7 @@ func (c *OrderinvoicesCreatechargeinvoiceCall) Header() http.Header { func (c *OrderinvoicesCreatechargeinvoiceCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18227,7 +18227,7 @@ func (c *OrderinvoicesCreaterefundinvoiceCall) Header() http.Header { func (c *OrderinvoicesCreaterefundinvoiceCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18417,7 +18417,7 @@ func (c *OrderreportsListdisbursementsCall) Header() http.Header { func (c *OrderreportsListdisbursementsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18637,7 +18637,7 @@ func (c *OrderreportsListtransactionsCall) Header() http.Header { func (c *OrderreportsListtransactionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18834,7 +18834,7 @@ func (c *OrderreturnsGetCall) Header() http.Header { func (c *OrderreturnsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19029,7 +19029,7 @@ func (c *OrderreturnsListCall) Header() http.Header { func (c *OrderreturnsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19221,7 +19221,7 @@ func (c *OrdersAcknowledgeCall) Header() http.Header { func (c *OrdersAcknowledgeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19370,7 +19370,7 @@ func (c *OrdersAdvancetestorderCall) Header() http.Header { func (c *OrdersAdvancetestorderCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19512,7 +19512,7 @@ func (c *OrdersCancelCall) Header() http.Header { func (c *OrdersCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19662,7 +19662,7 @@ func (c *OrdersCancellineitemCall) Header() http.Header { func (c *OrdersCancellineitemCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19813,7 +19813,7 @@ func (c *OrdersCanceltestorderbycustomerCall) Header() http.Header { func (c *OrdersCanceltestorderbycustomerCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19962,7 +19962,7 @@ func (c *OrdersCreatetestorderCall) Header() http.Header { func (c *OrdersCreatetestorderCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -20104,7 +20104,7 @@ func (c *OrdersCreatetestreturnCall) Header() http.Header { func (c *OrdersCreatetestreturnCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -20251,7 +20251,7 @@ func (c *OrdersCustombatchCall) Header() http.Header { func (c *OrdersCustombatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -20389,7 +20389,7 @@ func (c *OrdersGetCall) Header() http.Header { func (c *OrdersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -20543,7 +20543,7 @@ func (c *OrdersGetbymerchantorderidCall) Header() http.Header { func (c *OrdersGetbymerchantorderidCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -20706,7 +20706,7 @@ func (c *OrdersGettestordertemplateCall) Header() http.Header { func (c *OrdersGettestordertemplateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -20880,7 +20880,7 @@ func (c *OrdersInstorerefundlineitemCall) Header() http.Header { func (c *OrdersInstorerefundlineitemCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21111,7 +21111,7 @@ func (c *OrdersListCall) Header() http.Header { func (c *OrdersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21332,7 +21332,7 @@ func (c *OrdersRefundCall) Header() http.Header { func (c *OrdersRefundCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21482,7 +21482,7 @@ func (c *OrdersRejectreturnlineitemCall) Header() http.Header { func (c *OrdersRejectreturnlineitemCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21633,7 +21633,7 @@ func (c *OrdersReturnlineitemCall) Header() http.Header { func (c *OrdersReturnlineitemCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21790,7 +21790,7 @@ func (c *OrdersReturnrefundlineitemCall) Header() http.Header { func (c *OrdersReturnrefundlineitemCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21946,7 +21946,7 @@ func (c *OrdersSetlineitemmetadataCall) Header() http.Header { func (c *OrdersSetlineitemmetadataCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -22097,7 +22097,7 @@ func (c *OrdersShiplineitemsCall) Header() http.Header { func (c *OrdersShiplineitemsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -22248,7 +22248,7 @@ func (c *OrdersUpdatelineitemshippingdetailsCall) Header() http.Header { func (c *OrdersUpdatelineitemshippingdetailsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -22401,7 +22401,7 @@ func (c *OrdersUpdatemerchantorderidCall) Header() http.Header { func (c *OrdersUpdatemerchantorderidCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -22553,7 +22553,7 @@ func (c *OrdersUpdateshipmentCall) Header() http.Header { func (c *OrdersUpdateshipmentCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -22707,7 +22707,7 @@ func (c *PosCustombatchCall) Header() http.Header { func (c *PosCustombatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -22850,7 +22850,7 @@ func (c *PosDeleteCall) Header() http.Header { func (c *PosDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -22989,7 +22989,7 @@ func (c *PosGetCall) Header() http.Header { func (c *PosGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -23151,7 +23151,7 @@ func (c *PosInsertCall) Header() http.Header { func (c *PosInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -23315,7 +23315,7 @@ func (c *PosInventoryCall) Header() http.Header { func (c *PosInventoryCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -23480,7 +23480,7 @@ func (c *PosListCall) Header() http.Header { func (c *PosListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -23634,7 +23634,7 @@ func (c *PosSaleCall) Header() http.Header { func (c *PosSaleCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -23795,7 +23795,7 @@ func (c *ProductsCustombatchCall) Header() http.Header { func (c *ProductsCustombatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -23936,7 +23936,7 @@ func (c *ProductsDeleteCall) Header() http.Header { func (c *ProductsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -24064,7 +24064,7 @@ func (c *ProductsGetCall) Header() http.Header { func (c *ProductsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -24217,7 +24217,7 @@ func (c *ProductsInsertCall) Header() http.Header { func (c *ProductsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -24397,7 +24397,7 @@ func (c *ProductsListCall) Header() http.Header { func (c *ProductsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -24576,7 +24576,7 @@ func (c *ProductstatusesCustombatchCall) Header() http.Header { func (c *ProductstatusesCustombatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -24737,7 +24737,7 @@ func (c *ProductstatusesGetCall) Header() http.Header { func (c *ProductstatusesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -24941,7 +24941,7 @@ func (c *ProductstatusesListCall) Header() http.Header { func (c *ProductstatusesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -25131,7 +25131,7 @@ func (c *ShippingsettingsCustombatchCall) Header() http.Header { func (c *ShippingsettingsCustombatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -25276,7 +25276,7 @@ func (c *ShippingsettingsGetCall) Header() http.Header { func (c *ShippingsettingsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -25430,7 +25430,7 @@ func (c *ShippingsettingsGetsupportedcarriersCall) Header() http.Header { func (c *ShippingsettingsGetsupportedcarriersCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -25576,7 +25576,7 @@ func (c *ShippingsettingsGetsupportedholidaysCall) Header() http.Header { func (c *ShippingsettingsGetsupportedholidaysCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -25723,7 +25723,7 @@ func (c *ShippingsettingsGetsupportedpickupservicesCall) Header() http.Header { func (c *ShippingsettingsGetsupportedpickupservicesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -25885,7 +25885,7 @@ func (c *ShippingsettingsListCall) Header() http.Header { func (c *ShippingsettingsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -26063,7 +26063,7 @@ func (c *ShippingsettingsUpdateCall) Header() http.Header { func (c *ShippingsettingsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/customsearch/v1/customsearch-gen.go b/customsearch/v1/customsearch-gen.go index c2b8ef42cd5..36b83fd9754 100644 --- a/customsearch/v1/customsearch-gen.go +++ b/customsearch/v1/customsearch-gen.go @@ -1747,7 +1747,7 @@ func (c *CseListCall) Header() http.Header { func (c *CseListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2515,7 +2515,7 @@ func (c *CseSiterestrictListCall) Header() http.Header { func (c *CseSiterestrictListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/datacatalog/v1beta1/datacatalog-api.json b/datacatalog/v1beta1/datacatalog-api.json index 41fcc621c35..16b7d535275 100644 --- a/datacatalog/v1beta1/datacatalog-api.json +++ b/datacatalog/v1beta1/datacatalog-api.json @@ -1808,7 +1808,7 @@ } } }, - "revision": "20201107", + "revision": "20201210", "rootUrl": "https://datacatalog.googleapis.com/", "schemas": { "Binding": { @@ -2479,6 +2479,11 @@ "description": "The full name of the cloud resource the entry belongs to. See: https://cloud.google.com/apis/design/resource_names#full_resource_name. Example: * `//bigquery.googleapis.com/projects/projectId/datasets/datasetId/tables/tableId`", "type": "string" }, + "modifyTime": { + "description": "Last-modified timestamp of the entry from the managing system.", + "format": "google-datetime", + "type": "string" + }, "relativeResourceName": { "description": "The relative resource name of the resource in URL format. Examples: * `projects/{project_id}/locations/{location_id}/entryGroups/{entry_group_id}/entries/{entry_id}` * `projects/{project_id}/tagTemplates/{tag_template_id}`", "type": "string" diff --git a/datacatalog/v1beta1/datacatalog-gen.go b/datacatalog/v1beta1/datacatalog-gen.go index 4dfb3a6d0ef..27f0748de6c 100644 --- a/datacatalog/v1beta1/datacatalog-gen.go +++ b/datacatalog/v1beta1/datacatalog-gen.go @@ -1643,6 +1643,10 @@ type GoogleCloudDatacatalogV1beta1SearchCatalogResult struct { // s/tableId` LinkedResource string `json:"linkedResource,omitempty"` + // ModifyTime: Last-modified timestamp of the entry from the managing + // system. + ModifyTime string `json:"modifyTime,omitempty"` + // RelativeResourceName: The relative resource name of the resource in // URL format. Examples: * // `projects/{project_id}/locations/{location_id}/entryGroups/{entry_grou @@ -2470,7 +2474,7 @@ func (c *CatalogSearchCall) Header() http.Header { func (c *CatalogSearchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2653,7 +2657,7 @@ func (c *EntriesLookupCall) Header() http.Header { func (c *EntriesLookupCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2801,7 +2805,7 @@ func (c *ProjectsLocationsEntryGroupsCreateCall) Header() http.Header { func (c *ProjectsLocationsEntryGroupsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2957,7 +2961,7 @@ func (c *ProjectsLocationsEntryGroupsDeleteCall) Header() http.Header { func (c *ProjectsLocationsEntryGroupsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3110,7 +3114,7 @@ func (c *ProjectsLocationsEntryGroupsGetCall) Header() http.Header { func (c *ProjectsLocationsEntryGroupsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3262,7 +3266,7 @@ func (c *ProjectsLocationsEntryGroupsGetIamPolicyCall) Header() http.Header { func (c *ProjectsLocationsEntryGroupsGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3427,7 +3431,7 @@ func (c *ProjectsLocationsEntryGroupsListCall) Header() http.Header { func (c *ProjectsLocationsEntryGroupsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3608,7 +3612,7 @@ func (c *ProjectsLocationsEntryGroupsPatchCall) Header() http.Header { func (c *ProjectsLocationsEntryGroupsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3763,7 +3767,7 @@ func (c *ProjectsLocationsEntryGroupsSetIamPolicyCall) Header() http.Header { func (c *ProjectsLocationsEntryGroupsSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3910,7 +3914,7 @@ func (c *ProjectsLocationsEntryGroupsTestIamPermissionsCall) Header() http.Heade func (c *ProjectsLocationsEntryGroupsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4063,7 +4067,7 @@ func (c *ProjectsLocationsEntryGroupsEntriesCreateCall) Header() http.Header { func (c *ProjectsLocationsEntryGroupsEntriesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4212,7 +4216,7 @@ func (c *ProjectsLocationsEntryGroupsEntriesDeleteCall) Header() http.Header { func (c *ProjectsLocationsEntryGroupsEntriesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4353,7 +4357,7 @@ func (c *ProjectsLocationsEntryGroupsEntriesGetCall) Header() http.Header { func (c *ProjectsLocationsEntryGroupsEntriesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4499,7 +4503,7 @@ func (c *ProjectsLocationsEntryGroupsEntriesGetIamPolicyCall) Header() http.Head func (c *ProjectsLocationsEntryGroupsEntriesGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4673,7 +4677,7 @@ func (c *ProjectsLocationsEntryGroupsEntriesListCall) Header() http.Header { func (c *ProjectsLocationsEntryGroupsEntriesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4866,7 +4870,7 @@ func (c *ProjectsLocationsEntryGroupsEntriesPatchCall) Header() http.Header { func (c *ProjectsLocationsEntryGroupsEntriesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5020,7 +5024,7 @@ func (c *ProjectsLocationsEntryGroupsEntriesTestIamPermissionsCall) Header() htt func (c *ProjectsLocationsEntryGroupsEntriesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5167,7 +5171,7 @@ func (c *ProjectsLocationsEntryGroupsEntriesTagsCreateCall) Header() http.Header func (c *ProjectsLocationsEntryGroupsEntriesTagsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5305,7 +5309,7 @@ func (c *ProjectsLocationsEntryGroupsEntriesTagsDeleteCall) Header() http.Header func (c *ProjectsLocationsEntryGroupsEntriesTagsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5461,7 +5465,7 @@ func (c *ProjectsLocationsEntryGroupsEntriesTagsListCall) Header() http.Header { func (c *ProjectsLocationsEntryGroupsEntriesTagsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5638,7 +5642,7 @@ func (c *ProjectsLocationsEntryGroupsEntriesTagsPatchCall) Header() http.Header func (c *ProjectsLocationsEntryGroupsEntriesTagsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5791,7 +5795,7 @@ func (c *ProjectsLocationsEntryGroupsTagsCreateCall) Header() http.Header { func (c *ProjectsLocationsEntryGroupsTagsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5929,7 +5933,7 @@ func (c *ProjectsLocationsEntryGroupsTagsDeleteCall) Header() http.Header { func (c *ProjectsLocationsEntryGroupsTagsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6085,7 +6089,7 @@ func (c *ProjectsLocationsEntryGroupsTagsListCall) Header() http.Header { func (c *ProjectsLocationsEntryGroupsTagsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6262,7 +6266,7 @@ func (c *ProjectsLocationsEntryGroupsTagsPatchCall) Header() http.Header { func (c *ProjectsLocationsEntryGroupsTagsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6419,7 +6423,7 @@ func (c *ProjectsLocationsTagTemplatesCreateCall) Header() http.Header { func (c *ProjectsLocationsTagTemplatesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6577,7 +6581,7 @@ func (c *ProjectsLocationsTagTemplatesDeleteCall) Header() http.Header { func (c *ProjectsLocationsTagTemplatesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6723,7 +6727,7 @@ func (c *ProjectsLocationsTagTemplatesGetCall) Header() http.Header { func (c *ProjectsLocationsTagTemplatesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6870,7 +6874,7 @@ func (c *ProjectsLocationsTagTemplatesGetIamPolicyCall) Header() http.Header { func (c *ProjectsLocationsTagTemplatesGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7026,7 +7030,7 @@ func (c *ProjectsLocationsTagTemplatesPatchCall) Header() http.Header { func (c *ProjectsLocationsTagTemplatesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7182,7 +7186,7 @@ func (c *ProjectsLocationsTagTemplatesSetIamPolicyCall) Header() http.Header { func (c *ProjectsLocationsTagTemplatesSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7329,7 +7333,7 @@ func (c *ProjectsLocationsTagTemplatesTestIamPermissionsCall) Header() http.Head func (c *ProjectsLocationsTagTemplatesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7484,7 +7488,7 @@ func (c *ProjectsLocationsTagTemplatesFieldsCreateCall) Header() http.Header { func (c *ProjectsLocationsTagTemplatesFieldsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7642,7 +7646,7 @@ func (c *ProjectsLocationsTagTemplatesFieldsDeleteCall) Header() http.Header { func (c *ProjectsLocationsTagTemplatesFieldsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7797,7 +7801,7 @@ func (c *ProjectsLocationsTagTemplatesFieldsPatchCall) Header() http.Header { func (c *ProjectsLocationsTagTemplatesFieldsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7949,7 +7953,7 @@ func (c *ProjectsLocationsTagTemplatesFieldsRenameCall) Header() http.Header { func (c *ProjectsLocationsTagTemplatesFieldsRenameCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8094,7 +8098,7 @@ func (c *ProjectsLocationsTagTemplatesFieldsEnumValuesRenameCall) Header() http. func (c *ProjectsLocationsTagTemplatesFieldsEnumValuesRenameCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8236,7 +8240,7 @@ func (c *ProjectsLocationsTaxonomiesCreateCall) Header() http.Header { func (c *ProjectsLocationsTaxonomiesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8376,7 +8380,7 @@ func (c *ProjectsLocationsTaxonomiesDeleteCall) Header() http.Header { func (c *ProjectsLocationsTaxonomiesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8533,7 +8537,7 @@ func (c *ProjectsLocationsTaxonomiesExportCall) Header() http.Header { func (c *ProjectsLocationsTaxonomiesExportCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8690,7 +8694,7 @@ func (c *ProjectsLocationsTaxonomiesGetCall) Header() http.Header { func (c *ProjectsLocationsTaxonomiesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8826,7 +8830,7 @@ func (c *ProjectsLocationsTaxonomiesGetIamPolicyCall) Header() http.Header { func (c *ProjectsLocationsTaxonomiesGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8968,7 +8972,7 @@ func (c *ProjectsLocationsTaxonomiesImportCall) Header() http.Header { func (c *ProjectsLocationsTaxonomiesImportCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9136,7 +9140,7 @@ func (c *ProjectsLocationsTaxonomiesListCall) Header() http.Header { func (c *ProjectsLocationsTaxonomiesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9314,7 +9318,7 @@ func (c *ProjectsLocationsTaxonomiesPatchCall) Header() http.Header { func (c *ProjectsLocationsTaxonomiesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9461,7 +9465,7 @@ func (c *ProjectsLocationsTaxonomiesSetIamPolicyCall) Header() http.Header { func (c *ProjectsLocationsTaxonomiesSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9602,7 +9606,7 @@ func (c *ProjectsLocationsTaxonomiesTestIamPermissionsCall) Header() http.Header func (c *ProjectsLocationsTaxonomiesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9742,7 +9746,7 @@ func (c *ProjectsLocationsTaxonomiesPolicyTagsCreateCall) Header() http.Header { func (c *ProjectsLocationsTaxonomiesPolicyTagsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9882,7 +9886,7 @@ func (c *ProjectsLocationsTaxonomiesPolicyTagsDeleteCall) Header() http.Header { func (c *ProjectsLocationsTaxonomiesPolicyTagsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10023,7 +10027,7 @@ func (c *ProjectsLocationsTaxonomiesPolicyTagsGetCall) Header() http.Header { func (c *ProjectsLocationsTaxonomiesPolicyTagsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10159,7 +10163,7 @@ func (c *ProjectsLocationsTaxonomiesPolicyTagsGetIamPolicyCall) Header() http.He func (c *ProjectsLocationsTaxonomiesPolicyTagsGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10324,7 +10328,7 @@ func (c *ProjectsLocationsTaxonomiesPolicyTagsListCall) Header() http.Header { func (c *ProjectsLocationsTaxonomiesPolicyTagsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10506,7 +10510,7 @@ func (c *ProjectsLocationsTaxonomiesPolicyTagsPatchCall) Header() http.Header { func (c *ProjectsLocationsTaxonomiesPolicyTagsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10653,7 +10657,7 @@ func (c *ProjectsLocationsTaxonomiesPolicyTagsSetIamPolicyCall) Header() http.He func (c *ProjectsLocationsTaxonomiesPolicyTagsSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10794,7 +10798,7 @@ func (c *ProjectsLocationsTaxonomiesPolicyTagsTestIamPermissionsCall) Header() h func (c *ProjectsLocationsTaxonomiesPolicyTagsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/dataflow/v1b3/dataflow-gen.go b/dataflow/v1b3/dataflow-gen.go index 6225c7eabf1..b2f978c2395 100644 --- a/dataflow/v1b3/dataflow-gen.go +++ b/dataflow/v1b3/dataflow-gen.go @@ -8303,7 +8303,7 @@ func (c *ProjectsDeleteSnapshotsCall) Header() http.Header { func (c *ProjectsDeleteSnapshotsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8447,7 +8447,7 @@ func (c *ProjectsWorkerMessagesCall) Header() http.Header { func (c *ProjectsWorkerMessagesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8591,7 +8591,7 @@ func (c *ProjectsCatalogTemplatesCommitCall) Header() http.Header { func (c *ProjectsCatalogTemplatesCommitCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8731,7 +8731,7 @@ func (c *ProjectsCatalogTemplatesDeleteCall) Header() http.Header { func (c *ProjectsCatalogTemplatesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8875,7 +8875,7 @@ func (c *ProjectsCatalogTemplatesGetCall) Header() http.Header { func (c *ProjectsCatalogTemplatesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9013,7 +9013,7 @@ func (c *ProjectsCatalogTemplatesLabelCall) Header() http.Header { func (c *ProjectsCatalogTemplatesLabelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9160,7 +9160,7 @@ func (c *ProjectsCatalogTemplatesTagCall) Header() http.Header { func (c *ProjectsCatalogTemplatesTagCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9303,7 +9303,7 @@ func (c *ProjectsCatalogTemplatesTemplateVersionsCreateCall) Header() http.Heade func (c *ProjectsCatalogTemplatesTemplateVersionsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9516,7 +9516,7 @@ func (c *ProjectsJobsAggregatedCall) Header() http.Header { func (c *ProjectsJobsAggregatedCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9762,7 +9762,7 @@ func (c *ProjectsJobsCreateCall) Header() http.Header { func (c *ProjectsJobsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9974,7 +9974,7 @@ func (c *ProjectsJobsGetCall) Header() http.Header { func (c *ProjectsJobsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10174,7 +10174,7 @@ func (c *ProjectsJobsGetMetricsCall) Header() http.Header { func (c *ProjectsJobsGetMetricsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10409,7 +10409,7 @@ func (c *ProjectsJobsListCall) Header() http.Header { func (c *ProjectsJobsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10619,7 +10619,7 @@ func (c *ProjectsJobsSnapshotCall) Header() http.Header { func (c *ProjectsJobsSnapshotCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10785,7 +10785,7 @@ func (c *ProjectsJobsUpdateCall) Header() http.Header { func (c *ProjectsJobsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10943,7 +10943,7 @@ func (c *ProjectsJobsDebugGetConfigCall) Header() http.Header { func (c *ProjectsJobsDebugGetConfigCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11095,7 +11095,7 @@ func (c *ProjectsJobsDebugSendCaptureCall) Header() http.Header { func (c *ProjectsJobsDebugSendCaptureCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11338,7 +11338,7 @@ func (c *ProjectsJobsMessagesListCall) Header() http.Header { func (c *ProjectsJobsMessagesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11555,7 +11555,7 @@ func (c *ProjectsJobsWorkItemsLeaseCall) Header() http.Header { func (c *ProjectsJobsWorkItemsLeaseCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11708,7 +11708,7 @@ func (c *ProjectsJobsWorkItemsReportStatusCall) Header() http.Header { func (c *ProjectsJobsWorkItemsReportStatusCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11860,7 +11860,7 @@ func (c *ProjectsLocationsWorkerMessagesCall) Header() http.Header { func (c *ProjectsLocationsWorkerMessagesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12012,7 +12012,7 @@ func (c *ProjectsLocationsFlexTemplatesLaunchCall) Header() http.Header { func (c *ProjectsLocationsFlexTemplatesLaunchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12193,7 +12193,7 @@ func (c *ProjectsLocationsJobsCreateCall) Header() http.Header { func (c *ProjectsLocationsJobsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12401,7 +12401,7 @@ func (c *ProjectsLocationsJobsGetCall) Header() http.Header { func (c *ProjectsLocationsJobsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12603,7 +12603,7 @@ func (c *ProjectsLocationsJobsGetExecutionDetailsCall) Header() http.Header { func (c *ProjectsLocationsJobsGetExecutionDetailsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12814,7 +12814,7 @@ func (c *ProjectsLocationsJobsGetMetricsCall) Header() http.Header { func (c *ProjectsLocationsJobsGetMetricsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13045,7 +13045,7 @@ func (c *ProjectsLocationsJobsListCall) Header() http.Header { func (c *ProjectsLocationsJobsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13260,7 +13260,7 @@ func (c *ProjectsLocationsJobsSnapshotCall) Header() http.Header { func (c *ProjectsLocationsJobsSnapshotCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13427,7 +13427,7 @@ func (c *ProjectsLocationsJobsUpdateCall) Header() http.Header { func (c *ProjectsLocationsJobsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13590,7 +13590,7 @@ func (c *ProjectsLocationsJobsDebugGetConfigCall) Header() http.Header { func (c *ProjectsLocationsJobsDebugGetConfigCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13752,7 +13752,7 @@ func (c *ProjectsLocationsJobsDebugSendCaptureCall) Header() http.Header { func (c *ProjectsLocationsJobsDebugSendCaptureCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13996,7 +13996,7 @@ func (c *ProjectsLocationsJobsMessagesListCall) Header() http.Header { func (c *ProjectsLocationsJobsMessagesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14227,7 +14227,7 @@ func (c *ProjectsLocationsJobsSnapshotsListCall) Header() http.Header { func (c *ProjectsLocationsJobsSnapshotsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14428,7 +14428,7 @@ func (c *ProjectsLocationsJobsStagesGetExecutionDetailsCall) Header() http.Heade func (c *ProjectsLocationsJobsStagesGetExecutionDetailsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14637,7 +14637,7 @@ func (c *ProjectsLocationsJobsWorkItemsLeaseCall) Header() http.Header { func (c *ProjectsLocationsJobsWorkItemsLeaseCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14800,7 +14800,7 @@ func (c *ProjectsLocationsJobsWorkItemsReportStatusCall) Header() http.Header { func (c *ProjectsLocationsJobsWorkItemsReportStatusCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14960,7 +14960,7 @@ func (c *ProjectsLocationsSnapshotsDeleteCall) Header() http.Header { func (c *ProjectsLocationsSnapshotsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15123,7 +15123,7 @@ func (c *ProjectsLocationsSnapshotsGetCall) Header() http.Header { func (c *ProjectsLocationsSnapshotsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15294,7 +15294,7 @@ func (c *ProjectsLocationsSnapshotsListCall) Header() http.Header { func (c *ProjectsLocationsSnapshotsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15464,7 +15464,7 @@ func (c *ProjectsLocationsSqlValidateCall) Header() http.Header { func (c *ProjectsLocationsSqlValidateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15614,7 +15614,7 @@ func (c *ProjectsLocationsTemplatesCreateCall) Header() http.Header { func (c *ProjectsLocationsTemplatesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15794,7 +15794,7 @@ func (c *ProjectsLocationsTemplatesGetCall) Header() http.Header { func (c *ProjectsLocationsTemplatesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15989,7 +15989,7 @@ func (c *ProjectsLocationsTemplatesLaunchCall) Header() http.Header { func (c *ProjectsLocationsTemplatesLaunchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16177,7 +16177,7 @@ func (c *ProjectsSnapshotsGetCall) Header() http.Header { func (c *ProjectsSnapshotsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16350,7 +16350,7 @@ func (c *ProjectsSnapshotsListCall) Header() http.Header { func (c *ProjectsSnapshotsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16524,7 +16524,7 @@ func (c *ProjectsTemplateVersionsListCall) Header() http.Header { func (c *ProjectsTemplateVersionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16692,7 +16692,7 @@ func (c *ProjectsTemplatesCreateCall) Header() http.Header { func (c *ProjectsTemplatesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16871,7 +16871,7 @@ func (c *ProjectsTemplatesGetCall) Header() http.Header { func (c *ProjectsTemplatesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17070,7 +17070,7 @@ func (c *ProjectsTemplatesLaunchCall) Header() http.Header { func (c *ProjectsTemplatesLaunchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/datafusion/v1/datafusion-gen.go b/datafusion/v1/datafusion-gen.go index 4ae126c8b52..75859a106c5 100644 --- a/datafusion/v1/datafusion-gen.go +++ b/datafusion/v1/datafusion-gen.go @@ -1338,7 +1338,7 @@ func (c *ProjectsLocationsGetCall) Header() http.Header { func (c *ProjectsLocationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1512,7 +1512,7 @@ func (c *ProjectsLocationsListCall) Header() http.Header { func (c *ProjectsLocationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1697,7 +1697,7 @@ func (c *ProjectsLocationsInstancesCreateCall) Header() http.Header { func (c *ProjectsLocationsInstancesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1840,7 +1840,7 @@ func (c *ProjectsLocationsInstancesDeleteCall) Header() http.Header { func (c *ProjectsLocationsInstancesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1981,7 +1981,7 @@ func (c *ProjectsLocationsInstancesGetCall) Header() http.Header { func (c *ProjectsLocationsInstancesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2142,7 +2142,7 @@ func (c *ProjectsLocationsInstancesGetIamPolicyCall) Header() http.Header { func (c *ProjectsLocationsInstancesGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2321,7 +2321,7 @@ func (c *ProjectsLocationsInstancesListCall) Header() http.Header { func (c *ProjectsLocationsInstancesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2510,7 +2510,7 @@ func (c *ProjectsLocationsInstancesPatchCall) Header() http.Header { func (c *ProjectsLocationsInstancesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2657,7 +2657,7 @@ func (c *ProjectsLocationsInstancesRestartCall) Header() http.Header { func (c *ProjectsLocationsInstancesRestartCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2799,7 +2799,7 @@ func (c *ProjectsLocationsInstancesSetIamPolicyCall) Header() http.Header { func (c *ProjectsLocationsInstancesSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2944,7 +2944,7 @@ func (c *ProjectsLocationsInstancesTestIamPermissionsCall) Header() http.Header func (c *ProjectsLocationsInstancesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3093,7 +3093,7 @@ func (c *ProjectsLocationsOperationsCancelCall) Header() http.Header { func (c *ProjectsLocationsOperationsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3234,7 +3234,7 @@ func (c *ProjectsLocationsOperationsDeleteCall) Header() http.Header { func (c *ProjectsLocationsOperationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3377,7 +3377,7 @@ func (c *ProjectsLocationsOperationsGetCall) Header() http.Header { func (c *ProjectsLocationsOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3551,7 +3551,7 @@ func (c *ProjectsLocationsOperationsListCall) Header() http.Header { func (c *ProjectsLocationsOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3758,7 +3758,7 @@ func (c *ProjectsLocationsVersionsListCall) Header() http.Header { func (c *ProjectsLocationsVersionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/datafusion/v1beta1/datafusion-gen.go b/datafusion/v1beta1/datafusion-gen.go index 258ae6dd86d..50f434a377d 100644 --- a/datafusion/v1beta1/datafusion-gen.go +++ b/datafusion/v1beta1/datafusion-gen.go @@ -1340,7 +1340,7 @@ func (c *ProjectsLocationsGetCall) Header() http.Header { func (c *ProjectsLocationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1514,7 +1514,7 @@ func (c *ProjectsLocationsListCall) Header() http.Header { func (c *ProjectsLocationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1699,7 +1699,7 @@ func (c *ProjectsLocationsInstancesCreateCall) Header() http.Header { func (c *ProjectsLocationsInstancesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1842,7 +1842,7 @@ func (c *ProjectsLocationsInstancesDeleteCall) Header() http.Header { func (c *ProjectsLocationsInstancesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1983,7 +1983,7 @@ func (c *ProjectsLocationsInstancesGetCall) Header() http.Header { func (c *ProjectsLocationsInstancesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2144,7 +2144,7 @@ func (c *ProjectsLocationsInstancesGetIamPolicyCall) Header() http.Header { func (c *ProjectsLocationsInstancesGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2323,7 +2323,7 @@ func (c *ProjectsLocationsInstancesListCall) Header() http.Header { func (c *ProjectsLocationsInstancesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2512,7 +2512,7 @@ func (c *ProjectsLocationsInstancesPatchCall) Header() http.Header { func (c *ProjectsLocationsInstancesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2659,7 +2659,7 @@ func (c *ProjectsLocationsInstancesRestartCall) Header() http.Header { func (c *ProjectsLocationsInstancesRestartCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2801,7 +2801,7 @@ func (c *ProjectsLocationsInstancesSetIamPolicyCall) Header() http.Header { func (c *ProjectsLocationsInstancesSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2946,7 +2946,7 @@ func (c *ProjectsLocationsInstancesTestIamPermissionsCall) Header() http.Header func (c *ProjectsLocationsInstancesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3087,7 +3087,7 @@ func (c *ProjectsLocationsInstancesUpgradeCall) Header() http.Header { func (c *ProjectsLocationsInstancesUpgradeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3236,7 +3236,7 @@ func (c *ProjectsLocationsOperationsCancelCall) Header() http.Header { func (c *ProjectsLocationsOperationsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3377,7 +3377,7 @@ func (c *ProjectsLocationsOperationsDeleteCall) Header() http.Header { func (c *ProjectsLocationsOperationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3520,7 +3520,7 @@ func (c *ProjectsLocationsOperationsGetCall) Header() http.Header { func (c *ProjectsLocationsOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3694,7 +3694,7 @@ func (c *ProjectsLocationsOperationsListCall) Header() http.Header { func (c *ProjectsLocationsOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3901,7 +3901,7 @@ func (c *ProjectsLocationsVersionsListCall) Header() http.Header { func (c *ProjectsLocationsVersionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/datalabeling/v1beta1/datalabeling-api.json b/datalabeling/v1beta1/datalabeling-api.json index e88857390e4..c4dfd08ea33 100644 --- a/datalabeling/v1beta1/datalabeling-api.json +++ b/datalabeling/v1beta1/datalabeling-api.json @@ -1596,7 +1596,7 @@ } } }, - "revision": "20201020", + "revision": "20201216", "rootUrl": "https://datalabeling.googleapis.com/", "schemas": { "GoogleCloudDatalabelingV1alpha1CreateInstructionMetadata": { @@ -4457,7 +4457,7 @@ }, "sentimentConfig": { "$ref": "GoogleCloudDatalabelingV1beta1SentimentConfig", - "description": "Optional. Configs for sentiment selection." + "description": "Optional. Configs for sentiment selection. We deprecate sentiment analysis in data labeling side as it is incompatible with uCAIP." } }, "type": "object" diff --git a/datalabeling/v1beta1/datalabeling-gen.go b/datalabeling/v1beta1/datalabeling-gen.go index a05c293966c..aa244b48f2c 100644 --- a/datalabeling/v1beta1/datalabeling-gen.go +++ b/datalabeling/v1beta1/datalabeling-gen.go @@ -5652,7 +5652,9 @@ type GoogleCloudDatalabelingV1beta1TextClassificationConfig struct { // AnnotationSpecSet: Required. Annotation spec set resource name. AnnotationSpecSet string `json:"annotationSpecSet,omitempty"` - // SentimentConfig: Optional. Configs for sentiment selection. + // SentimentConfig: Optional. Configs for sentiment selection. We + // deprecate sentiment analysis in data labeling side as it is + // incompatible with uCAIP. SentimentConfig *GoogleCloudDatalabelingV1beta1SentimentConfig `json:"sentimentConfig,omitempty"` // ForceSendFields is a list of field names (e.g. "AllowMultiLabel") to @@ -8038,7 +8040,7 @@ func (c *ProjectsAnnotationSpecSetsCreateCall) Header() http.Header { func (c *ProjectsAnnotationSpecSetsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8178,7 +8180,7 @@ func (c *ProjectsAnnotationSpecSetsDeleteCall) Header() http.Header { func (c *ProjectsAnnotationSpecSetsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8319,7 +8321,7 @@ func (c *ProjectsAnnotationSpecSetsGetCall) Header() http.Header { func (c *ProjectsAnnotationSpecSetsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8490,7 +8492,7 @@ func (c *ProjectsAnnotationSpecSetsListCall) Header() http.Header { func (c *ProjectsAnnotationSpecSetsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8665,7 +8667,7 @@ func (c *ProjectsDatasetsCreateCall) Header() http.Header { func (c *ProjectsDatasetsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8804,7 +8806,7 @@ func (c *ProjectsDatasetsDeleteCall) Header() http.Header { func (c *ProjectsDatasetsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8936,7 +8938,7 @@ func (c *ProjectsDatasetsExportDataCall) Header() http.Header { func (c *ProjectsDatasetsExportDataCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9085,7 +9087,7 @@ func (c *ProjectsDatasetsGetCall) Header() http.Header { func (c *ProjectsDatasetsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9226,7 +9228,7 @@ func (c *ProjectsDatasetsImportDataCall) Header() http.Header { func (c *ProjectsDatasetsImportDataCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9399,7 +9401,7 @@ func (c *ProjectsDatasetsListCall) Header() http.Header { func (c *ProjectsDatasetsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9571,7 +9573,7 @@ func (c *ProjectsDatasetsAnnotatedDatasetsDeleteCall) Header() http.Header { func (c *ProjectsDatasetsAnnotatedDatasetsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9712,7 +9714,7 @@ func (c *ProjectsDatasetsAnnotatedDatasetsGetCall) Header() http.Header { func (c *ProjectsDatasetsAnnotatedDatasetsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9883,7 +9885,7 @@ func (c *ProjectsDatasetsAnnotatedDatasetsListCall) Header() http.Header { func (c *ProjectsDatasetsAnnotatedDatasetsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10068,7 +10070,7 @@ func (c *ProjectsDatasetsAnnotatedDatasetsDataItemsGetCall) Header() http.Header func (c *ProjectsDatasetsAnnotatedDatasetsDataItemsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10237,7 +10239,7 @@ func (c *ProjectsDatasetsAnnotatedDatasetsDataItemsListCall) Header() http.Heade func (c *ProjectsDatasetsAnnotatedDatasetsDataItemsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10429,7 +10431,7 @@ func (c *ProjectsDatasetsAnnotatedDatasetsExamplesGetCall) Header() http.Header func (c *ProjectsDatasetsAnnotatedDatasetsExamplesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10605,7 +10607,7 @@ func (c *ProjectsDatasetsAnnotatedDatasetsExamplesListCall) Header() http.Header func (c *ProjectsDatasetsAnnotatedDatasetsExamplesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10777,7 +10779,7 @@ func (c *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsDeleteCall) Header() ht func (c *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10918,7 +10920,7 @@ func (c *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsGetCall) Header() http. func (c *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11081,7 +11083,7 @@ func (c *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsListCall) Header() http func (c *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11251,7 +11253,7 @@ func (c *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesCreateC func (c *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11389,7 +11391,7 @@ func (c *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesDeleteC func (c *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11530,7 +11532,7 @@ func (c *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesGetCall func (c *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11693,7 +11695,7 @@ func (c *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesListCal func (c *ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessagesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11873,7 +11875,7 @@ func (c *ProjectsDatasetsDataItemsGetCall) Header() http.Header { func (c *ProjectsDatasetsDataItemsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12042,7 +12044,7 @@ func (c *ProjectsDatasetsDataItemsListCall) Header() http.Header { func (c *ProjectsDatasetsDataItemsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12226,7 +12228,7 @@ func (c *ProjectsDatasetsEvaluationsGetCall) Header() http.Header { func (c *ProjectsDatasetsEvaluationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12366,7 +12368,7 @@ func (c *ProjectsDatasetsEvaluationsExampleComparisonsSearchCall) Header() http. func (c *ProjectsDatasetsEvaluationsExampleComparisonsSearchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12531,7 +12533,7 @@ func (c *ProjectsDatasetsImageLabelCall) Header() http.Header { func (c *ProjectsDatasetsImageLabelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12672,7 +12674,7 @@ func (c *ProjectsDatasetsTextLabelCall) Header() http.Header { func (c *ProjectsDatasetsTextLabelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12813,7 +12815,7 @@ func (c *ProjectsDatasetsVideoLabelCall) Header() http.Header { func (c *ProjectsDatasetsVideoLabelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12953,7 +12955,7 @@ func (c *ProjectsEvaluationJobsCreateCall) Header() http.Header { func (c *ProjectsEvaluationJobsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13093,7 +13095,7 @@ func (c *ProjectsEvaluationJobsDeleteCall) Header() http.Header { func (c *ProjectsEvaluationJobsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13234,7 +13236,7 @@ func (c *ProjectsEvaluationJobsGetCall) Header() http.Header { func (c *ProjectsEvaluationJobsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13409,7 +13411,7 @@ func (c *ProjectsEvaluationJobsListCall) Header() http.Header { func (c *ProjectsEvaluationJobsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13599,7 +13601,7 @@ func (c *ProjectsEvaluationJobsPatchCall) Header() http.Header { func (c *ProjectsEvaluationJobsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13748,7 +13750,7 @@ func (c *ProjectsEvaluationJobsPauseCall) Header() http.Header { func (c *ProjectsEvaluationJobsPauseCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13890,7 +13892,7 @@ func (c *ProjectsEvaluationJobsResumeCall) Header() http.Header { func (c *ProjectsEvaluationJobsResumeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14079,7 +14081,7 @@ func (c *ProjectsEvaluationsSearchCall) Header() http.Header { func (c *ProjectsEvaluationsSearchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14254,7 +14256,7 @@ func (c *ProjectsInstructionsCreateCall) Header() http.Header { func (c *ProjectsInstructionsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14392,7 +14394,7 @@ func (c *ProjectsInstructionsDeleteCall) Header() http.Header { func (c *ProjectsInstructionsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14533,7 +14535,7 @@ func (c *ProjectsInstructionsGetCall) Header() http.Header { func (c *ProjectsInstructionsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14703,7 +14705,7 @@ func (c *ProjectsInstructionsListCall) Header() http.Header { func (c *ProjectsInstructionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14896,7 +14898,7 @@ func (c *ProjectsOperationsCancelCall) Header() http.Header { func (c *ProjectsOperationsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15032,7 +15034,7 @@ func (c *ProjectsOperationsDeleteCall) Header() http.Header { func (c *ProjectsOperationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15175,7 +15177,7 @@ func (c *ProjectsOperationsGetCall) Header() http.Header { func (c *ProjectsOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15349,7 +15351,7 @@ func (c *ProjectsOperationsListCall) Header() http.Header { func (c *ProjectsOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/datamigration/v1beta1/datamigration-gen.go b/datamigration/v1beta1/datamigration-gen.go index 18985f6d758..6eda715f89d 100644 --- a/datamigration/v1beta1/datamigration-gen.go +++ b/datamigration/v1beta1/datamigration-gen.go @@ -1978,7 +1978,7 @@ func (c *ProjectsLocationsGetCall) Header() http.Header { func (c *ProjectsLocationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2144,7 +2144,7 @@ func (c *ProjectsLocationsListCall) Header() http.Header { func (c *ProjectsLocationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2335,7 +2335,7 @@ func (c *ProjectsLocationsConnectionProfilesCreateCall) Header() http.Header { func (c *ProjectsLocationsConnectionProfilesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2504,7 +2504,7 @@ func (c *ProjectsLocationsConnectionProfilesDeleteCall) Header() http.Header { func (c *ProjectsLocationsConnectionProfilesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2655,7 +2655,7 @@ func (c *ProjectsLocationsConnectionProfilesGetCall) Header() http.Header { func (c *ProjectsLocationsConnectionProfilesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2816,7 +2816,7 @@ func (c *ProjectsLocationsConnectionProfilesGetIamPolicyCall) Header() http.Head func (c *ProjectsLocationsConnectionProfilesGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3009,7 +3009,7 @@ func (c *ProjectsLocationsConnectionProfilesListCall) Header() http.Header { func (c *ProjectsLocationsConnectionProfilesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3205,7 +3205,7 @@ func (c *ProjectsLocationsConnectionProfilesPatchCall) Header() http.Header { func (c *ProjectsLocationsConnectionProfilesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3358,7 +3358,7 @@ func (c *ProjectsLocationsConnectionProfilesSetIamPolicyCall) Header() http.Head func (c *ProjectsLocationsConnectionProfilesSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3503,7 +3503,7 @@ func (c *ProjectsLocationsConnectionProfilesTestIamPermissionsCall) Header() htt func (c *ProjectsLocationsConnectionProfilesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3661,7 +3661,7 @@ func (c *ProjectsLocationsMigrationJobsCreateCall) Header() http.Header { func (c *ProjectsLocationsMigrationJobsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3829,7 +3829,7 @@ func (c *ProjectsLocationsMigrationJobsDeleteCall) Header() http.Header { func (c *ProjectsLocationsMigrationJobsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3972,7 +3972,7 @@ func (c *ProjectsLocationsMigrationJobsGenerateSshScriptCall) Header() http.Head func (c *ProjectsLocationsMigrationJobsGenerateSshScriptCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4121,7 +4121,7 @@ func (c *ProjectsLocationsMigrationJobsGetCall) Header() http.Header { func (c *ProjectsLocationsMigrationJobsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4282,7 +4282,7 @@ func (c *ProjectsLocationsMigrationJobsGetIamPolicyCall) Header() http.Header { func (c *ProjectsLocationsMigrationJobsGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4475,7 +4475,7 @@ func (c *ProjectsLocationsMigrationJobsListCall) Header() http.Header { func (c *ProjectsLocationsMigrationJobsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4671,7 +4671,7 @@ func (c *ProjectsLocationsMigrationJobsPatchCall) Header() http.Header { func (c *ProjectsLocationsMigrationJobsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4824,7 +4824,7 @@ func (c *ProjectsLocationsMigrationJobsPromoteCall) Header() http.Header { func (c *ProjectsLocationsMigrationJobsPromoteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4966,7 +4966,7 @@ func (c *ProjectsLocationsMigrationJobsRestartCall) Header() http.Header { func (c *ProjectsLocationsMigrationJobsRestartCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5107,7 +5107,7 @@ func (c *ProjectsLocationsMigrationJobsResumeCall) Header() http.Header { func (c *ProjectsLocationsMigrationJobsResumeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5249,7 +5249,7 @@ func (c *ProjectsLocationsMigrationJobsSetIamPolicyCall) Header() http.Header { func (c *ProjectsLocationsMigrationJobsSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5389,7 +5389,7 @@ func (c *ProjectsLocationsMigrationJobsStartCall) Header() http.Header { func (c *ProjectsLocationsMigrationJobsStartCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5529,7 +5529,7 @@ func (c *ProjectsLocationsMigrationJobsStopCall) Header() http.Header { func (c *ProjectsLocationsMigrationJobsStopCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5674,7 +5674,7 @@ func (c *ProjectsLocationsMigrationJobsTestIamPermissionsCall) Header() http.Hea func (c *ProjectsLocationsMigrationJobsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5815,7 +5815,7 @@ func (c *ProjectsLocationsMigrationJobsVerifyCall) Header() http.Header { func (c *ProjectsLocationsMigrationJobsVerifyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5964,7 +5964,7 @@ func (c *ProjectsLocationsOperationsCancelCall) Header() http.Header { func (c *ProjectsLocationsOperationsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6105,7 +6105,7 @@ func (c *ProjectsLocationsOperationsDeleteCall) Header() http.Header { func (c *ProjectsLocationsOperationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6248,7 +6248,7 @@ func (c *ProjectsLocationsOperationsGetCall) Header() http.Header { func (c *ProjectsLocationsOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6422,7 +6422,7 @@ func (c *ProjectsLocationsOperationsListCall) Header() http.Header { func (c *ProjectsLocationsOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/dataproc/v1/dataproc-gen.go b/dataproc/v1/dataproc-gen.go index e2d8df2d6ea..f3983abbd70 100644 --- a/dataproc/v1/dataproc-gen.go +++ b/dataproc/v1/dataproc-gen.go @@ -4185,7 +4185,7 @@ func (c *ProjectsLocationsAutoscalingPoliciesCreateCall) Header() http.Header { func (c *ProjectsLocationsAutoscalingPoliciesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4324,7 +4324,7 @@ func (c *ProjectsLocationsAutoscalingPoliciesDeleteCall) Header() http.Header { func (c *ProjectsLocationsAutoscalingPoliciesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4465,7 +4465,7 @@ func (c *ProjectsLocationsAutoscalingPoliciesGetCall) Header() http.Header { func (c *ProjectsLocationsAutoscalingPoliciesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4602,7 +4602,7 @@ func (c *ProjectsLocationsAutoscalingPoliciesGetIamPolicyCall) Header() http.Hea func (c *ProjectsLocationsAutoscalingPoliciesGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4766,7 +4766,7 @@ func (c *ProjectsLocationsAutoscalingPoliciesListCall) Header() http.Header { func (c *ProjectsLocationsAutoscalingPoliciesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4935,7 +4935,7 @@ func (c *ProjectsLocationsAutoscalingPoliciesSetIamPolicyCall) Header() http.Hea func (c *ProjectsLocationsAutoscalingPoliciesSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5080,7 +5080,7 @@ func (c *ProjectsLocationsAutoscalingPoliciesTestIamPermissionsCall) Header() ht func (c *ProjectsLocationsAutoscalingPoliciesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5221,7 +5221,7 @@ func (c *ProjectsLocationsAutoscalingPoliciesUpdateCall) Header() http.Header { func (c *ProjectsLocationsAutoscalingPoliciesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5361,7 +5361,7 @@ func (c *ProjectsLocationsWorkflowTemplatesCreateCall) Header() http.Header { func (c *ProjectsLocationsWorkflowTemplatesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5508,7 +5508,7 @@ func (c *ProjectsLocationsWorkflowTemplatesDeleteCall) Header() http.Header { func (c *ProjectsLocationsWorkflowTemplatesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5664,7 +5664,7 @@ func (c *ProjectsLocationsWorkflowTemplatesGetCall) Header() http.Header { func (c *ProjectsLocationsWorkflowTemplatesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5807,7 +5807,7 @@ func (c *ProjectsLocationsWorkflowTemplatesGetIamPolicyCall) Header() http.Heade func (c *ProjectsLocationsWorkflowTemplatesGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5958,7 +5958,7 @@ func (c *ProjectsLocationsWorkflowTemplatesInstantiateCall) Header() http.Header func (c *ProjectsLocationsWorkflowTemplatesInstantiateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6123,7 +6123,7 @@ func (c *ProjectsLocationsWorkflowTemplatesInstantiateInlineCall) Header() http. func (c *ProjectsLocationsWorkflowTemplatesInstantiateInlineCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6291,7 +6291,7 @@ func (c *ProjectsLocationsWorkflowTemplatesListCall) Header() http.Header { func (c *ProjectsLocationsWorkflowTemplatesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6460,7 +6460,7 @@ func (c *ProjectsLocationsWorkflowTemplatesSetIamPolicyCall) Header() http.Heade func (c *ProjectsLocationsWorkflowTemplatesSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6605,7 +6605,7 @@ func (c *ProjectsLocationsWorkflowTemplatesTestIamPermissionsCall) Header() http func (c *ProjectsLocationsWorkflowTemplatesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6746,7 +6746,7 @@ func (c *ProjectsLocationsWorkflowTemplatesUpdateCall) Header() http.Header { func (c *ProjectsLocationsWorkflowTemplatesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6886,7 +6886,7 @@ func (c *ProjectsRegionsAutoscalingPoliciesCreateCall) Header() http.Header { func (c *ProjectsRegionsAutoscalingPoliciesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7025,7 +7025,7 @@ func (c *ProjectsRegionsAutoscalingPoliciesDeleteCall) Header() http.Header { func (c *ProjectsRegionsAutoscalingPoliciesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7166,7 +7166,7 @@ func (c *ProjectsRegionsAutoscalingPoliciesGetCall) Header() http.Header { func (c *ProjectsRegionsAutoscalingPoliciesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7303,7 +7303,7 @@ func (c *ProjectsRegionsAutoscalingPoliciesGetIamPolicyCall) Header() http.Heade func (c *ProjectsRegionsAutoscalingPoliciesGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7467,7 +7467,7 @@ func (c *ProjectsRegionsAutoscalingPoliciesListCall) Header() http.Header { func (c *ProjectsRegionsAutoscalingPoliciesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7636,7 +7636,7 @@ func (c *ProjectsRegionsAutoscalingPoliciesSetIamPolicyCall) Header() http.Heade func (c *ProjectsRegionsAutoscalingPoliciesSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7781,7 +7781,7 @@ func (c *ProjectsRegionsAutoscalingPoliciesTestIamPermissionsCall) Header() http func (c *ProjectsRegionsAutoscalingPoliciesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7922,7 +7922,7 @@ func (c *ProjectsRegionsAutoscalingPoliciesUpdateCall) Header() http.Header { func (c *ProjectsRegionsAutoscalingPoliciesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8081,7 +8081,7 @@ func (c *ProjectsRegionsClustersCreateCall) Header() http.Header { func (c *ProjectsRegionsClustersCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8260,7 +8260,7 @@ func (c *ProjectsRegionsClustersDeleteCall) Header() http.Header { func (c *ProjectsRegionsClustersDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8427,7 +8427,7 @@ func (c *ProjectsRegionsClustersDiagnoseCall) Header() http.Header { func (c *ProjectsRegionsClustersDiagnoseCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8595,7 +8595,7 @@ func (c *ProjectsRegionsClustersGetCall) Header() http.Header { func (c *ProjectsRegionsClustersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8747,7 +8747,7 @@ func (c *ProjectsRegionsClustersGetIamPolicyCall) Header() http.Header { func (c *ProjectsRegionsClustersGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8893,7 +8893,7 @@ func (c *ProjectsRegionsClustersInjectCredentialsCall) Header() http.Header { func (c *ProjectsRegionsClustersInjectCredentialsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9095,7 +9095,7 @@ func (c *ProjectsRegionsClustersListCall) Header() http.Header { func (c *ProjectsRegionsClustersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9331,7 +9331,7 @@ func (c *ProjectsRegionsClustersPatchCall) Header() http.Header { func (c *ProjectsRegionsClustersPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9505,7 +9505,7 @@ func (c *ProjectsRegionsClustersSetIamPolicyCall) Header() http.Header { func (c *ProjectsRegionsClustersSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9650,7 +9650,7 @@ func (c *ProjectsRegionsClustersTestIamPermissionsCall) Header() http.Header { func (c *ProjectsRegionsClustersTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9799,7 +9799,7 @@ func (c *ProjectsRegionsJobsCancelCall) Header() http.Header { func (c *ProjectsRegionsJobsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9957,7 +9957,7 @@ func (c *ProjectsRegionsJobsDeleteCall) Header() http.Header { func (c *ProjectsRegionsJobsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10117,7 +10117,7 @@ func (c *ProjectsRegionsJobsGetCall) Header() http.Header { func (c *ProjectsRegionsJobsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10269,7 +10269,7 @@ func (c *ProjectsRegionsJobsGetIamPolicyCall) Header() http.Header { func (c *ProjectsRegionsJobsGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10470,7 +10470,7 @@ func (c *ProjectsRegionsJobsListCall) Header() http.Header { func (c *ProjectsRegionsJobsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10684,7 +10684,7 @@ func (c *ProjectsRegionsJobsPatchCall) Header() http.Header { func (c *ProjectsRegionsJobsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10847,7 +10847,7 @@ func (c *ProjectsRegionsJobsSetIamPolicyCall) Header() http.Header { func (c *ProjectsRegionsJobsSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10989,7 +10989,7 @@ func (c *ProjectsRegionsJobsSubmitCall) Header() http.Header { func (c *ProjectsRegionsJobsSubmitCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11138,7 +11138,7 @@ func (c *ProjectsRegionsJobsSubmitAsOperationCall) Header() http.Header { func (c *ProjectsRegionsJobsSubmitAsOperationCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11290,7 +11290,7 @@ func (c *ProjectsRegionsJobsTestIamPermissionsCall) Header() http.Header { func (c *ProjectsRegionsJobsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11437,7 +11437,7 @@ func (c *ProjectsRegionsOperationsCancelCall) Header() http.Header { func (c *ProjectsRegionsOperationsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11570,7 +11570,7 @@ func (c *ProjectsRegionsOperationsDeleteCall) Header() http.Header { func (c *ProjectsRegionsOperationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11713,7 +11713,7 @@ func (c *ProjectsRegionsOperationsGetCall) Header() http.Header { func (c *ProjectsRegionsOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11850,7 +11850,7 @@ func (c *ProjectsRegionsOperationsGetIamPolicyCall) Header() http.Header { func (c *ProjectsRegionsOperationsGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12029,7 +12029,7 @@ func (c *ProjectsRegionsOperationsListCall) Header() http.Header { func (c *ProjectsRegionsOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12203,7 +12203,7 @@ func (c *ProjectsRegionsOperationsSetIamPolicyCall) Header() http.Header { func (c *ProjectsRegionsOperationsSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12348,7 +12348,7 @@ func (c *ProjectsRegionsOperationsTestIamPermissionsCall) Header() http.Header { func (c *ProjectsRegionsOperationsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12488,7 +12488,7 @@ func (c *ProjectsRegionsWorkflowTemplatesCreateCall) Header() http.Header { func (c *ProjectsRegionsWorkflowTemplatesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12635,7 +12635,7 @@ func (c *ProjectsRegionsWorkflowTemplatesDeleteCall) Header() http.Header { func (c *ProjectsRegionsWorkflowTemplatesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12791,7 +12791,7 @@ func (c *ProjectsRegionsWorkflowTemplatesGetCall) Header() http.Header { func (c *ProjectsRegionsWorkflowTemplatesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12934,7 +12934,7 @@ func (c *ProjectsRegionsWorkflowTemplatesGetIamPolicyCall) Header() http.Header func (c *ProjectsRegionsWorkflowTemplatesGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13085,7 +13085,7 @@ func (c *ProjectsRegionsWorkflowTemplatesInstantiateCall) Header() http.Header { func (c *ProjectsRegionsWorkflowTemplatesInstantiateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13250,7 +13250,7 @@ func (c *ProjectsRegionsWorkflowTemplatesInstantiateInlineCall) Header() http.He func (c *ProjectsRegionsWorkflowTemplatesInstantiateInlineCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13418,7 +13418,7 @@ func (c *ProjectsRegionsWorkflowTemplatesListCall) Header() http.Header { func (c *ProjectsRegionsWorkflowTemplatesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13587,7 +13587,7 @@ func (c *ProjectsRegionsWorkflowTemplatesSetIamPolicyCall) Header() http.Header func (c *ProjectsRegionsWorkflowTemplatesSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13732,7 +13732,7 @@ func (c *ProjectsRegionsWorkflowTemplatesTestIamPermissionsCall) Header() http.H func (c *ProjectsRegionsWorkflowTemplatesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13873,7 +13873,7 @@ func (c *ProjectsRegionsWorkflowTemplatesUpdateCall) Header() http.Header { func (c *ProjectsRegionsWorkflowTemplatesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/dataproc/v1beta2/dataproc-gen.go b/dataproc/v1beta2/dataproc-gen.go index f59f65bd52a..7a7e272c4b9 100644 --- a/dataproc/v1beta2/dataproc-gen.go +++ b/dataproc/v1beta2/dataproc-gen.go @@ -4397,7 +4397,7 @@ func (c *ProjectsLocationsAutoscalingPoliciesCreateCall) Header() http.Header { func (c *ProjectsLocationsAutoscalingPoliciesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4536,7 +4536,7 @@ func (c *ProjectsLocationsAutoscalingPoliciesDeleteCall) Header() http.Header { func (c *ProjectsLocationsAutoscalingPoliciesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4677,7 +4677,7 @@ func (c *ProjectsLocationsAutoscalingPoliciesGetCall) Header() http.Header { func (c *ProjectsLocationsAutoscalingPoliciesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4837,7 +4837,7 @@ func (c *ProjectsLocationsAutoscalingPoliciesGetIamPolicyCall) Header() http.Hea func (c *ProjectsLocationsAutoscalingPoliciesGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5002,7 +5002,7 @@ func (c *ProjectsLocationsAutoscalingPoliciesListCall) Header() http.Header { func (c *ProjectsLocationsAutoscalingPoliciesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5171,7 +5171,7 @@ func (c *ProjectsLocationsAutoscalingPoliciesSetIamPolicyCall) Header() http.Hea func (c *ProjectsLocationsAutoscalingPoliciesSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5316,7 +5316,7 @@ func (c *ProjectsLocationsAutoscalingPoliciesTestIamPermissionsCall) Header() ht func (c *ProjectsLocationsAutoscalingPoliciesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5457,7 +5457,7 @@ func (c *ProjectsLocationsAutoscalingPoliciesUpdateCall) Header() http.Header { func (c *ProjectsLocationsAutoscalingPoliciesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5597,7 +5597,7 @@ func (c *ProjectsLocationsWorkflowTemplatesCreateCall) Header() http.Header { func (c *ProjectsLocationsWorkflowTemplatesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5744,7 +5744,7 @@ func (c *ProjectsLocationsWorkflowTemplatesDeleteCall) Header() http.Header { func (c *ProjectsLocationsWorkflowTemplatesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5900,7 +5900,7 @@ func (c *ProjectsLocationsWorkflowTemplatesGetCall) Header() http.Header { func (c *ProjectsLocationsWorkflowTemplatesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6066,7 +6066,7 @@ func (c *ProjectsLocationsWorkflowTemplatesGetIamPolicyCall) Header() http.Heade func (c *ProjectsLocationsWorkflowTemplatesGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6218,7 +6218,7 @@ func (c *ProjectsLocationsWorkflowTemplatesInstantiateCall) Header() http.Header func (c *ProjectsLocationsWorkflowTemplatesInstantiateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6390,7 +6390,7 @@ func (c *ProjectsLocationsWorkflowTemplatesInstantiateInlineCall) Header() http. func (c *ProjectsLocationsWorkflowTemplatesInstantiateInlineCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6563,7 +6563,7 @@ func (c *ProjectsLocationsWorkflowTemplatesListCall) Header() http.Header { func (c *ProjectsLocationsWorkflowTemplatesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6732,7 +6732,7 @@ func (c *ProjectsLocationsWorkflowTemplatesSetIamPolicyCall) Header() http.Heade func (c *ProjectsLocationsWorkflowTemplatesSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6877,7 +6877,7 @@ func (c *ProjectsLocationsWorkflowTemplatesTestIamPermissionsCall) Header() http func (c *ProjectsLocationsWorkflowTemplatesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7018,7 +7018,7 @@ func (c *ProjectsLocationsWorkflowTemplatesUpdateCall) Header() http.Header { func (c *ProjectsLocationsWorkflowTemplatesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7158,7 +7158,7 @@ func (c *ProjectsRegionsAutoscalingPoliciesCreateCall) Header() http.Header { func (c *ProjectsRegionsAutoscalingPoliciesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7297,7 +7297,7 @@ func (c *ProjectsRegionsAutoscalingPoliciesDeleteCall) Header() http.Header { func (c *ProjectsRegionsAutoscalingPoliciesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7438,7 +7438,7 @@ func (c *ProjectsRegionsAutoscalingPoliciesGetCall) Header() http.Header { func (c *ProjectsRegionsAutoscalingPoliciesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7598,7 +7598,7 @@ func (c *ProjectsRegionsAutoscalingPoliciesGetIamPolicyCall) Header() http.Heade func (c *ProjectsRegionsAutoscalingPoliciesGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7763,7 +7763,7 @@ func (c *ProjectsRegionsAutoscalingPoliciesListCall) Header() http.Header { func (c *ProjectsRegionsAutoscalingPoliciesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7932,7 +7932,7 @@ func (c *ProjectsRegionsAutoscalingPoliciesSetIamPolicyCall) Header() http.Heade func (c *ProjectsRegionsAutoscalingPoliciesSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8077,7 +8077,7 @@ func (c *ProjectsRegionsAutoscalingPoliciesTestIamPermissionsCall) Header() http func (c *ProjectsRegionsAutoscalingPoliciesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8218,7 +8218,7 @@ func (c *ProjectsRegionsAutoscalingPoliciesUpdateCall) Header() http.Header { func (c *ProjectsRegionsAutoscalingPoliciesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8377,7 +8377,7 @@ func (c *ProjectsRegionsClustersCreateCall) Header() http.Header { func (c *ProjectsRegionsClustersCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8556,7 +8556,7 @@ func (c *ProjectsRegionsClustersDeleteCall) Header() http.Header { func (c *ProjectsRegionsClustersDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8721,7 +8721,7 @@ func (c *ProjectsRegionsClustersDiagnoseCall) Header() http.Header { func (c *ProjectsRegionsClustersDiagnoseCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8889,7 +8889,7 @@ func (c *ProjectsRegionsClustersGetCall) Header() http.Header { func (c *ProjectsRegionsClustersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9064,7 +9064,7 @@ func (c *ProjectsRegionsClustersGetIamPolicyCall) Header() http.Header { func (c *ProjectsRegionsClustersGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9211,7 +9211,7 @@ func (c *ProjectsRegionsClustersInjectCredentialsCall) Header() http.Header { func (c *ProjectsRegionsClustersInjectCredentialsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9413,7 +9413,7 @@ func (c *ProjectsRegionsClustersListCall) Header() http.Header { func (c *ProjectsRegionsClustersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9652,7 +9652,7 @@ func (c *ProjectsRegionsClustersPatchCall) Header() http.Header { func (c *ProjectsRegionsClustersPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9826,7 +9826,7 @@ func (c *ProjectsRegionsClustersSetIamPolicyCall) Header() http.Header { func (c *ProjectsRegionsClustersSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9970,7 +9970,7 @@ func (c *ProjectsRegionsClustersStartCall) Header() http.Header { func (c *ProjectsRegionsClustersStartCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10129,7 +10129,7 @@ func (c *ProjectsRegionsClustersStopCall) Header() http.Header { func (c *ProjectsRegionsClustersStopCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10289,7 +10289,7 @@ func (c *ProjectsRegionsClustersTestIamPermissionsCall) Header() http.Header { func (c *ProjectsRegionsClustersTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10438,7 +10438,7 @@ func (c *ProjectsRegionsJobsCancelCall) Header() http.Header { func (c *ProjectsRegionsJobsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10596,7 +10596,7 @@ func (c *ProjectsRegionsJobsDeleteCall) Header() http.Header { func (c *ProjectsRegionsJobsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10756,7 +10756,7 @@ func (c *ProjectsRegionsJobsGetCall) Header() http.Header { func (c *ProjectsRegionsJobsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10931,7 +10931,7 @@ func (c *ProjectsRegionsJobsGetIamPolicyCall) Header() http.Header { func (c *ProjectsRegionsJobsGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11133,7 +11133,7 @@ func (c *ProjectsRegionsJobsListCall) Header() http.Header { func (c *ProjectsRegionsJobsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11347,7 +11347,7 @@ func (c *ProjectsRegionsJobsPatchCall) Header() http.Header { func (c *ProjectsRegionsJobsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11510,7 +11510,7 @@ func (c *ProjectsRegionsJobsSetIamPolicyCall) Header() http.Header { func (c *ProjectsRegionsJobsSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11652,7 +11652,7 @@ func (c *ProjectsRegionsJobsSubmitCall) Header() http.Header { func (c *ProjectsRegionsJobsSubmitCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11801,7 +11801,7 @@ func (c *ProjectsRegionsJobsSubmitAsOperationCall) Header() http.Header { func (c *ProjectsRegionsJobsSubmitAsOperationCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11953,7 +11953,7 @@ func (c *ProjectsRegionsJobsTestIamPermissionsCall) Header() http.Header { func (c *ProjectsRegionsJobsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12100,7 +12100,7 @@ func (c *ProjectsRegionsOperationsCancelCall) Header() http.Header { func (c *ProjectsRegionsOperationsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12233,7 +12233,7 @@ func (c *ProjectsRegionsOperationsDeleteCall) Header() http.Header { func (c *ProjectsRegionsOperationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12376,7 +12376,7 @@ func (c *ProjectsRegionsOperationsGetCall) Header() http.Header { func (c *ProjectsRegionsOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12536,7 +12536,7 @@ func (c *ProjectsRegionsOperationsGetIamPolicyCall) Header() http.Header { func (c *ProjectsRegionsOperationsGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12716,7 +12716,7 @@ func (c *ProjectsRegionsOperationsListCall) Header() http.Header { func (c *ProjectsRegionsOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12890,7 +12890,7 @@ func (c *ProjectsRegionsOperationsSetIamPolicyCall) Header() http.Header { func (c *ProjectsRegionsOperationsSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13035,7 +13035,7 @@ func (c *ProjectsRegionsOperationsTestIamPermissionsCall) Header() http.Header { func (c *ProjectsRegionsOperationsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13175,7 +13175,7 @@ func (c *ProjectsRegionsWorkflowTemplatesCreateCall) Header() http.Header { func (c *ProjectsRegionsWorkflowTemplatesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13322,7 +13322,7 @@ func (c *ProjectsRegionsWorkflowTemplatesDeleteCall) Header() http.Header { func (c *ProjectsRegionsWorkflowTemplatesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13478,7 +13478,7 @@ func (c *ProjectsRegionsWorkflowTemplatesGetCall) Header() http.Header { func (c *ProjectsRegionsWorkflowTemplatesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13644,7 +13644,7 @@ func (c *ProjectsRegionsWorkflowTemplatesGetIamPolicyCall) Header() http.Header func (c *ProjectsRegionsWorkflowTemplatesGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13796,7 +13796,7 @@ func (c *ProjectsRegionsWorkflowTemplatesInstantiateCall) Header() http.Header { func (c *ProjectsRegionsWorkflowTemplatesInstantiateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13968,7 +13968,7 @@ func (c *ProjectsRegionsWorkflowTemplatesInstantiateInlineCall) Header() http.He func (c *ProjectsRegionsWorkflowTemplatesInstantiateInlineCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14141,7 +14141,7 @@ func (c *ProjectsRegionsWorkflowTemplatesListCall) Header() http.Header { func (c *ProjectsRegionsWorkflowTemplatesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14310,7 +14310,7 @@ func (c *ProjectsRegionsWorkflowTemplatesSetIamPolicyCall) Header() http.Header func (c *ProjectsRegionsWorkflowTemplatesSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14455,7 +14455,7 @@ func (c *ProjectsRegionsWorkflowTemplatesTestIamPermissionsCall) Header() http.H func (c *ProjectsRegionsWorkflowTemplatesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14596,7 +14596,7 @@ func (c *ProjectsRegionsWorkflowTemplatesUpdateCall) Header() http.Header { func (c *ProjectsRegionsWorkflowTemplatesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/datastore/v1beta1/datastore-gen.go b/datastore/v1beta1/datastore-gen.go index b1e40ee55ec..38742908603 100644 --- a/datastore/v1beta1/datastore-gen.go +++ b/datastore/v1beta1/datastore-gen.go @@ -979,7 +979,7 @@ func (c *ProjectsExportCall) Header() http.Header { func (c *ProjectsExportCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1124,7 +1124,7 @@ func (c *ProjectsImportCall) Header() http.Header { func (c *ProjectsImportCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/deploymentmanager/v0.alpha/deploymentmanager-gen.go b/deploymentmanager/v0.alpha/deploymentmanager-gen.go index 73282c77c72..6a3c9669aff 100644 --- a/deploymentmanager/v0.alpha/deploymentmanager-gen.go +++ b/deploymentmanager/v0.alpha/deploymentmanager-gen.go @@ -3234,7 +3234,7 @@ func (c *CompositeTypesDeleteCall) Header() http.Header { func (c *CompositeTypesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3387,7 +3387,7 @@ func (c *CompositeTypesGetCall) Header() http.Header { func (c *CompositeTypesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3534,7 +3534,7 @@ func (c *CompositeTypesInsertCall) Header() http.Header { func (c *CompositeTypesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3740,7 +3740,7 @@ func (c *CompositeTypesListCall) Header() http.Header { func (c *CompositeTypesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3924,7 +3924,7 @@ func (c *CompositeTypesPatchCall) Header() http.Header { func (c *CompositeTypesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4076,7 +4076,7 @@ func (c *CompositeTypesUpdateCall) Header() http.Header { func (c *CompositeTypesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4229,7 +4229,7 @@ func (c *DeploymentsCancelPreviewCall) Header() http.Header { func (c *DeploymentsCancelPreviewCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4391,7 +4391,7 @@ func (c *DeploymentsDeleteCall) Header() http.Header { func (c *DeploymentsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4557,7 +4557,7 @@ func (c *DeploymentsGetCall) Header() http.Header { func (c *DeploymentsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4723,7 +4723,7 @@ func (c *DeploymentsGetIamPolicyCall) Header() http.Header { func (c *DeploymentsGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4901,7 +4901,7 @@ func (c *DeploymentsInsertCall) Header() http.Header { func (c *DeploymentsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5128,7 +5128,7 @@ func (c *DeploymentsListCall) Header() http.Header { func (c *DeploymentsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5352,7 +5352,7 @@ func (c *DeploymentsPatchCall) Header() http.Header { func (c *DeploymentsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5541,7 +5541,7 @@ func (c *DeploymentsSetIamPolicyCall) Header() http.Header { func (c *DeploymentsSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5695,7 +5695,7 @@ func (c *DeploymentsStopCall) Header() http.Header { func (c *DeploymentsStopCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5848,7 +5848,7 @@ func (c *DeploymentsTestIamPermissionsCall) Header() http.Header { func (c *DeploymentsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6040,7 +6040,7 @@ func (c *DeploymentsUpdateCall) Header() http.Header { func (c *DeploymentsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6239,7 +6239,7 @@ func (c *ManifestsGetCall) Header() http.Header { func (c *ManifestsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6462,7 +6462,7 @@ func (c *ManifestsListCall) Header() http.Header { func (c *ManifestsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6664,7 +6664,7 @@ func (c *OperationsGetCall) Header() http.Header { func (c *OperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6875,7 +6875,7 @@ func (c *OperationsListCall) Header() http.Header { func (c *OperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7070,7 +7070,7 @@ func (c *ResourcesGetCall) Header() http.Header { func (c *ResourcesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7292,7 +7292,7 @@ func (c *ResourcesListCall) Header() http.Header { func (c *ResourcesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7483,7 +7483,7 @@ func (c *TypeProvidersDeleteCall) Header() http.Header { func (c *TypeProvidersDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7636,7 +7636,7 @@ func (c *TypeProvidersGetCall) Header() http.Header { func (c *TypeProvidersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7796,7 +7796,7 @@ func (c *TypeProvidersGetTypeCall) Header() http.Header { func (c *TypeProvidersGetTypeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7951,7 +7951,7 @@ func (c *TypeProvidersInsertCall) Header() http.Header { func (c *TypeProvidersInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8157,7 +8157,7 @@ func (c *TypeProvidersListCall) Header() http.Header { func (c *TypeProvidersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8406,7 +8406,7 @@ func (c *TypeProvidersListTypesCall) Header() http.Header { func (c *TypeProvidersListTypesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8599,7 +8599,7 @@ func (c *TypeProvidersPatchCall) Header() http.Header { func (c *TypeProvidersPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8751,7 +8751,7 @@ func (c *TypeProvidersUpdateCall) Header() http.Header { func (c *TypeProvidersUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8912,7 +8912,7 @@ func (c *TypesGetCall) Header() http.Header { func (c *TypesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9124,7 +9124,7 @@ func (c *TypesListCall) Header() http.Header { func (c *TypesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/deploymentmanager/v2/deploymentmanager-gen.go b/deploymentmanager/v2/deploymentmanager-gen.go index 42fc73c0a29..595dbb15be5 100644 --- a/deploymentmanager/v2/deploymentmanager-gen.go +++ b/deploymentmanager/v2/deploymentmanager-gen.go @@ -2151,7 +2151,7 @@ func (c *DeploymentsCancelPreviewCall) Header() http.Header { func (c *DeploymentsCancelPreviewCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2313,7 +2313,7 @@ func (c *DeploymentsDeleteCall) Header() http.Header { func (c *DeploymentsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2479,7 +2479,7 @@ func (c *DeploymentsGetCall) Header() http.Header { func (c *DeploymentsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2645,7 +2645,7 @@ func (c *DeploymentsGetIamPolicyCall) Header() http.Header { func (c *DeploymentsGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2822,7 +2822,7 @@ func (c *DeploymentsInsertCall) Header() http.Header { func (c *DeploymentsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3047,7 +3047,7 @@ func (c *DeploymentsListCall) Header() http.Header { func (c *DeploymentsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3270,7 +3270,7 @@ func (c *DeploymentsPatchCall) Header() http.Header { func (c *DeploymentsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3457,7 +3457,7 @@ func (c *DeploymentsSetIamPolicyCall) Header() http.Header { func (c *DeploymentsSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3611,7 +3611,7 @@ func (c *DeploymentsStopCall) Header() http.Header { func (c *DeploymentsStopCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3764,7 +3764,7 @@ func (c *DeploymentsTestIamPermissionsCall) Header() http.Header { func (c *DeploymentsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3955,7 +3955,7 @@ func (c *DeploymentsUpdateCall) Header() http.Header { func (c *DeploymentsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4152,7 +4152,7 @@ func (c *ManifestsGetCall) Header() http.Header { func (c *ManifestsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4375,7 +4375,7 @@ func (c *ManifestsListCall) Header() http.Header { func (c *ManifestsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4577,7 +4577,7 @@ func (c *OperationsGetCall) Header() http.Header { func (c *OperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4788,7 +4788,7 @@ func (c *OperationsListCall) Header() http.Header { func (c *OperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4983,7 +4983,7 @@ func (c *ResourcesGetCall) Header() http.Header { func (c *ResourcesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5205,7 +5205,7 @@ func (c *ResourcesListCall) Header() http.Header { func (c *ResourcesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5461,7 +5461,7 @@ func (c *TypesListCall) Header() http.Header { func (c *TypesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/deploymentmanager/v2beta/deploymentmanager-gen.go b/deploymentmanager/v2beta/deploymentmanager-gen.go index f03007c11da..91142b727ff 100644 --- a/deploymentmanager/v2beta/deploymentmanager-gen.go +++ b/deploymentmanager/v2beta/deploymentmanager-gen.go @@ -3108,7 +3108,7 @@ func (c *CompositeTypesDeleteCall) Header() http.Header { func (c *CompositeTypesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3261,7 +3261,7 @@ func (c *CompositeTypesGetCall) Header() http.Header { func (c *CompositeTypesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3408,7 +3408,7 @@ func (c *CompositeTypesInsertCall) Header() http.Header { func (c *CompositeTypesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3614,7 +3614,7 @@ func (c *CompositeTypesListCall) Header() http.Header { func (c *CompositeTypesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3798,7 +3798,7 @@ func (c *CompositeTypesPatchCall) Header() http.Header { func (c *CompositeTypesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3950,7 +3950,7 @@ func (c *CompositeTypesUpdateCall) Header() http.Header { func (c *CompositeTypesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4103,7 +4103,7 @@ func (c *DeploymentsCancelPreviewCall) Header() http.Header { func (c *DeploymentsCancelPreviewCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4265,7 +4265,7 @@ func (c *DeploymentsDeleteCall) Header() http.Header { func (c *DeploymentsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4431,7 +4431,7 @@ func (c *DeploymentsGetCall) Header() http.Header { func (c *DeploymentsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4597,7 +4597,7 @@ func (c *DeploymentsGetIamPolicyCall) Header() http.Header { func (c *DeploymentsGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4775,7 +4775,7 @@ func (c *DeploymentsInsertCall) Header() http.Header { func (c *DeploymentsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5002,7 +5002,7 @@ func (c *DeploymentsListCall) Header() http.Header { func (c *DeploymentsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5226,7 +5226,7 @@ func (c *DeploymentsPatchCall) Header() http.Header { func (c *DeploymentsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5415,7 +5415,7 @@ func (c *DeploymentsSetIamPolicyCall) Header() http.Header { func (c *DeploymentsSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5569,7 +5569,7 @@ func (c *DeploymentsStopCall) Header() http.Header { func (c *DeploymentsStopCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5722,7 +5722,7 @@ func (c *DeploymentsTestIamPermissionsCall) Header() http.Header { func (c *DeploymentsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5914,7 +5914,7 @@ func (c *DeploymentsUpdateCall) Header() http.Header { func (c *DeploymentsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6113,7 +6113,7 @@ func (c *ManifestsGetCall) Header() http.Header { func (c *ManifestsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6336,7 +6336,7 @@ func (c *ManifestsListCall) Header() http.Header { func (c *ManifestsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6538,7 +6538,7 @@ func (c *OperationsGetCall) Header() http.Header { func (c *OperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6749,7 +6749,7 @@ func (c *OperationsListCall) Header() http.Header { func (c *OperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6944,7 +6944,7 @@ func (c *ResourcesGetCall) Header() http.Header { func (c *ResourcesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7166,7 +7166,7 @@ func (c *ResourcesListCall) Header() http.Header { func (c *ResourcesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7357,7 +7357,7 @@ func (c *TypeProvidersDeleteCall) Header() http.Header { func (c *TypeProvidersDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7510,7 +7510,7 @@ func (c *TypeProvidersGetCall) Header() http.Header { func (c *TypeProvidersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7670,7 +7670,7 @@ func (c *TypeProvidersGetTypeCall) Header() http.Header { func (c *TypeProvidersGetTypeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7825,7 +7825,7 @@ func (c *TypeProvidersInsertCall) Header() http.Header { func (c *TypeProvidersInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8031,7 +8031,7 @@ func (c *TypeProvidersListCall) Header() http.Header { func (c *TypeProvidersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8280,7 +8280,7 @@ func (c *TypeProvidersListTypesCall) Header() http.Header { func (c *TypeProvidersListTypesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8473,7 +8473,7 @@ func (c *TypeProvidersPatchCall) Header() http.Header { func (c *TypeProvidersPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8625,7 +8625,7 @@ func (c *TypeProvidersUpdateCall) Header() http.Header { func (c *TypeProvidersUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8840,7 +8840,7 @@ func (c *TypesListCall) Header() http.Header { func (c *TypesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/dfareporting/v3.3/dfareporting-gen.go b/dfareporting/v3.3/dfareporting-gen.go index 858a1ef0d54..b3983d56bda 100644 --- a/dfareporting/v3.3/dfareporting-gen.go +++ b/dfareporting/v3.3/dfareporting-gen.go @@ -14083,7 +14083,7 @@ func (c *AccountActiveAdSummariesGetCall) Header() http.Header { func (c *AccountActiveAdSummariesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14238,7 +14238,7 @@ func (c *AccountPermissionGroupsGetCall) Header() http.Header { func (c *AccountPermissionGroupsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14391,7 +14391,7 @@ func (c *AccountPermissionGroupsListCall) Header() http.Header { func (c *AccountPermissionGroupsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14538,7 +14538,7 @@ func (c *AccountPermissionsGetCall) Header() http.Header { func (c *AccountPermissionsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14691,7 +14691,7 @@ func (c *AccountPermissionsListCall) Header() http.Header { func (c *AccountPermissionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14837,7 +14837,7 @@ func (c *AccountUserProfilesGetCall) Header() http.Header { func (c *AccountUserProfilesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14981,7 +14981,7 @@ func (c *AccountUserProfilesInsertCall) Header() http.Header { func (c *AccountUserProfilesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15213,7 +15213,7 @@ func (c *AccountUserProfilesListCall) Header() http.Header { func (c *AccountUserProfilesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15442,7 +15442,7 @@ func (c *AccountUserProfilesPatchCall) Header() http.Header { func (c *AccountUserProfilesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15590,7 +15590,7 @@ func (c *AccountUserProfilesUpdateCall) Header() http.Header { func (c *AccountUserProfilesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15741,7 +15741,7 @@ func (c *AccountsGetCall) Header() http.Header { func (c *AccountsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15963,7 +15963,7 @@ func (c *AccountsListCall) Header() http.Header { func (c *AccountsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16180,7 +16180,7 @@ func (c *AccountsPatchCall) Header() http.Header { func (c *AccountsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16328,7 +16328,7 @@ func (c *AccountsUpdateCall) Header() http.Header { func (c *AccountsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16479,7 +16479,7 @@ func (c *AdsGetCall) Header() http.Header { func (c *AdsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16623,7 +16623,7 @@ func (c *AdsInsertCall) Header() http.Header { func (c *AdsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17008,7 +17008,7 @@ func (c *AdsListCall) Header() http.Header { func (c *AdsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17353,7 +17353,7 @@ func (c *AdsPatchCall) Header() http.Header { func (c *AdsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17501,7 +17501,7 @@ func (c *AdsUpdateCall) Header() http.Header { func (c *AdsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17641,7 +17641,7 @@ func (c *AdvertiserGroupsDeleteCall) Header() http.Header { func (c *AdvertiserGroupsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17765,7 +17765,7 @@ func (c *AdvertiserGroupsGetCall) Header() http.Header { func (c *AdvertiserGroupsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17909,7 +17909,7 @@ func (c *AdvertiserGroupsInsertCall) Header() http.Header { func (c *AdvertiserGroupsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18120,7 +18120,7 @@ func (c *AdvertiserGroupsListCall) Header() http.Header { func (c *AdvertiserGroupsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18332,7 +18332,7 @@ func (c *AdvertiserGroupsPatchCall) Header() http.Header { func (c *AdvertiserGroupsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18480,7 +18480,7 @@ func (c *AdvertiserGroupsUpdateCall) Header() http.Header { func (c *AdvertiserGroupsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18631,7 +18631,7 @@ func (c *AdvertiserLandingPagesGetCall) Header() http.Header { func (c *AdvertiserLandingPagesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18775,7 +18775,7 @@ func (c *AdvertiserLandingPagesInsertCall) Header() http.Header { func (c *AdvertiserLandingPagesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19021,7 +19021,7 @@ func (c *AdvertiserLandingPagesListCall) Header() http.Header { func (c *AdvertiserLandingPagesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19259,7 +19259,7 @@ func (c *AdvertiserLandingPagesPatchCall) Header() http.Header { func (c *AdvertiserLandingPagesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19407,7 +19407,7 @@ func (c *AdvertiserLandingPagesUpdateCall) Header() http.Header { func (c *AdvertiserLandingPagesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19558,7 +19558,7 @@ func (c *AdvertisersGetCall) Header() http.Header { func (c *AdvertisersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19702,7 +19702,7 @@ func (c *AdvertisersInsertCall) Header() http.Header { func (c *AdvertisersInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19968,7 +19968,7 @@ func (c *AdvertisersListCall) Header() http.Header { func (c *AdvertisersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -20223,7 +20223,7 @@ func (c *AdvertisersPatchCall) Header() http.Header { func (c *AdvertisersPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -20371,7 +20371,7 @@ func (c *AdvertisersUpdateCall) Header() http.Header { func (c *AdvertisersUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -20520,7 +20520,7 @@ func (c *BrowsersListCall) Header() http.Header { func (c *BrowsersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -20659,7 +20659,7 @@ func (c *CampaignCreativeAssociationsInsertCall) Header() http.Header { func (c *CampaignCreativeAssociationsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -20845,7 +20845,7 @@ func (c *CampaignCreativeAssociationsListCall) Header() http.Header { func (c *CampaignCreativeAssociationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21051,7 +21051,7 @@ func (c *CampaignsGetCall) Header() http.Header { func (c *CampaignsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21195,7 +21195,7 @@ func (c *CampaignsInsertCall) Header() http.Header { func (c *CampaignsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21470,7 +21470,7 @@ func (c *CampaignsListCall) Header() http.Header { func (c *CampaignsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21725,7 +21725,7 @@ func (c *CampaignsPatchCall) Header() http.Header { func (c *CampaignsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21873,7 +21873,7 @@ func (c *CampaignsUpdateCall) Header() http.Header { func (c *CampaignsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -22024,7 +22024,7 @@ func (c *ChangeLogsGetCall) Header() http.Header { func (c *ChangeLogsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -22333,7 +22333,7 @@ func (c *ChangeLogsListCall) Header() http.Header { func (c *ChangeLogsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -22720,7 +22720,7 @@ func (c *CitiesListCall) Header() http.Header { func (c *CitiesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -22892,7 +22892,7 @@ func (c *ConnectionTypesGetCall) Header() http.Header { func (c *ConnectionTypesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -23045,7 +23045,7 @@ func (c *ConnectionTypesListCall) Header() http.Header { func (c *ConnectionTypesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -23180,7 +23180,7 @@ func (c *ContentCategoriesDeleteCall) Header() http.Header { func (c *ContentCategoriesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -23304,7 +23304,7 @@ func (c *ContentCategoriesGetCall) Header() http.Header { func (c *ContentCategoriesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -23448,7 +23448,7 @@ func (c *ContentCategoriesInsertCall) Header() http.Header { func (c *ContentCategoriesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -23659,7 +23659,7 @@ func (c *ContentCategoriesListCall) Header() http.Header { func (c *ContentCategoriesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -23871,7 +23871,7 @@ func (c *ContentCategoriesPatchCall) Header() http.Header { func (c *ContentCategoriesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -24019,7 +24019,7 @@ func (c *ContentCategoriesUpdateCall) Header() http.Header { func (c *ContentCategoriesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -24159,7 +24159,7 @@ func (c *ConversionsBatchinsertCall) Header() http.Header { func (c *ConversionsBatchinsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -24299,7 +24299,7 @@ func (c *ConversionsBatchupdateCall) Header() http.Header { func (c *ConversionsBatchupdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -24450,7 +24450,7 @@ func (c *CountriesGetCall) Header() http.Header { func (c *CountriesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -24603,7 +24603,7 @@ func (c *CountriesListCall) Header() http.Header { func (c *CountriesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -24780,7 +24780,7 @@ func (c *CreativeAssetsInsertCall) Header() http.Header { func (c *CreativeAssetsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -24972,7 +24972,7 @@ func (c *CreativeFieldValuesDeleteCall) Header() http.Header { func (c *CreativeFieldValuesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -25107,7 +25107,7 @@ func (c *CreativeFieldValuesGetCall) Header() http.Header { func (c *CreativeFieldValuesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -25262,7 +25262,7 @@ func (c *CreativeFieldValuesInsertCall) Header() http.Header { func (c *CreativeFieldValuesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -25478,7 +25478,7 @@ func (c *CreativeFieldValuesListCall) Header() http.Header { func (c *CreativeFieldValuesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -25701,7 +25701,7 @@ func (c *CreativeFieldValuesPatchCall) Header() http.Header { func (c *CreativeFieldValuesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -25860,7 +25860,7 @@ func (c *CreativeFieldValuesUpdateCall) Header() http.Header { func (c *CreativeFieldValuesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -26009,7 +26009,7 @@ func (c *CreativeFieldsDeleteCall) Header() http.Header { func (c *CreativeFieldsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -26133,7 +26133,7 @@ func (c *CreativeFieldsGetCall) Header() http.Header { func (c *CreativeFieldsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -26277,7 +26277,7 @@ func (c *CreativeFieldsInsertCall) Header() http.Header { func (c *CreativeFieldsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -26499,7 +26499,7 @@ func (c *CreativeFieldsListCall) Header() http.Header { func (c *CreativeFieldsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -26718,7 +26718,7 @@ func (c *CreativeFieldsPatchCall) Header() http.Header { func (c *CreativeFieldsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -26866,7 +26866,7 @@ func (c *CreativeFieldsUpdateCall) Header() http.Header { func (c *CreativeFieldsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -27017,7 +27017,7 @@ func (c *CreativeGroupsGetCall) Header() http.Header { func (c *CreativeGroupsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -27161,7 +27161,7 @@ func (c *CreativeGroupsInsertCall) Header() http.Header { func (c *CreativeGroupsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -27390,7 +27390,7 @@ func (c *CreativeGroupsListCall) Header() http.Header { func (c *CreativeGroupsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -27617,7 +27617,7 @@ func (c *CreativeGroupsPatchCall) Header() http.Header { func (c *CreativeGroupsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -27765,7 +27765,7 @@ func (c *CreativeGroupsUpdateCall) Header() http.Header { func (c *CreativeGroupsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -27916,7 +27916,7 @@ func (c *CreativesGetCall) Header() http.Header { func (c *CreativesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -28060,7 +28060,7 @@ func (c *CreativesInsertCall) Header() http.Header { func (c *CreativesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -28384,7 +28384,7 @@ func (c *CreativesListCall) Header() http.Header { func (c *CreativesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -28712,7 +28712,7 @@ func (c *CreativesPatchCall) Header() http.Header { func (c *CreativesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -28860,7 +28860,7 @@ func (c *CreativesUpdateCall) Header() http.Header { func (c *CreativesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -29015,7 +29015,7 @@ func (c *DimensionValuesQueryCall) Header() http.Header { func (c *DimensionValuesQueryCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -29201,7 +29201,7 @@ func (c *DirectorySitesGetCall) Header() http.Header { func (c *DirectorySitesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -29345,7 +29345,7 @@ func (c *DirectorySitesInsertCall) Header() http.Header { func (c *DirectorySitesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -29595,7 +29595,7 @@ func (c *DirectorySitesListCall) Header() http.Header { func (c *DirectorySitesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -29832,7 +29832,7 @@ func (c *DynamicTargetingKeysDeleteCall) Header() http.Header { func (c *DynamicTargetingKeysDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -29975,7 +29975,7 @@ func (c *DynamicTargetingKeysInsertCall) Header() http.Header { func (c *DynamicTargetingKeysInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -30158,7 +30158,7 @@ func (c *DynamicTargetingKeysListCall) Header() http.Header { func (c *DynamicTargetingKeysListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -30328,7 +30328,7 @@ func (c *EventTagsDeleteCall) Header() http.Header { func (c *EventTagsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -30452,7 +30452,7 @@ func (c *EventTagsGetCall) Header() http.Header { func (c *EventTagsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -30596,7 +30596,7 @@ func (c *EventTagsInsertCall) Header() http.Header { func (c *EventTagsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -30853,7 +30853,7 @@ func (c *EventTagsListCall) Header() http.Header { func (c *EventTagsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -31074,7 +31074,7 @@ func (c *EventTagsPatchCall) Header() http.Header { func (c *EventTagsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -31222,7 +31222,7 @@ func (c *EventTagsUpdateCall) Header() http.Header { func (c *EventTagsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -31374,7 +31374,7 @@ func (c *FilesGetCall) Header() http.Header { func (c *FilesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -31592,7 +31592,7 @@ func (c *FilesListCall) Header() http.Header { func (c *FilesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -31806,7 +31806,7 @@ func (c *FloodlightActivitiesDeleteCall) Header() http.Header { func (c *FloodlightActivitiesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -31925,7 +31925,7 @@ func (c *FloodlightActivitiesGeneratetagCall) Header() http.Header { func (c *FloodlightActivitiesGeneratetagCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -32075,7 +32075,7 @@ func (c *FloodlightActivitiesGetCall) Header() http.Header { func (c *FloodlightActivitiesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -32219,7 +32219,7 @@ func (c *FloodlightActivitiesInsertCall) Header() http.Header { func (c *FloodlightActivitiesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -32496,7 +32496,7 @@ func (c *FloodlightActivitiesListCall) Header() http.Header { func (c *FloodlightActivitiesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -32755,7 +32755,7 @@ func (c *FloodlightActivitiesPatchCall) Header() http.Header { func (c *FloodlightActivitiesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -32903,7 +32903,7 @@ func (c *FloodlightActivitiesUpdateCall) Header() http.Header { func (c *FloodlightActivitiesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -33054,7 +33054,7 @@ func (c *FloodlightActivityGroupsGetCall) Header() http.Header { func (c *FloodlightActivityGroupsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -33198,7 +33198,7 @@ func (c *FloodlightActivityGroupsInsertCall) Header() http.Header { func (c *FloodlightActivityGroupsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -33440,7 +33440,7 @@ func (c *FloodlightActivityGroupsListCall) Header() http.Header { func (c *FloodlightActivityGroupsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -33678,7 +33678,7 @@ func (c *FloodlightActivityGroupsPatchCall) Header() http.Header { func (c *FloodlightActivityGroupsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -33826,7 +33826,7 @@ func (c *FloodlightActivityGroupsUpdateCall) Header() http.Header { func (c *FloodlightActivityGroupsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -33977,7 +33977,7 @@ func (c *FloodlightConfigurationsGetCall) Header() http.Header { func (c *FloodlightConfigurationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -34143,7 +34143,7 @@ func (c *FloodlightConfigurationsListCall) Header() http.Header { func (c *FloodlightConfigurationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -34288,7 +34288,7 @@ func (c *FloodlightConfigurationsPatchCall) Header() http.Header { func (c *FloodlightConfigurationsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -34436,7 +34436,7 @@ func (c *FloodlightConfigurationsUpdateCall) Header() http.Header { func (c *FloodlightConfigurationsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -34589,7 +34589,7 @@ func (c *InventoryItemsGetCall) Header() http.Header { func (c *InventoryItemsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -34841,7 +34841,7 @@ func (c *InventoryItemsListCall) Header() http.Header { func (c *InventoryItemsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -35096,7 +35096,7 @@ func (c *LanguagesListCall) Header() http.Header { func (c *LanguagesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -35240,7 +35240,7 @@ func (c *MetrosListCall) Header() http.Header { func (c *MetrosListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -35386,7 +35386,7 @@ func (c *MobileAppsGetCall) Header() http.Header { func (c *MobileAppsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -35583,7 +35583,7 @@ func (c *MobileAppsListCall) Header() http.Header { func (c *MobileAppsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -35791,7 +35791,7 @@ func (c *MobileCarriersGetCall) Header() http.Header { func (c *MobileCarriersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -35944,7 +35944,7 @@ func (c *MobileCarriersListCall) Header() http.Header { func (c *MobileCarriersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -36090,7 +36090,7 @@ func (c *OperatingSystemVersionsGetCall) Header() http.Header { func (c *OperatingSystemVersionsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -36243,7 +36243,7 @@ func (c *OperatingSystemVersionsListCall) Header() http.Header { func (c *OperatingSystemVersionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -36390,7 +36390,7 @@ func (c *OperatingSystemsGetCall) Header() http.Header { func (c *OperatingSystemsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -36543,7 +36543,7 @@ func (c *OperatingSystemsListCall) Header() http.Header { func (c *OperatingSystemsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -36691,7 +36691,7 @@ func (c *OrderDocumentsGetCall) Header() http.Header { func (c *OrderDocumentsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -36946,7 +36946,7 @@ func (c *OrderDocumentsListCall) Header() http.Header { func (c *OrderDocumentsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -37197,7 +37197,7 @@ func (c *OrdersGetCall) Header() http.Header { func (c *OrdersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -37432,7 +37432,7 @@ func (c *OrdersListCall) Header() http.Header { func (c *OrdersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -37669,7 +37669,7 @@ func (c *PlacementGroupsGetCall) Header() http.Header { func (c *PlacementGroupsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -37813,7 +37813,7 @@ func (c *PlacementGroupsInsertCall) Header() http.Header { func (c *PlacementGroupsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -38164,7 +38164,7 @@ func (c *PlacementGroupsListCall) Header() http.Header { func (c *PlacementGroupsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -38478,7 +38478,7 @@ func (c *PlacementGroupsPatchCall) Header() http.Header { func (c *PlacementGroupsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -38626,7 +38626,7 @@ func (c *PlacementGroupsUpdateCall) Header() http.Header { func (c *PlacementGroupsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -38766,7 +38766,7 @@ func (c *PlacementStrategiesDeleteCall) Header() http.Header { func (c *PlacementStrategiesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -38890,7 +38890,7 @@ func (c *PlacementStrategiesGetCall) Header() http.Header { func (c *PlacementStrategiesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -39034,7 +39034,7 @@ func (c *PlacementStrategiesInsertCall) Header() http.Header { func (c *PlacementStrategiesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -39245,7 +39245,7 @@ func (c *PlacementStrategiesListCall) Header() http.Header { func (c *PlacementStrategiesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -39457,7 +39457,7 @@ func (c *PlacementStrategiesPatchCall) Header() http.Header { func (c *PlacementStrategiesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -39605,7 +39605,7 @@ func (c *PlacementStrategiesUpdateCall) Header() http.Header { func (c *PlacementStrategiesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -39790,7 +39790,7 @@ func (c *PlacementsGeneratetagsCall) Header() http.Header { func (c *PlacementsGeneratetagsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -39994,7 +39994,7 @@ func (c *PlacementsGetCall) Header() http.Header { func (c *PlacementsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -40138,7 +40138,7 @@ func (c *PlacementsInsertCall) Header() http.Header { func (c *PlacementsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -40525,7 +40525,7 @@ func (c *PlacementsListCall) Header() http.Header { func (c *PlacementsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -40875,7 +40875,7 @@ func (c *PlacementsPatchCall) Header() http.Header { func (c *PlacementsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -41023,7 +41023,7 @@ func (c *PlacementsUpdateCall) Header() http.Header { func (c *PlacementsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -41174,7 +41174,7 @@ func (c *PlatformTypesGetCall) Header() http.Header { func (c *PlatformTypesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -41327,7 +41327,7 @@ func (c *PlatformTypesListCall) Header() http.Header { func (c *PlatformTypesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -41473,7 +41473,7 @@ func (c *PostalCodesGetCall) Header() http.Header { func (c *PostalCodesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -41625,7 +41625,7 @@ func (c *PostalCodesListCall) Header() http.Header { func (c *PostalCodesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -41771,7 +41771,7 @@ func (c *ProjectsGetCall) Header() http.Header { func (c *ProjectsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -41996,7 +41996,7 @@ func (c *ProjectsListCall) Header() http.Header { func (c *ProjectsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -42222,7 +42222,7 @@ func (c *RegionsListCall) Header() http.Header { func (c *RegionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -42368,7 +42368,7 @@ func (c *RemarketingListSharesGetCall) Header() http.Header { func (c *RemarketingListSharesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -42514,7 +42514,7 @@ func (c *RemarketingListSharesPatchCall) Header() http.Header { func (c *RemarketingListSharesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -42662,7 +42662,7 @@ func (c *RemarketingListSharesUpdateCall) Header() http.Header { func (c *RemarketingListSharesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -42813,7 +42813,7 @@ func (c *RemarketingListsGetCall) Header() http.Header { func (c *RemarketingListsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -42957,7 +42957,7 @@ func (c *RemarketingListsInsertCall) Header() http.Header { func (c *RemarketingListsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -43172,7 +43172,7 @@ func (c *RemarketingListsListCall) Header() http.Header { func (c *RemarketingListsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -43396,7 +43396,7 @@ func (c *RemarketingListsPatchCall) Header() http.Header { func (c *RemarketingListsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -43544,7 +43544,7 @@ func (c *RemarketingListsUpdateCall) Header() http.Header { func (c *RemarketingListsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -43684,7 +43684,7 @@ func (c *ReportsDeleteCall) Header() http.Header { func (c *ReportsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -43808,7 +43808,7 @@ func (c *ReportsGetCall) Header() http.Header { func (c *ReportsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -43952,7 +43952,7 @@ func (c *ReportsInsertCall) Header() http.Header { func (c *ReportsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -44149,7 +44149,7 @@ func (c *ReportsListCall) Header() http.Header { func (c *ReportsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -44366,7 +44366,7 @@ func (c *ReportsPatchCall) Header() http.Header { func (c *ReportsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -44522,7 +44522,7 @@ func (c *ReportsRunCall) Header() http.Header { func (c *ReportsRunCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -44671,7 +44671,7 @@ func (c *ReportsUpdateCall) Header() http.Header { func (c *ReportsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -44822,7 +44822,7 @@ func (c *ReportsCompatibleFieldsQueryCall) Header() http.Header { func (c *ReportsCompatibleFieldsQueryCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -44976,7 +44976,7 @@ func (c *ReportsFilesGetCall) Header() http.Header { func (c *ReportsFilesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -45193,7 +45193,7 @@ func (c *ReportsFilesListCall) Header() http.Header { func (c *ReportsFilesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -45411,7 +45411,7 @@ func (c *SitesGetCall) Header() http.Header { func (c *SitesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -45555,7 +45555,7 @@ func (c *SitesInsertCall) Header() http.Header { func (c *SitesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -45838,7 +45838,7 @@ func (c *SitesListCall) Header() http.Header { func (c *SitesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -46100,7 +46100,7 @@ func (c *SitesPatchCall) Header() http.Header { func (c *SitesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -46248,7 +46248,7 @@ func (c *SitesUpdateCall) Header() http.Header { func (c *SitesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -46399,7 +46399,7 @@ func (c *SizesGetCall) Header() http.Header { func (c *SizesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -46543,7 +46543,7 @@ func (c *SizesInsertCall) Header() http.Header { func (c *SizesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -46727,7 +46727,7 @@ func (c *SizesListCall) Header() http.Header { func (c *SizesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -46901,7 +46901,7 @@ func (c *SubaccountsGetCall) Header() http.Header { func (c *SubaccountsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -47045,7 +47045,7 @@ func (c *SubaccountsInsertCall) Header() http.Header { func (c *SubaccountsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -47255,7 +47255,7 @@ func (c *SubaccountsListCall) Header() http.Header { func (c *SubaccountsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -47467,7 +47467,7 @@ func (c *SubaccountsPatchCall) Header() http.Header { func (c *SubaccountsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -47615,7 +47615,7 @@ func (c *SubaccountsUpdateCall) Header() http.Header { func (c *SubaccountsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -47766,7 +47766,7 @@ func (c *TargetableRemarketingListsGetCall) Header() http.Header { func (c *TargetableRemarketingListsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -47977,7 +47977,7 @@ func (c *TargetableRemarketingListsListCall) Header() http.Header { func (c *TargetableRemarketingListsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -48205,7 +48205,7 @@ func (c *TargetingTemplatesGetCall) Header() http.Header { func (c *TargetingTemplatesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -48349,7 +48349,7 @@ func (c *TargetingTemplatesInsertCall) Header() http.Header { func (c *TargetingTemplatesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -48566,7 +48566,7 @@ func (c *TargetingTemplatesListCall) Header() http.Header { func (c *TargetingTemplatesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -48784,7 +48784,7 @@ func (c *TargetingTemplatesPatchCall) Header() http.Header { func (c *TargetingTemplatesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -48932,7 +48932,7 @@ func (c *TargetingTemplatesUpdateCall) Header() http.Header { func (c *TargetingTemplatesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -49081,7 +49081,7 @@ func (c *UserProfilesGetCall) Header() http.Header { func (c *UserProfilesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -49225,7 +49225,7 @@ func (c *UserProfilesListCall) Header() http.Header { func (c *UserProfilesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -49360,7 +49360,7 @@ func (c *UserRolePermissionGroupsGetCall) Header() http.Header { func (c *UserRolePermissionGroupsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -49513,7 +49513,7 @@ func (c *UserRolePermissionGroupsListCall) Header() http.Header { func (c *UserRolePermissionGroupsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -49660,7 +49660,7 @@ func (c *UserRolePermissionsGetCall) Header() http.Header { func (c *UserRolePermissionsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -49824,7 +49824,7 @@ func (c *UserRolePermissionsListCall) Header() http.Header { func (c *UserRolePermissionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -49966,7 +49966,7 @@ func (c *UserRolesDeleteCall) Header() http.Header { func (c *UserRolesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -50090,7 +50090,7 @@ func (c *UserRolesGetCall) Header() http.Header { func (c *UserRolesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -50234,7 +50234,7 @@ func (c *UserRolesInsertCall) Header() http.Header { func (c *UserRolesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -50459,7 +50459,7 @@ func (c *UserRolesListCall) Header() http.Header { func (c *UserRolesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -50682,7 +50682,7 @@ func (c *UserRolesPatchCall) Header() http.Header { func (c *UserRolesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -50830,7 +50830,7 @@ func (c *UserRolesUpdateCall) Header() http.Header { func (c *UserRolesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -50981,7 +50981,7 @@ func (c *VideoFormatsGetCall) Header() http.Header { func (c *VideoFormatsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -51134,7 +51134,7 @@ func (c *VideoFormatsListCall) Header() http.Header { func (c *VideoFormatsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/dfareporting/v3.4/dfareporting-gen.go b/dfareporting/v3.4/dfareporting-gen.go index 827981bbb9b..ae7e6e56b7f 100644 --- a/dfareporting/v3.4/dfareporting-gen.go +++ b/dfareporting/v3.4/dfareporting-gen.go @@ -15079,7 +15079,7 @@ func (c *AccountActiveAdSummariesGetCall) Header() http.Header { func (c *AccountActiveAdSummariesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15234,7 +15234,7 @@ func (c *AccountPermissionGroupsGetCall) Header() http.Header { func (c *AccountPermissionGroupsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15387,7 +15387,7 @@ func (c *AccountPermissionGroupsListCall) Header() http.Header { func (c *AccountPermissionGroupsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15534,7 +15534,7 @@ func (c *AccountPermissionsGetCall) Header() http.Header { func (c *AccountPermissionsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15687,7 +15687,7 @@ func (c *AccountPermissionsListCall) Header() http.Header { func (c *AccountPermissionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15833,7 +15833,7 @@ func (c *AccountUserProfilesGetCall) Header() http.Header { func (c *AccountUserProfilesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15977,7 +15977,7 @@ func (c *AccountUserProfilesInsertCall) Header() http.Header { func (c *AccountUserProfilesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16209,7 +16209,7 @@ func (c *AccountUserProfilesListCall) Header() http.Header { func (c *AccountUserProfilesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16438,7 +16438,7 @@ func (c *AccountUserProfilesPatchCall) Header() http.Header { func (c *AccountUserProfilesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16586,7 +16586,7 @@ func (c *AccountUserProfilesUpdateCall) Header() http.Header { func (c *AccountUserProfilesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16737,7 +16737,7 @@ func (c *AccountsGetCall) Header() http.Header { func (c *AccountsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16959,7 +16959,7 @@ func (c *AccountsListCall) Header() http.Header { func (c *AccountsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17176,7 +17176,7 @@ func (c *AccountsPatchCall) Header() http.Header { func (c *AccountsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17324,7 +17324,7 @@ func (c *AccountsUpdateCall) Header() http.Header { func (c *AccountsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17475,7 +17475,7 @@ func (c *AdsGetCall) Header() http.Header { func (c *AdsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17619,7 +17619,7 @@ func (c *AdsInsertCall) Header() http.Header { func (c *AdsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18004,7 +18004,7 @@ func (c *AdsListCall) Header() http.Header { func (c *AdsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18349,7 +18349,7 @@ func (c *AdsPatchCall) Header() http.Header { func (c *AdsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18497,7 +18497,7 @@ func (c *AdsUpdateCall) Header() http.Header { func (c *AdsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18637,7 +18637,7 @@ func (c *AdvertiserGroupsDeleteCall) Header() http.Header { func (c *AdvertiserGroupsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18761,7 +18761,7 @@ func (c *AdvertiserGroupsGetCall) Header() http.Header { func (c *AdvertiserGroupsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18905,7 +18905,7 @@ func (c *AdvertiserGroupsInsertCall) Header() http.Header { func (c *AdvertiserGroupsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19116,7 +19116,7 @@ func (c *AdvertiserGroupsListCall) Header() http.Header { func (c *AdvertiserGroupsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19328,7 +19328,7 @@ func (c *AdvertiserGroupsPatchCall) Header() http.Header { func (c *AdvertiserGroupsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19476,7 +19476,7 @@ func (c *AdvertiserGroupsUpdateCall) Header() http.Header { func (c *AdvertiserGroupsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19627,7 +19627,7 @@ func (c *AdvertiserLandingPagesGetCall) Header() http.Header { func (c *AdvertiserLandingPagesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19771,7 +19771,7 @@ func (c *AdvertiserLandingPagesInsertCall) Header() http.Header { func (c *AdvertiserLandingPagesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -20017,7 +20017,7 @@ func (c *AdvertiserLandingPagesListCall) Header() http.Header { func (c *AdvertiserLandingPagesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -20255,7 +20255,7 @@ func (c *AdvertiserLandingPagesPatchCall) Header() http.Header { func (c *AdvertiserLandingPagesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -20403,7 +20403,7 @@ func (c *AdvertiserLandingPagesUpdateCall) Header() http.Header { func (c *AdvertiserLandingPagesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -20554,7 +20554,7 @@ func (c *AdvertisersGetCall) Header() http.Header { func (c *AdvertisersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -20698,7 +20698,7 @@ func (c *AdvertisersInsertCall) Header() http.Header { func (c *AdvertisersInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -20964,7 +20964,7 @@ func (c *AdvertisersListCall) Header() http.Header { func (c *AdvertisersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21219,7 +21219,7 @@ func (c *AdvertisersPatchCall) Header() http.Header { func (c *AdvertisersPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21367,7 +21367,7 @@ func (c *AdvertisersUpdateCall) Header() http.Header { func (c *AdvertisersUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21516,7 +21516,7 @@ func (c *BrowsersListCall) Header() http.Header { func (c *BrowsersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21655,7 +21655,7 @@ func (c *CampaignCreativeAssociationsInsertCall) Header() http.Header { func (c *CampaignCreativeAssociationsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21841,7 +21841,7 @@ func (c *CampaignCreativeAssociationsListCall) Header() http.Header { func (c *CampaignCreativeAssociationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -22047,7 +22047,7 @@ func (c *CampaignsGetCall) Header() http.Header { func (c *CampaignsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -22191,7 +22191,7 @@ func (c *CampaignsInsertCall) Header() http.Header { func (c *CampaignsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -22466,7 +22466,7 @@ func (c *CampaignsListCall) Header() http.Header { func (c *CampaignsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -22721,7 +22721,7 @@ func (c *CampaignsPatchCall) Header() http.Header { func (c *CampaignsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -22869,7 +22869,7 @@ func (c *CampaignsUpdateCall) Header() http.Header { func (c *CampaignsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -23020,7 +23020,7 @@ func (c *ChangeLogsGetCall) Header() http.Header { func (c *ChangeLogsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -23329,7 +23329,7 @@ func (c *ChangeLogsListCall) Header() http.Header { func (c *ChangeLogsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -23716,7 +23716,7 @@ func (c *CitiesListCall) Header() http.Header { func (c *CitiesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -23888,7 +23888,7 @@ func (c *ConnectionTypesGetCall) Header() http.Header { func (c *ConnectionTypesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -24041,7 +24041,7 @@ func (c *ConnectionTypesListCall) Header() http.Header { func (c *ConnectionTypesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -24176,7 +24176,7 @@ func (c *ContentCategoriesDeleteCall) Header() http.Header { func (c *ContentCategoriesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -24300,7 +24300,7 @@ func (c *ContentCategoriesGetCall) Header() http.Header { func (c *ContentCategoriesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -24444,7 +24444,7 @@ func (c *ContentCategoriesInsertCall) Header() http.Header { func (c *ContentCategoriesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -24655,7 +24655,7 @@ func (c *ContentCategoriesListCall) Header() http.Header { func (c *ContentCategoriesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -24867,7 +24867,7 @@ func (c *ContentCategoriesPatchCall) Header() http.Header { func (c *ContentCategoriesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -25015,7 +25015,7 @@ func (c *ContentCategoriesUpdateCall) Header() http.Header { func (c *ContentCategoriesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -25155,7 +25155,7 @@ func (c *ConversionsBatchinsertCall) Header() http.Header { func (c *ConversionsBatchinsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -25295,7 +25295,7 @@ func (c *ConversionsBatchupdateCall) Header() http.Header { func (c *ConversionsBatchupdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -25446,7 +25446,7 @@ func (c *CountriesGetCall) Header() http.Header { func (c *CountriesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -25599,7 +25599,7 @@ func (c *CountriesListCall) Header() http.Header { func (c *CountriesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -25776,7 +25776,7 @@ func (c *CreativeAssetsInsertCall) Header() http.Header { func (c *CreativeAssetsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -25968,7 +25968,7 @@ func (c *CreativeFieldValuesDeleteCall) Header() http.Header { func (c *CreativeFieldValuesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -26103,7 +26103,7 @@ func (c *CreativeFieldValuesGetCall) Header() http.Header { func (c *CreativeFieldValuesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -26258,7 +26258,7 @@ func (c *CreativeFieldValuesInsertCall) Header() http.Header { func (c *CreativeFieldValuesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -26474,7 +26474,7 @@ func (c *CreativeFieldValuesListCall) Header() http.Header { func (c *CreativeFieldValuesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -26697,7 +26697,7 @@ func (c *CreativeFieldValuesPatchCall) Header() http.Header { func (c *CreativeFieldValuesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -26856,7 +26856,7 @@ func (c *CreativeFieldValuesUpdateCall) Header() http.Header { func (c *CreativeFieldValuesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -27005,7 +27005,7 @@ func (c *CreativeFieldsDeleteCall) Header() http.Header { func (c *CreativeFieldsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -27129,7 +27129,7 @@ func (c *CreativeFieldsGetCall) Header() http.Header { func (c *CreativeFieldsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -27273,7 +27273,7 @@ func (c *CreativeFieldsInsertCall) Header() http.Header { func (c *CreativeFieldsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -27495,7 +27495,7 @@ func (c *CreativeFieldsListCall) Header() http.Header { func (c *CreativeFieldsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -27714,7 +27714,7 @@ func (c *CreativeFieldsPatchCall) Header() http.Header { func (c *CreativeFieldsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -27862,7 +27862,7 @@ func (c *CreativeFieldsUpdateCall) Header() http.Header { func (c *CreativeFieldsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -28013,7 +28013,7 @@ func (c *CreativeGroupsGetCall) Header() http.Header { func (c *CreativeGroupsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -28157,7 +28157,7 @@ func (c *CreativeGroupsInsertCall) Header() http.Header { func (c *CreativeGroupsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -28386,7 +28386,7 @@ func (c *CreativeGroupsListCall) Header() http.Header { func (c *CreativeGroupsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -28613,7 +28613,7 @@ func (c *CreativeGroupsPatchCall) Header() http.Header { func (c *CreativeGroupsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -28761,7 +28761,7 @@ func (c *CreativeGroupsUpdateCall) Header() http.Header { func (c *CreativeGroupsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -28912,7 +28912,7 @@ func (c *CreativesGetCall) Header() http.Header { func (c *CreativesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -29056,7 +29056,7 @@ func (c *CreativesInsertCall) Header() http.Header { func (c *CreativesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -29380,7 +29380,7 @@ func (c *CreativesListCall) Header() http.Header { func (c *CreativesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -29708,7 +29708,7 @@ func (c *CreativesPatchCall) Header() http.Header { func (c *CreativesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -29856,7 +29856,7 @@ func (c *CreativesUpdateCall) Header() http.Header { func (c *CreativesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -29996,7 +29996,7 @@ func (c *CustomEventsBatchinsertCall) Header() http.Header { func (c *CustomEventsBatchinsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -30151,7 +30151,7 @@ func (c *DimensionValuesQueryCall) Header() http.Header { func (c *DimensionValuesQueryCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -30337,7 +30337,7 @@ func (c *DirectorySitesGetCall) Header() http.Header { func (c *DirectorySitesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -30481,7 +30481,7 @@ func (c *DirectorySitesInsertCall) Header() http.Header { func (c *DirectorySitesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -30731,7 +30731,7 @@ func (c *DirectorySitesListCall) Header() http.Header { func (c *DirectorySitesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -30968,7 +30968,7 @@ func (c *DynamicTargetingKeysDeleteCall) Header() http.Header { func (c *DynamicTargetingKeysDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -31111,7 +31111,7 @@ func (c *DynamicTargetingKeysInsertCall) Header() http.Header { func (c *DynamicTargetingKeysInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -31294,7 +31294,7 @@ func (c *DynamicTargetingKeysListCall) Header() http.Header { func (c *DynamicTargetingKeysListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -31464,7 +31464,7 @@ func (c *EventTagsDeleteCall) Header() http.Header { func (c *EventTagsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -31588,7 +31588,7 @@ func (c *EventTagsGetCall) Header() http.Header { func (c *EventTagsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -31732,7 +31732,7 @@ func (c *EventTagsInsertCall) Header() http.Header { func (c *EventTagsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -31989,7 +31989,7 @@ func (c *EventTagsListCall) Header() http.Header { func (c *EventTagsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -32210,7 +32210,7 @@ func (c *EventTagsPatchCall) Header() http.Header { func (c *EventTagsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -32358,7 +32358,7 @@ func (c *EventTagsUpdateCall) Header() http.Header { func (c *EventTagsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -32510,7 +32510,7 @@ func (c *FilesGetCall) Header() http.Header { func (c *FilesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -32728,7 +32728,7 @@ func (c *FilesListCall) Header() http.Header { func (c *FilesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -32942,7 +32942,7 @@ func (c *FloodlightActivitiesDeleteCall) Header() http.Header { func (c *FloodlightActivitiesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -33061,7 +33061,7 @@ func (c *FloodlightActivitiesGeneratetagCall) Header() http.Header { func (c *FloodlightActivitiesGeneratetagCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -33211,7 +33211,7 @@ func (c *FloodlightActivitiesGetCall) Header() http.Header { func (c *FloodlightActivitiesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -33355,7 +33355,7 @@ func (c *FloodlightActivitiesInsertCall) Header() http.Header { func (c *FloodlightActivitiesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -33632,7 +33632,7 @@ func (c *FloodlightActivitiesListCall) Header() http.Header { func (c *FloodlightActivitiesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -33891,7 +33891,7 @@ func (c *FloodlightActivitiesPatchCall) Header() http.Header { func (c *FloodlightActivitiesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -34039,7 +34039,7 @@ func (c *FloodlightActivitiesUpdateCall) Header() http.Header { func (c *FloodlightActivitiesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -34190,7 +34190,7 @@ func (c *FloodlightActivityGroupsGetCall) Header() http.Header { func (c *FloodlightActivityGroupsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -34334,7 +34334,7 @@ func (c *FloodlightActivityGroupsInsertCall) Header() http.Header { func (c *FloodlightActivityGroupsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -34576,7 +34576,7 @@ func (c *FloodlightActivityGroupsListCall) Header() http.Header { func (c *FloodlightActivityGroupsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -34814,7 +34814,7 @@ func (c *FloodlightActivityGroupsPatchCall) Header() http.Header { func (c *FloodlightActivityGroupsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -34962,7 +34962,7 @@ func (c *FloodlightActivityGroupsUpdateCall) Header() http.Header { func (c *FloodlightActivityGroupsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -35113,7 +35113,7 @@ func (c *FloodlightConfigurationsGetCall) Header() http.Header { func (c *FloodlightConfigurationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -35279,7 +35279,7 @@ func (c *FloodlightConfigurationsListCall) Header() http.Header { func (c *FloodlightConfigurationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -35424,7 +35424,7 @@ func (c *FloodlightConfigurationsPatchCall) Header() http.Header { func (c *FloodlightConfigurationsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -35572,7 +35572,7 @@ func (c *FloodlightConfigurationsUpdateCall) Header() http.Header { func (c *FloodlightConfigurationsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -35725,7 +35725,7 @@ func (c *InventoryItemsGetCall) Header() http.Header { func (c *InventoryItemsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -35977,7 +35977,7 @@ func (c *InventoryItemsListCall) Header() http.Header { func (c *InventoryItemsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -36232,7 +36232,7 @@ func (c *LanguagesListCall) Header() http.Header { func (c *LanguagesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -36376,7 +36376,7 @@ func (c *MetrosListCall) Header() http.Header { func (c *MetrosListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -36522,7 +36522,7 @@ func (c *MobileAppsGetCall) Header() http.Header { func (c *MobileAppsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -36719,7 +36719,7 @@ func (c *MobileAppsListCall) Header() http.Header { func (c *MobileAppsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -36927,7 +36927,7 @@ func (c *MobileCarriersGetCall) Header() http.Header { func (c *MobileCarriersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -37080,7 +37080,7 @@ func (c *MobileCarriersListCall) Header() http.Header { func (c *MobileCarriersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -37226,7 +37226,7 @@ func (c *OperatingSystemVersionsGetCall) Header() http.Header { func (c *OperatingSystemVersionsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -37379,7 +37379,7 @@ func (c *OperatingSystemVersionsListCall) Header() http.Header { func (c *OperatingSystemVersionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -37526,7 +37526,7 @@ func (c *OperatingSystemsGetCall) Header() http.Header { func (c *OperatingSystemsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -37679,7 +37679,7 @@ func (c *OperatingSystemsListCall) Header() http.Header { func (c *OperatingSystemsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -37827,7 +37827,7 @@ func (c *OrderDocumentsGetCall) Header() http.Header { func (c *OrderDocumentsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -38082,7 +38082,7 @@ func (c *OrderDocumentsListCall) Header() http.Header { func (c *OrderDocumentsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -38333,7 +38333,7 @@ func (c *OrdersGetCall) Header() http.Header { func (c *OrdersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -38568,7 +38568,7 @@ func (c *OrdersListCall) Header() http.Header { func (c *OrdersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -38805,7 +38805,7 @@ func (c *PlacementGroupsGetCall) Header() http.Header { func (c *PlacementGroupsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -38949,7 +38949,7 @@ func (c *PlacementGroupsInsertCall) Header() http.Header { func (c *PlacementGroupsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -39300,7 +39300,7 @@ func (c *PlacementGroupsListCall) Header() http.Header { func (c *PlacementGroupsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -39614,7 +39614,7 @@ func (c *PlacementGroupsPatchCall) Header() http.Header { func (c *PlacementGroupsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -39762,7 +39762,7 @@ func (c *PlacementGroupsUpdateCall) Header() http.Header { func (c *PlacementGroupsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -39902,7 +39902,7 @@ func (c *PlacementStrategiesDeleteCall) Header() http.Header { func (c *PlacementStrategiesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -40026,7 +40026,7 @@ func (c *PlacementStrategiesGetCall) Header() http.Header { func (c *PlacementStrategiesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -40170,7 +40170,7 @@ func (c *PlacementStrategiesInsertCall) Header() http.Header { func (c *PlacementStrategiesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -40381,7 +40381,7 @@ func (c *PlacementStrategiesListCall) Header() http.Header { func (c *PlacementStrategiesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -40593,7 +40593,7 @@ func (c *PlacementStrategiesPatchCall) Header() http.Header { func (c *PlacementStrategiesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -40741,7 +40741,7 @@ func (c *PlacementStrategiesUpdateCall) Header() http.Header { func (c *PlacementStrategiesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -40926,7 +40926,7 @@ func (c *PlacementsGeneratetagsCall) Header() http.Header { func (c *PlacementsGeneratetagsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -41130,7 +41130,7 @@ func (c *PlacementsGetCall) Header() http.Header { func (c *PlacementsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -41274,7 +41274,7 @@ func (c *PlacementsInsertCall) Header() http.Header { func (c *PlacementsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -41661,7 +41661,7 @@ func (c *PlacementsListCall) Header() http.Header { func (c *PlacementsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -42011,7 +42011,7 @@ func (c *PlacementsPatchCall) Header() http.Header { func (c *PlacementsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -42159,7 +42159,7 @@ func (c *PlacementsUpdateCall) Header() http.Header { func (c *PlacementsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -42310,7 +42310,7 @@ func (c *PlatformTypesGetCall) Header() http.Header { func (c *PlatformTypesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -42463,7 +42463,7 @@ func (c *PlatformTypesListCall) Header() http.Header { func (c *PlatformTypesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -42609,7 +42609,7 @@ func (c *PostalCodesGetCall) Header() http.Header { func (c *PostalCodesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -42761,7 +42761,7 @@ func (c *PostalCodesListCall) Header() http.Header { func (c *PostalCodesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -42907,7 +42907,7 @@ func (c *ProjectsGetCall) Header() http.Header { func (c *ProjectsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -43132,7 +43132,7 @@ func (c *ProjectsListCall) Header() http.Header { func (c *ProjectsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -43358,7 +43358,7 @@ func (c *RegionsListCall) Header() http.Header { func (c *RegionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -43504,7 +43504,7 @@ func (c *RemarketingListSharesGetCall) Header() http.Header { func (c *RemarketingListSharesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -43650,7 +43650,7 @@ func (c *RemarketingListSharesPatchCall) Header() http.Header { func (c *RemarketingListSharesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -43798,7 +43798,7 @@ func (c *RemarketingListSharesUpdateCall) Header() http.Header { func (c *RemarketingListSharesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -43949,7 +43949,7 @@ func (c *RemarketingListsGetCall) Header() http.Header { func (c *RemarketingListsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -44093,7 +44093,7 @@ func (c *RemarketingListsInsertCall) Header() http.Header { func (c *RemarketingListsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -44308,7 +44308,7 @@ func (c *RemarketingListsListCall) Header() http.Header { func (c *RemarketingListsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -44532,7 +44532,7 @@ func (c *RemarketingListsPatchCall) Header() http.Header { func (c *RemarketingListsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -44680,7 +44680,7 @@ func (c *RemarketingListsUpdateCall) Header() http.Header { func (c *RemarketingListsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -44820,7 +44820,7 @@ func (c *ReportsDeleteCall) Header() http.Header { func (c *ReportsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -44944,7 +44944,7 @@ func (c *ReportsGetCall) Header() http.Header { func (c *ReportsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -45088,7 +45088,7 @@ func (c *ReportsInsertCall) Header() http.Header { func (c *ReportsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -45285,7 +45285,7 @@ func (c *ReportsListCall) Header() http.Header { func (c *ReportsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -45502,7 +45502,7 @@ func (c *ReportsPatchCall) Header() http.Header { func (c *ReportsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -45658,7 +45658,7 @@ func (c *ReportsRunCall) Header() http.Header { func (c *ReportsRunCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -45807,7 +45807,7 @@ func (c *ReportsUpdateCall) Header() http.Header { func (c *ReportsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -45958,7 +45958,7 @@ func (c *ReportsCompatibleFieldsQueryCall) Header() http.Header { func (c *ReportsCompatibleFieldsQueryCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -46112,7 +46112,7 @@ func (c *ReportsFilesGetCall) Header() http.Header { func (c *ReportsFilesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -46329,7 +46329,7 @@ func (c *ReportsFilesListCall) Header() http.Header { func (c *ReportsFilesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -46547,7 +46547,7 @@ func (c *SitesGetCall) Header() http.Header { func (c *SitesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -46691,7 +46691,7 @@ func (c *SitesInsertCall) Header() http.Header { func (c *SitesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -46974,7 +46974,7 @@ func (c *SitesListCall) Header() http.Header { func (c *SitesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -47236,7 +47236,7 @@ func (c *SitesPatchCall) Header() http.Header { func (c *SitesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -47384,7 +47384,7 @@ func (c *SitesUpdateCall) Header() http.Header { func (c *SitesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -47535,7 +47535,7 @@ func (c *SizesGetCall) Header() http.Header { func (c *SizesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -47679,7 +47679,7 @@ func (c *SizesInsertCall) Header() http.Header { func (c *SizesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -47863,7 +47863,7 @@ func (c *SizesListCall) Header() http.Header { func (c *SizesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -48037,7 +48037,7 @@ func (c *SubaccountsGetCall) Header() http.Header { func (c *SubaccountsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -48181,7 +48181,7 @@ func (c *SubaccountsInsertCall) Header() http.Header { func (c *SubaccountsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -48391,7 +48391,7 @@ func (c *SubaccountsListCall) Header() http.Header { func (c *SubaccountsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -48603,7 +48603,7 @@ func (c *SubaccountsPatchCall) Header() http.Header { func (c *SubaccountsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -48751,7 +48751,7 @@ func (c *SubaccountsUpdateCall) Header() http.Header { func (c *SubaccountsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -48902,7 +48902,7 @@ func (c *TargetableRemarketingListsGetCall) Header() http.Header { func (c *TargetableRemarketingListsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -49113,7 +49113,7 @@ func (c *TargetableRemarketingListsListCall) Header() http.Header { func (c *TargetableRemarketingListsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -49341,7 +49341,7 @@ func (c *TargetingTemplatesGetCall) Header() http.Header { func (c *TargetingTemplatesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -49485,7 +49485,7 @@ func (c *TargetingTemplatesInsertCall) Header() http.Header { func (c *TargetingTemplatesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -49702,7 +49702,7 @@ func (c *TargetingTemplatesListCall) Header() http.Header { func (c *TargetingTemplatesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -49920,7 +49920,7 @@ func (c *TargetingTemplatesPatchCall) Header() http.Header { func (c *TargetingTemplatesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -50068,7 +50068,7 @@ func (c *TargetingTemplatesUpdateCall) Header() http.Header { func (c *TargetingTemplatesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -50217,7 +50217,7 @@ func (c *UserProfilesGetCall) Header() http.Header { func (c *UserProfilesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -50361,7 +50361,7 @@ func (c *UserProfilesListCall) Header() http.Header { func (c *UserProfilesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -50496,7 +50496,7 @@ func (c *UserRolePermissionGroupsGetCall) Header() http.Header { func (c *UserRolePermissionGroupsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -50649,7 +50649,7 @@ func (c *UserRolePermissionGroupsListCall) Header() http.Header { func (c *UserRolePermissionGroupsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -50796,7 +50796,7 @@ func (c *UserRolePermissionsGetCall) Header() http.Header { func (c *UserRolePermissionsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -50960,7 +50960,7 @@ func (c *UserRolePermissionsListCall) Header() http.Header { func (c *UserRolePermissionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -51102,7 +51102,7 @@ func (c *UserRolesDeleteCall) Header() http.Header { func (c *UserRolesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -51226,7 +51226,7 @@ func (c *UserRolesGetCall) Header() http.Header { func (c *UserRolesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -51370,7 +51370,7 @@ func (c *UserRolesInsertCall) Header() http.Header { func (c *UserRolesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -51595,7 +51595,7 @@ func (c *UserRolesListCall) Header() http.Header { func (c *UserRolesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -51818,7 +51818,7 @@ func (c *UserRolesPatchCall) Header() http.Header { func (c *UserRolesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -51966,7 +51966,7 @@ func (c *UserRolesUpdateCall) Header() http.Header { func (c *UserRolesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -52117,7 +52117,7 @@ func (c *VideoFormatsGetCall) Header() http.Header { func (c *VideoFormatsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -52270,7 +52270,7 @@ func (c *VideoFormatsListCall) Header() http.Header { func (c *VideoFormatsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/dialogflow/v2/dialogflow-api.json b/dialogflow/v2/dialogflow-api.json index 9ecb7c788f2..92d9bc76780 100644 --- a/dialogflow/v2/dialogflow-api.json +++ b/dialogflow/v2/dialogflow-api.json @@ -2065,465 +2065,2164 @@ } } }, - "revision": "20201207", + "revision": "20201213", "rootUrl": "https://dialogflow.googleapis.com/", "schemas": { - "GoogleCloudDialogflowCxV3CreateVersionOperationMetadata": { - "description": "Metadata associated with the long running operation for Versions.CreateVersion.", - "id": "GoogleCloudDialogflowCxV3CreateVersionOperationMetadata", - "properties": { - "version": { - "description": "Name of the created version. Format: `projects//locations//agents//flows//versions/`.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDialogflowCxV3ExportAgentResponse": { - "description": "The response message for Agents.ExportAgent.", - "id": "GoogleCloudDialogflowCxV3ExportAgentResponse", + "GoogleCloudDialogflowCxV3AudioInput": { + "description": "Represents the natural speech audio to be processed.", + "id": "GoogleCloudDialogflowCxV3AudioInput", "properties": { - "agentContent": { - "description": "Uncompressed raw byte content for agent.", + "audio": { + "description": "The natural language speech audio to be processed. A single request can contain up to 1 minute of speech audio data. The transcribed text cannot contain more than 256 bytes. For non-streaming audio detect intent, both `config` and `audio` must be provided. For streaming audio detect intent, `config` must be provided in the first request and `audio` must be provided in all following requests.", "format": "byte", "type": "string" }, - "agentUri": { - "description": "The URI to a file containing the exported agent. This field is populated only if `agent_uri` is specified in ExportAgentRequest.", - "type": "string" + "config": { + "$ref": "GoogleCloudDialogflowCxV3InputAudioConfig", + "description": "Required. Instructs the speech recognizer how to process the speech audio." } }, "type": "object" }, - "GoogleCloudDialogflowCxV3PageInfo": { - "description": "Represents page information communicated to and from the webhook.", - "id": "GoogleCloudDialogflowCxV3PageInfo", + "GoogleCloudDialogflowCxV3BatchRunTestCasesMetadata": { + "description": "Metadata returned for the TestCases.BatchRunTestCases long running operation.", + "id": "GoogleCloudDialogflowCxV3BatchRunTestCasesMetadata", "properties": { - "currentPage": { - "description": "Always present for WebhookRequest. Ignored for WebhookResponse. The unique identifier of the current page. Format: `projects//locations//agents//flows//pages/`.", - "type": "string" - }, - "formInfo": { - "$ref": "GoogleCloudDialogflowCxV3PageInfoFormInfo", - "description": "Optional for both WebhookRequest and WebhookResponse. Information about the form." + "errors": { + "description": "The test errors.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3TestError" + }, + "type": "array" } }, "type": "object" }, - "GoogleCloudDialogflowCxV3PageInfoFormInfo": { - "description": "Represents form information.", - "id": "GoogleCloudDialogflowCxV3PageInfoFormInfo", + "GoogleCloudDialogflowCxV3BatchRunTestCasesResponse": { + "description": "The response message for TestCases.BatchRunTestCases.", + "id": "GoogleCloudDialogflowCxV3BatchRunTestCasesResponse", "properties": { - "parameterInfo": { - "description": "Optional for both WebhookRequest and WebhookResponse. The parameters contained in the form. Note that the webhook cannot add or remove any form parameter.", + "results": { + "description": "The test case results. The detailed conversation turns are empty in this response.", "items": { - "$ref": "GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo" + "$ref": "GoogleCloudDialogflowCxV3TestCaseResult" }, "type": "array" } }, "type": "object" }, - "GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo": { - "description": "Represents parameter information.", - "id": "GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo", + "GoogleCloudDialogflowCxV3ConversationTurn": { + "description": "One interaction between a human and virtual agent. The human provides some input and the virtual agent provides a response.", + "id": "GoogleCloudDialogflowCxV3ConversationTurn", "properties": { - "displayName": { - "description": "Always present for WebhookRequest. Required for WebhookResponse. The human-readable name of the parameter, unique within the form. This field cannot be modified by the webhook.", - "type": "string" - }, - "justCollected": { - "description": "Optional for WebhookRequest. Ignored for WebhookResponse. Indicates if the parameter value was just collected on the last conversation turn.", - "type": "boolean" - }, - "required": { - "description": "Optional for both WebhookRequest and WebhookResponse. Indicates whether the parameter is required. Optional parameters will not trigger prompts; however, they are filled if the user specifies them. Required parameters must be filled before form filling concludes.", - "type": "boolean" - }, - "state": { - "description": "Always present for WebhookRequest. Required for WebhookResponse. The state of the parameter. This field can be set to INVALID by the webhook to invalidate the parameter; other values set by the webhook will be ignored.", - "enum": [ - "PARAMETER_STATE_UNSPECIFIED", - "EMPTY", - "INVALID", - "FILLED" - ], - "enumDescriptions": [ - "Not specified. This value should be never used.", - "Indicates that the parameter does not have a value.", - "Indicates that the parameter value is invalid. This field can be used by the webhook to invalidate the parameter and ask the server to collect it from the user again.", - "Indicates that the parameter has a value." - ], - "type": "string" + "userInput": { + "$ref": "GoogleCloudDialogflowCxV3ConversationTurnUserInput", + "description": "The user input." }, - "value": { - "description": "Optional for both WebhookRequest and WebhookResponse. The value of the parameter. This field can be set by the webhook to change the parameter value.", - "type": "any" + "virtualAgentOutput": { + "$ref": "GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput", + "description": "The virtual agent output." } }, "type": "object" }, - "GoogleCloudDialogflowCxV3ResponseMessage": { - "description": "Represents a response message that can be returned by a conversational agent. Response messages are also used for output audio synthesis. The approach is as follows: * If at least one OutputAudioText response is present, then all OutputAudioText responses are linearly concatenated, and the result is used for output audio synthesis. * If the OutputAudioText responses are a mixture of text and SSML, then the concatenated result is treated as SSML; otherwise, the result is treated as either text or SSML as appropriate. The agent designer should ideally use either text or SSML consistently throughout the bot design. * Otherwise, all Text responses are linearly concatenated, and the result is used for output audio synthesis. This approach allows for more sophisticated user experience scenarios, where the text displayed to the user may differ from what is heard.", - "id": "GoogleCloudDialogflowCxV3ResponseMessage", + "GoogleCloudDialogflowCxV3ConversationTurnUserInput": { + "description": "The input from the human user.", + "id": "GoogleCloudDialogflowCxV3ConversationTurnUserInput", "properties": { - "conversationSuccess": { - "$ref": "GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess", - "description": "Indicates that the conversation succeeded." - }, - "endInteraction": { - "$ref": "GoogleCloudDialogflowCxV3ResponseMessageEndInteraction", - "description": "Output only. A signal that indicates the interaction with the Dialogflow agent has ended. This message is generated by Dialogflow only when the conversation reaches `END_SESSION` or `END_PAGE` page. It is not supposed to be defined by the user. It's guaranteed that there is at most one such message in each response.", - "readOnly": true - }, - "liveAgentHandoff": { - "$ref": "GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff", - "description": "Hands off conversation to a human agent." - }, - "mixedAudio": { - "$ref": "GoogleCloudDialogflowCxV3ResponseMessageMixedAudio", - "description": "Output only. An audio response message composed of both the synthesized Dialogflow agent responses and responses defined via play_audio. This message is generated by Dialogflow only and not supposed to be defined by the user.", - "readOnly": true - }, - "outputAudioText": { - "$ref": "GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText", - "description": "A text or ssml response that is preferentially used for TTS output audio synthesis, as described in the comment on the ResponseMessage message." - }, - "payload": { + "injectedParameters": { "additionalProperties": { "description": "Properties of the object.", "type": "any" }, - "description": "Returns a response containing a custom, platform-specific payload.", + "description": "Parameters that need to be injected into the conversation during intent detection.", "type": "object" }, - "playAudio": { - "$ref": "GoogleCloudDialogflowCxV3ResponseMessagePlayAudio", - "description": "Signal that the client should play an audio clip hosted at a client-specific URI. Dialogflow uses this to construct mixed_audio. However, Dialogflow itself does not try to read or process the URI in any way." + "input": { + "$ref": "GoogleCloudDialogflowCxV3QueryInput", + "description": "Supports text input, event input, dtmf input in the test case." }, - "text": { - "$ref": "GoogleCloudDialogflowCxV3ResponseMessageText", - "description": "Returns a text response." + "isWebhookEnabled": { + "description": "If webhooks should be allowed to trigger in response to the user utterance. Often if parameters are injected, webhooks should not be enabled.", + "type": "boolean" } }, "type": "object" }, - "GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess": { - "description": "Indicates that the conversation succeeded, i.e., the bot handled the issue that the customer talked to it about. Dialogflow only uses this to determine which conversations should be counted as successful and doesn't process the metadata in this message in any way. Note that Dialogflow also considers conversations that get to the conversation end page as successful even if they don't return ConversationSuccess. You may set this, for example: * In the entry_fulfillment of a Page if entering the page indicates that the conversation succeeded. * In a webhook response when you determine that you handled the customer issue.", - "id": "GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess", + "GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput": { + "description": "The output from the virtual agent.", + "id": "GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput", "properties": { - "metadata": { + "currentPage": { + "$ref": "GoogleCloudDialogflowCxV3Page", + "description": "The Page on which the utterance was spoken. Only some fields such as name and displayname will be set." + }, + "diagnosticInfo": { "additionalProperties": { "description": "Properties of the object.", "type": "any" }, - "description": "Custom metadata. Dialogflow doesn't impose any structure on this.", + "description": "Required. Input only. The diagnostic info output for the turn.", + "type": "object" + }, + "differences": { + "description": "Output only. If this is part of a result conversation turn, the list of differences between the original run and the replay for this output, if any.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3TestRunDifference" + }, + "readOnly": true, + "type": "array" + }, + "sessionParameters": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "The session parameters available to the bot at this point.", "type": "object" + }, + "status": { + "$ref": "GoogleRpcStatus", + "description": "Response error from the agent in the test result. If set, other output is empty." + }, + "textResponses": { + "description": "The text responses from the agent for the turn.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3ResponseMessageText" + }, + "type": "array" + }, + "triggeredIntent": { + "$ref": "GoogleCloudDialogflowCxV3Intent", + "description": "The Intent that triggered the response. Only some fields such as name and displayname will be set." } }, "type": "object" }, - "GoogleCloudDialogflowCxV3ResponseMessageEndInteraction": { - "description": "Indicates that interaction with the Dialogflow agent has ended. This message is generated by Dialogflow only and not supposed to be defined by the user.", - "id": "GoogleCloudDialogflowCxV3ResponseMessageEndInteraction", - "properties": {}, + "GoogleCloudDialogflowCxV3CreateDocumentOperationMetadata": { + "description": "Metadata for CreateDocument operation.", + "id": "GoogleCloudDialogflowCxV3CreateDocumentOperationMetadata", + "properties": { + "genericMetadata": { + "$ref": "GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata", + "description": "The generic information of the operation." + } + }, "type": "object" }, - "GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff": { - "description": "Indicates that the conversation should be handed off to a live agent. Dialogflow only uses this to determine which conversations were handed off to a human agent for measurement purposes. What else to do with this signal is up to you and your handoff procedures. You may set this, for example: * In the entry_fulfillment of a Page if entering the page indicates something went extremely wrong in the conversation. * In a webhook response when you determine that the customer issue can only be handled by a human.", - "id": "GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff", + "GoogleCloudDialogflowCxV3CreateVersionOperationMetadata": { + "description": "Metadata associated with the long running operation for Versions.CreateVersion.", + "id": "GoogleCloudDialogflowCxV3CreateVersionOperationMetadata", "properties": { - "metadata": { - "additionalProperties": { - "description": "Properties of the object.", - "type": "any" - }, - "description": "Custom metadata for your handoff procedure. Dialogflow doesn't impose any structure on this.", - "type": "object" + "version": { + "description": "Name of the created version. Format: `projects//locations//agents//flows//versions/`.", + "type": "string" } }, "type": "object" }, - "GoogleCloudDialogflowCxV3ResponseMessageMixedAudio": { - "description": "Represents an audio message that is composed of both segments synthesized from the Dialogflow agent prompts and ones hosted externally at the specified URIs. The external URIs are specified via play_audio. This message is generated by Dialogflow only and not supposed to be defined by the user.", - "id": "GoogleCloudDialogflowCxV3ResponseMessageMixedAudio", + "GoogleCloudDialogflowCxV3DeleteDocumentOperationMetadata": { + "description": "Metadata for DeleteDocument operation.", + "id": "GoogleCloudDialogflowCxV3DeleteDocumentOperationMetadata", "properties": { - "segments": { - "description": "Segments this audio response is composed of.", - "items": { - "$ref": "GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment" - }, - "type": "array" + "genericMetadata": { + "$ref": "GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata", + "description": "The generic information of the operation." } }, "type": "object" }, - "GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment": { - "description": "Represents one segment of audio.", - "id": "GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment", + "GoogleCloudDialogflowCxV3DtmfInput": { + "description": "Represents the input for dtmf event.", + "id": "GoogleCloudDialogflowCxV3DtmfInput", "properties": { - "allowPlaybackInterruption": { - "description": "Output only. Whether the playback of this segment can be interrupted by the end user's speech and the client should then start the next Dialogflow request.", - "readOnly": true, - "type": "boolean" - }, - "audio": { - "description": "Raw audio synthesized from the Dialogflow agent's response using the output config specified in the request.", - "format": "byte", + "digits": { + "description": "The dtmf digits.", "type": "string" }, - "uri": { - "description": "Client-specific URI that points to an audio clip accessible to the client. Dialogflow does not impose any validation on it.", + "finishDigit": { + "description": "The finish digit (if any).", "type": "string" } }, "type": "object" }, - "GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText": { - "description": "A text or ssml response that is preferentially used for TTS output audio synthesis, as described in the comment on the ResponseMessage message.", - "id": "GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText", + "GoogleCloudDialogflowCxV3EventHandler": { + "description": "An event handler specifies an event that can be handled during a session. When the specified event happens, the following actions are taken in order: * If there is a `trigger_fulfillment` associated with the event, it will be called. * If there is a `target_page` associated with the event, the session will transition into the specified page. * If there is a `target_flow` associated with the event, the session will transition into the specified flow.", + "id": "GoogleCloudDialogflowCxV3EventHandler", "properties": { - "allowPlaybackInterruption": { - "description": "Output only. Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request.", + "event": { + "description": "Required. The name of the event to handle.", + "type": "string" + }, + "name": { + "description": "Output only. The unique identifier of this event handler.", "readOnly": true, - "type": "boolean" + "type": "string" }, - "ssml": { - "description": "The SSML text to be synthesized. For more information, see [SSML](/speech/text-to-speech/docs/ssml).", + "targetFlow": { + "description": "The target flow to transition to. Format: `projects//locations//agents//flows/`.", "type": "string" }, - "text": { - "description": "The raw text to be synthesized.", + "targetPage": { + "description": "The target page to transition to. Format: `projects//locations//agents//flows//pages/`.", "type": "string" + }, + "triggerFulfillment": { + "$ref": "GoogleCloudDialogflowCxV3Fulfillment", + "description": "The fulfillment to call when the event occurs. Handling webhook errors with a fulfillment enabled with webhook could cause infinite loop. It is invalid to specify such fulfillment for a handler handling webhooks." } }, "type": "object" }, - "GoogleCloudDialogflowCxV3ResponseMessagePlayAudio": { - "description": "Specifies an audio clip to be played by the client as part of the response.", - "id": "GoogleCloudDialogflowCxV3ResponseMessagePlayAudio", + "GoogleCloudDialogflowCxV3EventInput": { + "description": "Represents the event to trigger.", + "id": "GoogleCloudDialogflowCxV3EventInput", "properties": { - "allowPlaybackInterruption": { - "description": "Output only. Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request.", - "readOnly": true, - "type": "boolean" - }, - "audioUri": { - "description": "Required. URI of the audio clip. Dialogflow does not impose any validation on this value. It is specific to the client that reads it.", + "event": { + "description": "Name of the event.", "type": "string" } }, "type": "object" }, - "GoogleCloudDialogflowCxV3ResponseMessageText": { - "description": "The text response message.", - "id": "GoogleCloudDialogflowCxV3ResponseMessageText", + "GoogleCloudDialogflowCxV3ExportAgentResponse": { + "description": "The response message for Agents.ExportAgent.", + "id": "GoogleCloudDialogflowCxV3ExportAgentResponse", "properties": { - "allowPlaybackInterruption": { - "description": "Output only. Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request.", - "readOnly": true, - "type": "boolean" + "agentContent": { + "description": "Uncompressed raw byte content for agent.", + "format": "byte", + "type": "string" }, - "text": { - "description": "Required. A collection of text responses.", - "items": { - "type": "string" - }, - "type": "array" + "agentUri": { + "description": "The URI to a file containing the exported agent. This field is populated only if `agent_uri` is specified in ExportAgentRequest.", + "type": "string" } }, "type": "object" }, - "GoogleCloudDialogflowCxV3SessionInfo": { - "description": "Represents session information communicated to and from the webhook.", - "id": "GoogleCloudDialogflowCxV3SessionInfo", + "GoogleCloudDialogflowCxV3ExportTestCasesMetadata": { + "description": "Metadata returned for the TestCases.ExportTestCases long running operation.", + "id": "GoogleCloudDialogflowCxV3ExportTestCasesMetadata", + "properties": {}, + "type": "object" + }, + "GoogleCloudDialogflowCxV3ExportTestCasesResponse": { + "description": "The response message for TestCases.ExportTestCases.", + "id": "GoogleCloudDialogflowCxV3ExportTestCasesResponse", "properties": { - "parameters": { - "additionalProperties": { - "type": "any" - }, - "description": "Optional for WebhookRequest. Optional for WebhookResponse. All parameters collected from forms and intents during the session. Parameters can be created, updated, or removed by the webhook. To remove a parameter from the session, the webhook should explicitly set the parameter value to null in WebhookResponse. The map is keyed by parameters' display names.", - "type": "object" + "content": { + "description": "Uncompressed raw byte content for test cases.", + "format": "byte", + "type": "string" }, - "session": { - "description": "Always present for WebhookRequest. Ignored for WebhookResponse. The unique identifier of the session. This field can be used by the webhook to identify a user. Format: `projects//locations//agents//sessions/`.", + "gcsUri": { + "description": "The URI to a file containing the exported test cases. This field is populated only if `gcs_uri` is specified in ExportTestCasesRequest.", "type": "string" } }, "type": "object" }, - "GoogleCloudDialogflowCxV3WebhookRequest": { - "description": "The request message for a webhook call.", - "id": "GoogleCloudDialogflowCxV3WebhookRequest", + "GoogleCloudDialogflowCxV3Form": { + "description": "A form is a data model that groups related parameters that can be collected from the user. The process in which the agent prompts the user and collects parameter values from the user is called form filling. A form can be added to a page. When form filling is done, the filled parameters will be written to the session.", + "id": "GoogleCloudDialogflowCxV3Form", "properties": { - "detectIntentResponseId": { - "description": "Always present. The unique identifier of the DetectIntentResponse that will be returned to the API caller.", - "type": "string" - }, - "fulfillmentInfo": { + "parameters": { + "description": "Parameters to collect from the user.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3FormParameter" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3FormParameter": { + "description": "Represents a form parameter.", + "id": "GoogleCloudDialogflowCxV3FormParameter", + "properties": { + "defaultValue": { + "description": "The default value of an optional parameter. If the parameter is required, the default value will be ignored.", + "type": "any" + }, + "displayName": { + "description": "Required. The human-readable name of the parameter, unique within the form.", + "type": "string" + }, + "entityType": { + "description": "Required. The entity type of the parameter. Format: `projects/-/locations/-/agents/-/entityTypes/` for system entity types (for example, `projects/-/locations/-/agents/-/entityTypes/sys.date`), or `projects//locations//agents//entityTypes/` for developer entity types.", + "type": "string" + }, + "fillBehavior": { + "$ref": "GoogleCloudDialogflowCxV3FormParameterFillBehavior", + "description": "Required. Defines fill behavior for the parameter." + }, + "isList": { + "description": "Indicates whether the parameter represents a list of values.", + "type": "boolean" + }, + "redact": { + "description": "Indicates whether the parameter content is logged in text and audio. If it is set to true, the parameter content will be replaced to parameter name in both request and response. The default value is false.", + "type": "boolean" + }, + "required": { + "description": "Indicates whether the parameter is required. Optional parameters will not trigger prompts; however, they are filled if the user specifies them. Required parameters must be filled before form filling concludes.", + "type": "boolean" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3FormParameterFillBehavior": { + "description": "Configuration for how the filling of a parameter should be handled.", + "id": "GoogleCloudDialogflowCxV3FormParameterFillBehavior", + "properties": { + "initialPromptFulfillment": { + "$ref": "GoogleCloudDialogflowCxV3Fulfillment", + "description": "Required. The fulfillment to provide the initial prompt that the agent can present to the user in order to fill the parameter." + }, + "repromptEventHandlers": { + "description": "The handlers for parameter-level events, used to provide reprompt for the parameter or transition to a different page/flow. The supported events are: * `sys.no-match-`, where N can be from 1 to 6 * `sys.no-match-default` * `sys.no-input-`, where N can be from 1 to 6 * `sys.no-input-default` * `sys.invalid-parameter` `initial_prompt_fulfillment` provides the first prompt for the parameter. If the user's response does not fill the parameter, a no-match/no-input event will be triggered, and the fulfillment associated with the `sys.no-match-1`/`sys.no-input-1` handler (if defined) will be called to provide a prompt. The `sys.no-match-2`/`sys.no-input-2` handler (if defined) will respond to the next no-match/no-input event, and so on. A `sys.no-match-default` or `sys.no-input-default` handler will be used to handle all following no-match/no-input events after all numbered no-match/no-input handlers for the parameter are consumed. A `sys.invalid-parameter` handler can be defined to handle the case where the parameter values have been `invalidated` by webhook. For example, if the user's response fill the parameter, however the parameter was invalidated by webhook, the fulfillment associated with the `sys.invalid-parameter` handler (if defined) will be called to provide a prompt. If the event handler for the corresponding event can't be found on the parameter, `initial_prompt_fulfillment` will be re-prompted.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3EventHandler" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3Fulfillment": { + "description": "A fulfillment can do one or more of the following actions at the same time: * Generate rich message responses. * Set parameter values. * Call the webhook. Fulfillments can be called at various stages in the Page or Form lifecycle. For example, when a DetectIntentRequest drives a session to enter a new page, the page's entry fulfillment can add a static response to the QueryResult in the returning DetectIntentResponse, call the webhook (for example, to load user data from a database), or both.", + "id": "GoogleCloudDialogflowCxV3Fulfillment", + "properties": { + "conditionalCases": { + "description": "Conditional cases for this fulfillment.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3FulfillmentConditionalCases" + }, + "type": "array" + }, + "messages": { + "description": "The list of rich message responses to present to the user.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3ResponseMessage" + }, + "type": "array" + }, + "setParameterActions": { + "description": "Set parameter values before executing the webhook.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3FulfillmentSetParameterAction" + }, + "type": "array" + }, + "tag": { + "description": "The tag used by the webhook to identify which fulfillment is being called. This field is required if `webhook` is specified.", + "type": "string" + }, + "webhook": { + "description": "The webhook to call. Format: `projects//locations//agents//webhooks/`.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3FulfillmentConditionalCases": { + "description": "A list of cascading if-else conditions. Cases are mutually exclusive. The first one with a matching condition is selected, all the rest ignored.", + "id": "GoogleCloudDialogflowCxV3FulfillmentConditionalCases", + "properties": { + "cases": { + "description": "A list of cascading if-else conditions.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCase" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCase": { + "description": "Each case has a Boolean condition. When it is evaluated to be True, the corresponding messages will be selected and evaluated recursively.", + "id": "GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCase", + "properties": { + "caseContent": { + "description": "A list of case content.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseCaseContent" + }, + "type": "array" + }, + "condition": { + "description": "The condition to activate and select this case. Empty means the condition is always true. The condition is evaluated against form parameters or session parameters. See the [conditions reference](https://cloud.google.com/dialogflow/cx/docs/reference/condition).", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseCaseContent": { + "description": "The list of messages or conditional cases to activate for this case.", + "id": "GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseCaseContent", + "properties": { + "additionalCases": { + "$ref": "GoogleCloudDialogflowCxV3FulfillmentConditionalCases", + "description": "Additional cases to be evaluated." + }, + "message": { + "$ref": "GoogleCloudDialogflowCxV3ResponseMessage", + "description": "Returned message." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3FulfillmentSetParameterAction": { + "description": "Setting a parameter value.", + "id": "GoogleCloudDialogflowCxV3FulfillmentSetParameterAction", + "properties": { + "parameter": { + "description": "Display name of the parameter.", + "type": "string" + }, + "value": { + "description": "The new value of the parameter. A null value clears the parameter.", + "type": "any" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata": { + "description": "Metadata in google::longrunning::Operation for Knowledge operations.", + "id": "GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata", + "properties": { + "state": { + "description": "Required. Output only. The current state of this operation.", + "enum": [ + "STATE_UNSPECIFIED", + "PENDING", + "RUNNING", + "DONE" + ], + "enumDescriptions": [ + "State unspecified.", + "The operation has been created.", + "The operation is currently running.", + "The operation is done, either cancelled or completed." + ], + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3ImportDocumentsOperationMetadata": { + "description": "Metadata for ImportDocuments operation.", + "id": "GoogleCloudDialogflowCxV3ImportDocumentsOperationMetadata", + "properties": { + "genericMetadata": { + "$ref": "GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata", + "description": "The generic information of the operation." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3ImportDocumentsResponse": { + "description": "Response message for Documents.ImportDocuments.", + "id": "GoogleCloudDialogflowCxV3ImportDocumentsResponse", + "properties": { + "warnings": { + "description": "Includes details about skipped documents or any other warnings.", + "items": { + "$ref": "GoogleRpcStatus" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3ImportTestCasesMetadata": { + "description": "Metadata returned for the TestCases.ImportTestCases long running operation.", + "id": "GoogleCloudDialogflowCxV3ImportTestCasesMetadata", + "properties": { + "errors": { + "description": "Errors for failed test cases.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3TestCaseError" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3ImportTestCasesResponse": { + "description": "The response message for TestCases.ImportTestCases.", + "id": "GoogleCloudDialogflowCxV3ImportTestCasesResponse", + "properties": { + "names": { + "description": "The unique identifiers of the new test cases. Format: `projects//locations//agents//testCases/`.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3InputAudioConfig": { + "description": "Instructs the speech recognizer on how to process the audio content.", + "id": "GoogleCloudDialogflowCxV3InputAudioConfig", + "properties": { + "audioEncoding": { + "description": "Required. Audio encoding of the audio content to process.", + "enum": [ + "AUDIO_ENCODING_UNSPECIFIED", + "AUDIO_ENCODING_LINEAR_16", + "AUDIO_ENCODING_FLAC", + "AUDIO_ENCODING_MULAW", + "AUDIO_ENCODING_AMR", + "AUDIO_ENCODING_AMR_WB", + "AUDIO_ENCODING_OGG_OPUS", + "AUDIO_ENCODING_SPEEX_WITH_HEADER_BYTE" + ], + "enumDescriptions": [ + "Not specified.", + "Uncompressed 16-bit signed little-endian samples (Linear PCM).", + "[`FLAC`](https://xiph.org/flac/documentation.html) (Free Lossless Audio Codec) is the recommended encoding because it is lossless (therefore recognition is not compromised) and requires only about half the bandwidth of `LINEAR16`. `FLAC` stream encoding supports 16-bit and 24-bit samples, however, not all fields in `STREAMINFO` are supported.", + "8-bit samples that compand 14-bit audio samples using G.711 PCMU/mu-law.", + "Adaptive Multi-Rate Narrowband codec. `sample_rate_hertz` must be 8000.", + "Adaptive Multi-Rate Wideband codec. `sample_rate_hertz` must be 16000.", + "Opus encoded audio frames in Ogg container ([OggOpus](https://wiki.xiph.org/OggOpus)). `sample_rate_hertz` must be 16000.", + "Although the use of lossy encodings is not recommended, if a very low bitrate encoding is required, `OGG_OPUS` is highly preferred over Speex encoding. The [Speex](https://speex.org/) encoding supported by Dialogflow API has a header byte in each block, as in MIME type `audio/x-speex-with-header-byte`. It is a variant of the RTP Speex encoding defined in [RFC 5574](https://tools.ietf.org/html/rfc5574). The stream is a sequence of blocks, one block per RTP packet. Each block starts with a byte containing the length of the block, in bytes, followed by one or more frames of Speex data, padded to an integral number of bytes (octets) as specified in RFC 5574. In other words, each RTP header is replaced with a single byte containing the block length. Only Speex wideband is supported. `sample_rate_hertz` must be 16000." + ], + "type": "string" + }, + "enableWordInfo": { + "description": "Optional. If `true`, Dialogflow returns SpeechWordInfo in StreamingRecognitionResult with information about the recognized speech words, e.g. start and end time offsets. If false or unspecified, Speech doesn't return any word-level information.", + "type": "boolean" + }, + "model": { + "description": "Optional. Which Speech model to select for the given request. Select the model best suited to your domain to get best results. If a model is not explicitly specified, then we auto-select a model based on the parameters in the InputAudioConfig. If enhanced speech model is enabled for the agent and an enhanced version of the specified model for the language does not exist, then the speech is recognized using the standard version of the specified model. Refer to [Cloud Speech API documentation](https://cloud.google.com/speech-to-text/docs/basics#select-model) for more details.", + "type": "string" + }, + "modelVariant": { + "description": "Optional. Which variant of the Speech model to use.", + "enum": [ + "SPEECH_MODEL_VARIANT_UNSPECIFIED", + "USE_BEST_AVAILABLE", + "USE_STANDARD", + "USE_ENHANCED" + ], + "enumDescriptions": [ + "No model variant specified. In this case Dialogflow defaults to USE_BEST_AVAILABLE.", + "Use the best available variant of the Speech model that the caller is eligible for. Please see the [Dialogflow docs](https://cloud.google.com/dialogflow/docs/data-logging) for how to make your project eligible for enhanced models.", + "Use standard model variant even if an enhanced model is available. See the [Cloud Speech documentation](https://cloud.google.com/speech-to-text/docs/enhanced-models) for details about enhanced models.", + "Use an enhanced model variant: * If an enhanced variant does not exist for the given model and request language, Dialogflow falls back to the standard variant. The [Cloud Speech documentation](https://cloud.google.com/speech-to-text/docs/enhanced-models) describes which models have enhanced variants. * If the API caller isn't eligible for enhanced models, Dialogflow returns an error. Please see the [Dialogflow docs](https://cloud.google.com/dialogflow/docs/data-logging) for how to make your project eligible." + ], + "type": "string" + }, + "phraseHints": { + "description": "Optional. A list of strings containing words and phrases that the speech recognizer should recognize with higher likelihood. See [the Cloud Speech documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-hints) for more details.", + "items": { + "type": "string" + }, + "type": "array" + }, + "sampleRateHertz": { + "description": "Sample rate (in Hertz) of the audio content sent in the query. Refer to [Cloud Speech API documentation](https://cloud.google.com/speech-to-text/docs/basics) for more details.", + "format": "int32", + "type": "integer" + }, + "singleUtterance": { + "description": "Optional. If `false` (default), recognition does not cease until the client closes the stream. If `true`, the recognizer will detect a single spoken utterance in input audio. Recognition ceases when it detects the audio's voice has stopped or paused. In this case, once a detected intent is received, the client should close the stream and start a new request with a new stream as needed. Note: This setting is relevant only for streaming methods.", + "type": "boolean" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3Intent": { + "description": "An intent represents a user's intent to interact with a conversational agent. You can provide information for the Dialogflow API to use to match user input to an intent by adding training phrases (i.e., examples of user input) to your intent.", + "id": "GoogleCloudDialogflowCxV3Intent", + "properties": { + "description": { + "description": "Optional. Human readable description for better understanding an intent like its scope, content, result etc. Maximum character limit: 140 characters.", + "type": "string" + }, + "displayName": { + "description": "Required. The human-readable name of the intent, unique within the agent.", + "type": "string" + }, + "isFallback": { + "description": "Indicates whether this is a fallback intent. Currently only default fallback intent is allowed in the agent, which is added upon agent creation. Adding training phrases to fallback intent is useful in the case of requests that are mistakenly matched, since training phrases assigned to fallback intents act as negative examples that triggers no-match event.", + "type": "boolean" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "description": "Optional. The key/value metadata to label an intent. Labels can contain lowercase letters, digits and the symbols '-' and '_'. International characters are allowed, including letters from unicase alphabets. Keys must start with a letter. Keys and values can be no longer than 63 characters and no more than 128 bytes. Prefix \"sys.\" is reserved for Dialogflow defined labels. Currently allowed Dialogflow defined labels include: * sys.head * sys.contextual The above labels do not require value. \"sys.head\" means the intent is a head intent. \"sys.contextual\" means the intent is a contextual intent.", + "type": "object" + }, + "name": { + "description": "The unique identifier of the intent. Required for the Intents.UpdateIntent method. Intents.CreateIntent populates the name automatically. Format: `projects//locations//agents//intents/`.", + "type": "string" + }, + "parameters": { + "description": "The collection of parameters associated with the intent.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3IntentParameter" + }, + "type": "array" + }, + "priority": { + "description": "The priority of this intent. Higher numbers represent higher priorities. - If the supplied value is unspecified or 0, the service translates the value to 500,000, which corresponds to the `Normal` priority in the console. - If the supplied value is negative, the intent is ignored in runtime detect intent requests.", + "format": "int32", + "type": "integer" + }, + "trainingPhrases": { + "description": "The collection of training phrases the agent is trained on to identify the intent.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3IntentTrainingPhrase" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3IntentInput": { + "description": "Represents the intent to trigger programmatically rather than as a result of natural language processing.", + "id": "GoogleCloudDialogflowCxV3IntentInput", + "properties": { + "intent": { + "description": "Required. The unique identifier of the intent. Format: `projects//locations//agents//intents/`.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3IntentParameter": { + "description": "Represents an intent parameter.", + "id": "GoogleCloudDialogflowCxV3IntentParameter", + "properties": { + "entityType": { + "description": "Required. The entity type of the parameter. Format: `projects/-/locations/-/agents/-/entityTypes/` for system entity types (for example, `projects/-/locations/-/agents/-/entityTypes/sys.date`), or `projects//locations//agents//entityTypes/` for developer entity types.", + "type": "string" + }, + "id": { + "description": "Required. The unique identifier of the parameter. This field is used by training phrases to annotate their parts.", + "type": "string" + }, + "isList": { + "description": "Indicates whether the parameter represents a list of values.", + "type": "boolean" + }, + "redact": { + "description": "Indicates whether the parameter content is logged in text and audio. If it is set to true, the parameter content will be replaced to parameter id in both request and response. The default value is false.", + "type": "boolean" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3IntentTrainingPhrase": { + "description": "Represents an example that the agent is trained on to identify the intent.", + "id": "GoogleCloudDialogflowCxV3IntentTrainingPhrase", + "properties": { + "id": { + "description": "Output only. The unique identifier of the training phrase.", + "type": "string" + }, + "parts": { + "description": "Required. The ordered list of training phrase parts. The parts are concatenated in order to form the training phrase. Note: The API does not automatically annotate training phrases like the Dialogflow Console does. Note: Do not forget to include whitespace at part boundaries, so the training phrase is well formatted when the parts are concatenated. If the training phrase does not need to be annotated with parameters, you just need a single part with only the Part.text field set. If you want to annotate the training phrase, you must create multiple parts, where the fields of each part are populated in one of two ways: - `Part.text` is set to a part of the phrase that has no parameters. - `Part.text` is set to a part of the phrase that you want to annotate, and the `parameter_id` field is set.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3IntentTrainingPhrasePart" + }, + "type": "array" + }, + "repeatCount": { + "description": "Indicates how many times this example was added to the intent.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3IntentTrainingPhrasePart": { + "description": "Represents a part of a training phrase.", + "id": "GoogleCloudDialogflowCxV3IntentTrainingPhrasePart", + "properties": { + "parameterId": { + "description": "The parameter used to annotate this part of the training phrase. This field is required for annotated parts of the training phrase.", + "type": "string" + }, + "text": { + "description": "Required. The text for this part.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3Page": { + "description": "A Dialogflow CX conversation (session) can be described and visualized as a state machine. The states of a CX session are represented by pages. For each flow, you define many pages, where your combined pages can handle a complete conversation on the topics the flow is designed for. At any given moment, exactly one page is the current page, the current page is considered active, and the flow associated with that page is considered active. Every flow has a special start page. When a flow initially becomes active, the start page page becomes the current page. For each conversational turn, the current page will either stay the same or transition to another page. You configure each page to collect information from the end-user that is relevant for the conversational state represented by the page. For more information, see the [Page guide](https://cloud.google.com/dialogflow/cx/docs/concept/page).", + "id": "GoogleCloudDialogflowCxV3Page", + "properties": { + "displayName": { + "description": "Required. The human-readable name of the page, unique within the agent.", + "type": "string" + }, + "entryFulfillment": { + "$ref": "GoogleCloudDialogflowCxV3Fulfillment", + "description": "The fulfillment to call when the session is entering the page." + }, + "eventHandlers": { + "description": "Handlers associated with the page to handle events such as webhook errors, no match or no input.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3EventHandler" + }, + "type": "array" + }, + "form": { + "$ref": "GoogleCloudDialogflowCxV3Form", + "description": "The form associated with the page, used for collecting parameters relevant to the page." + }, + "name": { + "description": "The unique identifier of the page. Required for the Pages.UpdatePage method. Pages.CreatePage populates the name automatically. Format: `projects//locations//agents//flows//pages/`.", + "type": "string" + }, + "transitionRouteGroups": { + "description": "Ordered list of `TransitionRouteGroups` associated with the page. Transition route groups must be unique within a page. * If multiple transition routes within a page scope refer to the same intent, then the precedence order is: page's transition route -\u003e page's transition route group -\u003e flow's transition routes. * If multiple transition route groups within a page contain the same intent, then the first group in the ordered list takes precedence. Format:`projects//locations//agents//flows//transitionRouteGroups/`.", + "items": { + "type": "string" + }, + "type": "array" + }, + "transitionRoutes": { + "description": "A list of transitions for the transition rules of this page. They route the conversation to another page in the same flow, or another flow. When we are in a certain page, the TransitionRoutes are evalauted in the following order: * TransitionRoutes defined in the page with intent specified. * TransitionRoutes defined in the transition route groups. * TransitionRoutes defined in flow with intent specified. * TransitionRoutes defined in the page with only condition specified.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3TransitionRoute" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3PageInfo": { + "description": "Represents page information communicated to and from the webhook.", + "id": "GoogleCloudDialogflowCxV3PageInfo", + "properties": { + "currentPage": { + "description": "Always present for WebhookRequest. Ignored for WebhookResponse. The unique identifier of the current page. Format: `projects//locations//agents//flows//pages/`.", + "type": "string" + }, + "formInfo": { + "$ref": "GoogleCloudDialogflowCxV3PageInfoFormInfo", + "description": "Optional for both WebhookRequest and WebhookResponse. Information about the form." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3PageInfoFormInfo": { + "description": "Represents form information.", + "id": "GoogleCloudDialogflowCxV3PageInfoFormInfo", + "properties": { + "parameterInfo": { + "description": "Optional for both WebhookRequest and WebhookResponse. The parameters contained in the form. Note that the webhook cannot add or remove any form parameter.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo": { + "description": "Represents parameter information.", + "id": "GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo", + "properties": { + "displayName": { + "description": "Always present for WebhookRequest. Required for WebhookResponse. The human-readable name of the parameter, unique within the form. This field cannot be modified by the webhook.", + "type": "string" + }, + "justCollected": { + "description": "Optional for WebhookRequest. Ignored for WebhookResponse. Indicates if the parameter value was just collected on the last conversation turn.", + "type": "boolean" + }, + "required": { + "description": "Optional for both WebhookRequest and WebhookResponse. Indicates whether the parameter is required. Optional parameters will not trigger prompts; however, they are filled if the user specifies them. Required parameters must be filled before form filling concludes.", + "type": "boolean" + }, + "state": { + "description": "Always present for WebhookRequest. Required for WebhookResponse. The state of the parameter. This field can be set to INVALID by the webhook to invalidate the parameter; other values set by the webhook will be ignored.", + "enum": [ + "PARAMETER_STATE_UNSPECIFIED", + "EMPTY", + "INVALID", + "FILLED" + ], + "enumDescriptions": [ + "Not specified. This value should be never used.", + "Indicates that the parameter does not have a value.", + "Indicates that the parameter value is invalid. This field can be used by the webhook to invalidate the parameter and ask the server to collect it from the user again.", + "Indicates that the parameter has a value." + ], + "type": "string" + }, + "value": { + "description": "Optional for both WebhookRequest and WebhookResponse. The value of the parameter. This field can be set by the webhook to change the parameter value.", + "type": "any" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3QueryInput": { + "description": "Represents the query input. It can contain one of: 1. A conversational query in the form of text. 2. An intent query that specifies which intent to trigger. 3. Natural language speech audio to be processed. 4. An event to be triggered. ", + "id": "GoogleCloudDialogflowCxV3QueryInput", + "properties": { + "audio": { + "$ref": "GoogleCloudDialogflowCxV3AudioInput", + "description": "The natural language speech audio to be processed." + }, + "dtmf": { + "$ref": "GoogleCloudDialogflowCxV3DtmfInput", + "description": "The DTMF event to be handled." + }, + "event": { + "$ref": "GoogleCloudDialogflowCxV3EventInput", + "description": "The event to be triggered." + }, + "intent": { + "$ref": "GoogleCloudDialogflowCxV3IntentInput", + "description": "The intent to be triggered." + }, + "languageCode": { + "description": "Required. The language of the input. See [Language Support](https://cloud.google.com/dialogflow/docs/reference/language) for a list of the currently supported language codes. Note that queries in the same session do not necessarily need to specify the same language.", + "type": "string" + }, + "text": { + "$ref": "GoogleCloudDialogflowCxV3TextInput", + "description": "The natural language text to be processed." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3ReloadDocumentOperationMetadata": { + "description": "Metadata for ReloadDocument operation.", + "id": "GoogleCloudDialogflowCxV3ReloadDocumentOperationMetadata", + "properties": { + "genericMetadata": { + "$ref": "GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata", + "description": "The generic information of the operation." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3ResponseMessage": { + "description": "Represents a response message that can be returned by a conversational agent. Response messages are also used for output audio synthesis. The approach is as follows: * If at least one OutputAudioText response is present, then all OutputAudioText responses are linearly concatenated, and the result is used for output audio synthesis. * If the OutputAudioText responses are a mixture of text and SSML, then the concatenated result is treated as SSML; otherwise, the result is treated as either text or SSML as appropriate. The agent designer should ideally use either text or SSML consistently throughout the bot design. * Otherwise, all Text responses are linearly concatenated, and the result is used for output audio synthesis. This approach allows for more sophisticated user experience scenarios, where the text displayed to the user may differ from what is heard.", + "id": "GoogleCloudDialogflowCxV3ResponseMessage", + "properties": { + "conversationSuccess": { + "$ref": "GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess", + "description": "Indicates that the conversation succeeded." + }, + "endInteraction": { + "$ref": "GoogleCloudDialogflowCxV3ResponseMessageEndInteraction", + "description": "Output only. A signal that indicates the interaction with the Dialogflow agent has ended. This message is generated by Dialogflow only when the conversation reaches `END_SESSION` or `END_PAGE` page. It is not supposed to be defined by the user. It's guaranteed that there is at most one such message in each response.", + "readOnly": true + }, + "liveAgentHandoff": { + "$ref": "GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff", + "description": "Hands off conversation to a human agent." + }, + "mixedAudio": { + "$ref": "GoogleCloudDialogflowCxV3ResponseMessageMixedAudio", + "description": "Output only. An audio response message composed of both the synthesized Dialogflow agent responses and responses defined via play_audio. This message is generated by Dialogflow only and not supposed to be defined by the user.", + "readOnly": true + }, + "outputAudioText": { + "$ref": "GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText", + "description": "A text or ssml response that is preferentially used for TTS output audio synthesis, as described in the comment on the ResponseMessage message." + }, + "payload": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "Returns a response containing a custom, platform-specific payload.", + "type": "object" + }, + "playAudio": { + "$ref": "GoogleCloudDialogflowCxV3ResponseMessagePlayAudio", + "description": "Signal that the client should play an audio clip hosted at a client-specific URI. Dialogflow uses this to construct mixed_audio. However, Dialogflow itself does not try to read or process the URI in any way." + }, + "text": { + "$ref": "GoogleCloudDialogflowCxV3ResponseMessageText", + "description": "Returns a text response." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess": { + "description": "Indicates that the conversation succeeded, i.e., the bot handled the issue that the customer talked to it about. Dialogflow only uses this to determine which conversations should be counted as successful and doesn't process the metadata in this message in any way. Note that Dialogflow also considers conversations that get to the conversation end page as successful even if they don't return ConversationSuccess. You may set this, for example: * In the entry_fulfillment of a Page if entering the page indicates that the conversation succeeded. * In a webhook response when you determine that you handled the customer issue.", + "id": "GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess", + "properties": { + "metadata": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "Custom metadata. Dialogflow doesn't impose any structure on this.", + "type": "object" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3ResponseMessageEndInteraction": { + "description": "Indicates that interaction with the Dialogflow agent has ended. This message is generated by Dialogflow only and not supposed to be defined by the user.", + "id": "GoogleCloudDialogflowCxV3ResponseMessageEndInteraction", + "properties": {}, + "type": "object" + }, + "GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff": { + "description": "Indicates that the conversation should be handed off to a live agent. Dialogflow only uses this to determine which conversations were handed off to a human agent for measurement purposes. What else to do with this signal is up to you and your handoff procedures. You may set this, for example: * In the entry_fulfillment of a Page if entering the page indicates something went extremely wrong in the conversation. * In a webhook response when you determine that the customer issue can only be handled by a human.", + "id": "GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff", + "properties": { + "metadata": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "Custom metadata for your handoff procedure. Dialogflow doesn't impose any structure on this.", + "type": "object" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3ResponseMessageMixedAudio": { + "description": "Represents an audio message that is composed of both segments synthesized from the Dialogflow agent prompts and ones hosted externally at the specified URIs. The external URIs are specified via play_audio. This message is generated by Dialogflow only and not supposed to be defined by the user.", + "id": "GoogleCloudDialogflowCxV3ResponseMessageMixedAudio", + "properties": { + "segments": { + "description": "Segments this audio response is composed of.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment": { + "description": "Represents one segment of audio.", + "id": "GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment", + "properties": { + "allowPlaybackInterruption": { + "description": "Output only. Whether the playback of this segment can be interrupted by the end user's speech and the client should then start the next Dialogflow request.", + "readOnly": true, + "type": "boolean" + }, + "audio": { + "description": "Raw audio synthesized from the Dialogflow agent's response using the output config specified in the request.", + "format": "byte", + "type": "string" + }, + "uri": { + "description": "Client-specific URI that points to an audio clip accessible to the client. Dialogflow does not impose any validation on it.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText": { + "description": "A text or ssml response that is preferentially used for TTS output audio synthesis, as described in the comment on the ResponseMessage message.", + "id": "GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText", + "properties": { + "allowPlaybackInterruption": { + "description": "Output only. Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request.", + "readOnly": true, + "type": "boolean" + }, + "ssml": { + "description": "The SSML text to be synthesized. For more information, see [SSML](/speech/text-to-speech/docs/ssml).", + "type": "string" + }, + "text": { + "description": "The raw text to be synthesized.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3ResponseMessagePlayAudio": { + "description": "Specifies an audio clip to be played by the client as part of the response.", + "id": "GoogleCloudDialogflowCxV3ResponseMessagePlayAudio", + "properties": { + "allowPlaybackInterruption": { + "description": "Output only. Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request.", + "readOnly": true, + "type": "boolean" + }, + "audioUri": { + "description": "Required. URI of the audio clip. Dialogflow does not impose any validation on this value. It is specific to the client that reads it.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3ResponseMessageText": { + "description": "The text response message.", + "id": "GoogleCloudDialogflowCxV3ResponseMessageText", + "properties": { + "allowPlaybackInterruption": { + "description": "Output only. Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request.", + "readOnly": true, + "type": "boolean" + }, + "text": { + "description": "Required. A collection of text responses.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3RunTestCaseMetadata": { + "description": "Metadata returned for the TestCases.RunTestCase long running operation.", + "id": "GoogleCloudDialogflowCxV3RunTestCaseMetadata", + "properties": {}, + "type": "object" + }, + "GoogleCloudDialogflowCxV3RunTestCaseResponse": { + "description": "The response message for TestCases.RunTestCase.", + "id": "GoogleCloudDialogflowCxV3RunTestCaseResponse", + "properties": { + "result": { + "$ref": "GoogleCloudDialogflowCxV3TestCaseResult", + "description": "The result." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3SessionInfo": { + "description": "Represents session information communicated to and from the webhook.", + "id": "GoogleCloudDialogflowCxV3SessionInfo", + "properties": { + "parameters": { + "additionalProperties": { + "type": "any" + }, + "description": "Optional for WebhookRequest. Optional for WebhookResponse. All parameters collected from forms and intents during the session. Parameters can be created, updated, or removed by the webhook. To remove a parameter from the session, the webhook should explicitly set the parameter value to null in WebhookResponse. The map is keyed by parameters' display names.", + "type": "object" + }, + "session": { + "description": "Always present for WebhookRequest. Ignored for WebhookResponse. The unique identifier of the session. This field can be used by the webhook to identify a user. Format: `projects//locations//agents//sessions/`.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3TestCase": { + "description": "Represents a test case.", + "id": "GoogleCloudDialogflowCxV3TestCase", + "properties": { + "creationTime": { + "description": "Output only. When the test was created.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "displayName": { + "description": "Required. The human-readable name of the test case, unique within the agent. Limit of 200 characters.", + "type": "string" + }, + "lastTestResult": { + "$ref": "GoogleCloudDialogflowCxV3TestCaseResult", + "description": "The latest test result." + }, + "name": { + "description": "The unique identifier of the test case. TestCases.CreateTestCase will populate the name automatically. Otherwise use format: `projects//locations//agents/ /testCases/`.", + "type": "string" + }, + "notes": { + "description": "Additional freeform notes about the test case. Limit of 400 characters.", + "type": "string" + }, + "tags": { + "description": "Tags are short descriptions that users may apply to test cases for organizational and filtering purposes. Each tag should start with \"#\" and has a limit of 30 characters.", + "items": { + "type": "string" + }, + "type": "array" + }, + "testCaseConversationTurns": { + "description": "The conversation turns uttered when the test case was created, in chronological order. These include the canonical set of agent utterances that should occur when the agent is working properly.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3ConversationTurn" + }, + "type": "array" + }, + "testConfig": { + "$ref": "GoogleCloudDialogflowCxV3TestConfig", + "description": "Config for the test case." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3TestCaseError": { + "description": "Error info for importing a test.", + "id": "GoogleCloudDialogflowCxV3TestCaseError", + "properties": { + "status": { + "$ref": "GoogleRpcStatus", + "description": "The status associated with the test case." + }, + "testCase": { + "$ref": "GoogleCloudDialogflowCxV3TestCase", + "description": "The test case." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3TestCaseResult": { + "description": "Represents a result from running a test case in an agent environment.", + "id": "GoogleCloudDialogflowCxV3TestCaseResult", + "properties": { + "conversationTurns": { + "description": "The conversation turns uttered during the test case replay in chronological order.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3ConversationTurn" + }, + "type": "array" + }, + "environment": { + "description": "Optional. Environment where the test was run. If not set, it indicates the draft environment.", + "type": "string" + }, + "name": { + "description": "The resource name for the test case result. Format: `projects//locations//agents//testCases/ /results/`.", + "type": "string" + }, + "testResult": { + "description": "Whether the test case passed in the agent environment.", + "enum": [ + "TEST_RESULT_UNSPECIFIED", + "PASSED", + "FAILED" + ], + "enumDescriptions": [ + "Not specified. Should never be used.", + "The test passed.", + "The test did not pass." + ], + "type": "string" + }, + "testTime": { + "description": "The time that the test was run.", + "format": "google-datetime", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3TestConfig": { + "description": "Represents configurations for a test case.", + "id": "GoogleCloudDialogflowCxV3TestConfig", + "properties": { + "flow": { + "description": "Flow name. If not set, default start flow is assumed. Format: `projects//locations//agents//flows/`.", + "type": "string" + }, + "trackingParameters": { + "description": "Session parameters to be compared when calculating differences.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3TestError": { + "description": "Error info for running a test.", + "id": "GoogleCloudDialogflowCxV3TestError", + "properties": { + "status": { + "$ref": "GoogleRpcStatus", + "description": "The status associated with the test." + }, + "testCase": { + "description": "The test case resource name.", + "type": "string" + }, + "testTime": { + "description": "The timestamp when the test was completed.", + "format": "google-datetime", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3TestRunDifference": { + "description": "The description of differences between original and replayed agent output.", + "id": "GoogleCloudDialogflowCxV3TestRunDifference", + "properties": { + "description": { + "description": "A description of the diff, showing the actual output vs expected output.", + "type": "string" + }, + "type": { + "description": "The type of diff.", + "enum": [ + "DIFF_TYPE_UNSPECIFIED", + "INTENT", + "PAGE", + "PARAMETERS", + "UTTERANCE" + ], + "enumDescriptions": [ + "Should never be used.", + "The intent.", + "The page.", + "The parameters.", + "The message utterance." + ], + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3TextInput": { + "description": "Represents the natural language text to be processed.", + "id": "GoogleCloudDialogflowCxV3TextInput", + "properties": { + "text": { + "description": "Required. The UTF-8 encoded natural language text to be processed. Text length must not exceed 256 characters.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3TransitionRoute": { + "description": "A transition route specifies a intent that can be matched and/or a data condition that can be evaluated during a session. When a specified transition is matched, the following actions are taken in order: * If there is a `trigger_fulfillment` associated with the transition, it will be called. * If there is a `target_page` associated with the transition, the session will transition into the specified page. * If there is a `target_flow` associated with the transition, the session will transition into the specified flow.", + "id": "GoogleCloudDialogflowCxV3TransitionRoute", + "properties": { + "condition": { + "description": "The condition to evaluate against form parameters or session parameters. See the [conditions reference](https://cloud.google.com/dialogflow/cx/docs/reference/condition). At least one of `intent` or `condition` must be specified. When both `intent` and `condition` are specified, the transition can only happen when both are fulfilled.", + "type": "string" + }, + "intent": { + "description": "The unique identifier of an Intent. Format: `projects//locations//agents//intents/`. Indicates that the transition can only happen when the given intent is matched. At least one of `intent` or `condition` must be specified. When both `intent` and `condition` are specified, the transition can only happen when both are fulfilled.", + "type": "string" + }, + "name": { + "description": "Output only. The unique identifier of this transition route.", + "readOnly": true, + "type": "string" + }, + "targetFlow": { + "description": "The target flow to transition to. Format: `projects//locations//agents//flows/`.", + "type": "string" + }, + "targetPage": { + "description": "The target page to transition to. Format: `projects//locations//agents//flows//pages/`.", + "type": "string" + }, + "triggerFulfillment": { + "$ref": "GoogleCloudDialogflowCxV3Fulfillment", + "description": "The fulfillment to call when the condition is satisfied. At least one of `trigger_fulfillment` and `target` must be specified. When both are defined, `trigger_fulfillment` is executed first." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3UpdateDocumentOperationMetadata": { + "description": "Metadata for UpdateDocument operation.", + "id": "GoogleCloudDialogflowCxV3UpdateDocumentOperationMetadata", + "properties": { + "genericMetadata": { + "$ref": "GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata", + "description": "The generic information of the operation." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3WebhookRequest": { + "description": "The request message for a webhook call.", + "id": "GoogleCloudDialogflowCxV3WebhookRequest", + "properties": { + "detectIntentResponseId": { + "description": "Always present. The unique identifier of the DetectIntentResponse that will be returned to the API caller.", + "type": "string" + }, + "fulfillmentInfo": { "$ref": "GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo", "description": "Always present. Information about the fulfillment that triggered this webhook call." }, - "intentInfo": { - "$ref": "GoogleCloudDialogflowCxV3WebhookRequestIntentInfo", - "description": "Information about the last matched intent." + "intentInfo": { + "$ref": "GoogleCloudDialogflowCxV3WebhookRequestIntentInfo", + "description": "Information about the last matched intent." + }, + "messages": { + "description": "The list of rich message responses to present to the user. Webhook can choose to append or replace this list in WebhookResponse.fulfillment_response;", + "items": { + "$ref": "GoogleCloudDialogflowCxV3ResponseMessage" + }, + "type": "array" + }, + "pageInfo": { + "$ref": "GoogleCloudDialogflowCxV3PageInfo", + "description": "Information about page status." + }, + "payload": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "Custom data set in QueryParameters.payload.", + "type": "object" + }, + "sessionInfo": { + "$ref": "GoogleCloudDialogflowCxV3SessionInfo", + "description": "Information about session status." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo": { + "description": "Represents fulfillment information communicated to the webhook.", + "id": "GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo", + "properties": { + "tag": { + "description": "Always present. The tag used to identify which fulfillment is being called.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3WebhookRequestIntentInfo": { + "description": "Represents intent information communicated to the webhook.", + "id": "GoogleCloudDialogflowCxV3WebhookRequestIntentInfo", + "properties": { + "lastMatchedIntent": { + "description": "Always present. The unique identifier of the last matched intent. Format: `projects//locations//agents//intents/`.", + "type": "string" + }, + "parameters": { + "additionalProperties": { + "$ref": "GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue" + }, + "description": "Parameters identified as a result of intent matching. This is a map of the name of the identified parameter to the value of the parameter identified from the user's utterance. All parameters defined in the matched intent that are identified will be surfaced here.", + "type": "object" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue": { + "description": "Represents a value for an intent parameter.", + "id": "GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue", + "properties": { + "originalValue": { + "description": "Always present. Original text value extracted from user utterance.", + "type": "string" + }, + "resolvedValue": { + "description": "Always present. Structured value for the parameter extracted from user utterance.", + "type": "any" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3WebhookResponse": { + "description": "The response message for a webhook call.", + "id": "GoogleCloudDialogflowCxV3WebhookResponse", + "properties": { + "fulfillmentResponse": { + "$ref": "GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse", + "description": "The fulfillment response to send to the user. This field can be omitted by the webhook if it does not intend to send any response to the user." + }, + "pageInfo": { + "$ref": "GoogleCloudDialogflowCxV3PageInfo", + "description": "Information about page status. This field can be omitted by the webhook if it does not intend to modify page status." + }, + "payload": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "Value to append directly to QueryResult.webhook_payloads.", + "type": "object" + }, + "sessionInfo": { + "$ref": "GoogleCloudDialogflowCxV3SessionInfo", + "description": "Information about session status. This field can be omitted by the webhook if it does not intend to modify session status." + }, + "targetFlow": { + "description": "The target flow to transition to. Format: `projects//locations//agents//flows/`.", + "type": "string" + }, + "targetPage": { + "description": "The target page to transition to. Format: `projects//locations//agents//flows//pages/`.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse": { + "description": "Represents a fulfillment response to the user.", + "id": "GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse", + "properties": { + "mergeBehavior": { + "description": "Merge behavior for `messages`.", + "enum": [ + "MERGE_BEHAVIOR_UNSPECIFIED", + "APPEND", + "REPLACE" + ], + "enumDescriptions": [ + "Not specified. `APPEND` will be used.", + "`messages` will be appended to the list of messages waiting to be sent to the user.", + "`messages` will replace the list of messages waiting to be sent to the user." + ], + "type": "string" + }, + "messages": { + "description": "The list of rich message responses to present to the user.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3ResponseMessage" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1AudioInput": { + "description": "Represents the natural speech audio to be processed.", + "id": "GoogleCloudDialogflowCxV3beta1AudioInput", + "properties": { + "audio": { + "description": "The natural language speech audio to be processed. A single request can contain up to 1 minute of speech audio data. The transcribed text cannot contain more than 256 bytes. For non-streaming audio detect intent, both `config` and `audio` must be provided. For streaming audio detect intent, `config` must be provided in the first request and `audio` must be provided in all following requests.", + "format": "byte", + "type": "string" + }, + "config": { + "$ref": "GoogleCloudDialogflowCxV3beta1InputAudioConfig", + "description": "Required. Instructs the speech recognizer how to process the speech audio." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1BatchRunTestCasesMetadata": { + "description": "Metadata returned for the TestCases.BatchRunTestCases long running operation.", + "id": "GoogleCloudDialogflowCxV3beta1BatchRunTestCasesMetadata", + "properties": { + "errors": { + "description": "The test errors.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3beta1TestError" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1BatchRunTestCasesResponse": { + "description": "The response message for TestCases.BatchRunTestCases.", + "id": "GoogleCloudDialogflowCxV3beta1BatchRunTestCasesResponse", + "properties": { + "results": { + "description": "The test case results. The detailed conversation turns are empty in this response.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3beta1TestCaseResult" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1ConversationTurn": { + "description": "One interaction between a human and virtual agent. The human provides some input and the virtual agent provides a response.", + "id": "GoogleCloudDialogflowCxV3beta1ConversationTurn", + "properties": { + "userInput": { + "$ref": "GoogleCloudDialogflowCxV3beta1ConversationTurnUserInput", + "description": "The user input." + }, + "virtualAgentOutput": { + "$ref": "GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput", + "description": "The virtual agent output." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1ConversationTurnUserInput": { + "description": "The input from the human user.", + "id": "GoogleCloudDialogflowCxV3beta1ConversationTurnUserInput", + "properties": { + "injectedParameters": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "Parameters that need to be injected into the conversation during intent detection.", + "type": "object" + }, + "input": { + "$ref": "GoogleCloudDialogflowCxV3beta1QueryInput", + "description": "Supports text input, event input, dtmf input in the test case." + }, + "isWebhookEnabled": { + "description": "If webhooks should be allowed to trigger in response to the user utterance. Often if parameters are injected, webhooks should not be enabled.", + "type": "boolean" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput": { + "description": "The output from the virtual agent.", + "id": "GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput", + "properties": { + "currentPage": { + "$ref": "GoogleCloudDialogflowCxV3beta1Page", + "description": "The Page on which the utterance was spoken. Only some fields such as name and displayname will be set." + }, + "diagnosticInfo": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "Required. Input only. The diagnostic info output for the turn.", + "type": "object" + }, + "differences": { + "description": "Output only. If this is part of a result conversation turn, the list of differences between the original run and the replay for this output, if any.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3beta1TestRunDifference" + }, + "readOnly": true, + "type": "array" + }, + "sessionParameters": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "The session parameters available to the bot at this point.", + "type": "object" + }, + "status": { + "$ref": "GoogleRpcStatus", + "description": "Response error from the agent in the test result. If set, other output is empty." + }, + "textResponses": { + "description": "The text responses from the agent for the turn.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3beta1ResponseMessageText" + }, + "type": "array" + }, + "triggeredIntent": { + "$ref": "GoogleCloudDialogflowCxV3beta1Intent", + "description": "The Intent that triggered the response. Only some fields such as name and displayname will be set." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1CreateDocumentOperationMetadata": { + "description": "Metadata for CreateDocument operation.", + "id": "GoogleCloudDialogflowCxV3beta1CreateDocumentOperationMetadata", + "properties": { + "genericMetadata": { + "$ref": "GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata", + "description": "The generic information of the operation." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata": { + "description": "Metadata associated with the long running operation for Versions.CreateVersion.", + "id": "GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata", + "properties": { + "version": { + "description": "Name of the created version. Format: `projects//locations//agents//flows//versions/`.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1DeleteDocumentOperationMetadata": { + "description": "Metadata for DeleteDocument operation.", + "id": "GoogleCloudDialogflowCxV3beta1DeleteDocumentOperationMetadata", + "properties": { + "genericMetadata": { + "$ref": "GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata", + "description": "The generic information of the operation." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1DtmfInput": { + "description": "Represents the input for dtmf event.", + "id": "GoogleCloudDialogflowCxV3beta1DtmfInput", + "properties": { + "digits": { + "description": "The dtmf digits.", + "type": "string" + }, + "finishDigit": { + "description": "The finish digit (if any).", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1EventHandler": { + "description": "An event handler specifies an event that can be handled during a session. When the specified event happens, the following actions are taken in order: * If there is a `trigger_fulfillment` associated with the event, it will be called. * If there is a `target_page` associated with the event, the session will transition into the specified page. * If there is a `target_flow` associated with the event, the session will transition into the specified flow.", + "id": "GoogleCloudDialogflowCxV3beta1EventHandler", + "properties": { + "event": { + "description": "Required. The name of the event to handle.", + "type": "string" + }, + "name": { + "description": "Output only. The unique identifier of this event handler.", + "readOnly": true, + "type": "string" + }, + "targetFlow": { + "description": "The target flow to transition to. Format: `projects//locations//agents//flows/`.", + "type": "string" + }, + "targetPage": { + "description": "The target page to transition to. Format: `projects//locations//agents//flows//pages/`.", + "type": "string" + }, + "triggerFulfillment": { + "$ref": "GoogleCloudDialogflowCxV3beta1Fulfillment", + "description": "The fulfillment to call when the event occurs. Handling webhook errors with a fulfillment enabled with webhook could cause infinite loop. It is invalid to specify such fulfillment for a handler handling webhooks." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1EventInput": { + "description": "Represents the event to trigger.", + "id": "GoogleCloudDialogflowCxV3beta1EventInput", + "properties": { + "event": { + "description": "Name of the event.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1ExportAgentResponse": { + "description": "The response message for Agents.ExportAgent.", + "id": "GoogleCloudDialogflowCxV3beta1ExportAgentResponse", + "properties": { + "agentContent": { + "description": "Uncompressed raw byte content for agent.", + "format": "byte", + "type": "string" + }, + "agentUri": { + "description": "The URI to a file containing the exported agent. This field is populated only if `agent_uri` is specified in ExportAgentRequest.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1ExportTestCasesMetadata": { + "description": "Metadata returned for the TestCases.ExportTestCases long running operation.", + "id": "GoogleCloudDialogflowCxV3beta1ExportTestCasesMetadata", + "properties": {}, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1ExportTestCasesResponse": { + "description": "The response message for TestCases.ExportTestCases.", + "id": "GoogleCloudDialogflowCxV3beta1ExportTestCasesResponse", + "properties": { + "content": { + "description": "Uncompressed raw byte content for test cases.", + "format": "byte", + "type": "string" + }, + "gcsUri": { + "description": "The URI to a file containing the exported test cases. This field is populated only if `gcs_uri` is specified in ExportTestCasesRequest.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1Form": { + "description": "A form is a data model that groups related parameters that can be collected from the user. The process in which the agent prompts the user and collects parameter values from the user is called form filling. A form can be added to a page. When form filling is done, the filled parameters will be written to the session.", + "id": "GoogleCloudDialogflowCxV3beta1Form", + "properties": { + "parameters": { + "description": "Parameters to collect from the user.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3beta1FormParameter" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1FormParameter": { + "description": "Represents a form parameter.", + "id": "GoogleCloudDialogflowCxV3beta1FormParameter", + "properties": { + "defaultValue": { + "description": "The default value of an optional parameter. If the parameter is required, the default value will be ignored.", + "type": "any" + }, + "displayName": { + "description": "Required. The human-readable name of the parameter, unique within the form.", + "type": "string" + }, + "entityType": { + "description": "Required. The entity type of the parameter. Format: `projects/-/locations/-/agents/-/entityTypes/` for system entity types (for example, `projects/-/locations/-/agents/-/entityTypes/sys.date`), or `projects//locations//agents//entityTypes/` for developer entity types.", + "type": "string" + }, + "fillBehavior": { + "$ref": "GoogleCloudDialogflowCxV3beta1FormParameterFillBehavior", + "description": "Required. Defines fill behavior for the parameter." + }, + "isList": { + "description": "Indicates whether the parameter represents a list of values.", + "type": "boolean" + }, + "redact": { + "description": "Indicates whether the parameter content is logged in text and audio. If it is set to true, the parameter content will be replaced to parameter name in both request and response. The default value is false.", + "type": "boolean" + }, + "required": { + "description": "Indicates whether the parameter is required. Optional parameters will not trigger prompts; however, they are filled if the user specifies them. Required parameters must be filled before form filling concludes.", + "type": "boolean" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1FormParameterFillBehavior": { + "description": "Configuration for how the filling of a parameter should be handled.", + "id": "GoogleCloudDialogflowCxV3beta1FormParameterFillBehavior", + "properties": { + "initialPromptFulfillment": { + "$ref": "GoogleCloudDialogflowCxV3beta1Fulfillment", + "description": "Required. The fulfillment to provide the initial prompt that the agent can present to the user in order to fill the parameter." + }, + "repromptEventHandlers": { + "description": "The handlers for parameter-level events, used to provide reprompt for the parameter or transition to a different page/flow. The supported events are: * `sys.no-match-`, where N can be from 1 to 6 * `sys.no-match-default` * `sys.no-input-`, where N can be from 1 to 6 * `sys.no-input-default` * `sys.invalid-parameter` `initial_prompt_fulfillment` provides the first prompt for the parameter. If the user's response does not fill the parameter, a no-match/no-input event will be triggered, and the fulfillment associated with the `sys.no-match-1`/`sys.no-input-1` handler (if defined) will be called to provide a prompt. The `sys.no-match-2`/`sys.no-input-2` handler (if defined) will respond to the next no-match/no-input event, and so on. A `sys.no-match-default` or `sys.no-input-default` handler will be used to handle all following no-match/no-input events after all numbered no-match/no-input handlers for the parameter are consumed. A `sys.invalid-parameter` handler can be defined to handle the case where the parameter values have been `invalidated` by webhook. For example, if the user's response fill the parameter, however the parameter was invalidated by webhook, the fulfillment associated with the `sys.invalid-parameter` handler (if defined) will be called to provide a prompt. If the event handler for the corresponding event can't be found on the parameter, `initial_prompt_fulfillment` will be re-prompted.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3beta1EventHandler" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1Fulfillment": { + "description": "A fulfillment can do one or more of the following actions at the same time: * Generate rich message responses. * Set parameter values. * Call the webhook. Fulfillments can be called at various stages in the Page or Form lifecycle. For example, when a DetectIntentRequest drives a session to enter a new page, the page's entry fulfillment can add a static response to the QueryResult in the returning DetectIntentResponse, call the webhook (for example, to load user data from a database), or both.", + "id": "GoogleCloudDialogflowCxV3beta1Fulfillment", + "properties": { + "conditionalCases": { + "description": "Conditional cases for this fulfillment.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases" + }, + "type": "array" }, "messages": { - "description": "The list of rich message responses to present to the user. Webhook can choose to append or replace this list in WebhookResponse.fulfillment_response;", + "description": "The list of rich message responses to present to the user.", "items": { - "$ref": "GoogleCloudDialogflowCxV3ResponseMessage" + "$ref": "GoogleCloudDialogflowCxV3beta1ResponseMessage" }, "type": "array" }, - "pageInfo": { - "$ref": "GoogleCloudDialogflowCxV3PageInfo", - "description": "Information about page status." - }, - "payload": { - "additionalProperties": { - "description": "Properties of the object.", - "type": "any" + "setParameterActions": { + "description": "Set parameter values before executing the webhook.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction" }, - "description": "Custom data set in QueryParameters.payload.", - "type": "object" + "type": "array" }, - "sessionInfo": { - "$ref": "GoogleCloudDialogflowCxV3SessionInfo", - "description": "Information about session status." + "tag": { + "description": "The tag used by the webhook to identify which fulfillment is being called. This field is required if `webhook` is specified.", + "type": "string" + }, + "webhook": { + "description": "The webhook to call. Format: `projects//locations//agents//webhooks/`.", + "type": "string" } }, "type": "object" }, - "GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo": { - "description": "Represents fulfillment information communicated to the webhook.", - "id": "GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo", + "GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases": { + "description": "A list of cascading if-else conditions. Cases are mutually exclusive. The first one with a matching condition is selected, all the rest ignored.", + "id": "GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases", "properties": { - "tag": { - "description": "Always present. The tag used to identify which fulfillment is being called.", + "cases": { + "description": "A list of cascading if-else conditions.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase": { + "description": "Each case has a Boolean condition. When it is evaluated to be True, the corresponding messages will be selected and evaluated recursively.", + "id": "GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase", + "properties": { + "caseContent": { + "description": "A list of case content.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContent" + }, + "type": "array" + }, + "condition": { + "description": "The condition to activate and select this case. Empty means the condition is always true. The condition is evaluated against form parameters or session parameters. See the [conditions reference](https://cloud.google.com/dialogflow/cx/docs/reference/condition).", "type": "string" } }, "type": "object" }, - "GoogleCloudDialogflowCxV3WebhookRequestIntentInfo": { - "description": "Represents intent information communicated to the webhook.", - "id": "GoogleCloudDialogflowCxV3WebhookRequestIntentInfo", + "GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContent": { + "description": "The list of messages or conditional cases to activate for this case.", + "id": "GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContent", "properties": { - "lastMatchedIntent": { - "description": "Always present. The unique identifier of the last matched intent. Format: `projects//locations//agents//intents/`.", + "additionalCases": { + "$ref": "GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases", + "description": "Additional cases to be evaluated." + }, + "message": { + "$ref": "GoogleCloudDialogflowCxV3beta1ResponseMessage", + "description": "Returned message." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction": { + "description": "Setting a parameter value.", + "id": "GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction", + "properties": { + "parameter": { + "description": "Display name of the parameter.", "type": "string" }, - "parameters": { - "additionalProperties": { - "$ref": "GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue" + "value": { + "description": "The new value of the parameter. A null value clears the parameter.", + "type": "any" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata": { + "description": "Metadata in google::longrunning::Operation for Knowledge operations.", + "id": "GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata", + "properties": { + "state": { + "description": "Required. Output only. The current state of this operation.", + "enum": [ + "STATE_UNSPECIFIED", + "PENDING", + "RUNNING", + "DONE" + ], + "enumDescriptions": [ + "State unspecified.", + "The operation has been created.", + "The operation is currently running.", + "The operation is done, either cancelled or completed." + ], + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1ImportDocumentsOperationMetadata": { + "description": "Metadata for ImportDocuments operation.", + "id": "GoogleCloudDialogflowCxV3beta1ImportDocumentsOperationMetadata", + "properties": { + "genericMetadata": { + "$ref": "GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata", + "description": "The generic information of the operation." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1ImportDocumentsResponse": { + "description": "Response message for Documents.ImportDocuments.", + "id": "GoogleCloudDialogflowCxV3beta1ImportDocumentsResponse", + "properties": { + "warnings": { + "description": "Includes details about skipped documents or any other warnings.", + "items": { + "$ref": "GoogleRpcStatus" }, - "description": "Parameters identified as a result of intent matching. This is a map of the name of the identified parameter to the value of the parameter identified from the user's utterance. All parameters defined in the matched intent that are identified will be surfaced here.", - "type": "object" + "type": "array" } }, "type": "object" }, - "GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue": { - "description": "Represents a value for an intent parameter.", - "id": "GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue", + "GoogleCloudDialogflowCxV3beta1ImportTestCasesMetadata": { + "description": "Metadata returned for the TestCases.ImportTestCases long running operation.", + "id": "GoogleCloudDialogflowCxV3beta1ImportTestCasesMetadata", "properties": { - "originalValue": { - "description": "Always present. Original text value extracted from user utterance.", + "errors": { + "description": "Errors for failed test cases.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3beta1TestCaseError" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1ImportTestCasesResponse": { + "description": "The response message for TestCases.ImportTestCases.", + "id": "GoogleCloudDialogflowCxV3beta1ImportTestCasesResponse", + "properties": { + "names": { + "description": "The unique identifiers of the new test cases. Format: `projects//locations//agents//testCases/`.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1InputAudioConfig": { + "description": "Instructs the speech recognizer on how to process the audio content.", + "id": "GoogleCloudDialogflowCxV3beta1InputAudioConfig", + "properties": { + "audioEncoding": { + "description": "Required. Audio encoding of the audio content to process.", + "enum": [ + "AUDIO_ENCODING_UNSPECIFIED", + "AUDIO_ENCODING_LINEAR_16", + "AUDIO_ENCODING_FLAC", + "AUDIO_ENCODING_MULAW", + "AUDIO_ENCODING_AMR", + "AUDIO_ENCODING_AMR_WB", + "AUDIO_ENCODING_OGG_OPUS", + "AUDIO_ENCODING_SPEEX_WITH_HEADER_BYTE" + ], + "enumDescriptions": [ + "Not specified.", + "Uncompressed 16-bit signed little-endian samples (Linear PCM).", + "[`FLAC`](https://xiph.org/flac/documentation.html) (Free Lossless Audio Codec) is the recommended encoding because it is lossless (therefore recognition is not compromised) and requires only about half the bandwidth of `LINEAR16`. `FLAC` stream encoding supports 16-bit and 24-bit samples, however, not all fields in `STREAMINFO` are supported.", + "8-bit samples that compand 14-bit audio samples using G.711 PCMU/mu-law.", + "Adaptive Multi-Rate Narrowband codec. `sample_rate_hertz` must be 8000.", + "Adaptive Multi-Rate Wideband codec. `sample_rate_hertz` must be 16000.", + "Opus encoded audio frames in Ogg container ([OggOpus](https://wiki.xiph.org/OggOpus)). `sample_rate_hertz` must be 16000.", + "Although the use of lossy encodings is not recommended, if a very low bitrate encoding is required, `OGG_OPUS` is highly preferred over Speex encoding. The [Speex](https://speex.org/) encoding supported by Dialogflow API has a header byte in each block, as in MIME type `audio/x-speex-with-header-byte`. It is a variant of the RTP Speex encoding defined in [RFC 5574](https://tools.ietf.org/html/rfc5574). The stream is a sequence of blocks, one block per RTP packet. Each block starts with a byte containing the length of the block, in bytes, followed by one or more frames of Speex data, padded to an integral number of bytes (octets) as specified in RFC 5574. In other words, each RTP header is replaced with a single byte containing the block length. Only Speex wideband is supported. `sample_rate_hertz` must be 16000." + ], "type": "string" }, - "resolvedValue": { - "description": "Always present. Structured value for the parameter extracted from user utterance.", - "type": "any" + "enableWordInfo": { + "description": "Optional. If `true`, Dialogflow returns SpeechWordInfo in StreamingRecognitionResult with information about the recognized speech words, e.g. start and end time offsets. If false or unspecified, Speech doesn't return any word-level information.", + "type": "boolean" + }, + "model": { + "description": "Optional. Which Speech model to select for the given request. Select the model best suited to your domain to get best results. If a model is not explicitly specified, then we auto-select a model based on the parameters in the InputAudioConfig. If enhanced speech model is enabled for the agent and an enhanced version of the specified model for the language does not exist, then the speech is recognized using the standard version of the specified model. Refer to [Cloud Speech API documentation](https://cloud.google.com/speech-to-text/docs/basics#select-model) for more details.", + "type": "string" + }, + "modelVariant": { + "description": "Optional. Which variant of the Speech model to use.", + "enum": [ + "SPEECH_MODEL_VARIANT_UNSPECIFIED", + "USE_BEST_AVAILABLE", + "USE_STANDARD", + "USE_ENHANCED" + ], + "enumDescriptions": [ + "No model variant specified. In this case Dialogflow defaults to USE_BEST_AVAILABLE.", + "Use the best available variant of the Speech model that the caller is eligible for. Please see the [Dialogflow docs](https://cloud.google.com/dialogflow/docs/data-logging) for how to make your project eligible for enhanced models.", + "Use standard model variant even if an enhanced model is available. See the [Cloud Speech documentation](https://cloud.google.com/speech-to-text/docs/enhanced-models) for details about enhanced models.", + "Use an enhanced model variant: * If an enhanced variant does not exist for the given model and request language, Dialogflow falls back to the standard variant. The [Cloud Speech documentation](https://cloud.google.com/speech-to-text/docs/enhanced-models) describes which models have enhanced variants. * If the API caller isn't eligible for enhanced models, Dialogflow returns an error. Please see the [Dialogflow docs](https://cloud.google.com/dialogflow/docs/data-logging) for how to make your project eligible." + ], + "type": "string" + }, + "phraseHints": { + "description": "Optional. A list of strings containing words and phrases that the speech recognizer should recognize with higher likelihood. See [the Cloud Speech documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-hints) for more details.", + "items": { + "type": "string" + }, + "type": "array" + }, + "sampleRateHertz": { + "description": "Sample rate (in Hertz) of the audio content sent in the query. Refer to [Cloud Speech API documentation](https://cloud.google.com/speech-to-text/docs/basics) for more details.", + "format": "int32", + "type": "integer" + }, + "singleUtterance": { + "description": "Optional. If `false` (default), recognition does not cease until the client closes the stream. If `true`, the recognizer will detect a single spoken utterance in input audio. Recognition ceases when it detects the audio's voice has stopped or paused. In this case, once a detected intent is received, the client should close the stream and start a new request with a new stream as needed. Note: This setting is relevant only for streaming methods.", + "type": "boolean" } }, "type": "object" }, - "GoogleCloudDialogflowCxV3WebhookResponse": { - "description": "The response message for a webhook call.", - "id": "GoogleCloudDialogflowCxV3WebhookResponse", + "GoogleCloudDialogflowCxV3beta1Intent": { + "description": "An intent represents a user's intent to interact with a conversational agent. You can provide information for the Dialogflow API to use to match user input to an intent by adding training phrases (i.e., examples of user input) to your intent.", + "id": "GoogleCloudDialogflowCxV3beta1Intent", "properties": { - "fulfillmentResponse": { - "$ref": "GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse", - "description": "The fulfillment response to send to the user. This field can be omitted by the webhook if it does not intend to send any response to the user." + "description": { + "description": "Optional. Human readable description for better understanding an intent like its scope, content, result etc. Maximum character limit: 140 characters.", + "type": "string" }, - "pageInfo": { - "$ref": "GoogleCloudDialogflowCxV3PageInfo", - "description": "Information about page status. This field can be omitted by the webhook if it does not intend to modify page status." + "displayName": { + "description": "Required. The human-readable name of the intent, unique within the agent.", + "type": "string" }, - "payload": { + "isFallback": { + "description": "Indicates whether this is a fallback intent. Currently only default fallback intent is allowed in the agent, which is added upon agent creation. Adding training phrases to fallback intent is useful in the case of requests that are mistakenly matched, since training phrases assigned to fallback intents act as negative examples that triggers no-match event.", + "type": "boolean" + }, + "labels": { "additionalProperties": { - "description": "Properties of the object.", - "type": "any" + "type": "string" }, - "description": "Value to append directly to QueryResult.webhook_payloads.", + "description": "Optional. The key/value metadata to label an intent. Labels can contain lowercase letters, digits and the symbols '-' and '_'. International characters are allowed, including letters from unicase alphabets. Keys must start with a letter. Keys and values can be no longer than 63 characters and no more than 128 bytes. Prefix \"sys-\" is reserved for Dialogflow defined labels. Currently allowed Dialogflow defined labels include: * sys-head * sys-contextual The above labels do not require value. \"sys-head\" means the intent is a head intent. \"sys-contextual\" means the intent is a contextual intent.", "type": "object" }, - "sessionInfo": { - "$ref": "GoogleCloudDialogflowCxV3SessionInfo", - "description": "Information about session status. This field can be omitted by the webhook if it does not intend to modify session status." - }, - "targetFlow": { - "description": "The target flow to transition to. Format: `projects//locations//agents//flows/`.", + "name": { + "description": "The unique identifier of the intent. Required for the Intents.UpdateIntent method. Intents.CreateIntent populates the name automatically. Format: `projects//locations//agents//intents/`.", "type": "string" }, - "targetPage": { - "description": "The target page to transition to. Format: `projects//locations//agents//flows//pages/`.", + "parameters": { + "description": "The collection of parameters associated with the intent.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3beta1IntentParameter" + }, + "type": "array" + }, + "priority": { + "description": "The priority of this intent. Higher numbers represent higher priorities. - If the supplied value is unspecified or 0, the service translates the value to 500,000, which corresponds to the `Normal` priority in the console. - If the supplied value is negative, the intent is ignored in runtime detect intent requests.", + "format": "int32", + "type": "integer" + }, + "trainingPhrases": { + "description": "The collection of training phrases the agent is trained on to identify the intent.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1IntentInput": { + "description": "Represents the intent to trigger programmatically rather than as a result of natural language processing.", + "id": "GoogleCloudDialogflowCxV3beta1IntentInput", + "properties": { + "intent": { + "description": "Required. The unique identifier of the intent. Format: `projects//locations//agents//intents/`.", "type": "string" } }, "type": "object" }, - "GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse": { - "description": "Represents a fulfillment response to the user.", - "id": "GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse", + "GoogleCloudDialogflowCxV3beta1IntentParameter": { + "description": "Represents an intent parameter.", + "id": "GoogleCloudDialogflowCxV3beta1IntentParameter", "properties": { - "mergeBehavior": { - "description": "Merge behavior for `messages`.", - "enum": [ - "MERGE_BEHAVIOR_UNSPECIFIED", - "APPEND", - "REPLACE" - ], - "enumDescriptions": [ - "Not specified. `APPEND` will be used.", - "`messages` will be appended to the list of messages waiting to be sent to the user.", - "`messages` will replace the list of messages waiting to be sent to the user." - ], + "entityType": { + "description": "Required. The entity type of the parameter. Format: `projects/-/locations/-/agents/-/entityTypes/` for system entity types (for example, `projects/-/locations/-/agents/-/entityTypes/sys.date`), or `projects//locations//agents//entityTypes/` for developer entity types.", + "type": "string" + }, + "id": { + "description": "Required. The unique identifier of the parameter. This field is used by training phrases to annotate their parts.", + "type": "string" + }, + "isList": { + "description": "Indicates whether the parameter represents a list of values.", + "type": "boolean" + }, + "redact": { + "description": "Indicates whether the parameter content is logged in text and audio. If it is set to true, the parameter content will be replaced to parameter id in both request and response. The default value is false.", + "type": "boolean" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase": { + "description": "Represents an example that the agent is trained on to identify the intent.", + "id": "GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase", + "properties": { + "id": { + "description": "Output only. The unique identifier of the training phrase.", "type": "string" }, - "messages": { - "description": "The list of rich message responses to present to the user.", + "parts": { + "description": "Required. The ordered list of training phrase parts. The parts are concatenated in order to form the training phrase. Note: The API does not automatically annotate training phrases like the Dialogflow Console does. Note: Do not forget to include whitespace at part boundaries, so the training phrase is well formatted when the parts are concatenated. If the training phrase does not need to be annotated with parameters, you just need a single part with only the Part.text field set. If you want to annotate the training phrase, you must create multiple parts, where the fields of each part are populated in one of two ways: - `Part.text` is set to a part of the phrase that has no parameters. - `Part.text` is set to a part of the phrase that you want to annotate, and the `parameter_id` field is set.", "items": { - "$ref": "GoogleCloudDialogflowCxV3ResponseMessage" + "$ref": "GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePart" }, "type": "array" + }, + "repeatCount": { + "description": "Indicates how many times this example was added to the intent.", + "format": "int32", + "type": "integer" } }, "type": "object" }, - "GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata": { - "description": "Metadata associated with the long running operation for Versions.CreateVersion.", - "id": "GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata", + "GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePart": { + "description": "Represents a part of a training phrase.", + "id": "GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePart", "properties": { - "version": { - "description": "Name of the created version. Format: `projects//locations//agents//flows//versions/`.", + "parameterId": { + "description": "The parameter used to annotate this part of the training phrase. This field is required for annotated parts of the training phrase.", + "type": "string" + }, + "text": { + "description": "Required. The text for this part.", "type": "string" } }, "type": "object" }, - "GoogleCloudDialogflowCxV3beta1ExportAgentResponse": { - "description": "The response message for Agents.ExportAgent.", - "id": "GoogleCloudDialogflowCxV3beta1ExportAgentResponse", + "GoogleCloudDialogflowCxV3beta1Page": { + "description": "A Dialogflow CX conversation (session) can be described and visualized as a state machine. The states of a CX session are represented by pages. For each flow, you define many pages, where your combined pages can handle a complete conversation on the topics the flow is designed for. At any given moment, exactly one page is the current page, the current page is considered active, and the flow associated with that page is considered active. Every flow has a special start page. When a flow initially becomes active, the start page page becomes the current page. For each conversational turn, the current page will either stay the same or transition to another page. You configure each page to collect information from the end-user that is relevant for the conversational state represented by the page. For more information, see the [Page guide](https://cloud.google.com/dialogflow/cx/docs/concept/page).", + "id": "GoogleCloudDialogflowCxV3beta1Page", "properties": { - "agentContent": { - "description": "Uncompressed raw byte content for agent.", - "format": "byte", + "displayName": { + "description": "Required. The human-readable name of the page, unique within the agent.", "type": "string" }, - "agentUri": { - "description": "The URI to a file containing the exported agent. This field is populated only if `agent_uri` is specified in ExportAgentRequest.", + "entryFulfillment": { + "$ref": "GoogleCloudDialogflowCxV3beta1Fulfillment", + "description": "The fulfillment to call when the session is entering the page." + }, + "eventHandlers": { + "description": "Handlers associated with the page to handle events such as webhook errors, no match or no input.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3beta1EventHandler" + }, + "type": "array" + }, + "form": { + "$ref": "GoogleCloudDialogflowCxV3beta1Form", + "description": "The form associated with the page, used for collecting parameters relevant to the page." + }, + "name": { + "description": "The unique identifier of the page. Required for the Pages.UpdatePage method. Pages.CreatePage populates the name automatically. Format: `projects//locations//agents//flows//pages/`.", "type": "string" + }, + "transitionRouteGroups": { + "description": "Ordered list of `TransitionRouteGroups` associated with the page. Transition route groups must be unique within a page. * If multiple transition routes within a page scope refer to the same intent, then the precedence order is: page's transition route -\u003e page's transition route group -\u003e flow's transition routes. * If multiple transition route groups within a page contain the same intent, then the first group in the ordered list takes precedence. Format:`projects//locations//agents//flows//transitionRouteGroups/`.", + "items": { + "type": "string" + }, + "type": "array" + }, + "transitionRoutes": { + "description": "A list of transitions for the transition rules of this page. They route the conversation to another page in the same flow, or another flow. When we are in a certain page, the TransitionRoutes are evalauted in the following order: * TransitionRoutes defined in the page with intent specified. * TransitionRoutes defined in the transition route groups. * TransitionRoutes defined in flow with intent specified. * TransitionRoutes defined in the page with only condition specified.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3beta1TransitionRoute" + }, + "type": "array" } }, "type": "object" @@ -2596,6 +4295,48 @@ }, "type": "object" }, + "GoogleCloudDialogflowCxV3beta1QueryInput": { + "description": "Represents the query input. It can contain one of: 1. A conversational query in the form of text. 2. An intent query that specifies which intent to trigger. 3. Natural language speech audio to be processed. 4. An event to be triggered. ", + "id": "GoogleCloudDialogflowCxV3beta1QueryInput", + "properties": { + "audio": { + "$ref": "GoogleCloudDialogflowCxV3beta1AudioInput", + "description": "The natural language speech audio to be processed." + }, + "dtmf": { + "$ref": "GoogleCloudDialogflowCxV3beta1DtmfInput", + "description": "The DTMF event to be handled." + }, + "event": { + "$ref": "GoogleCloudDialogflowCxV3beta1EventInput", + "description": "The event to be triggered." + }, + "intent": { + "$ref": "GoogleCloudDialogflowCxV3beta1IntentInput", + "description": "The intent to be triggered." + }, + "languageCode": { + "description": "Required. The language of the input. See [Language Support](https://cloud.google.com/dialogflow/docs/reference/language) for a list of the currently supported language codes. Note that queries in the same session do not necessarily need to specify the same language.", + "type": "string" + }, + "text": { + "$ref": "GoogleCloudDialogflowCxV3beta1TextInput", + "description": "The natural language text to be processed." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1ReloadDocumentOperationMetadata": { + "description": "Metadata for ReloadDocument operation.", + "id": "GoogleCloudDialogflowCxV3beta1ReloadDocumentOperationMetadata", + "properties": { + "genericMetadata": { + "$ref": "GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata", + "description": "The generic information of the operation." + } + }, + "type": "object" + }, "GoogleCloudDialogflowCxV3beta1ResponseMessage": { "description": "Represents a response message that can be returned by a conversational agent. Response messages are also used for output audio synthesis. The approach is as follows: * If at least one OutputAudioText response is present, then all OutputAudioText responses are linearly concatenated, and the result is used for output audio synthesis. * If the OutputAudioText responses are a mixture of text and SSML, then the concatenated result is treated as SSML; otherwise, the result is treated as either text or SSML as appropriate. The agent designer should ideally use either text or SSML consistently throughout the bot design. * Otherwise, all Text responses are linearly concatenated, and the result is used for output audio synthesis. This approach allows for more sophisticated user experience scenarios, where the text displayed to the user may differ from what is heard.", "id": "GoogleCloudDialogflowCxV3beta1ResponseMessage", @@ -2767,6 +4508,23 @@ }, "type": "object" }, + "GoogleCloudDialogflowCxV3beta1RunTestCaseMetadata": { + "description": "Metadata returned for the TestCases.RunTestCase long running operation.", + "id": "GoogleCloudDialogflowCxV3beta1RunTestCaseMetadata", + "properties": {}, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1RunTestCaseResponse": { + "description": "The response message for TestCases.RunTestCase.", + "id": "GoogleCloudDialogflowCxV3beta1RunTestCaseResponse", + "properties": { + "result": { + "$ref": "GoogleCloudDialogflowCxV3beta1TestCaseResult", + "description": "The result." + } + }, + "type": "object" + }, "GoogleCloudDialogflowCxV3beta1SessionInfo": { "description": "Represents session information communicated to and from the webhook.", "id": "GoogleCloudDialogflowCxV3beta1SessionInfo", @@ -2785,6 +4543,230 @@ }, "type": "object" }, + "GoogleCloudDialogflowCxV3beta1TestCase": { + "description": "Represents a test case.", + "id": "GoogleCloudDialogflowCxV3beta1TestCase", + "properties": { + "creationTime": { + "description": "Output only. When the test was created.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "displayName": { + "description": "Required. The human-readable name of the test case, unique within the agent. Limit of 200 characters.", + "type": "string" + }, + "lastTestResult": { + "$ref": "GoogleCloudDialogflowCxV3beta1TestCaseResult", + "description": "The latest test result." + }, + "name": { + "description": "The unique identifier of the test case. TestCases.CreateTestCase will populate the name automatically. Otherwise use format: `projects//locations//agents/ /testCases/`.", + "type": "string" + }, + "notes": { + "description": "Additional freeform notes about the test case. Limit of 400 characters.", + "type": "string" + }, + "tags": { + "description": "Tags are short descriptions that users may apply to test cases for organizational and filtering purposes. Each tag should start with \"#\" and has a limit of 30 characters.", + "items": { + "type": "string" + }, + "type": "array" + }, + "testCaseConversationTurns": { + "description": "The conversation turns uttered when the test case was created, in chronological order. These include the canonical set of agent utterances that should occur when the agent is working properly.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3beta1ConversationTurn" + }, + "type": "array" + }, + "testConfig": { + "$ref": "GoogleCloudDialogflowCxV3beta1TestConfig", + "description": "Config for the test case." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1TestCaseError": { + "description": "Error info for importing a test.", + "id": "GoogleCloudDialogflowCxV3beta1TestCaseError", + "properties": { + "status": { + "$ref": "GoogleRpcStatus", + "description": "The status associated with the test case." + }, + "testCase": { + "$ref": "GoogleCloudDialogflowCxV3beta1TestCase", + "description": "The test case." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1TestCaseResult": { + "description": "Represents a result from running a test case in an agent environment.", + "id": "GoogleCloudDialogflowCxV3beta1TestCaseResult", + "properties": { + "conversationTurns": { + "description": "The conversation turns uttered during the test case replay in chronological order.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3beta1ConversationTurn" + }, + "type": "array" + }, + "environment": { + "description": "Optional. Environment where the test was run. If not set, it indicates the draft environment.", + "type": "string" + }, + "name": { + "description": "The resource name for the test case result. Format: `projects//locations//agents//testCases/ /results/`.", + "type": "string" + }, + "testResult": { + "description": "Whether the test case passed in the agent environment.", + "enum": [ + "TEST_RESULT_UNSPECIFIED", + "PASSED", + "FAILED" + ], + "enumDescriptions": [ + "Not specified. Should never be used.", + "The test passed.", + "The test did not pass." + ], + "type": "string" + }, + "testTime": { + "description": "The time that the test was run.", + "format": "google-datetime", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1TestConfig": { + "description": "Represents configurations for a test case.", + "id": "GoogleCloudDialogflowCxV3beta1TestConfig", + "properties": { + "flow": { + "description": "Flow name. If not set, default start flow is assumed. Format: `projects//locations//agents//flows/`.", + "type": "string" + }, + "trackingParameters": { + "description": "Session parameters to be compared when calculating differences.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1TestError": { + "description": "Error info for running a test.", + "id": "GoogleCloudDialogflowCxV3beta1TestError", + "properties": { + "status": { + "$ref": "GoogleRpcStatus", + "description": "The status associated with the test." + }, + "testCase": { + "description": "The test case resource name.", + "type": "string" + }, + "testTime": { + "description": "The timestamp when the test was completed.", + "format": "google-datetime", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1TestRunDifference": { + "description": "The description of differences between original and replayed agent output.", + "id": "GoogleCloudDialogflowCxV3beta1TestRunDifference", + "properties": { + "description": { + "description": "A description of the diff, showing the actual output vs expected output.", + "type": "string" + }, + "type": { + "description": "The type of diff.", + "enum": [ + "DIFF_TYPE_UNSPECIFIED", + "INTENT", + "PAGE", + "PARAMETERS", + "UTTERANCE" + ], + "enumDescriptions": [ + "Should never be used.", + "The intent.", + "The page.", + "The parameters.", + "The message utterance." + ], + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1TextInput": { + "description": "Represents the natural language text to be processed.", + "id": "GoogleCloudDialogflowCxV3beta1TextInput", + "properties": { + "text": { + "description": "Required. The UTF-8 encoded natural language text to be processed. Text length must not exceed 256 characters.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1TransitionRoute": { + "description": "A transition route specifies a intent that can be matched and/or a data condition that can be evaluated during a session. When a specified transition is matched, the following actions are taken in order: * If there is a `trigger_fulfillment` associated with the transition, it will be called. * If there is a `target_page` associated with the transition, the session will transition into the specified page. * If there is a `target_flow` associated with the transition, the session will transition into the specified flow.", + "id": "GoogleCloudDialogflowCxV3beta1TransitionRoute", + "properties": { + "condition": { + "description": "The condition to evaluate against form parameters or session parameters. See the [conditions reference](https://cloud.google.com/dialogflow/cx/docs/reference/condition). At least one of `intent` or `condition` must be specified. When both `intent` and `condition` are specified, the transition can only happen when both are fulfilled.", + "type": "string" + }, + "intent": { + "description": "The unique identifier of an Intent. Format: `projects//locations//agents//intents/`. Indicates that the transition can only happen when the given intent is matched. At least one of `intent` or `condition` must be specified. When both `intent` and `condition` are specified, the transition can only happen when both are fulfilled.", + "type": "string" + }, + "name": { + "description": "Output only. The unique identifier of this transition route.", + "readOnly": true, + "type": "string" + }, + "targetFlow": { + "description": "The target flow to transition to. Format: `projects//locations//agents//flows/`.", + "type": "string" + }, + "targetPage": { + "description": "The target page to transition to. Format: `projects//locations//agents//flows//pages/`.", + "type": "string" + }, + "triggerFulfillment": { + "$ref": "GoogleCloudDialogflowCxV3beta1Fulfillment", + "description": "The fulfillment to call when the condition is satisfied. At least one of `trigger_fulfillment` and `target` must be specified. When both are defined, `trigger_fulfillment` is executed first." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1UpdateDocumentOperationMetadata": { + "description": "Metadata for UpdateDocument operation.", + "id": "GoogleCloudDialogflowCxV3beta1UpdateDocumentOperationMetadata", + "properties": { + "genericMetadata": { + "$ref": "GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata", + "description": "The generic information of the operation." + } + }, + "type": "object" + }, "GoogleCloudDialogflowCxV3beta1WebhookRequest": { "description": "The request message for a webhook call.", "id": "GoogleCloudDialogflowCxV3beta1WebhookRequest", @@ -4890,7 +6872,7 @@ "additionalProperties": { "type": "string" }, - "description": "This field can be used to pass HTTP headers for a webhook call. These headers will be sent to webhook along with the headers that have been configured through Dialogflow web console. The headers defined within this field will overwrite the headers configured through Dialogflow console if there is a conflict. Header names are case-insensitive. Google's specified headers are not allowed. Including: \"Host\", \"Content-Length\", \"Connection\", \"From\", \"User-Agent\", \"Accept-Encoding\", \"If-Modified-Since\", \"If-None-Match\", \"X-Forwarded-For\", etc.", + "description": "This field can be used to pass HTTP headers for a webhook call. These headers will be sent to webhook along with the headers that have been configured through the Dialogflow web console. The headers defined within this field will overwrite the headers configured through the Dialogflow console if there is a conflict. Header names are case-insensitive. Google's specified headers are not allowed. Including: \"Host\", \"Content-Length\", \"Connection\", \"From\", \"User-Agent\", \"Accept-Encoding\", \"If-Modified-Since\", \"If-None-Match\", \"X-Forwarded-For\", etc.", "type": "object" } }, @@ -7008,6 +8990,99 @@ }, "type": "object" }, + "GoogleCloudDialogflowV3alpha1CreateDocumentOperationMetadata": { + "description": "Metadata for CreateDocument operation.", + "id": "GoogleCloudDialogflowV3alpha1CreateDocumentOperationMetadata", + "properties": { + "genericMetadata": { + "$ref": "GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata", + "description": "The generic information of the operation." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV3alpha1DeleteDocumentOperationMetadata": { + "description": "Metadata for DeleteDocument operation.", + "id": "GoogleCloudDialogflowV3alpha1DeleteDocumentOperationMetadata", + "properties": { + "genericMetadata": { + "$ref": "GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata", + "description": "The generic information of the operation." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata": { + "description": "Metadata in google::longrunning::Operation for Knowledge operations.", + "id": "GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata", + "properties": { + "state": { + "description": "Required. Output only. The current state of this operation.", + "enum": [ + "STATE_UNSPECIFIED", + "PENDING", + "RUNNING", + "DONE" + ], + "enumDescriptions": [ + "State unspecified.", + "The operation has been created.", + "The operation is currently running.", + "The operation is done, either cancelled or completed." + ], + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV3alpha1ImportDocumentsOperationMetadata": { + "description": "Metadata for ImportDocuments operation.", + "id": "GoogleCloudDialogflowV3alpha1ImportDocumentsOperationMetadata", + "properties": { + "genericMetadata": { + "$ref": "GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata", + "description": "The generic information of the operation." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV3alpha1ImportDocumentsResponse": { + "description": "Response message for Documents.ImportDocuments.", + "id": "GoogleCloudDialogflowV3alpha1ImportDocumentsResponse", + "properties": { + "warnings": { + "description": "Includes details about skipped documents or any other warnings.", + "items": { + "$ref": "GoogleRpcStatus" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV3alpha1ReloadDocumentOperationMetadata": { + "description": "Metadata for ReloadDocument operation.", + "id": "GoogleCloudDialogflowV3alpha1ReloadDocumentOperationMetadata", + "properties": { + "genericMetadata": { + "$ref": "GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata", + "description": "The generic information of the operation." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV3alpha1UpdateDocumentOperationMetadata": { + "description": "Metadata for UpdateDocument operation.", + "id": "GoogleCloudDialogflowV3alpha1UpdateDocumentOperationMetadata", + "properties": { + "genericMetadata": { + "$ref": "GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata", + "description": "The generic information of the operation." + } + }, + "type": "object" + }, "GoogleLongrunningListOperationsResponse": { "description": "The response message for Operations.ListOperations.", "id": "GoogleLongrunningListOperationsResponse", diff --git a/dialogflow/v2/dialogflow-gen.go b/dialogflow/v2/dialogflow-gen.go index a04b67cec86..577da250416 100644 --- a/dialogflow/v2/dialogflow-gen.go +++ b/dialogflow/v2/dialogflow-gen.go @@ -334,15 +334,23 @@ type ProjectsOperationsService struct { s *Service } -// GoogleCloudDialogflowCxV3CreateVersionOperationMetadata: Metadata -// associated with the long running operation for -// Versions.CreateVersion. -type GoogleCloudDialogflowCxV3CreateVersionOperationMetadata struct { - // Version: Name of the created version. Format: - // `projects//locations//agents//flows//versions/`. - Version string `json:"version,omitempty"` +// GoogleCloudDialogflowCxV3AudioInput: Represents the natural speech +// audio to be processed. +type GoogleCloudDialogflowCxV3AudioInput struct { + // Audio: The natural language speech audio to be processed. A single + // request can contain up to 1 minute of speech audio data. The + // transcribed text cannot contain more than 256 bytes. For + // non-streaming audio detect intent, both `config` and `audio` must be + // provided. For streaming audio detect intent, `config` must be + // provided in the first request and `audio` must be provided in all + // following requests. + Audio string `json:"audio,omitempty"` - // ForceSendFields is a list of field names (e.g. "Version") to + // Config: Required. Instructs the speech recognizer how to process the + // speech audio. + Config *GoogleCloudDialogflowCxV3InputAudioConfig `json:"config,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Audio") 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 @@ -350,8 +358,8 @@ type GoogleCloudDialogflowCxV3CreateVersionOperationMetadata struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Version") to include in - // API requests with the JSON null value. By default, fields with empty + // NullFields is a list of field names (e.g. "Audio") 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. @@ -359,23 +367,19 @@ type GoogleCloudDialogflowCxV3CreateVersionOperationMetadata struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3CreateVersionOperationMetadata) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3CreateVersionOperationMetadata +func (s *GoogleCloudDialogflowCxV3AudioInput) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3AudioInput raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3ExportAgentResponse: The response message -// for Agents.ExportAgent. -type GoogleCloudDialogflowCxV3ExportAgentResponse struct { - // AgentContent: Uncompressed raw byte content for agent. - AgentContent string `json:"agentContent,omitempty"` - - // AgentUri: The URI to a file containing the exported agent. This field - // is populated only if `agent_uri` is specified in ExportAgentRequest. - AgentUri string `json:"agentUri,omitempty"` +// GoogleCloudDialogflowCxV3BatchRunTestCasesMetadata: Metadata returned +// for the TestCases.BatchRunTestCases long running operation. +type GoogleCloudDialogflowCxV3BatchRunTestCasesMetadata struct { + // Errors: The test errors. + Errors []*GoogleCloudDialogflowCxV3TestError `json:"errors,omitempty"` - // ForceSendFields is a list of field names (e.g. "AgentContent") to + // ForceSendFields is a list of field names (e.g. "Errors") 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 @@ -383,34 +387,29 @@ type GoogleCloudDialogflowCxV3ExportAgentResponse struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "AgentContent") 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 + // NullFields is a list of field names (e.g. "Errors") 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 *GoogleCloudDialogflowCxV3ExportAgentResponse) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3ExportAgentResponse +func (s *GoogleCloudDialogflowCxV3BatchRunTestCasesMetadata) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3BatchRunTestCasesMetadata raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3PageInfo: Represents page information -// communicated to and from the webhook. -type GoogleCloudDialogflowCxV3PageInfo struct { - // CurrentPage: Always present for WebhookRequest. Ignored for - // WebhookResponse. The unique identifier of the current page. Format: - // `projects//locations//agents//flows//pages/`. - CurrentPage string `json:"currentPage,omitempty"` - - // FormInfo: Optional for both WebhookRequest and WebhookResponse. - // Information about the form. - FormInfo *GoogleCloudDialogflowCxV3PageInfoFormInfo `json:"formInfo,omitempty"` +// GoogleCloudDialogflowCxV3BatchRunTestCasesResponse: The response +// message for TestCases.BatchRunTestCases. +type GoogleCloudDialogflowCxV3BatchRunTestCasesResponse struct { + // Results: The test case results. The detailed conversation turns are + // empty in this response. + Results []*GoogleCloudDialogflowCxV3TestCaseResult `json:"results,omitempty"` - // ForceSendFields is a list of field names (e.g. "CurrentPage") to + // 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 @@ -418,30 +417,32 @@ type GoogleCloudDialogflowCxV3PageInfo struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "CurrentPage") 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 + // 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 *GoogleCloudDialogflowCxV3PageInfo) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3PageInfo +func (s *GoogleCloudDialogflowCxV3BatchRunTestCasesResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3BatchRunTestCasesResponse raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3PageInfoFormInfo: Represents form -// information. -type GoogleCloudDialogflowCxV3PageInfoFormInfo struct { - // ParameterInfo: Optional for both WebhookRequest and WebhookResponse. - // The parameters contained in the form. Note that the webhook cannot - // add or remove any form parameter. - ParameterInfo []*GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo `json:"parameterInfo,omitempty"` +// GoogleCloudDialogflowCxV3ConversationTurn: One interaction between a +// human and virtual agent. The human provides some input and the +// virtual agent provides a response. +type GoogleCloudDialogflowCxV3ConversationTurn struct { + // UserInput: The user input. + UserInput *GoogleCloudDialogflowCxV3ConversationTurnUserInput `json:"userInput,omitempty"` - // ForceSendFields is a list of field names (e.g. "ParameterInfo") to + // VirtualAgentOutput: The virtual agent output. + VirtualAgentOutput *GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput `json:"virtualAgentOutput,omitempty"` + + // ForceSendFields is a list of field names (e.g. "UserInput") 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 @@ -449,62 +450,92 @@ type GoogleCloudDialogflowCxV3PageInfoFormInfo struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "ParameterInfo") 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 + // NullFields is a list of field names (e.g. "UserInput") 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 *GoogleCloudDialogflowCxV3PageInfoFormInfo) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3PageInfoFormInfo +func (s *GoogleCloudDialogflowCxV3ConversationTurn) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3ConversationTurn raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo: Represents -// parameter information. -type GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo struct { - // DisplayName: Always present for WebhookRequest. Required for - // WebhookResponse. The human-readable name of the parameter, unique - // within the form. This field cannot be modified by the webhook. - DisplayName string `json:"displayName,omitempty"` +// GoogleCloudDialogflowCxV3ConversationTurnUserInput: The input from +// the human user. +type GoogleCloudDialogflowCxV3ConversationTurnUserInput struct { + // InjectedParameters: Parameters that need to be injected into the + // conversation during intent detection. + InjectedParameters googleapi.RawMessage `json:"injectedParameters,omitempty"` - // JustCollected: Optional for WebhookRequest. Ignored for - // WebhookResponse. Indicates if the parameter value was just collected - // on the last conversation turn. - JustCollected bool `json:"justCollected,omitempty"` + // Input: Supports text input, event input, dtmf input in the test case. + Input *GoogleCloudDialogflowCxV3QueryInput `json:"input,omitempty"` - // Required: Optional for both WebhookRequest and WebhookResponse. - // Indicates whether the parameter is required. Optional parameters will - // not trigger prompts; however, they are filled if the user specifies - // them. Required parameters must be filled before form filling - // concludes. - Required bool `json:"required,omitempty"` + // IsWebhookEnabled: If webhooks should be allowed to trigger in + // response to the user utterance. Often if parameters are injected, + // webhooks should not be enabled. + IsWebhookEnabled bool `json:"isWebhookEnabled,omitempty"` - // State: Always present for WebhookRequest. Required for - // WebhookResponse. The state of the parameter. This field can be set to - // INVALID by the webhook to invalidate the parameter; other values set - // by the webhook will be ignored. - // - // Possible values: - // "PARAMETER_STATE_UNSPECIFIED" - Not specified. This value should be - // never used. - // "EMPTY" - Indicates that the parameter does not have a value. - // "INVALID" - Indicates that the parameter value is invalid. This - // field can be used by the webhook to invalidate the parameter and ask - // the server to collect it from the user again. - // "FILLED" - Indicates that the parameter has a value. - State string `json:"state,omitempty"` + // ForceSendFields is a list of field names (e.g. "InjectedParameters") + // 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:"-"` - // Value: Optional for both WebhookRequest and WebhookResponse. The - // value of the parameter. This field can be set by the webhook to - // change the parameter value. - Value interface{} `json:"value,omitempty"` + // NullFields is a list of field names (e.g. "InjectedParameters") 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:"-"` +} - // ForceSendFields is a list of field names (e.g. "DisplayName") to +func (s *GoogleCloudDialogflowCxV3ConversationTurnUserInput) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3ConversationTurnUserInput + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput: The +// output from the virtual agent. +type GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput struct { + // CurrentPage: The Page on which the utterance was spoken. Only some + // fields such as name and displayname will be set. + CurrentPage *GoogleCloudDialogflowCxV3Page `json:"currentPage,omitempty"` + + // DiagnosticInfo: Required. Input only. The diagnostic info output for + // the turn. + DiagnosticInfo googleapi.RawMessage `json:"diagnosticInfo,omitempty"` + + // Differences: Output only. If this is part of a result conversation + // turn, the list of differences between the original run and the replay + // for this output, if any. + Differences []*GoogleCloudDialogflowCxV3TestRunDifference `json:"differences,omitempty"` + + // SessionParameters: The session parameters available to the bot at + // this point. + SessionParameters googleapi.RawMessage `json:"sessionParameters,omitempty"` + + // Status: Response error from the agent in the test result. If set, + // other output is empty. + Status *GoogleRpcStatus `json:"status,omitempty"` + + // TextResponses: The text responses from the agent for the turn. + TextResponses []*GoogleCloudDialogflowCxV3ResponseMessageText `json:"textResponses,omitempty"` + + // TriggeredIntent: The Intent that triggered the response. Only some + // fields such as name and displayname will be set. + TriggeredIntent *GoogleCloudDialogflowCxV3Intent `json:"triggeredIntent,omitempty"` + + // ForceSendFields is a list of field names (e.g. "CurrentPage") 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 @@ -512,7 +543,7 @@ type GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "DisplayName") to include + // NullFields is a list of field names (e.g. "CurrentPage") 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 @@ -521,73 +552,27 @@ type GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo +func (s *GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3ResponseMessage: Represents a response -// message that can be returned by a conversational agent. Response -// messages are also used for output audio synthesis. The approach is as -// follows: * If at least one OutputAudioText response is present, then -// all OutputAudioText responses are linearly concatenated, and the -// result is used for output audio synthesis. * If the OutputAudioText -// responses are a mixture of text and SSML, then the concatenated -// result is treated as SSML; otherwise, the result is treated as either -// text or SSML as appropriate. The agent designer should ideally use -// either text or SSML consistently throughout the bot design. * -// Otherwise, all Text responses are linearly concatenated, and the -// result is used for output audio synthesis. This approach allows for -// more sophisticated user experience scenarios, where the text -// displayed to the user may differ from what is heard. -type GoogleCloudDialogflowCxV3ResponseMessage struct { - // ConversationSuccess: Indicates that the conversation succeeded. - ConversationSuccess *GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess `json:"conversationSuccess,omitempty"` - - // EndInteraction: Output only. A signal that indicates the interaction - // with the Dialogflow agent has ended. This message is generated by - // Dialogflow only when the conversation reaches `END_SESSION` or - // `END_PAGE` page. It is not supposed to be defined by the user. It's - // guaranteed that there is at most one such message in each response. - EndInteraction *GoogleCloudDialogflowCxV3ResponseMessageEndInteraction `json:"endInteraction,omitempty"` - - // LiveAgentHandoff: Hands off conversation to a human agent. - LiveAgentHandoff *GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff `json:"liveAgentHandoff,omitempty"` - - // MixedAudio: Output only. An audio response message composed of both - // the synthesized Dialogflow agent responses and responses defined via - // play_audio. This message is generated by Dialogflow only and not - // supposed to be defined by the user. - MixedAudio *GoogleCloudDialogflowCxV3ResponseMessageMixedAudio `json:"mixedAudio,omitempty"` - - // OutputAudioText: A text or ssml response that is preferentially used - // for TTS output audio synthesis, as described in the comment on the - // ResponseMessage message. - OutputAudioText *GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText `json:"outputAudioText,omitempty"` - - // Payload: Returns a response containing a custom, platform-specific - // payload. - Payload googleapi.RawMessage `json:"payload,omitempty"` - - // PlayAudio: Signal that the client should play an audio clip hosted at - // a client-specific URI. Dialogflow uses this to construct mixed_audio. - // However, Dialogflow itself does not try to read or process the URI in - // any way. - PlayAudio *GoogleCloudDialogflowCxV3ResponseMessagePlayAudio `json:"playAudio,omitempty"` - - // Text: Returns a text response. - Text *GoogleCloudDialogflowCxV3ResponseMessageText `json:"text,omitempty"` +// GoogleCloudDialogflowCxV3CreateDocumentOperationMetadata: Metadata +// for CreateDocument operation. +type GoogleCloudDialogflowCxV3CreateDocumentOperationMetadata struct { + // GenericMetadata: The generic information of the operation. + GenericMetadata *GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata `json:"genericMetadata,omitempty"` - // ForceSendFields is a list of field names (e.g. "ConversationSuccess") - // to unconditionally include in API requests. By default, fields with + // ForceSendFields is a list of field names (e.g. "GenericMetadata") 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. "ConversationSuccess") to + // NullFields is a list of field names (e.g. "GenericMetadata") 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 @@ -597,29 +582,21 @@ type GoogleCloudDialogflowCxV3ResponseMessage struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3ResponseMessage) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3ResponseMessage +func (s *GoogleCloudDialogflowCxV3CreateDocumentOperationMetadata) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3CreateDocumentOperationMetadata raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess: -// Indicates that the conversation succeeded, i.e., the bot handled the -// issue that the customer talked to it about. Dialogflow only uses this -// to determine which conversations should be counted as successful and -// doesn't process the metadata in this message in any way. Note that -// Dialogflow also considers conversations that get to the conversation -// end page as successful even if they don't return ConversationSuccess. -// You may set this, for example: * In the entry_fulfillment of a Page -// if entering the page indicates that the conversation succeeded. * In -// a webhook response when you determine that you handled the customer -// issue. -type GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess struct { - // Metadata: Custom metadata. Dialogflow doesn't impose any structure on - // this. - Metadata googleapi.RawMessage `json:"metadata,omitempty"` +// GoogleCloudDialogflowCxV3CreateVersionOperationMetadata: Metadata +// associated with the long running operation for +// Versions.CreateVersion. +type GoogleCloudDialogflowCxV3CreateVersionOperationMetadata struct { + // Version: Name of the created version. Format: + // `projects//locations//agents//flows//versions/`. + Version string `json:"version,omitempty"` - // ForceSendFields is a list of field names (e.g. "Metadata") to + // ForceSendFields is a list of field names (e.g. "Version") 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 @@ -627,7 +604,7 @@ type GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Metadata") to include in + // NullFields is a list of field names (e.g. "Version") 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 @@ -636,34 +613,19 @@ type GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess +func (s *GoogleCloudDialogflowCxV3CreateVersionOperationMetadata) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3CreateVersionOperationMetadata raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3ResponseMessageEndInteraction: Indicates -// that interaction with the Dialogflow agent has ended. This message is -// generated by Dialogflow only and not supposed to be defined by the -// user. -type GoogleCloudDialogflowCxV3ResponseMessageEndInteraction struct { -} - -// GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff: Indicates -// that the conversation should be handed off to a live agent. -// Dialogflow only uses this to determine which conversations were -// handed off to a human agent for measurement purposes. What else to do -// with this signal is up to you and your handoff procedures. You may -// set this, for example: * In the entry_fulfillment of a Page if -// entering the page indicates something went extremely wrong in the -// conversation. * In a webhook response when you determine that the -// customer issue can only be handled by a human. -type GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff struct { - // Metadata: Custom metadata for your handoff procedure. Dialogflow - // doesn't impose any structure on this. - Metadata googleapi.RawMessage `json:"metadata,omitempty"` +// GoogleCloudDialogflowCxV3DeleteDocumentOperationMetadata: Metadata +// for DeleteDocument operation. +type GoogleCloudDialogflowCxV3DeleteDocumentOperationMetadata struct { + // GenericMetadata: The generic information of the operation. + GenericMetadata *GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata `json:"genericMetadata,omitempty"` - // ForceSendFields is a list of field names (e.g. "Metadata") to + // ForceSendFields is a list of field names (e.g. "GenericMetadata") 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 @@ -671,32 +633,32 @@ type GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Metadata") 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:"-"` + // NullFields is a list of field names (e.g. "GenericMetadata") 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 *GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff +func (s *GoogleCloudDialogflowCxV3DeleteDocumentOperationMetadata) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3DeleteDocumentOperationMetadata raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3ResponseMessageMixedAudio: Represents an -// audio message that is composed of both segments synthesized from the -// Dialogflow agent prompts and ones hosted externally at the specified -// URIs. The external URIs are specified via play_audio. This message is -// generated by Dialogflow only and not supposed to be defined by the -// user. -type GoogleCloudDialogflowCxV3ResponseMessageMixedAudio struct { - // Segments: Segments this audio response is composed of. - Segments []*GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment `json:"segments,omitempty"` +// GoogleCloudDialogflowCxV3DtmfInput: Represents the input for dtmf +// event. +type GoogleCloudDialogflowCxV3DtmfInput struct { + // Digits: The dtmf digits. + Digits string `json:"digits,omitempty"` - // ForceSendFields is a list of field names (e.g. "Segments") to + // FinishDigit: The finish digit (if any). + FinishDigit string `json:"finishDigit,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Digits") 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 @@ -704,8 +666,8 @@ type GoogleCloudDialogflowCxV3ResponseMessageMixedAudio struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Segments") to include in - // API requests with the JSON null value. By default, fields with empty + // NullFields is a list of field names (e.g. "Digits") 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. @@ -713,185 +675,173 @@ type GoogleCloudDialogflowCxV3ResponseMessageMixedAudio struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3ResponseMessageMixedAudio) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3ResponseMessageMixedAudio +func (s *GoogleCloudDialogflowCxV3DtmfInput) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3DtmfInput raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment: Represents -// one segment of audio. -type GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment struct { - // AllowPlaybackInterruption: Output only. Whether the playback of this - // segment can be interrupted by the end user's speech and the client - // should then start the next Dialogflow request. - AllowPlaybackInterruption bool `json:"allowPlaybackInterruption,omitempty"` +// GoogleCloudDialogflowCxV3EventHandler: An event handler specifies an +// event that can be handled during a session. When the specified event +// happens, the following actions are taken in order: * If there is a +// `trigger_fulfillment` associated with the event, it will be called. * +// If there is a `target_page` associated with the event, the session +// will transition into the specified page. * If there is a +// `target_flow` associated with the event, the session will transition +// into the specified flow. +type GoogleCloudDialogflowCxV3EventHandler struct { + // Event: Required. The name of the event to handle. + Event string `json:"event,omitempty"` - // Audio: Raw audio synthesized from the Dialogflow agent's response - // using the output config specified in the request. - Audio string `json:"audio,omitempty"` + // Name: Output only. The unique identifier of this event handler. + Name string `json:"name,omitempty"` - // Uri: Client-specific URI that points to an audio clip accessible to - // the client. Dialogflow does not impose any validation on it. - Uri string `json:"uri,omitempty"` + // TargetFlow: The target flow to transition to. Format: + // `projects//locations//agents//flows/`. + TargetFlow string `json:"targetFlow,omitempty"` - // ForceSendFields is a list of field names (e.g. - // "AllowPlaybackInterruption") 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. + // TargetPage: The target page to transition to. Format: + // `projects//locations//agents//flows//pages/`. + TargetPage string `json:"targetPage,omitempty"` + + // TriggerFulfillment: The fulfillment to call when the event occurs. + // Handling webhook errors with a fulfillment enabled with webhook could + // cause infinite loop. It is invalid to specify such fulfillment for a + // handler handling webhooks. + TriggerFulfillment *GoogleCloudDialogflowCxV3Fulfillment `json:"triggerFulfillment,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Event") 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. - // "AllowPlaybackInterruption") 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. "Event") 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 *GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment +func (s *GoogleCloudDialogflowCxV3EventHandler) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3EventHandler raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText: A text or -// ssml response that is preferentially used for TTS output audio -// synthesis, as described in the comment on the ResponseMessage -// message. -type GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText struct { - // AllowPlaybackInterruption: Output only. Whether the playback of this - // message can be interrupted by the end user's speech and the client - // can then starts the next Dialogflow request. - AllowPlaybackInterruption bool `json:"allowPlaybackInterruption,omitempty"` - - // Ssml: The SSML text to be synthesized. For more information, see - // [SSML](/speech/text-to-speech/docs/ssml). - Ssml string `json:"ssml,omitempty"` - - // Text: The raw text to be synthesized. - Text string `json:"text,omitempty"` +// GoogleCloudDialogflowCxV3EventInput: Represents the event to trigger. +type GoogleCloudDialogflowCxV3EventInput struct { + // Event: Name of the event. + Event string `json:"event,omitempty"` - // ForceSendFields is a list of field names (e.g. - // "AllowPlaybackInterruption") 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. "Event") 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. - // "AllowPlaybackInterruption") 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. "Event") 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 *GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText +func (s *GoogleCloudDialogflowCxV3EventInput) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3EventInput raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3ResponseMessagePlayAudio: Specifies an audio -// clip to be played by the client as part of the response. -type GoogleCloudDialogflowCxV3ResponseMessagePlayAudio struct { - // AllowPlaybackInterruption: Output only. Whether the playback of this - // message can be interrupted by the end user's speech and the client - // can then starts the next Dialogflow request. - AllowPlaybackInterruption bool `json:"allowPlaybackInterruption,omitempty"` +// GoogleCloudDialogflowCxV3ExportAgentResponse: The response message +// for Agents.ExportAgent. +type GoogleCloudDialogflowCxV3ExportAgentResponse struct { + // AgentContent: Uncompressed raw byte content for agent. + AgentContent string `json:"agentContent,omitempty"` - // AudioUri: Required. URI of the audio clip. Dialogflow does not impose - // any validation on this value. It is specific to the client that reads - // it. - AudioUri string `json:"audioUri,omitempty"` + // AgentUri: The URI to a file containing the exported agent. This field + // is populated only if `agent_uri` is specified in ExportAgentRequest. + AgentUri string `json:"agentUri,omitempty"` - // ForceSendFields is a list of field names (e.g. - // "AllowPlaybackInterruption") 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. "AgentContent") 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. - // "AllowPlaybackInterruption") 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. "AgentContent") 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 *GoogleCloudDialogflowCxV3ResponseMessagePlayAudio) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3ResponseMessagePlayAudio +func (s *GoogleCloudDialogflowCxV3ExportAgentResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3ExportAgentResponse raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3ResponseMessageText: The text response -// message. -type GoogleCloudDialogflowCxV3ResponseMessageText struct { - // AllowPlaybackInterruption: Output only. Whether the playback of this - // message can be interrupted by the end user's speech and the client - // can then starts the next Dialogflow request. - AllowPlaybackInterruption bool `json:"allowPlaybackInterruption,omitempty"` +// GoogleCloudDialogflowCxV3ExportTestCasesMetadata: Metadata returned +// for the TestCases.ExportTestCases long running operation. +type GoogleCloudDialogflowCxV3ExportTestCasesMetadata struct { +} - // Text: Required. A collection of text responses. - Text []string `json:"text,omitempty"` +// GoogleCloudDialogflowCxV3ExportTestCasesResponse: The response +// message for TestCases.ExportTestCases. +type GoogleCloudDialogflowCxV3ExportTestCasesResponse struct { + // Content: Uncompressed raw byte content for test cases. + Content string `json:"content,omitempty"` - // ForceSendFields is a list of field names (e.g. - // "AllowPlaybackInterruption") 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. + // GcsUri: The URI to a file containing the exported test cases. This + // field is populated only if `gcs_uri` is specified in + // ExportTestCasesRequest. + GcsUri string `json:"gcsUri,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Content") 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. - // "AllowPlaybackInterruption") 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. "Content") 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 *GoogleCloudDialogflowCxV3ResponseMessageText) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3ResponseMessageText +func (s *GoogleCloudDialogflowCxV3ExportTestCasesResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3ExportTestCasesResponse raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3SessionInfo: Represents session information -// communicated to and from the webhook. -type GoogleCloudDialogflowCxV3SessionInfo struct { - // Parameters: Optional for WebhookRequest. Optional for - // WebhookResponse. All parameters collected from forms and intents - // during the session. Parameters can be created, updated, or removed by - // the webhook. To remove a parameter from the session, the webhook - // should explicitly set the parameter value to null in WebhookResponse. - // The map is keyed by parameters' display names. - Parameters googleapi.RawMessage `json:"parameters,omitempty"` - - // Session: Always present for WebhookRequest. Ignored for - // WebhookResponse. The unique identifier of the session. This field can - // be used by the webhook to identify a user. Format: - // `projects//locations//agents//sessions/`. - Session string `json:"session,omitempty"` +// GoogleCloudDialogflowCxV3Form: A form is a data model that groups +// related parameters that can be collected from the user. The process +// in which the agent prompts the user and collects parameter values +// from the user is called form filling. A form can be added to a page. +// When form filling is done, the filled parameters will be written to +// the session. +type GoogleCloudDialogflowCxV3Form struct { + // Parameters: Parameters to collect from the user. + Parameters []*GoogleCloudDialogflowCxV3FormParameter `json:"parameters,omitempty"` // ForceSendFields is a list of field names (e.g. "Parameters") to // unconditionally include in API requests. By default, fields with @@ -910,50 +860,114 @@ type GoogleCloudDialogflowCxV3SessionInfo struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3SessionInfo) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3SessionInfo +func (s *GoogleCloudDialogflowCxV3Form) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3Form raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3WebhookRequest: The request message for a -// webhook call. -type GoogleCloudDialogflowCxV3WebhookRequest struct { - // DetectIntentResponseId: Always present. The unique identifier of the - // DetectIntentResponse that will be returned to the API caller. - DetectIntentResponseId string `json:"detectIntentResponseId,omitempty"` - - // FulfillmentInfo: Always present. Information about the fulfillment - // that triggered this webhook call. - FulfillmentInfo *GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo `json:"fulfillmentInfo,omitempty"` +// GoogleCloudDialogflowCxV3FormParameter: Represents a form parameter. +type GoogleCloudDialogflowCxV3FormParameter struct { + // DefaultValue: The default value of an optional parameter. If the + // parameter is required, the default value will be ignored. + DefaultValue interface{} `json:"defaultValue,omitempty"` - // IntentInfo: Information about the last matched intent. - IntentInfo *GoogleCloudDialogflowCxV3WebhookRequestIntentInfo `json:"intentInfo,omitempty"` + // DisplayName: Required. The human-readable name of the parameter, + // unique within the form. + DisplayName string `json:"displayName,omitempty"` - // Messages: The list of rich message responses to present to the user. - // Webhook can choose to append or replace this list in - // WebhookResponse.fulfillment_response; - Messages []*GoogleCloudDialogflowCxV3ResponseMessage `json:"messages,omitempty"` + // EntityType: Required. The entity type of the parameter. Format: + // `projects/-/locations/-/agents/-/entityTypes/` for system entity + // types (for example, + // `projects/-/locations/-/agents/-/entityTypes/sys.date`), or + // `projects//locations//agents//entityTypes/` for developer entity + // types. + EntityType string `json:"entityType,omitempty"` - // PageInfo: Information about page status. - PageInfo *GoogleCloudDialogflowCxV3PageInfo `json:"pageInfo,omitempty"` + // FillBehavior: Required. Defines fill behavior for the parameter. + FillBehavior *GoogleCloudDialogflowCxV3FormParameterFillBehavior `json:"fillBehavior,omitempty"` - // Payload: Custom data set in QueryParameters.payload. - Payload googleapi.RawMessage `json:"payload,omitempty"` + // IsList: Indicates whether the parameter represents a list of values. + IsList bool `json:"isList,omitempty"` - // SessionInfo: Information about session status. - SessionInfo *GoogleCloudDialogflowCxV3SessionInfo `json:"sessionInfo,omitempty"` + // Redact: Indicates whether the parameter content is logged in text and + // audio. If it is set to true, the parameter content will be replaced + // to parameter name in both request and response. The default value is + // false. + Redact bool `json:"redact,omitempty"` - // ForceSendFields is a list of field names (e.g. - // "DetectIntentResponseId") 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:"-"` + // Required: Indicates whether the parameter is required. Optional + // parameters will not trigger prompts; however, they are filled if the + // user specifies them. Required parameters must be filled before form + // filling concludes. + Required bool `json:"required,omitempty"` - // NullFields is a list of field names (e.g. "DetectIntentResponseId") + // ForceSendFields is a list of field names (e.g. "DefaultValue") 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. "DefaultValue") 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 *GoogleCloudDialogflowCxV3FormParameter) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3FormParameter + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3FormParameterFillBehavior: Configuration for +// how the filling of a parameter should be handled. +type GoogleCloudDialogflowCxV3FormParameterFillBehavior struct { + // InitialPromptFulfillment: Required. The fulfillment to provide the + // initial prompt that the agent can present to the user in order to + // fill the parameter. + InitialPromptFulfillment *GoogleCloudDialogflowCxV3Fulfillment `json:"initialPromptFulfillment,omitempty"` + + // RepromptEventHandlers: The handlers for parameter-level events, used + // to provide reprompt for the parameter or transition to a different + // page/flow. The supported events are: * `sys.no-match-`, where N can + // be from 1 to 6 * `sys.no-match-default` * `sys.no-input-`, where N + // can be from 1 to 6 * `sys.no-input-default` * `sys.invalid-parameter` + // `initial_prompt_fulfillment` provides the first prompt for the + // parameter. If the user's response does not fill the parameter, a + // no-match/no-input event will be triggered, and the fulfillment + // associated with the `sys.no-match-1`/`sys.no-input-1` handler (if + // defined) will be called to provide a prompt. The + // `sys.no-match-2`/`sys.no-input-2` handler (if defined) will respond + // to the next no-match/no-input event, and so on. A + // `sys.no-match-default` or `sys.no-input-default` handler will be used + // to handle all following no-match/no-input events after all numbered + // no-match/no-input handlers for the parameter are consumed. A + // `sys.invalid-parameter` handler can be defined to handle the case + // where the parameter values have been `invalidated` by webhook. For + // example, if the user's response fill the parameter, however the + // parameter was invalidated by webhook, the fulfillment associated with + // the `sys.invalid-parameter` handler (if defined) will be called to + // provide a prompt. If the event handler for the corresponding event + // can't be found on the parameter, `initial_prompt_fulfillment` will be + // re-prompted. + RepromptEventHandlers []*GoogleCloudDialogflowCxV3EventHandler `json:"repromptEventHandlers,omitempty"` + + // ForceSendFields is a list of field names (e.g. + // "InitialPromptFulfillment") 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. "InitialPromptFulfillment") // 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 @@ -963,20 +977,3150 @@ type GoogleCloudDialogflowCxV3WebhookRequest struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3WebhookRequest) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3WebhookRequest +func (s *GoogleCloudDialogflowCxV3FormParameterFillBehavior) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3FormParameterFillBehavior raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo: Represents -// fulfillment information communicated to the webhook. -type GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo struct { - // Tag: Always present. The tag used to identify which fulfillment is - // being called. +// GoogleCloudDialogflowCxV3Fulfillment: A fulfillment can do one or +// more of the following actions at the same time: * Generate rich +// message responses. * Set parameter values. * Call the webhook. +// Fulfillments can be called at various stages in the Page or Form +// lifecycle. For example, when a DetectIntentRequest drives a session +// to enter a new page, the page's entry fulfillment can add a static +// response to the QueryResult in the returning DetectIntentResponse, +// call the webhook (for example, to load user data from a database), or +// both. +type GoogleCloudDialogflowCxV3Fulfillment struct { + // ConditionalCases: Conditional cases for this fulfillment. + ConditionalCases []*GoogleCloudDialogflowCxV3FulfillmentConditionalCases `json:"conditionalCases,omitempty"` + + // Messages: The list of rich message responses to present to the user. + Messages []*GoogleCloudDialogflowCxV3ResponseMessage `json:"messages,omitempty"` + + // SetParameterActions: Set parameter values before executing the + // webhook. + SetParameterActions []*GoogleCloudDialogflowCxV3FulfillmentSetParameterAction `json:"setParameterActions,omitempty"` + + // Tag: The tag used by the webhook to identify which fulfillment is + // being called. This field is required if `webhook` is specified. Tag string `json:"tag,omitempty"` - // ForceSendFields is a list of field names (e.g. "Tag") to + // Webhook: The webhook to call. Format: + // `projects//locations//agents//webhooks/`. + Webhook string `json:"webhook,omitempty"` + + // ForceSendFields is a list of field names (e.g. "ConditionalCases") 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. "ConditionalCases") 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 *GoogleCloudDialogflowCxV3Fulfillment) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3Fulfillment + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3FulfillmentConditionalCases: A list of +// cascading if-else conditions. Cases are mutually exclusive. The first +// one with a matching condition is selected, all the rest ignored. +type GoogleCloudDialogflowCxV3FulfillmentConditionalCases struct { + // Cases: A list of cascading if-else conditions. + Cases []*GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCase `json:"cases,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Cases") 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. "Cases") 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 *GoogleCloudDialogflowCxV3FulfillmentConditionalCases) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3FulfillmentConditionalCases + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCase: Each case +// has a Boolean condition. When it is evaluated to be True, the +// corresponding messages will be selected and evaluated recursively. +type GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCase struct { + // CaseContent: A list of case content. + CaseContent []*GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseCaseContent `json:"caseContent,omitempty"` + + // Condition: The condition to activate and select this case. Empty + // means the condition is always true. The condition is evaluated + // against form parameters or session parameters. See the [conditions + // reference](https://cloud.google.com/dialogflow/cx/docs/reference/condi + // tion). + Condition string `json:"condition,omitempty"` + + // ForceSendFields is a list of field names (e.g. "CaseContent") 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. "CaseContent") 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 *GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCase) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCase + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseCaseContent: +// The list of messages or conditional cases to activate for this case. +type GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseCaseContent struct { + // AdditionalCases: Additional cases to be evaluated. + AdditionalCases *GoogleCloudDialogflowCxV3FulfillmentConditionalCases `json:"additionalCases,omitempty"` + + // Message: Returned message. + Message *GoogleCloudDialogflowCxV3ResponseMessage `json:"message,omitempty"` + + // ForceSendFields is a list of field names (e.g. "AdditionalCases") 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. "AdditionalCases") 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 *GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseCaseContent) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseCaseContent + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3FulfillmentSetParameterAction: Setting a +// parameter value. +type GoogleCloudDialogflowCxV3FulfillmentSetParameterAction struct { + // Parameter: Display name of the parameter. + Parameter string `json:"parameter,omitempty"` + + // Value: The new value of the parameter. A null value clears the + // parameter. + Value interface{} `json:"value,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Parameter") 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. "Parameter") 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 *GoogleCloudDialogflowCxV3FulfillmentSetParameterAction) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3FulfillmentSetParameterAction + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata: Metadata +// in google::longrunning::Operation for Knowledge operations. +type GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata struct { + // State: Required. Output only. The current state of this operation. + // + // Possible values: + // "STATE_UNSPECIFIED" - State unspecified. + // "PENDING" - The operation has been created. + // "RUNNING" - The operation is currently running. + // "DONE" - The operation is done, either cancelled or completed. + State string `json:"state,omitempty"` + + // ForceSendFields is a list of field names (e.g. "State") 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. "State") 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 *GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3ImportDocumentsOperationMetadata: Metadata +// for ImportDocuments operation. +type GoogleCloudDialogflowCxV3ImportDocumentsOperationMetadata struct { + // GenericMetadata: The generic information of the operation. + GenericMetadata *GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata `json:"genericMetadata,omitempty"` + + // ForceSendFields is a list of field names (e.g. "GenericMetadata") 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. "GenericMetadata") 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 *GoogleCloudDialogflowCxV3ImportDocumentsOperationMetadata) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3ImportDocumentsOperationMetadata + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3ImportDocumentsResponse: Response message +// for Documents.ImportDocuments. +type GoogleCloudDialogflowCxV3ImportDocumentsResponse struct { + // Warnings: Includes details about skipped documents or any other + // warnings. + Warnings []*GoogleRpcStatus `json:"warnings,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Warnings") 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. "Warnings") 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 *GoogleCloudDialogflowCxV3ImportDocumentsResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3ImportDocumentsResponse + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3ImportTestCasesMetadata: Metadata returned +// for the TestCases.ImportTestCases long running operation. +type GoogleCloudDialogflowCxV3ImportTestCasesMetadata struct { + // Errors: Errors for failed test cases. + Errors []*GoogleCloudDialogflowCxV3TestCaseError `json:"errors,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Errors") 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. "Errors") 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 *GoogleCloudDialogflowCxV3ImportTestCasesMetadata) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3ImportTestCasesMetadata + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3ImportTestCasesResponse: The response +// message for TestCases.ImportTestCases. +type GoogleCloudDialogflowCxV3ImportTestCasesResponse struct { + // Names: The unique identifiers of the new test cases. Format: + // `projects//locations//agents//testCases/`. + Names []string `json:"names,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 *GoogleCloudDialogflowCxV3ImportTestCasesResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3ImportTestCasesResponse + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3InputAudioConfig: Instructs the speech +// recognizer on how to process the audio content. +type GoogleCloudDialogflowCxV3InputAudioConfig struct { + // AudioEncoding: Required. Audio encoding of the audio content to + // process. + // + // Possible values: + // "AUDIO_ENCODING_UNSPECIFIED" - Not specified. + // "AUDIO_ENCODING_LINEAR_16" - Uncompressed 16-bit signed + // little-endian samples (Linear PCM). + // "AUDIO_ENCODING_FLAC" - + // [`FLAC`](https://xiph.org/flac/documentation.html) (Free Lossless + // Audio Codec) is the recommended encoding because it is lossless + // (therefore recognition is not compromised) and requires only about + // half the bandwidth of `LINEAR16`. `FLAC` stream encoding supports + // 16-bit and 24-bit samples, however, not all fields in `STREAMINFO` + // are supported. + // "AUDIO_ENCODING_MULAW" - 8-bit samples that compand 14-bit audio + // samples using G.711 PCMU/mu-law. + // "AUDIO_ENCODING_AMR" - Adaptive Multi-Rate Narrowband codec. + // `sample_rate_hertz` must be 8000. + // "AUDIO_ENCODING_AMR_WB" - Adaptive Multi-Rate Wideband codec. + // `sample_rate_hertz` must be 16000. + // "AUDIO_ENCODING_OGG_OPUS" - Opus encoded audio frames in Ogg + // container ([OggOpus](https://wiki.xiph.org/OggOpus)). + // `sample_rate_hertz` must be 16000. + // "AUDIO_ENCODING_SPEEX_WITH_HEADER_BYTE" - Although the use of lossy + // encodings is not recommended, if a very low bitrate encoding is + // required, `OGG_OPUS` is highly preferred over Speex encoding. The + // [Speex](https://speex.org/) encoding supported by Dialogflow API has + // a header byte in each block, as in MIME type + // `audio/x-speex-with-header-byte`. It is a variant of the RTP Speex + // encoding defined in [RFC 5574](https://tools.ietf.org/html/rfc5574). + // The stream is a sequence of blocks, one block per RTP packet. Each + // block starts with a byte containing the length of the block, in + // bytes, followed by one or more frames of Speex data, padded to an + // integral number of bytes (octets) as specified in RFC 5574. In other + // words, each RTP header is replaced with a single byte containing the + // block length. Only Speex wideband is supported. `sample_rate_hertz` + // must be 16000. + AudioEncoding string `json:"audioEncoding,omitempty"` + + // EnableWordInfo: Optional. If `true`, Dialogflow returns + // SpeechWordInfo in StreamingRecognitionResult with information about + // the recognized speech words, e.g. start and end time offsets. If + // false or unspecified, Speech doesn't return any word-level + // information. + EnableWordInfo bool `json:"enableWordInfo,omitempty"` + + // Model: Optional. Which Speech model to select for the given request. + // Select the model best suited to your domain to get best results. If a + // model is not explicitly specified, then we auto-select a model based + // on the parameters in the InputAudioConfig. If enhanced speech model + // is enabled for the agent and an enhanced version of the specified + // model for the language does not exist, then the speech is recognized + // using the standard version of the specified model. Refer to [Cloud + // Speech API + // documentation](https://cloud.google.com/speech-to-text/docs/basics#sel + // ect-model) for more details. + Model string `json:"model,omitempty"` + + // ModelVariant: Optional. Which variant of the Speech model to use. + // + // Possible values: + // "SPEECH_MODEL_VARIANT_UNSPECIFIED" - No model variant specified. In + // this case Dialogflow defaults to USE_BEST_AVAILABLE. + // "USE_BEST_AVAILABLE" - Use the best available variant of the Speech + // model that the caller is eligible for. Please see the [Dialogflow + // docs](https://cloud.google.com/dialogflow/docs/data-logging) for how + // to make your project eligible for enhanced models. + // "USE_STANDARD" - Use standard model variant even if an enhanced + // model is available. See the [Cloud Speech + // documentation](https://cloud.google.com/speech-to-text/docs/enhanced-m + // odels) for details about enhanced models. + // "USE_ENHANCED" - Use an enhanced model variant: * If an enhanced + // variant does not exist for the given model and request language, + // Dialogflow falls back to the standard variant. The [Cloud Speech + // documentation](https://cloud.google.com/speech-to-text/docs/enhanced-m + // odels) describes which models have enhanced variants. * If the API + // caller isn't eligible for enhanced models, Dialogflow returns an + // error. Please see the [Dialogflow + // docs](https://cloud.google.com/dialogflow/docs/data-logging) for how + // to make your project eligible. + ModelVariant string `json:"modelVariant,omitempty"` + + // PhraseHints: Optional. A list of strings containing words and phrases + // that the speech recognizer should recognize with higher likelihood. + // See [the Cloud Speech + // documentation](https://cloud.google.com/speech-to-text/docs/basics#phr + // ase-hints) for more details. + PhraseHints []string `json:"phraseHints,omitempty"` + + // SampleRateHertz: Sample rate (in Hertz) of the audio content sent in + // the query. Refer to [Cloud Speech API + // documentation](https://cloud.google.com/speech-to-text/docs/basics) + // for more details. + SampleRateHertz int64 `json:"sampleRateHertz,omitempty"` + + // SingleUtterance: Optional. If `false` (default), recognition does not + // cease until the client closes the stream. If `true`, the recognizer + // will detect a single spoken utterance in input audio. Recognition + // ceases when it detects the audio's voice has stopped or paused. In + // this case, once a detected intent is received, the client should + // close the stream and start a new request with a new stream as needed. + // Note: This setting is relevant only for streaming methods. + SingleUtterance bool `json:"singleUtterance,omitempty"` + + // ForceSendFields is a list of field names (e.g. "AudioEncoding") 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. "AudioEncoding") 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 *GoogleCloudDialogflowCxV3InputAudioConfig) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3InputAudioConfig + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3Intent: An intent represents a user's intent +// to interact with a conversational agent. You can provide information +// for the Dialogflow API to use to match user input to an intent by +// adding training phrases (i.e., examples of user input) to your +// intent. +type GoogleCloudDialogflowCxV3Intent struct { + // Description: Optional. Human readable description for better + // understanding an intent like its scope, content, result etc. Maximum + // character limit: 140 characters. + Description string `json:"description,omitempty"` + + // DisplayName: Required. The human-readable name of the intent, unique + // within the agent. + DisplayName string `json:"displayName,omitempty"` + + // IsFallback: Indicates whether this is a fallback intent. Currently + // only default fallback intent is allowed in the agent, which is added + // upon agent creation. Adding training phrases to fallback intent is + // useful in the case of requests that are mistakenly matched, since + // training phrases assigned to fallback intents act as negative + // examples that triggers no-match event. + IsFallback bool `json:"isFallback,omitempty"` + + // Labels: Optional. The key/value metadata to label an intent. Labels + // can contain lowercase letters, digits and the symbols '-' and '_'. + // International characters are allowed, including letters from unicase + // alphabets. Keys must start with a letter. Keys and values can be no + // longer than 63 characters and no more than 128 bytes. Prefix "sys." + // is reserved for Dialogflow defined labels. Currently allowed + // Dialogflow defined labels include: * sys.head * sys.contextual The + // above labels do not require value. "sys.head" means the intent is a + // head intent. "sys.contextual" means the intent is a contextual + // intent. + Labels map[string]string `json:"labels,omitempty"` + + // Name: The unique identifier of the intent. Required for the + // Intents.UpdateIntent method. Intents.CreateIntent populates the name + // automatically. Format: `projects//locations//agents//intents/`. + Name string `json:"name,omitempty"` + + // Parameters: The collection of parameters associated with the intent. + Parameters []*GoogleCloudDialogflowCxV3IntentParameter `json:"parameters,omitempty"` + + // Priority: The priority of this intent. Higher numbers represent + // higher priorities. - If the supplied value is unspecified or 0, the + // service translates the value to 500,000, which corresponds to the + // `Normal` priority in the console. - If the supplied value is + // negative, the intent is ignored in runtime detect intent requests. + Priority int64 `json:"priority,omitempty"` + + // TrainingPhrases: The collection of training phrases the agent is + // trained on to identify the intent. + TrainingPhrases []*GoogleCloudDialogflowCxV3IntentTrainingPhrase `json:"trainingPhrases,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 *GoogleCloudDialogflowCxV3Intent) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3Intent + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3IntentInput: Represents the intent to +// trigger programmatically rather than as a result of natural language +// processing. +type GoogleCloudDialogflowCxV3IntentInput struct { + // Intent: Required. The unique identifier of the intent. Format: + // `projects//locations//agents//intents/`. + Intent string `json:"intent,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Intent") 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. "Intent") 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 *GoogleCloudDialogflowCxV3IntentInput) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3IntentInput + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3IntentParameter: Represents an intent +// parameter. +type GoogleCloudDialogflowCxV3IntentParameter struct { + // EntityType: Required. The entity type of the parameter. Format: + // `projects/-/locations/-/agents/-/entityTypes/` for system entity + // types (for example, + // `projects/-/locations/-/agents/-/entityTypes/sys.date`), or + // `projects//locations//agents//entityTypes/` for developer entity + // types. + EntityType string `json:"entityType,omitempty"` + + // Id: Required. The unique identifier of the parameter. This field is + // used by training phrases to annotate their parts. + Id string `json:"id,omitempty"` + + // IsList: Indicates whether the parameter represents a list of values. + IsList bool `json:"isList,omitempty"` + + // Redact: Indicates whether the parameter content is logged in text and + // audio. If it is set to true, the parameter content will be replaced + // to parameter id in both request and response. The default value is + // false. + Redact bool `json:"redact,omitempty"` + + // ForceSendFields is a list of field names (e.g. "EntityType") 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. "EntityType") 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 *GoogleCloudDialogflowCxV3IntentParameter) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3IntentParameter + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3IntentTrainingPhrase: Represents an example +// that the agent is trained on to identify the intent. +type GoogleCloudDialogflowCxV3IntentTrainingPhrase struct { + // Id: Output only. The unique identifier of the training phrase. + Id string `json:"id,omitempty"` + + // Parts: Required. The ordered list of training phrase parts. The parts + // are concatenated in order to form the training phrase. Note: The API + // does not automatically annotate training phrases like the Dialogflow + // Console does. Note: Do not forget to include whitespace at part + // boundaries, so the training phrase is well formatted when the parts + // are concatenated. If the training phrase does not need to be + // annotated with parameters, you just need a single part with only the + // Part.text field set. If you want to annotate the training phrase, you + // must create multiple parts, where the fields of each part are + // populated in one of two ways: - `Part.text` is set to a part of the + // phrase that has no parameters. - `Part.text` is set to a part of the + // phrase that you want to annotate, and the `parameter_id` field is + // set. + Parts []*GoogleCloudDialogflowCxV3IntentTrainingPhrasePart `json:"parts,omitempty"` + + // RepeatCount: Indicates how many times this example was added to the + // intent. + RepeatCount int64 `json:"repeatCount,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Id") 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. "Id") 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 *GoogleCloudDialogflowCxV3IntentTrainingPhrase) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3IntentTrainingPhrase + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3IntentTrainingPhrasePart: Represents a part +// of a training phrase. +type GoogleCloudDialogflowCxV3IntentTrainingPhrasePart struct { + // ParameterId: The parameter used to annotate this part of the training + // phrase. This field is required for annotated parts of the training + // phrase. + ParameterId string `json:"parameterId,omitempty"` + + // Text: Required. The text for this part. + Text string `json:"text,omitempty"` + + // ForceSendFields is a list of field names (e.g. "ParameterId") 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. "ParameterId") 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 *GoogleCloudDialogflowCxV3IntentTrainingPhrasePart) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3IntentTrainingPhrasePart + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3Page: A Dialogflow CX conversation (session) +// can be described and visualized as a state machine. The states of a +// CX session are represented by pages. For each flow, you define many +// pages, where your combined pages can handle a complete conversation +// on the topics the flow is designed for. At any given moment, exactly +// one page is the current page, the current page is considered active, +// and the flow associated with that page is considered active. Every +// flow has a special start page. When a flow initially becomes active, +// the start page page becomes the current page. For each conversational +// turn, the current page will either stay the same or transition to +// another page. You configure each page to collect information from the +// end-user that is relevant for the conversational state represented by +// the page. For more information, see the [Page +// guide](https://cloud.google.com/dialogflow/cx/docs/concept/page). +type GoogleCloudDialogflowCxV3Page struct { + // DisplayName: Required. The human-readable name of the page, unique + // within the agent. + DisplayName string `json:"displayName,omitempty"` + + // EntryFulfillment: The fulfillment to call when the session is + // entering the page. + EntryFulfillment *GoogleCloudDialogflowCxV3Fulfillment `json:"entryFulfillment,omitempty"` + + // EventHandlers: Handlers associated with the page to handle events + // such as webhook errors, no match or no input. + EventHandlers []*GoogleCloudDialogflowCxV3EventHandler `json:"eventHandlers,omitempty"` + + // Form: The form associated with the page, used for collecting + // parameters relevant to the page. + Form *GoogleCloudDialogflowCxV3Form `json:"form,omitempty"` + + // Name: The unique identifier of the page. Required for the + // Pages.UpdatePage method. Pages.CreatePage populates the name + // automatically. Format: `projects//locations//agents//flows//pages/`. + Name string `json:"name,omitempty"` + + // TransitionRouteGroups: Ordered list of `TransitionRouteGroups` + // associated with the page. Transition route groups must be unique + // within a page. * If multiple transition routes within a page scope + // refer to the same intent, then the precedence order is: page's + // transition route -> page's transition route group -> flow's + // transition routes. * If multiple transition route groups within a + // page contain the same intent, then the first group in the ordered + // list takes precedence. + // Format:`projects//locations//agents//flows//transitionRouteGroups/`. + TransitionRouteGroups []string `json:"transitionRouteGroups,omitempty"` + + // TransitionRoutes: A list of transitions for the transition rules of + // this page. They route the conversation to another page in the same + // flow, or another flow. When we are in a certain page, the + // TransitionRoutes are evalauted in the following order: * + // TransitionRoutes defined in the page with intent specified. * + // TransitionRoutes defined in the transition route groups. * + // TransitionRoutes defined in flow with intent specified. * + // TransitionRoutes defined in the page with only condition specified. + TransitionRoutes []*GoogleCloudDialogflowCxV3TransitionRoute `json:"transitionRoutes,omitempty"` + + // ForceSendFields is a list of field names (e.g. "DisplayName") 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. "DisplayName") 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 *GoogleCloudDialogflowCxV3Page) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3Page + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3PageInfo: Represents page information +// communicated to and from the webhook. +type GoogleCloudDialogflowCxV3PageInfo struct { + // CurrentPage: Always present for WebhookRequest. Ignored for + // WebhookResponse. The unique identifier of the current page. Format: + // `projects//locations//agents//flows//pages/`. + CurrentPage string `json:"currentPage,omitempty"` + + // FormInfo: Optional for both WebhookRequest and WebhookResponse. + // Information about the form. + FormInfo *GoogleCloudDialogflowCxV3PageInfoFormInfo `json:"formInfo,omitempty"` + + // ForceSendFields is a list of field names (e.g. "CurrentPage") 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. "CurrentPage") 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 *GoogleCloudDialogflowCxV3PageInfo) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3PageInfo + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3PageInfoFormInfo: Represents form +// information. +type GoogleCloudDialogflowCxV3PageInfoFormInfo struct { + // ParameterInfo: Optional for both WebhookRequest and WebhookResponse. + // The parameters contained in the form. Note that the webhook cannot + // add or remove any form parameter. + ParameterInfo []*GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo `json:"parameterInfo,omitempty"` + + // ForceSendFields is a list of field names (e.g. "ParameterInfo") 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. "ParameterInfo") 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 *GoogleCloudDialogflowCxV3PageInfoFormInfo) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3PageInfoFormInfo + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo: Represents +// parameter information. +type GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo struct { + // DisplayName: Always present for WebhookRequest. Required for + // WebhookResponse. The human-readable name of the parameter, unique + // within the form. This field cannot be modified by the webhook. + DisplayName string `json:"displayName,omitempty"` + + // JustCollected: Optional for WebhookRequest. Ignored for + // WebhookResponse. Indicates if the parameter value was just collected + // on the last conversation turn. + JustCollected bool `json:"justCollected,omitempty"` + + // Required: Optional for both WebhookRequest and WebhookResponse. + // Indicates whether the parameter is required. Optional parameters will + // not trigger prompts; however, they are filled if the user specifies + // them. Required parameters must be filled before form filling + // concludes. + Required bool `json:"required,omitempty"` + + // State: Always present for WebhookRequest. Required for + // WebhookResponse. The state of the parameter. This field can be set to + // INVALID by the webhook to invalidate the parameter; other values set + // by the webhook will be ignored. + // + // Possible values: + // "PARAMETER_STATE_UNSPECIFIED" - Not specified. This value should be + // never used. + // "EMPTY" - Indicates that the parameter does not have a value. + // "INVALID" - Indicates that the parameter value is invalid. This + // field can be used by the webhook to invalidate the parameter and ask + // the server to collect it from the user again. + // "FILLED" - Indicates that the parameter has a value. + State string `json:"state,omitempty"` + + // Value: Optional for both WebhookRequest and WebhookResponse. The + // value of the parameter. This field can be set by the webhook to + // change the parameter value. + Value interface{} `json:"value,omitempty"` + + // ForceSendFields is a list of field names (e.g. "DisplayName") 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. "DisplayName") 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 *GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3QueryInput: Represents the query input. It +// can contain one of: 1. A conversational query in the form of text. 2. +// An intent query that specifies which intent to trigger. 3. Natural +// language speech audio to be processed. 4. An event to be triggered. +type GoogleCloudDialogflowCxV3QueryInput struct { + // Audio: The natural language speech audio to be processed. + Audio *GoogleCloudDialogflowCxV3AudioInput `json:"audio,omitempty"` + + // Dtmf: The DTMF event to be handled. + Dtmf *GoogleCloudDialogflowCxV3DtmfInput `json:"dtmf,omitempty"` + + // Event: The event to be triggered. + Event *GoogleCloudDialogflowCxV3EventInput `json:"event,omitempty"` + + // Intent: The intent to be triggered. + Intent *GoogleCloudDialogflowCxV3IntentInput `json:"intent,omitempty"` + + // LanguageCode: Required. The language of the input. See [Language + // Support](https://cloud.google.com/dialogflow/docs/reference/language) + // for a list of the currently supported language codes. Note that + // queries in the same session do not necessarily need to specify the + // same language. + LanguageCode string `json:"languageCode,omitempty"` + + // Text: The natural language text to be processed. + Text *GoogleCloudDialogflowCxV3TextInput `json:"text,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Audio") 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. "Audio") 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 *GoogleCloudDialogflowCxV3QueryInput) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3QueryInput + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3ReloadDocumentOperationMetadata: Metadata +// for ReloadDocument operation. +type GoogleCloudDialogflowCxV3ReloadDocumentOperationMetadata struct { + // GenericMetadata: The generic information of the operation. + GenericMetadata *GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata `json:"genericMetadata,omitempty"` + + // ForceSendFields is a list of field names (e.g. "GenericMetadata") 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. "GenericMetadata") 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 *GoogleCloudDialogflowCxV3ReloadDocumentOperationMetadata) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3ReloadDocumentOperationMetadata + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3ResponseMessage: Represents a response +// message that can be returned by a conversational agent. Response +// messages are also used for output audio synthesis. The approach is as +// follows: * If at least one OutputAudioText response is present, then +// all OutputAudioText responses are linearly concatenated, and the +// result is used for output audio synthesis. * If the OutputAudioText +// responses are a mixture of text and SSML, then the concatenated +// result is treated as SSML; otherwise, the result is treated as either +// text or SSML as appropriate. The agent designer should ideally use +// either text or SSML consistently throughout the bot design. * +// Otherwise, all Text responses are linearly concatenated, and the +// result is used for output audio synthesis. This approach allows for +// more sophisticated user experience scenarios, where the text +// displayed to the user may differ from what is heard. +type GoogleCloudDialogflowCxV3ResponseMessage struct { + // ConversationSuccess: Indicates that the conversation succeeded. + ConversationSuccess *GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess `json:"conversationSuccess,omitempty"` + + // EndInteraction: Output only. A signal that indicates the interaction + // with the Dialogflow agent has ended. This message is generated by + // Dialogflow only when the conversation reaches `END_SESSION` or + // `END_PAGE` page. It is not supposed to be defined by the user. It's + // guaranteed that there is at most one such message in each response. + EndInteraction *GoogleCloudDialogflowCxV3ResponseMessageEndInteraction `json:"endInteraction,omitempty"` + + // LiveAgentHandoff: Hands off conversation to a human agent. + LiveAgentHandoff *GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff `json:"liveAgentHandoff,omitempty"` + + // MixedAudio: Output only. An audio response message composed of both + // the synthesized Dialogflow agent responses and responses defined via + // play_audio. This message is generated by Dialogflow only and not + // supposed to be defined by the user. + MixedAudio *GoogleCloudDialogflowCxV3ResponseMessageMixedAudio `json:"mixedAudio,omitempty"` + + // OutputAudioText: A text or ssml response that is preferentially used + // for TTS output audio synthesis, as described in the comment on the + // ResponseMessage message. + OutputAudioText *GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText `json:"outputAudioText,omitempty"` + + // Payload: Returns a response containing a custom, platform-specific + // payload. + Payload googleapi.RawMessage `json:"payload,omitempty"` + + // PlayAudio: Signal that the client should play an audio clip hosted at + // a client-specific URI. Dialogflow uses this to construct mixed_audio. + // However, Dialogflow itself does not try to read or process the URI in + // any way. + PlayAudio *GoogleCloudDialogflowCxV3ResponseMessagePlayAudio `json:"playAudio,omitempty"` + + // Text: Returns a text response. + Text *GoogleCloudDialogflowCxV3ResponseMessageText `json:"text,omitempty"` + + // ForceSendFields is a list of field names (e.g. "ConversationSuccess") + // 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. "ConversationSuccess") 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 *GoogleCloudDialogflowCxV3ResponseMessage) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3ResponseMessage + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess: +// Indicates that the conversation succeeded, i.e., the bot handled the +// issue that the customer talked to it about. Dialogflow only uses this +// to determine which conversations should be counted as successful and +// doesn't process the metadata in this message in any way. Note that +// Dialogflow also considers conversations that get to the conversation +// end page as successful even if they don't return ConversationSuccess. +// You may set this, for example: * In the entry_fulfillment of a Page +// if entering the page indicates that the conversation succeeded. * In +// a webhook response when you determine that you handled the customer +// issue. +type GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess struct { + // Metadata: Custom metadata. Dialogflow doesn't impose any structure on + // this. + Metadata googleapi.RawMessage `json:"metadata,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Metadata") 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. "Metadata") 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 *GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3ResponseMessageEndInteraction: Indicates +// that interaction with the Dialogflow agent has ended. This message is +// generated by Dialogflow only and not supposed to be defined by the +// user. +type GoogleCloudDialogflowCxV3ResponseMessageEndInteraction struct { +} + +// GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff: Indicates +// that the conversation should be handed off to a live agent. +// Dialogflow only uses this to determine which conversations were +// handed off to a human agent for measurement purposes. What else to do +// with this signal is up to you and your handoff procedures. You may +// set this, for example: * In the entry_fulfillment of a Page if +// entering the page indicates something went extremely wrong in the +// conversation. * In a webhook response when you determine that the +// customer issue can only be handled by a human. +type GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff struct { + // Metadata: Custom metadata for your handoff procedure. Dialogflow + // doesn't impose any structure on this. + Metadata googleapi.RawMessage `json:"metadata,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Metadata") 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. "Metadata") 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 *GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3ResponseMessageMixedAudio: Represents an +// audio message that is composed of both segments synthesized from the +// Dialogflow agent prompts and ones hosted externally at the specified +// URIs. The external URIs are specified via play_audio. This message is +// generated by Dialogflow only and not supposed to be defined by the +// user. +type GoogleCloudDialogflowCxV3ResponseMessageMixedAudio struct { + // Segments: Segments this audio response is composed of. + Segments []*GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment `json:"segments,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Segments") 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. "Segments") 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 *GoogleCloudDialogflowCxV3ResponseMessageMixedAudio) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3ResponseMessageMixedAudio + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment: Represents +// one segment of audio. +type GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment struct { + // AllowPlaybackInterruption: Output only. Whether the playback of this + // segment can be interrupted by the end user's speech and the client + // should then start the next Dialogflow request. + AllowPlaybackInterruption bool `json:"allowPlaybackInterruption,omitempty"` + + // Audio: Raw audio synthesized from the Dialogflow agent's response + // using the output config specified in the request. + Audio string `json:"audio,omitempty"` + + // Uri: Client-specific URI that points to an audio clip accessible to + // the client. Dialogflow does not impose any validation on it. + Uri string `json:"uri,omitempty"` + + // ForceSendFields is a list of field names (e.g. + // "AllowPlaybackInterruption") 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. + // "AllowPlaybackInterruption") 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 *GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText: A text or +// ssml response that is preferentially used for TTS output audio +// synthesis, as described in the comment on the ResponseMessage +// message. +type GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText struct { + // AllowPlaybackInterruption: Output only. Whether the playback of this + // message can be interrupted by the end user's speech and the client + // can then starts the next Dialogflow request. + AllowPlaybackInterruption bool `json:"allowPlaybackInterruption,omitempty"` + + // Ssml: The SSML text to be synthesized. For more information, see + // [SSML](/speech/text-to-speech/docs/ssml). + Ssml string `json:"ssml,omitempty"` + + // Text: The raw text to be synthesized. + Text string `json:"text,omitempty"` + + // ForceSendFields is a list of field names (e.g. + // "AllowPlaybackInterruption") 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. + // "AllowPlaybackInterruption") 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 *GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3ResponseMessagePlayAudio: Specifies an audio +// clip to be played by the client as part of the response. +type GoogleCloudDialogflowCxV3ResponseMessagePlayAudio struct { + // AllowPlaybackInterruption: Output only. Whether the playback of this + // message can be interrupted by the end user's speech and the client + // can then starts the next Dialogflow request. + AllowPlaybackInterruption bool `json:"allowPlaybackInterruption,omitempty"` + + // AudioUri: Required. URI of the audio clip. Dialogflow does not impose + // any validation on this value. It is specific to the client that reads + // it. + AudioUri string `json:"audioUri,omitempty"` + + // ForceSendFields is a list of field names (e.g. + // "AllowPlaybackInterruption") 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. + // "AllowPlaybackInterruption") 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 *GoogleCloudDialogflowCxV3ResponseMessagePlayAudio) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3ResponseMessagePlayAudio + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3ResponseMessageText: The text response +// message. +type GoogleCloudDialogflowCxV3ResponseMessageText struct { + // AllowPlaybackInterruption: Output only. Whether the playback of this + // message can be interrupted by the end user's speech and the client + // can then starts the next Dialogflow request. + AllowPlaybackInterruption bool `json:"allowPlaybackInterruption,omitempty"` + + // Text: Required. A collection of text responses. + Text []string `json:"text,omitempty"` + + // ForceSendFields is a list of field names (e.g. + // "AllowPlaybackInterruption") 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. + // "AllowPlaybackInterruption") 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 *GoogleCloudDialogflowCxV3ResponseMessageText) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3ResponseMessageText + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3RunTestCaseMetadata: Metadata returned for +// the TestCases.RunTestCase long running operation. +type GoogleCloudDialogflowCxV3RunTestCaseMetadata struct { +} + +// GoogleCloudDialogflowCxV3RunTestCaseResponse: The response message +// for TestCases.RunTestCase. +type GoogleCloudDialogflowCxV3RunTestCaseResponse struct { + // Result: The result. + Result *GoogleCloudDialogflowCxV3TestCaseResult `json:"result,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Result") 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. "Result") 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 *GoogleCloudDialogflowCxV3RunTestCaseResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3RunTestCaseResponse + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3SessionInfo: Represents session information +// communicated to and from the webhook. +type GoogleCloudDialogflowCxV3SessionInfo struct { + // Parameters: Optional for WebhookRequest. Optional for + // WebhookResponse. All parameters collected from forms and intents + // during the session. Parameters can be created, updated, or removed by + // the webhook. To remove a parameter from the session, the webhook + // should explicitly set the parameter value to null in WebhookResponse. + // The map is keyed by parameters' display names. + Parameters googleapi.RawMessage `json:"parameters,omitempty"` + + // Session: Always present for WebhookRequest. Ignored for + // WebhookResponse. The unique identifier of the session. This field can + // be used by the webhook to identify a user. Format: + // `projects//locations//agents//sessions/`. + Session string `json:"session,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Parameters") 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. "Parameters") 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 *GoogleCloudDialogflowCxV3SessionInfo) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3SessionInfo + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3TestCase: Represents a test case. +type GoogleCloudDialogflowCxV3TestCase struct { + // CreationTime: Output only. When the test was created. + CreationTime string `json:"creationTime,omitempty"` + + // DisplayName: Required. The human-readable name of the test case, + // unique within the agent. Limit of 200 characters. + DisplayName string `json:"displayName,omitempty"` + + // LastTestResult: The latest test result. + LastTestResult *GoogleCloudDialogflowCxV3TestCaseResult `json:"lastTestResult,omitempty"` + + // Name: The unique identifier of the test case. + // TestCases.CreateTestCase will populate the name automatically. + // Otherwise use format: `projects//locations//agents/ /testCases/`. + Name string `json:"name,omitempty"` + + // Notes: Additional freeform notes about the test case. Limit of 400 + // characters. + Notes string `json:"notes,omitempty"` + + // Tags: Tags are short descriptions that users may apply to test cases + // for organizational and filtering purposes. Each tag should start with + // "#" and has a limit of 30 characters. + Tags []string `json:"tags,omitempty"` + + // TestCaseConversationTurns: The conversation turns uttered when the + // test case was created, in chronological order. These include the + // canonical set of agent utterances that should occur when the agent is + // working properly. + TestCaseConversationTurns []*GoogleCloudDialogflowCxV3ConversationTurn `json:"testCaseConversationTurns,omitempty"` + + // TestConfig: Config for the test case. + TestConfig *GoogleCloudDialogflowCxV3TestConfig `json:"testConfig,omitempty"` + + // ForceSendFields is a list of field names (e.g. "CreationTime") 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. "CreationTime") 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 *GoogleCloudDialogflowCxV3TestCase) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3TestCase + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3TestCaseError: Error info for importing a +// test. +type GoogleCloudDialogflowCxV3TestCaseError struct { + // Status: The status associated with the test case. + Status *GoogleRpcStatus `json:"status,omitempty"` + + // TestCase: The test case. + TestCase *GoogleCloudDialogflowCxV3TestCase `json:"testCase,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Status") 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. "Status") 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 *GoogleCloudDialogflowCxV3TestCaseError) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3TestCaseError + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3TestCaseResult: Represents a result from +// running a test case in an agent environment. +type GoogleCloudDialogflowCxV3TestCaseResult struct { + // ConversationTurns: The conversation turns uttered during the test + // case replay in chronological order. + ConversationTurns []*GoogleCloudDialogflowCxV3ConversationTurn `json:"conversationTurns,omitempty"` + + // Environment: Optional. Environment where the test was run. If not + // set, it indicates the draft environment. + Environment string `json:"environment,omitempty"` + + // Name: The resource name for the test case result. Format: + // `projects//locations//agents//testCases/ /results/`. + Name string `json:"name,omitempty"` + + // TestResult: Whether the test case passed in the agent environment. + // + // Possible values: + // "TEST_RESULT_UNSPECIFIED" - Not specified. Should never be used. + // "PASSED" - The test passed. + // "FAILED" - The test did not pass. + TestResult string `json:"testResult,omitempty"` + + // TestTime: The time that the test was run. + TestTime string `json:"testTime,omitempty"` + + // ForceSendFields is a list of field names (e.g. "ConversationTurns") + // 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. "ConversationTurns") 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 *GoogleCloudDialogflowCxV3TestCaseResult) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3TestCaseResult + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3TestConfig: Represents configurations for a +// test case. +type GoogleCloudDialogflowCxV3TestConfig struct { + // Flow: Flow name. If not set, default start flow is assumed. Format: + // `projects//locations//agents//flows/`. + Flow string `json:"flow,omitempty"` + + // TrackingParameters: Session parameters to be compared when + // calculating differences. + TrackingParameters []string `json:"trackingParameters,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Flow") 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. "Flow") 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 *GoogleCloudDialogflowCxV3TestConfig) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3TestConfig + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3TestError: Error info for running a test. +type GoogleCloudDialogflowCxV3TestError struct { + // Status: The status associated with the test. + Status *GoogleRpcStatus `json:"status,omitempty"` + + // TestCase: The test case resource name. + TestCase string `json:"testCase,omitempty"` + + // TestTime: The timestamp when the test was completed. + TestTime string `json:"testTime,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Status") 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. "Status") 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 *GoogleCloudDialogflowCxV3TestError) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3TestError + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3TestRunDifference: The description of +// differences between original and replayed agent output. +type GoogleCloudDialogflowCxV3TestRunDifference struct { + // Description: A description of the diff, showing the actual output vs + // expected output. + Description string `json:"description,omitempty"` + + // Type: The type of diff. + // + // Possible values: + // "DIFF_TYPE_UNSPECIFIED" - Should never be used. + // "INTENT" - The intent. + // "PAGE" - The page. + // "PARAMETERS" - The parameters. + // "UTTERANCE" - The message utterance. + Type string `json:"type,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 *GoogleCloudDialogflowCxV3TestRunDifference) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3TestRunDifference + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3TextInput: Represents the natural language +// text to be processed. +type GoogleCloudDialogflowCxV3TextInput struct { + // Text: Required. The UTF-8 encoded natural language text to be + // processed. Text length must not exceed 256 characters. + Text string `json:"text,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Text") 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. "Text") 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 *GoogleCloudDialogflowCxV3TextInput) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3TextInput + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3TransitionRoute: A transition route +// specifies a intent that can be matched and/or a data condition that +// can be evaluated during a session. When a specified transition is +// matched, the following actions are taken in order: * If there is a +// `trigger_fulfillment` associated with the transition, it will be +// called. * If there is a `target_page` associated with the transition, +// the session will transition into the specified page. * If there is a +// `target_flow` associated with the transition, the session will +// transition into the specified flow. +type GoogleCloudDialogflowCxV3TransitionRoute struct { + // Condition: The condition to evaluate against form parameters or + // session parameters. See the [conditions + // reference](https://cloud.google.com/dialogflow/cx/docs/reference/condi + // tion). At least one of `intent` or `condition` must be specified. + // When both `intent` and `condition` are specified, the transition can + // only happen when both are fulfilled. + Condition string `json:"condition,omitempty"` + + // Intent: The unique identifier of an Intent. Format: + // `projects//locations//agents//intents/`. Indicates that the + // transition can only happen when the given intent is matched. At least + // one of `intent` or `condition` must be specified. When both `intent` + // and `condition` are specified, the transition can only happen when + // both are fulfilled. + Intent string `json:"intent,omitempty"` + + // Name: Output only. The unique identifier of this transition route. + Name string `json:"name,omitempty"` + + // TargetFlow: The target flow to transition to. Format: + // `projects//locations//agents//flows/`. + TargetFlow string `json:"targetFlow,omitempty"` + + // TargetPage: The target page to transition to. Format: + // `projects//locations//agents//flows//pages/`. + TargetPage string `json:"targetPage,omitempty"` + + // TriggerFulfillment: The fulfillment to call when the condition is + // satisfied. At least one of `trigger_fulfillment` and `target` must be + // specified. When both are defined, `trigger_fulfillment` is executed + // first. + TriggerFulfillment *GoogleCloudDialogflowCxV3Fulfillment `json:"triggerFulfillment,omitempty"` + + // 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 + // 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. "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 + // 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 *GoogleCloudDialogflowCxV3TransitionRoute) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3TransitionRoute + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3UpdateDocumentOperationMetadata: Metadata +// for UpdateDocument operation. +type GoogleCloudDialogflowCxV3UpdateDocumentOperationMetadata struct { + // GenericMetadata: The generic information of the operation. + GenericMetadata *GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata `json:"genericMetadata,omitempty"` + + // ForceSendFields is a list of field names (e.g. "GenericMetadata") 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. "GenericMetadata") 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 *GoogleCloudDialogflowCxV3UpdateDocumentOperationMetadata) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3UpdateDocumentOperationMetadata + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3WebhookRequest: The request message for a +// webhook call. +type GoogleCloudDialogflowCxV3WebhookRequest struct { + // DetectIntentResponseId: Always present. The unique identifier of the + // DetectIntentResponse that will be returned to the API caller. + DetectIntentResponseId string `json:"detectIntentResponseId,omitempty"` + + // FulfillmentInfo: Always present. Information about the fulfillment + // that triggered this webhook call. + FulfillmentInfo *GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo `json:"fulfillmentInfo,omitempty"` + + // IntentInfo: Information about the last matched intent. + IntentInfo *GoogleCloudDialogflowCxV3WebhookRequestIntentInfo `json:"intentInfo,omitempty"` + + // Messages: The list of rich message responses to present to the user. + // Webhook can choose to append or replace this list in + // WebhookResponse.fulfillment_response; + Messages []*GoogleCloudDialogflowCxV3ResponseMessage `json:"messages,omitempty"` + + // PageInfo: Information about page status. + PageInfo *GoogleCloudDialogflowCxV3PageInfo `json:"pageInfo,omitempty"` + + // Payload: Custom data set in QueryParameters.payload. + Payload googleapi.RawMessage `json:"payload,omitempty"` + + // SessionInfo: Information about session status. + SessionInfo *GoogleCloudDialogflowCxV3SessionInfo `json:"sessionInfo,omitempty"` + + // ForceSendFields is a list of field names (e.g. + // "DetectIntentResponseId") 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. "DetectIntentResponseId") + // 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 *GoogleCloudDialogflowCxV3WebhookRequest) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3WebhookRequest + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo: Represents +// fulfillment information communicated to the webhook. +type GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo struct { + // Tag: Always present. The tag used to identify which fulfillment is + // being called. + Tag string `json:"tag,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Tag") 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. "Tag") 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 *GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3WebhookRequestIntentInfo: Represents intent +// information communicated to the webhook. +type GoogleCloudDialogflowCxV3WebhookRequestIntentInfo struct { + // LastMatchedIntent: Always present. The unique identifier of the last + // matched intent. Format: `projects//locations//agents//intents/`. + LastMatchedIntent string `json:"lastMatchedIntent,omitempty"` + + // Parameters: Parameters identified as a result of intent matching. + // This is a map of the name of the identified parameter to the value of + // the parameter identified from the user's utterance. All parameters + // defined in the matched intent that are identified will be surfaced + // here. + Parameters map[string]GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue `json:"parameters,omitempty"` + + // ForceSendFields is a list of field names (e.g. "LastMatchedIntent") + // 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. "LastMatchedIntent") 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 *GoogleCloudDialogflowCxV3WebhookRequestIntentInfo) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3WebhookRequestIntentInfo + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue: +// Represents a value for an intent parameter. +type GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue struct { + // OriginalValue: Always present. Original text value extracted from + // user utterance. + OriginalValue string `json:"originalValue,omitempty"` + + // ResolvedValue: Always present. Structured value for the parameter + // extracted from user utterance. + ResolvedValue interface{} `json:"resolvedValue,omitempty"` + + // ForceSendFields is a list of field names (e.g. "OriginalValue") 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. "OriginalValue") 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 *GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3WebhookResponse: The response message for a +// webhook call. +type GoogleCloudDialogflowCxV3WebhookResponse struct { + // FulfillmentResponse: The fulfillment response to send to the user. + // This field can be omitted by the webhook if it does not intend to + // send any response to the user. + FulfillmentResponse *GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse `json:"fulfillmentResponse,omitempty"` + + // PageInfo: Information about page status. This field can be omitted by + // the webhook if it does not intend to modify page status. + PageInfo *GoogleCloudDialogflowCxV3PageInfo `json:"pageInfo,omitempty"` + + // Payload: Value to append directly to QueryResult.webhook_payloads. + Payload googleapi.RawMessage `json:"payload,omitempty"` + + // SessionInfo: Information about session status. This field can be + // omitted by the webhook if it does not intend to modify session + // status. + SessionInfo *GoogleCloudDialogflowCxV3SessionInfo `json:"sessionInfo,omitempty"` + + // TargetFlow: The target flow to transition to. Format: + // `projects//locations//agents//flows/`. + TargetFlow string `json:"targetFlow,omitempty"` + + // TargetPage: The target page to transition to. Format: + // `projects//locations//agents//flows//pages/`. + TargetPage string `json:"targetPage,omitempty"` + + // ForceSendFields is a list of field names (e.g. "FulfillmentResponse") + // 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. "FulfillmentResponse") 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 *GoogleCloudDialogflowCxV3WebhookResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3WebhookResponse + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse: +// Represents a fulfillment response to the user. +type GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse struct { + // MergeBehavior: Merge behavior for `messages`. + // + // Possible values: + // "MERGE_BEHAVIOR_UNSPECIFIED" - Not specified. `APPEND` will be + // used. + // "APPEND" - `messages` will be appended to the list of messages + // waiting to be sent to the user. + // "REPLACE" - `messages` will replace the list of messages waiting to + // be sent to the user. + MergeBehavior string `json:"mergeBehavior,omitempty"` + + // Messages: The list of rich message responses to present to the user. + Messages []*GoogleCloudDialogflowCxV3ResponseMessage `json:"messages,omitempty"` + + // ForceSendFields is a list of field names (e.g. "MergeBehavior") 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. "MergeBehavior") 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 *GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3beta1AudioInput: Represents the natural +// speech audio to be processed. +type GoogleCloudDialogflowCxV3beta1AudioInput struct { + // Audio: The natural language speech audio to be processed. A single + // request can contain up to 1 minute of speech audio data. The + // transcribed text cannot contain more than 256 bytes. For + // non-streaming audio detect intent, both `config` and `audio` must be + // provided. For streaming audio detect intent, `config` must be + // provided in the first request and `audio` must be provided in all + // following requests. + Audio string `json:"audio,omitempty"` + + // Config: Required. Instructs the speech recognizer how to process the + // speech audio. + Config *GoogleCloudDialogflowCxV3beta1InputAudioConfig `json:"config,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Audio") 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. "Audio") 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 *GoogleCloudDialogflowCxV3beta1AudioInput) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1AudioInput + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3beta1BatchRunTestCasesMetadata: Metadata +// returned for the TestCases.BatchRunTestCases long running operation. +type GoogleCloudDialogflowCxV3beta1BatchRunTestCasesMetadata struct { + // Errors: The test errors. + Errors []*GoogleCloudDialogflowCxV3beta1TestError `json:"errors,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Errors") 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. "Errors") 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 *GoogleCloudDialogflowCxV3beta1BatchRunTestCasesMetadata) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1BatchRunTestCasesMetadata + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3beta1BatchRunTestCasesResponse: The response +// message for TestCases.BatchRunTestCases. +type GoogleCloudDialogflowCxV3beta1BatchRunTestCasesResponse struct { + // Results: The test case results. The detailed conversation turns are + // empty in this response. + Results []*GoogleCloudDialogflowCxV3beta1TestCaseResult `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 *GoogleCloudDialogflowCxV3beta1BatchRunTestCasesResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1BatchRunTestCasesResponse + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3beta1ConversationTurn: One interaction +// between a human and virtual agent. The human provides some input and +// the virtual agent provides a response. +type GoogleCloudDialogflowCxV3beta1ConversationTurn struct { + // UserInput: The user input. + UserInput *GoogleCloudDialogflowCxV3beta1ConversationTurnUserInput `json:"userInput,omitempty"` + + // VirtualAgentOutput: The virtual agent output. + VirtualAgentOutput *GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput `json:"virtualAgentOutput,omitempty"` + + // ForceSendFields is a list of field names (e.g. "UserInput") 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. "UserInput") 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 *GoogleCloudDialogflowCxV3beta1ConversationTurn) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1ConversationTurn + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3beta1ConversationTurnUserInput: The input +// from the human user. +type GoogleCloudDialogflowCxV3beta1ConversationTurnUserInput struct { + // InjectedParameters: Parameters that need to be injected into the + // conversation during intent detection. + InjectedParameters googleapi.RawMessage `json:"injectedParameters,omitempty"` + + // Input: Supports text input, event input, dtmf input in the test case. + Input *GoogleCloudDialogflowCxV3beta1QueryInput `json:"input,omitempty"` + + // IsWebhookEnabled: If webhooks should be allowed to trigger in + // response to the user utterance. Often if parameters are injected, + // webhooks should not be enabled. + IsWebhookEnabled bool `json:"isWebhookEnabled,omitempty"` + + // ForceSendFields is a list of field names (e.g. "InjectedParameters") + // 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. "InjectedParameters") 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 *GoogleCloudDialogflowCxV3beta1ConversationTurnUserInput) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1ConversationTurnUserInput + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput: The +// output from the virtual agent. +type GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput struct { + // CurrentPage: The Page on which the utterance was spoken. Only some + // fields such as name and displayname will be set. + CurrentPage *GoogleCloudDialogflowCxV3beta1Page `json:"currentPage,omitempty"` + + // DiagnosticInfo: Required. Input only. The diagnostic info output for + // the turn. + DiagnosticInfo googleapi.RawMessage `json:"diagnosticInfo,omitempty"` + + // Differences: Output only. If this is part of a result conversation + // turn, the list of differences between the original run and the replay + // for this output, if any. + Differences []*GoogleCloudDialogflowCxV3beta1TestRunDifference `json:"differences,omitempty"` + + // SessionParameters: The session parameters available to the bot at + // this point. + SessionParameters googleapi.RawMessage `json:"sessionParameters,omitempty"` + + // Status: Response error from the agent in the test result. If set, + // other output is empty. + Status *GoogleRpcStatus `json:"status,omitempty"` + + // TextResponses: The text responses from the agent for the turn. + TextResponses []*GoogleCloudDialogflowCxV3beta1ResponseMessageText `json:"textResponses,omitempty"` + + // TriggeredIntent: The Intent that triggered the response. Only some + // fields such as name and displayname will be set. + TriggeredIntent *GoogleCloudDialogflowCxV3beta1Intent `json:"triggeredIntent,omitempty"` + + // ForceSendFields is a list of field names (e.g. "CurrentPage") 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. "CurrentPage") 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 *GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3beta1CreateDocumentOperationMetadata: +// Metadata for CreateDocument operation. +type GoogleCloudDialogflowCxV3beta1CreateDocumentOperationMetadata struct { + // GenericMetadata: The generic information of the operation. + GenericMetadata *GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata `json:"genericMetadata,omitempty"` + + // ForceSendFields is a list of field names (e.g. "GenericMetadata") 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. "GenericMetadata") 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 *GoogleCloudDialogflowCxV3beta1CreateDocumentOperationMetadata) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1CreateDocumentOperationMetadata + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata: +// Metadata associated with the long running operation for +// Versions.CreateVersion. +type GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata struct { + // Version: Name of the created version. Format: + // `projects//locations//agents//flows//versions/`. + Version string `json:"version,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Version") 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. "Version") 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 *GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3beta1DeleteDocumentOperationMetadata: +// Metadata for DeleteDocument operation. +type GoogleCloudDialogflowCxV3beta1DeleteDocumentOperationMetadata struct { + // GenericMetadata: The generic information of the operation. + GenericMetadata *GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata `json:"genericMetadata,omitempty"` + + // ForceSendFields is a list of field names (e.g. "GenericMetadata") 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. "GenericMetadata") 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 *GoogleCloudDialogflowCxV3beta1DeleteDocumentOperationMetadata) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1DeleteDocumentOperationMetadata + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3beta1DtmfInput: Represents the input for +// dtmf event. +type GoogleCloudDialogflowCxV3beta1DtmfInput struct { + // Digits: The dtmf digits. + Digits string `json:"digits,omitempty"` + + // FinishDigit: The finish digit (if any). + FinishDigit string `json:"finishDigit,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Digits") 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. "Digits") 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 *GoogleCloudDialogflowCxV3beta1DtmfInput) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1DtmfInput + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3beta1EventHandler: An event handler +// specifies an event that can be handled during a session. When the +// specified event happens, the following actions are taken in order: * +// If there is a `trigger_fulfillment` associated with the event, it +// will be called. * If there is a `target_page` associated with the +// event, the session will transition into the specified page. * If +// there is a `target_flow` associated with the event, the session will +// transition into the specified flow. +type GoogleCloudDialogflowCxV3beta1EventHandler struct { + // Event: Required. The name of the event to handle. + Event string `json:"event,omitempty"` + + // Name: Output only. The unique identifier of this event handler. + Name string `json:"name,omitempty"` + + // TargetFlow: The target flow to transition to. Format: + // `projects//locations//agents//flows/`. + TargetFlow string `json:"targetFlow,omitempty"` + + // TargetPage: The target page to transition to. Format: + // `projects//locations//agents//flows//pages/`. + TargetPage string `json:"targetPage,omitempty"` + + // TriggerFulfillment: The fulfillment to call when the event occurs. + // Handling webhook errors with a fulfillment enabled with webhook could + // cause infinite loop. It is invalid to specify such fulfillment for a + // handler handling webhooks. + TriggerFulfillment *GoogleCloudDialogflowCxV3beta1Fulfillment `json:"triggerFulfillment,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Event") 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. "Event") 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 *GoogleCloudDialogflowCxV3beta1EventHandler) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1EventHandler + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3beta1EventInput: Represents the event to +// trigger. +type GoogleCloudDialogflowCxV3beta1EventInput struct { + // Event: Name of the event. + Event string `json:"event,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Event") 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. "Event") 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 *GoogleCloudDialogflowCxV3beta1EventInput) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1EventInput + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3beta1ExportAgentResponse: The response +// message for Agents.ExportAgent. +type GoogleCloudDialogflowCxV3beta1ExportAgentResponse struct { + // AgentContent: Uncompressed raw byte content for agent. + AgentContent string `json:"agentContent,omitempty"` + + // AgentUri: The URI to a file containing the exported agent. This field + // is populated only if `agent_uri` is specified in ExportAgentRequest. + AgentUri string `json:"agentUri,omitempty"` + + // ForceSendFields is a list of field names (e.g. "AgentContent") 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. "AgentContent") 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 *GoogleCloudDialogflowCxV3beta1ExportAgentResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1ExportAgentResponse + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3beta1ExportTestCasesMetadata: Metadata +// returned for the TestCases.ExportTestCases long running operation. +type GoogleCloudDialogflowCxV3beta1ExportTestCasesMetadata struct { +} + +// GoogleCloudDialogflowCxV3beta1ExportTestCasesResponse: The response +// message for TestCases.ExportTestCases. +type GoogleCloudDialogflowCxV3beta1ExportTestCasesResponse struct { + // Content: Uncompressed raw byte content for test cases. + Content string `json:"content,omitempty"` + + // GcsUri: The URI to a file containing the exported test cases. This + // field is populated only if `gcs_uri` is specified in + // ExportTestCasesRequest. + GcsUri string `json:"gcsUri,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Content") 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. "Content") 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 *GoogleCloudDialogflowCxV3beta1ExportTestCasesResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1ExportTestCasesResponse + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3beta1Form: A form is a data model that +// groups related parameters that can be collected from the user. The +// process in which the agent prompts the user and collects parameter +// values from the user is called form filling. A form can be added to a +// page. When form filling is done, the filled parameters will be +// written to the session. +type GoogleCloudDialogflowCxV3beta1Form struct { + // Parameters: Parameters to collect from the user. + Parameters []*GoogleCloudDialogflowCxV3beta1FormParameter `json:"parameters,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Parameters") 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. "Parameters") 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 *GoogleCloudDialogflowCxV3beta1Form) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1Form + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3beta1FormParameter: Represents a form +// parameter. +type GoogleCloudDialogflowCxV3beta1FormParameter struct { + // DefaultValue: The default value of an optional parameter. If the + // parameter is required, the default value will be ignored. + DefaultValue interface{} `json:"defaultValue,omitempty"` + + // DisplayName: Required. The human-readable name of the parameter, + // unique within the form. + DisplayName string `json:"displayName,omitempty"` + + // EntityType: Required. The entity type of the parameter. Format: + // `projects/-/locations/-/agents/-/entityTypes/` for system entity + // types (for example, + // `projects/-/locations/-/agents/-/entityTypes/sys.date`), or + // `projects//locations//agents//entityTypes/` for developer entity + // types. + EntityType string `json:"entityType,omitempty"` + + // FillBehavior: Required. Defines fill behavior for the parameter. + FillBehavior *GoogleCloudDialogflowCxV3beta1FormParameterFillBehavior `json:"fillBehavior,omitempty"` + + // IsList: Indicates whether the parameter represents a list of values. + IsList bool `json:"isList,omitempty"` + + // Redact: Indicates whether the parameter content is logged in text and + // audio. If it is set to true, the parameter content will be replaced + // to parameter name in both request and response. The default value is + // false. + Redact bool `json:"redact,omitempty"` + + // Required: Indicates whether the parameter is required. Optional + // parameters will not trigger prompts; however, they are filled if the + // user specifies them. Required parameters must be filled before form + // filling concludes. + Required bool `json:"required,omitempty"` + + // ForceSendFields is a list of field names (e.g. "DefaultValue") 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. "DefaultValue") 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 *GoogleCloudDialogflowCxV3beta1FormParameter) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1FormParameter + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3beta1FormParameterFillBehavior: +// Configuration for how the filling of a parameter should be handled. +type GoogleCloudDialogflowCxV3beta1FormParameterFillBehavior struct { + // InitialPromptFulfillment: Required. The fulfillment to provide the + // initial prompt that the agent can present to the user in order to + // fill the parameter. + InitialPromptFulfillment *GoogleCloudDialogflowCxV3beta1Fulfillment `json:"initialPromptFulfillment,omitempty"` + + // RepromptEventHandlers: The handlers for parameter-level events, used + // to provide reprompt for the parameter or transition to a different + // page/flow. The supported events are: * `sys.no-match-`, where N can + // be from 1 to 6 * `sys.no-match-default` * `sys.no-input-`, where N + // can be from 1 to 6 * `sys.no-input-default` * `sys.invalid-parameter` + // `initial_prompt_fulfillment` provides the first prompt for the + // parameter. If the user's response does not fill the parameter, a + // no-match/no-input event will be triggered, and the fulfillment + // associated with the `sys.no-match-1`/`sys.no-input-1` handler (if + // defined) will be called to provide a prompt. The + // `sys.no-match-2`/`sys.no-input-2` handler (if defined) will respond + // to the next no-match/no-input event, and so on. A + // `sys.no-match-default` or `sys.no-input-default` handler will be used + // to handle all following no-match/no-input events after all numbered + // no-match/no-input handlers for the parameter are consumed. A + // `sys.invalid-parameter` handler can be defined to handle the case + // where the parameter values have been `invalidated` by webhook. For + // example, if the user's response fill the parameter, however the + // parameter was invalidated by webhook, the fulfillment associated with + // the `sys.invalid-parameter` handler (if defined) will be called to + // provide a prompt. If the event handler for the corresponding event + // can't be found on the parameter, `initial_prompt_fulfillment` will be + // re-prompted. + RepromptEventHandlers []*GoogleCloudDialogflowCxV3beta1EventHandler `json:"repromptEventHandlers,omitempty"` + + // ForceSendFields is a list of field names (e.g. + // "InitialPromptFulfillment") 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. "InitialPromptFulfillment") + // 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 *GoogleCloudDialogflowCxV3beta1FormParameterFillBehavior) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1FormParameterFillBehavior + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3beta1Fulfillment: A fulfillment can do one +// or more of the following actions at the same time: * Generate rich +// message responses. * Set parameter values. * Call the webhook. +// Fulfillments can be called at various stages in the Page or Form +// lifecycle. For example, when a DetectIntentRequest drives a session +// to enter a new page, the page's entry fulfillment can add a static +// response to the QueryResult in the returning DetectIntentResponse, +// call the webhook (for example, to load user data from a database), or +// both. +type GoogleCloudDialogflowCxV3beta1Fulfillment struct { + // ConditionalCases: Conditional cases for this fulfillment. + ConditionalCases []*GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases `json:"conditionalCases,omitempty"` + + // Messages: The list of rich message responses to present to the user. + Messages []*GoogleCloudDialogflowCxV3beta1ResponseMessage `json:"messages,omitempty"` + + // SetParameterActions: Set parameter values before executing the + // webhook. + SetParameterActions []*GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction `json:"setParameterActions,omitempty"` + + // Tag: The tag used by the webhook to identify which fulfillment is + // being called. This field is required if `webhook` is specified. + Tag string `json:"tag,omitempty"` + + // Webhook: The webhook to call. Format: + // `projects//locations//agents//webhooks/`. + Webhook string `json:"webhook,omitempty"` + + // ForceSendFields is a list of field names (e.g. "ConditionalCases") 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. "ConditionalCases") 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 *GoogleCloudDialogflowCxV3beta1Fulfillment) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1Fulfillment + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases: A list of +// cascading if-else conditions. Cases are mutually exclusive. The first +// one with a matching condition is selected, all the rest ignored. +type GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases struct { + // Cases: A list of cascading if-else conditions. + Cases []*GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase `json:"cases,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Cases") 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. "Cases") 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 *GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase: Each +// case has a Boolean condition. When it is evaluated to be True, the +// corresponding messages will be selected and evaluated recursively. +type GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase struct { + // CaseContent: A list of case content. + CaseContent []*GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContent `json:"caseContent,omitempty"` + + // Condition: The condition to activate and select this case. Empty + // means the condition is always true. The condition is evaluated + // against form parameters or session parameters. See the [conditions + // reference](https://cloud.google.com/dialogflow/cx/docs/reference/condi + // tion). + Condition string `json:"condition,omitempty"` + + // ForceSendFields is a list of field names (e.g. "CaseContent") 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. "CaseContent") 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 *GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseConte +// nt: The list of messages or conditional cases to activate for this +// case. +type GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContent struct { + // AdditionalCases: Additional cases to be evaluated. + AdditionalCases *GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases `json:"additionalCases,omitempty"` + + // Message: Returned message. + Message *GoogleCloudDialogflowCxV3beta1ResponseMessage `json:"message,omitempty"` + + // ForceSendFields is a list of field names (e.g. "AdditionalCases") 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. "AdditionalCases") 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 *GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContent) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContent + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction: Setting +// a parameter value. +type GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction struct { + // Parameter: Display name of the parameter. + Parameter string `json:"parameter,omitempty"` + + // Value: The new value of the parameter. A null value clears the + // parameter. + Value interface{} `json:"value,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Parameter") 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. "Parameter") 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 *GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata: +// Metadata in google::longrunning::Operation for Knowledge operations. +type GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata struct { + // State: Required. Output only. The current state of this operation. + // + // Possible values: + // "STATE_UNSPECIFIED" - State unspecified. + // "PENDING" - The operation has been created. + // "RUNNING" - The operation is currently running. + // "DONE" - The operation is done, either cancelled or completed. + State string `json:"state,omitempty"` + + // ForceSendFields is a list of field names (e.g. "State") 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. "State") 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 *GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3beta1ImportDocumentsOperationMetadata: +// Metadata for ImportDocuments operation. +type GoogleCloudDialogflowCxV3beta1ImportDocumentsOperationMetadata struct { + // GenericMetadata: The generic information of the operation. + GenericMetadata *GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata `json:"genericMetadata,omitempty"` + + // ForceSendFields is a list of field names (e.g. "GenericMetadata") 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. "GenericMetadata") 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 *GoogleCloudDialogflowCxV3beta1ImportDocumentsOperationMetadata) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1ImportDocumentsOperationMetadata + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3beta1ImportDocumentsResponse: Response +// message for Documents.ImportDocuments. +type GoogleCloudDialogflowCxV3beta1ImportDocumentsResponse struct { + // Warnings: Includes details about skipped documents or any other + // warnings. + Warnings []*GoogleRpcStatus `json:"warnings,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Warnings") 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. "Warnings") 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 *GoogleCloudDialogflowCxV3beta1ImportDocumentsResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1ImportDocumentsResponse + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3beta1ImportTestCasesMetadata: Metadata +// returned for the TestCases.ImportTestCases long running operation. +type GoogleCloudDialogflowCxV3beta1ImportTestCasesMetadata struct { + // Errors: Errors for failed test cases. + Errors []*GoogleCloudDialogflowCxV3beta1TestCaseError `json:"errors,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Errors") 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. "Errors") 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 *GoogleCloudDialogflowCxV3beta1ImportTestCasesMetadata) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1ImportTestCasesMetadata + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3beta1ImportTestCasesResponse: The response +// message for TestCases.ImportTestCases. +type GoogleCloudDialogflowCxV3beta1ImportTestCasesResponse struct { + // Names: The unique identifiers of the new test cases. Format: + // `projects//locations//agents//testCases/`. + Names []string `json:"names,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 *GoogleCloudDialogflowCxV3beta1ImportTestCasesResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1ImportTestCasesResponse + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3beta1InputAudioConfig: Instructs the speech +// recognizer on how to process the audio content. +type GoogleCloudDialogflowCxV3beta1InputAudioConfig struct { + // AudioEncoding: Required. Audio encoding of the audio content to + // process. + // + // Possible values: + // "AUDIO_ENCODING_UNSPECIFIED" - Not specified. + // "AUDIO_ENCODING_LINEAR_16" - Uncompressed 16-bit signed + // little-endian samples (Linear PCM). + // "AUDIO_ENCODING_FLAC" - + // [`FLAC`](https://xiph.org/flac/documentation.html) (Free Lossless + // Audio Codec) is the recommended encoding because it is lossless + // (therefore recognition is not compromised) and requires only about + // half the bandwidth of `LINEAR16`. `FLAC` stream encoding supports + // 16-bit and 24-bit samples, however, not all fields in `STREAMINFO` + // are supported. + // "AUDIO_ENCODING_MULAW" - 8-bit samples that compand 14-bit audio + // samples using G.711 PCMU/mu-law. + // "AUDIO_ENCODING_AMR" - Adaptive Multi-Rate Narrowband codec. + // `sample_rate_hertz` must be 8000. + // "AUDIO_ENCODING_AMR_WB" - Adaptive Multi-Rate Wideband codec. + // `sample_rate_hertz` must be 16000. + // "AUDIO_ENCODING_OGG_OPUS" - Opus encoded audio frames in Ogg + // container ([OggOpus](https://wiki.xiph.org/OggOpus)). + // `sample_rate_hertz` must be 16000. + // "AUDIO_ENCODING_SPEEX_WITH_HEADER_BYTE" - Although the use of lossy + // encodings is not recommended, if a very low bitrate encoding is + // required, `OGG_OPUS` is highly preferred over Speex encoding. The + // [Speex](https://speex.org/) encoding supported by Dialogflow API has + // a header byte in each block, as in MIME type + // `audio/x-speex-with-header-byte`. It is a variant of the RTP Speex + // encoding defined in [RFC 5574](https://tools.ietf.org/html/rfc5574). + // The stream is a sequence of blocks, one block per RTP packet. Each + // block starts with a byte containing the length of the block, in + // bytes, followed by one or more frames of Speex data, padded to an + // integral number of bytes (octets) as specified in RFC 5574. In other + // words, each RTP header is replaced with a single byte containing the + // block length. Only Speex wideband is supported. `sample_rate_hertz` + // must be 16000. + AudioEncoding string `json:"audioEncoding,omitempty"` + + // EnableWordInfo: Optional. If `true`, Dialogflow returns + // SpeechWordInfo in StreamingRecognitionResult with information about + // the recognized speech words, e.g. start and end time offsets. If + // false or unspecified, Speech doesn't return any word-level + // information. + EnableWordInfo bool `json:"enableWordInfo,omitempty"` + + // Model: Optional. Which Speech model to select for the given request. + // Select the model best suited to your domain to get best results. If a + // model is not explicitly specified, then we auto-select a model based + // on the parameters in the InputAudioConfig. If enhanced speech model + // is enabled for the agent and an enhanced version of the specified + // model for the language does not exist, then the speech is recognized + // using the standard version of the specified model. Refer to [Cloud + // Speech API + // documentation](https://cloud.google.com/speech-to-text/docs/basics#sel + // ect-model) for more details. + Model string `json:"model,omitempty"` + + // ModelVariant: Optional. Which variant of the Speech model to use. + // + // Possible values: + // "SPEECH_MODEL_VARIANT_UNSPECIFIED" - No model variant specified. In + // this case Dialogflow defaults to USE_BEST_AVAILABLE. + // "USE_BEST_AVAILABLE" - Use the best available variant of the Speech + // model that the caller is eligible for. Please see the [Dialogflow + // docs](https://cloud.google.com/dialogflow/docs/data-logging) for how + // to make your project eligible for enhanced models. + // "USE_STANDARD" - Use standard model variant even if an enhanced + // model is available. See the [Cloud Speech + // documentation](https://cloud.google.com/speech-to-text/docs/enhanced-m + // odels) for details about enhanced models. + // "USE_ENHANCED" - Use an enhanced model variant: * If an enhanced + // variant does not exist for the given model and request language, + // Dialogflow falls back to the standard variant. The [Cloud Speech + // documentation](https://cloud.google.com/speech-to-text/docs/enhanced-m + // odels) describes which models have enhanced variants. * If the API + // caller isn't eligible for enhanced models, Dialogflow returns an + // error. Please see the [Dialogflow + // docs](https://cloud.google.com/dialogflow/docs/data-logging) for how + // to make your project eligible. + ModelVariant string `json:"modelVariant,omitempty"` + + // PhraseHints: Optional. A list of strings containing words and phrases + // that the speech recognizer should recognize with higher likelihood. + // See [the Cloud Speech + // documentation](https://cloud.google.com/speech-to-text/docs/basics#phr + // ase-hints) for more details. + PhraseHints []string `json:"phraseHints,omitempty"` + + // SampleRateHertz: Sample rate (in Hertz) of the audio content sent in + // the query. Refer to [Cloud Speech API + // documentation](https://cloud.google.com/speech-to-text/docs/basics) + // for more details. + SampleRateHertz int64 `json:"sampleRateHertz,omitempty"` + + // SingleUtterance: Optional. If `false` (default), recognition does not + // cease until the client closes the stream. If `true`, the recognizer + // will detect a single spoken utterance in input audio. Recognition + // ceases when it detects the audio's voice has stopped or paused. In + // this case, once a detected intent is received, the client should + // close the stream and start a new request with a new stream as needed. + // Note: This setting is relevant only for streaming methods. + SingleUtterance bool `json:"singleUtterance,omitempty"` + + // ForceSendFields is a list of field names (e.g. "AudioEncoding") 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 @@ -984,71 +4128,107 @@ type GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Tag") 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 + // NullFields is a list of field names (e.g. "AudioEncoding") 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 *GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo +func (s *GoogleCloudDialogflowCxV3beta1InputAudioConfig) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1InputAudioConfig raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3WebhookRequestIntentInfo: Represents intent -// information communicated to the webhook. -type GoogleCloudDialogflowCxV3WebhookRequestIntentInfo struct { - // LastMatchedIntent: Always present. The unique identifier of the last - // matched intent. Format: `projects//locations//agents//intents/`. - LastMatchedIntent string `json:"lastMatchedIntent,omitempty"` +// GoogleCloudDialogflowCxV3beta1Intent: An intent represents a user's +// intent to interact with a conversational agent. You can provide +// information for the Dialogflow API to use to match user input to an +// intent by adding training phrases (i.e., examples of user input) to +// your intent. +type GoogleCloudDialogflowCxV3beta1Intent struct { + // Description: Optional. Human readable description for better + // understanding an intent like its scope, content, result etc. Maximum + // character limit: 140 characters. + Description string `json:"description,omitempty"` - // Parameters: Parameters identified as a result of intent matching. - // This is a map of the name of the identified parameter to the value of - // the parameter identified from the user's utterance. All parameters - // defined in the matched intent that are identified will be surfaced - // here. - Parameters map[string]GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue `json:"parameters,omitempty"` + // DisplayName: Required. The human-readable name of the intent, unique + // within the agent. + DisplayName string `json:"displayName,omitempty"` - // ForceSendFields is a list of field names (e.g. "LastMatchedIntent") - // to unconditionally include in API requests. By default, fields with + // IsFallback: Indicates whether this is a fallback intent. Currently + // only default fallback intent is allowed in the agent, which is added + // upon agent creation. Adding training phrases to fallback intent is + // useful in the case of requests that are mistakenly matched, since + // training phrases assigned to fallback intents act as negative + // examples that triggers no-match event. + IsFallback bool `json:"isFallback,omitempty"` + + // Labels: Optional. The key/value metadata to label an intent. Labels + // can contain lowercase letters, digits and the symbols '-' and '_'. + // International characters are allowed, including letters from unicase + // alphabets. Keys must start with a letter. Keys and values can be no + // longer than 63 characters and no more than 128 bytes. Prefix "sys-" + // is reserved for Dialogflow defined labels. Currently allowed + // Dialogflow defined labels include: * sys-head * sys-contextual The + // above labels do not require value. "sys-head" means the intent is a + // head intent. "sys-contextual" means the intent is a contextual + // intent. + Labels map[string]string `json:"labels,omitempty"` + + // Name: The unique identifier of the intent. Required for the + // Intents.UpdateIntent method. Intents.CreateIntent populates the name + // automatically. Format: `projects//locations//agents//intents/`. + Name string `json:"name,omitempty"` + + // Parameters: The collection of parameters associated with the intent. + Parameters []*GoogleCloudDialogflowCxV3beta1IntentParameter `json:"parameters,omitempty"` + + // Priority: The priority of this intent. Higher numbers represent + // higher priorities. - If the supplied value is unspecified or 0, the + // service translates the value to 500,000, which corresponds to the + // `Normal` priority in the console. - If the supplied value is + // negative, the intent is ignored in runtime detect intent requests. + Priority int64 `json:"priority,omitempty"` + + // TrainingPhrases: The collection of training phrases the agent is + // trained on to identify the intent. + TrainingPhrases []*GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase `json:"trainingPhrases,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. "LastMatchedIntent") 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. "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 *GoogleCloudDialogflowCxV3WebhookRequestIntentInfo) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3WebhookRequestIntentInfo +func (s *GoogleCloudDialogflowCxV3beta1Intent) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1Intent raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue: -// Represents a value for an intent parameter. -type GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue struct { - // OriginalValue: Always present. Original text value extracted from - // user utterance. - OriginalValue string `json:"originalValue,omitempty"` - - // ResolvedValue: Always present. Structured value for the parameter - // extracted from user utterance. - ResolvedValue interface{} `json:"resolvedValue,omitempty"` +// GoogleCloudDialogflowCxV3beta1IntentInput: Represents the intent to +// trigger programmatically rather than as a result of natural language +// processing. +type GoogleCloudDialogflowCxV3beta1IntentInput struct { + // Intent: Required. The unique identifier of the intent. Format: + // `projects//locations//agents//intents/`. + Intent string `json:"intent,omitempty"` - // ForceSendFields is a list of field names (e.g. "OriginalValue") to + // ForceSendFields is a list of field names (e.g. "Intent") 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 @@ -1056,91 +4236,94 @@ type GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue struc // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "OriginalValue") 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 + // NullFields is a list of field names (e.g. "Intent") 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 *GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue +func (s *GoogleCloudDialogflowCxV3beta1IntentInput) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1IntentInput raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3WebhookResponse: The response message for a -// webhook call. -type GoogleCloudDialogflowCxV3WebhookResponse struct { - // FulfillmentResponse: The fulfillment response to send to the user. - // This field can be omitted by the webhook if it does not intend to - // send any response to the user. - FulfillmentResponse *GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse `json:"fulfillmentResponse,omitempty"` - - // PageInfo: Information about page status. This field can be omitted by - // the webhook if it does not intend to modify page status. - PageInfo *GoogleCloudDialogflowCxV3PageInfo `json:"pageInfo,omitempty"` - - // Payload: Value to append directly to QueryResult.webhook_payloads. - Payload googleapi.RawMessage `json:"payload,omitempty"` +// GoogleCloudDialogflowCxV3beta1IntentParameter: Represents an intent +// parameter. +type GoogleCloudDialogflowCxV3beta1IntentParameter struct { + // EntityType: Required. The entity type of the parameter. Format: + // `projects/-/locations/-/agents/-/entityTypes/` for system entity + // types (for example, + // `projects/-/locations/-/agents/-/entityTypes/sys.date`), or + // `projects//locations//agents//entityTypes/` for developer entity + // types. + EntityType string `json:"entityType,omitempty"` - // SessionInfo: Information about session status. This field can be - // omitted by the webhook if it does not intend to modify session - // status. - SessionInfo *GoogleCloudDialogflowCxV3SessionInfo `json:"sessionInfo,omitempty"` + // Id: Required. The unique identifier of the parameter. This field is + // used by training phrases to annotate their parts. + Id string `json:"id,omitempty"` - // TargetFlow: The target flow to transition to. Format: - // `projects//locations//agents//flows/`. - TargetFlow string `json:"targetFlow,omitempty"` + // IsList: Indicates whether the parameter represents a list of values. + IsList bool `json:"isList,omitempty"` - // TargetPage: The target page to transition to. Format: - // `projects//locations//agents//flows//pages/`. - TargetPage string `json:"targetPage,omitempty"` + // Redact: Indicates whether the parameter content is logged in text and + // audio. If it is set to true, the parameter content will be replaced + // to parameter id in both request and response. The default value is + // false. + Redact bool `json:"redact,omitempty"` - // ForceSendFields is a list of field names (e.g. "FulfillmentResponse") - // to unconditionally include in API requests. By default, fields with + // ForceSendFields is a list of field names (e.g. "EntityType") 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. "FulfillmentResponse") 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. "EntityType") 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 *GoogleCloudDialogflowCxV3WebhookResponse) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3WebhookResponse +func (s *GoogleCloudDialogflowCxV3beta1IntentParameter) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1IntentParameter raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse: -// Represents a fulfillment response to the user. -type GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse struct { - // MergeBehavior: Merge behavior for `messages`. - // - // Possible values: - // "MERGE_BEHAVIOR_UNSPECIFIED" - Not specified. `APPEND` will be - // used. - // "APPEND" - `messages` will be appended to the list of messages - // waiting to be sent to the user. - // "REPLACE" - `messages` will replace the list of messages waiting to - // be sent to the user. - MergeBehavior string `json:"mergeBehavior,omitempty"` +// GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase: Represents an +// example that the agent is trained on to identify the intent. +type GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase struct { + // Id: Output only. The unique identifier of the training phrase. + Id string `json:"id,omitempty"` - // Messages: The list of rich message responses to present to the user. - Messages []*GoogleCloudDialogflowCxV3ResponseMessage `json:"messages,omitempty"` + // Parts: Required. The ordered list of training phrase parts. The parts + // are concatenated in order to form the training phrase. Note: The API + // does not automatically annotate training phrases like the Dialogflow + // Console does. Note: Do not forget to include whitespace at part + // boundaries, so the training phrase is well formatted when the parts + // are concatenated. If the training phrase does not need to be + // annotated with parameters, you just need a single part with only the + // Part.text field set. If you want to annotate the training phrase, you + // must create multiple parts, where the fields of each part are + // populated in one of two ways: - `Part.text` is set to a part of the + // phrase that has no parameters. - `Part.text` is set to a part of the + // phrase that you want to annotate, and the `parameter_id` field is + // set. + Parts []*GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePart `json:"parts,omitempty"` - // ForceSendFields is a list of field names (e.g. "MergeBehavior") to + // RepeatCount: Indicates how many times this example was added to the + // intent. + RepeatCount int64 `json:"repeatCount,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Id") 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 @@ -1148,30 +4331,33 @@ type GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "MergeBehavior") 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 + // NullFields is a list of field names (e.g. "Id") 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 *GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse +func (s *GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata: -// Metadata associated with the long running operation for -// Versions.CreateVersion. -type GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata struct { - // Version: Name of the created version. Format: - // `projects//locations//agents//flows//versions/`. - Version string `json:"version,omitempty"` +// GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePart: Represents a +// part of a training phrase. +type GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePart struct { + // ParameterId: The parameter used to annotate this part of the training + // phrase. This field is required for annotated parts of the training + // phrase. + ParameterId string `json:"parameterId,omitempty"` - // ForceSendFields is a list of field names (e.g. "Version") to + // Text: Required. The text for this part. + Text string `json:"text,omitempty"` + + // ForceSendFields is a list of field names (e.g. "ParameterId") 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 @@ -1179,32 +4365,80 @@ type GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Version") 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 + // NullFields is a list of field names (e.g. "ParameterId") 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 *GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata +func (s *GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePart) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePart raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1ExportAgentResponse: The response -// message for Agents.ExportAgent. -type GoogleCloudDialogflowCxV3beta1ExportAgentResponse struct { - // AgentContent: Uncompressed raw byte content for agent. - AgentContent string `json:"agentContent,omitempty"` +// GoogleCloudDialogflowCxV3beta1Page: A Dialogflow CX conversation +// (session) can be described and visualized as a state machine. The +// states of a CX session are represented by pages. For each flow, you +// define many pages, where your combined pages can handle a complete +// conversation on the topics the flow is designed for. At any given +// moment, exactly one page is the current page, the current page is +// considered active, and the flow associated with that page is +// considered active. Every flow has a special start page. When a flow +// initially becomes active, the start page page becomes the current +// page. For each conversational turn, the current page will either stay +// the same or transition to another page. You configure each page to +// collect information from the end-user that is relevant for the +// conversational state represented by the page. For more information, +// see the [Page +// guide](https://cloud.google.com/dialogflow/cx/docs/concept/page). +type GoogleCloudDialogflowCxV3beta1Page struct { + // DisplayName: Required. The human-readable name of the page, unique + // within the agent. + DisplayName string `json:"displayName,omitempty"` - // AgentUri: The URI to a file containing the exported agent. This field - // is populated only if `agent_uri` is specified in ExportAgentRequest. - AgentUri string `json:"agentUri,omitempty"` + // EntryFulfillment: The fulfillment to call when the session is + // entering the page. + EntryFulfillment *GoogleCloudDialogflowCxV3beta1Fulfillment `json:"entryFulfillment,omitempty"` - // ForceSendFields is a list of field names (e.g. "AgentContent") to + // EventHandlers: Handlers associated with the page to handle events + // such as webhook errors, no match or no input. + EventHandlers []*GoogleCloudDialogflowCxV3beta1EventHandler `json:"eventHandlers,omitempty"` + + // Form: The form associated with the page, used for collecting + // parameters relevant to the page. + Form *GoogleCloudDialogflowCxV3beta1Form `json:"form,omitempty"` + + // Name: The unique identifier of the page. Required for the + // Pages.UpdatePage method. Pages.CreatePage populates the name + // automatically. Format: `projects//locations//agents//flows//pages/`. + Name string `json:"name,omitempty"` + + // TransitionRouteGroups: Ordered list of `TransitionRouteGroups` + // associated with the page. Transition route groups must be unique + // within a page. * If multiple transition routes within a page scope + // refer to the same intent, then the precedence order is: page's + // transition route -> page's transition route group -> flow's + // transition routes. * If multiple transition route groups within a + // page contain the same intent, then the first group in the ordered + // list takes precedence. + // Format:`projects//locations//agents//flows//transitionRouteGroups/`. + TransitionRouteGroups []string `json:"transitionRouteGroups,omitempty"` + + // TransitionRoutes: A list of transitions for the transition rules of + // this page. They route the conversation to another page in the same + // flow, or another flow. When we are in a certain page, the + // TransitionRoutes are evalauted in the following order: * + // TransitionRoutes defined in the page with intent specified. * + // TransitionRoutes defined in the transition route groups. * + // TransitionRoutes defined in flow with intent specified. * + // TransitionRoutes defined in the page with only condition specified. + TransitionRoutes []*GoogleCloudDialogflowCxV3beta1TransitionRoute `json:"transitionRoutes,omitempty"` + + // ForceSendFields is a list of field names (e.g. "DisplayName") 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 @@ -1212,7 +4446,7 @@ type GoogleCloudDialogflowCxV3beta1ExportAgentResponse struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "AgentContent") to include + // NullFields is a list of field names (e.g. "DisplayName") 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 @@ -1221,8 +4455,8 @@ type GoogleCloudDialogflowCxV3beta1ExportAgentResponse struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3beta1ExportAgentResponse) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1ExportAgentResponse +func (s *GoogleCloudDialogflowCxV3beta1Page) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1Page raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -1333,7 +4567,86 @@ type GoogleCloudDialogflowCxV3beta1PageInfoFormInfoParameterInfo struct { // change the parameter value. Value interface{} `json:"value,omitempty"` - // ForceSendFields is a list of field names (e.g. "DisplayName") to + // ForceSendFields is a list of field names (e.g. "DisplayName") 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. "DisplayName") 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 *GoogleCloudDialogflowCxV3beta1PageInfoFormInfoParameterInfo) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1PageInfoFormInfoParameterInfo + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3beta1QueryInput: Represents the query input. +// It can contain one of: 1. A conversational query in the form of text. +// 2. An intent query that specifies which intent to trigger. 3. Natural +// language speech audio to be processed. 4. An event to be triggered. +type GoogleCloudDialogflowCxV3beta1QueryInput struct { + // Audio: The natural language speech audio to be processed. + Audio *GoogleCloudDialogflowCxV3beta1AudioInput `json:"audio,omitempty"` + + // Dtmf: The DTMF event to be handled. + Dtmf *GoogleCloudDialogflowCxV3beta1DtmfInput `json:"dtmf,omitempty"` + + // Event: The event to be triggered. + Event *GoogleCloudDialogflowCxV3beta1EventInput `json:"event,omitempty"` + + // Intent: The intent to be triggered. + Intent *GoogleCloudDialogflowCxV3beta1IntentInput `json:"intent,omitempty"` + + // LanguageCode: Required. The language of the input. See [Language + // Support](https://cloud.google.com/dialogflow/docs/reference/language) + // for a list of the currently supported language codes. Note that + // queries in the same session do not necessarily need to specify the + // same language. + LanguageCode string `json:"languageCode,omitempty"` + + // Text: The natural language text to be processed. + Text *GoogleCloudDialogflowCxV3beta1TextInput `json:"text,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Audio") 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. "Audio") 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 *GoogleCloudDialogflowCxV3beta1QueryInput) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1QueryInput + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3beta1ReloadDocumentOperationMetadata: +// Metadata for ReloadDocument operation. +type GoogleCloudDialogflowCxV3beta1ReloadDocumentOperationMetadata struct { + // GenericMetadata: The generic information of the operation. + GenericMetadata *GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata `json:"genericMetadata,omitempty"` + + // ForceSendFields is a list of field names (e.g. "GenericMetadata") 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 @@ -1341,17 +4654,18 @@ type GoogleCloudDialogflowCxV3beta1PageInfoFormInfoParameterInfo struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "DisplayName") 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. "GenericMetadata") 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 *GoogleCloudDialogflowCxV3beta1PageInfoFormInfoParameterInfo) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1PageInfoFormInfoParameterInfo +func (s *GoogleCloudDialogflowCxV3beta1ReloadDocumentOperationMetadata) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1ReloadDocumentOperationMetadata raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -1663,66 +4977,445 @@ type GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio +func (s *GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3beta1ResponseMessageText: The text response +// message. +type GoogleCloudDialogflowCxV3beta1ResponseMessageText struct { + // AllowPlaybackInterruption: Output only. Whether the playback of this + // message can be interrupted by the end user's speech and the client + // can then starts the next Dialogflow request. + AllowPlaybackInterruption bool `json:"allowPlaybackInterruption,omitempty"` + + // Text: Required. A collection of text responses. + Text []string `json:"text,omitempty"` + + // ForceSendFields is a list of field names (e.g. + // "AllowPlaybackInterruption") 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. + // "AllowPlaybackInterruption") 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 *GoogleCloudDialogflowCxV3beta1ResponseMessageText) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1ResponseMessageText + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3beta1RunTestCaseMetadata: Metadata returned +// for the TestCases.RunTestCase long running operation. +type GoogleCloudDialogflowCxV3beta1RunTestCaseMetadata struct { +} + +// GoogleCloudDialogflowCxV3beta1RunTestCaseResponse: The response +// message for TestCases.RunTestCase. +type GoogleCloudDialogflowCxV3beta1RunTestCaseResponse struct { + // Result: The result. + Result *GoogleCloudDialogflowCxV3beta1TestCaseResult `json:"result,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Result") 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. "Result") 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 *GoogleCloudDialogflowCxV3beta1RunTestCaseResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1RunTestCaseResponse + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3beta1SessionInfo: Represents session +// information communicated to and from the webhook. +type GoogleCloudDialogflowCxV3beta1SessionInfo struct { + // Parameters: Optional for WebhookRequest. Optional for + // WebhookResponse. All parameters collected from forms and intents + // during the session. Parameters can be created, updated, or removed by + // the webhook. To remove a parameter from the session, the webhook + // should explicitly set the parameter value to null in WebhookResponse. + // The map is keyed by parameters' display names. + Parameters googleapi.RawMessage `json:"parameters,omitempty"` + + // Session: Always present for WebhookRequest. Ignored for + // WebhookResponse. The unique identifier of the session. This field can + // be used by the webhook to identify a user. Format: + // `projects//locations//agents//sessions/`. + Session string `json:"session,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Parameters") 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. "Parameters") 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 *GoogleCloudDialogflowCxV3beta1SessionInfo) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1SessionInfo + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3beta1TestCase: Represents a test case. +type GoogleCloudDialogflowCxV3beta1TestCase struct { + // CreationTime: Output only. When the test was created. + CreationTime string `json:"creationTime,omitempty"` + + // DisplayName: Required. The human-readable name of the test case, + // unique within the agent. Limit of 200 characters. + DisplayName string `json:"displayName,omitempty"` + + // LastTestResult: The latest test result. + LastTestResult *GoogleCloudDialogflowCxV3beta1TestCaseResult `json:"lastTestResult,omitempty"` + + // Name: The unique identifier of the test case. + // TestCases.CreateTestCase will populate the name automatically. + // Otherwise use format: `projects//locations//agents/ /testCases/`. + Name string `json:"name,omitempty"` + + // Notes: Additional freeform notes about the test case. Limit of 400 + // characters. + Notes string `json:"notes,omitempty"` + + // Tags: Tags are short descriptions that users may apply to test cases + // for organizational and filtering purposes. Each tag should start with + // "#" and has a limit of 30 characters. + Tags []string `json:"tags,omitempty"` + + // TestCaseConversationTurns: The conversation turns uttered when the + // test case was created, in chronological order. These include the + // canonical set of agent utterances that should occur when the agent is + // working properly. + TestCaseConversationTurns []*GoogleCloudDialogflowCxV3beta1ConversationTurn `json:"testCaseConversationTurns,omitempty"` + + // TestConfig: Config for the test case. + TestConfig *GoogleCloudDialogflowCxV3beta1TestConfig `json:"testConfig,omitempty"` + + // ForceSendFields is a list of field names (e.g. "CreationTime") 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. "CreationTime") 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 *GoogleCloudDialogflowCxV3beta1TestCase) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1TestCase + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3beta1TestCaseError: Error info for importing +// a test. +type GoogleCloudDialogflowCxV3beta1TestCaseError struct { + // Status: The status associated with the test case. + Status *GoogleRpcStatus `json:"status,omitempty"` + + // TestCase: The test case. + TestCase *GoogleCloudDialogflowCxV3beta1TestCase `json:"testCase,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Status") 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. "Status") 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 *GoogleCloudDialogflowCxV3beta1TestCaseError) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1TestCaseError + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3beta1TestCaseResult: Represents a result +// from running a test case in an agent environment. +type GoogleCloudDialogflowCxV3beta1TestCaseResult struct { + // ConversationTurns: The conversation turns uttered during the test + // case replay in chronological order. + ConversationTurns []*GoogleCloudDialogflowCxV3beta1ConversationTurn `json:"conversationTurns,omitempty"` + + // Environment: Optional. Environment where the test was run. If not + // set, it indicates the draft environment. + Environment string `json:"environment,omitempty"` + + // Name: The resource name for the test case result. Format: + // `projects//locations//agents//testCases/ /results/`. + Name string `json:"name,omitempty"` + + // TestResult: Whether the test case passed in the agent environment. + // + // Possible values: + // "TEST_RESULT_UNSPECIFIED" - Not specified. Should never be used. + // "PASSED" - The test passed. + // "FAILED" - The test did not pass. + TestResult string `json:"testResult,omitempty"` + + // TestTime: The time that the test was run. + TestTime string `json:"testTime,omitempty"` + + // ForceSendFields is a list of field names (e.g. "ConversationTurns") + // 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. "ConversationTurns") 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 *GoogleCloudDialogflowCxV3beta1TestCaseResult) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1TestCaseResult + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3beta1TestConfig: Represents configurations +// for a test case. +type GoogleCloudDialogflowCxV3beta1TestConfig struct { + // Flow: Flow name. If not set, default start flow is assumed. Format: + // `projects//locations//agents//flows/`. + Flow string `json:"flow,omitempty"` + + // TrackingParameters: Session parameters to be compared when + // calculating differences. + TrackingParameters []string `json:"trackingParameters,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Flow") 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. "Flow") 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 *GoogleCloudDialogflowCxV3beta1TestConfig) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1TestConfig + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3beta1TestError: Error info for running a +// test. +type GoogleCloudDialogflowCxV3beta1TestError struct { + // Status: The status associated with the test. + Status *GoogleRpcStatus `json:"status,omitempty"` + + // TestCase: The test case resource name. + TestCase string `json:"testCase,omitempty"` + + // TestTime: The timestamp when the test was completed. + TestTime string `json:"testTime,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Status") 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. "Status") 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 *GoogleCloudDialogflowCxV3beta1TestError) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1TestError + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3beta1TestRunDifference: The description of +// differences between original and replayed agent output. +type GoogleCloudDialogflowCxV3beta1TestRunDifference struct { + // Description: A description of the diff, showing the actual output vs + // expected output. + Description string `json:"description,omitempty"` + + // Type: The type of diff. + // + // Possible values: + // "DIFF_TYPE_UNSPECIFIED" - Should never be used. + // "INTENT" - The intent. + // "PAGE" - The page. + // "PARAMETERS" - The parameters. + // "UTTERANCE" - The message utterance. + Type string `json:"type,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 *GoogleCloudDialogflowCxV3beta1TestRunDifference) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1TestRunDifference raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1ResponseMessageText: The text response -// message. -type GoogleCloudDialogflowCxV3beta1ResponseMessageText struct { - // AllowPlaybackInterruption: Output only. Whether the playback of this - // message can be interrupted by the end user's speech and the client - // can then starts the next Dialogflow request. - AllowPlaybackInterruption bool `json:"allowPlaybackInterruption,omitempty"` - - // Text: Required. A collection of text responses. - Text []string `json:"text,omitempty"` +// GoogleCloudDialogflowCxV3beta1TextInput: Represents the natural +// language text to be processed. +type GoogleCloudDialogflowCxV3beta1TextInput struct { + // Text: Required. The UTF-8 encoded natural language text to be + // processed. Text length must not exceed 256 characters. + Text string `json:"text,omitempty"` - // ForceSendFields is a list of field names (e.g. - // "AllowPlaybackInterruption") 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. "Text") 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. - // "AllowPlaybackInterruption") 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. "Text") 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 *GoogleCloudDialogflowCxV3beta1ResponseMessageText) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1ResponseMessageText +func (s *GoogleCloudDialogflowCxV3beta1TextInput) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1TextInput raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1SessionInfo: Represents session -// information communicated to and from the webhook. -type GoogleCloudDialogflowCxV3beta1SessionInfo struct { - // Parameters: Optional for WebhookRequest. Optional for - // WebhookResponse. All parameters collected from forms and intents - // during the session. Parameters can be created, updated, or removed by - // the webhook. To remove a parameter from the session, the webhook - // should explicitly set the parameter value to null in WebhookResponse. - // The map is keyed by parameters' display names. - Parameters googleapi.RawMessage `json:"parameters,omitempty"` +// GoogleCloudDialogflowCxV3beta1TransitionRoute: A transition route +// specifies a intent that can be matched and/or a data condition that +// can be evaluated during a session. When a specified transition is +// matched, the following actions are taken in order: * If there is a +// `trigger_fulfillment` associated with the transition, it will be +// called. * If there is a `target_page` associated with the transition, +// the session will transition into the specified page. * If there is a +// `target_flow` associated with the transition, the session will +// transition into the specified flow. +type GoogleCloudDialogflowCxV3beta1TransitionRoute struct { + // Condition: The condition to evaluate against form parameters or + // session parameters. See the [conditions + // reference](https://cloud.google.com/dialogflow/cx/docs/reference/condi + // tion). At least one of `intent` or `condition` must be specified. + // When both `intent` and `condition` are specified, the transition can + // only happen when both are fulfilled. + Condition string `json:"condition,omitempty"` + + // Intent: The unique identifier of an Intent. Format: + // `projects//locations//agents//intents/`. Indicates that the + // transition can only happen when the given intent is matched. At least + // one of `intent` or `condition` must be specified. When both `intent` + // and `condition` are specified, the transition can only happen when + // both are fulfilled. + Intent string `json:"intent,omitempty"` + + // Name: Output only. The unique identifier of this transition route. + Name string `json:"name,omitempty"` - // Session: Always present for WebhookRequest. Ignored for - // WebhookResponse. The unique identifier of the session. This field can - // be used by the webhook to identify a user. Format: - // `projects//locations//agents//sessions/`. - Session string `json:"session,omitempty"` + // TargetFlow: The target flow to transition to. Format: + // `projects//locations//agents//flows/`. + TargetFlow string `json:"targetFlow,omitempty"` - // ForceSendFields is a list of field names (e.g. "Parameters") to + // TargetPage: The target page to transition to. Format: + // `projects//locations//agents//flows//pages/`. + TargetPage string `json:"targetPage,omitempty"` + + // TriggerFulfillment: The fulfillment to call when the condition is + // satisfied. At least one of `trigger_fulfillment` and `target` must be + // specified. When both are defined, `trigger_fulfillment` is executed + // first. + TriggerFulfillment *GoogleCloudDialogflowCxV3beta1Fulfillment `json:"triggerFulfillment,omitempty"` + + // 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 @@ -1730,7 +5423,7 @@ type GoogleCloudDialogflowCxV3beta1SessionInfo struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Parameters") 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 @@ -1739,8 +5432,38 @@ type GoogleCloudDialogflowCxV3beta1SessionInfo struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3beta1SessionInfo) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1SessionInfo +func (s *GoogleCloudDialogflowCxV3beta1TransitionRoute) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1TransitionRoute + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3beta1UpdateDocumentOperationMetadata: +// Metadata for UpdateDocument operation. +type GoogleCloudDialogflowCxV3beta1UpdateDocumentOperationMetadata struct { + // GenericMetadata: The generic information of the operation. + GenericMetadata *GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata `json:"genericMetadata,omitempty"` + + // ForceSendFields is a list of field names (e.g. "GenericMetadata") 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. "GenericMetadata") 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 *GoogleCloudDialogflowCxV3beta1UpdateDocumentOperationMetadata) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1UpdateDocumentOperationMetadata raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -5294,10 +9017,10 @@ type GoogleCloudDialogflowV2QueryParameters struct { // WebhookHeaders: This field can be used to pass HTTP headers for a // webhook call. These headers will be sent to webhook along with the - // headers that have been configured through Dialogflow web console. The - // headers defined within this field will overwrite the headers - // configured through Dialogflow console if there is a conflict. Header - // names are case-insensitive. Google's specified headers are not + // headers that have been configured through the Dialogflow web console. + // The headers defined within this field will overwrite the headers + // configured through the Dialogflow console if there is a conflict. + // Header names are case-insensitive. Google's specified headers are not // allowed. Including: "Host", "Content-Length", "Connection", "From", // "User-Agent", "Accept-Encoding", "If-Modified-Since", // "If-None-Match", "X-Forwarded-For", etc. @@ -9091,6 +12814,221 @@ func (s *GoogleCloudDialogflowV2beta1WebhookResponse) MarshalJSON() ([]byte, err return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// GoogleCloudDialogflowV3alpha1CreateDocumentOperationMetadata: +// Metadata for CreateDocument operation. +type GoogleCloudDialogflowV3alpha1CreateDocumentOperationMetadata struct { + // GenericMetadata: The generic information of the operation. + GenericMetadata *GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata `json:"genericMetadata,omitempty"` + + // ForceSendFields is a list of field names (e.g. "GenericMetadata") 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. "GenericMetadata") 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 *GoogleCloudDialogflowV3alpha1CreateDocumentOperationMetadata) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV3alpha1CreateDocumentOperationMetadata + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV3alpha1DeleteDocumentOperationMetadata: +// Metadata for DeleteDocument operation. +type GoogleCloudDialogflowV3alpha1DeleteDocumentOperationMetadata struct { + // GenericMetadata: The generic information of the operation. + GenericMetadata *GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata `json:"genericMetadata,omitempty"` + + // ForceSendFields is a list of field names (e.g. "GenericMetadata") 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. "GenericMetadata") 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 *GoogleCloudDialogflowV3alpha1DeleteDocumentOperationMetadata) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV3alpha1DeleteDocumentOperationMetadata + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata: +// Metadata in google::longrunning::Operation for Knowledge operations. +type GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata struct { + // State: Required. Output only. The current state of this operation. + // + // Possible values: + // "STATE_UNSPECIFIED" - State unspecified. + // "PENDING" - The operation has been created. + // "RUNNING" - The operation is currently running. + // "DONE" - The operation is done, either cancelled or completed. + State string `json:"state,omitempty"` + + // ForceSendFields is a list of field names (e.g. "State") 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. "State") 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 *GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV3alpha1ImportDocumentsOperationMetadata: +// Metadata for ImportDocuments operation. +type GoogleCloudDialogflowV3alpha1ImportDocumentsOperationMetadata struct { + // GenericMetadata: The generic information of the operation. + GenericMetadata *GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata `json:"genericMetadata,omitempty"` + + // ForceSendFields is a list of field names (e.g. "GenericMetadata") 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. "GenericMetadata") 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 *GoogleCloudDialogflowV3alpha1ImportDocumentsOperationMetadata) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV3alpha1ImportDocumentsOperationMetadata + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV3alpha1ImportDocumentsResponse: Response +// message for Documents.ImportDocuments. +type GoogleCloudDialogflowV3alpha1ImportDocumentsResponse struct { + // Warnings: Includes details about skipped documents or any other + // warnings. + Warnings []*GoogleRpcStatus `json:"warnings,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Warnings") 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. "Warnings") 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 *GoogleCloudDialogflowV3alpha1ImportDocumentsResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV3alpha1ImportDocumentsResponse + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV3alpha1ReloadDocumentOperationMetadata: +// Metadata for ReloadDocument operation. +type GoogleCloudDialogflowV3alpha1ReloadDocumentOperationMetadata struct { + // GenericMetadata: The generic information of the operation. + GenericMetadata *GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata `json:"genericMetadata,omitempty"` + + // ForceSendFields is a list of field names (e.g. "GenericMetadata") 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. "GenericMetadata") 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 *GoogleCloudDialogflowV3alpha1ReloadDocumentOperationMetadata) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV3alpha1ReloadDocumentOperationMetadata + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV3alpha1UpdateDocumentOperationMetadata: +// Metadata for UpdateDocument operation. +type GoogleCloudDialogflowV3alpha1UpdateDocumentOperationMetadata struct { + // GenericMetadata: The generic information of the operation. + GenericMetadata *GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata `json:"genericMetadata,omitempty"` + + // ForceSendFields is a list of field names (e.g. "GenericMetadata") 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. "GenericMetadata") 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 *GoogleCloudDialogflowV3alpha1UpdateDocumentOperationMetadata) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV3alpha1UpdateDocumentOperationMetadata + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // GoogleLongrunningListOperationsResponse: The response message for // Operations.ListOperations. type GoogleLongrunningListOperationsResponse struct { @@ -9343,7 +13281,7 @@ func (c *ProjectsDeleteAgentCall) Header() http.Header { func (c *ProjectsDeleteAgentCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9485,7 +13423,7 @@ func (c *ProjectsGetAgentCall) Header() http.Header { func (c *ProjectsGetAgentCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9628,7 +13566,7 @@ func (c *ProjectsSetAgentCall) Header() http.Header { func (c *ProjectsSetAgentCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9775,7 +13713,7 @@ func (c *ProjectsAgentExportCall) Header() http.Header { func (c *ProjectsAgentExportCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9925,7 +13863,7 @@ func (c *ProjectsAgentGetFulfillmentCall) Header() http.Header { func (c *ProjectsAgentGetFulfillmentCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10084,7 +14022,7 @@ func (c *ProjectsAgentGetValidationResultCall) Header() http.Header { func (c *ProjectsAgentGetValidationResultCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10235,7 +14173,7 @@ func (c *ProjectsAgentImportCall) Header() http.Header { func (c *ProjectsAgentImportCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10384,7 +14322,7 @@ func (c *ProjectsAgentRestoreCall) Header() http.Header { func (c *ProjectsAgentRestoreCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10554,7 +14492,7 @@ func (c *ProjectsAgentSearchCall) Header() http.Header { func (c *ProjectsAgentSearchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10724,7 +14662,7 @@ func (c *ProjectsAgentTrainCall) Header() http.Header { func (c *ProjectsAgentTrainCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10873,7 +14811,7 @@ func (c *ProjectsAgentUpdateFulfillmentCall) Header() http.Header { func (c *ProjectsAgentUpdateFulfillmentCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11021,7 +14959,7 @@ func (c *ProjectsAgentEntityTypesBatchDeleteCall) Header() http.Header { func (c *ProjectsAgentEntityTypesBatchDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11163,7 +15101,7 @@ func (c *ProjectsAgentEntityTypesBatchUpdateCall) Header() http.Header { func (c *ProjectsAgentEntityTypesBatchUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11315,7 +15253,7 @@ func (c *ProjectsAgentEntityTypesCreateCall) Header() http.Header { func (c *ProjectsAgentEntityTypesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11460,7 +15398,7 @@ func (c *ProjectsAgentEntityTypesDeleteCall) Header() http.Header { func (c *ProjectsAgentEntityTypesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11613,7 +15551,7 @@ func (c *ProjectsAgentEntityTypesGetCall) Header() http.Header { func (c *ProjectsAgentEntityTypesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11789,7 +15727,7 @@ func (c *ProjectsAgentEntityTypesListCall) Header() http.Header { func (c *ProjectsAgentEntityTypesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11982,7 +15920,7 @@ func (c *ProjectsAgentEntityTypesPatchCall) Header() http.Header { func (c *ProjectsAgentEntityTypesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12136,7 +16074,7 @@ func (c *ProjectsAgentEntityTypesEntitiesBatchCreateCall) Header() http.Header { func (c *ProjectsAgentEntityTypesEntitiesBatchCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12277,7 +16215,7 @@ func (c *ProjectsAgentEntityTypesEntitiesBatchDeleteCall) Header() http.Header { func (c *ProjectsAgentEntityTypesEntitiesBatchDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12420,7 +16358,7 @@ func (c *ProjectsAgentEntityTypesEntitiesBatchUpdateCall) Header() http.Header { func (c *ProjectsAgentEntityTypesEntitiesBatchUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12585,7 +16523,7 @@ func (c *ProjectsAgentEnvironmentsListCall) Header() http.Header { func (c *ProjectsAgentEnvironmentsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12753,7 +16691,7 @@ func (c *ProjectsAgentEnvironmentsUsersSessionsDeleteContextsCall) Header() http func (c *ProjectsAgentEnvironmentsUsersSessionsDeleteContextsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12893,7 +16831,7 @@ func (c *ProjectsAgentEnvironmentsUsersSessionsDetectIntentCall) Header() http.H func (c *ProjectsAgentEnvironmentsUsersSessionsDetectIntentCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13037,7 +16975,7 @@ func (c *ProjectsAgentEnvironmentsUsersSessionsContextsCreateCall) Header() http func (c *ProjectsAgentEnvironmentsUsersSessionsContextsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13176,7 +17114,7 @@ func (c *ProjectsAgentEnvironmentsUsersSessionsContextsDeleteCall) Header() http func (c *ProjectsAgentEnvironmentsUsersSessionsContextsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13318,7 +17256,7 @@ func (c *ProjectsAgentEnvironmentsUsersSessionsContextsGetCall) Header() http.He func (c *ProjectsAgentEnvironmentsUsersSessionsContextsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13477,7 +17415,7 @@ func (c *ProjectsAgentEnvironmentsUsersSessionsContextsListCall) Header() http.H func (c *ProjectsAgentEnvironmentsUsersSessionsContextsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13654,7 +17592,7 @@ func (c *ProjectsAgentEnvironmentsUsersSessionsContextsPatchCall) Header() http. func (c *ProjectsAgentEnvironmentsUsersSessionsContextsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13805,7 +17743,7 @@ func (c *ProjectsAgentEnvironmentsUsersSessionsEntityTypesCreateCall) Header() h func (c *ProjectsAgentEnvironmentsUsersSessionsEntityTypesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13949,7 +17887,7 @@ func (c *ProjectsAgentEnvironmentsUsersSessionsEntityTypesDeleteCall) Header() h func (c *ProjectsAgentEnvironmentsUsersSessionsEntityTypesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14093,7 +18031,7 @@ func (c *ProjectsAgentEnvironmentsUsersSessionsEntityTypesGetCall) Header() http func (c *ProjectsAgentEnvironmentsUsersSessionsEntityTypesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14257,7 +18195,7 @@ func (c *ProjectsAgentEnvironmentsUsersSessionsEntityTypesListCall) Header() htt func (c *ProjectsAgentEnvironmentsUsersSessionsEntityTypesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14436,7 +18374,7 @@ func (c *ProjectsAgentEnvironmentsUsersSessionsEntityTypesPatchCall) Header() ht func (c *ProjectsAgentEnvironmentsUsersSessionsEntityTypesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14585,7 +18523,7 @@ func (c *ProjectsAgentIntentsBatchDeleteCall) Header() http.Header { func (c *ProjectsAgentIntentsBatchDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14727,7 +18665,7 @@ func (c *ProjectsAgentIntentsBatchUpdateCall) Header() http.Header { func (c *ProjectsAgentIntentsBatchUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14891,7 +18829,7 @@ func (c *ProjectsAgentIntentsCreateCall) Header() http.Header { func (c *ProjectsAgentIntentsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15049,7 +18987,7 @@ func (c *ProjectsAgentIntentsDeleteCall) Header() http.Header { func (c *ProjectsAgentIntentsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15214,7 +19152,7 @@ func (c *ProjectsAgentIntentsGetCall) Header() http.Header { func (c *ProjectsAgentIntentsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15414,7 +19352,7 @@ func (c *ProjectsAgentIntentsListCall) Header() http.Header { func (c *ProjectsAgentIntentsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15632,7 +19570,7 @@ func (c *ProjectsAgentIntentsPatchCall) Header() http.Header { func (c *ProjectsAgentIntentsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15795,7 +19733,7 @@ func (c *ProjectsAgentSessionsDeleteContextsCall) Header() http.Header { func (c *ProjectsAgentSessionsDeleteContextsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15935,7 +19873,7 @@ func (c *ProjectsAgentSessionsDetectIntentCall) Header() http.Header { func (c *ProjectsAgentSessionsDetectIntentCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16079,7 +20017,7 @@ func (c *ProjectsAgentSessionsContextsCreateCall) Header() http.Header { func (c *ProjectsAgentSessionsContextsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16218,7 +20156,7 @@ func (c *ProjectsAgentSessionsContextsDeleteCall) Header() http.Header { func (c *ProjectsAgentSessionsContextsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16360,7 +20298,7 @@ func (c *ProjectsAgentSessionsContextsGetCall) Header() http.Header { func (c *ProjectsAgentSessionsContextsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16519,7 +20457,7 @@ func (c *ProjectsAgentSessionsContextsListCall) Header() http.Header { func (c *ProjectsAgentSessionsContextsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16696,7 +20634,7 @@ func (c *ProjectsAgentSessionsContextsPatchCall) Header() http.Header { func (c *ProjectsAgentSessionsContextsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16847,7 +20785,7 @@ func (c *ProjectsAgentSessionsEntityTypesCreateCall) Header() http.Header { func (c *ProjectsAgentSessionsEntityTypesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16991,7 +20929,7 @@ func (c *ProjectsAgentSessionsEntityTypesDeleteCall) Header() http.Header { func (c *ProjectsAgentSessionsEntityTypesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17135,7 +21073,7 @@ func (c *ProjectsAgentSessionsEntityTypesGetCall) Header() http.Header { func (c *ProjectsAgentSessionsEntityTypesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17299,7 +21237,7 @@ func (c *ProjectsAgentSessionsEntityTypesListCall) Header() http.Header { func (c *ProjectsAgentSessionsEntityTypesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17478,7 +21416,7 @@ func (c *ProjectsAgentSessionsEntityTypesPatchCall) Header() http.Header { func (c *ProjectsAgentSessionsEntityTypesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17634,7 +21572,7 @@ func (c *ProjectsLocationsOperationsCancelCall) Header() http.Header { func (c *ProjectsLocationsOperationsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17778,7 +21716,7 @@ func (c *ProjectsLocationsOperationsGetCall) Header() http.Header { func (c *ProjectsLocationsOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17953,7 +21891,7 @@ func (c *ProjectsLocationsOperationsListCall) Header() http.Header { func (c *ProjectsLocationsOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18134,7 +22072,7 @@ func (c *ProjectsOperationsCancelCall) Header() http.Header { func (c *ProjectsOperationsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18278,7 +22216,7 @@ func (c *ProjectsOperationsGetCall) Header() http.Header { func (c *ProjectsOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18453,7 +22391,7 @@ func (c *ProjectsOperationsListCall) Header() http.Header { func (c *ProjectsOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/dialogflow/v2beta1/dialogflow-api.json b/dialogflow/v2beta1/dialogflow-api.json index ea05ab34c5e..5671f10e308 100644 --- a/dialogflow/v2beta1/dialogflow-api.json +++ b/dialogflow/v2beta1/dialogflow-api.json @@ -4912,465 +4912,2164 @@ } } }, - "revision": "20201207", + "revision": "20201213", "rootUrl": "https://dialogflow.googleapis.com/", "schemas": { - "GoogleCloudDialogflowCxV3CreateVersionOperationMetadata": { - "description": "Metadata associated with the long running operation for Versions.CreateVersion.", - "id": "GoogleCloudDialogflowCxV3CreateVersionOperationMetadata", - "properties": { - "version": { - "description": "Name of the created version. Format: `projects//locations//agents//flows//versions/`.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDialogflowCxV3ExportAgentResponse": { - "description": "The response message for Agents.ExportAgent.", - "id": "GoogleCloudDialogflowCxV3ExportAgentResponse", + "GoogleCloudDialogflowCxV3AudioInput": { + "description": "Represents the natural speech audio to be processed.", + "id": "GoogleCloudDialogflowCxV3AudioInput", "properties": { - "agentContent": { - "description": "Uncompressed raw byte content for agent.", + "audio": { + "description": "The natural language speech audio to be processed. A single request can contain up to 1 minute of speech audio data. The transcribed text cannot contain more than 256 bytes. For non-streaming audio detect intent, both `config` and `audio` must be provided. For streaming audio detect intent, `config` must be provided in the first request and `audio` must be provided in all following requests.", "format": "byte", "type": "string" }, - "agentUri": { - "description": "The URI to a file containing the exported agent. This field is populated only if `agent_uri` is specified in ExportAgentRequest.", - "type": "string" + "config": { + "$ref": "GoogleCloudDialogflowCxV3InputAudioConfig", + "description": "Required. Instructs the speech recognizer how to process the speech audio." } }, "type": "object" }, - "GoogleCloudDialogflowCxV3PageInfo": { - "description": "Represents page information communicated to and from the webhook.", - "id": "GoogleCloudDialogflowCxV3PageInfo", + "GoogleCloudDialogflowCxV3BatchRunTestCasesMetadata": { + "description": "Metadata returned for the TestCases.BatchRunTestCases long running operation.", + "id": "GoogleCloudDialogflowCxV3BatchRunTestCasesMetadata", "properties": { - "currentPage": { - "description": "Always present for WebhookRequest. Ignored for WebhookResponse. The unique identifier of the current page. Format: `projects//locations//agents//flows//pages/`.", - "type": "string" - }, - "formInfo": { - "$ref": "GoogleCloudDialogflowCxV3PageInfoFormInfo", - "description": "Optional for both WebhookRequest and WebhookResponse. Information about the form." + "errors": { + "description": "The test errors.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3TestError" + }, + "type": "array" } }, "type": "object" }, - "GoogleCloudDialogflowCxV3PageInfoFormInfo": { - "description": "Represents form information.", - "id": "GoogleCloudDialogflowCxV3PageInfoFormInfo", + "GoogleCloudDialogflowCxV3BatchRunTestCasesResponse": { + "description": "The response message for TestCases.BatchRunTestCases.", + "id": "GoogleCloudDialogflowCxV3BatchRunTestCasesResponse", "properties": { - "parameterInfo": { - "description": "Optional for both WebhookRequest and WebhookResponse. The parameters contained in the form. Note that the webhook cannot add or remove any form parameter.", + "results": { + "description": "The test case results. The detailed conversation turns are empty in this response.", "items": { - "$ref": "GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo" + "$ref": "GoogleCloudDialogflowCxV3TestCaseResult" }, "type": "array" } }, "type": "object" }, - "GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo": { - "description": "Represents parameter information.", - "id": "GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo", + "GoogleCloudDialogflowCxV3ConversationTurn": { + "description": "One interaction between a human and virtual agent. The human provides some input and the virtual agent provides a response.", + "id": "GoogleCloudDialogflowCxV3ConversationTurn", "properties": { - "displayName": { - "description": "Always present for WebhookRequest. Required for WebhookResponse. The human-readable name of the parameter, unique within the form. This field cannot be modified by the webhook.", - "type": "string" - }, - "justCollected": { - "description": "Optional for WebhookRequest. Ignored for WebhookResponse. Indicates if the parameter value was just collected on the last conversation turn.", - "type": "boolean" - }, - "required": { - "description": "Optional for both WebhookRequest and WebhookResponse. Indicates whether the parameter is required. Optional parameters will not trigger prompts; however, they are filled if the user specifies them. Required parameters must be filled before form filling concludes.", - "type": "boolean" - }, - "state": { - "description": "Always present for WebhookRequest. Required for WebhookResponse. The state of the parameter. This field can be set to INVALID by the webhook to invalidate the parameter; other values set by the webhook will be ignored.", - "enum": [ - "PARAMETER_STATE_UNSPECIFIED", - "EMPTY", - "INVALID", - "FILLED" - ], - "enumDescriptions": [ - "Not specified. This value should be never used.", - "Indicates that the parameter does not have a value.", - "Indicates that the parameter value is invalid. This field can be used by the webhook to invalidate the parameter and ask the server to collect it from the user again.", - "Indicates that the parameter has a value." - ], - "type": "string" + "userInput": { + "$ref": "GoogleCloudDialogflowCxV3ConversationTurnUserInput", + "description": "The user input." }, - "value": { - "description": "Optional for both WebhookRequest and WebhookResponse. The value of the parameter. This field can be set by the webhook to change the parameter value.", - "type": "any" + "virtualAgentOutput": { + "$ref": "GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput", + "description": "The virtual agent output." } }, "type": "object" }, - "GoogleCloudDialogflowCxV3ResponseMessage": { - "description": "Represents a response message that can be returned by a conversational agent. Response messages are also used for output audio synthesis. The approach is as follows: * If at least one OutputAudioText response is present, then all OutputAudioText responses are linearly concatenated, and the result is used for output audio synthesis. * If the OutputAudioText responses are a mixture of text and SSML, then the concatenated result is treated as SSML; otherwise, the result is treated as either text or SSML as appropriate. The agent designer should ideally use either text or SSML consistently throughout the bot design. * Otherwise, all Text responses are linearly concatenated, and the result is used for output audio synthesis. This approach allows for more sophisticated user experience scenarios, where the text displayed to the user may differ from what is heard.", - "id": "GoogleCloudDialogflowCxV3ResponseMessage", + "GoogleCloudDialogflowCxV3ConversationTurnUserInput": { + "description": "The input from the human user.", + "id": "GoogleCloudDialogflowCxV3ConversationTurnUserInput", "properties": { - "conversationSuccess": { - "$ref": "GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess", - "description": "Indicates that the conversation succeeded." - }, - "endInteraction": { - "$ref": "GoogleCloudDialogflowCxV3ResponseMessageEndInteraction", - "description": "Output only. A signal that indicates the interaction with the Dialogflow agent has ended. This message is generated by Dialogflow only when the conversation reaches `END_SESSION` or `END_PAGE` page. It is not supposed to be defined by the user. It's guaranteed that there is at most one such message in each response.", - "readOnly": true - }, - "liveAgentHandoff": { - "$ref": "GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff", - "description": "Hands off conversation to a human agent." - }, - "mixedAudio": { - "$ref": "GoogleCloudDialogflowCxV3ResponseMessageMixedAudio", - "description": "Output only. An audio response message composed of both the synthesized Dialogflow agent responses and responses defined via play_audio. This message is generated by Dialogflow only and not supposed to be defined by the user.", - "readOnly": true - }, - "outputAudioText": { - "$ref": "GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText", - "description": "A text or ssml response that is preferentially used for TTS output audio synthesis, as described in the comment on the ResponseMessage message." - }, - "payload": { + "injectedParameters": { "additionalProperties": { "description": "Properties of the object.", "type": "any" }, - "description": "Returns a response containing a custom, platform-specific payload.", + "description": "Parameters that need to be injected into the conversation during intent detection.", "type": "object" }, - "playAudio": { - "$ref": "GoogleCloudDialogflowCxV3ResponseMessagePlayAudio", - "description": "Signal that the client should play an audio clip hosted at a client-specific URI. Dialogflow uses this to construct mixed_audio. However, Dialogflow itself does not try to read or process the URI in any way." + "input": { + "$ref": "GoogleCloudDialogflowCxV3QueryInput", + "description": "Supports text input, event input, dtmf input in the test case." }, - "text": { - "$ref": "GoogleCloudDialogflowCxV3ResponseMessageText", - "description": "Returns a text response." + "isWebhookEnabled": { + "description": "If webhooks should be allowed to trigger in response to the user utterance. Often if parameters are injected, webhooks should not be enabled.", + "type": "boolean" } }, "type": "object" }, - "GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess": { - "description": "Indicates that the conversation succeeded, i.e., the bot handled the issue that the customer talked to it about. Dialogflow only uses this to determine which conversations should be counted as successful and doesn't process the metadata in this message in any way. Note that Dialogflow also considers conversations that get to the conversation end page as successful even if they don't return ConversationSuccess. You may set this, for example: * In the entry_fulfillment of a Page if entering the page indicates that the conversation succeeded. * In a webhook response when you determine that you handled the customer issue.", - "id": "GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess", + "GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput": { + "description": "The output from the virtual agent.", + "id": "GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput", "properties": { - "metadata": { + "currentPage": { + "$ref": "GoogleCloudDialogflowCxV3Page", + "description": "The Page on which the utterance was spoken. Only some fields such as name and displayname will be set." + }, + "diagnosticInfo": { "additionalProperties": { "description": "Properties of the object.", "type": "any" }, - "description": "Custom metadata. Dialogflow doesn't impose any structure on this.", + "description": "Required. Input only. The diagnostic info output for the turn.", + "type": "object" + }, + "differences": { + "description": "Output only. If this is part of a result conversation turn, the list of differences between the original run and the replay for this output, if any.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3TestRunDifference" + }, + "readOnly": true, + "type": "array" + }, + "sessionParameters": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "The session parameters available to the bot at this point.", "type": "object" + }, + "status": { + "$ref": "GoogleRpcStatus", + "description": "Response error from the agent in the test result. If set, other output is empty." + }, + "textResponses": { + "description": "The text responses from the agent for the turn.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3ResponseMessageText" + }, + "type": "array" + }, + "triggeredIntent": { + "$ref": "GoogleCloudDialogflowCxV3Intent", + "description": "The Intent that triggered the response. Only some fields such as name and displayname will be set." } }, "type": "object" }, - "GoogleCloudDialogflowCxV3ResponseMessageEndInteraction": { - "description": "Indicates that interaction with the Dialogflow agent has ended. This message is generated by Dialogflow only and not supposed to be defined by the user.", - "id": "GoogleCloudDialogflowCxV3ResponseMessageEndInteraction", - "properties": {}, + "GoogleCloudDialogflowCxV3CreateDocumentOperationMetadata": { + "description": "Metadata for CreateDocument operation.", + "id": "GoogleCloudDialogflowCxV3CreateDocumentOperationMetadata", + "properties": { + "genericMetadata": { + "$ref": "GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata", + "description": "The generic information of the operation." + } + }, "type": "object" }, - "GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff": { - "description": "Indicates that the conversation should be handed off to a live agent. Dialogflow only uses this to determine which conversations were handed off to a human agent for measurement purposes. What else to do with this signal is up to you and your handoff procedures. You may set this, for example: * In the entry_fulfillment of a Page if entering the page indicates something went extremely wrong in the conversation. * In a webhook response when you determine that the customer issue can only be handled by a human.", - "id": "GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff", + "GoogleCloudDialogflowCxV3CreateVersionOperationMetadata": { + "description": "Metadata associated with the long running operation for Versions.CreateVersion.", + "id": "GoogleCloudDialogflowCxV3CreateVersionOperationMetadata", "properties": { - "metadata": { - "additionalProperties": { - "description": "Properties of the object.", - "type": "any" - }, - "description": "Custom metadata for your handoff procedure. Dialogflow doesn't impose any structure on this.", - "type": "object" + "version": { + "description": "Name of the created version. Format: `projects//locations//agents//flows//versions/`.", + "type": "string" } }, "type": "object" }, - "GoogleCloudDialogflowCxV3ResponseMessageMixedAudio": { - "description": "Represents an audio message that is composed of both segments synthesized from the Dialogflow agent prompts and ones hosted externally at the specified URIs. The external URIs are specified via play_audio. This message is generated by Dialogflow only and not supposed to be defined by the user.", - "id": "GoogleCloudDialogflowCxV3ResponseMessageMixedAudio", + "GoogleCloudDialogflowCxV3DeleteDocumentOperationMetadata": { + "description": "Metadata for DeleteDocument operation.", + "id": "GoogleCloudDialogflowCxV3DeleteDocumentOperationMetadata", "properties": { - "segments": { - "description": "Segments this audio response is composed of.", - "items": { - "$ref": "GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment" - }, - "type": "array" + "genericMetadata": { + "$ref": "GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata", + "description": "The generic information of the operation." } }, "type": "object" }, - "GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment": { - "description": "Represents one segment of audio.", - "id": "GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment", + "GoogleCloudDialogflowCxV3DtmfInput": { + "description": "Represents the input for dtmf event.", + "id": "GoogleCloudDialogflowCxV3DtmfInput", "properties": { - "allowPlaybackInterruption": { - "description": "Output only. Whether the playback of this segment can be interrupted by the end user's speech and the client should then start the next Dialogflow request.", - "readOnly": true, - "type": "boolean" - }, - "audio": { - "description": "Raw audio synthesized from the Dialogflow agent's response using the output config specified in the request.", - "format": "byte", + "digits": { + "description": "The dtmf digits.", "type": "string" }, - "uri": { - "description": "Client-specific URI that points to an audio clip accessible to the client. Dialogflow does not impose any validation on it.", + "finishDigit": { + "description": "The finish digit (if any).", "type": "string" } }, "type": "object" }, - "GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText": { - "description": "A text or ssml response that is preferentially used for TTS output audio synthesis, as described in the comment on the ResponseMessage message.", - "id": "GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText", + "GoogleCloudDialogflowCxV3EventHandler": { + "description": "An event handler specifies an event that can be handled during a session. When the specified event happens, the following actions are taken in order: * If there is a `trigger_fulfillment` associated with the event, it will be called. * If there is a `target_page` associated with the event, the session will transition into the specified page. * If there is a `target_flow` associated with the event, the session will transition into the specified flow.", + "id": "GoogleCloudDialogflowCxV3EventHandler", "properties": { - "allowPlaybackInterruption": { - "description": "Output only. Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request.", + "event": { + "description": "Required. The name of the event to handle.", + "type": "string" + }, + "name": { + "description": "Output only. The unique identifier of this event handler.", "readOnly": true, - "type": "boolean" + "type": "string" }, - "ssml": { - "description": "The SSML text to be synthesized. For more information, see [SSML](/speech/text-to-speech/docs/ssml).", + "targetFlow": { + "description": "The target flow to transition to. Format: `projects//locations//agents//flows/`.", "type": "string" }, - "text": { - "description": "The raw text to be synthesized.", + "targetPage": { + "description": "The target page to transition to. Format: `projects//locations//agents//flows//pages/`.", "type": "string" + }, + "triggerFulfillment": { + "$ref": "GoogleCloudDialogflowCxV3Fulfillment", + "description": "The fulfillment to call when the event occurs. Handling webhook errors with a fulfillment enabled with webhook could cause infinite loop. It is invalid to specify such fulfillment for a handler handling webhooks." } }, "type": "object" }, - "GoogleCloudDialogflowCxV3ResponseMessagePlayAudio": { - "description": "Specifies an audio clip to be played by the client as part of the response.", - "id": "GoogleCloudDialogflowCxV3ResponseMessagePlayAudio", + "GoogleCloudDialogflowCxV3EventInput": { + "description": "Represents the event to trigger.", + "id": "GoogleCloudDialogflowCxV3EventInput", "properties": { - "allowPlaybackInterruption": { - "description": "Output only. Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request.", - "readOnly": true, - "type": "boolean" - }, - "audioUri": { - "description": "Required. URI of the audio clip. Dialogflow does not impose any validation on this value. It is specific to the client that reads it.", + "event": { + "description": "Name of the event.", "type": "string" } }, "type": "object" }, - "GoogleCloudDialogflowCxV3ResponseMessageText": { - "description": "The text response message.", - "id": "GoogleCloudDialogflowCxV3ResponseMessageText", + "GoogleCloudDialogflowCxV3ExportAgentResponse": { + "description": "The response message for Agents.ExportAgent.", + "id": "GoogleCloudDialogflowCxV3ExportAgentResponse", "properties": { - "allowPlaybackInterruption": { - "description": "Output only. Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request.", - "readOnly": true, - "type": "boolean" + "agentContent": { + "description": "Uncompressed raw byte content for agent.", + "format": "byte", + "type": "string" }, - "text": { - "description": "Required. A collection of text responses.", - "items": { - "type": "string" - }, - "type": "array" + "agentUri": { + "description": "The URI to a file containing the exported agent. This field is populated only if `agent_uri` is specified in ExportAgentRequest.", + "type": "string" } }, "type": "object" }, - "GoogleCloudDialogflowCxV3SessionInfo": { - "description": "Represents session information communicated to and from the webhook.", - "id": "GoogleCloudDialogflowCxV3SessionInfo", + "GoogleCloudDialogflowCxV3ExportTestCasesMetadata": { + "description": "Metadata returned for the TestCases.ExportTestCases long running operation.", + "id": "GoogleCloudDialogflowCxV3ExportTestCasesMetadata", + "properties": {}, + "type": "object" + }, + "GoogleCloudDialogflowCxV3ExportTestCasesResponse": { + "description": "The response message for TestCases.ExportTestCases.", + "id": "GoogleCloudDialogflowCxV3ExportTestCasesResponse", "properties": { - "parameters": { - "additionalProperties": { - "type": "any" - }, - "description": "Optional for WebhookRequest. Optional for WebhookResponse. All parameters collected from forms and intents during the session. Parameters can be created, updated, or removed by the webhook. To remove a parameter from the session, the webhook should explicitly set the parameter value to null in WebhookResponse. The map is keyed by parameters' display names.", - "type": "object" + "content": { + "description": "Uncompressed raw byte content for test cases.", + "format": "byte", + "type": "string" }, - "session": { - "description": "Always present for WebhookRequest. Ignored for WebhookResponse. The unique identifier of the session. This field can be used by the webhook to identify a user. Format: `projects//locations//agents//sessions/`.", + "gcsUri": { + "description": "The URI to a file containing the exported test cases. This field is populated only if `gcs_uri` is specified in ExportTestCasesRequest.", "type": "string" } }, "type": "object" }, - "GoogleCloudDialogflowCxV3WebhookRequest": { - "description": "The request message for a webhook call.", - "id": "GoogleCloudDialogflowCxV3WebhookRequest", + "GoogleCloudDialogflowCxV3Form": { + "description": "A form is a data model that groups related parameters that can be collected from the user. The process in which the agent prompts the user and collects parameter values from the user is called form filling. A form can be added to a page. When form filling is done, the filled parameters will be written to the session.", + "id": "GoogleCloudDialogflowCxV3Form", "properties": { - "detectIntentResponseId": { - "description": "Always present. The unique identifier of the DetectIntentResponse that will be returned to the API caller.", - "type": "string" - }, + "parameters": { + "description": "Parameters to collect from the user.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3FormParameter" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3FormParameter": { + "description": "Represents a form parameter.", + "id": "GoogleCloudDialogflowCxV3FormParameter", + "properties": { + "defaultValue": { + "description": "The default value of an optional parameter. If the parameter is required, the default value will be ignored.", + "type": "any" + }, + "displayName": { + "description": "Required. The human-readable name of the parameter, unique within the form.", + "type": "string" + }, + "entityType": { + "description": "Required. The entity type of the parameter. Format: `projects/-/locations/-/agents/-/entityTypes/` for system entity types (for example, `projects/-/locations/-/agents/-/entityTypes/sys.date`), or `projects//locations//agents//entityTypes/` for developer entity types.", + "type": "string" + }, + "fillBehavior": { + "$ref": "GoogleCloudDialogflowCxV3FormParameterFillBehavior", + "description": "Required. Defines fill behavior for the parameter." + }, + "isList": { + "description": "Indicates whether the parameter represents a list of values.", + "type": "boolean" + }, + "redact": { + "description": "Indicates whether the parameter content is logged in text and audio. If it is set to true, the parameter content will be replaced to parameter name in both request and response. The default value is false.", + "type": "boolean" + }, + "required": { + "description": "Indicates whether the parameter is required. Optional parameters will not trigger prompts; however, they are filled if the user specifies them. Required parameters must be filled before form filling concludes.", + "type": "boolean" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3FormParameterFillBehavior": { + "description": "Configuration for how the filling of a parameter should be handled.", + "id": "GoogleCloudDialogflowCxV3FormParameterFillBehavior", + "properties": { + "initialPromptFulfillment": { + "$ref": "GoogleCloudDialogflowCxV3Fulfillment", + "description": "Required. The fulfillment to provide the initial prompt that the agent can present to the user in order to fill the parameter." + }, + "repromptEventHandlers": { + "description": "The handlers for parameter-level events, used to provide reprompt for the parameter or transition to a different page/flow. The supported events are: * `sys.no-match-`, where N can be from 1 to 6 * `sys.no-match-default` * `sys.no-input-`, where N can be from 1 to 6 * `sys.no-input-default` * `sys.invalid-parameter` `initial_prompt_fulfillment` provides the first prompt for the parameter. If the user's response does not fill the parameter, a no-match/no-input event will be triggered, and the fulfillment associated with the `sys.no-match-1`/`sys.no-input-1` handler (if defined) will be called to provide a prompt. The `sys.no-match-2`/`sys.no-input-2` handler (if defined) will respond to the next no-match/no-input event, and so on. A `sys.no-match-default` or `sys.no-input-default` handler will be used to handle all following no-match/no-input events after all numbered no-match/no-input handlers for the parameter are consumed. A `sys.invalid-parameter` handler can be defined to handle the case where the parameter values have been `invalidated` by webhook. For example, if the user's response fill the parameter, however the parameter was invalidated by webhook, the fulfillment associated with the `sys.invalid-parameter` handler (if defined) will be called to provide a prompt. If the event handler for the corresponding event can't be found on the parameter, `initial_prompt_fulfillment` will be re-prompted.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3EventHandler" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3Fulfillment": { + "description": "A fulfillment can do one or more of the following actions at the same time: * Generate rich message responses. * Set parameter values. * Call the webhook. Fulfillments can be called at various stages in the Page or Form lifecycle. For example, when a DetectIntentRequest drives a session to enter a new page, the page's entry fulfillment can add a static response to the QueryResult in the returning DetectIntentResponse, call the webhook (for example, to load user data from a database), or both.", + "id": "GoogleCloudDialogflowCxV3Fulfillment", + "properties": { + "conditionalCases": { + "description": "Conditional cases for this fulfillment.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3FulfillmentConditionalCases" + }, + "type": "array" + }, + "messages": { + "description": "The list of rich message responses to present to the user.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3ResponseMessage" + }, + "type": "array" + }, + "setParameterActions": { + "description": "Set parameter values before executing the webhook.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3FulfillmentSetParameterAction" + }, + "type": "array" + }, + "tag": { + "description": "The tag used by the webhook to identify which fulfillment is being called. This field is required if `webhook` is specified.", + "type": "string" + }, + "webhook": { + "description": "The webhook to call. Format: `projects//locations//agents//webhooks/`.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3FulfillmentConditionalCases": { + "description": "A list of cascading if-else conditions. Cases are mutually exclusive. The first one with a matching condition is selected, all the rest ignored.", + "id": "GoogleCloudDialogflowCxV3FulfillmentConditionalCases", + "properties": { + "cases": { + "description": "A list of cascading if-else conditions.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCase" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCase": { + "description": "Each case has a Boolean condition. When it is evaluated to be True, the corresponding messages will be selected and evaluated recursively.", + "id": "GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCase", + "properties": { + "caseContent": { + "description": "A list of case content.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseCaseContent" + }, + "type": "array" + }, + "condition": { + "description": "The condition to activate and select this case. Empty means the condition is always true. The condition is evaluated against form parameters or session parameters. See the [conditions reference](https://cloud.google.com/dialogflow/cx/docs/reference/condition).", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseCaseContent": { + "description": "The list of messages or conditional cases to activate for this case.", + "id": "GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseCaseContent", + "properties": { + "additionalCases": { + "$ref": "GoogleCloudDialogflowCxV3FulfillmentConditionalCases", + "description": "Additional cases to be evaluated." + }, + "message": { + "$ref": "GoogleCloudDialogflowCxV3ResponseMessage", + "description": "Returned message." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3FulfillmentSetParameterAction": { + "description": "Setting a parameter value.", + "id": "GoogleCloudDialogflowCxV3FulfillmentSetParameterAction", + "properties": { + "parameter": { + "description": "Display name of the parameter.", + "type": "string" + }, + "value": { + "description": "The new value of the parameter. A null value clears the parameter.", + "type": "any" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata": { + "description": "Metadata in google::longrunning::Operation for Knowledge operations.", + "id": "GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata", + "properties": { + "state": { + "description": "Required. Output only. The current state of this operation.", + "enum": [ + "STATE_UNSPECIFIED", + "PENDING", + "RUNNING", + "DONE" + ], + "enumDescriptions": [ + "State unspecified.", + "The operation has been created.", + "The operation is currently running.", + "The operation is done, either cancelled or completed." + ], + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3ImportDocumentsOperationMetadata": { + "description": "Metadata for ImportDocuments operation.", + "id": "GoogleCloudDialogflowCxV3ImportDocumentsOperationMetadata", + "properties": { + "genericMetadata": { + "$ref": "GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata", + "description": "The generic information of the operation." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3ImportDocumentsResponse": { + "description": "Response message for Documents.ImportDocuments.", + "id": "GoogleCloudDialogflowCxV3ImportDocumentsResponse", + "properties": { + "warnings": { + "description": "Includes details about skipped documents or any other warnings.", + "items": { + "$ref": "GoogleRpcStatus" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3ImportTestCasesMetadata": { + "description": "Metadata returned for the TestCases.ImportTestCases long running operation.", + "id": "GoogleCloudDialogflowCxV3ImportTestCasesMetadata", + "properties": { + "errors": { + "description": "Errors for failed test cases.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3TestCaseError" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3ImportTestCasesResponse": { + "description": "The response message for TestCases.ImportTestCases.", + "id": "GoogleCloudDialogflowCxV3ImportTestCasesResponse", + "properties": { + "names": { + "description": "The unique identifiers of the new test cases. Format: `projects//locations//agents//testCases/`.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3InputAudioConfig": { + "description": "Instructs the speech recognizer on how to process the audio content.", + "id": "GoogleCloudDialogflowCxV3InputAudioConfig", + "properties": { + "audioEncoding": { + "description": "Required. Audio encoding of the audio content to process.", + "enum": [ + "AUDIO_ENCODING_UNSPECIFIED", + "AUDIO_ENCODING_LINEAR_16", + "AUDIO_ENCODING_FLAC", + "AUDIO_ENCODING_MULAW", + "AUDIO_ENCODING_AMR", + "AUDIO_ENCODING_AMR_WB", + "AUDIO_ENCODING_OGG_OPUS", + "AUDIO_ENCODING_SPEEX_WITH_HEADER_BYTE" + ], + "enumDescriptions": [ + "Not specified.", + "Uncompressed 16-bit signed little-endian samples (Linear PCM).", + "[`FLAC`](https://xiph.org/flac/documentation.html) (Free Lossless Audio Codec) is the recommended encoding because it is lossless (therefore recognition is not compromised) and requires only about half the bandwidth of `LINEAR16`. `FLAC` stream encoding supports 16-bit and 24-bit samples, however, not all fields in `STREAMINFO` are supported.", + "8-bit samples that compand 14-bit audio samples using G.711 PCMU/mu-law.", + "Adaptive Multi-Rate Narrowband codec. `sample_rate_hertz` must be 8000.", + "Adaptive Multi-Rate Wideband codec. `sample_rate_hertz` must be 16000.", + "Opus encoded audio frames in Ogg container ([OggOpus](https://wiki.xiph.org/OggOpus)). `sample_rate_hertz` must be 16000.", + "Although the use of lossy encodings is not recommended, if a very low bitrate encoding is required, `OGG_OPUS` is highly preferred over Speex encoding. The [Speex](https://speex.org/) encoding supported by Dialogflow API has a header byte in each block, as in MIME type `audio/x-speex-with-header-byte`. It is a variant of the RTP Speex encoding defined in [RFC 5574](https://tools.ietf.org/html/rfc5574). The stream is a sequence of blocks, one block per RTP packet. Each block starts with a byte containing the length of the block, in bytes, followed by one or more frames of Speex data, padded to an integral number of bytes (octets) as specified in RFC 5574. In other words, each RTP header is replaced with a single byte containing the block length. Only Speex wideband is supported. `sample_rate_hertz` must be 16000." + ], + "type": "string" + }, + "enableWordInfo": { + "description": "Optional. If `true`, Dialogflow returns SpeechWordInfo in StreamingRecognitionResult with information about the recognized speech words, e.g. start and end time offsets. If false or unspecified, Speech doesn't return any word-level information.", + "type": "boolean" + }, + "model": { + "description": "Optional. Which Speech model to select for the given request. Select the model best suited to your domain to get best results. If a model is not explicitly specified, then we auto-select a model based on the parameters in the InputAudioConfig. If enhanced speech model is enabled for the agent and an enhanced version of the specified model for the language does not exist, then the speech is recognized using the standard version of the specified model. Refer to [Cloud Speech API documentation](https://cloud.google.com/speech-to-text/docs/basics#select-model) for more details.", + "type": "string" + }, + "modelVariant": { + "description": "Optional. Which variant of the Speech model to use.", + "enum": [ + "SPEECH_MODEL_VARIANT_UNSPECIFIED", + "USE_BEST_AVAILABLE", + "USE_STANDARD", + "USE_ENHANCED" + ], + "enumDescriptions": [ + "No model variant specified. In this case Dialogflow defaults to USE_BEST_AVAILABLE.", + "Use the best available variant of the Speech model that the caller is eligible for. Please see the [Dialogflow docs](https://cloud.google.com/dialogflow/docs/data-logging) for how to make your project eligible for enhanced models.", + "Use standard model variant even if an enhanced model is available. See the [Cloud Speech documentation](https://cloud.google.com/speech-to-text/docs/enhanced-models) for details about enhanced models.", + "Use an enhanced model variant: * If an enhanced variant does not exist for the given model and request language, Dialogflow falls back to the standard variant. The [Cloud Speech documentation](https://cloud.google.com/speech-to-text/docs/enhanced-models) describes which models have enhanced variants. * If the API caller isn't eligible for enhanced models, Dialogflow returns an error. Please see the [Dialogflow docs](https://cloud.google.com/dialogflow/docs/data-logging) for how to make your project eligible." + ], + "type": "string" + }, + "phraseHints": { + "description": "Optional. A list of strings containing words and phrases that the speech recognizer should recognize with higher likelihood. See [the Cloud Speech documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-hints) for more details.", + "items": { + "type": "string" + }, + "type": "array" + }, + "sampleRateHertz": { + "description": "Sample rate (in Hertz) of the audio content sent in the query. Refer to [Cloud Speech API documentation](https://cloud.google.com/speech-to-text/docs/basics) for more details.", + "format": "int32", + "type": "integer" + }, + "singleUtterance": { + "description": "Optional. If `false` (default), recognition does not cease until the client closes the stream. If `true`, the recognizer will detect a single spoken utterance in input audio. Recognition ceases when it detects the audio's voice has stopped or paused. In this case, once a detected intent is received, the client should close the stream and start a new request with a new stream as needed. Note: This setting is relevant only for streaming methods.", + "type": "boolean" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3Intent": { + "description": "An intent represents a user's intent to interact with a conversational agent. You can provide information for the Dialogflow API to use to match user input to an intent by adding training phrases (i.e., examples of user input) to your intent.", + "id": "GoogleCloudDialogflowCxV3Intent", + "properties": { + "description": { + "description": "Optional. Human readable description for better understanding an intent like its scope, content, result etc. Maximum character limit: 140 characters.", + "type": "string" + }, + "displayName": { + "description": "Required. The human-readable name of the intent, unique within the agent.", + "type": "string" + }, + "isFallback": { + "description": "Indicates whether this is a fallback intent. Currently only default fallback intent is allowed in the agent, which is added upon agent creation. Adding training phrases to fallback intent is useful in the case of requests that are mistakenly matched, since training phrases assigned to fallback intents act as negative examples that triggers no-match event.", + "type": "boolean" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "description": "Optional. The key/value metadata to label an intent. Labels can contain lowercase letters, digits and the symbols '-' and '_'. International characters are allowed, including letters from unicase alphabets. Keys must start with a letter. Keys and values can be no longer than 63 characters and no more than 128 bytes. Prefix \"sys.\" is reserved for Dialogflow defined labels. Currently allowed Dialogflow defined labels include: * sys.head * sys.contextual The above labels do not require value. \"sys.head\" means the intent is a head intent. \"sys.contextual\" means the intent is a contextual intent.", + "type": "object" + }, + "name": { + "description": "The unique identifier of the intent. Required for the Intents.UpdateIntent method. Intents.CreateIntent populates the name automatically. Format: `projects//locations//agents//intents/`.", + "type": "string" + }, + "parameters": { + "description": "The collection of parameters associated with the intent.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3IntentParameter" + }, + "type": "array" + }, + "priority": { + "description": "The priority of this intent. Higher numbers represent higher priorities. - If the supplied value is unspecified or 0, the service translates the value to 500,000, which corresponds to the `Normal` priority in the console. - If the supplied value is negative, the intent is ignored in runtime detect intent requests.", + "format": "int32", + "type": "integer" + }, + "trainingPhrases": { + "description": "The collection of training phrases the agent is trained on to identify the intent.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3IntentTrainingPhrase" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3IntentInput": { + "description": "Represents the intent to trigger programmatically rather than as a result of natural language processing.", + "id": "GoogleCloudDialogflowCxV3IntentInput", + "properties": { + "intent": { + "description": "Required. The unique identifier of the intent. Format: `projects//locations//agents//intents/`.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3IntentParameter": { + "description": "Represents an intent parameter.", + "id": "GoogleCloudDialogflowCxV3IntentParameter", + "properties": { + "entityType": { + "description": "Required. The entity type of the parameter. Format: `projects/-/locations/-/agents/-/entityTypes/` for system entity types (for example, `projects/-/locations/-/agents/-/entityTypes/sys.date`), or `projects//locations//agents//entityTypes/` for developer entity types.", + "type": "string" + }, + "id": { + "description": "Required. The unique identifier of the parameter. This field is used by training phrases to annotate their parts.", + "type": "string" + }, + "isList": { + "description": "Indicates whether the parameter represents a list of values.", + "type": "boolean" + }, + "redact": { + "description": "Indicates whether the parameter content is logged in text and audio. If it is set to true, the parameter content will be replaced to parameter id in both request and response. The default value is false.", + "type": "boolean" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3IntentTrainingPhrase": { + "description": "Represents an example that the agent is trained on to identify the intent.", + "id": "GoogleCloudDialogflowCxV3IntentTrainingPhrase", + "properties": { + "id": { + "description": "Output only. The unique identifier of the training phrase.", + "type": "string" + }, + "parts": { + "description": "Required. The ordered list of training phrase parts. The parts are concatenated in order to form the training phrase. Note: The API does not automatically annotate training phrases like the Dialogflow Console does. Note: Do not forget to include whitespace at part boundaries, so the training phrase is well formatted when the parts are concatenated. If the training phrase does not need to be annotated with parameters, you just need a single part with only the Part.text field set. If you want to annotate the training phrase, you must create multiple parts, where the fields of each part are populated in one of two ways: - `Part.text` is set to a part of the phrase that has no parameters. - `Part.text` is set to a part of the phrase that you want to annotate, and the `parameter_id` field is set.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3IntentTrainingPhrasePart" + }, + "type": "array" + }, + "repeatCount": { + "description": "Indicates how many times this example was added to the intent.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3IntentTrainingPhrasePart": { + "description": "Represents a part of a training phrase.", + "id": "GoogleCloudDialogflowCxV3IntentTrainingPhrasePart", + "properties": { + "parameterId": { + "description": "The parameter used to annotate this part of the training phrase. This field is required for annotated parts of the training phrase.", + "type": "string" + }, + "text": { + "description": "Required. The text for this part.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3Page": { + "description": "A Dialogflow CX conversation (session) can be described and visualized as a state machine. The states of a CX session are represented by pages. For each flow, you define many pages, where your combined pages can handle a complete conversation on the topics the flow is designed for. At any given moment, exactly one page is the current page, the current page is considered active, and the flow associated with that page is considered active. Every flow has a special start page. When a flow initially becomes active, the start page page becomes the current page. For each conversational turn, the current page will either stay the same or transition to another page. You configure each page to collect information from the end-user that is relevant for the conversational state represented by the page. For more information, see the [Page guide](https://cloud.google.com/dialogflow/cx/docs/concept/page).", + "id": "GoogleCloudDialogflowCxV3Page", + "properties": { + "displayName": { + "description": "Required. The human-readable name of the page, unique within the agent.", + "type": "string" + }, + "entryFulfillment": { + "$ref": "GoogleCloudDialogflowCxV3Fulfillment", + "description": "The fulfillment to call when the session is entering the page." + }, + "eventHandlers": { + "description": "Handlers associated with the page to handle events such as webhook errors, no match or no input.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3EventHandler" + }, + "type": "array" + }, + "form": { + "$ref": "GoogleCloudDialogflowCxV3Form", + "description": "The form associated with the page, used for collecting parameters relevant to the page." + }, + "name": { + "description": "The unique identifier of the page. Required for the Pages.UpdatePage method. Pages.CreatePage populates the name automatically. Format: `projects//locations//agents//flows//pages/`.", + "type": "string" + }, + "transitionRouteGroups": { + "description": "Ordered list of `TransitionRouteGroups` associated with the page. Transition route groups must be unique within a page. * If multiple transition routes within a page scope refer to the same intent, then the precedence order is: page's transition route -\u003e page's transition route group -\u003e flow's transition routes. * If multiple transition route groups within a page contain the same intent, then the first group in the ordered list takes precedence. Format:`projects//locations//agents//flows//transitionRouteGroups/`.", + "items": { + "type": "string" + }, + "type": "array" + }, + "transitionRoutes": { + "description": "A list of transitions for the transition rules of this page. They route the conversation to another page in the same flow, or another flow. When we are in a certain page, the TransitionRoutes are evalauted in the following order: * TransitionRoutes defined in the page with intent specified. * TransitionRoutes defined in the transition route groups. * TransitionRoutes defined in flow with intent specified. * TransitionRoutes defined in the page with only condition specified.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3TransitionRoute" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3PageInfo": { + "description": "Represents page information communicated to and from the webhook.", + "id": "GoogleCloudDialogflowCxV3PageInfo", + "properties": { + "currentPage": { + "description": "Always present for WebhookRequest. Ignored for WebhookResponse. The unique identifier of the current page. Format: `projects//locations//agents//flows//pages/`.", + "type": "string" + }, + "formInfo": { + "$ref": "GoogleCloudDialogflowCxV3PageInfoFormInfo", + "description": "Optional for both WebhookRequest and WebhookResponse. Information about the form." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3PageInfoFormInfo": { + "description": "Represents form information.", + "id": "GoogleCloudDialogflowCxV3PageInfoFormInfo", + "properties": { + "parameterInfo": { + "description": "Optional for both WebhookRequest and WebhookResponse. The parameters contained in the form. Note that the webhook cannot add or remove any form parameter.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo": { + "description": "Represents parameter information.", + "id": "GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo", + "properties": { + "displayName": { + "description": "Always present for WebhookRequest. Required for WebhookResponse. The human-readable name of the parameter, unique within the form. This field cannot be modified by the webhook.", + "type": "string" + }, + "justCollected": { + "description": "Optional for WebhookRequest. Ignored for WebhookResponse. Indicates if the parameter value was just collected on the last conversation turn.", + "type": "boolean" + }, + "required": { + "description": "Optional for both WebhookRequest and WebhookResponse. Indicates whether the parameter is required. Optional parameters will not trigger prompts; however, they are filled if the user specifies them. Required parameters must be filled before form filling concludes.", + "type": "boolean" + }, + "state": { + "description": "Always present for WebhookRequest. Required for WebhookResponse. The state of the parameter. This field can be set to INVALID by the webhook to invalidate the parameter; other values set by the webhook will be ignored.", + "enum": [ + "PARAMETER_STATE_UNSPECIFIED", + "EMPTY", + "INVALID", + "FILLED" + ], + "enumDescriptions": [ + "Not specified. This value should be never used.", + "Indicates that the parameter does not have a value.", + "Indicates that the parameter value is invalid. This field can be used by the webhook to invalidate the parameter and ask the server to collect it from the user again.", + "Indicates that the parameter has a value." + ], + "type": "string" + }, + "value": { + "description": "Optional for both WebhookRequest and WebhookResponse. The value of the parameter. This field can be set by the webhook to change the parameter value.", + "type": "any" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3QueryInput": { + "description": "Represents the query input. It can contain one of: 1. A conversational query in the form of text. 2. An intent query that specifies which intent to trigger. 3. Natural language speech audio to be processed. 4. An event to be triggered. ", + "id": "GoogleCloudDialogflowCxV3QueryInput", + "properties": { + "audio": { + "$ref": "GoogleCloudDialogflowCxV3AudioInput", + "description": "The natural language speech audio to be processed." + }, + "dtmf": { + "$ref": "GoogleCloudDialogflowCxV3DtmfInput", + "description": "The DTMF event to be handled." + }, + "event": { + "$ref": "GoogleCloudDialogflowCxV3EventInput", + "description": "The event to be triggered." + }, + "intent": { + "$ref": "GoogleCloudDialogflowCxV3IntentInput", + "description": "The intent to be triggered." + }, + "languageCode": { + "description": "Required. The language of the input. See [Language Support](https://cloud.google.com/dialogflow/docs/reference/language) for a list of the currently supported language codes. Note that queries in the same session do not necessarily need to specify the same language.", + "type": "string" + }, + "text": { + "$ref": "GoogleCloudDialogflowCxV3TextInput", + "description": "The natural language text to be processed." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3ReloadDocumentOperationMetadata": { + "description": "Metadata for ReloadDocument operation.", + "id": "GoogleCloudDialogflowCxV3ReloadDocumentOperationMetadata", + "properties": { + "genericMetadata": { + "$ref": "GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata", + "description": "The generic information of the operation." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3ResponseMessage": { + "description": "Represents a response message that can be returned by a conversational agent. Response messages are also used for output audio synthesis. The approach is as follows: * If at least one OutputAudioText response is present, then all OutputAudioText responses are linearly concatenated, and the result is used for output audio synthesis. * If the OutputAudioText responses are a mixture of text and SSML, then the concatenated result is treated as SSML; otherwise, the result is treated as either text or SSML as appropriate. The agent designer should ideally use either text or SSML consistently throughout the bot design. * Otherwise, all Text responses are linearly concatenated, and the result is used for output audio synthesis. This approach allows for more sophisticated user experience scenarios, where the text displayed to the user may differ from what is heard.", + "id": "GoogleCloudDialogflowCxV3ResponseMessage", + "properties": { + "conversationSuccess": { + "$ref": "GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess", + "description": "Indicates that the conversation succeeded." + }, + "endInteraction": { + "$ref": "GoogleCloudDialogflowCxV3ResponseMessageEndInteraction", + "description": "Output only. A signal that indicates the interaction with the Dialogflow agent has ended. This message is generated by Dialogflow only when the conversation reaches `END_SESSION` or `END_PAGE` page. It is not supposed to be defined by the user. It's guaranteed that there is at most one such message in each response.", + "readOnly": true + }, + "liveAgentHandoff": { + "$ref": "GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff", + "description": "Hands off conversation to a human agent." + }, + "mixedAudio": { + "$ref": "GoogleCloudDialogflowCxV3ResponseMessageMixedAudio", + "description": "Output only. An audio response message composed of both the synthesized Dialogflow agent responses and responses defined via play_audio. This message is generated by Dialogflow only and not supposed to be defined by the user.", + "readOnly": true + }, + "outputAudioText": { + "$ref": "GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText", + "description": "A text or ssml response that is preferentially used for TTS output audio synthesis, as described in the comment on the ResponseMessage message." + }, + "payload": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "Returns a response containing a custom, platform-specific payload.", + "type": "object" + }, + "playAudio": { + "$ref": "GoogleCloudDialogflowCxV3ResponseMessagePlayAudio", + "description": "Signal that the client should play an audio clip hosted at a client-specific URI. Dialogflow uses this to construct mixed_audio. However, Dialogflow itself does not try to read or process the URI in any way." + }, + "text": { + "$ref": "GoogleCloudDialogflowCxV3ResponseMessageText", + "description": "Returns a text response." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess": { + "description": "Indicates that the conversation succeeded, i.e., the bot handled the issue that the customer talked to it about. Dialogflow only uses this to determine which conversations should be counted as successful and doesn't process the metadata in this message in any way. Note that Dialogflow also considers conversations that get to the conversation end page as successful even if they don't return ConversationSuccess. You may set this, for example: * In the entry_fulfillment of a Page if entering the page indicates that the conversation succeeded. * In a webhook response when you determine that you handled the customer issue.", + "id": "GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess", + "properties": { + "metadata": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "Custom metadata. Dialogflow doesn't impose any structure on this.", + "type": "object" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3ResponseMessageEndInteraction": { + "description": "Indicates that interaction with the Dialogflow agent has ended. This message is generated by Dialogflow only and not supposed to be defined by the user.", + "id": "GoogleCloudDialogflowCxV3ResponseMessageEndInteraction", + "properties": {}, + "type": "object" + }, + "GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff": { + "description": "Indicates that the conversation should be handed off to a live agent. Dialogflow only uses this to determine which conversations were handed off to a human agent for measurement purposes. What else to do with this signal is up to you and your handoff procedures. You may set this, for example: * In the entry_fulfillment of a Page if entering the page indicates something went extremely wrong in the conversation. * In a webhook response when you determine that the customer issue can only be handled by a human.", + "id": "GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff", + "properties": { + "metadata": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "Custom metadata for your handoff procedure. Dialogflow doesn't impose any structure on this.", + "type": "object" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3ResponseMessageMixedAudio": { + "description": "Represents an audio message that is composed of both segments synthesized from the Dialogflow agent prompts and ones hosted externally at the specified URIs. The external URIs are specified via play_audio. This message is generated by Dialogflow only and not supposed to be defined by the user.", + "id": "GoogleCloudDialogflowCxV3ResponseMessageMixedAudio", + "properties": { + "segments": { + "description": "Segments this audio response is composed of.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment": { + "description": "Represents one segment of audio.", + "id": "GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment", + "properties": { + "allowPlaybackInterruption": { + "description": "Output only. Whether the playback of this segment can be interrupted by the end user's speech and the client should then start the next Dialogflow request.", + "readOnly": true, + "type": "boolean" + }, + "audio": { + "description": "Raw audio synthesized from the Dialogflow agent's response using the output config specified in the request.", + "format": "byte", + "type": "string" + }, + "uri": { + "description": "Client-specific URI that points to an audio clip accessible to the client. Dialogflow does not impose any validation on it.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText": { + "description": "A text or ssml response that is preferentially used for TTS output audio synthesis, as described in the comment on the ResponseMessage message.", + "id": "GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText", + "properties": { + "allowPlaybackInterruption": { + "description": "Output only. Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request.", + "readOnly": true, + "type": "boolean" + }, + "ssml": { + "description": "The SSML text to be synthesized. For more information, see [SSML](/speech/text-to-speech/docs/ssml).", + "type": "string" + }, + "text": { + "description": "The raw text to be synthesized.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3ResponseMessagePlayAudio": { + "description": "Specifies an audio clip to be played by the client as part of the response.", + "id": "GoogleCloudDialogflowCxV3ResponseMessagePlayAudio", + "properties": { + "allowPlaybackInterruption": { + "description": "Output only. Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request.", + "readOnly": true, + "type": "boolean" + }, + "audioUri": { + "description": "Required. URI of the audio clip. Dialogflow does not impose any validation on this value. It is specific to the client that reads it.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3ResponseMessageText": { + "description": "The text response message.", + "id": "GoogleCloudDialogflowCxV3ResponseMessageText", + "properties": { + "allowPlaybackInterruption": { + "description": "Output only. Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request.", + "readOnly": true, + "type": "boolean" + }, + "text": { + "description": "Required. A collection of text responses.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3RunTestCaseMetadata": { + "description": "Metadata returned for the TestCases.RunTestCase long running operation.", + "id": "GoogleCloudDialogflowCxV3RunTestCaseMetadata", + "properties": {}, + "type": "object" + }, + "GoogleCloudDialogflowCxV3RunTestCaseResponse": { + "description": "The response message for TestCases.RunTestCase.", + "id": "GoogleCloudDialogflowCxV3RunTestCaseResponse", + "properties": { + "result": { + "$ref": "GoogleCloudDialogflowCxV3TestCaseResult", + "description": "The result." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3SessionInfo": { + "description": "Represents session information communicated to and from the webhook.", + "id": "GoogleCloudDialogflowCxV3SessionInfo", + "properties": { + "parameters": { + "additionalProperties": { + "type": "any" + }, + "description": "Optional for WebhookRequest. Optional for WebhookResponse. All parameters collected from forms and intents during the session. Parameters can be created, updated, or removed by the webhook. To remove a parameter from the session, the webhook should explicitly set the parameter value to null in WebhookResponse. The map is keyed by parameters' display names.", + "type": "object" + }, + "session": { + "description": "Always present for WebhookRequest. Ignored for WebhookResponse. The unique identifier of the session. This field can be used by the webhook to identify a user. Format: `projects//locations//agents//sessions/`.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3TestCase": { + "description": "Represents a test case.", + "id": "GoogleCloudDialogflowCxV3TestCase", + "properties": { + "creationTime": { + "description": "Output only. When the test was created.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "displayName": { + "description": "Required. The human-readable name of the test case, unique within the agent. Limit of 200 characters.", + "type": "string" + }, + "lastTestResult": { + "$ref": "GoogleCloudDialogflowCxV3TestCaseResult", + "description": "The latest test result." + }, + "name": { + "description": "The unique identifier of the test case. TestCases.CreateTestCase will populate the name automatically. Otherwise use format: `projects//locations//agents/ /testCases/`.", + "type": "string" + }, + "notes": { + "description": "Additional freeform notes about the test case. Limit of 400 characters.", + "type": "string" + }, + "tags": { + "description": "Tags are short descriptions that users may apply to test cases for organizational and filtering purposes. Each tag should start with \"#\" and has a limit of 30 characters.", + "items": { + "type": "string" + }, + "type": "array" + }, + "testCaseConversationTurns": { + "description": "The conversation turns uttered when the test case was created, in chronological order. These include the canonical set of agent utterances that should occur when the agent is working properly.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3ConversationTurn" + }, + "type": "array" + }, + "testConfig": { + "$ref": "GoogleCloudDialogflowCxV3TestConfig", + "description": "Config for the test case." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3TestCaseError": { + "description": "Error info for importing a test.", + "id": "GoogleCloudDialogflowCxV3TestCaseError", + "properties": { + "status": { + "$ref": "GoogleRpcStatus", + "description": "The status associated with the test case." + }, + "testCase": { + "$ref": "GoogleCloudDialogflowCxV3TestCase", + "description": "The test case." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3TestCaseResult": { + "description": "Represents a result from running a test case in an agent environment.", + "id": "GoogleCloudDialogflowCxV3TestCaseResult", + "properties": { + "conversationTurns": { + "description": "The conversation turns uttered during the test case replay in chronological order.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3ConversationTurn" + }, + "type": "array" + }, + "environment": { + "description": "Optional. Environment where the test was run. If not set, it indicates the draft environment.", + "type": "string" + }, + "name": { + "description": "The resource name for the test case result. Format: `projects//locations//agents//testCases/ /results/`.", + "type": "string" + }, + "testResult": { + "description": "Whether the test case passed in the agent environment.", + "enum": [ + "TEST_RESULT_UNSPECIFIED", + "PASSED", + "FAILED" + ], + "enumDescriptions": [ + "Not specified. Should never be used.", + "The test passed.", + "The test did not pass." + ], + "type": "string" + }, + "testTime": { + "description": "The time that the test was run.", + "format": "google-datetime", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3TestConfig": { + "description": "Represents configurations for a test case.", + "id": "GoogleCloudDialogflowCxV3TestConfig", + "properties": { + "flow": { + "description": "Flow name. If not set, default start flow is assumed. Format: `projects//locations//agents//flows/`.", + "type": "string" + }, + "trackingParameters": { + "description": "Session parameters to be compared when calculating differences.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3TestError": { + "description": "Error info for running a test.", + "id": "GoogleCloudDialogflowCxV3TestError", + "properties": { + "status": { + "$ref": "GoogleRpcStatus", + "description": "The status associated with the test." + }, + "testCase": { + "description": "The test case resource name.", + "type": "string" + }, + "testTime": { + "description": "The timestamp when the test was completed.", + "format": "google-datetime", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3TestRunDifference": { + "description": "The description of differences between original and replayed agent output.", + "id": "GoogleCloudDialogflowCxV3TestRunDifference", + "properties": { + "description": { + "description": "A description of the diff, showing the actual output vs expected output.", + "type": "string" + }, + "type": { + "description": "The type of diff.", + "enum": [ + "DIFF_TYPE_UNSPECIFIED", + "INTENT", + "PAGE", + "PARAMETERS", + "UTTERANCE" + ], + "enumDescriptions": [ + "Should never be used.", + "The intent.", + "The page.", + "The parameters.", + "The message utterance." + ], + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3TextInput": { + "description": "Represents the natural language text to be processed.", + "id": "GoogleCloudDialogflowCxV3TextInput", + "properties": { + "text": { + "description": "Required. The UTF-8 encoded natural language text to be processed. Text length must not exceed 256 characters.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3TransitionRoute": { + "description": "A transition route specifies a intent that can be matched and/or a data condition that can be evaluated during a session. When a specified transition is matched, the following actions are taken in order: * If there is a `trigger_fulfillment` associated with the transition, it will be called. * If there is a `target_page` associated with the transition, the session will transition into the specified page. * If there is a `target_flow` associated with the transition, the session will transition into the specified flow.", + "id": "GoogleCloudDialogflowCxV3TransitionRoute", + "properties": { + "condition": { + "description": "The condition to evaluate against form parameters or session parameters. See the [conditions reference](https://cloud.google.com/dialogflow/cx/docs/reference/condition). At least one of `intent` or `condition` must be specified. When both `intent` and `condition` are specified, the transition can only happen when both are fulfilled.", + "type": "string" + }, + "intent": { + "description": "The unique identifier of an Intent. Format: `projects//locations//agents//intents/`. Indicates that the transition can only happen when the given intent is matched. At least one of `intent` or `condition` must be specified. When both `intent` and `condition` are specified, the transition can only happen when both are fulfilled.", + "type": "string" + }, + "name": { + "description": "Output only. The unique identifier of this transition route.", + "readOnly": true, + "type": "string" + }, + "targetFlow": { + "description": "The target flow to transition to. Format: `projects//locations//agents//flows/`.", + "type": "string" + }, + "targetPage": { + "description": "The target page to transition to. Format: `projects//locations//agents//flows//pages/`.", + "type": "string" + }, + "triggerFulfillment": { + "$ref": "GoogleCloudDialogflowCxV3Fulfillment", + "description": "The fulfillment to call when the condition is satisfied. At least one of `trigger_fulfillment` and `target` must be specified. When both are defined, `trigger_fulfillment` is executed first." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3UpdateDocumentOperationMetadata": { + "description": "Metadata for UpdateDocument operation.", + "id": "GoogleCloudDialogflowCxV3UpdateDocumentOperationMetadata", + "properties": { + "genericMetadata": { + "$ref": "GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata", + "description": "The generic information of the operation." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3WebhookRequest": { + "description": "The request message for a webhook call.", + "id": "GoogleCloudDialogflowCxV3WebhookRequest", + "properties": { + "detectIntentResponseId": { + "description": "Always present. The unique identifier of the DetectIntentResponse that will be returned to the API caller.", + "type": "string" + }, "fulfillmentInfo": { "$ref": "GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo", "description": "Always present. Information about the fulfillment that triggered this webhook call." }, - "intentInfo": { - "$ref": "GoogleCloudDialogflowCxV3WebhookRequestIntentInfo", - "description": "Information about the last matched intent." + "intentInfo": { + "$ref": "GoogleCloudDialogflowCxV3WebhookRequestIntentInfo", + "description": "Information about the last matched intent." + }, + "messages": { + "description": "The list of rich message responses to present to the user. Webhook can choose to append or replace this list in WebhookResponse.fulfillment_response;", + "items": { + "$ref": "GoogleCloudDialogflowCxV3ResponseMessage" + }, + "type": "array" + }, + "pageInfo": { + "$ref": "GoogleCloudDialogflowCxV3PageInfo", + "description": "Information about page status." + }, + "payload": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "Custom data set in QueryParameters.payload.", + "type": "object" + }, + "sessionInfo": { + "$ref": "GoogleCloudDialogflowCxV3SessionInfo", + "description": "Information about session status." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo": { + "description": "Represents fulfillment information communicated to the webhook.", + "id": "GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo", + "properties": { + "tag": { + "description": "Always present. The tag used to identify which fulfillment is being called.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3WebhookRequestIntentInfo": { + "description": "Represents intent information communicated to the webhook.", + "id": "GoogleCloudDialogflowCxV3WebhookRequestIntentInfo", + "properties": { + "lastMatchedIntent": { + "description": "Always present. The unique identifier of the last matched intent. Format: `projects//locations//agents//intents/`.", + "type": "string" + }, + "parameters": { + "additionalProperties": { + "$ref": "GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue" + }, + "description": "Parameters identified as a result of intent matching. This is a map of the name of the identified parameter to the value of the parameter identified from the user's utterance. All parameters defined in the matched intent that are identified will be surfaced here.", + "type": "object" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue": { + "description": "Represents a value for an intent parameter.", + "id": "GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue", + "properties": { + "originalValue": { + "description": "Always present. Original text value extracted from user utterance.", + "type": "string" + }, + "resolvedValue": { + "description": "Always present. Structured value for the parameter extracted from user utterance.", + "type": "any" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3WebhookResponse": { + "description": "The response message for a webhook call.", + "id": "GoogleCloudDialogflowCxV3WebhookResponse", + "properties": { + "fulfillmentResponse": { + "$ref": "GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse", + "description": "The fulfillment response to send to the user. This field can be omitted by the webhook if it does not intend to send any response to the user." + }, + "pageInfo": { + "$ref": "GoogleCloudDialogflowCxV3PageInfo", + "description": "Information about page status. This field can be omitted by the webhook if it does not intend to modify page status." + }, + "payload": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "Value to append directly to QueryResult.webhook_payloads.", + "type": "object" + }, + "sessionInfo": { + "$ref": "GoogleCloudDialogflowCxV3SessionInfo", + "description": "Information about session status. This field can be omitted by the webhook if it does not intend to modify session status." + }, + "targetFlow": { + "description": "The target flow to transition to. Format: `projects//locations//agents//flows/`.", + "type": "string" + }, + "targetPage": { + "description": "The target page to transition to. Format: `projects//locations//agents//flows//pages/`.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse": { + "description": "Represents a fulfillment response to the user.", + "id": "GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse", + "properties": { + "mergeBehavior": { + "description": "Merge behavior for `messages`.", + "enum": [ + "MERGE_BEHAVIOR_UNSPECIFIED", + "APPEND", + "REPLACE" + ], + "enumDescriptions": [ + "Not specified. `APPEND` will be used.", + "`messages` will be appended to the list of messages waiting to be sent to the user.", + "`messages` will replace the list of messages waiting to be sent to the user." + ], + "type": "string" + }, + "messages": { + "description": "The list of rich message responses to present to the user.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3ResponseMessage" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1AudioInput": { + "description": "Represents the natural speech audio to be processed.", + "id": "GoogleCloudDialogflowCxV3beta1AudioInput", + "properties": { + "audio": { + "description": "The natural language speech audio to be processed. A single request can contain up to 1 minute of speech audio data. The transcribed text cannot contain more than 256 bytes. For non-streaming audio detect intent, both `config` and `audio` must be provided. For streaming audio detect intent, `config` must be provided in the first request and `audio` must be provided in all following requests.", + "format": "byte", + "type": "string" + }, + "config": { + "$ref": "GoogleCloudDialogflowCxV3beta1InputAudioConfig", + "description": "Required. Instructs the speech recognizer how to process the speech audio." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1BatchRunTestCasesMetadata": { + "description": "Metadata returned for the TestCases.BatchRunTestCases long running operation.", + "id": "GoogleCloudDialogflowCxV3beta1BatchRunTestCasesMetadata", + "properties": { + "errors": { + "description": "The test errors.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3beta1TestError" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1BatchRunTestCasesResponse": { + "description": "The response message for TestCases.BatchRunTestCases.", + "id": "GoogleCloudDialogflowCxV3beta1BatchRunTestCasesResponse", + "properties": { + "results": { + "description": "The test case results. The detailed conversation turns are empty in this response.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3beta1TestCaseResult" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1ConversationTurn": { + "description": "One interaction between a human and virtual agent. The human provides some input and the virtual agent provides a response.", + "id": "GoogleCloudDialogflowCxV3beta1ConversationTurn", + "properties": { + "userInput": { + "$ref": "GoogleCloudDialogflowCxV3beta1ConversationTurnUserInput", + "description": "The user input." + }, + "virtualAgentOutput": { + "$ref": "GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput", + "description": "The virtual agent output." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1ConversationTurnUserInput": { + "description": "The input from the human user.", + "id": "GoogleCloudDialogflowCxV3beta1ConversationTurnUserInput", + "properties": { + "injectedParameters": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "Parameters that need to be injected into the conversation during intent detection.", + "type": "object" + }, + "input": { + "$ref": "GoogleCloudDialogflowCxV3beta1QueryInput", + "description": "Supports text input, event input, dtmf input in the test case." + }, + "isWebhookEnabled": { + "description": "If webhooks should be allowed to trigger in response to the user utterance. Often if parameters are injected, webhooks should not be enabled.", + "type": "boolean" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput": { + "description": "The output from the virtual agent.", + "id": "GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput", + "properties": { + "currentPage": { + "$ref": "GoogleCloudDialogflowCxV3beta1Page", + "description": "The Page on which the utterance was spoken. Only some fields such as name and displayname will be set." + }, + "diagnosticInfo": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "Required. Input only. The diagnostic info output for the turn.", + "type": "object" + }, + "differences": { + "description": "Output only. If this is part of a result conversation turn, the list of differences between the original run and the replay for this output, if any.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3beta1TestRunDifference" + }, + "readOnly": true, + "type": "array" + }, + "sessionParameters": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "The session parameters available to the bot at this point.", + "type": "object" + }, + "status": { + "$ref": "GoogleRpcStatus", + "description": "Response error from the agent in the test result. If set, other output is empty." + }, + "textResponses": { + "description": "The text responses from the agent for the turn.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3beta1ResponseMessageText" + }, + "type": "array" + }, + "triggeredIntent": { + "$ref": "GoogleCloudDialogflowCxV3beta1Intent", + "description": "The Intent that triggered the response. Only some fields such as name and displayname will be set." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1CreateDocumentOperationMetadata": { + "description": "Metadata for CreateDocument operation.", + "id": "GoogleCloudDialogflowCxV3beta1CreateDocumentOperationMetadata", + "properties": { + "genericMetadata": { + "$ref": "GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata", + "description": "The generic information of the operation." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata": { + "description": "Metadata associated with the long running operation for Versions.CreateVersion.", + "id": "GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata", + "properties": { + "version": { + "description": "Name of the created version. Format: `projects//locations//agents//flows//versions/`.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1DeleteDocumentOperationMetadata": { + "description": "Metadata for DeleteDocument operation.", + "id": "GoogleCloudDialogflowCxV3beta1DeleteDocumentOperationMetadata", + "properties": { + "genericMetadata": { + "$ref": "GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata", + "description": "The generic information of the operation." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1DtmfInput": { + "description": "Represents the input for dtmf event.", + "id": "GoogleCloudDialogflowCxV3beta1DtmfInput", + "properties": { + "digits": { + "description": "The dtmf digits.", + "type": "string" + }, + "finishDigit": { + "description": "The finish digit (if any).", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1EventHandler": { + "description": "An event handler specifies an event that can be handled during a session. When the specified event happens, the following actions are taken in order: * If there is a `trigger_fulfillment` associated with the event, it will be called. * If there is a `target_page` associated with the event, the session will transition into the specified page. * If there is a `target_flow` associated with the event, the session will transition into the specified flow.", + "id": "GoogleCloudDialogflowCxV3beta1EventHandler", + "properties": { + "event": { + "description": "Required. The name of the event to handle.", + "type": "string" + }, + "name": { + "description": "Output only. The unique identifier of this event handler.", + "readOnly": true, + "type": "string" + }, + "targetFlow": { + "description": "The target flow to transition to. Format: `projects//locations//agents//flows/`.", + "type": "string" + }, + "targetPage": { + "description": "The target page to transition to. Format: `projects//locations//agents//flows//pages/`.", + "type": "string" + }, + "triggerFulfillment": { + "$ref": "GoogleCloudDialogflowCxV3beta1Fulfillment", + "description": "The fulfillment to call when the event occurs. Handling webhook errors with a fulfillment enabled with webhook could cause infinite loop. It is invalid to specify such fulfillment for a handler handling webhooks." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1EventInput": { + "description": "Represents the event to trigger.", + "id": "GoogleCloudDialogflowCxV3beta1EventInput", + "properties": { + "event": { + "description": "Name of the event.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1ExportAgentResponse": { + "description": "The response message for Agents.ExportAgent.", + "id": "GoogleCloudDialogflowCxV3beta1ExportAgentResponse", + "properties": { + "agentContent": { + "description": "Uncompressed raw byte content for agent.", + "format": "byte", + "type": "string" + }, + "agentUri": { + "description": "The URI to a file containing the exported agent. This field is populated only if `agent_uri` is specified in ExportAgentRequest.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1ExportTestCasesMetadata": { + "description": "Metadata returned for the TestCases.ExportTestCases long running operation.", + "id": "GoogleCloudDialogflowCxV3beta1ExportTestCasesMetadata", + "properties": {}, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1ExportTestCasesResponse": { + "description": "The response message for TestCases.ExportTestCases.", + "id": "GoogleCloudDialogflowCxV3beta1ExportTestCasesResponse", + "properties": { + "content": { + "description": "Uncompressed raw byte content for test cases.", + "format": "byte", + "type": "string" + }, + "gcsUri": { + "description": "The URI to a file containing the exported test cases. This field is populated only if `gcs_uri` is specified in ExportTestCasesRequest.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1Form": { + "description": "A form is a data model that groups related parameters that can be collected from the user. The process in which the agent prompts the user and collects parameter values from the user is called form filling. A form can be added to a page. When form filling is done, the filled parameters will be written to the session.", + "id": "GoogleCloudDialogflowCxV3beta1Form", + "properties": { + "parameters": { + "description": "Parameters to collect from the user.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3beta1FormParameter" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1FormParameter": { + "description": "Represents a form parameter.", + "id": "GoogleCloudDialogflowCxV3beta1FormParameter", + "properties": { + "defaultValue": { + "description": "The default value of an optional parameter. If the parameter is required, the default value will be ignored.", + "type": "any" + }, + "displayName": { + "description": "Required. The human-readable name of the parameter, unique within the form.", + "type": "string" + }, + "entityType": { + "description": "Required. The entity type of the parameter. Format: `projects/-/locations/-/agents/-/entityTypes/` for system entity types (for example, `projects/-/locations/-/agents/-/entityTypes/sys.date`), or `projects//locations//agents//entityTypes/` for developer entity types.", + "type": "string" + }, + "fillBehavior": { + "$ref": "GoogleCloudDialogflowCxV3beta1FormParameterFillBehavior", + "description": "Required. Defines fill behavior for the parameter." + }, + "isList": { + "description": "Indicates whether the parameter represents a list of values.", + "type": "boolean" + }, + "redact": { + "description": "Indicates whether the parameter content is logged in text and audio. If it is set to true, the parameter content will be replaced to parameter name in both request and response. The default value is false.", + "type": "boolean" + }, + "required": { + "description": "Indicates whether the parameter is required. Optional parameters will not trigger prompts; however, they are filled if the user specifies them. Required parameters must be filled before form filling concludes.", + "type": "boolean" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1FormParameterFillBehavior": { + "description": "Configuration for how the filling of a parameter should be handled.", + "id": "GoogleCloudDialogflowCxV3beta1FormParameterFillBehavior", + "properties": { + "initialPromptFulfillment": { + "$ref": "GoogleCloudDialogflowCxV3beta1Fulfillment", + "description": "Required. The fulfillment to provide the initial prompt that the agent can present to the user in order to fill the parameter." + }, + "repromptEventHandlers": { + "description": "The handlers for parameter-level events, used to provide reprompt for the parameter or transition to a different page/flow. The supported events are: * `sys.no-match-`, where N can be from 1 to 6 * `sys.no-match-default` * `sys.no-input-`, where N can be from 1 to 6 * `sys.no-input-default` * `sys.invalid-parameter` `initial_prompt_fulfillment` provides the first prompt for the parameter. If the user's response does not fill the parameter, a no-match/no-input event will be triggered, and the fulfillment associated with the `sys.no-match-1`/`sys.no-input-1` handler (if defined) will be called to provide a prompt. The `sys.no-match-2`/`sys.no-input-2` handler (if defined) will respond to the next no-match/no-input event, and so on. A `sys.no-match-default` or `sys.no-input-default` handler will be used to handle all following no-match/no-input events after all numbered no-match/no-input handlers for the parameter are consumed. A `sys.invalid-parameter` handler can be defined to handle the case where the parameter values have been `invalidated` by webhook. For example, if the user's response fill the parameter, however the parameter was invalidated by webhook, the fulfillment associated with the `sys.invalid-parameter` handler (if defined) will be called to provide a prompt. If the event handler for the corresponding event can't be found on the parameter, `initial_prompt_fulfillment` will be re-prompted.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3beta1EventHandler" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1Fulfillment": { + "description": "A fulfillment can do one or more of the following actions at the same time: * Generate rich message responses. * Set parameter values. * Call the webhook. Fulfillments can be called at various stages in the Page or Form lifecycle. For example, when a DetectIntentRequest drives a session to enter a new page, the page's entry fulfillment can add a static response to the QueryResult in the returning DetectIntentResponse, call the webhook (for example, to load user data from a database), or both.", + "id": "GoogleCloudDialogflowCxV3beta1Fulfillment", + "properties": { + "conditionalCases": { + "description": "Conditional cases for this fulfillment.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases" + }, + "type": "array" }, "messages": { - "description": "The list of rich message responses to present to the user. Webhook can choose to append or replace this list in WebhookResponse.fulfillment_response;", + "description": "The list of rich message responses to present to the user.", "items": { - "$ref": "GoogleCloudDialogflowCxV3ResponseMessage" + "$ref": "GoogleCloudDialogflowCxV3beta1ResponseMessage" }, "type": "array" }, - "pageInfo": { - "$ref": "GoogleCloudDialogflowCxV3PageInfo", - "description": "Information about page status." - }, - "payload": { - "additionalProperties": { - "description": "Properties of the object.", - "type": "any" + "setParameterActions": { + "description": "Set parameter values before executing the webhook.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction" }, - "description": "Custom data set in QueryParameters.payload.", - "type": "object" + "type": "array" }, - "sessionInfo": { - "$ref": "GoogleCloudDialogflowCxV3SessionInfo", - "description": "Information about session status." + "tag": { + "description": "The tag used by the webhook to identify which fulfillment is being called. This field is required if `webhook` is specified.", + "type": "string" + }, + "webhook": { + "description": "The webhook to call. Format: `projects//locations//agents//webhooks/`.", + "type": "string" } }, "type": "object" }, - "GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo": { - "description": "Represents fulfillment information communicated to the webhook.", - "id": "GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo", + "GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases": { + "description": "A list of cascading if-else conditions. Cases are mutually exclusive. The first one with a matching condition is selected, all the rest ignored.", + "id": "GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases", "properties": { - "tag": { - "description": "Always present. The tag used to identify which fulfillment is being called.", + "cases": { + "description": "A list of cascading if-else conditions.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase": { + "description": "Each case has a Boolean condition. When it is evaluated to be True, the corresponding messages will be selected and evaluated recursively.", + "id": "GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase", + "properties": { + "caseContent": { + "description": "A list of case content.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContent" + }, + "type": "array" + }, + "condition": { + "description": "The condition to activate and select this case. Empty means the condition is always true. The condition is evaluated against form parameters or session parameters. See the [conditions reference](https://cloud.google.com/dialogflow/cx/docs/reference/condition).", "type": "string" } }, "type": "object" }, - "GoogleCloudDialogflowCxV3WebhookRequestIntentInfo": { - "description": "Represents intent information communicated to the webhook.", - "id": "GoogleCloudDialogflowCxV3WebhookRequestIntentInfo", + "GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContent": { + "description": "The list of messages or conditional cases to activate for this case.", + "id": "GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContent", "properties": { - "lastMatchedIntent": { - "description": "Always present. The unique identifier of the last matched intent. Format: `projects//locations//agents//intents/`.", + "additionalCases": { + "$ref": "GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases", + "description": "Additional cases to be evaluated." + }, + "message": { + "$ref": "GoogleCloudDialogflowCxV3beta1ResponseMessage", + "description": "Returned message." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction": { + "description": "Setting a parameter value.", + "id": "GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction", + "properties": { + "parameter": { + "description": "Display name of the parameter.", "type": "string" }, - "parameters": { - "additionalProperties": { - "$ref": "GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue" + "value": { + "description": "The new value of the parameter. A null value clears the parameter.", + "type": "any" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata": { + "description": "Metadata in google::longrunning::Operation for Knowledge operations.", + "id": "GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata", + "properties": { + "state": { + "description": "Required. Output only. The current state of this operation.", + "enum": [ + "STATE_UNSPECIFIED", + "PENDING", + "RUNNING", + "DONE" + ], + "enumDescriptions": [ + "State unspecified.", + "The operation has been created.", + "The operation is currently running.", + "The operation is done, either cancelled or completed." + ], + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1ImportDocumentsOperationMetadata": { + "description": "Metadata for ImportDocuments operation.", + "id": "GoogleCloudDialogflowCxV3beta1ImportDocumentsOperationMetadata", + "properties": { + "genericMetadata": { + "$ref": "GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata", + "description": "The generic information of the operation." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1ImportDocumentsResponse": { + "description": "Response message for Documents.ImportDocuments.", + "id": "GoogleCloudDialogflowCxV3beta1ImportDocumentsResponse", + "properties": { + "warnings": { + "description": "Includes details about skipped documents or any other warnings.", + "items": { + "$ref": "GoogleRpcStatus" }, - "description": "Parameters identified as a result of intent matching. This is a map of the name of the identified parameter to the value of the parameter identified from the user's utterance. All parameters defined in the matched intent that are identified will be surfaced here.", - "type": "object" + "type": "array" } }, "type": "object" }, - "GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue": { - "description": "Represents a value for an intent parameter.", - "id": "GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue", + "GoogleCloudDialogflowCxV3beta1ImportTestCasesMetadata": { + "description": "Metadata returned for the TestCases.ImportTestCases long running operation.", + "id": "GoogleCloudDialogflowCxV3beta1ImportTestCasesMetadata", "properties": { - "originalValue": { - "description": "Always present. Original text value extracted from user utterance.", + "errors": { + "description": "Errors for failed test cases.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3beta1TestCaseError" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1ImportTestCasesResponse": { + "description": "The response message for TestCases.ImportTestCases.", + "id": "GoogleCloudDialogflowCxV3beta1ImportTestCasesResponse", + "properties": { + "names": { + "description": "The unique identifiers of the new test cases. Format: `projects//locations//agents//testCases/`.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1InputAudioConfig": { + "description": "Instructs the speech recognizer on how to process the audio content.", + "id": "GoogleCloudDialogflowCxV3beta1InputAudioConfig", + "properties": { + "audioEncoding": { + "description": "Required. Audio encoding of the audio content to process.", + "enum": [ + "AUDIO_ENCODING_UNSPECIFIED", + "AUDIO_ENCODING_LINEAR_16", + "AUDIO_ENCODING_FLAC", + "AUDIO_ENCODING_MULAW", + "AUDIO_ENCODING_AMR", + "AUDIO_ENCODING_AMR_WB", + "AUDIO_ENCODING_OGG_OPUS", + "AUDIO_ENCODING_SPEEX_WITH_HEADER_BYTE" + ], + "enumDescriptions": [ + "Not specified.", + "Uncompressed 16-bit signed little-endian samples (Linear PCM).", + "[`FLAC`](https://xiph.org/flac/documentation.html) (Free Lossless Audio Codec) is the recommended encoding because it is lossless (therefore recognition is not compromised) and requires only about half the bandwidth of `LINEAR16`. `FLAC` stream encoding supports 16-bit and 24-bit samples, however, not all fields in `STREAMINFO` are supported.", + "8-bit samples that compand 14-bit audio samples using G.711 PCMU/mu-law.", + "Adaptive Multi-Rate Narrowband codec. `sample_rate_hertz` must be 8000.", + "Adaptive Multi-Rate Wideband codec. `sample_rate_hertz` must be 16000.", + "Opus encoded audio frames in Ogg container ([OggOpus](https://wiki.xiph.org/OggOpus)). `sample_rate_hertz` must be 16000.", + "Although the use of lossy encodings is not recommended, if a very low bitrate encoding is required, `OGG_OPUS` is highly preferred over Speex encoding. The [Speex](https://speex.org/) encoding supported by Dialogflow API has a header byte in each block, as in MIME type `audio/x-speex-with-header-byte`. It is a variant of the RTP Speex encoding defined in [RFC 5574](https://tools.ietf.org/html/rfc5574). The stream is a sequence of blocks, one block per RTP packet. Each block starts with a byte containing the length of the block, in bytes, followed by one or more frames of Speex data, padded to an integral number of bytes (octets) as specified in RFC 5574. In other words, each RTP header is replaced with a single byte containing the block length. Only Speex wideband is supported. `sample_rate_hertz` must be 16000." + ], "type": "string" }, - "resolvedValue": { - "description": "Always present. Structured value for the parameter extracted from user utterance.", - "type": "any" + "enableWordInfo": { + "description": "Optional. If `true`, Dialogflow returns SpeechWordInfo in StreamingRecognitionResult with information about the recognized speech words, e.g. start and end time offsets. If false or unspecified, Speech doesn't return any word-level information.", + "type": "boolean" + }, + "model": { + "description": "Optional. Which Speech model to select for the given request. Select the model best suited to your domain to get best results. If a model is not explicitly specified, then we auto-select a model based on the parameters in the InputAudioConfig. If enhanced speech model is enabled for the agent and an enhanced version of the specified model for the language does not exist, then the speech is recognized using the standard version of the specified model. Refer to [Cloud Speech API documentation](https://cloud.google.com/speech-to-text/docs/basics#select-model) for more details.", + "type": "string" + }, + "modelVariant": { + "description": "Optional. Which variant of the Speech model to use.", + "enum": [ + "SPEECH_MODEL_VARIANT_UNSPECIFIED", + "USE_BEST_AVAILABLE", + "USE_STANDARD", + "USE_ENHANCED" + ], + "enumDescriptions": [ + "No model variant specified. In this case Dialogflow defaults to USE_BEST_AVAILABLE.", + "Use the best available variant of the Speech model that the caller is eligible for. Please see the [Dialogflow docs](https://cloud.google.com/dialogflow/docs/data-logging) for how to make your project eligible for enhanced models.", + "Use standard model variant even if an enhanced model is available. See the [Cloud Speech documentation](https://cloud.google.com/speech-to-text/docs/enhanced-models) for details about enhanced models.", + "Use an enhanced model variant: * If an enhanced variant does not exist for the given model and request language, Dialogflow falls back to the standard variant. The [Cloud Speech documentation](https://cloud.google.com/speech-to-text/docs/enhanced-models) describes which models have enhanced variants. * If the API caller isn't eligible for enhanced models, Dialogflow returns an error. Please see the [Dialogflow docs](https://cloud.google.com/dialogflow/docs/data-logging) for how to make your project eligible." + ], + "type": "string" + }, + "phraseHints": { + "description": "Optional. A list of strings containing words and phrases that the speech recognizer should recognize with higher likelihood. See [the Cloud Speech documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-hints) for more details.", + "items": { + "type": "string" + }, + "type": "array" + }, + "sampleRateHertz": { + "description": "Sample rate (in Hertz) of the audio content sent in the query. Refer to [Cloud Speech API documentation](https://cloud.google.com/speech-to-text/docs/basics) for more details.", + "format": "int32", + "type": "integer" + }, + "singleUtterance": { + "description": "Optional. If `false` (default), recognition does not cease until the client closes the stream. If `true`, the recognizer will detect a single spoken utterance in input audio. Recognition ceases when it detects the audio's voice has stopped or paused. In this case, once a detected intent is received, the client should close the stream and start a new request with a new stream as needed. Note: This setting is relevant only for streaming methods.", + "type": "boolean" } }, "type": "object" }, - "GoogleCloudDialogflowCxV3WebhookResponse": { - "description": "The response message for a webhook call.", - "id": "GoogleCloudDialogflowCxV3WebhookResponse", + "GoogleCloudDialogflowCxV3beta1Intent": { + "description": "An intent represents a user's intent to interact with a conversational agent. You can provide information for the Dialogflow API to use to match user input to an intent by adding training phrases (i.e., examples of user input) to your intent.", + "id": "GoogleCloudDialogflowCxV3beta1Intent", "properties": { - "fulfillmentResponse": { - "$ref": "GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse", - "description": "The fulfillment response to send to the user. This field can be omitted by the webhook if it does not intend to send any response to the user." + "description": { + "description": "Optional. Human readable description for better understanding an intent like its scope, content, result etc. Maximum character limit: 140 characters.", + "type": "string" }, - "pageInfo": { - "$ref": "GoogleCloudDialogflowCxV3PageInfo", - "description": "Information about page status. This field can be omitted by the webhook if it does not intend to modify page status." + "displayName": { + "description": "Required. The human-readable name of the intent, unique within the agent.", + "type": "string" }, - "payload": { + "isFallback": { + "description": "Indicates whether this is a fallback intent. Currently only default fallback intent is allowed in the agent, which is added upon agent creation. Adding training phrases to fallback intent is useful in the case of requests that are mistakenly matched, since training phrases assigned to fallback intents act as negative examples that triggers no-match event.", + "type": "boolean" + }, + "labels": { "additionalProperties": { - "description": "Properties of the object.", - "type": "any" + "type": "string" }, - "description": "Value to append directly to QueryResult.webhook_payloads.", + "description": "Optional. The key/value metadata to label an intent. Labels can contain lowercase letters, digits and the symbols '-' and '_'. International characters are allowed, including letters from unicase alphabets. Keys must start with a letter. Keys and values can be no longer than 63 characters and no more than 128 bytes. Prefix \"sys-\" is reserved for Dialogflow defined labels. Currently allowed Dialogflow defined labels include: * sys-head * sys-contextual The above labels do not require value. \"sys-head\" means the intent is a head intent. \"sys-contextual\" means the intent is a contextual intent.", "type": "object" }, - "sessionInfo": { - "$ref": "GoogleCloudDialogflowCxV3SessionInfo", - "description": "Information about session status. This field can be omitted by the webhook if it does not intend to modify session status." + "name": { + "description": "The unique identifier of the intent. Required for the Intents.UpdateIntent method. Intents.CreateIntent populates the name automatically. Format: `projects//locations//agents//intents/`.", + "type": "string" }, - "targetFlow": { - "description": "The target flow to transition to. Format: `projects//locations//agents//flows/`.", + "parameters": { + "description": "The collection of parameters associated with the intent.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3beta1IntentParameter" + }, + "type": "array" + }, + "priority": { + "description": "The priority of this intent. Higher numbers represent higher priorities. - If the supplied value is unspecified or 0, the service translates the value to 500,000, which corresponds to the `Normal` priority in the console. - If the supplied value is negative, the intent is ignored in runtime detect intent requests.", + "format": "int32", + "type": "integer" + }, + "trainingPhrases": { + "description": "The collection of training phrases the agent is trained on to identify the intent.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1IntentInput": { + "description": "Represents the intent to trigger programmatically rather than as a result of natural language processing.", + "id": "GoogleCloudDialogflowCxV3beta1IntentInput", + "properties": { + "intent": { + "description": "Required. The unique identifier of the intent. Format: `projects//locations//agents//intents/`.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1IntentParameter": { + "description": "Represents an intent parameter.", + "id": "GoogleCloudDialogflowCxV3beta1IntentParameter", + "properties": { + "entityType": { + "description": "Required. The entity type of the parameter. Format: `projects/-/locations/-/agents/-/entityTypes/` for system entity types (for example, `projects/-/locations/-/agents/-/entityTypes/sys.date`), or `projects//locations//agents//entityTypes/` for developer entity types.", "type": "string" }, - "targetPage": { - "description": "The target page to transition to. Format: `projects//locations//agents//flows//pages/`.", + "id": { + "description": "Required. The unique identifier of the parameter. This field is used by training phrases to annotate their parts.", "type": "string" + }, + "isList": { + "description": "Indicates whether the parameter represents a list of values.", + "type": "boolean" + }, + "redact": { + "description": "Indicates whether the parameter content is logged in text and audio. If it is set to true, the parameter content will be replaced to parameter id in both request and response. The default value is false.", + "type": "boolean" } }, "type": "object" }, - "GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse": { - "description": "Represents a fulfillment response to the user.", - "id": "GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse", + "GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase": { + "description": "Represents an example that the agent is trained on to identify the intent.", + "id": "GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase", "properties": { - "mergeBehavior": { - "description": "Merge behavior for `messages`.", - "enum": [ - "MERGE_BEHAVIOR_UNSPECIFIED", - "APPEND", - "REPLACE" - ], - "enumDescriptions": [ - "Not specified. `APPEND` will be used.", - "`messages` will be appended to the list of messages waiting to be sent to the user.", - "`messages` will replace the list of messages waiting to be sent to the user." - ], + "id": { + "description": "Output only. The unique identifier of the training phrase.", "type": "string" }, - "messages": { - "description": "The list of rich message responses to present to the user.", + "parts": { + "description": "Required. The ordered list of training phrase parts. The parts are concatenated in order to form the training phrase. Note: The API does not automatically annotate training phrases like the Dialogflow Console does. Note: Do not forget to include whitespace at part boundaries, so the training phrase is well formatted when the parts are concatenated. If the training phrase does not need to be annotated with parameters, you just need a single part with only the Part.text field set. If you want to annotate the training phrase, you must create multiple parts, where the fields of each part are populated in one of two ways: - `Part.text` is set to a part of the phrase that has no parameters. - `Part.text` is set to a part of the phrase that you want to annotate, and the `parameter_id` field is set.", "items": { - "$ref": "GoogleCloudDialogflowCxV3ResponseMessage" + "$ref": "GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePart" }, "type": "array" + }, + "repeatCount": { + "description": "Indicates how many times this example was added to the intent.", + "format": "int32", + "type": "integer" } }, "type": "object" }, - "GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata": { - "description": "Metadata associated with the long running operation for Versions.CreateVersion.", - "id": "GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata", + "GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePart": { + "description": "Represents a part of a training phrase.", + "id": "GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePart", "properties": { - "version": { - "description": "Name of the created version. Format: `projects//locations//agents//flows//versions/`.", + "parameterId": { + "description": "The parameter used to annotate this part of the training phrase. This field is required for annotated parts of the training phrase.", + "type": "string" + }, + "text": { + "description": "Required. The text for this part.", "type": "string" } }, "type": "object" }, - "GoogleCloudDialogflowCxV3beta1ExportAgentResponse": { - "description": "The response message for Agents.ExportAgent.", - "id": "GoogleCloudDialogflowCxV3beta1ExportAgentResponse", + "GoogleCloudDialogflowCxV3beta1Page": { + "description": "A Dialogflow CX conversation (session) can be described and visualized as a state machine. The states of a CX session are represented by pages. For each flow, you define many pages, where your combined pages can handle a complete conversation on the topics the flow is designed for. At any given moment, exactly one page is the current page, the current page is considered active, and the flow associated with that page is considered active. Every flow has a special start page. When a flow initially becomes active, the start page page becomes the current page. For each conversational turn, the current page will either stay the same or transition to another page. You configure each page to collect information from the end-user that is relevant for the conversational state represented by the page. For more information, see the [Page guide](https://cloud.google.com/dialogflow/cx/docs/concept/page).", + "id": "GoogleCloudDialogflowCxV3beta1Page", "properties": { - "agentContent": { - "description": "Uncompressed raw byte content for agent.", - "format": "byte", + "displayName": { + "description": "Required. The human-readable name of the page, unique within the agent.", "type": "string" }, - "agentUri": { - "description": "The URI to a file containing the exported agent. This field is populated only if `agent_uri` is specified in ExportAgentRequest.", + "entryFulfillment": { + "$ref": "GoogleCloudDialogflowCxV3beta1Fulfillment", + "description": "The fulfillment to call when the session is entering the page." + }, + "eventHandlers": { + "description": "Handlers associated with the page to handle events such as webhook errors, no match or no input.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3beta1EventHandler" + }, + "type": "array" + }, + "form": { + "$ref": "GoogleCloudDialogflowCxV3beta1Form", + "description": "The form associated with the page, used for collecting parameters relevant to the page." + }, + "name": { + "description": "The unique identifier of the page. Required for the Pages.UpdatePage method. Pages.CreatePage populates the name automatically. Format: `projects//locations//agents//flows//pages/`.", "type": "string" + }, + "transitionRouteGroups": { + "description": "Ordered list of `TransitionRouteGroups` associated with the page. Transition route groups must be unique within a page. * If multiple transition routes within a page scope refer to the same intent, then the precedence order is: page's transition route -\u003e page's transition route group -\u003e flow's transition routes. * If multiple transition route groups within a page contain the same intent, then the first group in the ordered list takes precedence. Format:`projects//locations//agents//flows//transitionRouteGroups/`.", + "items": { + "type": "string" + }, + "type": "array" + }, + "transitionRoutes": { + "description": "A list of transitions for the transition rules of this page. They route the conversation to another page in the same flow, or another flow. When we are in a certain page, the TransitionRoutes are evalauted in the following order: * TransitionRoutes defined in the page with intent specified. * TransitionRoutes defined in the transition route groups. * TransitionRoutes defined in flow with intent specified. * TransitionRoutes defined in the page with only condition specified.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3beta1TransitionRoute" + }, + "type": "array" } }, "type": "object" @@ -5443,6 +7142,48 @@ }, "type": "object" }, + "GoogleCloudDialogflowCxV3beta1QueryInput": { + "description": "Represents the query input. It can contain one of: 1. A conversational query in the form of text. 2. An intent query that specifies which intent to trigger. 3. Natural language speech audio to be processed. 4. An event to be triggered. ", + "id": "GoogleCloudDialogflowCxV3beta1QueryInput", + "properties": { + "audio": { + "$ref": "GoogleCloudDialogflowCxV3beta1AudioInput", + "description": "The natural language speech audio to be processed." + }, + "dtmf": { + "$ref": "GoogleCloudDialogflowCxV3beta1DtmfInput", + "description": "The DTMF event to be handled." + }, + "event": { + "$ref": "GoogleCloudDialogflowCxV3beta1EventInput", + "description": "The event to be triggered." + }, + "intent": { + "$ref": "GoogleCloudDialogflowCxV3beta1IntentInput", + "description": "The intent to be triggered." + }, + "languageCode": { + "description": "Required. The language of the input. See [Language Support](https://cloud.google.com/dialogflow/docs/reference/language) for a list of the currently supported language codes. Note that queries in the same session do not necessarily need to specify the same language.", + "type": "string" + }, + "text": { + "$ref": "GoogleCloudDialogflowCxV3beta1TextInput", + "description": "The natural language text to be processed." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1ReloadDocumentOperationMetadata": { + "description": "Metadata for ReloadDocument operation.", + "id": "GoogleCloudDialogflowCxV3beta1ReloadDocumentOperationMetadata", + "properties": { + "genericMetadata": { + "$ref": "GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata", + "description": "The generic information of the operation." + } + }, + "type": "object" + }, "GoogleCloudDialogflowCxV3beta1ResponseMessage": { "description": "Represents a response message that can be returned by a conversational agent. Response messages are also used for output audio synthesis. The approach is as follows: * If at least one OutputAudioText response is present, then all OutputAudioText responses are linearly concatenated, and the result is used for output audio synthesis. * If the OutputAudioText responses are a mixture of text and SSML, then the concatenated result is treated as SSML; otherwise, the result is treated as either text or SSML as appropriate. The agent designer should ideally use either text or SSML consistently throughout the bot design. * Otherwise, all Text responses are linearly concatenated, and the result is used for output audio synthesis. This approach allows for more sophisticated user experience scenarios, where the text displayed to the user may differ from what is heard.", "id": "GoogleCloudDialogflowCxV3beta1ResponseMessage", @@ -5614,6 +7355,23 @@ }, "type": "object" }, + "GoogleCloudDialogflowCxV3beta1RunTestCaseMetadata": { + "description": "Metadata returned for the TestCases.RunTestCase long running operation.", + "id": "GoogleCloudDialogflowCxV3beta1RunTestCaseMetadata", + "properties": {}, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1RunTestCaseResponse": { + "description": "The response message for TestCases.RunTestCase.", + "id": "GoogleCloudDialogflowCxV3beta1RunTestCaseResponse", + "properties": { + "result": { + "$ref": "GoogleCloudDialogflowCxV3beta1TestCaseResult", + "description": "The result." + } + }, + "type": "object" + }, "GoogleCloudDialogflowCxV3beta1SessionInfo": { "description": "Represents session information communicated to and from the webhook.", "id": "GoogleCloudDialogflowCxV3beta1SessionInfo", @@ -5632,6 +7390,230 @@ }, "type": "object" }, + "GoogleCloudDialogflowCxV3beta1TestCase": { + "description": "Represents a test case.", + "id": "GoogleCloudDialogflowCxV3beta1TestCase", + "properties": { + "creationTime": { + "description": "Output only. When the test was created.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "displayName": { + "description": "Required. The human-readable name of the test case, unique within the agent. Limit of 200 characters.", + "type": "string" + }, + "lastTestResult": { + "$ref": "GoogleCloudDialogflowCxV3beta1TestCaseResult", + "description": "The latest test result." + }, + "name": { + "description": "The unique identifier of the test case. TestCases.CreateTestCase will populate the name automatically. Otherwise use format: `projects//locations//agents/ /testCases/`.", + "type": "string" + }, + "notes": { + "description": "Additional freeform notes about the test case. Limit of 400 characters.", + "type": "string" + }, + "tags": { + "description": "Tags are short descriptions that users may apply to test cases for organizational and filtering purposes. Each tag should start with \"#\" and has a limit of 30 characters.", + "items": { + "type": "string" + }, + "type": "array" + }, + "testCaseConversationTurns": { + "description": "The conversation turns uttered when the test case was created, in chronological order. These include the canonical set of agent utterances that should occur when the agent is working properly.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3beta1ConversationTurn" + }, + "type": "array" + }, + "testConfig": { + "$ref": "GoogleCloudDialogflowCxV3beta1TestConfig", + "description": "Config for the test case." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1TestCaseError": { + "description": "Error info for importing a test.", + "id": "GoogleCloudDialogflowCxV3beta1TestCaseError", + "properties": { + "status": { + "$ref": "GoogleRpcStatus", + "description": "The status associated with the test case." + }, + "testCase": { + "$ref": "GoogleCloudDialogflowCxV3beta1TestCase", + "description": "The test case." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1TestCaseResult": { + "description": "Represents a result from running a test case in an agent environment.", + "id": "GoogleCloudDialogflowCxV3beta1TestCaseResult", + "properties": { + "conversationTurns": { + "description": "The conversation turns uttered during the test case replay in chronological order.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3beta1ConversationTurn" + }, + "type": "array" + }, + "environment": { + "description": "Optional. Environment where the test was run. If not set, it indicates the draft environment.", + "type": "string" + }, + "name": { + "description": "The resource name for the test case result. Format: `projects//locations//agents//testCases/ /results/`.", + "type": "string" + }, + "testResult": { + "description": "Whether the test case passed in the agent environment.", + "enum": [ + "TEST_RESULT_UNSPECIFIED", + "PASSED", + "FAILED" + ], + "enumDescriptions": [ + "Not specified. Should never be used.", + "The test passed.", + "The test did not pass." + ], + "type": "string" + }, + "testTime": { + "description": "The time that the test was run.", + "format": "google-datetime", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1TestConfig": { + "description": "Represents configurations for a test case.", + "id": "GoogleCloudDialogflowCxV3beta1TestConfig", + "properties": { + "flow": { + "description": "Flow name. If not set, default start flow is assumed. Format: `projects//locations//agents//flows/`.", + "type": "string" + }, + "trackingParameters": { + "description": "Session parameters to be compared when calculating differences.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1TestError": { + "description": "Error info for running a test.", + "id": "GoogleCloudDialogflowCxV3beta1TestError", + "properties": { + "status": { + "$ref": "GoogleRpcStatus", + "description": "The status associated with the test." + }, + "testCase": { + "description": "The test case resource name.", + "type": "string" + }, + "testTime": { + "description": "The timestamp when the test was completed.", + "format": "google-datetime", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1TestRunDifference": { + "description": "The description of differences between original and replayed agent output.", + "id": "GoogleCloudDialogflowCxV3beta1TestRunDifference", + "properties": { + "description": { + "description": "A description of the diff, showing the actual output vs expected output.", + "type": "string" + }, + "type": { + "description": "The type of diff.", + "enum": [ + "DIFF_TYPE_UNSPECIFIED", + "INTENT", + "PAGE", + "PARAMETERS", + "UTTERANCE" + ], + "enumDescriptions": [ + "Should never be used.", + "The intent.", + "The page.", + "The parameters.", + "The message utterance." + ], + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1TextInput": { + "description": "Represents the natural language text to be processed.", + "id": "GoogleCloudDialogflowCxV3beta1TextInput", + "properties": { + "text": { + "description": "Required. The UTF-8 encoded natural language text to be processed. Text length must not exceed 256 characters.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1TransitionRoute": { + "description": "A transition route specifies a intent that can be matched and/or a data condition that can be evaluated during a session. When a specified transition is matched, the following actions are taken in order: * If there is a `trigger_fulfillment` associated with the transition, it will be called. * If there is a `target_page` associated with the transition, the session will transition into the specified page. * If there is a `target_flow` associated with the transition, the session will transition into the specified flow.", + "id": "GoogleCloudDialogflowCxV3beta1TransitionRoute", + "properties": { + "condition": { + "description": "The condition to evaluate against form parameters or session parameters. See the [conditions reference](https://cloud.google.com/dialogflow/cx/docs/reference/condition). At least one of `intent` or `condition` must be specified. When both `intent` and `condition` are specified, the transition can only happen when both are fulfilled.", + "type": "string" + }, + "intent": { + "description": "The unique identifier of an Intent. Format: `projects//locations//agents//intents/`. Indicates that the transition can only happen when the given intent is matched. At least one of `intent` or `condition` must be specified. When both `intent` and `condition` are specified, the transition can only happen when both are fulfilled.", + "type": "string" + }, + "name": { + "description": "Output only. The unique identifier of this transition route.", + "readOnly": true, + "type": "string" + }, + "targetFlow": { + "description": "The target flow to transition to. Format: `projects//locations//agents//flows/`.", + "type": "string" + }, + "targetPage": { + "description": "The target page to transition to. Format: `projects//locations//agents//flows//pages/`.", + "type": "string" + }, + "triggerFulfillment": { + "$ref": "GoogleCloudDialogflowCxV3beta1Fulfillment", + "description": "The fulfillment to call when the condition is satisfied. At least one of `trigger_fulfillment` and `target` must be specified. When both are defined, `trigger_fulfillment` is executed first." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1UpdateDocumentOperationMetadata": { + "description": "Metadata for UpdateDocument operation.", + "id": "GoogleCloudDialogflowCxV3beta1UpdateDocumentOperationMetadata", + "properties": { + "genericMetadata": { + "$ref": "GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata", + "description": "The generic information of the operation." + } + }, + "type": "object" + }, "GoogleCloudDialogflowCxV3beta1WebhookRequest": { "description": "The request message for a webhook call.", "id": "GoogleCloudDialogflowCxV3beta1WebhookRequest", @@ -10047,6 +12029,99 @@ }, "type": "object" }, + "GoogleCloudDialogflowV3alpha1CreateDocumentOperationMetadata": { + "description": "Metadata for CreateDocument operation.", + "id": "GoogleCloudDialogflowV3alpha1CreateDocumentOperationMetadata", + "properties": { + "genericMetadata": { + "$ref": "GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata", + "description": "The generic information of the operation." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV3alpha1DeleteDocumentOperationMetadata": { + "description": "Metadata for DeleteDocument operation.", + "id": "GoogleCloudDialogflowV3alpha1DeleteDocumentOperationMetadata", + "properties": { + "genericMetadata": { + "$ref": "GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata", + "description": "The generic information of the operation." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata": { + "description": "Metadata in google::longrunning::Operation for Knowledge operations.", + "id": "GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata", + "properties": { + "state": { + "description": "Required. Output only. The current state of this operation.", + "enum": [ + "STATE_UNSPECIFIED", + "PENDING", + "RUNNING", + "DONE" + ], + "enumDescriptions": [ + "State unspecified.", + "The operation has been created.", + "The operation is currently running.", + "The operation is done, either cancelled or completed." + ], + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV3alpha1ImportDocumentsOperationMetadata": { + "description": "Metadata for ImportDocuments operation.", + "id": "GoogleCloudDialogflowV3alpha1ImportDocumentsOperationMetadata", + "properties": { + "genericMetadata": { + "$ref": "GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata", + "description": "The generic information of the operation." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV3alpha1ImportDocumentsResponse": { + "description": "Response message for Documents.ImportDocuments.", + "id": "GoogleCloudDialogflowV3alpha1ImportDocumentsResponse", + "properties": { + "warnings": { + "description": "Includes details about skipped documents or any other warnings.", + "items": { + "$ref": "GoogleRpcStatus" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV3alpha1ReloadDocumentOperationMetadata": { + "description": "Metadata for ReloadDocument operation.", + "id": "GoogleCloudDialogflowV3alpha1ReloadDocumentOperationMetadata", + "properties": { + "genericMetadata": { + "$ref": "GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata", + "description": "The generic information of the operation." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV3alpha1UpdateDocumentOperationMetadata": { + "description": "Metadata for UpdateDocument operation.", + "id": "GoogleCloudDialogflowV3alpha1UpdateDocumentOperationMetadata", + "properties": { + "genericMetadata": { + "$ref": "GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata", + "description": "The generic information of the operation." + } + }, + "type": "object" + }, "GoogleLongrunningListOperationsResponse": { "description": "The response message for Operations.ListOperations.", "id": "GoogleLongrunningListOperationsResponse", diff --git a/dialogflow/v2beta1/dialogflow-gen.go b/dialogflow/v2beta1/dialogflow-gen.go index a7fb77dcb03..534c0fd6d4e 100644 --- a/dialogflow/v2beta1/dialogflow-gen.go +++ b/dialogflow/v2beta1/dialogflow-gen.go @@ -550,15 +550,23 @@ type ProjectsOperationsService struct { s *Service } -// GoogleCloudDialogflowCxV3CreateVersionOperationMetadata: Metadata -// associated with the long running operation for -// Versions.CreateVersion. -type GoogleCloudDialogflowCxV3CreateVersionOperationMetadata struct { - // Version: Name of the created version. Format: - // `projects//locations//agents//flows//versions/`. - Version string `json:"version,omitempty"` +// GoogleCloudDialogflowCxV3AudioInput: Represents the natural speech +// audio to be processed. +type GoogleCloudDialogflowCxV3AudioInput struct { + // Audio: The natural language speech audio to be processed. A single + // request can contain up to 1 minute of speech audio data. The + // transcribed text cannot contain more than 256 bytes. For + // non-streaming audio detect intent, both `config` and `audio` must be + // provided. For streaming audio detect intent, `config` must be + // provided in the first request and `audio` must be provided in all + // following requests. + Audio string `json:"audio,omitempty"` - // ForceSendFields is a list of field names (e.g. "Version") to + // Config: Required. Instructs the speech recognizer how to process the + // speech audio. + Config *GoogleCloudDialogflowCxV3InputAudioConfig `json:"config,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Audio") 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 @@ -566,8 +574,8 @@ type GoogleCloudDialogflowCxV3CreateVersionOperationMetadata struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Version") to include in - // API requests with the JSON null value. By default, fields with empty + // NullFields is a list of field names (e.g. "Audio") 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. @@ -575,23 +583,19 @@ type GoogleCloudDialogflowCxV3CreateVersionOperationMetadata struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3CreateVersionOperationMetadata) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3CreateVersionOperationMetadata +func (s *GoogleCloudDialogflowCxV3AudioInput) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3AudioInput raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3ExportAgentResponse: The response message -// for Agents.ExportAgent. -type GoogleCloudDialogflowCxV3ExportAgentResponse struct { - // AgentContent: Uncompressed raw byte content for agent. - AgentContent string `json:"agentContent,omitempty"` - - // AgentUri: The URI to a file containing the exported agent. This field - // is populated only if `agent_uri` is specified in ExportAgentRequest. - AgentUri string `json:"agentUri,omitempty"` +// GoogleCloudDialogflowCxV3BatchRunTestCasesMetadata: Metadata returned +// for the TestCases.BatchRunTestCases long running operation. +type GoogleCloudDialogflowCxV3BatchRunTestCasesMetadata struct { + // Errors: The test errors. + Errors []*GoogleCloudDialogflowCxV3TestError `json:"errors,omitempty"` - // ForceSendFields is a list of field names (e.g. "AgentContent") to + // ForceSendFields is a list of field names (e.g. "Errors") 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 @@ -599,34 +603,29 @@ type GoogleCloudDialogflowCxV3ExportAgentResponse struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "AgentContent") 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 + // NullFields is a list of field names (e.g. "Errors") 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 *GoogleCloudDialogflowCxV3ExportAgentResponse) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3ExportAgentResponse +func (s *GoogleCloudDialogflowCxV3BatchRunTestCasesMetadata) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3BatchRunTestCasesMetadata raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3PageInfo: Represents page information -// communicated to and from the webhook. -type GoogleCloudDialogflowCxV3PageInfo struct { - // CurrentPage: Always present for WebhookRequest. Ignored for - // WebhookResponse. The unique identifier of the current page. Format: - // `projects//locations//agents//flows//pages/`. - CurrentPage string `json:"currentPage,omitempty"` - - // FormInfo: Optional for both WebhookRequest and WebhookResponse. - // Information about the form. - FormInfo *GoogleCloudDialogflowCxV3PageInfoFormInfo `json:"formInfo,omitempty"` +// GoogleCloudDialogflowCxV3BatchRunTestCasesResponse: The response +// message for TestCases.BatchRunTestCases. +type GoogleCloudDialogflowCxV3BatchRunTestCasesResponse struct { + // Results: The test case results. The detailed conversation turns are + // empty in this response. + Results []*GoogleCloudDialogflowCxV3TestCaseResult `json:"results,omitempty"` - // ForceSendFields is a list of field names (e.g. "CurrentPage") to + // 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 @@ -634,30 +633,32 @@ type GoogleCloudDialogflowCxV3PageInfo struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "CurrentPage") 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 + // 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 *GoogleCloudDialogflowCxV3PageInfo) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3PageInfo +func (s *GoogleCloudDialogflowCxV3BatchRunTestCasesResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3BatchRunTestCasesResponse raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3PageInfoFormInfo: Represents form -// information. -type GoogleCloudDialogflowCxV3PageInfoFormInfo struct { - // ParameterInfo: Optional for both WebhookRequest and WebhookResponse. - // The parameters contained in the form. Note that the webhook cannot - // add or remove any form parameter. - ParameterInfo []*GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo `json:"parameterInfo,omitempty"` +// GoogleCloudDialogflowCxV3ConversationTurn: One interaction between a +// human and virtual agent. The human provides some input and the +// virtual agent provides a response. +type GoogleCloudDialogflowCxV3ConversationTurn struct { + // UserInput: The user input. + UserInput *GoogleCloudDialogflowCxV3ConversationTurnUserInput `json:"userInput,omitempty"` - // ForceSendFields is a list of field names (e.g. "ParameterInfo") to + // VirtualAgentOutput: The virtual agent output. + VirtualAgentOutput *GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput `json:"virtualAgentOutput,omitempty"` + + // ForceSendFields is a list of field names (e.g. "UserInput") 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 @@ -665,62 +666,92 @@ type GoogleCloudDialogflowCxV3PageInfoFormInfo struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "ParameterInfo") 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 + // NullFields is a list of field names (e.g. "UserInput") 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 *GoogleCloudDialogflowCxV3PageInfoFormInfo) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3PageInfoFormInfo +func (s *GoogleCloudDialogflowCxV3ConversationTurn) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3ConversationTurn raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo: Represents -// parameter information. -type GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo struct { - // DisplayName: Always present for WebhookRequest. Required for - // WebhookResponse. The human-readable name of the parameter, unique - // within the form. This field cannot be modified by the webhook. - DisplayName string `json:"displayName,omitempty"` +// GoogleCloudDialogflowCxV3ConversationTurnUserInput: The input from +// the human user. +type GoogleCloudDialogflowCxV3ConversationTurnUserInput struct { + // InjectedParameters: Parameters that need to be injected into the + // conversation during intent detection. + InjectedParameters googleapi.RawMessage `json:"injectedParameters,omitempty"` - // JustCollected: Optional for WebhookRequest. Ignored for - // WebhookResponse. Indicates if the parameter value was just collected - // on the last conversation turn. - JustCollected bool `json:"justCollected,omitempty"` + // Input: Supports text input, event input, dtmf input in the test case. + Input *GoogleCloudDialogflowCxV3QueryInput `json:"input,omitempty"` - // Required: Optional for both WebhookRequest and WebhookResponse. - // Indicates whether the parameter is required. Optional parameters will - // not trigger prompts; however, they are filled if the user specifies - // them. Required parameters must be filled before form filling - // concludes. - Required bool `json:"required,omitempty"` + // IsWebhookEnabled: If webhooks should be allowed to trigger in + // response to the user utterance. Often if parameters are injected, + // webhooks should not be enabled. + IsWebhookEnabled bool `json:"isWebhookEnabled,omitempty"` - // State: Always present for WebhookRequest. Required for - // WebhookResponse. The state of the parameter. This field can be set to - // INVALID by the webhook to invalidate the parameter; other values set - // by the webhook will be ignored. - // - // Possible values: - // "PARAMETER_STATE_UNSPECIFIED" - Not specified. This value should be - // never used. - // "EMPTY" - Indicates that the parameter does not have a value. - // "INVALID" - Indicates that the parameter value is invalid. This - // field can be used by the webhook to invalidate the parameter and ask - // the server to collect it from the user again. - // "FILLED" - Indicates that the parameter has a value. - State string `json:"state,omitempty"` + // ForceSendFields is a list of field names (e.g. "InjectedParameters") + // 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:"-"` - // Value: Optional for both WebhookRequest and WebhookResponse. The - // value of the parameter. This field can be set by the webhook to - // change the parameter value. - Value interface{} `json:"value,omitempty"` + // NullFields is a list of field names (e.g. "InjectedParameters") 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:"-"` +} - // ForceSendFields is a list of field names (e.g. "DisplayName") to +func (s *GoogleCloudDialogflowCxV3ConversationTurnUserInput) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3ConversationTurnUserInput + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput: The +// output from the virtual agent. +type GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput struct { + // CurrentPage: The Page on which the utterance was spoken. Only some + // fields such as name and displayname will be set. + CurrentPage *GoogleCloudDialogflowCxV3Page `json:"currentPage,omitempty"` + + // DiagnosticInfo: Required. Input only. The diagnostic info output for + // the turn. + DiagnosticInfo googleapi.RawMessage `json:"diagnosticInfo,omitempty"` + + // Differences: Output only. If this is part of a result conversation + // turn, the list of differences between the original run and the replay + // for this output, if any. + Differences []*GoogleCloudDialogflowCxV3TestRunDifference `json:"differences,omitempty"` + + // SessionParameters: The session parameters available to the bot at + // this point. + SessionParameters googleapi.RawMessage `json:"sessionParameters,omitempty"` + + // Status: Response error from the agent in the test result. If set, + // other output is empty. + Status *GoogleRpcStatus `json:"status,omitempty"` + + // TextResponses: The text responses from the agent for the turn. + TextResponses []*GoogleCloudDialogflowCxV3ResponseMessageText `json:"textResponses,omitempty"` + + // TriggeredIntent: The Intent that triggered the response. Only some + // fields such as name and displayname will be set. + TriggeredIntent *GoogleCloudDialogflowCxV3Intent `json:"triggeredIntent,omitempty"` + + // ForceSendFields is a list of field names (e.g. "CurrentPage") 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 @@ -728,7 +759,7 @@ type GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "DisplayName") to include + // NullFields is a list of field names (e.g. "CurrentPage") 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 @@ -737,73 +768,88 @@ type GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo +func (s *GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3ResponseMessage: Represents a response -// message that can be returned by a conversational agent. Response -// messages are also used for output audio synthesis. The approach is as -// follows: * If at least one OutputAudioText response is present, then -// all OutputAudioText responses are linearly concatenated, and the -// result is used for output audio synthesis. * If the OutputAudioText -// responses are a mixture of text and SSML, then the concatenated -// result is treated as SSML; otherwise, the result is treated as either -// text or SSML as appropriate. The agent designer should ideally use -// either text or SSML consistently throughout the bot design. * -// Otherwise, all Text responses are linearly concatenated, and the -// result is used for output audio synthesis. This approach allows for -// more sophisticated user experience scenarios, where the text -// displayed to the user may differ from what is heard. -type GoogleCloudDialogflowCxV3ResponseMessage struct { - // ConversationSuccess: Indicates that the conversation succeeded. - ConversationSuccess *GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess `json:"conversationSuccess,omitempty"` +// GoogleCloudDialogflowCxV3CreateDocumentOperationMetadata: Metadata +// for CreateDocument operation. +type GoogleCloudDialogflowCxV3CreateDocumentOperationMetadata struct { + // GenericMetadata: The generic information of the operation. + GenericMetadata *GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata `json:"genericMetadata,omitempty"` - // EndInteraction: Output only. A signal that indicates the interaction - // with the Dialogflow agent has ended. This message is generated by - // Dialogflow only when the conversation reaches `END_SESSION` or - // `END_PAGE` page. It is not supposed to be defined by the user. It's - // guaranteed that there is at most one such message in each response. - EndInteraction *GoogleCloudDialogflowCxV3ResponseMessageEndInteraction `json:"endInteraction,omitempty"` + // ForceSendFields is a list of field names (e.g. "GenericMetadata") 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:"-"` - // LiveAgentHandoff: Hands off conversation to a human agent. - LiveAgentHandoff *GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff `json:"liveAgentHandoff,omitempty"` + // NullFields is a list of field names (e.g. "GenericMetadata") 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:"-"` +} - // MixedAudio: Output only. An audio response message composed of both - // the synthesized Dialogflow agent responses and responses defined via - // play_audio. This message is generated by Dialogflow only and not - // supposed to be defined by the user. - MixedAudio *GoogleCloudDialogflowCxV3ResponseMessageMixedAudio `json:"mixedAudio,omitempty"` +func (s *GoogleCloudDialogflowCxV3CreateDocumentOperationMetadata) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3CreateDocumentOperationMetadata + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} - // OutputAudioText: A text or ssml response that is preferentially used - // for TTS output audio synthesis, as described in the comment on the - // ResponseMessage message. - OutputAudioText *GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText `json:"outputAudioText,omitempty"` +// GoogleCloudDialogflowCxV3CreateVersionOperationMetadata: Metadata +// associated with the long running operation for +// Versions.CreateVersion. +type GoogleCloudDialogflowCxV3CreateVersionOperationMetadata struct { + // Version: Name of the created version. Format: + // `projects//locations//agents//flows//versions/`. + Version string `json:"version,omitempty"` - // Payload: Returns a response containing a custom, platform-specific - // payload. - Payload googleapi.RawMessage `json:"payload,omitempty"` + // ForceSendFields is a list of field names (e.g. "Version") 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:"-"` - // PlayAudio: Signal that the client should play an audio clip hosted at - // a client-specific URI. Dialogflow uses this to construct mixed_audio. - // However, Dialogflow itself does not try to read or process the URI in - // any way. - PlayAudio *GoogleCloudDialogflowCxV3ResponseMessagePlayAudio `json:"playAudio,omitempty"` + // NullFields is a list of field names (e.g. "Version") 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:"-"` +} - // Text: Returns a text response. - Text *GoogleCloudDialogflowCxV3ResponseMessageText `json:"text,omitempty"` +func (s *GoogleCloudDialogflowCxV3CreateVersionOperationMetadata) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3CreateVersionOperationMetadata + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} - // ForceSendFields is a list of field names (e.g. "ConversationSuccess") - // to unconditionally include in API requests. By default, fields with +// GoogleCloudDialogflowCxV3DeleteDocumentOperationMetadata: Metadata +// for DeleteDocument operation. +type GoogleCloudDialogflowCxV3DeleteDocumentOperationMetadata struct { + // GenericMetadata: The generic information of the operation. + GenericMetadata *GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata `json:"genericMetadata,omitempty"` + + // ForceSendFields is a list of field names (e.g. "GenericMetadata") 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. "ConversationSuccess") to + // NullFields is a list of field names (e.g. "GenericMetadata") 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 @@ -813,29 +859,22 @@ type GoogleCloudDialogflowCxV3ResponseMessage struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3ResponseMessage) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3ResponseMessage +func (s *GoogleCloudDialogflowCxV3DeleteDocumentOperationMetadata) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3DeleteDocumentOperationMetadata raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess: -// Indicates that the conversation succeeded, i.e., the bot handled the -// issue that the customer talked to it about. Dialogflow only uses this -// to determine which conversations should be counted as successful and -// doesn't process the metadata in this message in any way. Note that -// Dialogflow also considers conversations that get to the conversation -// end page as successful even if they don't return ConversationSuccess. -// You may set this, for example: * In the entry_fulfillment of a Page -// if entering the page indicates that the conversation succeeded. * In -// a webhook response when you determine that you handled the customer -// issue. -type GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess struct { - // Metadata: Custom metadata. Dialogflow doesn't impose any structure on - // this. - Metadata googleapi.RawMessage `json:"metadata,omitempty"` +// GoogleCloudDialogflowCxV3DtmfInput: Represents the input for dtmf +// event. +type GoogleCloudDialogflowCxV3DtmfInput struct { + // Digits: The dtmf digits. + Digits string `json:"digits,omitempty"` - // ForceSendFields is a list of field names (e.g. "Metadata") to + // FinishDigit: The finish digit (if any). + FinishDigit string `json:"finishDigit,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Digits") 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 @@ -843,8 +882,8 @@ type GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Metadata") to include in - // API requests with the JSON null value. By default, fields with empty + // NullFields is a list of field names (e.g. "Digits") 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. @@ -852,34 +891,70 @@ type GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess +func (s *GoogleCloudDialogflowCxV3DtmfInput) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3DtmfInput raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3ResponseMessageEndInteraction: Indicates -// that interaction with the Dialogflow agent has ended. This message is -// generated by Dialogflow only and not supposed to be defined by the -// user. -type GoogleCloudDialogflowCxV3ResponseMessageEndInteraction struct { +// GoogleCloudDialogflowCxV3EventHandler: An event handler specifies an +// event that can be handled during a session. When the specified event +// happens, the following actions are taken in order: * If there is a +// `trigger_fulfillment` associated with the event, it will be called. * +// If there is a `target_page` associated with the event, the session +// will transition into the specified page. * If there is a +// `target_flow` associated with the event, the session will transition +// into the specified flow. +type GoogleCloudDialogflowCxV3EventHandler struct { + // Event: Required. The name of the event to handle. + Event string `json:"event,omitempty"` + + // Name: Output only. The unique identifier of this event handler. + Name string `json:"name,omitempty"` + + // TargetFlow: The target flow to transition to. Format: + // `projects//locations//agents//flows/`. + TargetFlow string `json:"targetFlow,omitempty"` + + // TargetPage: The target page to transition to. Format: + // `projects//locations//agents//flows//pages/`. + TargetPage string `json:"targetPage,omitempty"` + + // TriggerFulfillment: The fulfillment to call when the event occurs. + // Handling webhook errors with a fulfillment enabled with webhook could + // cause infinite loop. It is invalid to specify such fulfillment for a + // handler handling webhooks. + TriggerFulfillment *GoogleCloudDialogflowCxV3Fulfillment `json:"triggerFulfillment,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Event") 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. "Event") 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:"-"` } -// GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff: Indicates -// that the conversation should be handed off to a live agent. -// Dialogflow only uses this to determine which conversations were -// handed off to a human agent for measurement purposes. What else to do -// with this signal is up to you and your handoff procedures. You may -// set this, for example: * In the entry_fulfillment of a Page if -// entering the page indicates something went extremely wrong in the -// conversation. * In a webhook response when you determine that the -// customer issue can only be handled by a human. -type GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff struct { - // Metadata: Custom metadata for your handoff procedure. Dialogflow - // doesn't impose any structure on this. - Metadata googleapi.RawMessage `json:"metadata,omitempty"` +func (s *GoogleCloudDialogflowCxV3EventHandler) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3EventHandler + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} - // ForceSendFields is a list of field names (e.g. "Metadata") to +// GoogleCloudDialogflowCxV3EventInput: Represents the event to trigger. +type GoogleCloudDialogflowCxV3EventInput struct { + // Event: Name of the event. + Event string `json:"event,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Event") 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 @@ -887,7 +962,79 @@ type GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Metadata") to include in + // NullFields is a list of field names (e.g. "Event") 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 *GoogleCloudDialogflowCxV3EventInput) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3EventInput + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3ExportAgentResponse: The response message +// for Agents.ExportAgent. +type GoogleCloudDialogflowCxV3ExportAgentResponse struct { + // AgentContent: Uncompressed raw byte content for agent. + AgentContent string `json:"agentContent,omitempty"` + + // AgentUri: The URI to a file containing the exported agent. This field + // is populated only if `agent_uri` is specified in ExportAgentRequest. + AgentUri string `json:"agentUri,omitempty"` + + // ForceSendFields is a list of field names (e.g. "AgentContent") 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. "AgentContent") 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 *GoogleCloudDialogflowCxV3ExportAgentResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3ExportAgentResponse + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3ExportTestCasesMetadata: Metadata returned +// for the TestCases.ExportTestCases long running operation. +type GoogleCloudDialogflowCxV3ExportTestCasesMetadata struct { +} + +// GoogleCloudDialogflowCxV3ExportTestCasesResponse: The response +// message for TestCases.ExportTestCases. +type GoogleCloudDialogflowCxV3ExportTestCasesResponse struct { + // Content: Uncompressed raw byte content for test cases. + Content string `json:"content,omitempty"` + + // GcsUri: The URI to a file containing the exported test cases. This + // field is populated only if `gcs_uri` is specified in + // ExportTestCasesRequest. + GcsUri string `json:"gcsUri,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Content") 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. "Content") 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 @@ -896,23 +1043,23 @@ type GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff +func (s *GoogleCloudDialogflowCxV3ExportTestCasesResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3ExportTestCasesResponse raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3ResponseMessageMixedAudio: Represents an -// audio message that is composed of both segments synthesized from the -// Dialogflow agent prompts and ones hosted externally at the specified -// URIs. The external URIs are specified via play_audio. This message is -// generated by Dialogflow only and not supposed to be defined by the -// user. -type GoogleCloudDialogflowCxV3ResponseMessageMixedAudio struct { - // Segments: Segments this audio response is composed of. - Segments []*GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment `json:"segments,omitempty"` +// GoogleCloudDialogflowCxV3Form: A form is a data model that groups +// related parameters that can be collected from the user. The process +// in which the agent prompts the user and collects parameter values +// from the user is called form filling. A form can be added to a page. +// When form filling is done, the filled parameters will be written to +// the session. +type GoogleCloudDialogflowCxV3Form struct { + // Parameters: Parameters to collect from the user. + Parameters []*GoogleCloudDialogflowCxV3FormParameter `json:"parameters,omitempty"` - // ForceSendFields is a list of field names (e.g. "Segments") to + // ForceSendFields is a list of field names (e.g. "Parameters") 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 @@ -920,7 +1067,7 @@ type GoogleCloudDialogflowCxV3ResponseMessageMixedAudio struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Segments") to include in + // NullFields is a list of field names (e.g. "Parameters") 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 @@ -929,30 +1076,106 @@ type GoogleCloudDialogflowCxV3ResponseMessageMixedAudio struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3ResponseMessageMixedAudio) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3ResponseMessageMixedAudio +func (s *GoogleCloudDialogflowCxV3Form) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3Form raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment: Represents -// one segment of audio. -type GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment struct { - // AllowPlaybackInterruption: Output only. Whether the playback of this - // segment can be interrupted by the end user's speech and the client - // should then start the next Dialogflow request. - AllowPlaybackInterruption bool `json:"allowPlaybackInterruption,omitempty"` +// GoogleCloudDialogflowCxV3FormParameter: Represents a form parameter. +type GoogleCloudDialogflowCxV3FormParameter struct { + // DefaultValue: The default value of an optional parameter. If the + // parameter is required, the default value will be ignored. + DefaultValue interface{} `json:"defaultValue,omitempty"` - // Audio: Raw audio synthesized from the Dialogflow agent's response - // using the output config specified in the request. - Audio string `json:"audio,omitempty"` + // DisplayName: Required. The human-readable name of the parameter, + // unique within the form. + DisplayName string `json:"displayName,omitempty"` - // Uri: Client-specific URI that points to an audio clip accessible to - // the client. Dialogflow does not impose any validation on it. - Uri string `json:"uri,omitempty"` + // EntityType: Required. The entity type of the parameter. Format: + // `projects/-/locations/-/agents/-/entityTypes/` for system entity + // types (for example, + // `projects/-/locations/-/agents/-/entityTypes/sys.date`), or + // `projects//locations//agents//entityTypes/` for developer entity + // types. + EntityType string `json:"entityType,omitempty"` + + // FillBehavior: Required. Defines fill behavior for the parameter. + FillBehavior *GoogleCloudDialogflowCxV3FormParameterFillBehavior `json:"fillBehavior,omitempty"` + + // IsList: Indicates whether the parameter represents a list of values. + IsList bool `json:"isList,omitempty"` + + // Redact: Indicates whether the parameter content is logged in text and + // audio. If it is set to true, the parameter content will be replaced + // to parameter name in both request and response. The default value is + // false. + Redact bool `json:"redact,omitempty"` + + // Required: Indicates whether the parameter is required. Optional + // parameters will not trigger prompts; however, they are filled if the + // user specifies them. Required parameters must be filled before form + // filling concludes. + Required bool `json:"required,omitempty"` + + // ForceSendFields is a list of field names (e.g. "DefaultValue") 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. "DefaultValue") 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 *GoogleCloudDialogflowCxV3FormParameter) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3FormParameter + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3FormParameterFillBehavior: Configuration for +// how the filling of a parameter should be handled. +type GoogleCloudDialogflowCxV3FormParameterFillBehavior struct { + // InitialPromptFulfillment: Required. The fulfillment to provide the + // initial prompt that the agent can present to the user in order to + // fill the parameter. + InitialPromptFulfillment *GoogleCloudDialogflowCxV3Fulfillment `json:"initialPromptFulfillment,omitempty"` + + // RepromptEventHandlers: The handlers for parameter-level events, used + // to provide reprompt for the parameter or transition to a different + // page/flow. The supported events are: * `sys.no-match-`, where N can + // be from 1 to 6 * `sys.no-match-default` * `sys.no-input-`, where N + // can be from 1 to 6 * `sys.no-input-default` * `sys.invalid-parameter` + // `initial_prompt_fulfillment` provides the first prompt for the + // parameter. If the user's response does not fill the parameter, a + // no-match/no-input event will be triggered, and the fulfillment + // associated with the `sys.no-match-1`/`sys.no-input-1` handler (if + // defined) will be called to provide a prompt. The + // `sys.no-match-2`/`sys.no-input-2` handler (if defined) will respond + // to the next no-match/no-input event, and so on. A + // `sys.no-match-default` or `sys.no-input-default` handler will be used + // to handle all following no-match/no-input events after all numbered + // no-match/no-input handlers for the parameter are consumed. A + // `sys.invalid-parameter` handler can be defined to handle the case + // where the parameter values have been `invalidated` by webhook. For + // example, if the user's response fill the parameter, however the + // parameter was invalidated by webhook, the fulfillment associated with + // the `sys.invalid-parameter` handler (if defined) will be called to + // provide a prompt. If the event handler for the corresponding event + // can't be found on the parameter, `initial_prompt_fulfillment` will be + // re-prompted. + RepromptEventHandlers []*GoogleCloudDialogflowCxV3EventHandler `json:"repromptEventHandlers,omitempty"` // ForceSendFields is a list of field names (e.g. - // "AllowPlaybackInterruption") to unconditionally include in API + // "InitialPromptFulfillment") 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 @@ -960,156 +1183,2971 @@ type GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment struct { // Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. - // "AllowPlaybackInterruption") 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. "InitialPromptFulfillment") + // 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 *GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment +func (s *GoogleCloudDialogflowCxV3FormParameterFillBehavior) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3FormParameterFillBehavior raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText: A text or -// ssml response that is preferentially used for TTS output audio -// synthesis, as described in the comment on the ResponseMessage -// message. -type GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText struct { - // AllowPlaybackInterruption: Output only. Whether the playback of this - // message can be interrupted by the end user's speech and the client - // can then starts the next Dialogflow request. - AllowPlaybackInterruption bool `json:"allowPlaybackInterruption,omitempty"` +// GoogleCloudDialogflowCxV3Fulfillment: A fulfillment can do one or +// more of the following actions at the same time: * Generate rich +// message responses. * Set parameter values. * Call the webhook. +// Fulfillments can be called at various stages in the Page or Form +// lifecycle. For example, when a DetectIntentRequest drives a session +// to enter a new page, the page's entry fulfillment can add a static +// response to the QueryResult in the returning DetectIntentResponse, +// call the webhook (for example, to load user data from a database), or +// both. +type GoogleCloudDialogflowCxV3Fulfillment struct { + // ConditionalCases: Conditional cases for this fulfillment. + ConditionalCases []*GoogleCloudDialogflowCxV3FulfillmentConditionalCases `json:"conditionalCases,omitempty"` - // Ssml: The SSML text to be synthesized. For more information, see - // [SSML](/speech/text-to-speech/docs/ssml). - Ssml string `json:"ssml,omitempty"` + // Messages: The list of rich message responses to present to the user. + Messages []*GoogleCloudDialogflowCxV3ResponseMessage `json:"messages,omitempty"` - // Text: The raw text to be synthesized. - Text string `json:"text,omitempty"` + // SetParameterActions: Set parameter values before executing the + // webhook. + SetParameterActions []*GoogleCloudDialogflowCxV3FulfillmentSetParameterAction `json:"setParameterActions,omitempty"` - // ForceSendFields is a list of field names (e.g. - // "AllowPlaybackInterruption") 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. + // Tag: The tag used by the webhook to identify which fulfillment is + // being called. This field is required if `webhook` is specified. + Tag string `json:"tag,omitempty"` + + // Webhook: The webhook to call. Format: + // `projects//locations//agents//webhooks/`. + Webhook string `json:"webhook,omitempty"` + + // ForceSendFields is a list of field names (e.g. "ConditionalCases") 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. - // "AllowPlaybackInterruption") 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. "ConditionalCases") 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 *GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText +func (s *GoogleCloudDialogflowCxV3Fulfillment) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3Fulfillment raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3ResponseMessagePlayAudio: Specifies an audio -// clip to be played by the client as part of the response. -type GoogleCloudDialogflowCxV3ResponseMessagePlayAudio struct { - // AllowPlaybackInterruption: Output only. Whether the playback of this - // message can be interrupted by the end user's speech and the client - // can then starts the next Dialogflow request. - AllowPlaybackInterruption bool `json:"allowPlaybackInterruption,omitempty"` +// GoogleCloudDialogflowCxV3FulfillmentConditionalCases: A list of +// cascading if-else conditions. Cases are mutually exclusive. The first +// one with a matching condition is selected, all the rest ignored. +type GoogleCloudDialogflowCxV3FulfillmentConditionalCases struct { + // Cases: A list of cascading if-else conditions. + Cases []*GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCase `json:"cases,omitempty"` - // AudioUri: Required. URI of the audio clip. Dialogflow does not impose - // any validation on this value. It is specific to the client that reads - // it. - AudioUri string `json:"audioUri,omitempty"` + // ForceSendFields is a list of field names (e.g. "Cases") 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. "Cases") 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 *GoogleCloudDialogflowCxV3FulfillmentConditionalCases) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3FulfillmentConditionalCases + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCase: Each case +// has a Boolean condition. When it is evaluated to be True, the +// corresponding messages will be selected and evaluated recursively. +type GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCase struct { + // CaseContent: A list of case content. + CaseContent []*GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseCaseContent `json:"caseContent,omitempty"` + + // Condition: The condition to activate and select this case. Empty + // means the condition is always true. The condition is evaluated + // against form parameters or session parameters. See the [conditions + // reference](https://cloud.google.com/dialogflow/cx/docs/reference/condi + // tion). + Condition string `json:"condition,omitempty"` + + // ForceSendFields is a list of field names (e.g. "CaseContent") 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. "CaseContent") 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 *GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCase) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCase + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseCaseContent: +// The list of messages or conditional cases to activate for this case. +type GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseCaseContent struct { + // AdditionalCases: Additional cases to be evaluated. + AdditionalCases *GoogleCloudDialogflowCxV3FulfillmentConditionalCases `json:"additionalCases,omitempty"` + + // Message: Returned message. + Message *GoogleCloudDialogflowCxV3ResponseMessage `json:"message,omitempty"` + + // ForceSendFields is a list of field names (e.g. "AdditionalCases") 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. "AdditionalCases") 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 *GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseCaseContent) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseCaseContent + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3FulfillmentSetParameterAction: Setting a +// parameter value. +type GoogleCloudDialogflowCxV3FulfillmentSetParameterAction struct { + // Parameter: Display name of the parameter. + Parameter string `json:"parameter,omitempty"` + + // Value: The new value of the parameter. A null value clears the + // parameter. + Value interface{} `json:"value,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Parameter") 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. "Parameter") 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 *GoogleCloudDialogflowCxV3FulfillmentSetParameterAction) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3FulfillmentSetParameterAction + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata: Metadata +// in google::longrunning::Operation for Knowledge operations. +type GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata struct { + // State: Required. Output only. The current state of this operation. + // + // Possible values: + // "STATE_UNSPECIFIED" - State unspecified. + // "PENDING" - The operation has been created. + // "RUNNING" - The operation is currently running. + // "DONE" - The operation is done, either cancelled or completed. + State string `json:"state,omitempty"` + + // ForceSendFields is a list of field names (e.g. "State") 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. "State") 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 *GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3ImportDocumentsOperationMetadata: Metadata +// for ImportDocuments operation. +type GoogleCloudDialogflowCxV3ImportDocumentsOperationMetadata struct { + // GenericMetadata: The generic information of the operation. + GenericMetadata *GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata `json:"genericMetadata,omitempty"` + + // ForceSendFields is a list of field names (e.g. "GenericMetadata") 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. "GenericMetadata") 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 *GoogleCloudDialogflowCxV3ImportDocumentsOperationMetadata) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3ImportDocumentsOperationMetadata + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3ImportDocumentsResponse: Response message +// for Documents.ImportDocuments. +type GoogleCloudDialogflowCxV3ImportDocumentsResponse struct { + // Warnings: Includes details about skipped documents or any other + // warnings. + Warnings []*GoogleRpcStatus `json:"warnings,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Warnings") 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. "Warnings") 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 *GoogleCloudDialogflowCxV3ImportDocumentsResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3ImportDocumentsResponse + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3ImportTestCasesMetadata: Metadata returned +// for the TestCases.ImportTestCases long running operation. +type GoogleCloudDialogflowCxV3ImportTestCasesMetadata struct { + // Errors: Errors for failed test cases. + Errors []*GoogleCloudDialogflowCxV3TestCaseError `json:"errors,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Errors") 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. "Errors") 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 *GoogleCloudDialogflowCxV3ImportTestCasesMetadata) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3ImportTestCasesMetadata + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3ImportTestCasesResponse: The response +// message for TestCases.ImportTestCases. +type GoogleCloudDialogflowCxV3ImportTestCasesResponse struct { + // Names: The unique identifiers of the new test cases. Format: + // `projects//locations//agents//testCases/`. + Names []string `json:"names,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 *GoogleCloudDialogflowCxV3ImportTestCasesResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3ImportTestCasesResponse + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3InputAudioConfig: Instructs the speech +// recognizer on how to process the audio content. +type GoogleCloudDialogflowCxV3InputAudioConfig struct { + // AudioEncoding: Required. Audio encoding of the audio content to + // process. + // + // Possible values: + // "AUDIO_ENCODING_UNSPECIFIED" - Not specified. + // "AUDIO_ENCODING_LINEAR_16" - Uncompressed 16-bit signed + // little-endian samples (Linear PCM). + // "AUDIO_ENCODING_FLAC" - + // [`FLAC`](https://xiph.org/flac/documentation.html) (Free Lossless + // Audio Codec) is the recommended encoding because it is lossless + // (therefore recognition is not compromised) and requires only about + // half the bandwidth of `LINEAR16`. `FLAC` stream encoding supports + // 16-bit and 24-bit samples, however, not all fields in `STREAMINFO` + // are supported. + // "AUDIO_ENCODING_MULAW" - 8-bit samples that compand 14-bit audio + // samples using G.711 PCMU/mu-law. + // "AUDIO_ENCODING_AMR" - Adaptive Multi-Rate Narrowband codec. + // `sample_rate_hertz` must be 8000. + // "AUDIO_ENCODING_AMR_WB" - Adaptive Multi-Rate Wideband codec. + // `sample_rate_hertz` must be 16000. + // "AUDIO_ENCODING_OGG_OPUS" - Opus encoded audio frames in Ogg + // container ([OggOpus](https://wiki.xiph.org/OggOpus)). + // `sample_rate_hertz` must be 16000. + // "AUDIO_ENCODING_SPEEX_WITH_HEADER_BYTE" - Although the use of lossy + // encodings is not recommended, if a very low bitrate encoding is + // required, `OGG_OPUS` is highly preferred over Speex encoding. The + // [Speex](https://speex.org/) encoding supported by Dialogflow API has + // a header byte in each block, as in MIME type + // `audio/x-speex-with-header-byte`. It is a variant of the RTP Speex + // encoding defined in [RFC 5574](https://tools.ietf.org/html/rfc5574). + // The stream is a sequence of blocks, one block per RTP packet. Each + // block starts with a byte containing the length of the block, in + // bytes, followed by one or more frames of Speex data, padded to an + // integral number of bytes (octets) as specified in RFC 5574. In other + // words, each RTP header is replaced with a single byte containing the + // block length. Only Speex wideband is supported. `sample_rate_hertz` + // must be 16000. + AudioEncoding string `json:"audioEncoding,omitempty"` + + // EnableWordInfo: Optional. If `true`, Dialogflow returns + // SpeechWordInfo in StreamingRecognitionResult with information about + // the recognized speech words, e.g. start and end time offsets. If + // false or unspecified, Speech doesn't return any word-level + // information. + EnableWordInfo bool `json:"enableWordInfo,omitempty"` + + // Model: Optional. Which Speech model to select for the given request. + // Select the model best suited to your domain to get best results. If a + // model is not explicitly specified, then we auto-select a model based + // on the parameters in the InputAudioConfig. If enhanced speech model + // is enabled for the agent and an enhanced version of the specified + // model for the language does not exist, then the speech is recognized + // using the standard version of the specified model. Refer to [Cloud + // Speech API + // documentation](https://cloud.google.com/speech-to-text/docs/basics#sel + // ect-model) for more details. + Model string `json:"model,omitempty"` + + // ModelVariant: Optional. Which variant of the Speech model to use. + // + // Possible values: + // "SPEECH_MODEL_VARIANT_UNSPECIFIED" - No model variant specified. In + // this case Dialogflow defaults to USE_BEST_AVAILABLE. + // "USE_BEST_AVAILABLE" - Use the best available variant of the Speech + // model that the caller is eligible for. Please see the [Dialogflow + // docs](https://cloud.google.com/dialogflow/docs/data-logging) for how + // to make your project eligible for enhanced models. + // "USE_STANDARD" - Use standard model variant even if an enhanced + // model is available. See the [Cloud Speech + // documentation](https://cloud.google.com/speech-to-text/docs/enhanced-m + // odels) for details about enhanced models. + // "USE_ENHANCED" - Use an enhanced model variant: * If an enhanced + // variant does not exist for the given model and request language, + // Dialogflow falls back to the standard variant. The [Cloud Speech + // documentation](https://cloud.google.com/speech-to-text/docs/enhanced-m + // odels) describes which models have enhanced variants. * If the API + // caller isn't eligible for enhanced models, Dialogflow returns an + // error. Please see the [Dialogflow + // docs](https://cloud.google.com/dialogflow/docs/data-logging) for how + // to make your project eligible. + ModelVariant string `json:"modelVariant,omitempty"` + + // PhraseHints: Optional. A list of strings containing words and phrases + // that the speech recognizer should recognize with higher likelihood. + // See [the Cloud Speech + // documentation](https://cloud.google.com/speech-to-text/docs/basics#phr + // ase-hints) for more details. + PhraseHints []string `json:"phraseHints,omitempty"` + + // SampleRateHertz: Sample rate (in Hertz) of the audio content sent in + // the query. Refer to [Cloud Speech API + // documentation](https://cloud.google.com/speech-to-text/docs/basics) + // for more details. + SampleRateHertz int64 `json:"sampleRateHertz,omitempty"` + + // SingleUtterance: Optional. If `false` (default), recognition does not + // cease until the client closes the stream. If `true`, the recognizer + // will detect a single spoken utterance in input audio. Recognition + // ceases when it detects the audio's voice has stopped or paused. In + // this case, once a detected intent is received, the client should + // close the stream and start a new request with a new stream as needed. + // Note: This setting is relevant only for streaming methods. + SingleUtterance bool `json:"singleUtterance,omitempty"` + + // ForceSendFields is a list of field names (e.g. "AudioEncoding") 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. "AudioEncoding") 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 *GoogleCloudDialogflowCxV3InputAudioConfig) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3InputAudioConfig + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3Intent: An intent represents a user's intent +// to interact with a conversational agent. You can provide information +// for the Dialogflow API to use to match user input to an intent by +// adding training phrases (i.e., examples of user input) to your +// intent. +type GoogleCloudDialogflowCxV3Intent struct { + // Description: Optional. Human readable description for better + // understanding an intent like its scope, content, result etc. Maximum + // character limit: 140 characters. + Description string `json:"description,omitempty"` + + // DisplayName: Required. The human-readable name of the intent, unique + // within the agent. + DisplayName string `json:"displayName,omitempty"` + + // IsFallback: Indicates whether this is a fallback intent. Currently + // only default fallback intent is allowed in the agent, which is added + // upon agent creation. Adding training phrases to fallback intent is + // useful in the case of requests that are mistakenly matched, since + // training phrases assigned to fallback intents act as negative + // examples that triggers no-match event. + IsFallback bool `json:"isFallback,omitempty"` + + // Labels: Optional. The key/value metadata to label an intent. Labels + // can contain lowercase letters, digits and the symbols '-' and '_'. + // International characters are allowed, including letters from unicase + // alphabets. Keys must start with a letter. Keys and values can be no + // longer than 63 characters and no more than 128 bytes. Prefix "sys." + // is reserved for Dialogflow defined labels. Currently allowed + // Dialogflow defined labels include: * sys.head * sys.contextual The + // above labels do not require value. "sys.head" means the intent is a + // head intent. "sys.contextual" means the intent is a contextual + // intent. + Labels map[string]string `json:"labels,omitempty"` + + // Name: The unique identifier of the intent. Required for the + // Intents.UpdateIntent method. Intents.CreateIntent populates the name + // automatically. Format: `projects//locations//agents//intents/`. + Name string `json:"name,omitempty"` + + // Parameters: The collection of parameters associated with the intent. + Parameters []*GoogleCloudDialogflowCxV3IntentParameter `json:"parameters,omitempty"` + + // Priority: The priority of this intent. Higher numbers represent + // higher priorities. - If the supplied value is unspecified or 0, the + // service translates the value to 500,000, which corresponds to the + // `Normal` priority in the console. - If the supplied value is + // negative, the intent is ignored in runtime detect intent requests. + Priority int64 `json:"priority,omitempty"` + + // TrainingPhrases: The collection of training phrases the agent is + // trained on to identify the intent. + TrainingPhrases []*GoogleCloudDialogflowCxV3IntentTrainingPhrase `json:"trainingPhrases,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 *GoogleCloudDialogflowCxV3Intent) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3Intent + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3IntentInput: Represents the intent to +// trigger programmatically rather than as a result of natural language +// processing. +type GoogleCloudDialogflowCxV3IntentInput struct { + // Intent: Required. The unique identifier of the intent. Format: + // `projects//locations//agents//intents/`. + Intent string `json:"intent,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Intent") 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. "Intent") 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 *GoogleCloudDialogflowCxV3IntentInput) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3IntentInput + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3IntentParameter: Represents an intent +// parameter. +type GoogleCloudDialogflowCxV3IntentParameter struct { + // EntityType: Required. The entity type of the parameter. Format: + // `projects/-/locations/-/agents/-/entityTypes/` for system entity + // types (for example, + // `projects/-/locations/-/agents/-/entityTypes/sys.date`), or + // `projects//locations//agents//entityTypes/` for developer entity + // types. + EntityType string `json:"entityType,omitempty"` + + // Id: Required. The unique identifier of the parameter. This field is + // used by training phrases to annotate their parts. + Id string `json:"id,omitempty"` + + // IsList: Indicates whether the parameter represents a list of values. + IsList bool `json:"isList,omitempty"` + + // Redact: Indicates whether the parameter content is logged in text and + // audio. If it is set to true, the parameter content will be replaced + // to parameter id in both request and response. The default value is + // false. + Redact bool `json:"redact,omitempty"` + + // ForceSendFields is a list of field names (e.g. "EntityType") 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. "EntityType") 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 *GoogleCloudDialogflowCxV3IntentParameter) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3IntentParameter + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3IntentTrainingPhrase: Represents an example +// that the agent is trained on to identify the intent. +type GoogleCloudDialogflowCxV3IntentTrainingPhrase struct { + // Id: Output only. The unique identifier of the training phrase. + Id string `json:"id,omitempty"` + + // Parts: Required. The ordered list of training phrase parts. The parts + // are concatenated in order to form the training phrase. Note: The API + // does not automatically annotate training phrases like the Dialogflow + // Console does. Note: Do not forget to include whitespace at part + // boundaries, so the training phrase is well formatted when the parts + // are concatenated. If the training phrase does not need to be + // annotated with parameters, you just need a single part with only the + // Part.text field set. If you want to annotate the training phrase, you + // must create multiple parts, where the fields of each part are + // populated in one of two ways: - `Part.text` is set to a part of the + // phrase that has no parameters. - `Part.text` is set to a part of the + // phrase that you want to annotate, and the `parameter_id` field is + // set. + Parts []*GoogleCloudDialogflowCxV3IntentTrainingPhrasePart `json:"parts,omitempty"` + + // RepeatCount: Indicates how many times this example was added to the + // intent. + RepeatCount int64 `json:"repeatCount,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Id") 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. "Id") 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 *GoogleCloudDialogflowCxV3IntentTrainingPhrase) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3IntentTrainingPhrase + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3IntentTrainingPhrasePart: Represents a part +// of a training phrase. +type GoogleCloudDialogflowCxV3IntentTrainingPhrasePart struct { + // ParameterId: The parameter used to annotate this part of the training + // phrase. This field is required for annotated parts of the training + // phrase. + ParameterId string `json:"parameterId,omitempty"` + + // Text: Required. The text for this part. + Text string `json:"text,omitempty"` + + // ForceSendFields is a list of field names (e.g. "ParameterId") 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. "ParameterId") 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 *GoogleCloudDialogflowCxV3IntentTrainingPhrasePart) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3IntentTrainingPhrasePart + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3Page: A Dialogflow CX conversation (session) +// can be described and visualized as a state machine. The states of a +// CX session are represented by pages. For each flow, you define many +// pages, where your combined pages can handle a complete conversation +// on the topics the flow is designed for. At any given moment, exactly +// one page is the current page, the current page is considered active, +// and the flow associated with that page is considered active. Every +// flow has a special start page. When a flow initially becomes active, +// the start page page becomes the current page. For each conversational +// turn, the current page will either stay the same or transition to +// another page. You configure each page to collect information from the +// end-user that is relevant for the conversational state represented by +// the page. For more information, see the [Page +// guide](https://cloud.google.com/dialogflow/cx/docs/concept/page). +type GoogleCloudDialogflowCxV3Page struct { + // DisplayName: Required. The human-readable name of the page, unique + // within the agent. + DisplayName string `json:"displayName,omitempty"` + + // EntryFulfillment: The fulfillment to call when the session is + // entering the page. + EntryFulfillment *GoogleCloudDialogflowCxV3Fulfillment `json:"entryFulfillment,omitempty"` + + // EventHandlers: Handlers associated with the page to handle events + // such as webhook errors, no match or no input. + EventHandlers []*GoogleCloudDialogflowCxV3EventHandler `json:"eventHandlers,omitempty"` + + // Form: The form associated with the page, used for collecting + // parameters relevant to the page. + Form *GoogleCloudDialogflowCxV3Form `json:"form,omitempty"` + + // Name: The unique identifier of the page. Required for the + // Pages.UpdatePage method. Pages.CreatePage populates the name + // automatically. Format: `projects//locations//agents//flows//pages/`. + Name string `json:"name,omitempty"` + + // TransitionRouteGroups: Ordered list of `TransitionRouteGroups` + // associated with the page. Transition route groups must be unique + // within a page. * If multiple transition routes within a page scope + // refer to the same intent, then the precedence order is: page's + // transition route -> page's transition route group -> flow's + // transition routes. * If multiple transition route groups within a + // page contain the same intent, then the first group in the ordered + // list takes precedence. + // Format:`projects//locations//agents//flows//transitionRouteGroups/`. + TransitionRouteGroups []string `json:"transitionRouteGroups,omitempty"` + + // TransitionRoutes: A list of transitions for the transition rules of + // this page. They route the conversation to another page in the same + // flow, or another flow. When we are in a certain page, the + // TransitionRoutes are evalauted in the following order: * + // TransitionRoutes defined in the page with intent specified. * + // TransitionRoutes defined in the transition route groups. * + // TransitionRoutes defined in flow with intent specified. * + // TransitionRoutes defined in the page with only condition specified. + TransitionRoutes []*GoogleCloudDialogflowCxV3TransitionRoute `json:"transitionRoutes,omitempty"` + + // ForceSendFields is a list of field names (e.g. "DisplayName") 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. "DisplayName") 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 *GoogleCloudDialogflowCxV3Page) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3Page + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3PageInfo: Represents page information +// communicated to and from the webhook. +type GoogleCloudDialogflowCxV3PageInfo struct { + // CurrentPage: Always present for WebhookRequest. Ignored for + // WebhookResponse. The unique identifier of the current page. Format: + // `projects//locations//agents//flows//pages/`. + CurrentPage string `json:"currentPage,omitempty"` + + // FormInfo: Optional for both WebhookRequest and WebhookResponse. + // Information about the form. + FormInfo *GoogleCloudDialogflowCxV3PageInfoFormInfo `json:"formInfo,omitempty"` + + // ForceSendFields is a list of field names (e.g. "CurrentPage") 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. "CurrentPage") 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 *GoogleCloudDialogflowCxV3PageInfo) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3PageInfo + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3PageInfoFormInfo: Represents form +// information. +type GoogleCloudDialogflowCxV3PageInfoFormInfo struct { + // ParameterInfo: Optional for both WebhookRequest and WebhookResponse. + // The parameters contained in the form. Note that the webhook cannot + // add or remove any form parameter. + ParameterInfo []*GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo `json:"parameterInfo,omitempty"` + + // ForceSendFields is a list of field names (e.g. "ParameterInfo") 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. "ParameterInfo") 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 *GoogleCloudDialogflowCxV3PageInfoFormInfo) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3PageInfoFormInfo + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo: Represents +// parameter information. +type GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo struct { + // DisplayName: Always present for WebhookRequest. Required for + // WebhookResponse. The human-readable name of the parameter, unique + // within the form. This field cannot be modified by the webhook. + DisplayName string `json:"displayName,omitempty"` + + // JustCollected: Optional for WebhookRequest. Ignored for + // WebhookResponse. Indicates if the parameter value was just collected + // on the last conversation turn. + JustCollected bool `json:"justCollected,omitempty"` + + // Required: Optional for both WebhookRequest and WebhookResponse. + // Indicates whether the parameter is required. Optional parameters will + // not trigger prompts; however, they are filled if the user specifies + // them. Required parameters must be filled before form filling + // concludes. + Required bool `json:"required,omitempty"` + + // State: Always present for WebhookRequest. Required for + // WebhookResponse. The state of the parameter. This field can be set to + // INVALID by the webhook to invalidate the parameter; other values set + // by the webhook will be ignored. + // + // Possible values: + // "PARAMETER_STATE_UNSPECIFIED" - Not specified. This value should be + // never used. + // "EMPTY" - Indicates that the parameter does not have a value. + // "INVALID" - Indicates that the parameter value is invalid. This + // field can be used by the webhook to invalidate the parameter and ask + // the server to collect it from the user again. + // "FILLED" - Indicates that the parameter has a value. + State string `json:"state,omitempty"` + + // Value: Optional for both WebhookRequest and WebhookResponse. The + // value of the parameter. This field can be set by the webhook to + // change the parameter value. + Value interface{} `json:"value,omitempty"` + + // ForceSendFields is a list of field names (e.g. "DisplayName") 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. "DisplayName") 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 *GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3QueryInput: Represents the query input. It +// can contain one of: 1. A conversational query in the form of text. 2. +// An intent query that specifies which intent to trigger. 3. Natural +// language speech audio to be processed. 4. An event to be triggered. +type GoogleCloudDialogflowCxV3QueryInput struct { + // Audio: The natural language speech audio to be processed. + Audio *GoogleCloudDialogflowCxV3AudioInput `json:"audio,omitempty"` + + // Dtmf: The DTMF event to be handled. + Dtmf *GoogleCloudDialogflowCxV3DtmfInput `json:"dtmf,omitempty"` + + // Event: The event to be triggered. + Event *GoogleCloudDialogflowCxV3EventInput `json:"event,omitempty"` + + // Intent: The intent to be triggered. + Intent *GoogleCloudDialogflowCxV3IntentInput `json:"intent,omitempty"` + + // LanguageCode: Required. The language of the input. See [Language + // Support](https://cloud.google.com/dialogflow/docs/reference/language) + // for a list of the currently supported language codes. Note that + // queries in the same session do not necessarily need to specify the + // same language. + LanguageCode string `json:"languageCode,omitempty"` + + // Text: The natural language text to be processed. + Text *GoogleCloudDialogflowCxV3TextInput `json:"text,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Audio") 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. "Audio") 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 *GoogleCloudDialogflowCxV3QueryInput) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3QueryInput + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3ReloadDocumentOperationMetadata: Metadata +// for ReloadDocument operation. +type GoogleCloudDialogflowCxV3ReloadDocumentOperationMetadata struct { + // GenericMetadata: The generic information of the operation. + GenericMetadata *GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata `json:"genericMetadata,omitempty"` + + // ForceSendFields is a list of field names (e.g. "GenericMetadata") 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. "GenericMetadata") 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 *GoogleCloudDialogflowCxV3ReloadDocumentOperationMetadata) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3ReloadDocumentOperationMetadata + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3ResponseMessage: Represents a response +// message that can be returned by a conversational agent. Response +// messages are also used for output audio synthesis. The approach is as +// follows: * If at least one OutputAudioText response is present, then +// all OutputAudioText responses are linearly concatenated, and the +// result is used for output audio synthesis. * If the OutputAudioText +// responses are a mixture of text and SSML, then the concatenated +// result is treated as SSML; otherwise, the result is treated as either +// text or SSML as appropriate. The agent designer should ideally use +// either text or SSML consistently throughout the bot design. * +// Otherwise, all Text responses are linearly concatenated, and the +// result is used for output audio synthesis. This approach allows for +// more sophisticated user experience scenarios, where the text +// displayed to the user may differ from what is heard. +type GoogleCloudDialogflowCxV3ResponseMessage struct { + // ConversationSuccess: Indicates that the conversation succeeded. + ConversationSuccess *GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess `json:"conversationSuccess,omitempty"` + + // EndInteraction: Output only. A signal that indicates the interaction + // with the Dialogflow agent has ended. This message is generated by + // Dialogflow only when the conversation reaches `END_SESSION` or + // `END_PAGE` page. It is not supposed to be defined by the user. It's + // guaranteed that there is at most one such message in each response. + EndInteraction *GoogleCloudDialogflowCxV3ResponseMessageEndInteraction `json:"endInteraction,omitempty"` + + // LiveAgentHandoff: Hands off conversation to a human agent. + LiveAgentHandoff *GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff `json:"liveAgentHandoff,omitempty"` + + // MixedAudio: Output only. An audio response message composed of both + // the synthesized Dialogflow agent responses and responses defined via + // play_audio. This message is generated by Dialogflow only and not + // supposed to be defined by the user. + MixedAudio *GoogleCloudDialogflowCxV3ResponseMessageMixedAudio `json:"mixedAudio,omitempty"` + + // OutputAudioText: A text or ssml response that is preferentially used + // for TTS output audio synthesis, as described in the comment on the + // ResponseMessage message. + OutputAudioText *GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText `json:"outputAudioText,omitempty"` + + // Payload: Returns a response containing a custom, platform-specific + // payload. + Payload googleapi.RawMessage `json:"payload,omitempty"` + + // PlayAudio: Signal that the client should play an audio clip hosted at + // a client-specific URI. Dialogflow uses this to construct mixed_audio. + // However, Dialogflow itself does not try to read or process the URI in + // any way. + PlayAudio *GoogleCloudDialogflowCxV3ResponseMessagePlayAudio `json:"playAudio,omitempty"` + + // Text: Returns a text response. + Text *GoogleCloudDialogflowCxV3ResponseMessageText `json:"text,omitempty"` + + // ForceSendFields is a list of field names (e.g. "ConversationSuccess") + // 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. "ConversationSuccess") 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 *GoogleCloudDialogflowCxV3ResponseMessage) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3ResponseMessage + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess: +// Indicates that the conversation succeeded, i.e., the bot handled the +// issue that the customer talked to it about. Dialogflow only uses this +// to determine which conversations should be counted as successful and +// doesn't process the metadata in this message in any way. Note that +// Dialogflow also considers conversations that get to the conversation +// end page as successful even if they don't return ConversationSuccess. +// You may set this, for example: * In the entry_fulfillment of a Page +// if entering the page indicates that the conversation succeeded. * In +// a webhook response when you determine that you handled the customer +// issue. +type GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess struct { + // Metadata: Custom metadata. Dialogflow doesn't impose any structure on + // this. + Metadata googleapi.RawMessage `json:"metadata,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Metadata") 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. "Metadata") 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 *GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3ResponseMessageEndInteraction: Indicates +// that interaction with the Dialogflow agent has ended. This message is +// generated by Dialogflow only and not supposed to be defined by the +// user. +type GoogleCloudDialogflowCxV3ResponseMessageEndInteraction struct { +} + +// GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff: Indicates +// that the conversation should be handed off to a live agent. +// Dialogflow only uses this to determine which conversations were +// handed off to a human agent for measurement purposes. What else to do +// with this signal is up to you and your handoff procedures. You may +// set this, for example: * In the entry_fulfillment of a Page if +// entering the page indicates something went extremely wrong in the +// conversation. * In a webhook response when you determine that the +// customer issue can only be handled by a human. +type GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff struct { + // Metadata: Custom metadata for your handoff procedure. Dialogflow + // doesn't impose any structure on this. + Metadata googleapi.RawMessage `json:"metadata,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Metadata") 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. "Metadata") 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 *GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3ResponseMessageMixedAudio: Represents an +// audio message that is composed of both segments synthesized from the +// Dialogflow agent prompts and ones hosted externally at the specified +// URIs. The external URIs are specified via play_audio. This message is +// generated by Dialogflow only and not supposed to be defined by the +// user. +type GoogleCloudDialogflowCxV3ResponseMessageMixedAudio struct { + // Segments: Segments this audio response is composed of. + Segments []*GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment `json:"segments,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Segments") 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. "Segments") 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 *GoogleCloudDialogflowCxV3ResponseMessageMixedAudio) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3ResponseMessageMixedAudio + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment: Represents +// one segment of audio. +type GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment struct { + // AllowPlaybackInterruption: Output only. Whether the playback of this + // segment can be interrupted by the end user's speech and the client + // should then start the next Dialogflow request. + AllowPlaybackInterruption bool `json:"allowPlaybackInterruption,omitempty"` + + // Audio: Raw audio synthesized from the Dialogflow agent's response + // using the output config specified in the request. + Audio string `json:"audio,omitempty"` + + // Uri: Client-specific URI that points to an audio clip accessible to + // the client. Dialogflow does not impose any validation on it. + Uri string `json:"uri,omitempty"` + + // ForceSendFields is a list of field names (e.g. + // "AllowPlaybackInterruption") 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. + // "AllowPlaybackInterruption") 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 *GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText: A text or +// ssml response that is preferentially used for TTS output audio +// synthesis, as described in the comment on the ResponseMessage +// message. +type GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText struct { + // AllowPlaybackInterruption: Output only. Whether the playback of this + // message can be interrupted by the end user's speech and the client + // can then starts the next Dialogflow request. + AllowPlaybackInterruption bool `json:"allowPlaybackInterruption,omitempty"` + + // Ssml: The SSML text to be synthesized. For more information, see + // [SSML](/speech/text-to-speech/docs/ssml). + Ssml string `json:"ssml,omitempty"` + + // Text: The raw text to be synthesized. + Text string `json:"text,omitempty"` + + // ForceSendFields is a list of field names (e.g. + // "AllowPlaybackInterruption") 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. + // "AllowPlaybackInterruption") 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 *GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3ResponseMessagePlayAudio: Specifies an audio +// clip to be played by the client as part of the response. +type GoogleCloudDialogflowCxV3ResponseMessagePlayAudio struct { + // AllowPlaybackInterruption: Output only. Whether the playback of this + // message can be interrupted by the end user's speech and the client + // can then starts the next Dialogflow request. + AllowPlaybackInterruption bool `json:"allowPlaybackInterruption,omitempty"` + + // AudioUri: Required. URI of the audio clip. Dialogflow does not impose + // any validation on this value. It is specific to the client that reads + // it. + AudioUri string `json:"audioUri,omitempty"` + + // ForceSendFields is a list of field names (e.g. + // "AllowPlaybackInterruption") 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. + // "AllowPlaybackInterruption") 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 *GoogleCloudDialogflowCxV3ResponseMessagePlayAudio) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3ResponseMessagePlayAudio + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3ResponseMessageText: The text response +// message. +type GoogleCloudDialogflowCxV3ResponseMessageText struct { + // AllowPlaybackInterruption: Output only. Whether the playback of this + // message can be interrupted by the end user's speech and the client + // can then starts the next Dialogflow request. + AllowPlaybackInterruption bool `json:"allowPlaybackInterruption,omitempty"` + + // Text: Required. A collection of text responses. + Text []string `json:"text,omitempty"` + + // ForceSendFields is a list of field names (e.g. + // "AllowPlaybackInterruption") 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. + // "AllowPlaybackInterruption") 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 *GoogleCloudDialogflowCxV3ResponseMessageText) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3ResponseMessageText + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3RunTestCaseMetadata: Metadata returned for +// the TestCases.RunTestCase long running operation. +type GoogleCloudDialogflowCxV3RunTestCaseMetadata struct { +} + +// GoogleCloudDialogflowCxV3RunTestCaseResponse: The response message +// for TestCases.RunTestCase. +type GoogleCloudDialogflowCxV3RunTestCaseResponse struct { + // Result: The result. + Result *GoogleCloudDialogflowCxV3TestCaseResult `json:"result,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Result") 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. "Result") 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 *GoogleCloudDialogflowCxV3RunTestCaseResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3RunTestCaseResponse + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3SessionInfo: Represents session information +// communicated to and from the webhook. +type GoogleCloudDialogflowCxV3SessionInfo struct { + // Parameters: Optional for WebhookRequest. Optional for + // WebhookResponse. All parameters collected from forms and intents + // during the session. Parameters can be created, updated, or removed by + // the webhook. To remove a parameter from the session, the webhook + // should explicitly set the parameter value to null in WebhookResponse. + // The map is keyed by parameters' display names. + Parameters googleapi.RawMessage `json:"parameters,omitempty"` + + // Session: Always present for WebhookRequest. Ignored for + // WebhookResponse. The unique identifier of the session. This field can + // be used by the webhook to identify a user. Format: + // `projects//locations//agents//sessions/`. + Session string `json:"session,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Parameters") 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. "Parameters") 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 *GoogleCloudDialogflowCxV3SessionInfo) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3SessionInfo + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3TestCase: Represents a test case. +type GoogleCloudDialogflowCxV3TestCase struct { + // CreationTime: Output only. When the test was created. + CreationTime string `json:"creationTime,omitempty"` + + // DisplayName: Required. The human-readable name of the test case, + // unique within the agent. Limit of 200 characters. + DisplayName string `json:"displayName,omitempty"` + + // LastTestResult: The latest test result. + LastTestResult *GoogleCloudDialogflowCxV3TestCaseResult `json:"lastTestResult,omitempty"` + + // Name: The unique identifier of the test case. + // TestCases.CreateTestCase will populate the name automatically. + // Otherwise use format: `projects//locations//agents/ /testCases/`. + Name string `json:"name,omitempty"` + + // Notes: Additional freeform notes about the test case. Limit of 400 + // characters. + Notes string `json:"notes,omitempty"` + + // Tags: Tags are short descriptions that users may apply to test cases + // for organizational and filtering purposes. Each tag should start with + // "#" and has a limit of 30 characters. + Tags []string `json:"tags,omitempty"` + + // TestCaseConversationTurns: The conversation turns uttered when the + // test case was created, in chronological order. These include the + // canonical set of agent utterances that should occur when the agent is + // working properly. + TestCaseConversationTurns []*GoogleCloudDialogflowCxV3ConversationTurn `json:"testCaseConversationTurns,omitempty"` + + // TestConfig: Config for the test case. + TestConfig *GoogleCloudDialogflowCxV3TestConfig `json:"testConfig,omitempty"` + + // ForceSendFields is a list of field names (e.g. "CreationTime") 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. "CreationTime") 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 *GoogleCloudDialogflowCxV3TestCase) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3TestCase + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3TestCaseError: Error info for importing a +// test. +type GoogleCloudDialogflowCxV3TestCaseError struct { + // Status: The status associated with the test case. + Status *GoogleRpcStatus `json:"status,omitempty"` + + // TestCase: The test case. + TestCase *GoogleCloudDialogflowCxV3TestCase `json:"testCase,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Status") 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. "Status") 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 *GoogleCloudDialogflowCxV3TestCaseError) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3TestCaseError + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3TestCaseResult: Represents a result from +// running a test case in an agent environment. +type GoogleCloudDialogflowCxV3TestCaseResult struct { + // ConversationTurns: The conversation turns uttered during the test + // case replay in chronological order. + ConversationTurns []*GoogleCloudDialogflowCxV3ConversationTurn `json:"conversationTurns,omitempty"` + + // Environment: Optional. Environment where the test was run. If not + // set, it indicates the draft environment. + Environment string `json:"environment,omitempty"` + + // Name: The resource name for the test case result. Format: + // `projects//locations//agents//testCases/ /results/`. + Name string `json:"name,omitempty"` + + // TestResult: Whether the test case passed in the agent environment. + // + // Possible values: + // "TEST_RESULT_UNSPECIFIED" - Not specified. Should never be used. + // "PASSED" - The test passed. + // "FAILED" - The test did not pass. + TestResult string `json:"testResult,omitempty"` + + // TestTime: The time that the test was run. + TestTime string `json:"testTime,omitempty"` + + // ForceSendFields is a list of field names (e.g. "ConversationTurns") + // 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. "ConversationTurns") 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 *GoogleCloudDialogflowCxV3TestCaseResult) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3TestCaseResult + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3TestConfig: Represents configurations for a +// test case. +type GoogleCloudDialogflowCxV3TestConfig struct { + // Flow: Flow name. If not set, default start flow is assumed. Format: + // `projects//locations//agents//flows/`. + Flow string `json:"flow,omitempty"` + + // TrackingParameters: Session parameters to be compared when + // calculating differences. + TrackingParameters []string `json:"trackingParameters,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Flow") 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. "Flow") 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 *GoogleCloudDialogflowCxV3TestConfig) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3TestConfig + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3TestError: Error info for running a test. +type GoogleCloudDialogflowCxV3TestError struct { + // Status: The status associated with the test. + Status *GoogleRpcStatus `json:"status,omitempty"` + + // TestCase: The test case resource name. + TestCase string `json:"testCase,omitempty"` + + // TestTime: The timestamp when the test was completed. + TestTime string `json:"testTime,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Status") 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. "Status") 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 *GoogleCloudDialogflowCxV3TestError) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3TestError + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3TestRunDifference: The description of +// differences between original and replayed agent output. +type GoogleCloudDialogflowCxV3TestRunDifference struct { + // Description: A description of the diff, showing the actual output vs + // expected output. + Description string `json:"description,omitempty"` + + // Type: The type of diff. + // + // Possible values: + // "DIFF_TYPE_UNSPECIFIED" - Should never be used. + // "INTENT" - The intent. + // "PAGE" - The page. + // "PARAMETERS" - The parameters. + // "UTTERANCE" - The message utterance. + Type string `json:"type,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 *GoogleCloudDialogflowCxV3TestRunDifference) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3TestRunDifference + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3TextInput: Represents the natural language +// text to be processed. +type GoogleCloudDialogflowCxV3TextInput struct { + // Text: Required. The UTF-8 encoded natural language text to be + // processed. Text length must not exceed 256 characters. + Text string `json:"text,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Text") 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. "Text") 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 *GoogleCloudDialogflowCxV3TextInput) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3TextInput + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3TransitionRoute: A transition route +// specifies a intent that can be matched and/or a data condition that +// can be evaluated during a session. When a specified transition is +// matched, the following actions are taken in order: * If there is a +// `trigger_fulfillment` associated with the transition, it will be +// called. * If there is a `target_page` associated with the transition, +// the session will transition into the specified page. * If there is a +// `target_flow` associated with the transition, the session will +// transition into the specified flow. +type GoogleCloudDialogflowCxV3TransitionRoute struct { + // Condition: The condition to evaluate against form parameters or + // session parameters. See the [conditions + // reference](https://cloud.google.com/dialogflow/cx/docs/reference/condi + // tion). At least one of `intent` or `condition` must be specified. + // When both `intent` and `condition` are specified, the transition can + // only happen when both are fulfilled. + Condition string `json:"condition,omitempty"` + + // Intent: The unique identifier of an Intent. Format: + // `projects//locations//agents//intents/`. Indicates that the + // transition can only happen when the given intent is matched. At least + // one of `intent` or `condition` must be specified. When both `intent` + // and `condition` are specified, the transition can only happen when + // both are fulfilled. + Intent string `json:"intent,omitempty"` + + // Name: Output only. The unique identifier of this transition route. + Name string `json:"name,omitempty"` + + // TargetFlow: The target flow to transition to. Format: + // `projects//locations//agents//flows/`. + TargetFlow string `json:"targetFlow,omitempty"` + + // TargetPage: The target page to transition to. Format: + // `projects//locations//agents//flows//pages/`. + TargetPage string `json:"targetPage,omitempty"` + + // TriggerFulfillment: The fulfillment to call when the condition is + // satisfied. At least one of `trigger_fulfillment` and `target` must be + // specified. When both are defined, `trigger_fulfillment` is executed + // first. + TriggerFulfillment *GoogleCloudDialogflowCxV3Fulfillment `json:"triggerFulfillment,omitempty"` + + // 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 + // 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. "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 + // 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 *GoogleCloudDialogflowCxV3TransitionRoute) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3TransitionRoute + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3UpdateDocumentOperationMetadata: Metadata +// for UpdateDocument operation. +type GoogleCloudDialogflowCxV3UpdateDocumentOperationMetadata struct { + // GenericMetadata: The generic information of the operation. + GenericMetadata *GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata `json:"genericMetadata,omitempty"` + + // ForceSendFields is a list of field names (e.g. "GenericMetadata") 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. "GenericMetadata") 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 *GoogleCloudDialogflowCxV3UpdateDocumentOperationMetadata) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3UpdateDocumentOperationMetadata + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3WebhookRequest: The request message for a +// webhook call. +type GoogleCloudDialogflowCxV3WebhookRequest struct { + // DetectIntentResponseId: Always present. The unique identifier of the + // DetectIntentResponse that will be returned to the API caller. + DetectIntentResponseId string `json:"detectIntentResponseId,omitempty"` + + // FulfillmentInfo: Always present. Information about the fulfillment + // that triggered this webhook call. + FulfillmentInfo *GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo `json:"fulfillmentInfo,omitempty"` + + // IntentInfo: Information about the last matched intent. + IntentInfo *GoogleCloudDialogflowCxV3WebhookRequestIntentInfo `json:"intentInfo,omitempty"` + + // Messages: The list of rich message responses to present to the user. + // Webhook can choose to append or replace this list in + // WebhookResponse.fulfillment_response; + Messages []*GoogleCloudDialogflowCxV3ResponseMessage `json:"messages,omitempty"` + + // PageInfo: Information about page status. + PageInfo *GoogleCloudDialogflowCxV3PageInfo `json:"pageInfo,omitempty"` + + // Payload: Custom data set in QueryParameters.payload. + Payload googleapi.RawMessage `json:"payload,omitempty"` + + // SessionInfo: Information about session status. + SessionInfo *GoogleCloudDialogflowCxV3SessionInfo `json:"sessionInfo,omitempty"` + + // ForceSendFields is a list of field names (e.g. + // "DetectIntentResponseId") 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. "DetectIntentResponseId") + // 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 *GoogleCloudDialogflowCxV3WebhookRequest) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3WebhookRequest + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo: Represents +// fulfillment information communicated to the webhook. +type GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo struct { + // Tag: Always present. The tag used to identify which fulfillment is + // being called. + Tag string `json:"tag,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Tag") 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. "Tag") 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 *GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3WebhookRequestIntentInfo: Represents intent +// information communicated to the webhook. +type GoogleCloudDialogflowCxV3WebhookRequestIntentInfo struct { + // LastMatchedIntent: Always present. The unique identifier of the last + // matched intent. Format: `projects//locations//agents//intents/`. + LastMatchedIntent string `json:"lastMatchedIntent,omitempty"` + + // Parameters: Parameters identified as a result of intent matching. + // This is a map of the name of the identified parameter to the value of + // the parameter identified from the user's utterance. All parameters + // defined in the matched intent that are identified will be surfaced + // here. + Parameters map[string]GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue `json:"parameters,omitempty"` + + // ForceSendFields is a list of field names (e.g. "LastMatchedIntent") + // 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. "LastMatchedIntent") 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 *GoogleCloudDialogflowCxV3WebhookRequestIntentInfo) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3WebhookRequestIntentInfo + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue: +// Represents a value for an intent parameter. +type GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue struct { + // OriginalValue: Always present. Original text value extracted from + // user utterance. + OriginalValue string `json:"originalValue,omitempty"` + + // ResolvedValue: Always present. Structured value for the parameter + // extracted from user utterance. + ResolvedValue interface{} `json:"resolvedValue,omitempty"` + + // ForceSendFields is a list of field names (e.g. "OriginalValue") 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. "OriginalValue") 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 *GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3WebhookResponse: The response message for a +// webhook call. +type GoogleCloudDialogflowCxV3WebhookResponse struct { + // FulfillmentResponse: The fulfillment response to send to the user. + // This field can be omitted by the webhook if it does not intend to + // send any response to the user. + FulfillmentResponse *GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse `json:"fulfillmentResponse,omitempty"` + + // PageInfo: Information about page status. This field can be omitted by + // the webhook if it does not intend to modify page status. + PageInfo *GoogleCloudDialogflowCxV3PageInfo `json:"pageInfo,omitempty"` + + // Payload: Value to append directly to QueryResult.webhook_payloads. + Payload googleapi.RawMessage `json:"payload,omitempty"` + + // SessionInfo: Information about session status. This field can be + // omitted by the webhook if it does not intend to modify session + // status. + SessionInfo *GoogleCloudDialogflowCxV3SessionInfo `json:"sessionInfo,omitempty"` + + // TargetFlow: The target flow to transition to. Format: + // `projects//locations//agents//flows/`. + TargetFlow string `json:"targetFlow,omitempty"` + + // TargetPage: The target page to transition to. Format: + // `projects//locations//agents//flows//pages/`. + TargetPage string `json:"targetPage,omitempty"` + + // ForceSendFields is a list of field names (e.g. "FulfillmentResponse") + // 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. "FulfillmentResponse") 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 *GoogleCloudDialogflowCxV3WebhookResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3WebhookResponse + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse: +// Represents a fulfillment response to the user. +type GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse struct { + // MergeBehavior: Merge behavior for `messages`. + // + // Possible values: + // "MERGE_BEHAVIOR_UNSPECIFIED" - Not specified. `APPEND` will be + // used. + // "APPEND" - `messages` will be appended to the list of messages + // waiting to be sent to the user. + // "REPLACE" - `messages` will replace the list of messages waiting to + // be sent to the user. + MergeBehavior string `json:"mergeBehavior,omitempty"` + + // Messages: The list of rich message responses to present to the user. + Messages []*GoogleCloudDialogflowCxV3ResponseMessage `json:"messages,omitempty"` + + // ForceSendFields is a list of field names (e.g. "MergeBehavior") 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. "MergeBehavior") 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 *GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3beta1AudioInput: Represents the natural +// speech audio to be processed. +type GoogleCloudDialogflowCxV3beta1AudioInput struct { + // Audio: The natural language speech audio to be processed. A single + // request can contain up to 1 minute of speech audio data. The + // transcribed text cannot contain more than 256 bytes. For + // non-streaming audio detect intent, both `config` and `audio` must be + // provided. For streaming audio detect intent, `config` must be + // provided in the first request and `audio` must be provided in all + // following requests. + Audio string `json:"audio,omitempty"` + + // Config: Required. Instructs the speech recognizer how to process the + // speech audio. + Config *GoogleCloudDialogflowCxV3beta1InputAudioConfig `json:"config,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Audio") 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. "Audio") 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 *GoogleCloudDialogflowCxV3beta1AudioInput) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1AudioInput + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3beta1BatchRunTestCasesMetadata: Metadata +// returned for the TestCases.BatchRunTestCases long running operation. +type GoogleCloudDialogflowCxV3beta1BatchRunTestCasesMetadata struct { + // Errors: The test errors. + Errors []*GoogleCloudDialogflowCxV3beta1TestError `json:"errors,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Errors") 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. "Errors") 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 *GoogleCloudDialogflowCxV3beta1BatchRunTestCasesMetadata) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1BatchRunTestCasesMetadata + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3beta1BatchRunTestCasesResponse: The response +// message for TestCases.BatchRunTestCases. +type GoogleCloudDialogflowCxV3beta1BatchRunTestCasesResponse struct { + // Results: The test case results. The detailed conversation turns are + // empty in this response. + Results []*GoogleCloudDialogflowCxV3beta1TestCaseResult `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 *GoogleCloudDialogflowCxV3beta1BatchRunTestCasesResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1BatchRunTestCasesResponse + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3beta1ConversationTurn: One interaction +// between a human and virtual agent. The human provides some input and +// the virtual agent provides a response. +type GoogleCloudDialogflowCxV3beta1ConversationTurn struct { + // UserInput: The user input. + UserInput *GoogleCloudDialogflowCxV3beta1ConversationTurnUserInput `json:"userInput,omitempty"` + + // VirtualAgentOutput: The virtual agent output. + VirtualAgentOutput *GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput `json:"virtualAgentOutput,omitempty"` + + // ForceSendFields is a list of field names (e.g. "UserInput") 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. "UserInput") 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 *GoogleCloudDialogflowCxV3beta1ConversationTurn) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1ConversationTurn + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3beta1ConversationTurnUserInput: The input +// from the human user. +type GoogleCloudDialogflowCxV3beta1ConversationTurnUserInput struct { + // InjectedParameters: Parameters that need to be injected into the + // conversation during intent detection. + InjectedParameters googleapi.RawMessage `json:"injectedParameters,omitempty"` + + // Input: Supports text input, event input, dtmf input in the test case. + Input *GoogleCloudDialogflowCxV3beta1QueryInput `json:"input,omitempty"` + + // IsWebhookEnabled: If webhooks should be allowed to trigger in + // response to the user utterance. Often if parameters are injected, + // webhooks should not be enabled. + IsWebhookEnabled bool `json:"isWebhookEnabled,omitempty"` + + // ForceSendFields is a list of field names (e.g. "InjectedParameters") + // 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. "InjectedParameters") 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 *GoogleCloudDialogflowCxV3beta1ConversationTurnUserInput) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1ConversationTurnUserInput + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput: The +// output from the virtual agent. +type GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput struct { + // CurrentPage: The Page on which the utterance was spoken. Only some + // fields such as name and displayname will be set. + CurrentPage *GoogleCloudDialogflowCxV3beta1Page `json:"currentPage,omitempty"` + + // DiagnosticInfo: Required. Input only. The diagnostic info output for + // the turn. + DiagnosticInfo googleapi.RawMessage `json:"diagnosticInfo,omitempty"` + + // Differences: Output only. If this is part of a result conversation + // turn, the list of differences between the original run and the replay + // for this output, if any. + Differences []*GoogleCloudDialogflowCxV3beta1TestRunDifference `json:"differences,omitempty"` + + // SessionParameters: The session parameters available to the bot at + // this point. + SessionParameters googleapi.RawMessage `json:"sessionParameters,omitempty"` + + // Status: Response error from the agent in the test result. If set, + // other output is empty. + Status *GoogleRpcStatus `json:"status,omitempty"` + + // TextResponses: The text responses from the agent for the turn. + TextResponses []*GoogleCloudDialogflowCxV3beta1ResponseMessageText `json:"textResponses,omitempty"` + + // TriggeredIntent: The Intent that triggered the response. Only some + // fields such as name and displayname will be set. + TriggeredIntent *GoogleCloudDialogflowCxV3beta1Intent `json:"triggeredIntent,omitempty"` + + // ForceSendFields is a list of field names (e.g. "CurrentPage") 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. "CurrentPage") 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 *GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3beta1CreateDocumentOperationMetadata: +// Metadata for CreateDocument operation. +type GoogleCloudDialogflowCxV3beta1CreateDocumentOperationMetadata struct { + // GenericMetadata: The generic information of the operation. + GenericMetadata *GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata `json:"genericMetadata,omitempty"` + + // ForceSendFields is a list of field names (e.g. "GenericMetadata") 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. "GenericMetadata") 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 *GoogleCloudDialogflowCxV3beta1CreateDocumentOperationMetadata) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1CreateDocumentOperationMetadata + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata: +// Metadata associated with the long running operation for +// Versions.CreateVersion. +type GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata struct { + // Version: Name of the created version. Format: + // `projects//locations//agents//flows//versions/`. + Version string `json:"version,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Version") 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. "Version") 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 *GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3beta1DeleteDocumentOperationMetadata: +// Metadata for DeleteDocument operation. +type GoogleCloudDialogflowCxV3beta1DeleteDocumentOperationMetadata struct { + // GenericMetadata: The generic information of the operation. + GenericMetadata *GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata `json:"genericMetadata,omitempty"` + + // ForceSendFields is a list of field names (e.g. "GenericMetadata") 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. "GenericMetadata") 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 *GoogleCloudDialogflowCxV3beta1DeleteDocumentOperationMetadata) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1DeleteDocumentOperationMetadata + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3beta1DtmfInput: Represents the input for +// dtmf event. +type GoogleCloudDialogflowCxV3beta1DtmfInput struct { + // Digits: The dtmf digits. + Digits string `json:"digits,omitempty"` + + // FinishDigit: The finish digit (if any). + FinishDigit string `json:"finishDigit,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Digits") 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. "Digits") 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 *GoogleCloudDialogflowCxV3beta1DtmfInput) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1DtmfInput + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3beta1EventHandler: An event handler +// specifies an event that can be handled during a session. When the +// specified event happens, the following actions are taken in order: * +// If there is a `trigger_fulfillment` associated with the event, it +// will be called. * If there is a `target_page` associated with the +// event, the session will transition into the specified page. * If +// there is a `target_flow` associated with the event, the session will +// transition into the specified flow. +type GoogleCloudDialogflowCxV3beta1EventHandler struct { + // Event: Required. The name of the event to handle. + Event string `json:"event,omitempty"` + + // Name: Output only. The unique identifier of this event handler. + Name string `json:"name,omitempty"` + + // TargetFlow: The target flow to transition to. Format: + // `projects//locations//agents//flows/`. + TargetFlow string `json:"targetFlow,omitempty"` + + // TargetPage: The target page to transition to. Format: + // `projects//locations//agents//flows//pages/`. + TargetPage string `json:"targetPage,omitempty"` + + // TriggerFulfillment: The fulfillment to call when the event occurs. + // Handling webhook errors with a fulfillment enabled with webhook could + // cause infinite loop. It is invalid to specify such fulfillment for a + // handler handling webhooks. + TriggerFulfillment *GoogleCloudDialogflowCxV3beta1Fulfillment `json:"triggerFulfillment,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Event") 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. "Event") 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 *GoogleCloudDialogflowCxV3beta1EventHandler) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1EventHandler + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3beta1EventInput: Represents the event to +// trigger. +type GoogleCloudDialogflowCxV3beta1EventInput struct { + // Event: Name of the event. + Event string `json:"event,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Event") 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. "Event") 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 *GoogleCloudDialogflowCxV3beta1EventInput) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1EventInput + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3beta1ExportAgentResponse: The response +// message for Agents.ExportAgent. +type GoogleCloudDialogflowCxV3beta1ExportAgentResponse struct { + // AgentContent: Uncompressed raw byte content for agent. + AgentContent string `json:"agentContent,omitempty"` + + // AgentUri: The URI to a file containing the exported agent. This field + // is populated only if `agent_uri` is specified in ExportAgentRequest. + AgentUri string `json:"agentUri,omitempty"` + + // ForceSendFields is a list of field names (e.g. "AgentContent") 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. "AgentContent") 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 *GoogleCloudDialogflowCxV3beta1ExportAgentResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1ExportAgentResponse + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3beta1ExportTestCasesMetadata: Metadata +// returned for the TestCases.ExportTestCases long running operation. +type GoogleCloudDialogflowCxV3beta1ExportTestCasesMetadata struct { +} + +// GoogleCloudDialogflowCxV3beta1ExportTestCasesResponse: The response +// message for TestCases.ExportTestCases. +type GoogleCloudDialogflowCxV3beta1ExportTestCasesResponse struct { + // Content: Uncompressed raw byte content for test cases. + Content string `json:"content,omitempty"` + + // GcsUri: The URI to a file containing the exported test cases. This + // field is populated only if `gcs_uri` is specified in + // ExportTestCasesRequest. + GcsUri string `json:"gcsUri,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Content") 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. "Content") 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 *GoogleCloudDialogflowCxV3beta1ExportTestCasesResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1ExportTestCasesResponse + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3beta1Form: A form is a data model that +// groups related parameters that can be collected from the user. The +// process in which the agent prompts the user and collects parameter +// values from the user is called form filling. A form can be added to a +// page. When form filling is done, the filled parameters will be +// written to the session. +type GoogleCloudDialogflowCxV3beta1Form struct { + // Parameters: Parameters to collect from the user. + Parameters []*GoogleCloudDialogflowCxV3beta1FormParameter `json:"parameters,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Parameters") 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. "Parameters") 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 *GoogleCloudDialogflowCxV3beta1Form) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1Form + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3beta1FormParameter: Represents a form +// parameter. +type GoogleCloudDialogflowCxV3beta1FormParameter struct { + // DefaultValue: The default value of an optional parameter. If the + // parameter is required, the default value will be ignored. + DefaultValue interface{} `json:"defaultValue,omitempty"` + + // DisplayName: Required. The human-readable name of the parameter, + // unique within the form. + DisplayName string `json:"displayName,omitempty"` + + // EntityType: Required. The entity type of the parameter. Format: + // `projects/-/locations/-/agents/-/entityTypes/` for system entity + // types (for example, + // `projects/-/locations/-/agents/-/entityTypes/sys.date`), or + // `projects//locations//agents//entityTypes/` for developer entity + // types. + EntityType string `json:"entityType,omitempty"` + + // FillBehavior: Required. Defines fill behavior for the parameter. + FillBehavior *GoogleCloudDialogflowCxV3beta1FormParameterFillBehavior `json:"fillBehavior,omitempty"` + + // IsList: Indicates whether the parameter represents a list of values. + IsList bool `json:"isList,omitempty"` + + // Redact: Indicates whether the parameter content is logged in text and + // audio. If it is set to true, the parameter content will be replaced + // to parameter name in both request and response. The default value is + // false. + Redact bool `json:"redact,omitempty"` + + // Required: Indicates whether the parameter is required. Optional + // parameters will not trigger prompts; however, they are filled if the + // user specifies them. Required parameters must be filled before form + // filling concludes. + Required bool `json:"required,omitempty"` + + // ForceSendFields is a list of field names (e.g. "DefaultValue") 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. "DefaultValue") 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 *GoogleCloudDialogflowCxV3beta1FormParameter) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1FormParameter + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3beta1FormParameterFillBehavior: +// Configuration for how the filling of a parameter should be handled. +type GoogleCloudDialogflowCxV3beta1FormParameterFillBehavior struct { + // InitialPromptFulfillment: Required. The fulfillment to provide the + // initial prompt that the agent can present to the user in order to + // fill the parameter. + InitialPromptFulfillment *GoogleCloudDialogflowCxV3beta1Fulfillment `json:"initialPromptFulfillment,omitempty"` + + // RepromptEventHandlers: The handlers for parameter-level events, used + // to provide reprompt for the parameter or transition to a different + // page/flow. The supported events are: * `sys.no-match-`, where N can + // be from 1 to 6 * `sys.no-match-default` * `sys.no-input-`, where N + // can be from 1 to 6 * `sys.no-input-default` * `sys.invalid-parameter` + // `initial_prompt_fulfillment` provides the first prompt for the + // parameter. If the user's response does not fill the parameter, a + // no-match/no-input event will be triggered, and the fulfillment + // associated with the `sys.no-match-1`/`sys.no-input-1` handler (if + // defined) will be called to provide a prompt. The + // `sys.no-match-2`/`sys.no-input-2` handler (if defined) will respond + // to the next no-match/no-input event, and so on. A + // `sys.no-match-default` or `sys.no-input-default` handler will be used + // to handle all following no-match/no-input events after all numbered + // no-match/no-input handlers for the parameter are consumed. A + // `sys.invalid-parameter` handler can be defined to handle the case + // where the parameter values have been `invalidated` by webhook. For + // example, if the user's response fill the parameter, however the + // parameter was invalidated by webhook, the fulfillment associated with + // the `sys.invalid-parameter` handler (if defined) will be called to + // provide a prompt. If the event handler for the corresponding event + // can't be found on the parameter, `initial_prompt_fulfillment` will be + // re-prompted. + RepromptEventHandlers []*GoogleCloudDialogflowCxV3beta1EventHandler `json:"repromptEventHandlers,omitempty"` + + // ForceSendFields is a list of field names (e.g. + // "InitialPromptFulfillment") 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. "InitialPromptFulfillment") + // 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 *GoogleCloudDialogflowCxV3beta1FormParameterFillBehavior) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1FormParameterFillBehavior + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3beta1Fulfillment: A fulfillment can do one +// or more of the following actions at the same time: * Generate rich +// message responses. * Set parameter values. * Call the webhook. +// Fulfillments can be called at various stages in the Page or Form +// lifecycle. For example, when a DetectIntentRequest drives a session +// to enter a new page, the page's entry fulfillment can add a static +// response to the QueryResult in the returning DetectIntentResponse, +// call the webhook (for example, to load user data from a database), or +// both. +type GoogleCloudDialogflowCxV3beta1Fulfillment struct { + // ConditionalCases: Conditional cases for this fulfillment. + ConditionalCases []*GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases `json:"conditionalCases,omitempty"` + + // Messages: The list of rich message responses to present to the user. + Messages []*GoogleCloudDialogflowCxV3beta1ResponseMessage `json:"messages,omitempty"` + + // SetParameterActions: Set parameter values before executing the + // webhook. + SetParameterActions []*GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction `json:"setParameterActions,omitempty"` + + // Tag: The tag used by the webhook to identify which fulfillment is + // being called. This field is required if `webhook` is specified. + Tag string `json:"tag,omitempty"` + + // Webhook: The webhook to call. Format: + // `projects//locations//agents//webhooks/`. + Webhook string `json:"webhook,omitempty"` + + // ForceSendFields is a list of field names (e.g. "ConditionalCases") 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. "ConditionalCases") 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 *GoogleCloudDialogflowCxV3beta1Fulfillment) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1Fulfillment + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases: A list of +// cascading if-else conditions. Cases are mutually exclusive. The first +// one with a matching condition is selected, all the rest ignored. +type GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases struct { + // Cases: A list of cascading if-else conditions. + Cases []*GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase `json:"cases,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Cases") 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. "Cases") 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 *GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase: Each +// case has a Boolean condition. When it is evaluated to be True, the +// corresponding messages will be selected and evaluated recursively. +type GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase struct { + // CaseContent: A list of case content. + CaseContent []*GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContent `json:"caseContent,omitempty"` + + // Condition: The condition to activate and select this case. Empty + // means the condition is always true. The condition is evaluated + // against form parameters or session parameters. See the [conditions + // reference](https://cloud.google.com/dialogflow/cx/docs/reference/condi + // tion). + Condition string `json:"condition,omitempty"` + + // ForceSendFields is a list of field names (e.g. "CaseContent") 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. "CaseContent") 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 *GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseConte +// nt: The list of messages or conditional cases to activate for this +// case. +type GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContent struct { + // AdditionalCases: Additional cases to be evaluated. + AdditionalCases *GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases `json:"additionalCases,omitempty"` + + // Message: Returned message. + Message *GoogleCloudDialogflowCxV3beta1ResponseMessage `json:"message,omitempty"` + + // ForceSendFields is a list of field names (e.g. "AdditionalCases") 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. "AdditionalCases") 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 *GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContent) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContent + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction: Setting +// a parameter value. +type GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction struct { + // Parameter: Display name of the parameter. + Parameter string `json:"parameter,omitempty"` + + // Value: The new value of the parameter. A null value clears the + // parameter. + Value interface{} `json:"value,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Parameter") 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. "Parameter") 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 *GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} - // ForceSendFields is a list of field names (e.g. - // "AllowPlaybackInterruption") 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. +// GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata: +// Metadata in google::longrunning::Operation for Knowledge operations. +type GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata struct { + // State: Required. Output only. The current state of this operation. + // + // Possible values: + // "STATE_UNSPECIFIED" - State unspecified. + // "PENDING" - The operation has been created. + // "RUNNING" - The operation is currently running. + // "DONE" - The operation is done, either cancelled or completed. + State string `json:"state,omitempty"` + + // ForceSendFields is a list of field names (e.g. "State") 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. - // "AllowPlaybackInterruption") 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. "State") 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 *GoogleCloudDialogflowCxV3ResponseMessagePlayAudio) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3ResponseMessagePlayAudio +func (s *GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3ResponseMessageText: The text response -// message. -type GoogleCloudDialogflowCxV3ResponseMessageText struct { - // AllowPlaybackInterruption: Output only. Whether the playback of this - // message can be interrupted by the end user's speech and the client - // can then starts the next Dialogflow request. - AllowPlaybackInterruption bool `json:"allowPlaybackInterruption,omitempty"` - - // Text: Required. A collection of text responses. - Text []string `json:"text,omitempty"` +// GoogleCloudDialogflowCxV3beta1ImportDocumentsOperationMetadata: +// Metadata for ImportDocuments operation. +type GoogleCloudDialogflowCxV3beta1ImportDocumentsOperationMetadata struct { + // GenericMetadata: The generic information of the operation. + GenericMetadata *GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata `json:"genericMetadata,omitempty"` - // ForceSendFields is a list of field names (e.g. - // "AllowPlaybackInterruption") 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. "GenericMetadata") 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. - // "AllowPlaybackInterruption") 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. "GenericMetadata") 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 *GoogleCloudDialogflowCxV3ResponseMessageText) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3ResponseMessageText +func (s *GoogleCloudDialogflowCxV3beta1ImportDocumentsOperationMetadata) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1ImportDocumentsOperationMetadata raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3SessionInfo: Represents session information -// communicated to and from the webhook. -type GoogleCloudDialogflowCxV3SessionInfo struct { - // Parameters: Optional for WebhookRequest. Optional for - // WebhookResponse. All parameters collected from forms and intents - // during the session. Parameters can be created, updated, or removed by - // the webhook. To remove a parameter from the session, the webhook - // should explicitly set the parameter value to null in WebhookResponse. - // The map is keyed by parameters' display names. - Parameters googleapi.RawMessage `json:"parameters,omitempty"` - - // Session: Always present for WebhookRequest. Ignored for - // WebhookResponse. The unique identifier of the session. This field can - // be used by the webhook to identify a user. Format: - // `projects//locations//agents//sessions/`. - Session string `json:"session,omitempty"` +// GoogleCloudDialogflowCxV3beta1ImportDocumentsResponse: Response +// message for Documents.ImportDocuments. +type GoogleCloudDialogflowCxV3beta1ImportDocumentsResponse struct { + // Warnings: Includes details about skipped documents or any other + // warnings. + Warnings []*GoogleRpcStatus `json:"warnings,omitempty"` - // ForceSendFields is a list of field names (e.g. "Parameters") to + // ForceSendFields is a list of field names (e.g. "Warnings") 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 @@ -1117,7 +4155,7 @@ type GoogleCloudDialogflowCxV3SessionInfo struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Parameters") to include in + // NullFields is a list of field names (e.g. "Warnings") 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 @@ -1126,73 +4164,49 @@ type GoogleCloudDialogflowCxV3SessionInfo struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3SessionInfo) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3SessionInfo +func (s *GoogleCloudDialogflowCxV3beta1ImportDocumentsResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1ImportDocumentsResponse raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3WebhookRequest: The request message for a -// webhook call. -type GoogleCloudDialogflowCxV3WebhookRequest struct { - // DetectIntentResponseId: Always present. The unique identifier of the - // DetectIntentResponse that will be returned to the API caller. - DetectIntentResponseId string `json:"detectIntentResponseId,omitempty"` - - // FulfillmentInfo: Always present. Information about the fulfillment - // that triggered this webhook call. - FulfillmentInfo *GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo `json:"fulfillmentInfo,omitempty"` - - // IntentInfo: Information about the last matched intent. - IntentInfo *GoogleCloudDialogflowCxV3WebhookRequestIntentInfo `json:"intentInfo,omitempty"` - - // Messages: The list of rich message responses to present to the user. - // Webhook can choose to append or replace this list in - // WebhookResponse.fulfillment_response; - Messages []*GoogleCloudDialogflowCxV3ResponseMessage `json:"messages,omitempty"` - - // PageInfo: Information about page status. - PageInfo *GoogleCloudDialogflowCxV3PageInfo `json:"pageInfo,omitempty"` - - // Payload: Custom data set in QueryParameters.payload. - Payload googleapi.RawMessage `json:"payload,omitempty"` +// GoogleCloudDialogflowCxV3beta1ImportTestCasesMetadata: Metadata +// returned for the TestCases.ImportTestCases long running operation. +type GoogleCloudDialogflowCxV3beta1ImportTestCasesMetadata struct { + // Errors: Errors for failed test cases. + Errors []*GoogleCloudDialogflowCxV3beta1TestCaseError `json:"errors,omitempty"` - // SessionInfo: Information about session status. - SessionInfo *GoogleCloudDialogflowCxV3SessionInfo `json:"sessionInfo,omitempty"` - - // ForceSendFields is a list of field names (e.g. - // "DetectIntentResponseId") 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. "Errors") 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. "DetectIntentResponseId") - // 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. "Errors") 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 *GoogleCloudDialogflowCxV3WebhookRequest) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3WebhookRequest +func (s *GoogleCloudDialogflowCxV3beta1ImportTestCasesMetadata) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1ImportTestCasesMetadata raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo: Represents -// fulfillment information communicated to the webhook. -type GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo struct { - // Tag: Always present. The tag used to identify which fulfillment is - // being called. - Tag string `json:"tag,omitempty"` +// GoogleCloudDialogflowCxV3beta1ImportTestCasesResponse: The response +// message for TestCases.ImportTestCases. +type GoogleCloudDialogflowCxV3beta1ImportTestCasesResponse struct { + // Names: The unique identifiers of the new test cases. Format: + // `projects//locations//agents//testCases/`. + Names []string `json:"names,omitempty"` - // ForceSendFields is a list of field names (e.g. "Tag") to + // 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 @@ -1200,7 +4214,7 @@ type GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Tag") to include in API + // 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 @@ -1209,62 +4223,197 @@ type GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo +func (s *GoogleCloudDialogflowCxV3beta1ImportTestCasesResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1ImportTestCasesResponse raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3WebhookRequestIntentInfo: Represents intent -// information communicated to the webhook. -type GoogleCloudDialogflowCxV3WebhookRequestIntentInfo struct { - // LastMatchedIntent: Always present. The unique identifier of the last - // matched intent. Format: `projects//locations//agents//intents/`. - LastMatchedIntent string `json:"lastMatchedIntent,omitempty"` +// GoogleCloudDialogflowCxV3beta1InputAudioConfig: Instructs the speech +// recognizer on how to process the audio content. +type GoogleCloudDialogflowCxV3beta1InputAudioConfig struct { + // AudioEncoding: Required. Audio encoding of the audio content to + // process. + // + // Possible values: + // "AUDIO_ENCODING_UNSPECIFIED" - Not specified. + // "AUDIO_ENCODING_LINEAR_16" - Uncompressed 16-bit signed + // little-endian samples (Linear PCM). + // "AUDIO_ENCODING_FLAC" - + // [`FLAC`](https://xiph.org/flac/documentation.html) (Free Lossless + // Audio Codec) is the recommended encoding because it is lossless + // (therefore recognition is not compromised) and requires only about + // half the bandwidth of `LINEAR16`. `FLAC` stream encoding supports + // 16-bit and 24-bit samples, however, not all fields in `STREAMINFO` + // are supported. + // "AUDIO_ENCODING_MULAW" - 8-bit samples that compand 14-bit audio + // samples using G.711 PCMU/mu-law. + // "AUDIO_ENCODING_AMR" - Adaptive Multi-Rate Narrowband codec. + // `sample_rate_hertz` must be 8000. + // "AUDIO_ENCODING_AMR_WB" - Adaptive Multi-Rate Wideband codec. + // `sample_rate_hertz` must be 16000. + // "AUDIO_ENCODING_OGG_OPUS" - Opus encoded audio frames in Ogg + // container ([OggOpus](https://wiki.xiph.org/OggOpus)). + // `sample_rate_hertz` must be 16000. + // "AUDIO_ENCODING_SPEEX_WITH_HEADER_BYTE" - Although the use of lossy + // encodings is not recommended, if a very low bitrate encoding is + // required, `OGG_OPUS` is highly preferred over Speex encoding. The + // [Speex](https://speex.org/) encoding supported by Dialogflow API has + // a header byte in each block, as in MIME type + // `audio/x-speex-with-header-byte`. It is a variant of the RTP Speex + // encoding defined in [RFC 5574](https://tools.ietf.org/html/rfc5574). + // The stream is a sequence of blocks, one block per RTP packet. Each + // block starts with a byte containing the length of the block, in + // bytes, followed by one or more frames of Speex data, padded to an + // integral number of bytes (octets) as specified in RFC 5574. In other + // words, each RTP header is replaced with a single byte containing the + // block length. Only Speex wideband is supported. `sample_rate_hertz` + // must be 16000. + AudioEncoding string `json:"audioEncoding,omitempty"` - // Parameters: Parameters identified as a result of intent matching. - // This is a map of the name of the identified parameter to the value of - // the parameter identified from the user's utterance. All parameters - // defined in the matched intent that are identified will be surfaced - // here. - Parameters map[string]GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue `json:"parameters,omitempty"` + // EnableWordInfo: Optional. If `true`, Dialogflow returns + // SpeechWordInfo in StreamingRecognitionResult with information about + // the recognized speech words, e.g. start and end time offsets. If + // false or unspecified, Speech doesn't return any word-level + // information. + EnableWordInfo bool `json:"enableWordInfo,omitempty"` - // ForceSendFields is a list of field names (e.g. "LastMatchedIntent") - // to unconditionally include in API requests. By default, fields with + // Model: Optional. Which Speech model to select for the given request. + // Select the model best suited to your domain to get best results. If a + // model is not explicitly specified, then we auto-select a model based + // on the parameters in the InputAudioConfig. If enhanced speech model + // is enabled for the agent and an enhanced version of the specified + // model for the language does not exist, then the speech is recognized + // using the standard version of the specified model. Refer to [Cloud + // Speech API + // documentation](https://cloud.google.com/speech-to-text/docs/basics#sel + // ect-model) for more details. + Model string `json:"model,omitempty"` + + // ModelVariant: Optional. Which variant of the Speech model to use. + // + // Possible values: + // "SPEECH_MODEL_VARIANT_UNSPECIFIED" - No model variant specified. In + // this case Dialogflow defaults to USE_BEST_AVAILABLE. + // "USE_BEST_AVAILABLE" - Use the best available variant of the Speech + // model that the caller is eligible for. Please see the [Dialogflow + // docs](https://cloud.google.com/dialogflow/docs/data-logging) for how + // to make your project eligible for enhanced models. + // "USE_STANDARD" - Use standard model variant even if an enhanced + // model is available. See the [Cloud Speech + // documentation](https://cloud.google.com/speech-to-text/docs/enhanced-m + // odels) for details about enhanced models. + // "USE_ENHANCED" - Use an enhanced model variant: * If an enhanced + // variant does not exist for the given model and request language, + // Dialogflow falls back to the standard variant. The [Cloud Speech + // documentation](https://cloud.google.com/speech-to-text/docs/enhanced-m + // odels) describes which models have enhanced variants. * If the API + // caller isn't eligible for enhanced models, Dialogflow returns an + // error. Please see the [Dialogflow + // docs](https://cloud.google.com/dialogflow/docs/data-logging) for how + // to make your project eligible. + ModelVariant string `json:"modelVariant,omitempty"` + + // PhraseHints: Optional. A list of strings containing words and phrases + // that the speech recognizer should recognize with higher likelihood. + // See [the Cloud Speech + // documentation](https://cloud.google.com/speech-to-text/docs/basics#phr + // ase-hints) for more details. + PhraseHints []string `json:"phraseHints,omitempty"` + + // SampleRateHertz: Sample rate (in Hertz) of the audio content sent in + // the query. Refer to [Cloud Speech API + // documentation](https://cloud.google.com/speech-to-text/docs/basics) + // for more details. + SampleRateHertz int64 `json:"sampleRateHertz,omitempty"` + + // SingleUtterance: Optional. If `false` (default), recognition does not + // cease until the client closes the stream. If `true`, the recognizer + // will detect a single spoken utterance in input audio. Recognition + // ceases when it detects the audio's voice has stopped or paused. In + // this case, once a detected intent is received, the client should + // close the stream and start a new request with a new stream as needed. + // Note: This setting is relevant only for streaming methods. + SingleUtterance bool `json:"singleUtterance,omitempty"` + + // ForceSendFields is a list of field names (e.g. "AudioEncoding") 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. "LastMatchedIntent") 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. "AudioEncoding") 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 *GoogleCloudDialogflowCxV3WebhookRequestIntentInfo) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3WebhookRequestIntentInfo +func (s *GoogleCloudDialogflowCxV3beta1InputAudioConfig) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1InputAudioConfig raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue: -// Represents a value for an intent parameter. -type GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue struct { - // OriginalValue: Always present. Original text value extracted from - // user utterance. - OriginalValue string `json:"originalValue,omitempty"` +// GoogleCloudDialogflowCxV3beta1Intent: An intent represents a user's +// intent to interact with a conversational agent. You can provide +// information for the Dialogflow API to use to match user input to an +// intent by adding training phrases (i.e., examples of user input) to +// your intent. +type GoogleCloudDialogflowCxV3beta1Intent struct { + // Description: Optional. Human readable description for better + // understanding an intent like its scope, content, result etc. Maximum + // character limit: 140 characters. + Description string `json:"description,omitempty"` - // ResolvedValue: Always present. Structured value for the parameter - // extracted from user utterance. - ResolvedValue interface{} `json:"resolvedValue,omitempty"` + // DisplayName: Required. The human-readable name of the intent, unique + // within the agent. + DisplayName string `json:"displayName,omitempty"` - // ForceSendFields is a list of field names (e.g. "OriginalValue") to + // IsFallback: Indicates whether this is a fallback intent. Currently + // only default fallback intent is allowed in the agent, which is added + // upon agent creation. Adding training phrases to fallback intent is + // useful in the case of requests that are mistakenly matched, since + // training phrases assigned to fallback intents act as negative + // examples that triggers no-match event. + IsFallback bool `json:"isFallback,omitempty"` + + // Labels: Optional. The key/value metadata to label an intent. Labels + // can contain lowercase letters, digits and the symbols '-' and '_'. + // International characters are allowed, including letters from unicase + // alphabets. Keys must start with a letter. Keys and values can be no + // longer than 63 characters and no more than 128 bytes. Prefix "sys-" + // is reserved for Dialogflow defined labels. Currently allowed + // Dialogflow defined labels include: * sys-head * sys-contextual The + // above labels do not require value. "sys-head" means the intent is a + // head intent. "sys-contextual" means the intent is a contextual + // intent. + Labels map[string]string `json:"labels,omitempty"` + + // Name: The unique identifier of the intent. Required for the + // Intents.UpdateIntent method. Intents.CreateIntent populates the name + // automatically. Format: `projects//locations//agents//intents/`. + Name string `json:"name,omitempty"` + + // Parameters: The collection of parameters associated with the intent. + Parameters []*GoogleCloudDialogflowCxV3beta1IntentParameter `json:"parameters,omitempty"` + + // Priority: The priority of this intent. Higher numbers represent + // higher priorities. - If the supplied value is unspecified or 0, the + // service translates the value to 500,000, which corresponds to the + // `Normal` priority in the console. - If the supplied value is + // negative, the intent is ignored in runtime detect intent requests. + Priority int64 `json:"priority,omitempty"` + + // TrainingPhrases: The collection of training phrases the agent is + // trained on to identify the intent. + TrainingPhrases []*GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase `json:"trainingPhrases,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 @@ -1272,7 +4421,7 @@ type GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue struc // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "OriginalValue") to include + // 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 @@ -1281,82 +4430,116 @@ type GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue struc NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue +func (s *GoogleCloudDialogflowCxV3beta1Intent) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1Intent raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3WebhookResponse: The response message for a -// webhook call. -type GoogleCloudDialogflowCxV3WebhookResponse struct { - // FulfillmentResponse: The fulfillment response to send to the user. - // This field can be omitted by the webhook if it does not intend to - // send any response to the user. - FulfillmentResponse *GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse `json:"fulfillmentResponse,omitempty"` +// GoogleCloudDialogflowCxV3beta1IntentInput: Represents the intent to +// trigger programmatically rather than as a result of natural language +// processing. +type GoogleCloudDialogflowCxV3beta1IntentInput struct { + // Intent: Required. The unique identifier of the intent. Format: + // `projects//locations//agents//intents/`. + Intent string `json:"intent,omitempty"` - // PageInfo: Information about page status. This field can be omitted by - // the webhook if it does not intend to modify page status. - PageInfo *GoogleCloudDialogflowCxV3PageInfo `json:"pageInfo,omitempty"` + // ForceSendFields is a list of field names (e.g. "Intent") 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:"-"` - // Payload: Value to append directly to QueryResult.webhook_payloads. - Payload googleapi.RawMessage `json:"payload,omitempty"` + // NullFields is a list of field names (e.g. "Intent") 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:"-"` +} - // SessionInfo: Information about session status. This field can be - // omitted by the webhook if it does not intend to modify session - // status. - SessionInfo *GoogleCloudDialogflowCxV3SessionInfo `json:"sessionInfo,omitempty"` +func (s *GoogleCloudDialogflowCxV3beta1IntentInput) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1IntentInput + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} - // TargetFlow: The target flow to transition to. Format: - // `projects//locations//agents//flows/`. - TargetFlow string `json:"targetFlow,omitempty"` +// GoogleCloudDialogflowCxV3beta1IntentParameter: Represents an intent +// parameter. +type GoogleCloudDialogflowCxV3beta1IntentParameter struct { + // EntityType: Required. The entity type of the parameter. Format: + // `projects/-/locations/-/agents/-/entityTypes/` for system entity + // types (for example, + // `projects/-/locations/-/agents/-/entityTypes/sys.date`), or + // `projects//locations//agents//entityTypes/` for developer entity + // types. + EntityType string `json:"entityType,omitempty"` - // TargetPage: The target page to transition to. Format: - // `projects//locations//agents//flows//pages/`. - TargetPage string `json:"targetPage,omitempty"` + // Id: Required. The unique identifier of the parameter. This field is + // used by training phrases to annotate their parts. + Id string `json:"id,omitempty"` - // ForceSendFields is a list of field names (e.g. "FulfillmentResponse") - // to unconditionally include in API requests. By default, fields with + // IsList: Indicates whether the parameter represents a list of values. + IsList bool `json:"isList,omitempty"` + + // Redact: Indicates whether the parameter content is logged in text and + // audio. If it is set to true, the parameter content will be replaced + // to parameter id in both request and response. The default value is + // false. + Redact bool `json:"redact,omitempty"` + + // ForceSendFields is a list of field names (e.g. "EntityType") 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. "FulfillmentResponse") 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. "EntityType") 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 *GoogleCloudDialogflowCxV3WebhookResponse) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3WebhookResponse +func (s *GoogleCloudDialogflowCxV3beta1IntentParameter) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1IntentParameter raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse: -// Represents a fulfillment response to the user. -type GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse struct { - // MergeBehavior: Merge behavior for `messages`. - // - // Possible values: - // "MERGE_BEHAVIOR_UNSPECIFIED" - Not specified. `APPEND` will be - // used. - // "APPEND" - `messages` will be appended to the list of messages - // waiting to be sent to the user. - // "REPLACE" - `messages` will replace the list of messages waiting to - // be sent to the user. - MergeBehavior string `json:"mergeBehavior,omitempty"` +// GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase: Represents an +// example that the agent is trained on to identify the intent. +type GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase struct { + // Id: Output only. The unique identifier of the training phrase. + Id string `json:"id,omitempty"` - // Messages: The list of rich message responses to present to the user. - Messages []*GoogleCloudDialogflowCxV3ResponseMessage `json:"messages,omitempty"` + // Parts: Required. The ordered list of training phrase parts. The parts + // are concatenated in order to form the training phrase. Note: The API + // does not automatically annotate training phrases like the Dialogflow + // Console does. Note: Do not forget to include whitespace at part + // boundaries, so the training phrase is well formatted when the parts + // are concatenated. If the training phrase does not need to be + // annotated with parameters, you just need a single part with only the + // Part.text field set. If you want to annotate the training phrase, you + // must create multiple parts, where the fields of each part are + // populated in one of two ways: - `Part.text` is set to a part of the + // phrase that has no parameters. - `Part.text` is set to a part of the + // phrase that you want to annotate, and the `parameter_id` field is + // set. + Parts []*GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePart `json:"parts,omitempty"` - // ForceSendFields is a list of field names (e.g. "MergeBehavior") to + // RepeatCount: Indicates how many times this example was added to the + // intent. + RepeatCount int64 `json:"repeatCount,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Id") 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 @@ -1364,30 +4547,33 @@ type GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "MergeBehavior") 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 + // NullFields is a list of field names (e.g. "Id") 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 *GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse +func (s *GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata: -// Metadata associated with the long running operation for -// Versions.CreateVersion. -type GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata struct { - // Version: Name of the created version. Format: - // `projects//locations//agents//flows//versions/`. - Version string `json:"version,omitempty"` +// GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePart: Represents a +// part of a training phrase. +type GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePart struct { + // ParameterId: The parameter used to annotate this part of the training + // phrase. This field is required for annotated parts of the training + // phrase. + ParameterId string `json:"parameterId,omitempty"` - // ForceSendFields is a list of field names (e.g. "Version") to + // Text: Required. The text for this part. + Text string `json:"text,omitempty"` + + // ForceSendFields is a list of field names (e.g. "ParameterId") 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 @@ -1395,32 +4581,80 @@ type GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Version") 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 + // NullFields is a list of field names (e.g. "ParameterId") 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 *GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata +func (s *GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePart) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePart raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1ExportAgentResponse: The response -// message for Agents.ExportAgent. -type GoogleCloudDialogflowCxV3beta1ExportAgentResponse struct { - // AgentContent: Uncompressed raw byte content for agent. - AgentContent string `json:"agentContent,omitempty"` +// GoogleCloudDialogflowCxV3beta1Page: A Dialogflow CX conversation +// (session) can be described and visualized as a state machine. The +// states of a CX session are represented by pages. For each flow, you +// define many pages, where your combined pages can handle a complete +// conversation on the topics the flow is designed for. At any given +// moment, exactly one page is the current page, the current page is +// considered active, and the flow associated with that page is +// considered active. Every flow has a special start page. When a flow +// initially becomes active, the start page page becomes the current +// page. For each conversational turn, the current page will either stay +// the same or transition to another page. You configure each page to +// collect information from the end-user that is relevant for the +// conversational state represented by the page. For more information, +// see the [Page +// guide](https://cloud.google.com/dialogflow/cx/docs/concept/page). +type GoogleCloudDialogflowCxV3beta1Page struct { + // DisplayName: Required. The human-readable name of the page, unique + // within the agent. + DisplayName string `json:"displayName,omitempty"` - // AgentUri: The URI to a file containing the exported agent. This field - // is populated only if `agent_uri` is specified in ExportAgentRequest. - AgentUri string `json:"agentUri,omitempty"` + // EntryFulfillment: The fulfillment to call when the session is + // entering the page. + EntryFulfillment *GoogleCloudDialogflowCxV3beta1Fulfillment `json:"entryFulfillment,omitempty"` - // ForceSendFields is a list of field names (e.g. "AgentContent") to + // EventHandlers: Handlers associated with the page to handle events + // such as webhook errors, no match or no input. + EventHandlers []*GoogleCloudDialogflowCxV3beta1EventHandler `json:"eventHandlers,omitempty"` + + // Form: The form associated with the page, used for collecting + // parameters relevant to the page. + Form *GoogleCloudDialogflowCxV3beta1Form `json:"form,omitempty"` + + // Name: The unique identifier of the page. Required for the + // Pages.UpdatePage method. Pages.CreatePage populates the name + // automatically. Format: `projects//locations//agents//flows//pages/`. + Name string `json:"name,omitempty"` + + // TransitionRouteGroups: Ordered list of `TransitionRouteGroups` + // associated with the page. Transition route groups must be unique + // within a page. * If multiple transition routes within a page scope + // refer to the same intent, then the precedence order is: page's + // transition route -> page's transition route group -> flow's + // transition routes. * If multiple transition route groups within a + // page contain the same intent, then the first group in the ordered + // list takes precedence. + // Format:`projects//locations//agents//flows//transitionRouteGroups/`. + TransitionRouteGroups []string `json:"transitionRouteGroups,omitempty"` + + // TransitionRoutes: A list of transitions for the transition rules of + // this page. They route the conversation to another page in the same + // flow, or another flow. When we are in a certain page, the + // TransitionRoutes are evalauted in the following order: * + // TransitionRoutes defined in the page with intent specified. * + // TransitionRoutes defined in the transition route groups. * + // TransitionRoutes defined in flow with intent specified. * + // TransitionRoutes defined in the page with only condition specified. + TransitionRoutes []*GoogleCloudDialogflowCxV3beta1TransitionRoute `json:"transitionRoutes,omitempty"` + + // ForceSendFields is a list of field names (e.g. "DisplayName") 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 @@ -1428,7 +4662,7 @@ type GoogleCloudDialogflowCxV3beta1ExportAgentResponse struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "AgentContent") to include + // NullFields is a list of field names (e.g. "DisplayName") 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 @@ -1437,8 +4671,8 @@ type GoogleCloudDialogflowCxV3beta1ExportAgentResponse struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3beta1ExportAgentResponse) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1ExportAgentResponse +func (s *GoogleCloudDialogflowCxV3beta1Page) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1Page raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -1572,6 +4806,86 @@ func (s *GoogleCloudDialogflowCxV3beta1PageInfoFormInfoParameterInfo) MarshalJSO return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// GoogleCloudDialogflowCxV3beta1QueryInput: Represents the query input. +// It can contain one of: 1. A conversational query in the form of text. +// 2. An intent query that specifies which intent to trigger. 3. Natural +// language speech audio to be processed. 4. An event to be triggered. +type GoogleCloudDialogflowCxV3beta1QueryInput struct { + // Audio: The natural language speech audio to be processed. + Audio *GoogleCloudDialogflowCxV3beta1AudioInput `json:"audio,omitempty"` + + // Dtmf: The DTMF event to be handled. + Dtmf *GoogleCloudDialogflowCxV3beta1DtmfInput `json:"dtmf,omitempty"` + + // Event: The event to be triggered. + Event *GoogleCloudDialogflowCxV3beta1EventInput `json:"event,omitempty"` + + // Intent: The intent to be triggered. + Intent *GoogleCloudDialogflowCxV3beta1IntentInput `json:"intent,omitempty"` + + // LanguageCode: Required. The language of the input. See [Language + // Support](https://cloud.google.com/dialogflow/docs/reference/language) + // for a list of the currently supported language codes. Note that + // queries in the same session do not necessarily need to specify the + // same language. + LanguageCode string `json:"languageCode,omitempty"` + + // Text: The natural language text to be processed. + Text *GoogleCloudDialogflowCxV3beta1TextInput `json:"text,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Audio") 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. "Audio") 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 *GoogleCloudDialogflowCxV3beta1QueryInput) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1QueryInput + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3beta1ReloadDocumentOperationMetadata: +// Metadata for ReloadDocument operation. +type GoogleCloudDialogflowCxV3beta1ReloadDocumentOperationMetadata struct { + // GenericMetadata: The generic information of the operation. + GenericMetadata *GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata `json:"genericMetadata,omitempty"` + + // ForceSendFields is a list of field names (e.g. "GenericMetadata") 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. "GenericMetadata") 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 *GoogleCloudDialogflowCxV3beta1ReloadDocumentOperationMetadata) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1ReloadDocumentOperationMetadata + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // GoogleCloudDialogflowCxV3beta1ResponseMessage: Represents a response // message that can be returned by a conversational agent. Response // messages are also used for output audio synthesis. The approach is as @@ -1921,6 +5235,40 @@ func (s *GoogleCloudDialogflowCxV3beta1ResponseMessageText) MarshalJSON() ([]byt return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// GoogleCloudDialogflowCxV3beta1RunTestCaseMetadata: Metadata returned +// for the TestCases.RunTestCase long running operation. +type GoogleCloudDialogflowCxV3beta1RunTestCaseMetadata struct { +} + +// GoogleCloudDialogflowCxV3beta1RunTestCaseResponse: The response +// message for TestCases.RunTestCase. +type GoogleCloudDialogflowCxV3beta1RunTestCaseResponse struct { + // Result: The result. + Result *GoogleCloudDialogflowCxV3beta1TestCaseResult `json:"result,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Result") 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. "Result") 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 *GoogleCloudDialogflowCxV3beta1RunTestCaseResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1RunTestCaseResponse + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // GoogleCloudDialogflowCxV3beta1SessionInfo: Represents session // information communicated to and from the webhook. type GoogleCloudDialogflowCxV3beta1SessionInfo struct { @@ -1961,6 +5309,381 @@ func (s *GoogleCloudDialogflowCxV3beta1SessionInfo) MarshalJSON() ([]byte, error return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// GoogleCloudDialogflowCxV3beta1TestCase: Represents a test case. +type GoogleCloudDialogflowCxV3beta1TestCase struct { + // CreationTime: Output only. When the test was created. + CreationTime string `json:"creationTime,omitempty"` + + // DisplayName: Required. The human-readable name of the test case, + // unique within the agent. Limit of 200 characters. + DisplayName string `json:"displayName,omitempty"` + + // LastTestResult: The latest test result. + LastTestResult *GoogleCloudDialogflowCxV3beta1TestCaseResult `json:"lastTestResult,omitempty"` + + // Name: The unique identifier of the test case. + // TestCases.CreateTestCase will populate the name automatically. + // Otherwise use format: `projects//locations//agents/ /testCases/`. + Name string `json:"name,omitempty"` + + // Notes: Additional freeform notes about the test case. Limit of 400 + // characters. + Notes string `json:"notes,omitempty"` + + // Tags: Tags are short descriptions that users may apply to test cases + // for organizational and filtering purposes. Each tag should start with + // "#" and has a limit of 30 characters. + Tags []string `json:"tags,omitempty"` + + // TestCaseConversationTurns: The conversation turns uttered when the + // test case was created, in chronological order. These include the + // canonical set of agent utterances that should occur when the agent is + // working properly. + TestCaseConversationTurns []*GoogleCloudDialogflowCxV3beta1ConversationTurn `json:"testCaseConversationTurns,omitempty"` + + // TestConfig: Config for the test case. + TestConfig *GoogleCloudDialogflowCxV3beta1TestConfig `json:"testConfig,omitempty"` + + // ForceSendFields is a list of field names (e.g. "CreationTime") 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. "CreationTime") 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 *GoogleCloudDialogflowCxV3beta1TestCase) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1TestCase + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3beta1TestCaseError: Error info for importing +// a test. +type GoogleCloudDialogflowCxV3beta1TestCaseError struct { + // Status: The status associated with the test case. + Status *GoogleRpcStatus `json:"status,omitempty"` + + // TestCase: The test case. + TestCase *GoogleCloudDialogflowCxV3beta1TestCase `json:"testCase,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Status") 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. "Status") 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 *GoogleCloudDialogflowCxV3beta1TestCaseError) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1TestCaseError + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3beta1TestCaseResult: Represents a result +// from running a test case in an agent environment. +type GoogleCloudDialogflowCxV3beta1TestCaseResult struct { + // ConversationTurns: The conversation turns uttered during the test + // case replay in chronological order. + ConversationTurns []*GoogleCloudDialogflowCxV3beta1ConversationTurn `json:"conversationTurns,omitempty"` + + // Environment: Optional. Environment where the test was run. If not + // set, it indicates the draft environment. + Environment string `json:"environment,omitempty"` + + // Name: The resource name for the test case result. Format: + // `projects//locations//agents//testCases/ /results/`. + Name string `json:"name,omitempty"` + + // TestResult: Whether the test case passed in the agent environment. + // + // Possible values: + // "TEST_RESULT_UNSPECIFIED" - Not specified. Should never be used. + // "PASSED" - The test passed. + // "FAILED" - The test did not pass. + TestResult string `json:"testResult,omitempty"` + + // TestTime: The time that the test was run. + TestTime string `json:"testTime,omitempty"` + + // ForceSendFields is a list of field names (e.g. "ConversationTurns") + // 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. "ConversationTurns") 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 *GoogleCloudDialogflowCxV3beta1TestCaseResult) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1TestCaseResult + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3beta1TestConfig: Represents configurations +// for a test case. +type GoogleCloudDialogflowCxV3beta1TestConfig struct { + // Flow: Flow name. If not set, default start flow is assumed. Format: + // `projects//locations//agents//flows/`. + Flow string `json:"flow,omitempty"` + + // TrackingParameters: Session parameters to be compared when + // calculating differences. + TrackingParameters []string `json:"trackingParameters,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Flow") 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. "Flow") 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 *GoogleCloudDialogflowCxV3beta1TestConfig) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1TestConfig + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3beta1TestError: Error info for running a +// test. +type GoogleCloudDialogflowCxV3beta1TestError struct { + // Status: The status associated with the test. + Status *GoogleRpcStatus `json:"status,omitempty"` + + // TestCase: The test case resource name. + TestCase string `json:"testCase,omitempty"` + + // TestTime: The timestamp when the test was completed. + TestTime string `json:"testTime,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Status") 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. "Status") 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 *GoogleCloudDialogflowCxV3beta1TestError) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1TestError + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3beta1TestRunDifference: The description of +// differences between original and replayed agent output. +type GoogleCloudDialogflowCxV3beta1TestRunDifference struct { + // Description: A description of the diff, showing the actual output vs + // expected output. + Description string `json:"description,omitempty"` + + // Type: The type of diff. + // + // Possible values: + // "DIFF_TYPE_UNSPECIFIED" - Should never be used. + // "INTENT" - The intent. + // "PAGE" - The page. + // "PARAMETERS" - The parameters. + // "UTTERANCE" - The message utterance. + Type string `json:"type,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 *GoogleCloudDialogflowCxV3beta1TestRunDifference) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1TestRunDifference + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3beta1TextInput: Represents the natural +// language text to be processed. +type GoogleCloudDialogflowCxV3beta1TextInput struct { + // Text: Required. The UTF-8 encoded natural language text to be + // processed. Text length must not exceed 256 characters. + Text string `json:"text,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Text") 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. "Text") 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 *GoogleCloudDialogflowCxV3beta1TextInput) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1TextInput + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3beta1TransitionRoute: A transition route +// specifies a intent that can be matched and/or a data condition that +// can be evaluated during a session. When a specified transition is +// matched, the following actions are taken in order: * If there is a +// `trigger_fulfillment` associated with the transition, it will be +// called. * If there is a `target_page` associated with the transition, +// the session will transition into the specified page. * If there is a +// `target_flow` associated with the transition, the session will +// transition into the specified flow. +type GoogleCloudDialogflowCxV3beta1TransitionRoute struct { + // Condition: The condition to evaluate against form parameters or + // session parameters. See the [conditions + // reference](https://cloud.google.com/dialogflow/cx/docs/reference/condi + // tion). At least one of `intent` or `condition` must be specified. + // When both `intent` and `condition` are specified, the transition can + // only happen when both are fulfilled. + Condition string `json:"condition,omitempty"` + + // Intent: The unique identifier of an Intent. Format: + // `projects//locations//agents//intents/`. Indicates that the + // transition can only happen when the given intent is matched. At least + // one of `intent` or `condition` must be specified. When both `intent` + // and `condition` are specified, the transition can only happen when + // both are fulfilled. + Intent string `json:"intent,omitempty"` + + // Name: Output only. The unique identifier of this transition route. + Name string `json:"name,omitempty"` + + // TargetFlow: The target flow to transition to. Format: + // `projects//locations//agents//flows/`. + TargetFlow string `json:"targetFlow,omitempty"` + + // TargetPage: The target page to transition to. Format: + // `projects//locations//agents//flows//pages/`. + TargetPage string `json:"targetPage,omitempty"` + + // TriggerFulfillment: The fulfillment to call when the condition is + // satisfied. At least one of `trigger_fulfillment` and `target` must be + // specified. When both are defined, `trigger_fulfillment` is executed + // first. + TriggerFulfillment *GoogleCloudDialogflowCxV3beta1Fulfillment `json:"triggerFulfillment,omitempty"` + + // 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 + // 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. "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 + // 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 *GoogleCloudDialogflowCxV3beta1TransitionRoute) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1TransitionRoute + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3beta1UpdateDocumentOperationMetadata: +// Metadata for UpdateDocument operation. +type GoogleCloudDialogflowCxV3beta1UpdateDocumentOperationMetadata struct { + // GenericMetadata: The generic information of the operation. + GenericMetadata *GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata `json:"genericMetadata,omitempty"` + + // ForceSendFields is a list of field names (e.g. "GenericMetadata") 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. "GenericMetadata") 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 *GoogleCloudDialogflowCxV3beta1UpdateDocumentOperationMetadata) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1UpdateDocumentOperationMetadata + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // GoogleCloudDialogflowCxV3beta1WebhookRequest: The request message for // a webhook call. type GoogleCloudDialogflowCxV3beta1WebhookRequest struct { @@ -9699,6 +13422,221 @@ func (s *GoogleCloudDialogflowV2beta1WebhookResponse) MarshalJSON() ([]byte, err return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// GoogleCloudDialogflowV3alpha1CreateDocumentOperationMetadata: +// Metadata for CreateDocument operation. +type GoogleCloudDialogflowV3alpha1CreateDocumentOperationMetadata struct { + // GenericMetadata: The generic information of the operation. + GenericMetadata *GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata `json:"genericMetadata,omitempty"` + + // ForceSendFields is a list of field names (e.g. "GenericMetadata") 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. "GenericMetadata") 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 *GoogleCloudDialogflowV3alpha1CreateDocumentOperationMetadata) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV3alpha1CreateDocumentOperationMetadata + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV3alpha1DeleteDocumentOperationMetadata: +// Metadata for DeleteDocument operation. +type GoogleCloudDialogflowV3alpha1DeleteDocumentOperationMetadata struct { + // GenericMetadata: The generic information of the operation. + GenericMetadata *GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata `json:"genericMetadata,omitempty"` + + // ForceSendFields is a list of field names (e.g. "GenericMetadata") 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. "GenericMetadata") 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 *GoogleCloudDialogflowV3alpha1DeleteDocumentOperationMetadata) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV3alpha1DeleteDocumentOperationMetadata + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata: +// Metadata in google::longrunning::Operation for Knowledge operations. +type GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata struct { + // State: Required. Output only. The current state of this operation. + // + // Possible values: + // "STATE_UNSPECIFIED" - State unspecified. + // "PENDING" - The operation has been created. + // "RUNNING" - The operation is currently running. + // "DONE" - The operation is done, either cancelled or completed. + State string `json:"state,omitempty"` + + // ForceSendFields is a list of field names (e.g. "State") 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. "State") 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 *GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV3alpha1ImportDocumentsOperationMetadata: +// Metadata for ImportDocuments operation. +type GoogleCloudDialogflowV3alpha1ImportDocumentsOperationMetadata struct { + // GenericMetadata: The generic information of the operation. + GenericMetadata *GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata `json:"genericMetadata,omitempty"` + + // ForceSendFields is a list of field names (e.g. "GenericMetadata") 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. "GenericMetadata") 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 *GoogleCloudDialogflowV3alpha1ImportDocumentsOperationMetadata) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV3alpha1ImportDocumentsOperationMetadata + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV3alpha1ImportDocumentsResponse: Response +// message for Documents.ImportDocuments. +type GoogleCloudDialogflowV3alpha1ImportDocumentsResponse struct { + // Warnings: Includes details about skipped documents or any other + // warnings. + Warnings []*GoogleRpcStatus `json:"warnings,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Warnings") 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. "Warnings") 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 *GoogleCloudDialogflowV3alpha1ImportDocumentsResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV3alpha1ImportDocumentsResponse + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV3alpha1ReloadDocumentOperationMetadata: +// Metadata for ReloadDocument operation. +type GoogleCloudDialogflowV3alpha1ReloadDocumentOperationMetadata struct { + // GenericMetadata: The generic information of the operation. + GenericMetadata *GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata `json:"genericMetadata,omitempty"` + + // ForceSendFields is a list of field names (e.g. "GenericMetadata") 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. "GenericMetadata") 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 *GoogleCloudDialogflowV3alpha1ReloadDocumentOperationMetadata) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV3alpha1ReloadDocumentOperationMetadata + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV3alpha1UpdateDocumentOperationMetadata: +// Metadata for UpdateDocument operation. +type GoogleCloudDialogflowV3alpha1UpdateDocumentOperationMetadata struct { + // GenericMetadata: The generic information of the operation. + GenericMetadata *GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata `json:"genericMetadata,omitempty"` + + // ForceSendFields is a list of field names (e.g. "GenericMetadata") 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. "GenericMetadata") 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 *GoogleCloudDialogflowV3alpha1UpdateDocumentOperationMetadata) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV3alpha1UpdateDocumentOperationMetadata + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // GoogleLongrunningListOperationsResponse: The response message for // Operations.ListOperations. type GoogleLongrunningListOperationsResponse struct { @@ -9951,7 +13889,7 @@ func (c *ProjectsDeleteAgentCall) Header() http.Header { func (c *ProjectsDeleteAgentCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10093,7 +14031,7 @@ func (c *ProjectsGetAgentCall) Header() http.Header { func (c *ProjectsGetAgentCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10237,7 +14175,7 @@ func (c *ProjectsSetAgentCall) Header() http.Header { func (c *ProjectsSetAgentCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10385,7 +14323,7 @@ func (c *ProjectsAgentExportCall) Header() http.Header { func (c *ProjectsAgentExportCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10535,7 +14473,7 @@ func (c *ProjectsAgentGetFulfillmentCall) Header() http.Header { func (c *ProjectsAgentGetFulfillmentCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10694,7 +14632,7 @@ func (c *ProjectsAgentGetValidationResultCall) Header() http.Header { func (c *ProjectsAgentGetValidationResultCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10846,7 +14784,7 @@ func (c *ProjectsAgentImportCall) Header() http.Header { func (c *ProjectsAgentImportCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10995,7 +14933,7 @@ func (c *ProjectsAgentRestoreCall) Header() http.Header { func (c *ProjectsAgentRestoreCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11165,7 +15103,7 @@ func (c *ProjectsAgentSearchCall) Header() http.Header { func (c *ProjectsAgentSearchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11335,7 +15273,7 @@ func (c *ProjectsAgentTrainCall) Header() http.Header { func (c *ProjectsAgentTrainCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11484,7 +15422,7 @@ func (c *ProjectsAgentUpdateFulfillmentCall) Header() http.Header { func (c *ProjectsAgentUpdateFulfillmentCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11632,7 +15570,7 @@ func (c *ProjectsAgentEntityTypesBatchDeleteCall) Header() http.Header { func (c *ProjectsAgentEntityTypesBatchDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11774,7 +15712,7 @@ func (c *ProjectsAgentEntityTypesBatchUpdateCall) Header() http.Header { func (c *ProjectsAgentEntityTypesBatchUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11926,7 +15864,7 @@ func (c *ProjectsAgentEntityTypesCreateCall) Header() http.Header { func (c *ProjectsAgentEntityTypesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12071,7 +16009,7 @@ func (c *ProjectsAgentEntityTypesDeleteCall) Header() http.Header { func (c *ProjectsAgentEntityTypesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12224,7 +16162,7 @@ func (c *ProjectsAgentEntityTypesGetCall) Header() http.Header { func (c *ProjectsAgentEntityTypesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12400,7 +16338,7 @@ func (c *ProjectsAgentEntityTypesListCall) Header() http.Header { func (c *ProjectsAgentEntityTypesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12593,7 +16531,7 @@ func (c *ProjectsAgentEntityTypesPatchCall) Header() http.Header { func (c *ProjectsAgentEntityTypesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12747,7 +16685,7 @@ func (c *ProjectsAgentEntityTypesEntitiesBatchCreateCall) Header() http.Header { func (c *ProjectsAgentEntityTypesEntitiesBatchCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12888,7 +16826,7 @@ func (c *ProjectsAgentEntityTypesEntitiesBatchDeleteCall) Header() http.Header { func (c *ProjectsAgentEntityTypesEntitiesBatchDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13031,7 +16969,7 @@ func (c *ProjectsAgentEntityTypesEntitiesBatchUpdateCall) Header() http.Header { func (c *ProjectsAgentEntityTypesEntitiesBatchUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13196,7 +17134,7 @@ func (c *ProjectsAgentEnvironmentsListCall) Header() http.Header { func (c *ProjectsAgentEnvironmentsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13364,7 +17302,7 @@ func (c *ProjectsAgentEnvironmentsUsersSessionsDeleteContextsCall) Header() http func (c *ProjectsAgentEnvironmentsUsersSessionsDeleteContextsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13504,7 +17442,7 @@ func (c *ProjectsAgentEnvironmentsUsersSessionsDetectIntentCall) Header() http.H func (c *ProjectsAgentEnvironmentsUsersSessionsDetectIntentCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13648,7 +17586,7 @@ func (c *ProjectsAgentEnvironmentsUsersSessionsContextsCreateCall) Header() http func (c *ProjectsAgentEnvironmentsUsersSessionsContextsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13788,7 +17726,7 @@ func (c *ProjectsAgentEnvironmentsUsersSessionsContextsDeleteCall) Header() http func (c *ProjectsAgentEnvironmentsUsersSessionsContextsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13930,7 +17868,7 @@ func (c *ProjectsAgentEnvironmentsUsersSessionsContextsGetCall) Header() http.He func (c *ProjectsAgentEnvironmentsUsersSessionsContextsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14090,7 +18028,7 @@ func (c *ProjectsAgentEnvironmentsUsersSessionsContextsListCall) Header() http.H func (c *ProjectsAgentEnvironmentsUsersSessionsContextsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14267,7 +18205,7 @@ func (c *ProjectsAgentEnvironmentsUsersSessionsContextsPatchCall) Header() http. func (c *ProjectsAgentEnvironmentsUsersSessionsContextsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14419,7 +18357,7 @@ func (c *ProjectsAgentEnvironmentsUsersSessionsEntityTypesCreateCall) Header() h func (c *ProjectsAgentEnvironmentsUsersSessionsEntityTypesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14563,7 +18501,7 @@ func (c *ProjectsAgentEnvironmentsUsersSessionsEntityTypesDeleteCall) Header() h func (c *ProjectsAgentEnvironmentsUsersSessionsEntityTypesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14707,7 +18645,7 @@ func (c *ProjectsAgentEnvironmentsUsersSessionsEntityTypesGetCall) Header() http func (c *ProjectsAgentEnvironmentsUsersSessionsEntityTypesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14871,7 +18809,7 @@ func (c *ProjectsAgentEnvironmentsUsersSessionsEntityTypesListCall) Header() htt func (c *ProjectsAgentEnvironmentsUsersSessionsEntityTypesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15051,7 +18989,7 @@ func (c *ProjectsAgentEnvironmentsUsersSessionsEntityTypesPatchCall) Header() ht func (c *ProjectsAgentEnvironmentsUsersSessionsEntityTypesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15200,7 +19138,7 @@ func (c *ProjectsAgentIntentsBatchDeleteCall) Header() http.Header { func (c *ProjectsAgentIntentsBatchDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15342,7 +19280,7 @@ func (c *ProjectsAgentIntentsBatchUpdateCall) Header() http.Header { func (c *ProjectsAgentIntentsBatchUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15506,7 +19444,7 @@ func (c *ProjectsAgentIntentsCreateCall) Header() http.Header { func (c *ProjectsAgentIntentsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15665,7 +19603,7 @@ func (c *ProjectsAgentIntentsDeleteCall) Header() http.Header { func (c *ProjectsAgentIntentsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15830,7 +19768,7 @@ func (c *ProjectsAgentIntentsGetCall) Header() http.Header { func (c *ProjectsAgentIntentsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16031,7 +19969,7 @@ func (c *ProjectsAgentIntentsListCall) Header() http.Header { func (c *ProjectsAgentIntentsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16249,7 +20187,7 @@ func (c *ProjectsAgentIntentsPatchCall) Header() http.Header { func (c *ProjectsAgentIntentsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16417,7 +20355,7 @@ func (c *ProjectsAgentKnowledgeBasesCreateCall) Header() http.Header { func (c *ProjectsAgentKnowledgeBasesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16568,7 +20506,7 @@ func (c *ProjectsAgentKnowledgeBasesDeleteCall) Header() http.Header { func (c *ProjectsAgentKnowledgeBasesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16717,7 +20655,7 @@ func (c *ProjectsAgentKnowledgeBasesGetCall) Header() http.Header { func (c *ProjectsAgentKnowledgeBasesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16899,7 +20837,7 @@ func (c *ProjectsAgentKnowledgeBasesListCall) Header() http.Header { func (c *ProjectsAgentKnowledgeBasesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17086,7 +21024,7 @@ func (c *ProjectsAgentKnowledgeBasesPatchCall) Header() http.Header { func (c *ProjectsAgentKnowledgeBasesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17246,7 +21184,7 @@ func (c *ProjectsAgentKnowledgeBasesDocumentsCreateCall) Header() http.Header { func (c *ProjectsAgentKnowledgeBasesDocumentsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17392,7 +21330,7 @@ func (c *ProjectsAgentKnowledgeBasesDocumentsDeleteCall) Header() http.Header { func (c *ProjectsAgentKnowledgeBasesDocumentsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17536,7 +21474,7 @@ func (c *ProjectsAgentKnowledgeBasesDocumentsGetCall) Header() http.Header { func (c *ProjectsAgentKnowledgeBasesDocumentsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17714,7 +21652,7 @@ func (c *ProjectsAgentKnowledgeBasesDocumentsListCall) Header() http.Header { func (c *ProjectsAgentKnowledgeBasesDocumentsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17900,7 +21838,7 @@ func (c *ProjectsAgentKnowledgeBasesDocumentsPatchCall) Header() http.Header { func (c *ProjectsAgentKnowledgeBasesDocumentsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18056,7 +21994,7 @@ func (c *ProjectsAgentKnowledgeBasesDocumentsReloadCall) Header() http.Header { func (c *ProjectsAgentKnowledgeBasesDocumentsReloadCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18195,7 +22133,7 @@ func (c *ProjectsAgentSessionsDeleteContextsCall) Header() http.Header { func (c *ProjectsAgentSessionsDeleteContextsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18335,7 +22273,7 @@ func (c *ProjectsAgentSessionsDetectIntentCall) Header() http.Header { func (c *ProjectsAgentSessionsDetectIntentCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18479,7 +22417,7 @@ func (c *ProjectsAgentSessionsContextsCreateCall) Header() http.Header { func (c *ProjectsAgentSessionsContextsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18619,7 +22557,7 @@ func (c *ProjectsAgentSessionsContextsDeleteCall) Header() http.Header { func (c *ProjectsAgentSessionsContextsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18761,7 +22699,7 @@ func (c *ProjectsAgentSessionsContextsGetCall) Header() http.Header { func (c *ProjectsAgentSessionsContextsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18921,7 +22859,7 @@ func (c *ProjectsAgentSessionsContextsListCall) Header() http.Header { func (c *ProjectsAgentSessionsContextsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19098,7 +23036,7 @@ func (c *ProjectsAgentSessionsContextsPatchCall) Header() http.Header { func (c *ProjectsAgentSessionsContextsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19250,7 +23188,7 @@ func (c *ProjectsAgentSessionsEntityTypesCreateCall) Header() http.Header { func (c *ProjectsAgentSessionsEntityTypesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19394,7 +23332,7 @@ func (c *ProjectsAgentSessionsEntityTypesDeleteCall) Header() http.Header { func (c *ProjectsAgentSessionsEntityTypesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19538,7 +23476,7 @@ func (c *ProjectsAgentSessionsEntityTypesGetCall) Header() http.Header { func (c *ProjectsAgentSessionsEntityTypesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19702,7 +23640,7 @@ func (c *ProjectsAgentSessionsEntityTypesListCall) Header() http.Header { func (c *ProjectsAgentSessionsEntityTypesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19882,7 +23820,7 @@ func (c *ProjectsAgentSessionsEntityTypesPatchCall) Header() http.Header { func (c *ProjectsAgentSessionsEntityTypesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -20033,7 +23971,7 @@ func (c *ProjectsKnowledgeBasesCreateCall) Header() http.Header { func (c *ProjectsKnowledgeBasesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -20184,7 +24122,7 @@ func (c *ProjectsKnowledgeBasesDeleteCall) Header() http.Header { func (c *ProjectsKnowledgeBasesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -20333,7 +24271,7 @@ func (c *ProjectsKnowledgeBasesGetCall) Header() http.Header { func (c *ProjectsKnowledgeBasesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -20515,7 +24453,7 @@ func (c *ProjectsKnowledgeBasesListCall) Header() http.Header { func (c *ProjectsKnowledgeBasesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -20702,7 +24640,7 @@ func (c *ProjectsKnowledgeBasesPatchCall) Header() http.Header { func (c *ProjectsKnowledgeBasesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -20862,7 +24800,7 @@ func (c *ProjectsKnowledgeBasesDocumentsCreateCall) Header() http.Header { func (c *ProjectsKnowledgeBasesDocumentsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21008,7 +24946,7 @@ func (c *ProjectsKnowledgeBasesDocumentsDeleteCall) Header() http.Header { func (c *ProjectsKnowledgeBasesDocumentsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21152,7 +25090,7 @@ func (c *ProjectsKnowledgeBasesDocumentsGetCall) Header() http.Header { func (c *ProjectsKnowledgeBasesDocumentsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21330,7 +25268,7 @@ func (c *ProjectsKnowledgeBasesDocumentsListCall) Header() http.Header { func (c *ProjectsKnowledgeBasesDocumentsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21516,7 +25454,7 @@ func (c *ProjectsKnowledgeBasesDocumentsPatchCall) Header() http.Header { func (c *ProjectsKnowledgeBasesDocumentsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21672,7 +25610,7 @@ func (c *ProjectsKnowledgeBasesDocumentsReloadCall) Header() http.Header { func (c *ProjectsKnowledgeBasesDocumentsReloadCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21811,7 +25749,7 @@ func (c *ProjectsLocationsDeleteAgentCall) Header() http.Header { func (c *ProjectsLocationsDeleteAgentCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21953,7 +25891,7 @@ func (c *ProjectsLocationsGetAgentCall) Header() http.Header { func (c *ProjectsLocationsGetAgentCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -22097,7 +26035,7 @@ func (c *ProjectsLocationsSetAgentCall) Header() http.Header { func (c *ProjectsLocationsSetAgentCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -22245,7 +26183,7 @@ func (c *ProjectsLocationsAgentExportCall) Header() http.Header { func (c *ProjectsLocationsAgentExportCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -22395,7 +26333,7 @@ func (c *ProjectsLocationsAgentGetFulfillmentCall) Header() http.Header { func (c *ProjectsLocationsAgentGetFulfillmentCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -22554,7 +26492,7 @@ func (c *ProjectsLocationsAgentGetValidationResultCall) Header() http.Header { func (c *ProjectsLocationsAgentGetValidationResultCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -22706,7 +26644,7 @@ func (c *ProjectsLocationsAgentImportCall) Header() http.Header { func (c *ProjectsLocationsAgentImportCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -22855,7 +26793,7 @@ func (c *ProjectsLocationsAgentRestoreCall) Header() http.Header { func (c *ProjectsLocationsAgentRestoreCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -23025,7 +26963,7 @@ func (c *ProjectsLocationsAgentSearchCall) Header() http.Header { func (c *ProjectsLocationsAgentSearchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -23195,7 +27133,7 @@ func (c *ProjectsLocationsAgentTrainCall) Header() http.Header { func (c *ProjectsLocationsAgentTrainCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -23344,7 +27282,7 @@ func (c *ProjectsLocationsAgentUpdateFulfillmentCall) Header() http.Header { func (c *ProjectsLocationsAgentUpdateFulfillmentCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -23492,7 +27430,7 @@ func (c *ProjectsLocationsAgentEntityTypesBatchDeleteCall) Header() http.Header func (c *ProjectsLocationsAgentEntityTypesBatchDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -23634,7 +27572,7 @@ func (c *ProjectsLocationsAgentEntityTypesBatchUpdateCall) Header() http.Header func (c *ProjectsLocationsAgentEntityTypesBatchUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -23786,7 +27724,7 @@ func (c *ProjectsLocationsAgentEntityTypesCreateCall) Header() http.Header { func (c *ProjectsLocationsAgentEntityTypesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -23931,7 +27869,7 @@ func (c *ProjectsLocationsAgentEntityTypesDeleteCall) Header() http.Header { func (c *ProjectsLocationsAgentEntityTypesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -24084,7 +28022,7 @@ func (c *ProjectsLocationsAgentEntityTypesGetCall) Header() http.Header { func (c *ProjectsLocationsAgentEntityTypesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -24260,7 +28198,7 @@ func (c *ProjectsLocationsAgentEntityTypesListCall) Header() http.Header { func (c *ProjectsLocationsAgentEntityTypesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -24453,7 +28391,7 @@ func (c *ProjectsLocationsAgentEntityTypesPatchCall) Header() http.Header { func (c *ProjectsLocationsAgentEntityTypesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -24607,7 +28545,7 @@ func (c *ProjectsLocationsAgentEntityTypesEntitiesBatchCreateCall) Header() http func (c *ProjectsLocationsAgentEntityTypesEntitiesBatchCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -24748,7 +28686,7 @@ func (c *ProjectsLocationsAgentEntityTypesEntitiesBatchDeleteCall) Header() http func (c *ProjectsLocationsAgentEntityTypesEntitiesBatchDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -24891,7 +28829,7 @@ func (c *ProjectsLocationsAgentEntityTypesEntitiesBatchUpdateCall) Header() http func (c *ProjectsLocationsAgentEntityTypesEntitiesBatchUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -25056,7 +28994,7 @@ func (c *ProjectsLocationsAgentEnvironmentsListCall) Header() http.Header { func (c *ProjectsLocationsAgentEnvironmentsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -25224,7 +29162,7 @@ func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsDeleteContextsCall) Head func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsDeleteContextsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -25364,7 +29302,7 @@ func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsDetectIntentCall) Header func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsDetectIntentCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -25508,7 +29446,7 @@ func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsContextsCreateCall) Head func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsContextsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -25648,7 +29586,7 @@ func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsContextsDeleteCall) Head func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsContextsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -25790,7 +29728,7 @@ func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsContextsGetCall) Header( func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsContextsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -25950,7 +29888,7 @@ func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsContextsListCall) Header func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsContextsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -26127,7 +30065,7 @@ func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsContextsPatchCall) Heade func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsContextsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -26279,7 +30217,7 @@ func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesCreateCall) H func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -26423,7 +30361,7 @@ func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesDeleteCall) H func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -26567,7 +30505,7 @@ func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesGetCall) Head func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -26731,7 +30669,7 @@ func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesListCall) Hea func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -26911,7 +30849,7 @@ func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesPatchCall) He func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -27060,7 +30998,7 @@ func (c *ProjectsLocationsAgentIntentsBatchDeleteCall) Header() http.Header { func (c *ProjectsLocationsAgentIntentsBatchDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -27202,7 +31140,7 @@ func (c *ProjectsLocationsAgentIntentsBatchUpdateCall) Header() http.Header { func (c *ProjectsLocationsAgentIntentsBatchUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -27366,7 +31304,7 @@ func (c *ProjectsLocationsAgentIntentsCreateCall) Header() http.Header { func (c *ProjectsLocationsAgentIntentsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -27525,7 +31463,7 @@ func (c *ProjectsLocationsAgentIntentsDeleteCall) Header() http.Header { func (c *ProjectsLocationsAgentIntentsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -27690,7 +31628,7 @@ func (c *ProjectsLocationsAgentIntentsGetCall) Header() http.Header { func (c *ProjectsLocationsAgentIntentsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -27891,7 +31829,7 @@ func (c *ProjectsLocationsAgentIntentsListCall) Header() http.Header { func (c *ProjectsLocationsAgentIntentsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -28109,7 +32047,7 @@ func (c *ProjectsLocationsAgentIntentsPatchCall) Header() http.Header { func (c *ProjectsLocationsAgentIntentsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -28273,7 +32211,7 @@ func (c *ProjectsLocationsAgentSessionsDeleteContextsCall) Header() http.Header func (c *ProjectsLocationsAgentSessionsDeleteContextsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -28413,7 +32351,7 @@ func (c *ProjectsLocationsAgentSessionsDetectIntentCall) Header() http.Header { func (c *ProjectsLocationsAgentSessionsDetectIntentCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -28557,7 +32495,7 @@ func (c *ProjectsLocationsAgentSessionsContextsCreateCall) Header() http.Header func (c *ProjectsLocationsAgentSessionsContextsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -28697,7 +32635,7 @@ func (c *ProjectsLocationsAgentSessionsContextsDeleteCall) Header() http.Header func (c *ProjectsLocationsAgentSessionsContextsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -28839,7 +32777,7 @@ func (c *ProjectsLocationsAgentSessionsContextsGetCall) Header() http.Header { func (c *ProjectsLocationsAgentSessionsContextsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -28999,7 +32937,7 @@ func (c *ProjectsLocationsAgentSessionsContextsListCall) Header() http.Header { func (c *ProjectsLocationsAgentSessionsContextsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -29176,7 +33114,7 @@ func (c *ProjectsLocationsAgentSessionsContextsPatchCall) Header() http.Header { func (c *ProjectsLocationsAgentSessionsContextsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -29328,7 +33266,7 @@ func (c *ProjectsLocationsAgentSessionsEntityTypesCreateCall) Header() http.Head func (c *ProjectsLocationsAgentSessionsEntityTypesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -29472,7 +33410,7 @@ func (c *ProjectsLocationsAgentSessionsEntityTypesDeleteCall) Header() http.Head func (c *ProjectsLocationsAgentSessionsEntityTypesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -29616,7 +33554,7 @@ func (c *ProjectsLocationsAgentSessionsEntityTypesGetCall) Header() http.Header func (c *ProjectsLocationsAgentSessionsEntityTypesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -29780,7 +33718,7 @@ func (c *ProjectsLocationsAgentSessionsEntityTypesListCall) Header() http.Header func (c *ProjectsLocationsAgentSessionsEntityTypesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -29960,7 +33898,7 @@ func (c *ProjectsLocationsAgentSessionsEntityTypesPatchCall) Header() http.Heade func (c *ProjectsLocationsAgentSessionsEntityTypesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -30111,7 +34049,7 @@ func (c *ProjectsLocationsKnowledgeBasesCreateCall) Header() http.Header { func (c *ProjectsLocationsKnowledgeBasesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -30262,7 +34200,7 @@ func (c *ProjectsLocationsKnowledgeBasesDeleteCall) Header() http.Header { func (c *ProjectsLocationsKnowledgeBasesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -30411,7 +34349,7 @@ func (c *ProjectsLocationsKnowledgeBasesGetCall) Header() http.Header { func (c *ProjectsLocationsKnowledgeBasesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -30593,7 +34531,7 @@ func (c *ProjectsLocationsKnowledgeBasesListCall) Header() http.Header { func (c *ProjectsLocationsKnowledgeBasesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -30780,7 +34718,7 @@ func (c *ProjectsLocationsKnowledgeBasesPatchCall) Header() http.Header { func (c *ProjectsLocationsKnowledgeBasesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -30940,7 +34878,7 @@ func (c *ProjectsLocationsKnowledgeBasesDocumentsCreateCall) Header() http.Heade func (c *ProjectsLocationsKnowledgeBasesDocumentsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -31086,7 +35024,7 @@ func (c *ProjectsLocationsKnowledgeBasesDocumentsDeleteCall) Header() http.Heade func (c *ProjectsLocationsKnowledgeBasesDocumentsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -31230,7 +35168,7 @@ func (c *ProjectsLocationsKnowledgeBasesDocumentsGetCall) Header() http.Header { func (c *ProjectsLocationsKnowledgeBasesDocumentsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -31408,7 +35346,7 @@ func (c *ProjectsLocationsKnowledgeBasesDocumentsListCall) Header() http.Header func (c *ProjectsLocationsKnowledgeBasesDocumentsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -31594,7 +35532,7 @@ func (c *ProjectsLocationsKnowledgeBasesDocumentsPatchCall) Header() http.Header func (c *ProjectsLocationsKnowledgeBasesDocumentsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -31750,7 +35688,7 @@ func (c *ProjectsLocationsKnowledgeBasesDocumentsReloadCall) Header() http.Heade func (c *ProjectsLocationsKnowledgeBasesDocumentsReloadCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -31898,7 +35836,7 @@ func (c *ProjectsLocationsOperationsCancelCall) Header() http.Header { func (c *ProjectsLocationsOperationsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -32042,7 +35980,7 @@ func (c *ProjectsLocationsOperationsGetCall) Header() http.Header { func (c *ProjectsLocationsOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -32217,7 +36155,7 @@ func (c *ProjectsLocationsOperationsListCall) Header() http.Header { func (c *ProjectsLocationsOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -32398,7 +36336,7 @@ func (c *ProjectsOperationsCancelCall) Header() http.Header { func (c *ProjectsOperationsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -32542,7 +36480,7 @@ func (c *ProjectsOperationsGetCall) Header() http.Header { func (c *ProjectsOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -32717,7 +36655,7 @@ func (c *ProjectsOperationsListCall) Header() http.Header { func (c *ProjectsOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/dialogflow/v3/dialogflow-api.json b/dialogflow/v3/dialogflow-api.json index 47f4b67a09e..58623800136 100644 --- a/dialogflow/v3/dialogflow-api.json +++ b/dialogflow/v3/dialogflow-api.json @@ -2160,62 +2160,159 @@ } } }, - "webhooks": { + "testCases": { "methods": { - "create": { - "description": "Creates a webhook in the specified agent.", - "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/webhooks", + "batchDelete": { + "description": "Batch deletes test cases.", + "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/testCases:batchDelete", "httpMethod": "POST", - "id": "dialogflow.projects.locations.agents.webhooks.create", + "id": "dialogflow.projects.locations.agents.testCases.batchDelete", "parameterOrder": [ "parent" ], "parameters": { "parent": { - "description": "Required. The agent to create a webhook for. Format: `projects//locations//agents/`.", + "description": "Required. The agent to delete test cases from. Format: `projects//locations//agents/`.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", "required": true, "type": "string" } }, - "path": "v3/{+parent}/webhooks", + "path": "v3/{+parent}/testCases:batchDelete", "request": { - "$ref": "GoogleCloudDialogflowCxV3Webhook" + "$ref": "GoogleCloudDialogflowCxV3BatchDeleteTestCasesRequest" }, "response": { - "$ref": "GoogleCloudDialogflowCxV3Webhook" + "$ref": "GoogleProtobufEmpty" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/dialogflow" ] }, - "delete": { - "description": "Deletes the specified webhook.", - "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/webhooks/{webhooksId}", - "httpMethod": "DELETE", - "id": "dialogflow.projects.locations.agents.webhooks.delete", + "batchRun": { + "description": "Kicks off a batch run of test cases.", + "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/testCases:batchRun", + "httpMethod": "POST", + "id": "dialogflow.projects.locations.agents.testCases.batchRun", "parameterOrder": [ - "name" + "parent" ], "parameters": { - "force": { - "description": "This field has no effect for webhook not being used. For webhooks that are used by pages/flows/transition route groups: * If `force` is set to false, an error will be returned with message indicating the referenced resources. * If `force` is set to true, Dialogflow will remove the webhook, as well as any references to the webhook (i.e. Webhook and tagin fulfillments that point to this webhook will be removed).", - "location": "query", - "type": "boolean" + "parent": { + "description": "Required. Agent name. Format: `projects//locations//agents/ `.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v3/{+parent}/testCases:batchRun", + "request": { + "$ref": "GoogleCloudDialogflowCxV3BatchRunTestCasesRequest" + }, + "response": { + "$ref": "GoogleLongrunningOperation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + }, + "calculateCoverage": { + "description": "Calculates the test coverage for an agent.", + "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/testCases:calculateCoverage", + "httpMethod": "GET", + "id": "dialogflow.projects.locations.agents.testCases.calculateCoverage", + "parameterOrder": [ + "agent" + ], + "parameters": { + "agent": { + "description": "Required. The agent to calculate coverage for. Format: `projects//locations//agents/`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", + "required": true, + "type": "string" }, - "name": { - "description": "Required. The name of the webhook to delete. Format: `projects//locations//agents//webhooks/`.", + "type": { + "description": "Required. The type of coverage requested.", + "enum": [ + "COVERAGE_TYPE_UNSPECIFIED", + "INTENT", + "PAGE_TRANSITION" + ], + "enumDescriptions": [ + "Should never be used.", + "Intent coverage.", + "Page transition coverage" + ], + "location": "query", + "type": "string" + } + }, + "path": "v3/{+agent}/testCases:calculateCoverage", + "response": { + "$ref": "GoogleCloudDialogflowCxV3CalculateCoverageResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + }, + "create": { + "description": "Creates a test case for the given agent.", + "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/testCases", + "httpMethod": "POST", + "id": "dialogflow.projects.locations.agents.testCases.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. The agent to create the test case for. Format: `projects//locations//agents/`.", "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/webhooks/[^/]+$", + "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", "required": true, "type": "string" } }, - "path": "v3/{+name}", + "path": "v3/{+parent}/testCases", + "request": { + "$ref": "GoogleCloudDialogflowCxV3TestCase" + }, "response": { - "$ref": "GoogleProtobufEmpty" + "$ref": "GoogleCloudDialogflowCxV3TestCase" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + }, + "export": { + "description": "Exports the test cases under the agent to a Cloud Storage bucket or a local file. Filter can be applied to export a subset of test cases.", + "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/testCases:export", + "httpMethod": "POST", + "id": "dialogflow.projects.locations.agents.testCases.export", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. The agent where to export test cases from. Format: `projects//locations//agents/`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v3/{+parent}/testCases:export", + "request": { + "$ref": "GoogleCloudDialogflowCxV3ExportTestCasesRequest" + }, + "response": { + "$ref": "GoogleLongrunningOperation" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", @@ -2223,25 +2320,54 @@ ] }, "get": { - "description": "Retrieves the specified webhook.", - "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/webhooks/{webhooksId}", + "description": "Gets a test case.", + "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/testCases/{testCasesId}", "httpMethod": "GET", - "id": "dialogflow.projects.locations.agents.webhooks.get", + "id": "dialogflow.projects.locations.agents.testCases.get", "parameterOrder": [ "name" ], "parameters": { "name": { - "description": "Required. The name of the webhook. Format: `projects//locations//agents//webhooks/`.", + "description": "Required. The name of the testcase. Format: `projects//locations//agents//testCases/`.", "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/webhooks/[^/]+$", + "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/testCases/[^/]+$", "required": true, "type": "string" } }, "path": "v3/{+name}", "response": { - "$ref": "GoogleCloudDialogflowCxV3Webhook" + "$ref": "GoogleCloudDialogflowCxV3TestCase" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + }, + "import": { + "description": "Imports the test cases from a Cloud Storage bucket or a local file. It always creates new test cases and won't overwite any existing ones. The provided ID in the imported test case is neglected.", + "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/testCases:import", + "httpMethod": "POST", + "id": "dialogflow.projects.locations.agents.testCases.import", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. The agent to import test cases to. Format: `projects//locations//agents/`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v3/{+parent}/testCases:import", + "request": { + "$ref": "GoogleCloudDialogflowCxV3ImportTestCasesRequest" + }, + "response": { + "$ref": "GoogleLongrunningOperation" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", @@ -2249,16 +2375,16 @@ ] }, "list": { - "description": "Returns the list of all webhooks in the specified agent.", - "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/webhooks", + "description": "Fetches a list of test cases for a given agent.", + "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/testCases", "httpMethod": "GET", - "id": "dialogflow.projects.locations.agents.webhooks.list", + "id": "dialogflow.projects.locations.agents.testCases.list", "parameterOrder": [ "parent" ], "parameters": { "pageSize": { - "description": "The maximum number of items to return in a single page. By default 100 and at most 1000.", + "description": "The maximum number of items to return in a single page. By default 20. Note that when TestCaseView = FULL, the maximum page size allowed is 20. When TestCaseView = BASIC, the maximum page size allowed is 500.", "format": "int32", "location": "query", "type": "integer" @@ -2269,16 +2395,31 @@ "type": "string" }, "parent": { - "description": "Required. The agent to list all webhooks for. Format: `projects//locations//agents/`.", + "description": "Required. The agent to list all pages for. Format: `projects//locations//agents/`.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", "required": true, "type": "string" + }, + "view": { + "description": "Specifies whether response should include all fields or just the metadata.", + "enum": [ + "TEST_CASE_VIEW_UNSPECIFIED", + "BASIC", + "FULL" + ], + "enumDescriptions": [ + "The default / unset value. The API will default to the BASIC view.", + "Include basic metadata about the test case, but not the conversation turns. This is the default value.", + "Include everything." + ], + "location": "query", + "type": "string" } }, - "path": "v3/{+parent}/webhooks", + "path": "v3/{+parent}/testCases", "response": { - "$ref": "GoogleCloudDialogflowCxV3ListWebhooksResponse" + "$ref": "GoogleCloudDialogflowCxV3ListTestCasesResponse" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", @@ -2286,23 +2427,23 @@ ] }, "patch": { - "description": "Updates the specified webhook.", - "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/webhooks/{webhooksId}", + "description": "Updates the specified test case.", + "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/testCases/{testCasesId}", "httpMethod": "PATCH", - "id": "dialogflow.projects.locations.agents.webhooks.patch", + "id": "dialogflow.projects.locations.agents.testCases.patch", "parameterOrder": [ "name" ], "parameters": { "name": { - "description": "The unique identifier of the webhook. Required for the Webhooks.UpdateWebhook method. Webhooks.CreateWebhook populates the name automatically. Format: `projects//locations//agents//webhooks/`.", + "description": "The unique identifier of the test case. TestCases.CreateTestCase will populate the name automatically. Otherwise use format: `projects//locations//agents/ /testCases/`.", "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/webhooks/[^/]+$", + "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/testCases/[^/]+$", "required": true, "type": "string" }, "updateMask": { - "description": "The mask to control which fields get updated. If the mask is not present, all fields will be updated.", + "description": "Required. The mask to specify which fields should be updated. Only a test case's metadata and replayed_conversation_turns may be updated. The original test_case_conversation_turns may not be updated.", "format": "google-fieldmask", "location": "query", "type": "string" @@ -2310,60 +2451,309 @@ }, "path": "v3/{+name}", "request": { - "$ref": "GoogleCloudDialogflowCxV3Webhook" + "$ref": "GoogleCloudDialogflowCxV3TestCase" }, "response": { - "$ref": "GoogleCloudDialogflowCxV3Webhook" + "$ref": "GoogleCloudDialogflowCxV3TestCase" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + }, + "run": { + "description": "Kicks off a test case run.", + "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/testCases:run", + "httpMethod": "POST", + "id": "dialogflow.projects.locations.agents.testCases.run", + "parameterOrder": [ + "projectsId", + "locationsId", + "agentsId" + ], + "parameters": { + "agentsId": { + "location": "path", + "required": true, + "type": "string" + }, + "locationsId": { + "location": "path", + "required": true, + "type": "string" + }, + "projectsId": { + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/testCases:run", + "request": { + "$ref": "GoogleCloudDialogflowCxV3RunTestCaseRequest" + }, + "response": { + "$ref": "GoogleLongrunningOperation" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/dialogflow" ] } - } - } - } - }, - "operations": { - "methods": { - "cancel": { - "description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", - "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel", - "httpMethod": "POST", - "id": "dialogflow.projects.locations.operations.cancel", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "The name of the operation resource to be cancelled.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v3/{+name}:cancel", - "response": { - "$ref": "GoogleProtobufEmpty" }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/dialogflow" - ] + "resources": { + "results": { + "methods": { + "list": { + "description": "Fetches a list of results for a given test case.", + "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/testCases/{testCasesId}/results", + "httpMethod": "GET", + "id": "dialogflow.projects.locations.agents.testCases.results.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "filter": { + "description": "The filter expression used to filter test case results. See [API Filtering](https://aip.dev/160). The expression is case insensitive. Only 'AND' is supported for logical operators. The supported syntax is listed below in detail: [AND ] ... [AND latest] The supported fields and operators are: field operator `environment` `=`, `IN` (Use value `draft` for draft environment) `test_time` `\u003e`, `\u003c` `latest` only returns the latest test result in all results for each test case. Examples: * \"environment=draft AND latest\" matches the latest test result for each test case in the draft environment. * \"environment IN (e1,e2)\" matches any test case results with an environment resource name of either \"e1\" or \"e2\". * \"test_time \u003e 1602540713\" matches any test case results with test time later than a unix timestamp in seconds 1602540713.", + "location": "query", + "type": "string" + }, + "pageSize": { + "description": "The maximum number of items to return in a single page. By default 100 and at most 1000.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "The next_page_token value returned from a previous list request.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The test case to list results for. Format: `projects//locations//agents// testCases/`. Specify a `-` as a wildcard for TestCase ID to list results across multiple test cases.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/testCases/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v3/{+parent}/results", + "response": { + "$ref": "GoogleCloudDialogflowCxV3ListTestCaseResultsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + } + } + } + } }, - "get": { - "description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", - "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", - "httpMethod": "GET", - "id": "dialogflow.projects.locations.operations.get", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "The name of the operation resource.", - "location": "path", + "webhooks": { + "methods": { + "create": { + "description": "Creates a webhook in the specified agent.", + "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/webhooks", + "httpMethod": "POST", + "id": "dialogflow.projects.locations.agents.webhooks.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. The agent to create a webhook for. Format: `projects//locations//agents/`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v3/{+parent}/webhooks", + "request": { + "$ref": "GoogleCloudDialogflowCxV3Webhook" + }, + "response": { + "$ref": "GoogleCloudDialogflowCxV3Webhook" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + }, + "delete": { + "description": "Deletes the specified webhook.", + "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/webhooks/{webhooksId}", + "httpMethod": "DELETE", + "id": "dialogflow.projects.locations.agents.webhooks.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "force": { + "description": "This field has no effect for webhook not being used. For webhooks that are used by pages/flows/transition route groups: * If `force` is set to false, an error will be returned with message indicating the referenced resources. * If `force` is set to true, Dialogflow will remove the webhook, as well as any references to the webhook (i.e. Webhook and tagin fulfillments that point to this webhook will be removed).", + "location": "query", + "type": "boolean" + }, + "name": { + "description": "Required. The name of the webhook to delete. Format: `projects//locations//agents//webhooks/`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/webhooks/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v3/{+name}", + "response": { + "$ref": "GoogleProtobufEmpty" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + }, + "get": { + "description": "Retrieves the specified webhook.", + "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/webhooks/{webhooksId}", + "httpMethod": "GET", + "id": "dialogflow.projects.locations.agents.webhooks.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the webhook. Format: `projects//locations//agents//webhooks/`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/webhooks/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v3/{+name}", + "response": { + "$ref": "GoogleCloudDialogflowCxV3Webhook" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + }, + "list": { + "description": "Returns the list of all webhooks in the specified agent.", + "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/webhooks", + "httpMethod": "GET", + "id": "dialogflow.projects.locations.agents.webhooks.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "pageSize": { + "description": "The maximum number of items to return in a single page. By default 100 and at most 1000.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "The next_page_token value returned from a previous list request.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The agent to list all webhooks for. Format: `projects//locations//agents/`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v3/{+parent}/webhooks", + "response": { + "$ref": "GoogleCloudDialogflowCxV3ListWebhooksResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + }, + "patch": { + "description": "Updates the specified webhook.", + "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/webhooks/{webhooksId}", + "httpMethod": "PATCH", + "id": "dialogflow.projects.locations.agents.webhooks.patch", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "The unique identifier of the webhook. Required for the Webhooks.UpdateWebhook method. Webhooks.CreateWebhook populates the name automatically. Format: `projects//locations//agents//webhooks/`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/webhooks/[^/]+$", + "required": true, + "type": "string" + }, + "updateMask": { + "description": "The mask to control which fields get updated. If the mask is not present, all fields will be updated.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "v3/{+name}", + "request": { + "$ref": "GoogleCloudDialogflowCxV3Webhook" + }, + "response": { + "$ref": "GoogleCloudDialogflowCxV3Webhook" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + } + } + } + } + }, + "operations": { + "methods": { + "cancel": { + "description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", + "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel", + "httpMethod": "POST", + "id": "dialogflow.projects.locations.operations.cancel", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "The name of the operation resource to be cancelled.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v3/{+name}:cancel", + "response": { + "$ref": "GoogleProtobufEmpty" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + }, + "get": { + "description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", + "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", + "httpMethod": "GET", + "id": "dialogflow.projects.locations.operations.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "The name of the operation resource.", + "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", "required": true, "type": "string" @@ -2682,7 +3072,7 @@ } } }, - "revision": "20201207", + "revision": "20201213", "rootUrl": "https://dialogflow.googleapis.com/", "schemas": { "GoogleCloudDialogflowCxV3Agent": { @@ -2748,65 +3138,254 @@ }, "type": "object" }, - "GoogleCloudDialogflowCxV3CreateVersionOperationMetadata": { - "description": "Metadata associated with the long running operation for Versions.CreateVersion.", - "id": "GoogleCloudDialogflowCxV3CreateVersionOperationMetadata", + "GoogleCloudDialogflowCxV3BatchDeleteTestCasesRequest": { + "description": "The request message for TestCases.BatchDeleteTestCases.", + "id": "GoogleCloudDialogflowCxV3BatchDeleteTestCasesRequest", "properties": { - "version": { - "description": "Name of the created version. Format: `projects//locations//agents//flows//versions/`.", - "type": "string" + "names": { + "description": "Required. Format of test case names: `projects//locations/ /agents//testCases/`.", + "items": { + "type": "string" + }, + "type": "array" } }, "type": "object" }, - "GoogleCloudDialogflowCxV3DetectIntentRequest": { - "description": "The request to detect user's intent.", - "id": "GoogleCloudDialogflowCxV3DetectIntentRequest", + "GoogleCloudDialogflowCxV3BatchRunTestCasesMetadata": { + "description": "Metadata returned for the TestCases.BatchRunTestCases long running operation.", + "id": "GoogleCloudDialogflowCxV3BatchRunTestCasesMetadata", "properties": { - "outputAudioConfig": { - "$ref": "GoogleCloudDialogflowCxV3OutputAudioConfig", - "description": "Instructs the speech synthesizer how to generate the output audio." - }, - "queryInput": { - "$ref": "GoogleCloudDialogflowCxV3QueryInput", - "description": "Required. The input specification." - }, - "queryParams": { - "$ref": "GoogleCloudDialogflowCxV3QueryParameters", - "description": "The parameters of this query." + "errors": { + "description": "The test errors.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3TestError" + }, + "type": "array" } }, "type": "object" }, - "GoogleCloudDialogflowCxV3DetectIntentResponse": { - "description": "The message returned from the DetectIntent method.", - "id": "GoogleCloudDialogflowCxV3DetectIntentResponse", + "GoogleCloudDialogflowCxV3BatchRunTestCasesRequest": { + "description": "The request message for TestCases.BatchRunTestCases.", + "id": "GoogleCloudDialogflowCxV3BatchRunTestCasesRequest", "properties": { - "outputAudio": { - "description": "The audio data bytes encoded as specified in the request. Note: The output audio is generated based on the values of default platform text responses found in the `query_result.response_messages` field. If multiple default text responses exist, they will be concatenated when generating audio. If no default platform text responses exist, the generated audio content will be empty. In some scenarios, multiple output audio fields may be present in the response structure. In these cases, only the top-most-level audio output has content.", - "format": "byte", + "environment": { + "description": "Optional. If not set, draft environment is assumed. Format: `projects//locations//agents//environments/`.", "type": "string" }, - "outputAudioConfig": { - "$ref": "GoogleCloudDialogflowCxV3OutputAudioConfig", - "description": "The config used by the speech synthesizer to generate the output audio." - }, - "queryResult": { - "$ref": "GoogleCloudDialogflowCxV3QueryResult", - "description": "The result of the conversational query." - }, - "responseId": { - "description": "Output only. The unique identifier of the response. It can be used to locate a response in the training example set or for reporting issues.", - "type": "string" + "testCases": { + "description": "Required. Format: `projects//locations//agents//testCases/`.", + "items": { + "type": "string" + }, + "type": "array" } }, "type": "object" }, - "GoogleCloudDialogflowCxV3DtmfInput": { - "description": "Represents the input for dtmf event.", - "id": "GoogleCloudDialogflowCxV3DtmfInput", + "GoogleCloudDialogflowCxV3BatchRunTestCasesResponse": { + "description": "The response message for TestCases.BatchRunTestCases.", + "id": "GoogleCloudDialogflowCxV3BatchRunTestCasesResponse", "properties": { - "digits": { + "results": { + "description": "The test case results. The detailed conversation turns are empty in this response.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3TestCaseResult" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3CalculateCoverageResponse": { + "description": "The response message for TestCases.CalculateCoverage.", + "id": "GoogleCloudDialogflowCxV3CalculateCoverageResponse", + "properties": { + "agent": { + "description": "The agent to calculate coverage for. Format: `projects//locations//agents/`.", + "type": "string" + }, + "intentCoverage": { + "$ref": "GoogleCloudDialogflowCxV3IntentCoverage", + "description": "Intent coverage." + }, + "transitionCoverage": { + "$ref": "GoogleCloudDialogflowCxV3TransitionCoverage", + "description": "Transition coverage." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3ConversationTurn": { + "description": "One interaction between a human and virtual agent. The human provides some input and the virtual agent provides a response.", + "id": "GoogleCloudDialogflowCxV3ConversationTurn", + "properties": { + "userInput": { + "$ref": "GoogleCloudDialogflowCxV3ConversationTurnUserInput", + "description": "The user input." + }, + "virtualAgentOutput": { + "$ref": "GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput", + "description": "The virtual agent output." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3ConversationTurnUserInput": { + "description": "The input from the human user.", + "id": "GoogleCloudDialogflowCxV3ConversationTurnUserInput", + "properties": { + "injectedParameters": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "Parameters that need to be injected into the conversation during intent detection.", + "type": "object" + }, + "input": { + "$ref": "GoogleCloudDialogflowCxV3QueryInput", + "description": "Supports text input, event input, dtmf input in the test case." + }, + "isWebhookEnabled": { + "description": "If webhooks should be allowed to trigger in response to the user utterance. Often if parameters are injected, webhooks should not be enabled.", + "type": "boolean" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput": { + "description": "The output from the virtual agent.", + "id": "GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput", + "properties": { + "currentPage": { + "$ref": "GoogleCloudDialogflowCxV3Page", + "description": "The Page on which the utterance was spoken. Only some fields such as name and displayname will be set." + }, + "diagnosticInfo": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "Required. Input only. The diagnostic info output for the turn.", + "type": "object" + }, + "differences": { + "description": "Output only. If this is part of a result conversation turn, the list of differences between the original run and the replay for this output, if any.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3TestRunDifference" + }, + "readOnly": true, + "type": "array" + }, + "sessionParameters": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "The session parameters available to the bot at this point.", + "type": "object" + }, + "status": { + "$ref": "GoogleRpcStatus", + "description": "Response error from the agent in the test result. If set, other output is empty." + }, + "textResponses": { + "description": "The text responses from the agent for the turn.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3ResponseMessageText" + }, + "type": "array" + }, + "triggeredIntent": { + "$ref": "GoogleCloudDialogflowCxV3Intent", + "description": "The Intent that triggered the response. Only some fields such as name and displayname will be set." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3CreateDocumentOperationMetadata": { + "description": "Metadata for CreateDocument operation.", + "id": "GoogleCloudDialogflowCxV3CreateDocumentOperationMetadata", + "properties": { + "genericMetadata": { + "$ref": "GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata", + "description": "The generic information of the operation." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3CreateVersionOperationMetadata": { + "description": "Metadata associated with the long running operation for Versions.CreateVersion.", + "id": "GoogleCloudDialogflowCxV3CreateVersionOperationMetadata", + "properties": { + "version": { + "description": "Name of the created version. Format: `projects//locations//agents//flows//versions/`.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3DeleteDocumentOperationMetadata": { + "description": "Metadata for DeleteDocument operation.", + "id": "GoogleCloudDialogflowCxV3DeleteDocumentOperationMetadata", + "properties": { + "genericMetadata": { + "$ref": "GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata", + "description": "The generic information of the operation." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3DetectIntentRequest": { + "description": "The request to detect user's intent.", + "id": "GoogleCloudDialogflowCxV3DetectIntentRequest", + "properties": { + "outputAudioConfig": { + "$ref": "GoogleCloudDialogflowCxV3OutputAudioConfig", + "description": "Instructs the speech synthesizer how to generate the output audio." + }, + "queryInput": { + "$ref": "GoogleCloudDialogflowCxV3QueryInput", + "description": "Required. The input specification." + }, + "queryParams": { + "$ref": "GoogleCloudDialogflowCxV3QueryParameters", + "description": "The parameters of this query." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3DetectIntentResponse": { + "description": "The message returned from the DetectIntent method.", + "id": "GoogleCloudDialogflowCxV3DetectIntentResponse", + "properties": { + "outputAudio": { + "description": "The audio data bytes encoded as specified in the request. Note: The output audio is generated based on the values of default platform text responses found in the `query_result.response_messages` field. If multiple default text responses exist, they will be concatenated when generating audio. If no default platform text responses exist, the generated audio content will be empty. In some scenarios, multiple output audio fields may be present in the response structure. In these cases, only the top-most-level audio output has content.", + "format": "byte", + "type": "string" + }, + "outputAudioConfig": { + "$ref": "GoogleCloudDialogflowCxV3OutputAudioConfig", + "description": "The config used by the speech synthesizer to generate the output audio." + }, + "queryResult": { + "$ref": "GoogleCloudDialogflowCxV3QueryResult", + "description": "The result of the conversational query." + }, + "responseId": { + "description": "Output only. The unique identifier of the response. It can be used to locate a response in the training example set or for reporting issues.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3DtmfInput": { + "description": "Represents the input for dtmf event.", + "id": "GoogleCloudDialogflowCxV3DtmfInput", + "properties": { + "digits": { "description": "The dtmf digits.", "type": "string" }, @@ -3016,6 +3595,57 @@ }, "type": "object" }, + "GoogleCloudDialogflowCxV3ExportTestCasesMetadata": { + "description": "Metadata returned for the TestCases.ExportTestCases long running operation.", + "id": "GoogleCloudDialogflowCxV3ExportTestCasesMetadata", + "properties": {}, + "type": "object" + }, + "GoogleCloudDialogflowCxV3ExportTestCasesRequest": { + "description": "The request message for TestCases.ExportTestCases.", + "id": "GoogleCloudDialogflowCxV3ExportTestCasesRequest", + "properties": { + "dataFormat": { + "description": "The data format of the exported test cases. If not specified, `BLOB` is assumed.", + "enum": [ + "DATA_FORMAT_UNSPECIFIED", + "BLOB", + "JSON" + ], + "enumDescriptions": [ + "Unspecified format.", + "Raw bytes.", + "JSON format." + ], + "type": "string" + }, + "filter": { + "description": "The filter expression used to filter exported test cases, see [API Filtering](https://aip.dev/160). The expression is case insensitive and supports the following syntax: name = [OR name = ] ... For example: * \"name = t1 OR name = t2\" matches the test case with the exact resource name \"t1\" or \"t2\".", + "type": "string" + }, + "gcsUri": { + "description": "The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to export the test cases to. The format of this URI must be `gs:///`. If unspecified, the serialized test cases is returned inline.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3ExportTestCasesResponse": { + "description": "The response message for TestCases.ExportTestCases.", + "id": "GoogleCloudDialogflowCxV3ExportTestCasesResponse", + "properties": { + "content": { + "description": "Uncompressed raw byte content for test cases.", + "format": "byte", + "type": "string" + }, + "gcsUri": { + "description": "The URI to a file containing the exported test cases. This field is populated only if `gcs_uri` is specified in ExportTestCasesRequest.", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudDialogflowCxV3Flow": { "description": "Flows represents the conversation flows when you build your chatbot agent. A flow consists of many pages connected by the transition routes. Conversations always start with the built-in Start Flow (with an all-0 ID). Transition routes can direct the conversation session from the current flow (parent flow) to another flow (sub flow). When the sub flow is finished, Dialogflow will bring the session back to the parent flow, where the sub flow is started. Usually, when a transition route is followed by a matched intent, the intent will be \"consumed\". This means the intent won't activate more transition routes. However, when the followed transition route moves the conversation session into a different flow, the matched intent can be carried over and to be consumed in the target flow.", "id": "GoogleCloudDialogflowCxV3Flow", @@ -3261,6 +3891,99 @@ }, "type": "object" }, + "GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata": { + "description": "Metadata in google::longrunning::Operation for Knowledge operations.", + "id": "GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata", + "properties": { + "state": { + "description": "Required. Output only. The current state of this operation.", + "enum": [ + "STATE_UNSPECIFIED", + "PENDING", + "RUNNING", + "DONE" + ], + "enumDescriptions": [ + "State unspecified.", + "The operation has been created.", + "The operation is currently running.", + "The operation is done, either cancelled or completed." + ], + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3ImportDocumentsOperationMetadata": { + "description": "Metadata for ImportDocuments operation.", + "id": "GoogleCloudDialogflowCxV3ImportDocumentsOperationMetadata", + "properties": { + "genericMetadata": { + "$ref": "GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata", + "description": "The generic information of the operation." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3ImportDocumentsResponse": { + "description": "Response message for Documents.ImportDocuments.", + "id": "GoogleCloudDialogflowCxV3ImportDocumentsResponse", + "properties": { + "warnings": { + "description": "Includes details about skipped documents or any other warnings.", + "items": { + "$ref": "GoogleRpcStatus" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3ImportTestCasesMetadata": { + "description": "Metadata returned for the TestCases.ImportTestCases long running operation.", + "id": "GoogleCloudDialogflowCxV3ImportTestCasesMetadata", + "properties": { + "errors": { + "description": "Errors for failed test cases.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3TestCaseError" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3ImportTestCasesRequest": { + "description": "The request message for TestCases.ImportTestCases.", + "id": "GoogleCloudDialogflowCxV3ImportTestCasesRequest", + "properties": { + "content": { + "description": "Uncompressed raw byte content for test cases.", + "format": "byte", + "type": "string" + }, + "gcsUri": { + "description": "The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to import test cases from. The format of this URI must be `gs:///`.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3ImportTestCasesResponse": { + "description": "The response message for TestCases.ImportTestCases.", + "id": "GoogleCloudDialogflowCxV3ImportTestCasesResponse", + "properties": { + "names": { + "description": "The unique identifiers of the new test cases. Format: `projects//locations//agents//testCases/`.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, "GoogleCloudDialogflowCxV3InputAudioConfig": { "description": "Instructs the speech recognizer on how to process the audio content.", "id": "GoogleCloudDialogflowCxV3InputAudioConfig", @@ -3381,6 +4104,40 @@ }, "type": "object" }, + "GoogleCloudDialogflowCxV3IntentCoverage": { + "description": "Intent coverage represents the percentage of all possible intents in the agent that are triggered in any of a parent's test cases.", + "id": "GoogleCloudDialogflowCxV3IntentCoverage", + "properties": { + "coverageScore": { + "description": "The percent of intents in the agent that are covered.", + "format": "float", + "type": "number" + }, + "intents": { + "description": "The list of Intents present in the agent", + "items": { + "$ref": "GoogleCloudDialogflowCxV3IntentCoverageIntent" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3IntentCoverageIntent": { + "description": "The agent's intent.", + "id": "GoogleCloudDialogflowCxV3IntentCoverageIntent", + "properties": { + "covered": { + "description": "Whether or not the intent is covered by at least one of the agent's test cases.", + "type": "boolean" + }, + "intent": { + "description": "The intent full resource name", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudDialogflowCxV3IntentInput": { "description": "Represents the intent to trigger programmatically rather than as a result of natural language processing.", "id": "GoogleCloudDialogflowCxV3IntentInput", @@ -3597,26 +4354,62 @@ }, "type": "object" }, - "GoogleCloudDialogflowCxV3ListTransitionRouteGroupsResponse": { - "description": "The response message for TransitionRouteGroups.ListTransitionRouteGroups.", - "id": "GoogleCloudDialogflowCxV3ListTransitionRouteGroupsResponse", + "GoogleCloudDialogflowCxV3ListTestCaseResultsResponse": { + "description": "The response message for TestCases.ListTestCaseResults.", + "id": "GoogleCloudDialogflowCxV3ListTestCaseResultsResponse", "properties": { "nextPageToken": { "description": "Token to retrieve the next page of results, or empty if there are no more results in the list.", "type": "string" }, - "transitionRouteGroups": { - "description": "The list of transition route groups. There will be a maximum number of items returned based on the page_size field in the request. The list may in some cases be empty or contain fewer entries than page_size even if this isn't the last page.", + "testCaseResults": { + "description": "The list of test case results.", "items": { - "$ref": "GoogleCloudDialogflowCxV3TransitionRouteGroup" + "$ref": "GoogleCloudDialogflowCxV3TestCaseResult" }, "type": "array" } }, "type": "object" }, - "GoogleCloudDialogflowCxV3ListVersionsResponse": { - "description": "The response message for Versions.ListVersions.", + "GoogleCloudDialogflowCxV3ListTestCasesResponse": { + "description": "The response message for TestCases.ListTestCases.", + "id": "GoogleCloudDialogflowCxV3ListTestCasesResponse", + "properties": { + "nextPageToken": { + "description": "Token to retrieve the next page of results, or empty if there are no more results in the list.", + "type": "string" + }, + "testCases": { + "description": "The list of test cases. There will be a maximum number of items returned based on the page_size field in the request.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3TestCase" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3ListTransitionRouteGroupsResponse": { + "description": "The response message for TransitionRouteGroups.ListTransitionRouteGroups.", + "id": "GoogleCloudDialogflowCxV3ListTransitionRouteGroupsResponse", + "properties": { + "nextPageToken": { + "description": "Token to retrieve the next page of results, or empty if there are no more results in the list.", + "type": "string" + }, + "transitionRouteGroups": { + "description": "The list of transition route groups. There will be a maximum number of items returned based on the page_size field in the request. The list may in some cases be empty or contain fewer entries than page_size even if this isn't the last page.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3TransitionRouteGroup" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3ListVersionsResponse": { + "description": "The response message for Versions.ListVersions.", "id": "GoogleCloudDialogflowCxV3ListVersionsResponse", "properties": { "nextPageToken": { @@ -4140,6 +4933,17 @@ }, "type": "object" }, + "GoogleCloudDialogflowCxV3ReloadDocumentOperationMetadata": { + "description": "Metadata for ReloadDocument operation.", + "id": "GoogleCloudDialogflowCxV3ReloadDocumentOperationMetadata", + "properties": { + "genericMetadata": { + "$ref": "GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata", + "description": "The generic information of the operation." + } + }, + "type": "object" + }, "GoogleCloudDialogflowCxV3ResponseMessage": { "description": "Represents a response message that can be returned by a conversational agent. Response messages are also used for output audio synthesis. The approach is as follows: * If at least one OutputAudioText response is present, then all OutputAudioText responses are linearly concatenated, and the result is used for output audio synthesis. * If the OutputAudioText responses are a mixture of text and SSML, then the concatenated result is treated as SSML; otherwise, the result is treated as either text or SSML as appropriate. The agent designer should ideally use either text or SSML consistently throughout the bot design. * Otherwise, all Text responses are linearly concatenated, and the result is used for output audio synthesis. This approach allows for more sophisticated user experience scenarios, where the text displayed to the user may differ from what is heard.", "id": "GoogleCloudDialogflowCxV3ResponseMessage", @@ -4327,6 +5131,38 @@ }, "type": "object" }, + "GoogleCloudDialogflowCxV3RunTestCaseMetadata": { + "description": "Metadata returned for the TestCases.RunTestCase long running operation.", + "id": "GoogleCloudDialogflowCxV3RunTestCaseMetadata", + "properties": {}, + "type": "object" + }, + "GoogleCloudDialogflowCxV3RunTestCaseRequest": { + "description": "The request message for TestCases.RunTestCase.", + "id": "GoogleCloudDialogflowCxV3RunTestCaseRequest", + "properties": { + "environment": { + "description": "Optional. Environment name. If not set, draft environment is assumed. Format: `projects//locations//agents//environments/`.", + "type": "string" + }, + "name": { + "description": "Required. Format of test case name to run: `projects//locations/ /agents//testCases/`.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3RunTestCaseResponse": { + "description": "The response message for TestCases.RunTestCase.", + "id": "GoogleCloudDialogflowCxV3RunTestCaseResponse", + "properties": { + "result": { + "$ref": "GoogleCloudDialogflowCxV3TestCaseResult", + "description": "The result." + } + }, + "type": "object" + }, "GoogleCloudDialogflowCxV3SecuritySettings": { "description": "Represents the settings related to security issues, such as data redaction and data retention. It may take hours for updates on the settings to propagate to all the related components and take effect.", "id": "GoogleCloudDialogflowCxV3SecuritySettings", @@ -4501,6 +5337,176 @@ }, "type": "object" }, + "GoogleCloudDialogflowCxV3TestCase": { + "description": "Represents a test case.", + "id": "GoogleCloudDialogflowCxV3TestCase", + "properties": { + "creationTime": { + "description": "Output only. When the test was created.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "displayName": { + "description": "Required. The human-readable name of the test case, unique within the agent. Limit of 200 characters.", + "type": "string" + }, + "lastTestResult": { + "$ref": "GoogleCloudDialogflowCxV3TestCaseResult", + "description": "The latest test result." + }, + "name": { + "description": "The unique identifier of the test case. TestCases.CreateTestCase will populate the name automatically. Otherwise use format: `projects//locations//agents/ /testCases/`.", + "type": "string" + }, + "notes": { + "description": "Additional freeform notes about the test case. Limit of 400 characters.", + "type": "string" + }, + "tags": { + "description": "Tags are short descriptions that users may apply to test cases for organizational and filtering purposes. Each tag should start with \"#\" and has a limit of 30 characters.", + "items": { + "type": "string" + }, + "type": "array" + }, + "testCaseConversationTurns": { + "description": "The conversation turns uttered when the test case was created, in chronological order. These include the canonical set of agent utterances that should occur when the agent is working properly.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3ConversationTurn" + }, + "type": "array" + }, + "testConfig": { + "$ref": "GoogleCloudDialogflowCxV3TestConfig", + "description": "Config for the test case." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3TestCaseError": { + "description": "Error info for importing a test.", + "id": "GoogleCloudDialogflowCxV3TestCaseError", + "properties": { + "status": { + "$ref": "GoogleRpcStatus", + "description": "The status associated with the test case." + }, + "testCase": { + "$ref": "GoogleCloudDialogflowCxV3TestCase", + "description": "The test case." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3TestCaseResult": { + "description": "Represents a result from running a test case in an agent environment.", + "id": "GoogleCloudDialogflowCxV3TestCaseResult", + "properties": { + "conversationTurns": { + "description": "The conversation turns uttered during the test case replay in chronological order.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3ConversationTurn" + }, + "type": "array" + }, + "environment": { + "description": "Optional. Environment where the test was run. If not set, it indicates the draft environment.", + "type": "string" + }, + "name": { + "description": "The resource name for the test case result. Format: `projects//locations//agents//testCases/ /results/`.", + "type": "string" + }, + "testResult": { + "description": "Whether the test case passed in the agent environment.", + "enum": [ + "TEST_RESULT_UNSPECIFIED", + "PASSED", + "FAILED" + ], + "enumDescriptions": [ + "Not specified. Should never be used.", + "The test passed.", + "The test did not pass." + ], + "type": "string" + }, + "testTime": { + "description": "The time that the test was run.", + "format": "google-datetime", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3TestConfig": { + "description": "Represents configurations for a test case.", + "id": "GoogleCloudDialogflowCxV3TestConfig", + "properties": { + "flow": { + "description": "Flow name. If not set, default start flow is assumed. Format: `projects//locations//agents//flows/`.", + "type": "string" + }, + "trackingParameters": { + "description": "Session parameters to be compared when calculating differences.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3TestError": { + "description": "Error info for running a test.", + "id": "GoogleCloudDialogflowCxV3TestError", + "properties": { + "status": { + "$ref": "GoogleRpcStatus", + "description": "The status associated with the test." + }, + "testCase": { + "description": "The test case resource name.", + "type": "string" + }, + "testTime": { + "description": "The timestamp when the test was completed.", + "format": "google-datetime", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3TestRunDifference": { + "description": "The description of differences between original and replayed agent output.", + "id": "GoogleCloudDialogflowCxV3TestRunDifference", + "properties": { + "description": { + "description": "A description of the diff, showing the actual output vs expected output.", + "type": "string" + }, + "type": { + "description": "The type of diff.", + "enum": [ + "DIFF_TYPE_UNSPECIFIED", + "INTENT", + "PAGE", + "PARAMETERS", + "UTTERANCE" + ], + "enumDescriptions": [ + "Should never be used.", + "The intent.", + "The page.", + "The parameters.", + "The message utterance." + ], + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudDialogflowCxV3TextInput": { "description": "Represents the natural language text to be processed.", "id": "GoogleCloudDialogflowCxV3TextInput", @@ -4518,6 +5524,72 @@ "properties": {}, "type": "object" }, + "GoogleCloudDialogflowCxV3TransitionCoverage": { + "description": "Transition coverage represents the percentage of all possible transitions present within any of a parent's test cases.", + "id": "GoogleCloudDialogflowCxV3TransitionCoverage", + "properties": { + "coverageScore": { + "description": "The percent of transitions in the agent that are covered.", + "format": "float", + "type": "number" + }, + "transitions": { + "description": "The list of Transitions present in the agent.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3TransitionCoverageTransition" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3TransitionCoverageTransition": { + "description": "A transition in the agent's graph.", + "id": "GoogleCloudDialogflowCxV3TransitionCoverageTransition", + "properties": { + "covered": { + "description": "Whether or not the transition is covered by at least one of the agent's test cases.", + "type": "boolean" + }, + "eventHandler": { + "$ref": "GoogleCloudDialogflowCxV3EventHandler", + "description": "Event handler." + }, + "index": { + "description": "The index of a transition in the transition list. Starting from 0.", + "format": "int32", + "type": "integer" + }, + "source": { + "$ref": "GoogleCloudDialogflowCxV3TransitionCoverageTransitionNode", + "description": "The start node of a transition." + }, + "target": { + "$ref": "GoogleCloudDialogflowCxV3TransitionCoverageTransitionNode", + "description": "The end node of a transition." + }, + "transitionRoute": { + "$ref": "GoogleCloudDialogflowCxV3TransitionRoute", + "description": "Intent route or condition route." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3TransitionCoverageTransitionNode": { + "description": "The source or target of a transition.", + "id": "GoogleCloudDialogflowCxV3TransitionCoverageTransitionNode", + "properties": { + "flow": { + "$ref": "GoogleCloudDialogflowCxV3Flow", + "description": "Indicates a transition to a Flow. Only some fields such as name and displayname will be set." + }, + "page": { + "$ref": "GoogleCloudDialogflowCxV3Page", + "description": "Indicates a transition to a Page. Only some fields such as name and displayname will be set." + } + }, + "type": "object" + }, "GoogleCloudDialogflowCxV3TransitionRoute": { "description": "A transition route specifies a intent that can be matched and/or a data condition that can be evaluated during a session. When a specified transition is matched, the following actions are taken in order: * If there is a `trigger_fulfillment` associated with the transition, it will be called. * If there is a `target_page` associated with the transition, the session will transition into the specified page. * If there is a `target_flow` associated with the transition, the session will transition into the specified flow.", "id": "GoogleCloudDialogflowCxV3TransitionRoute", @@ -4572,6 +5644,17 @@ }, "type": "object" }, + "GoogleCloudDialogflowCxV3UpdateDocumentOperationMetadata": { + "description": "Metadata for UpdateDocument operation.", + "id": "GoogleCloudDialogflowCxV3UpdateDocumentOperationMetadata", + "properties": { + "genericMetadata": { + "$ref": "GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata", + "description": "The generic information of the operation." + } + }, + "type": "object" + }, "GoogleCloudDialogflowCxV3Version": { "description": "Represents a version of a flow.", "id": "GoogleCloudDialogflowCxV3Version", @@ -4849,29 +5932,737 @@ }, "type": "object" }, - "GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata": { - "description": "Metadata associated with the long running operation for Versions.CreateVersion.", - "id": "GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata", + "GoogleCloudDialogflowCxV3beta1AudioInput": { + "description": "Represents the natural speech audio to be processed.", + "id": "GoogleCloudDialogflowCxV3beta1AudioInput", "properties": { - "version": { - "description": "Name of the created version. Format: `projects//locations//agents//flows//versions/`.", + "audio": { + "description": "The natural language speech audio to be processed. A single request can contain up to 1 minute of speech audio data. The transcribed text cannot contain more than 256 bytes. For non-streaming audio detect intent, both `config` and `audio` must be provided. For streaming audio detect intent, `config` must be provided in the first request and `audio` must be provided in all following requests.", + "format": "byte", "type": "string" + }, + "config": { + "$ref": "GoogleCloudDialogflowCxV3beta1InputAudioConfig", + "description": "Required. Instructs the speech recognizer how to process the speech audio." } }, "type": "object" }, - "GoogleCloudDialogflowCxV3beta1ExportAgentResponse": { - "description": "The response message for Agents.ExportAgent.", - "id": "GoogleCloudDialogflowCxV3beta1ExportAgentResponse", + "GoogleCloudDialogflowCxV3beta1BatchRunTestCasesMetadata": { + "description": "Metadata returned for the TestCases.BatchRunTestCases long running operation.", + "id": "GoogleCloudDialogflowCxV3beta1BatchRunTestCasesMetadata", "properties": { - "agentContent": { - "description": "Uncompressed raw byte content for agent.", - "format": "byte", - "type": "string" + "errors": { + "description": "The test errors.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3beta1TestError" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1BatchRunTestCasesResponse": { + "description": "The response message for TestCases.BatchRunTestCases.", + "id": "GoogleCloudDialogflowCxV3beta1BatchRunTestCasesResponse", + "properties": { + "results": { + "description": "The test case results. The detailed conversation turns are empty in this response.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3beta1TestCaseResult" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1ConversationTurn": { + "description": "One interaction between a human and virtual agent. The human provides some input and the virtual agent provides a response.", + "id": "GoogleCloudDialogflowCxV3beta1ConversationTurn", + "properties": { + "userInput": { + "$ref": "GoogleCloudDialogflowCxV3beta1ConversationTurnUserInput", + "description": "The user input." + }, + "virtualAgentOutput": { + "$ref": "GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput", + "description": "The virtual agent output." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1ConversationTurnUserInput": { + "description": "The input from the human user.", + "id": "GoogleCloudDialogflowCxV3beta1ConversationTurnUserInput", + "properties": { + "injectedParameters": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "Parameters that need to be injected into the conversation during intent detection.", + "type": "object" + }, + "input": { + "$ref": "GoogleCloudDialogflowCxV3beta1QueryInput", + "description": "Supports text input, event input, dtmf input in the test case." + }, + "isWebhookEnabled": { + "description": "If webhooks should be allowed to trigger in response to the user utterance. Often if parameters are injected, webhooks should not be enabled.", + "type": "boolean" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput": { + "description": "The output from the virtual agent.", + "id": "GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput", + "properties": { + "currentPage": { + "$ref": "GoogleCloudDialogflowCxV3beta1Page", + "description": "The Page on which the utterance was spoken. Only some fields such as name and displayname will be set." + }, + "diagnosticInfo": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "Required. Input only. The diagnostic info output for the turn.", + "type": "object" + }, + "differences": { + "description": "Output only. If this is part of a result conversation turn, the list of differences between the original run and the replay for this output, if any.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3beta1TestRunDifference" + }, + "readOnly": true, + "type": "array" + }, + "sessionParameters": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "The session parameters available to the bot at this point.", + "type": "object" + }, + "status": { + "$ref": "GoogleRpcStatus", + "description": "Response error from the agent in the test result. If set, other output is empty." + }, + "textResponses": { + "description": "The text responses from the agent for the turn.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3beta1ResponseMessageText" + }, + "type": "array" + }, + "triggeredIntent": { + "$ref": "GoogleCloudDialogflowCxV3beta1Intent", + "description": "The Intent that triggered the response. Only some fields such as name and displayname will be set." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1CreateDocumentOperationMetadata": { + "description": "Metadata for CreateDocument operation.", + "id": "GoogleCloudDialogflowCxV3beta1CreateDocumentOperationMetadata", + "properties": { + "genericMetadata": { + "$ref": "GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata", + "description": "The generic information of the operation." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata": { + "description": "Metadata associated with the long running operation for Versions.CreateVersion.", + "id": "GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata", + "properties": { + "version": { + "description": "Name of the created version. Format: `projects//locations//agents//flows//versions/`.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1DeleteDocumentOperationMetadata": { + "description": "Metadata for DeleteDocument operation.", + "id": "GoogleCloudDialogflowCxV3beta1DeleteDocumentOperationMetadata", + "properties": { + "genericMetadata": { + "$ref": "GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata", + "description": "The generic information of the operation." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1DtmfInput": { + "description": "Represents the input for dtmf event.", + "id": "GoogleCloudDialogflowCxV3beta1DtmfInput", + "properties": { + "digits": { + "description": "The dtmf digits.", + "type": "string" + }, + "finishDigit": { + "description": "The finish digit (if any).", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1EventHandler": { + "description": "An event handler specifies an event that can be handled during a session. When the specified event happens, the following actions are taken in order: * If there is a `trigger_fulfillment` associated with the event, it will be called. * If there is a `target_page` associated with the event, the session will transition into the specified page. * If there is a `target_flow` associated with the event, the session will transition into the specified flow.", + "id": "GoogleCloudDialogflowCxV3beta1EventHandler", + "properties": { + "event": { + "description": "Required. The name of the event to handle.", + "type": "string" + }, + "name": { + "description": "Output only. The unique identifier of this event handler.", + "readOnly": true, + "type": "string" + }, + "targetFlow": { + "description": "The target flow to transition to. Format: `projects//locations//agents//flows/`.", + "type": "string" + }, + "targetPage": { + "description": "The target page to transition to. Format: `projects//locations//agents//flows//pages/`.", + "type": "string" + }, + "triggerFulfillment": { + "$ref": "GoogleCloudDialogflowCxV3beta1Fulfillment", + "description": "The fulfillment to call when the event occurs. Handling webhook errors with a fulfillment enabled with webhook could cause infinite loop. It is invalid to specify such fulfillment for a handler handling webhooks." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1EventInput": { + "description": "Represents the event to trigger.", + "id": "GoogleCloudDialogflowCxV3beta1EventInput", + "properties": { + "event": { + "description": "Name of the event.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1ExportAgentResponse": { + "description": "The response message for Agents.ExportAgent.", + "id": "GoogleCloudDialogflowCxV3beta1ExportAgentResponse", + "properties": { + "agentContent": { + "description": "Uncompressed raw byte content for agent.", + "format": "byte", + "type": "string" + }, + "agentUri": { + "description": "The URI to a file containing the exported agent. This field is populated only if `agent_uri` is specified in ExportAgentRequest.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1ExportTestCasesMetadata": { + "description": "Metadata returned for the TestCases.ExportTestCases long running operation.", + "id": "GoogleCloudDialogflowCxV3beta1ExportTestCasesMetadata", + "properties": {}, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1ExportTestCasesResponse": { + "description": "The response message for TestCases.ExportTestCases.", + "id": "GoogleCloudDialogflowCxV3beta1ExportTestCasesResponse", + "properties": { + "content": { + "description": "Uncompressed raw byte content for test cases.", + "format": "byte", + "type": "string" + }, + "gcsUri": { + "description": "The URI to a file containing the exported test cases. This field is populated only if `gcs_uri` is specified in ExportTestCasesRequest.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1Form": { + "description": "A form is a data model that groups related parameters that can be collected from the user. The process in which the agent prompts the user and collects parameter values from the user is called form filling. A form can be added to a page. When form filling is done, the filled parameters will be written to the session.", + "id": "GoogleCloudDialogflowCxV3beta1Form", + "properties": { + "parameters": { + "description": "Parameters to collect from the user.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3beta1FormParameter" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1FormParameter": { + "description": "Represents a form parameter.", + "id": "GoogleCloudDialogflowCxV3beta1FormParameter", + "properties": { + "defaultValue": { + "description": "The default value of an optional parameter. If the parameter is required, the default value will be ignored.", + "type": "any" + }, + "displayName": { + "description": "Required. The human-readable name of the parameter, unique within the form.", + "type": "string" + }, + "entityType": { + "description": "Required. The entity type of the parameter. Format: `projects/-/locations/-/agents/-/entityTypes/` for system entity types (for example, `projects/-/locations/-/agents/-/entityTypes/sys.date`), or `projects//locations//agents//entityTypes/` for developer entity types.", + "type": "string" + }, + "fillBehavior": { + "$ref": "GoogleCloudDialogflowCxV3beta1FormParameterFillBehavior", + "description": "Required. Defines fill behavior for the parameter." + }, + "isList": { + "description": "Indicates whether the parameter represents a list of values.", + "type": "boolean" + }, + "redact": { + "description": "Indicates whether the parameter content is logged in text and audio. If it is set to true, the parameter content will be replaced to parameter name in both request and response. The default value is false.", + "type": "boolean" + }, + "required": { + "description": "Indicates whether the parameter is required. Optional parameters will not trigger prompts; however, they are filled if the user specifies them. Required parameters must be filled before form filling concludes.", + "type": "boolean" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1FormParameterFillBehavior": { + "description": "Configuration for how the filling of a parameter should be handled.", + "id": "GoogleCloudDialogflowCxV3beta1FormParameterFillBehavior", + "properties": { + "initialPromptFulfillment": { + "$ref": "GoogleCloudDialogflowCxV3beta1Fulfillment", + "description": "Required. The fulfillment to provide the initial prompt that the agent can present to the user in order to fill the parameter." + }, + "repromptEventHandlers": { + "description": "The handlers for parameter-level events, used to provide reprompt for the parameter or transition to a different page/flow. The supported events are: * `sys.no-match-`, where N can be from 1 to 6 * `sys.no-match-default` * `sys.no-input-`, where N can be from 1 to 6 * `sys.no-input-default` * `sys.invalid-parameter` `initial_prompt_fulfillment` provides the first prompt for the parameter. If the user's response does not fill the parameter, a no-match/no-input event will be triggered, and the fulfillment associated with the `sys.no-match-1`/`sys.no-input-1` handler (if defined) will be called to provide a prompt. The `sys.no-match-2`/`sys.no-input-2` handler (if defined) will respond to the next no-match/no-input event, and so on. A `sys.no-match-default` or `sys.no-input-default` handler will be used to handle all following no-match/no-input events after all numbered no-match/no-input handlers for the parameter are consumed. A `sys.invalid-parameter` handler can be defined to handle the case where the parameter values have been `invalidated` by webhook. For example, if the user's response fill the parameter, however the parameter was invalidated by webhook, the fulfillment associated with the `sys.invalid-parameter` handler (if defined) will be called to provide a prompt. If the event handler for the corresponding event can't be found on the parameter, `initial_prompt_fulfillment` will be re-prompted.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3beta1EventHandler" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1Fulfillment": { + "description": "A fulfillment can do one or more of the following actions at the same time: * Generate rich message responses. * Set parameter values. * Call the webhook. Fulfillments can be called at various stages in the Page or Form lifecycle. For example, when a DetectIntentRequest drives a session to enter a new page, the page's entry fulfillment can add a static response to the QueryResult in the returning DetectIntentResponse, call the webhook (for example, to load user data from a database), or both.", + "id": "GoogleCloudDialogflowCxV3beta1Fulfillment", + "properties": { + "conditionalCases": { + "description": "Conditional cases for this fulfillment.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases" + }, + "type": "array" + }, + "messages": { + "description": "The list of rich message responses to present to the user.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3beta1ResponseMessage" + }, + "type": "array" + }, + "setParameterActions": { + "description": "Set parameter values before executing the webhook.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction" + }, + "type": "array" + }, + "tag": { + "description": "The tag used by the webhook to identify which fulfillment is being called. This field is required if `webhook` is specified.", + "type": "string" + }, + "webhook": { + "description": "The webhook to call. Format: `projects//locations//agents//webhooks/`.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases": { + "description": "A list of cascading if-else conditions. Cases are mutually exclusive. The first one with a matching condition is selected, all the rest ignored.", + "id": "GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases", + "properties": { + "cases": { + "description": "A list of cascading if-else conditions.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase": { + "description": "Each case has a Boolean condition. When it is evaluated to be True, the corresponding messages will be selected and evaluated recursively.", + "id": "GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase", + "properties": { + "caseContent": { + "description": "A list of case content.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContent" + }, + "type": "array" + }, + "condition": { + "description": "The condition to activate and select this case. Empty means the condition is always true. The condition is evaluated against form parameters or session parameters. See the [conditions reference](https://cloud.google.com/dialogflow/cx/docs/reference/condition).", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContent": { + "description": "The list of messages or conditional cases to activate for this case.", + "id": "GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContent", + "properties": { + "additionalCases": { + "$ref": "GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases", + "description": "Additional cases to be evaluated." + }, + "message": { + "$ref": "GoogleCloudDialogflowCxV3beta1ResponseMessage", + "description": "Returned message." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction": { + "description": "Setting a parameter value.", + "id": "GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction", + "properties": { + "parameter": { + "description": "Display name of the parameter.", + "type": "string" + }, + "value": { + "description": "The new value of the parameter. A null value clears the parameter.", + "type": "any" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata": { + "description": "Metadata in google::longrunning::Operation for Knowledge operations.", + "id": "GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata", + "properties": { + "state": { + "description": "Required. Output only. The current state of this operation.", + "enum": [ + "STATE_UNSPECIFIED", + "PENDING", + "RUNNING", + "DONE" + ], + "enumDescriptions": [ + "State unspecified.", + "The operation has been created.", + "The operation is currently running.", + "The operation is done, either cancelled or completed." + ], + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1ImportDocumentsOperationMetadata": { + "description": "Metadata for ImportDocuments operation.", + "id": "GoogleCloudDialogflowCxV3beta1ImportDocumentsOperationMetadata", + "properties": { + "genericMetadata": { + "$ref": "GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata", + "description": "The generic information of the operation." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1ImportDocumentsResponse": { + "description": "Response message for Documents.ImportDocuments.", + "id": "GoogleCloudDialogflowCxV3beta1ImportDocumentsResponse", + "properties": { + "warnings": { + "description": "Includes details about skipped documents or any other warnings.", + "items": { + "$ref": "GoogleRpcStatus" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1ImportTestCasesMetadata": { + "description": "Metadata returned for the TestCases.ImportTestCases long running operation.", + "id": "GoogleCloudDialogflowCxV3beta1ImportTestCasesMetadata", + "properties": { + "errors": { + "description": "Errors for failed test cases.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3beta1TestCaseError" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1ImportTestCasesResponse": { + "description": "The response message for TestCases.ImportTestCases.", + "id": "GoogleCloudDialogflowCxV3beta1ImportTestCasesResponse", + "properties": { + "names": { + "description": "The unique identifiers of the new test cases. Format: `projects//locations//agents//testCases/`.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1InputAudioConfig": { + "description": "Instructs the speech recognizer on how to process the audio content.", + "id": "GoogleCloudDialogflowCxV3beta1InputAudioConfig", + "properties": { + "audioEncoding": { + "description": "Required. Audio encoding of the audio content to process.", + "enum": [ + "AUDIO_ENCODING_UNSPECIFIED", + "AUDIO_ENCODING_LINEAR_16", + "AUDIO_ENCODING_FLAC", + "AUDIO_ENCODING_MULAW", + "AUDIO_ENCODING_AMR", + "AUDIO_ENCODING_AMR_WB", + "AUDIO_ENCODING_OGG_OPUS", + "AUDIO_ENCODING_SPEEX_WITH_HEADER_BYTE" + ], + "enumDescriptions": [ + "Not specified.", + "Uncompressed 16-bit signed little-endian samples (Linear PCM).", + "[`FLAC`](https://xiph.org/flac/documentation.html) (Free Lossless Audio Codec) is the recommended encoding because it is lossless (therefore recognition is not compromised) and requires only about half the bandwidth of `LINEAR16`. `FLAC` stream encoding supports 16-bit and 24-bit samples, however, not all fields in `STREAMINFO` are supported.", + "8-bit samples that compand 14-bit audio samples using G.711 PCMU/mu-law.", + "Adaptive Multi-Rate Narrowband codec. `sample_rate_hertz` must be 8000.", + "Adaptive Multi-Rate Wideband codec. `sample_rate_hertz` must be 16000.", + "Opus encoded audio frames in Ogg container ([OggOpus](https://wiki.xiph.org/OggOpus)). `sample_rate_hertz` must be 16000.", + "Although the use of lossy encodings is not recommended, if a very low bitrate encoding is required, `OGG_OPUS` is highly preferred over Speex encoding. The [Speex](https://speex.org/) encoding supported by Dialogflow API has a header byte in each block, as in MIME type `audio/x-speex-with-header-byte`. It is a variant of the RTP Speex encoding defined in [RFC 5574](https://tools.ietf.org/html/rfc5574). The stream is a sequence of blocks, one block per RTP packet. Each block starts with a byte containing the length of the block, in bytes, followed by one or more frames of Speex data, padded to an integral number of bytes (octets) as specified in RFC 5574. In other words, each RTP header is replaced with a single byte containing the block length. Only Speex wideband is supported. `sample_rate_hertz` must be 16000." + ], + "type": "string" + }, + "enableWordInfo": { + "description": "Optional. If `true`, Dialogflow returns SpeechWordInfo in StreamingRecognitionResult with information about the recognized speech words, e.g. start and end time offsets. If false or unspecified, Speech doesn't return any word-level information.", + "type": "boolean" + }, + "model": { + "description": "Optional. Which Speech model to select for the given request. Select the model best suited to your domain to get best results. If a model is not explicitly specified, then we auto-select a model based on the parameters in the InputAudioConfig. If enhanced speech model is enabled for the agent and an enhanced version of the specified model for the language does not exist, then the speech is recognized using the standard version of the specified model. Refer to [Cloud Speech API documentation](https://cloud.google.com/speech-to-text/docs/basics#select-model) for more details.", + "type": "string" + }, + "modelVariant": { + "description": "Optional. Which variant of the Speech model to use.", + "enum": [ + "SPEECH_MODEL_VARIANT_UNSPECIFIED", + "USE_BEST_AVAILABLE", + "USE_STANDARD", + "USE_ENHANCED" + ], + "enumDescriptions": [ + "No model variant specified. In this case Dialogflow defaults to USE_BEST_AVAILABLE.", + "Use the best available variant of the Speech model that the caller is eligible for. Please see the [Dialogflow docs](https://cloud.google.com/dialogflow/docs/data-logging) for how to make your project eligible for enhanced models.", + "Use standard model variant even if an enhanced model is available. See the [Cloud Speech documentation](https://cloud.google.com/speech-to-text/docs/enhanced-models) for details about enhanced models.", + "Use an enhanced model variant: * If an enhanced variant does not exist for the given model and request language, Dialogflow falls back to the standard variant. The [Cloud Speech documentation](https://cloud.google.com/speech-to-text/docs/enhanced-models) describes which models have enhanced variants. * If the API caller isn't eligible for enhanced models, Dialogflow returns an error. Please see the [Dialogflow docs](https://cloud.google.com/dialogflow/docs/data-logging) for how to make your project eligible." + ], + "type": "string" + }, + "phraseHints": { + "description": "Optional. A list of strings containing words and phrases that the speech recognizer should recognize with higher likelihood. See [the Cloud Speech documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-hints) for more details.", + "items": { + "type": "string" + }, + "type": "array" + }, + "sampleRateHertz": { + "description": "Sample rate (in Hertz) of the audio content sent in the query. Refer to [Cloud Speech API documentation](https://cloud.google.com/speech-to-text/docs/basics) for more details.", + "format": "int32", + "type": "integer" + }, + "singleUtterance": { + "description": "Optional. If `false` (default), recognition does not cease until the client closes the stream. If `true`, the recognizer will detect a single spoken utterance in input audio. Recognition ceases when it detects the audio's voice has stopped or paused. In this case, once a detected intent is received, the client should close the stream and start a new request with a new stream as needed. Note: This setting is relevant only for streaming methods.", + "type": "boolean" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1Intent": { + "description": "An intent represents a user's intent to interact with a conversational agent. You can provide information for the Dialogflow API to use to match user input to an intent by adding training phrases (i.e., examples of user input) to your intent.", + "id": "GoogleCloudDialogflowCxV3beta1Intent", + "properties": { + "description": { + "description": "Optional. Human readable description for better understanding an intent like its scope, content, result etc. Maximum character limit: 140 characters.", + "type": "string" + }, + "displayName": { + "description": "Required. The human-readable name of the intent, unique within the agent.", + "type": "string" + }, + "isFallback": { + "description": "Indicates whether this is a fallback intent. Currently only default fallback intent is allowed in the agent, which is added upon agent creation. Adding training phrases to fallback intent is useful in the case of requests that are mistakenly matched, since training phrases assigned to fallback intents act as negative examples that triggers no-match event.", + "type": "boolean" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "description": "Optional. The key/value metadata to label an intent. Labels can contain lowercase letters, digits and the symbols '-' and '_'. International characters are allowed, including letters from unicase alphabets. Keys must start with a letter. Keys and values can be no longer than 63 characters and no more than 128 bytes. Prefix \"sys-\" is reserved for Dialogflow defined labels. Currently allowed Dialogflow defined labels include: * sys-head * sys-contextual The above labels do not require value. \"sys-head\" means the intent is a head intent. \"sys-contextual\" means the intent is a contextual intent.", + "type": "object" + }, + "name": { + "description": "The unique identifier of the intent. Required for the Intents.UpdateIntent method. Intents.CreateIntent populates the name automatically. Format: `projects//locations//agents//intents/`.", + "type": "string" + }, + "parameters": { + "description": "The collection of parameters associated with the intent.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3beta1IntentParameter" + }, + "type": "array" + }, + "priority": { + "description": "The priority of this intent. Higher numbers represent higher priorities. - If the supplied value is unspecified or 0, the service translates the value to 500,000, which corresponds to the `Normal` priority in the console. - If the supplied value is negative, the intent is ignored in runtime detect intent requests.", + "format": "int32", + "type": "integer" + }, + "trainingPhrases": { + "description": "The collection of training phrases the agent is trained on to identify the intent.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1IntentInput": { + "description": "Represents the intent to trigger programmatically rather than as a result of natural language processing.", + "id": "GoogleCloudDialogflowCxV3beta1IntentInput", + "properties": { + "intent": { + "description": "Required. The unique identifier of the intent. Format: `projects//locations//agents//intents/`.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1IntentParameter": { + "description": "Represents an intent parameter.", + "id": "GoogleCloudDialogflowCxV3beta1IntentParameter", + "properties": { + "entityType": { + "description": "Required. The entity type of the parameter. Format: `projects/-/locations/-/agents/-/entityTypes/` for system entity types (for example, `projects/-/locations/-/agents/-/entityTypes/sys.date`), or `projects//locations//agents//entityTypes/` for developer entity types.", + "type": "string" + }, + "id": { + "description": "Required. The unique identifier of the parameter. This field is used by training phrases to annotate their parts.", + "type": "string" + }, + "isList": { + "description": "Indicates whether the parameter represents a list of values.", + "type": "boolean" + }, + "redact": { + "description": "Indicates whether the parameter content is logged in text and audio. If it is set to true, the parameter content will be replaced to parameter id in both request and response. The default value is false.", + "type": "boolean" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase": { + "description": "Represents an example that the agent is trained on to identify the intent.", + "id": "GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase", + "properties": { + "id": { + "description": "Output only. The unique identifier of the training phrase.", + "type": "string" + }, + "parts": { + "description": "Required. The ordered list of training phrase parts. The parts are concatenated in order to form the training phrase. Note: The API does not automatically annotate training phrases like the Dialogflow Console does. Note: Do not forget to include whitespace at part boundaries, so the training phrase is well formatted when the parts are concatenated. If the training phrase does not need to be annotated with parameters, you just need a single part with only the Part.text field set. If you want to annotate the training phrase, you must create multiple parts, where the fields of each part are populated in one of two ways: - `Part.text` is set to a part of the phrase that has no parameters. - `Part.text` is set to a part of the phrase that you want to annotate, and the `parameter_id` field is set.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePart" + }, + "type": "array" + }, + "repeatCount": { + "description": "Indicates how many times this example was added to the intent.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePart": { + "description": "Represents a part of a training phrase.", + "id": "GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePart", + "properties": { + "parameterId": { + "description": "The parameter used to annotate this part of the training phrase. This field is required for annotated parts of the training phrase.", + "type": "string" + }, + "text": { + "description": "Required. The text for this part.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1Page": { + "description": "A Dialogflow CX conversation (session) can be described and visualized as a state machine. The states of a CX session are represented by pages. For each flow, you define many pages, where your combined pages can handle a complete conversation on the topics the flow is designed for. At any given moment, exactly one page is the current page, the current page is considered active, and the flow associated with that page is considered active. Every flow has a special start page. When a flow initially becomes active, the start page page becomes the current page. For each conversational turn, the current page will either stay the same or transition to another page. You configure each page to collect information from the end-user that is relevant for the conversational state represented by the page. For more information, see the [Page guide](https://cloud.google.com/dialogflow/cx/docs/concept/page).", + "id": "GoogleCloudDialogflowCxV3beta1Page", + "properties": { + "displayName": { + "description": "Required. The human-readable name of the page, unique within the agent.", + "type": "string" + }, + "entryFulfillment": { + "$ref": "GoogleCloudDialogflowCxV3beta1Fulfillment", + "description": "The fulfillment to call when the session is entering the page." + }, + "eventHandlers": { + "description": "Handlers associated with the page to handle events such as webhook errors, no match or no input.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3beta1EventHandler" + }, + "type": "array" }, - "agentUri": { - "description": "The URI to a file containing the exported agent. This field is populated only if `agent_uri` is specified in ExportAgentRequest.", + "form": { + "$ref": "GoogleCloudDialogflowCxV3beta1Form", + "description": "The form associated with the page, used for collecting parameters relevant to the page." + }, + "name": { + "description": "The unique identifier of the page. Required for the Pages.UpdatePage method. Pages.CreatePage populates the name automatically. Format: `projects//locations//agents//flows//pages/`.", "type": "string" + }, + "transitionRouteGroups": { + "description": "Ordered list of `TransitionRouteGroups` associated with the page. Transition route groups must be unique within a page. * If multiple transition routes within a page scope refer to the same intent, then the precedence order is: page's transition route -\u003e page's transition route group -\u003e flow's transition routes. * If multiple transition route groups within a page contain the same intent, then the first group in the ordered list takes precedence. Format:`projects//locations//agents//flows//transitionRouteGroups/`.", + "items": { + "type": "string" + }, + "type": "array" + }, + "transitionRoutes": { + "description": "A list of transitions for the transition rules of this page. They route the conversation to another page in the same flow, or another flow. When we are in a certain page, the TransitionRoutes are evalauted in the following order: * TransitionRoutes defined in the page with intent specified. * TransitionRoutes defined in the transition route groups. * TransitionRoutes defined in flow with intent specified. * TransitionRoutes defined in the page with only condition specified.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3beta1TransitionRoute" + }, + "type": "array" } }, "type": "object" @@ -4944,6 +6735,48 @@ }, "type": "object" }, + "GoogleCloudDialogflowCxV3beta1QueryInput": { + "description": "Represents the query input. It can contain one of: 1. A conversational query in the form of text. 2. An intent query that specifies which intent to trigger. 3. Natural language speech audio to be processed. 4. An event to be triggered. ", + "id": "GoogleCloudDialogflowCxV3beta1QueryInput", + "properties": { + "audio": { + "$ref": "GoogleCloudDialogflowCxV3beta1AudioInput", + "description": "The natural language speech audio to be processed." + }, + "dtmf": { + "$ref": "GoogleCloudDialogflowCxV3beta1DtmfInput", + "description": "The DTMF event to be handled." + }, + "event": { + "$ref": "GoogleCloudDialogflowCxV3beta1EventInput", + "description": "The event to be triggered." + }, + "intent": { + "$ref": "GoogleCloudDialogflowCxV3beta1IntentInput", + "description": "The intent to be triggered." + }, + "languageCode": { + "description": "Required. The language of the input. See [Language Support](https://cloud.google.com/dialogflow/docs/reference/language) for a list of the currently supported language codes. Note that queries in the same session do not necessarily need to specify the same language.", + "type": "string" + }, + "text": { + "$ref": "GoogleCloudDialogflowCxV3beta1TextInput", + "description": "The natural language text to be processed." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1ReloadDocumentOperationMetadata": { + "description": "Metadata for ReloadDocument operation.", + "id": "GoogleCloudDialogflowCxV3beta1ReloadDocumentOperationMetadata", + "properties": { + "genericMetadata": { + "$ref": "GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata", + "description": "The generic information of the operation." + } + }, + "type": "object" + }, "GoogleCloudDialogflowCxV3beta1ResponseMessage": { "description": "Represents a response message that can be returned by a conversational agent. Response messages are also used for output audio synthesis. The approach is as follows: * If at least one OutputAudioText response is present, then all OutputAudioText responses are linearly concatenated, and the result is used for output audio synthesis. * If the OutputAudioText responses are a mixture of text and SSML, then the concatenated result is treated as SSML; otherwise, the result is treated as either text or SSML as appropriate. The agent designer should ideally use either text or SSML consistently throughout the bot design. * Otherwise, all Text responses are linearly concatenated, and the result is used for output audio synthesis. This approach allows for more sophisticated user experience scenarios, where the text displayed to the user may differ from what is heard.", "id": "GoogleCloudDialogflowCxV3beta1ResponseMessage", @@ -5115,6 +6948,23 @@ }, "type": "object" }, + "GoogleCloudDialogflowCxV3beta1RunTestCaseMetadata": { + "description": "Metadata returned for the TestCases.RunTestCase long running operation.", + "id": "GoogleCloudDialogflowCxV3beta1RunTestCaseMetadata", + "properties": {}, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1RunTestCaseResponse": { + "description": "The response message for TestCases.RunTestCase.", + "id": "GoogleCloudDialogflowCxV3beta1RunTestCaseResponse", + "properties": { + "result": { + "$ref": "GoogleCloudDialogflowCxV3beta1TestCaseResult", + "description": "The result." + } + }, + "type": "object" + }, "GoogleCloudDialogflowCxV3beta1SessionInfo": { "description": "Represents session information communicated to and from the webhook.", "id": "GoogleCloudDialogflowCxV3beta1SessionInfo", @@ -5133,6 +6983,230 @@ }, "type": "object" }, + "GoogleCloudDialogflowCxV3beta1TestCase": { + "description": "Represents a test case.", + "id": "GoogleCloudDialogflowCxV3beta1TestCase", + "properties": { + "creationTime": { + "description": "Output only. When the test was created.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "displayName": { + "description": "Required. The human-readable name of the test case, unique within the agent. Limit of 200 characters.", + "type": "string" + }, + "lastTestResult": { + "$ref": "GoogleCloudDialogflowCxV3beta1TestCaseResult", + "description": "The latest test result." + }, + "name": { + "description": "The unique identifier of the test case. TestCases.CreateTestCase will populate the name automatically. Otherwise use format: `projects//locations//agents/ /testCases/`.", + "type": "string" + }, + "notes": { + "description": "Additional freeform notes about the test case. Limit of 400 characters.", + "type": "string" + }, + "tags": { + "description": "Tags are short descriptions that users may apply to test cases for organizational and filtering purposes. Each tag should start with \"#\" and has a limit of 30 characters.", + "items": { + "type": "string" + }, + "type": "array" + }, + "testCaseConversationTurns": { + "description": "The conversation turns uttered when the test case was created, in chronological order. These include the canonical set of agent utterances that should occur when the agent is working properly.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3beta1ConversationTurn" + }, + "type": "array" + }, + "testConfig": { + "$ref": "GoogleCloudDialogflowCxV3beta1TestConfig", + "description": "Config for the test case." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1TestCaseError": { + "description": "Error info for importing a test.", + "id": "GoogleCloudDialogflowCxV3beta1TestCaseError", + "properties": { + "status": { + "$ref": "GoogleRpcStatus", + "description": "The status associated with the test case." + }, + "testCase": { + "$ref": "GoogleCloudDialogflowCxV3beta1TestCase", + "description": "The test case." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1TestCaseResult": { + "description": "Represents a result from running a test case in an agent environment.", + "id": "GoogleCloudDialogflowCxV3beta1TestCaseResult", + "properties": { + "conversationTurns": { + "description": "The conversation turns uttered during the test case replay in chronological order.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3beta1ConversationTurn" + }, + "type": "array" + }, + "environment": { + "description": "Optional. Environment where the test was run. If not set, it indicates the draft environment.", + "type": "string" + }, + "name": { + "description": "The resource name for the test case result. Format: `projects//locations//agents//testCases/ /results/`.", + "type": "string" + }, + "testResult": { + "description": "Whether the test case passed in the agent environment.", + "enum": [ + "TEST_RESULT_UNSPECIFIED", + "PASSED", + "FAILED" + ], + "enumDescriptions": [ + "Not specified. Should never be used.", + "The test passed.", + "The test did not pass." + ], + "type": "string" + }, + "testTime": { + "description": "The time that the test was run.", + "format": "google-datetime", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1TestConfig": { + "description": "Represents configurations for a test case.", + "id": "GoogleCloudDialogflowCxV3beta1TestConfig", + "properties": { + "flow": { + "description": "Flow name. If not set, default start flow is assumed. Format: `projects//locations//agents//flows/`.", + "type": "string" + }, + "trackingParameters": { + "description": "Session parameters to be compared when calculating differences.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1TestError": { + "description": "Error info for running a test.", + "id": "GoogleCloudDialogflowCxV3beta1TestError", + "properties": { + "status": { + "$ref": "GoogleRpcStatus", + "description": "The status associated with the test." + }, + "testCase": { + "description": "The test case resource name.", + "type": "string" + }, + "testTime": { + "description": "The timestamp when the test was completed.", + "format": "google-datetime", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1TestRunDifference": { + "description": "The description of differences between original and replayed agent output.", + "id": "GoogleCloudDialogflowCxV3beta1TestRunDifference", + "properties": { + "description": { + "description": "A description of the diff, showing the actual output vs expected output.", + "type": "string" + }, + "type": { + "description": "The type of diff.", + "enum": [ + "DIFF_TYPE_UNSPECIFIED", + "INTENT", + "PAGE", + "PARAMETERS", + "UTTERANCE" + ], + "enumDescriptions": [ + "Should never be used.", + "The intent.", + "The page.", + "The parameters.", + "The message utterance." + ], + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1TextInput": { + "description": "Represents the natural language text to be processed.", + "id": "GoogleCloudDialogflowCxV3beta1TextInput", + "properties": { + "text": { + "description": "Required. The UTF-8 encoded natural language text to be processed. Text length must not exceed 256 characters.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1TransitionRoute": { + "description": "A transition route specifies a intent that can be matched and/or a data condition that can be evaluated during a session. When a specified transition is matched, the following actions are taken in order: * If there is a `trigger_fulfillment` associated with the transition, it will be called. * If there is a `target_page` associated with the transition, the session will transition into the specified page. * If there is a `target_flow` associated with the transition, the session will transition into the specified flow.", + "id": "GoogleCloudDialogflowCxV3beta1TransitionRoute", + "properties": { + "condition": { + "description": "The condition to evaluate against form parameters or session parameters. See the [conditions reference](https://cloud.google.com/dialogflow/cx/docs/reference/condition). At least one of `intent` or `condition` must be specified. When both `intent` and `condition` are specified, the transition can only happen when both are fulfilled.", + "type": "string" + }, + "intent": { + "description": "The unique identifier of an Intent. Format: `projects//locations//agents//intents/`. Indicates that the transition can only happen when the given intent is matched. At least one of `intent` or `condition` must be specified. When both `intent` and `condition` are specified, the transition can only happen when both are fulfilled.", + "type": "string" + }, + "name": { + "description": "Output only. The unique identifier of this transition route.", + "readOnly": true, + "type": "string" + }, + "targetFlow": { + "description": "The target flow to transition to. Format: `projects//locations//agents//flows/`.", + "type": "string" + }, + "targetPage": { + "description": "The target page to transition to. Format: `projects//locations//agents//flows//pages/`.", + "type": "string" + }, + "triggerFulfillment": { + "$ref": "GoogleCloudDialogflowCxV3beta1Fulfillment", + "description": "The fulfillment to call when the condition is satisfied. At least one of `trigger_fulfillment` and `target` must be specified. When both are defined, `trigger_fulfillment` is executed first." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1UpdateDocumentOperationMetadata": { + "description": "Metadata for UpdateDocument operation.", + "id": "GoogleCloudDialogflowCxV3beta1UpdateDocumentOperationMetadata", + "properties": { + "genericMetadata": { + "$ref": "GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata", + "description": "The generic information of the operation." + } + }, + "type": "object" + }, "GoogleCloudDialogflowCxV3beta1WebhookRequest": { "description": "The request message for a webhook call.", "id": "GoogleCloudDialogflowCxV3beta1WebhookRequest", @@ -8413,6 +10487,99 @@ }, "type": "object" }, + "GoogleCloudDialogflowV3alpha1CreateDocumentOperationMetadata": { + "description": "Metadata for CreateDocument operation.", + "id": "GoogleCloudDialogflowV3alpha1CreateDocumentOperationMetadata", + "properties": { + "genericMetadata": { + "$ref": "GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata", + "description": "The generic information of the operation." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV3alpha1DeleteDocumentOperationMetadata": { + "description": "Metadata for DeleteDocument operation.", + "id": "GoogleCloudDialogflowV3alpha1DeleteDocumentOperationMetadata", + "properties": { + "genericMetadata": { + "$ref": "GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata", + "description": "The generic information of the operation." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata": { + "description": "Metadata in google::longrunning::Operation for Knowledge operations.", + "id": "GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata", + "properties": { + "state": { + "description": "Required. Output only. The current state of this operation.", + "enum": [ + "STATE_UNSPECIFIED", + "PENDING", + "RUNNING", + "DONE" + ], + "enumDescriptions": [ + "State unspecified.", + "The operation has been created.", + "The operation is currently running.", + "The operation is done, either cancelled or completed." + ], + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV3alpha1ImportDocumentsOperationMetadata": { + "description": "Metadata for ImportDocuments operation.", + "id": "GoogleCloudDialogflowV3alpha1ImportDocumentsOperationMetadata", + "properties": { + "genericMetadata": { + "$ref": "GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata", + "description": "The generic information of the operation." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV3alpha1ImportDocumentsResponse": { + "description": "Response message for Documents.ImportDocuments.", + "id": "GoogleCloudDialogflowV3alpha1ImportDocumentsResponse", + "properties": { + "warnings": { + "description": "Includes details about skipped documents or any other warnings.", + "items": { + "$ref": "GoogleRpcStatus" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV3alpha1ReloadDocumentOperationMetadata": { + "description": "Metadata for ReloadDocument operation.", + "id": "GoogleCloudDialogflowV3alpha1ReloadDocumentOperationMetadata", + "properties": { + "genericMetadata": { + "$ref": "GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata", + "description": "The generic information of the operation." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV3alpha1UpdateDocumentOperationMetadata": { + "description": "Metadata for UpdateDocument operation.", + "id": "GoogleCloudDialogflowV3alpha1UpdateDocumentOperationMetadata", + "properties": { + "genericMetadata": { + "$ref": "GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata", + "description": "The generic information of the operation." + } + }, + "type": "object" + }, "GoogleLongrunningListOperationsResponse": { "description": "The response message for Operations.ListOperations.", "id": "GoogleLongrunningListOperationsResponse", diff --git a/dialogflow/v3/dialogflow-gen.go b/dialogflow/v3/dialogflow-gen.go index d33333167fd..db7bcefaa14 100644 --- a/dialogflow/v3/dialogflow-gen.go +++ b/dialogflow/v3/dialogflow-gen.go @@ -185,6 +185,7 @@ func NewProjectsLocationsAgentsService(s *Service) *ProjectsLocationsAgentsServi rs.Flows = NewProjectsLocationsAgentsFlowsService(s) rs.Intents = NewProjectsLocationsAgentsIntentsService(s) rs.Sessions = NewProjectsLocationsAgentsSessionsService(s) + rs.TestCases = NewProjectsLocationsAgentsTestCasesService(s) rs.Webhooks = NewProjectsLocationsAgentsWebhooksService(s) return rs } @@ -202,6 +203,8 @@ type ProjectsLocationsAgentsService struct { Sessions *ProjectsLocationsAgentsSessionsService + TestCases *ProjectsLocationsAgentsTestCasesService + Webhooks *ProjectsLocationsAgentsWebhooksService } @@ -322,6 +325,27 @@ type ProjectsLocationsAgentsSessionsEntityTypesService struct { s *Service } +func NewProjectsLocationsAgentsTestCasesService(s *Service) *ProjectsLocationsAgentsTestCasesService { + rs := &ProjectsLocationsAgentsTestCasesService{s: s} + rs.Results = NewProjectsLocationsAgentsTestCasesResultsService(s) + return rs +} + +type ProjectsLocationsAgentsTestCasesService struct { + s *Service + + Results *ProjectsLocationsAgentsTestCasesResultsService +} + +func NewProjectsLocationsAgentsTestCasesResultsService(s *Service) *ProjectsLocationsAgentsTestCasesResultsService { + rs := &ProjectsLocationsAgentsTestCasesResultsService{s: s} + return rs +} + +type ProjectsLocationsAgentsTestCasesResultsService struct { + s *Service +} + func NewProjectsLocationsAgentsWebhooksService(s *Service) *ProjectsLocationsAgentsWebhooksService { rs := &ProjectsLocationsAgentsWebhooksService{s: s} return rs @@ -480,6 +504,325 @@ func (s *GoogleCloudDialogflowCxV3AudioInput) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// GoogleCloudDialogflowCxV3BatchDeleteTestCasesRequest: The request +// message for TestCases.BatchDeleteTestCases. +type GoogleCloudDialogflowCxV3BatchDeleteTestCasesRequest struct { + // Names: Required. Format of test case names: `projects//locations/ + // /agents//testCases/`. + Names []string `json:"names,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 *GoogleCloudDialogflowCxV3BatchDeleteTestCasesRequest) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3BatchDeleteTestCasesRequest + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3BatchRunTestCasesMetadata: Metadata returned +// for the TestCases.BatchRunTestCases long running operation. +type GoogleCloudDialogflowCxV3BatchRunTestCasesMetadata struct { + // Errors: The test errors. + Errors []*GoogleCloudDialogflowCxV3TestError `json:"errors,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Errors") 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. "Errors") 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 *GoogleCloudDialogflowCxV3BatchRunTestCasesMetadata) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3BatchRunTestCasesMetadata + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3BatchRunTestCasesRequest: The request +// message for TestCases.BatchRunTestCases. +type GoogleCloudDialogflowCxV3BatchRunTestCasesRequest struct { + // Environment: Optional. If not set, draft environment is assumed. + // Format: `projects//locations//agents//environments/`. + Environment string `json:"environment,omitempty"` + + // TestCases: Required. Format: + // `projects//locations//agents//testCases/`. + TestCases []string `json:"testCases,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Environment") 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. "Environment") 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 *GoogleCloudDialogflowCxV3BatchRunTestCasesRequest) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3BatchRunTestCasesRequest + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3BatchRunTestCasesResponse: The response +// message for TestCases.BatchRunTestCases. +type GoogleCloudDialogflowCxV3BatchRunTestCasesResponse struct { + // Results: The test case results. The detailed conversation turns are + // empty in this response. + Results []*GoogleCloudDialogflowCxV3TestCaseResult `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 *GoogleCloudDialogflowCxV3BatchRunTestCasesResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3BatchRunTestCasesResponse + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3CalculateCoverageResponse: The response +// message for TestCases.CalculateCoverage. +type GoogleCloudDialogflowCxV3CalculateCoverageResponse struct { + // Agent: The agent to calculate coverage for. Format: + // `projects//locations//agents/`. + Agent string `json:"agent,omitempty"` + + // IntentCoverage: Intent coverage. + IntentCoverage *GoogleCloudDialogflowCxV3IntentCoverage `json:"intentCoverage,omitempty"` + + // TransitionCoverage: Transition coverage. + TransitionCoverage *GoogleCloudDialogflowCxV3TransitionCoverage `json:"transitionCoverage,omitempty"` + + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` + + // ForceSendFields is a list of field names (e.g. "Agent") 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. "Agent") 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 *GoogleCloudDialogflowCxV3CalculateCoverageResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3CalculateCoverageResponse + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3ConversationTurn: One interaction between a +// human and virtual agent. The human provides some input and the +// virtual agent provides a response. +type GoogleCloudDialogflowCxV3ConversationTurn struct { + // UserInput: The user input. + UserInput *GoogleCloudDialogflowCxV3ConversationTurnUserInput `json:"userInput,omitempty"` + + // VirtualAgentOutput: The virtual agent output. + VirtualAgentOutput *GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput `json:"virtualAgentOutput,omitempty"` + + // ForceSendFields is a list of field names (e.g. "UserInput") 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. "UserInput") 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 *GoogleCloudDialogflowCxV3ConversationTurn) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3ConversationTurn + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3ConversationTurnUserInput: The input from +// the human user. +type GoogleCloudDialogflowCxV3ConversationTurnUserInput struct { + // InjectedParameters: Parameters that need to be injected into the + // conversation during intent detection. + InjectedParameters googleapi.RawMessage `json:"injectedParameters,omitempty"` + + // Input: Supports text input, event input, dtmf input in the test case. + Input *GoogleCloudDialogflowCxV3QueryInput `json:"input,omitempty"` + + // IsWebhookEnabled: If webhooks should be allowed to trigger in + // response to the user utterance. Often if parameters are injected, + // webhooks should not be enabled. + IsWebhookEnabled bool `json:"isWebhookEnabled,omitempty"` + + // ForceSendFields is a list of field names (e.g. "InjectedParameters") + // 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. "InjectedParameters") 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 *GoogleCloudDialogflowCxV3ConversationTurnUserInput) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3ConversationTurnUserInput + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput: The +// output from the virtual agent. +type GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput struct { + // CurrentPage: The Page on which the utterance was spoken. Only some + // fields such as name and displayname will be set. + CurrentPage *GoogleCloudDialogflowCxV3Page `json:"currentPage,omitempty"` + + // DiagnosticInfo: Required. Input only. The diagnostic info output for + // the turn. + DiagnosticInfo googleapi.RawMessage `json:"diagnosticInfo,omitempty"` + + // Differences: Output only. If this is part of a result conversation + // turn, the list of differences between the original run and the replay + // for this output, if any. + Differences []*GoogleCloudDialogflowCxV3TestRunDifference `json:"differences,omitempty"` + + // SessionParameters: The session parameters available to the bot at + // this point. + SessionParameters googleapi.RawMessage `json:"sessionParameters,omitempty"` + + // Status: Response error from the agent in the test result. If set, + // other output is empty. + Status *GoogleRpcStatus `json:"status,omitempty"` + + // TextResponses: The text responses from the agent for the turn. + TextResponses []*GoogleCloudDialogflowCxV3ResponseMessageText `json:"textResponses,omitempty"` + + // TriggeredIntent: The Intent that triggered the response. Only some + // fields such as name and displayname will be set. + TriggeredIntent *GoogleCloudDialogflowCxV3Intent `json:"triggeredIntent,omitempty"` + + // ForceSendFields is a list of field names (e.g. "CurrentPage") 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. "CurrentPage") 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 *GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3CreateDocumentOperationMetadata: Metadata +// for CreateDocument operation. +type GoogleCloudDialogflowCxV3CreateDocumentOperationMetadata struct { + // GenericMetadata: The generic information of the operation. + GenericMetadata *GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata `json:"genericMetadata,omitempty"` + + // ForceSendFields is a list of field names (e.g. "GenericMetadata") 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. "GenericMetadata") 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 *GoogleCloudDialogflowCxV3CreateDocumentOperationMetadata) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3CreateDocumentOperationMetadata + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // GoogleCloudDialogflowCxV3CreateVersionOperationMetadata: Metadata // associated with the long running operation for // Versions.CreateVersion. @@ -511,6 +854,36 @@ func (s *GoogleCloudDialogflowCxV3CreateVersionOperationMetadata) MarshalJSON() return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// GoogleCloudDialogflowCxV3DeleteDocumentOperationMetadata: Metadata +// for DeleteDocument operation. +type GoogleCloudDialogflowCxV3DeleteDocumentOperationMetadata struct { + // GenericMetadata: The generic information of the operation. + GenericMetadata *GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata `json:"genericMetadata,omitempty"` + + // ForceSendFields is a list of field names (e.g. "GenericMetadata") 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. "GenericMetadata") 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 *GoogleCloudDialogflowCxV3DeleteDocumentOperationMetadata) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3DeleteDocumentOperationMetadata + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // GoogleCloudDialogflowCxV3DetectIntentRequest: The request to detect // user's intent. type GoogleCloudDialogflowCxV3DetectIntentRequest struct { @@ -1035,25 +1408,112 @@ func (s *GoogleCloudDialogflowCxV3ExportAgentResponse) MarshalJSON() ([]byte, er return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3Flow: Flows represents the conversation -// flows when you build your chatbot agent. A flow consists of many -// pages connected by the transition routes. Conversations always start -// with the built-in Start Flow (with an all-0 ID). Transition routes -// can direct the conversation session from the current flow (parent -// flow) to another flow (sub flow). When the sub flow is finished, -// Dialogflow will bring the session back to the parent flow, where the -// sub flow is started. Usually, when a transition route is followed by -// a matched intent, the intent will be "consumed". This means the -// intent won't activate more transition routes. However, when the -// followed transition route moves the conversation session into a -// different flow, the matched intent can be carried over and to be -// consumed in the target flow. -type GoogleCloudDialogflowCxV3Flow struct { - // Description: The description of the flow. The maximum length is 500 - // characters. If exceeded, the request is rejected. - Description string `json:"description,omitempty"` +// GoogleCloudDialogflowCxV3ExportTestCasesMetadata: Metadata returned +// for the TestCases.ExportTestCases long running operation. +type GoogleCloudDialogflowCxV3ExportTestCasesMetadata struct { +} - // DisplayName: Required. The human-readable name of the flow. +// GoogleCloudDialogflowCxV3ExportTestCasesRequest: The request message +// for TestCases.ExportTestCases. +type GoogleCloudDialogflowCxV3ExportTestCasesRequest struct { + // DataFormat: The data format of the exported test cases. If not + // specified, `BLOB` is assumed. + // + // Possible values: + // "DATA_FORMAT_UNSPECIFIED" - Unspecified format. + // "BLOB" - Raw bytes. + // "JSON" - JSON format. + DataFormat string `json:"dataFormat,omitempty"` + + // Filter: The filter expression used to filter exported test cases, see + // [API Filtering](https://aip.dev/160). The expression is case + // insensitive and supports the following syntax: name = [OR name = ] + // ... For example: * "name = t1 OR name = t2" matches the test case + // with the exact resource name "t1" or "t2". + Filter string `json:"filter,omitempty"` + + // GcsUri: The [Google Cloud + // Storage](https://cloud.google.com/storage/docs/) URI to export the + // test cases to. The format of this URI must be `gs:///`. If + // unspecified, the serialized test cases is returned inline. + GcsUri string `json:"gcsUri,omitempty"` + + // ForceSendFields is a list of field names (e.g. "DataFormat") 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. "DataFormat") 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 *GoogleCloudDialogflowCxV3ExportTestCasesRequest) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3ExportTestCasesRequest + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3ExportTestCasesResponse: The response +// message for TestCases.ExportTestCases. +type GoogleCloudDialogflowCxV3ExportTestCasesResponse struct { + // Content: Uncompressed raw byte content for test cases. + Content string `json:"content,omitempty"` + + // GcsUri: The URI to a file containing the exported test cases. This + // field is populated only if `gcs_uri` is specified in + // ExportTestCasesRequest. + GcsUri string `json:"gcsUri,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Content") 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. "Content") 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 *GoogleCloudDialogflowCxV3ExportTestCasesResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3ExportTestCasesResponse + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3Flow: Flows represents the conversation +// flows when you build your chatbot agent. A flow consists of many +// pages connected by the transition routes. Conversations always start +// with the built-in Start Flow (with an all-0 ID). Transition routes +// can direct the conversation session from the current flow (parent +// flow) to another flow (sub flow). When the sub flow is finished, +// Dialogflow will bring the session back to the parent flow, where the +// sub flow is started. Usually, when a transition route is followed by +// a matched intent, the intent will be "consumed". This means the +// intent won't activate more transition routes. However, when the +// followed transition route moves the conversation session into a +// different flow, the matched intent can be carried over and to be +// consumed in the target flow. +type GoogleCloudDialogflowCxV3Flow struct { + // Description: The description of the flow. The maximum length is 500 + // characters. If exceeded, the request is rejected. + Description string `json:"description,omitempty"` + + // DisplayName: Required. The human-readable name of the flow. DisplayName string `json:"displayName,omitempty"` // EventHandlers: A flow's event handlers serve two purposes: * They are @@ -1538,6 +1998,194 @@ func (s *GoogleCloudDialogflowCxV3FulfillmentSetParameterAction) MarshalJSON() ( return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata: Metadata +// in google::longrunning::Operation for Knowledge operations. +type GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata struct { + // State: Required. Output only. The current state of this operation. + // + // Possible values: + // "STATE_UNSPECIFIED" - State unspecified. + // "PENDING" - The operation has been created. + // "RUNNING" - The operation is currently running. + // "DONE" - The operation is done, either cancelled or completed. + State string `json:"state,omitempty"` + + // ForceSendFields is a list of field names (e.g. "State") 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. "State") 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 *GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3ImportDocumentsOperationMetadata: Metadata +// for ImportDocuments operation. +type GoogleCloudDialogflowCxV3ImportDocumentsOperationMetadata struct { + // GenericMetadata: The generic information of the operation. + GenericMetadata *GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata `json:"genericMetadata,omitempty"` + + // ForceSendFields is a list of field names (e.g. "GenericMetadata") 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. "GenericMetadata") 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 *GoogleCloudDialogflowCxV3ImportDocumentsOperationMetadata) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3ImportDocumentsOperationMetadata + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3ImportDocumentsResponse: Response message +// for Documents.ImportDocuments. +type GoogleCloudDialogflowCxV3ImportDocumentsResponse struct { + // Warnings: Includes details about skipped documents or any other + // warnings. + Warnings []*GoogleRpcStatus `json:"warnings,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Warnings") 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. "Warnings") 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 *GoogleCloudDialogflowCxV3ImportDocumentsResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3ImportDocumentsResponse + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3ImportTestCasesMetadata: Metadata returned +// for the TestCases.ImportTestCases long running operation. +type GoogleCloudDialogflowCxV3ImportTestCasesMetadata struct { + // Errors: Errors for failed test cases. + Errors []*GoogleCloudDialogflowCxV3TestCaseError `json:"errors,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Errors") 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. "Errors") 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 *GoogleCloudDialogflowCxV3ImportTestCasesMetadata) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3ImportTestCasesMetadata + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3ImportTestCasesRequest: The request message +// for TestCases.ImportTestCases. +type GoogleCloudDialogflowCxV3ImportTestCasesRequest struct { + // Content: Uncompressed raw byte content for test cases. + Content string `json:"content,omitempty"` + + // GcsUri: The [Google Cloud + // Storage](https://cloud.google.com/storage/docs/) URI to import test + // cases from. The format of this URI must be `gs:///`. + GcsUri string `json:"gcsUri,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Content") 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. "Content") 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 *GoogleCloudDialogflowCxV3ImportTestCasesRequest) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3ImportTestCasesRequest + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3ImportTestCasesResponse: The response +// message for TestCases.ImportTestCases. +type GoogleCloudDialogflowCxV3ImportTestCasesResponse struct { + // Names: The unique identifiers of the new test cases. Format: + // `projects//locations//agents//testCases/`. + Names []string `json:"names,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 *GoogleCloudDialogflowCxV3ImportTestCasesResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3ImportTestCasesResponse + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // GoogleCloudDialogflowCxV3InputAudioConfig: Instructs the speech // recognizer on how to process the audio content. type GoogleCloudDialogflowCxV3InputAudioConfig struct { @@ -1749,6 +2397,85 @@ func (s *GoogleCloudDialogflowCxV3Intent) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// GoogleCloudDialogflowCxV3IntentCoverage: Intent coverage represents +// the percentage of all possible intents in the agent that are +// triggered in any of a parent's test cases. +type GoogleCloudDialogflowCxV3IntentCoverage struct { + // CoverageScore: The percent of intents in the agent that are covered. + CoverageScore float64 `json:"coverageScore,omitempty"` + + // Intents: The list of Intents present in the agent + Intents []*GoogleCloudDialogflowCxV3IntentCoverageIntent `json:"intents,omitempty"` + + // ForceSendFields is a list of field names (e.g. "CoverageScore") 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. "CoverageScore") 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 *GoogleCloudDialogflowCxV3IntentCoverage) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3IntentCoverage + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +func (s *GoogleCloudDialogflowCxV3IntentCoverage) UnmarshalJSON(data []byte) error { + type NoMethod GoogleCloudDialogflowCxV3IntentCoverage + var s1 struct { + CoverageScore gensupport.JSONFloat64 `json:"coverageScore"` + *NoMethod + } + s1.NoMethod = (*NoMethod)(s) + if err := json.Unmarshal(data, &s1); err != nil { + return err + } + s.CoverageScore = float64(s1.CoverageScore) + return nil +} + +// GoogleCloudDialogflowCxV3IntentCoverageIntent: The agent's intent. +type GoogleCloudDialogflowCxV3IntentCoverageIntent struct { + // Covered: Whether or not the intent is covered by at least one of the + // agent's test cases. + Covered bool `json:"covered,omitempty"` + + // Intent: The intent full resource name + Intent string `json:"intent,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Covered") 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. "Covered") 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 *GoogleCloudDialogflowCxV3IntentCoverageIntent) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3IntentCoverageIntent + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // GoogleCloudDialogflowCxV3IntentInput: Represents the intent to // trigger programmatically rather than as a result of natural language // processing. @@ -2215,8 +2942,83 @@ func (s *GoogleCloudDialogflowCxV3ListSessionEntityTypesResponse) MarshalJSON() return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3ListTransitionRouteGroupsResponse: The -// response message for TransitionRouteGroups.ListTransitionRouteGroups. +// GoogleCloudDialogflowCxV3ListTestCaseResultsResponse: The response +// message for TestCases.ListTestCaseResults. +type GoogleCloudDialogflowCxV3ListTestCaseResultsResponse struct { + // NextPageToken: Token to retrieve the next page of results, or empty + // if there are no more results in the list. + NextPageToken string `json:"nextPageToken,omitempty"` + + // TestCaseResults: The list of test case results. + TestCaseResults []*GoogleCloudDialogflowCxV3TestCaseResult `json:"testCaseResults,omitempty"` + + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` + + // ForceSendFields is a list of field names (e.g. "NextPageToken") 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. "NextPageToken") 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 *GoogleCloudDialogflowCxV3ListTestCaseResultsResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3ListTestCaseResultsResponse + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3ListTestCasesResponse: The response message +// for TestCases.ListTestCases. +type GoogleCloudDialogflowCxV3ListTestCasesResponse struct { + // NextPageToken: Token to retrieve the next page of results, or empty + // if there are no more results in the list. + NextPageToken string `json:"nextPageToken,omitempty"` + + // TestCases: The list of test cases. There will be a maximum number of + // items returned based on the page_size field in the request. + TestCases []*GoogleCloudDialogflowCxV3TestCase `json:"testCases,omitempty"` + + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` + + // ForceSendFields is a list of field names (e.g. "NextPageToken") 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. "NextPageToken") 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 *GoogleCloudDialogflowCxV3ListTestCasesResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3ListTestCasesResponse + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3ListTransitionRouteGroupsResponse: The +// response message for TransitionRouteGroups.ListTransitionRouteGroups. type GoogleCloudDialogflowCxV3ListTransitionRouteGroupsResponse struct { // NextPageToken: Token to retrieve the next page of results, or empty // if there are no more results in the list. @@ -3162,6 +3964,36 @@ func (s *GoogleCloudDialogflowCxV3QueryResult) UnmarshalJSON(data []byte) error return nil } +// GoogleCloudDialogflowCxV3ReloadDocumentOperationMetadata: Metadata +// for ReloadDocument operation. +type GoogleCloudDialogflowCxV3ReloadDocumentOperationMetadata struct { + // GenericMetadata: The generic information of the operation. + GenericMetadata *GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata `json:"genericMetadata,omitempty"` + + // ForceSendFields is a list of field names (e.g. "GenericMetadata") 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. "GenericMetadata") 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 *GoogleCloudDialogflowCxV3ReloadDocumentOperationMetadata) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3ReloadDocumentOperationMetadata + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // GoogleCloudDialogflowCxV3ResponseMessage: Represents a response // message that can be returned by a conversational agent. Response // messages are also used for output audio synthesis. The approach is as @@ -3545,6 +4377,75 @@ func (s *GoogleCloudDialogflowCxV3RestoreAgentRequest) MarshalJSON() ([]byte, er return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// GoogleCloudDialogflowCxV3RunTestCaseMetadata: Metadata returned for +// the TestCases.RunTestCase long running operation. +type GoogleCloudDialogflowCxV3RunTestCaseMetadata struct { +} + +// GoogleCloudDialogflowCxV3RunTestCaseRequest: The request message for +// TestCases.RunTestCase. +type GoogleCloudDialogflowCxV3RunTestCaseRequest struct { + // Environment: Optional. Environment name. If not set, draft + // environment is assumed. Format: + // `projects//locations//agents//environments/`. + Environment string `json:"environment,omitempty"` + + // Name: Required. Format of test case name to run: + // `projects//locations/ /agents//testCases/`. + Name string `json:"name,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Environment") 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. "Environment") 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 *GoogleCloudDialogflowCxV3RunTestCaseRequest) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3RunTestCaseRequest + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3RunTestCaseResponse: The response message +// for TestCases.RunTestCase. +type GoogleCloudDialogflowCxV3RunTestCaseResponse struct { + // Result: The result. + Result *GoogleCloudDialogflowCxV3TestCaseResult `json:"result,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Result") 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. "Result") 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 *GoogleCloudDialogflowCxV3RunTestCaseResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3RunTestCaseResponse + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // GoogleCloudDialogflowCxV3SecuritySettings: Represents the settings // related to security issues, such as data redaction and data // retention. It may take hours for updates on the settings to propagate @@ -3897,14 +4798,46 @@ func (s *GoogleCloudDialogflowCxV3SynthesizeSpeechConfig) UnmarshalJSON(data []b return nil } -// GoogleCloudDialogflowCxV3TextInput: Represents the natural language -// text to be processed. -type GoogleCloudDialogflowCxV3TextInput struct { - // Text: Required. The UTF-8 encoded natural language text to be - // processed. Text length must not exceed 256 characters. - Text string `json:"text,omitempty"` +// GoogleCloudDialogflowCxV3TestCase: Represents a test case. +type GoogleCloudDialogflowCxV3TestCase struct { + // CreationTime: Output only. When the test was created. + CreationTime string `json:"creationTime,omitempty"` - // ForceSendFields is a list of field names (e.g. "Text") to + // DisplayName: Required. The human-readable name of the test case, + // unique within the agent. Limit of 200 characters. + DisplayName string `json:"displayName,omitempty"` + + // LastTestResult: The latest test result. + LastTestResult *GoogleCloudDialogflowCxV3TestCaseResult `json:"lastTestResult,omitempty"` + + // Name: The unique identifier of the test case. + // TestCases.CreateTestCase will populate the name automatically. + // Otherwise use format: `projects//locations//agents/ /testCases/`. + Name string `json:"name,omitempty"` + + // Notes: Additional freeform notes about the test case. Limit of 400 + // characters. + Notes string `json:"notes,omitempty"` + + // Tags: Tags are short descriptions that users may apply to test cases + // for organizational and filtering purposes. Each tag should start with + // "#" and has a limit of 30 characters. + Tags []string `json:"tags,omitempty"` + + // TestCaseConversationTurns: The conversation turns uttered when the + // test case was created, in chronological order. These include the + // canonical set of agent utterances that should occur when the agent is + // working properly. + TestCaseConversationTurns []*GoogleCloudDialogflowCxV3ConversationTurn `json:"testCaseConversationTurns,omitempty"` + + // TestConfig: Config for the test case. + TestConfig *GoogleCloudDialogflowCxV3TestConfig `json:"testConfig,omitempty"` + + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` + + // ForceSendFields is a list of field names (e.g. "CreationTime") 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 @@ -3912,70 +4845,31 @@ type GoogleCloudDialogflowCxV3TextInput struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Text") 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 + // NullFields is a list of field names (e.g. "CreationTime") 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 *GoogleCloudDialogflowCxV3TextInput) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3TextInput +func (s *GoogleCloudDialogflowCxV3TestCase) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3TestCase raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3TrainFlowRequest: The request message for -// Flows.TrainFlow. -type GoogleCloudDialogflowCxV3TrainFlowRequest struct { -} - -// GoogleCloudDialogflowCxV3TransitionRoute: A transition route -// specifies a intent that can be matched and/or a data condition that -// can be evaluated during a session. When a specified transition is -// matched, the following actions are taken in order: * If there is a -// `trigger_fulfillment` associated with the transition, it will be -// called. * If there is a `target_page` associated with the transition, -// the session will transition into the specified page. * If there is a -// `target_flow` associated with the transition, the session will -// transition into the specified flow. -type GoogleCloudDialogflowCxV3TransitionRoute struct { - // Condition: The condition to evaluate against form parameters or - // session parameters. See the [conditions - // reference](https://cloud.google.com/dialogflow/cx/docs/reference/condi - // tion). At least one of `intent` or `condition` must be specified. - // When both `intent` and `condition` are specified, the transition can - // only happen when both are fulfilled. - Condition string `json:"condition,omitempty"` - - // Intent: The unique identifier of an Intent. Format: - // `projects//locations//agents//intents/`. Indicates that the - // transition can only happen when the given intent is matched. At least - // one of `intent` or `condition` must be specified. When both `intent` - // and `condition` are specified, the transition can only happen when - // both are fulfilled. - Intent string `json:"intent,omitempty"` - - // Name: Output only. The unique identifier of this transition route. - Name string `json:"name,omitempty"` - - // TargetFlow: The target flow to transition to. Format: - // `projects//locations//agents//flows/`. - TargetFlow string `json:"targetFlow,omitempty"` - - // TargetPage: The target page to transition to. Format: - // `projects//locations//agents//flows//pages/`. - TargetPage string `json:"targetPage,omitempty"` +// GoogleCloudDialogflowCxV3TestCaseError: Error info for importing a +// test. +type GoogleCloudDialogflowCxV3TestCaseError struct { + // Status: The status associated with the test case. + Status *GoogleRpcStatus `json:"status,omitempty"` - // TriggerFulfillment: The fulfillment to call when the condition is - // satisfied. At least one of `trigger_fulfillment` and `target` must be - // specified. When both are defined, `trigger_fulfillment` is executed - // first. - TriggerFulfillment *GoogleCloudDialogflowCxV3Fulfillment `json:"triggerFulfillment,omitempty"` + // TestCase: The test case. + TestCase *GoogleCloudDialogflowCxV3TestCase `json:"testCase,omitempty"` - // ForceSendFields is a list of field names (e.g. "Condition") to + // ForceSendFields is a list of field names (e.g. "Status") 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 @@ -3983,8 +4877,8 @@ type GoogleCloudDialogflowCxV3TransitionRoute struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // 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 + // NullFields is a list of field names (e.g. "Status") 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. @@ -3992,99 +4886,74 @@ type GoogleCloudDialogflowCxV3TransitionRoute struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3TransitionRoute) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3TransitionRoute +func (s *GoogleCloudDialogflowCxV3TestCaseError) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3TestCaseError raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3TransitionRouteGroup: An -// TransitionRouteGroup represents a group of `TransitionRoutes` to be -// used by a Page. -type GoogleCloudDialogflowCxV3TransitionRouteGroup struct { - // DisplayName: Required. The human-readable name of the transition - // route group, unique within the Agent. The display name can be no - // longer than 30 characters. - DisplayName string `json:"displayName,omitempty"` +// GoogleCloudDialogflowCxV3TestCaseResult: Represents a result from +// running a test case in an agent environment. +type GoogleCloudDialogflowCxV3TestCaseResult struct { + // ConversationTurns: The conversation turns uttered during the test + // case replay in chronological order. + ConversationTurns []*GoogleCloudDialogflowCxV3ConversationTurn `json:"conversationTurns,omitempty"` - // Name: The unique identifier of the transition route group. - // TransitionRouteGroups.CreateTransitionRouteGroup populates the name - // automatically. Format: - // `projects//locations//agents//flows//transitionRouteGroups/`. + // Environment: Optional. Environment where the test was run. If not + // set, it indicates the draft environment. + Environment string `json:"environment,omitempty"` + + // Name: The resource name for the test case result. Format: + // `projects//locations//agents//testCases/ /results/`. Name string `json:"name,omitempty"` - // TransitionRoutes: Transition routes associated with the - // TransitionRouteGroup. Duplicate transition routes (i.e. using the - // same `intent`) are not allowed. Note that the `name` field is not - // used in the transition route group scope. - TransitionRoutes []*GoogleCloudDialogflowCxV3TransitionRoute `json:"transitionRoutes,omitempty"` + // TestResult: Whether the test case passed in the agent environment. + // + // Possible values: + // "TEST_RESULT_UNSPECIFIED" - Not specified. Should never be used. + // "PASSED" - The test passed. + // "FAILED" - The test did not pass. + TestResult string `json:"testResult,omitempty"` - // ServerResponse contains the HTTP response code and headers from the - // server. - googleapi.ServerResponse `json:"-"` + // TestTime: The time that the test was run. + TestTime string `json:"testTime,omitempty"` - // ForceSendFields is a list of field names (e.g. "DisplayName") to - // unconditionally include in API requests. By default, fields with + // ForceSendFields is a list of field names (e.g. "ConversationTurns") + // 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. "DisplayName") 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. "ConversationTurns") 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 *GoogleCloudDialogflowCxV3TransitionRouteGroup) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3TransitionRouteGroup +func (s *GoogleCloudDialogflowCxV3TestCaseResult) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3TestCaseResult raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3Version: Represents a version of a flow. -type GoogleCloudDialogflowCxV3Version struct { - // CreateTime: Output only. Create time of the version. - CreateTime string `json:"createTime,omitempty"` +// GoogleCloudDialogflowCxV3TestConfig: Represents configurations for a +// test case. +type GoogleCloudDialogflowCxV3TestConfig struct { + // Flow: Flow name. If not set, default start flow is assumed. Format: + // `projects//locations//agents//flows/`. + Flow string `json:"flow,omitempty"` - // Description: The description of the version. The maximum length is - // 500 characters. If exceeded, the request is rejected. - Description string `json:"description,omitempty"` - - // DisplayName: Required. The human-readable name of the version. Limit - // of 64 characters. - DisplayName string `json:"displayName,omitempty"` - - // Name: Format: projects//locations//agents//flows//versions/. Version - // ID is a self-increasing number generated by Dialogflow upon version - // creation. - Name string `json:"name,omitempty"` - - // NluSettings: Output only. The NLU settings of the flow at version - // creation. - NluSettings *GoogleCloudDialogflowCxV3NluSettings `json:"nluSettings,omitempty"` - - // State: Output only. The state of this version. This field is - // read-only and cannot be set by create and update methods. - // - // Possible values: - // "STATE_UNSPECIFIED" - Not specified. This value is not used. - // "RUNNING" - Version is not ready to serve (e.g. training is - // running). - // "SUCCEEDED" - Training has succeeded and this version is ready to - // serve. - // "FAILED" - Version training failed. - State string `json:"state,omitempty"` - - // ServerResponse contains the HTTP response code and headers from the - // server. - googleapi.ServerResponse `json:"-"` + // TrackingParameters: Session parameters to be compared when + // calculating differences. + TrackingParameters []string `json:"trackingParameters,omitempty"` - // ForceSendFields is a list of field names (e.g. "CreateTime") to + // ForceSendFields is a list of field names (e.g. "Flow") 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 @@ -4092,8 +4961,8 @@ type GoogleCloudDialogflowCxV3Version struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "CreateTime") to include in - // API requests with the JSON null value. By default, fields with empty + // NullFields is a list of field names (e.g. "Flow") 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. @@ -4101,37 +4970,24 @@ type GoogleCloudDialogflowCxV3Version struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3Version) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3Version +func (s *GoogleCloudDialogflowCxV3TestConfig) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3TestConfig raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3VoiceSelectionParams: Description of which -// voice to use for speech synthesis. -type GoogleCloudDialogflowCxV3VoiceSelectionParams struct { - // Name: Optional. The name of the voice. If not set, the service will - // choose a voice based on the other parameters such as language_code - // and ssml_gender. - Name string `json:"name,omitempty"` +// GoogleCloudDialogflowCxV3TestError: Error info for running a test. +type GoogleCloudDialogflowCxV3TestError struct { + // Status: The status associated with the test. + Status *GoogleRpcStatus `json:"status,omitempty"` - // SsmlGender: Optional. The preferred gender of the voice. If not set, - // the service will choose a voice based on the other parameters such as - // language_code and name. Note that this is only a preference, not - // requirement. If a voice of the appropriate gender is not available, - // the synthesizer should substitute a voice with a different gender - // rather than failing the request. - // - // Possible values: - // "SSML_VOICE_GENDER_UNSPECIFIED" - An unspecified gender, which - // means that the client doesn't care which gender the selected voice - // will have. - // "SSML_VOICE_GENDER_MALE" - A male voice. - // "SSML_VOICE_GENDER_FEMALE" - A female voice. - // "SSML_VOICE_GENDER_NEUTRAL" - A gender-neutral voice. - SsmlGender string `json:"ssmlGender,omitempty"` + // TestCase: The test case resource name. + TestCase string `json:"testCase,omitempty"` - // ForceSendFields is a list of field names (e.g. "Name") to + // TestTime: The timestamp when the test was completed. + TestTime string `json:"testTime,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Status") 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 @@ -4139,7 +4995,7 @@ type GoogleCloudDialogflowCxV3VoiceSelectionParams struct { // 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 + // NullFields is a list of field names (e.g. "Status") 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 @@ -4148,44 +5004,30 @@ type GoogleCloudDialogflowCxV3VoiceSelectionParams struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3VoiceSelectionParams) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3VoiceSelectionParams +func (s *GoogleCloudDialogflowCxV3TestError) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3TestError raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3Webhook: Webhooks host the developer's -// business logic. During a session, webhooks allow the developer to use -// the data extracted by Dialogflow's natural language processing to -// generate dynamic responses, validate collected data, or trigger -// actions on the backend. -type GoogleCloudDialogflowCxV3Webhook struct { - // Disabled: Indicates whether the webhook is disabled. - Disabled bool `json:"disabled,omitempty"` - - // DisplayName: Required. The human-readable name of the webhook, unique - // within the agent. - DisplayName string `json:"displayName,omitempty"` - - // GenericWebService: Configuration for a generic web service. - GenericWebService *GoogleCloudDialogflowCxV3WebhookGenericWebService `json:"genericWebService,omitempty"` - - // Name: The unique identifier of the webhook. Required for the - // Webhooks.UpdateWebhook method. Webhooks.CreateWebhook populates the - // name automatically. Format: `projects//locations//agents//webhooks/`. - Name string `json:"name,omitempty"` - - // Timeout: Webhook execution timeout. Execution is considered failed if - // Dialogflow doesn't receive a response from webhook at the end of the - // timeout period. Defaults to 5 seconds, maximum allowed timeout is 30 - // seconds. - Timeout string `json:"timeout,omitempty"` +// GoogleCloudDialogflowCxV3TestRunDifference: The description of +// differences between original and replayed agent output. +type GoogleCloudDialogflowCxV3TestRunDifference struct { + // Description: A description of the diff, showing the actual output vs + // expected output. + Description string `json:"description,omitempty"` - // ServerResponse contains the HTTP response code and headers from the - // server. - googleapi.ServerResponse `json:"-"` + // Type: The type of diff. + // + // Possible values: + // "DIFF_TYPE_UNSPECIFIED" - Should never be used. + // "INTENT" - The intent. + // "PAGE" - The page. + // "PARAMETERS" - The parameters. + // "UTTERANCE" - The message utterance. + Type string `json:"type,omitempty"` - // ForceSendFields is a list of field names (e.g. "Disabled") to + // 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 @@ -4193,39 +5035,29 @@ type GoogleCloudDialogflowCxV3Webhook struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Disabled") 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 + // 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 *GoogleCloudDialogflowCxV3Webhook) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3Webhook +func (s *GoogleCloudDialogflowCxV3TestRunDifference) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3TestRunDifference raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3WebhookGenericWebService: Represents -// configuration for a generic web service. -type GoogleCloudDialogflowCxV3WebhookGenericWebService struct { - // Password: The password for HTTP Basic authentication. - Password string `json:"password,omitempty"` - - // RequestHeaders: The HTTP request headers to send together with - // webhook requests. - RequestHeaders map[string]string `json:"requestHeaders,omitempty"` - - // Uri: Required. The webhook URI for receiving POST requests. It must - // use https protocol. - Uri string `json:"uri,omitempty"` - - // Username: The user name for HTTP Basic authentication. - Username string `json:"username,omitempty"` +// GoogleCloudDialogflowCxV3TextInput: Represents the natural language +// text to be processed. +type GoogleCloudDialogflowCxV3TextInput struct { + // Text: Required. The UTF-8 encoded natural language text to be + // processed. Text length must not exceed 256 characters. + Text string `json:"text,omitempty"` - // ForceSendFields is a list of field names (e.g. "Password") to + // ForceSendFields is a list of field names (e.g. "Text") 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 @@ -4233,8 +5065,8 @@ type GoogleCloudDialogflowCxV3WebhookGenericWebService struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Password") to include in - // API requests with the JSON null value. By default, fields with empty + // NullFields is a list of field names (e.g. "Text") 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. @@ -4242,73 +5074,89 @@ type GoogleCloudDialogflowCxV3WebhookGenericWebService struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3WebhookGenericWebService) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3WebhookGenericWebService +func (s *GoogleCloudDialogflowCxV3TextInput) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3TextInput raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3WebhookRequest: The request message for a -// webhook call. -type GoogleCloudDialogflowCxV3WebhookRequest struct { - // DetectIntentResponseId: Always present. The unique identifier of the - // DetectIntentResponse that will be returned to the API caller. - DetectIntentResponseId string `json:"detectIntentResponseId,omitempty"` - - // FulfillmentInfo: Always present. Information about the fulfillment - // that triggered this webhook call. - FulfillmentInfo *GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo `json:"fulfillmentInfo,omitempty"` - - // IntentInfo: Information about the last matched intent. - IntentInfo *GoogleCloudDialogflowCxV3WebhookRequestIntentInfo `json:"intentInfo,omitempty"` - - // Messages: The list of rich message responses to present to the user. - // Webhook can choose to append or replace this list in - // WebhookResponse.fulfillment_response; - Messages []*GoogleCloudDialogflowCxV3ResponseMessage `json:"messages,omitempty"` - - // PageInfo: Information about page status. - PageInfo *GoogleCloudDialogflowCxV3PageInfo `json:"pageInfo,omitempty"` +// GoogleCloudDialogflowCxV3TrainFlowRequest: The request message for +// Flows.TrainFlow. +type GoogleCloudDialogflowCxV3TrainFlowRequest struct { +} - // Payload: Custom data set in QueryParameters.payload. - Payload googleapi.RawMessage `json:"payload,omitempty"` +// GoogleCloudDialogflowCxV3TransitionCoverage: Transition coverage +// represents the percentage of all possible transitions present within +// any of a parent's test cases. +type GoogleCloudDialogflowCxV3TransitionCoverage struct { + // CoverageScore: The percent of transitions in the agent that are + // covered. + CoverageScore float64 `json:"coverageScore,omitempty"` - // SessionInfo: Information about session status. - SessionInfo *GoogleCloudDialogflowCxV3SessionInfo `json:"sessionInfo,omitempty"` + // Transitions: The list of Transitions present in the agent. + Transitions []*GoogleCloudDialogflowCxV3TransitionCoverageTransition `json:"transitions,omitempty"` - // ForceSendFields is a list of field names (e.g. - // "DetectIntentResponseId") 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. "CoverageScore") 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. "DetectIntentResponseId") - // 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. "CoverageScore") 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 *GoogleCloudDialogflowCxV3WebhookRequest) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3WebhookRequest +func (s *GoogleCloudDialogflowCxV3TransitionCoverage) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3TransitionCoverage raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo: Represents -// fulfillment information communicated to the webhook. -type GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo struct { - // Tag: Always present. The tag used to identify which fulfillment is - // being called. - Tag string `json:"tag,omitempty"` +func (s *GoogleCloudDialogflowCxV3TransitionCoverage) UnmarshalJSON(data []byte) error { + type NoMethod GoogleCloudDialogflowCxV3TransitionCoverage + var s1 struct { + CoverageScore gensupport.JSONFloat64 `json:"coverageScore"` + *NoMethod + } + s1.NoMethod = (*NoMethod)(s) + if err := json.Unmarshal(data, &s1); err != nil { + return err + } + s.CoverageScore = float64(s1.CoverageScore) + return nil +} - // ForceSendFields is a list of field names (e.g. "Tag") to +// GoogleCloudDialogflowCxV3TransitionCoverageTransition: A transition +// in the agent's graph. +type GoogleCloudDialogflowCxV3TransitionCoverageTransition struct { + // Covered: Whether or not the transition is covered by at least one of + // the agent's test cases. + Covered bool `json:"covered,omitempty"` + + // EventHandler: Event handler. + EventHandler *GoogleCloudDialogflowCxV3EventHandler `json:"eventHandler,omitempty"` + + // Index: The index of a transition in the transition list. Starting + // from 0. + Index int64 `json:"index,omitempty"` + + // Source: The start node of a transition. + Source *GoogleCloudDialogflowCxV3TransitionCoverageTransitionNode `json:"source,omitempty"` + + // Target: The end node of a transition. + Target *GoogleCloudDialogflowCxV3TransitionCoverageTransitionNode `json:"target,omitempty"` + + // TransitionRoute: Intent route or condition route. + TransitionRoute *GoogleCloudDialogflowCxV3TransitionRoute `json:"transitionRoute,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Covered") 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 @@ -4316,8 +5164,8 @@ type GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Tag") to include in API - // requests with the JSON null value. By default, fields with empty + // NullFields is a list of field names (e.g. "Covered") 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. @@ -4325,62 +5173,90 @@ type GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo +func (s *GoogleCloudDialogflowCxV3TransitionCoverageTransition) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3TransitionCoverageTransition raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3WebhookRequestIntentInfo: Represents intent -// information communicated to the webhook. -type GoogleCloudDialogflowCxV3WebhookRequestIntentInfo struct { - // LastMatchedIntent: Always present. The unique identifier of the last - // matched intent. Format: `projects//locations//agents//intents/`. - LastMatchedIntent string `json:"lastMatchedIntent,omitempty"` +// GoogleCloudDialogflowCxV3TransitionCoverageTransitionNode: The source +// or target of a transition. +type GoogleCloudDialogflowCxV3TransitionCoverageTransitionNode struct { + // Flow: Indicates a transition to a Flow. Only some fields such as name + // and displayname will be set. + Flow *GoogleCloudDialogflowCxV3Flow `json:"flow,omitempty"` - // Parameters: Parameters identified as a result of intent matching. - // This is a map of the name of the identified parameter to the value of - // the parameter identified from the user's utterance. All parameters - // defined in the matched intent that are identified will be surfaced - // here. - Parameters map[string]GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue `json:"parameters,omitempty"` + // Page: Indicates a transition to a Page. Only some fields such as name + // and displayname will be set. + Page *GoogleCloudDialogflowCxV3Page `json:"page,omitempty"` - // ForceSendFields is a list of field names (e.g. "LastMatchedIntent") - // to unconditionally include in API requests. By default, fields with + // ForceSendFields is a list of field names (e.g. "Flow") 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. "LastMatchedIntent") 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. "Flow") 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 *GoogleCloudDialogflowCxV3WebhookRequestIntentInfo) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3WebhookRequestIntentInfo +func (s *GoogleCloudDialogflowCxV3TransitionCoverageTransitionNode) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3TransitionCoverageTransitionNode raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue: -// Represents a value for an intent parameter. -type GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue struct { - // OriginalValue: Always present. Original text value extracted from - // user utterance. - OriginalValue string `json:"originalValue,omitempty"` +// GoogleCloudDialogflowCxV3TransitionRoute: A transition route +// specifies a intent that can be matched and/or a data condition that +// can be evaluated during a session. When a specified transition is +// matched, the following actions are taken in order: * If there is a +// `trigger_fulfillment` associated with the transition, it will be +// called. * If there is a `target_page` associated with the transition, +// the session will transition into the specified page. * If there is a +// `target_flow` associated with the transition, the session will +// transition into the specified flow. +type GoogleCloudDialogflowCxV3TransitionRoute struct { + // Condition: The condition to evaluate against form parameters or + // session parameters. See the [conditions + // reference](https://cloud.google.com/dialogflow/cx/docs/reference/condi + // tion). At least one of `intent` or `condition` must be specified. + // When both `intent` and `condition` are specified, the transition can + // only happen when both are fulfilled. + Condition string `json:"condition,omitempty"` - // ResolvedValue: Always present. Structured value for the parameter - // extracted from user utterance. - ResolvedValue interface{} `json:"resolvedValue,omitempty"` + // Intent: The unique identifier of an Intent. Format: + // `projects//locations//agents//intents/`. Indicates that the + // transition can only happen when the given intent is matched. At least + // one of `intent` or `condition` must be specified. When both `intent` + // and `condition` are specified, the transition can only happen when + // both are fulfilled. + Intent string `json:"intent,omitempty"` - // ForceSendFields is a list of field names (e.g. "OriginalValue") to + // Name: Output only. The unique identifier of this transition route. + Name string `json:"name,omitempty"` + + // TargetFlow: The target flow to transition to. Format: + // `projects//locations//agents//flows/`. + TargetFlow string `json:"targetFlow,omitempty"` + + // TargetPage: The target page to transition to. Format: + // `projects//locations//agents//flows//pages/`. + TargetPage string `json:"targetPage,omitempty"` + + // TriggerFulfillment: The fulfillment to call when the condition is + // satisfied. At least one of `trigger_fulfillment` and `target` must be + // specified. When both are defined, `trigger_fulfillment` is executed + // first. + TriggerFulfillment *GoogleCloudDialogflowCxV3Fulfillment `json:"triggerFulfillment,omitempty"` + + // 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 @@ -4388,91 +5264,76 @@ type GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue struc // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "OriginalValue") 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 + // 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 // 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 *GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue +func (s *GoogleCloudDialogflowCxV3TransitionRoute) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3TransitionRoute raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3WebhookResponse: The response message for a -// webhook call. -type GoogleCloudDialogflowCxV3WebhookResponse struct { - // FulfillmentResponse: The fulfillment response to send to the user. - // This field can be omitted by the webhook if it does not intend to - // send any response to the user. - FulfillmentResponse *GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse `json:"fulfillmentResponse,omitempty"` - - // PageInfo: Information about page status. This field can be omitted by - // the webhook if it does not intend to modify page status. - PageInfo *GoogleCloudDialogflowCxV3PageInfo `json:"pageInfo,omitempty"` - - // Payload: Value to append directly to QueryResult.webhook_payloads. - Payload googleapi.RawMessage `json:"payload,omitempty"` +// GoogleCloudDialogflowCxV3TransitionRouteGroup: An +// TransitionRouteGroup represents a group of `TransitionRoutes` to be +// used by a Page. +type GoogleCloudDialogflowCxV3TransitionRouteGroup struct { + // DisplayName: Required. The human-readable name of the transition + // route group, unique within the Agent. The display name can be no + // longer than 30 characters. + DisplayName string `json:"displayName,omitempty"` - // SessionInfo: Information about session status. This field can be - // omitted by the webhook if it does not intend to modify session - // status. - SessionInfo *GoogleCloudDialogflowCxV3SessionInfo `json:"sessionInfo,omitempty"` + // Name: The unique identifier of the transition route group. + // TransitionRouteGroups.CreateTransitionRouteGroup populates the name + // automatically. Format: + // `projects//locations//agents//flows//transitionRouteGroups/`. + Name string `json:"name,omitempty"` - // TargetFlow: The target flow to transition to. Format: - // `projects//locations//agents//flows/`. - TargetFlow string `json:"targetFlow,omitempty"` + // TransitionRoutes: Transition routes associated with the + // TransitionRouteGroup. Duplicate transition routes (i.e. using the + // same `intent`) are not allowed. Note that the `name` field is not + // used in the transition route group scope. + TransitionRoutes []*GoogleCloudDialogflowCxV3TransitionRoute `json:"transitionRoutes,omitempty"` - // TargetPage: The target page to transition to. Format: - // `projects//locations//agents//flows//pages/`. - TargetPage string `json:"targetPage,omitempty"` + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` - // ForceSendFields is a list of field names (e.g. "FulfillmentResponse") - // to unconditionally include in API requests. By default, fields with + // ForceSendFields is a list of field names (e.g. "DisplayName") 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. "FulfillmentResponse") 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. "DisplayName") 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 *GoogleCloudDialogflowCxV3WebhookResponse) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3WebhookResponse +func (s *GoogleCloudDialogflowCxV3TransitionRouteGroup) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3TransitionRouteGroup raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse: -// Represents a fulfillment response to the user. -type GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse struct { - // MergeBehavior: Merge behavior for `messages`. - // - // Possible values: - // "MERGE_BEHAVIOR_UNSPECIFIED" - Not specified. `APPEND` will be - // used. - // "APPEND" - `messages` will be appended to the list of messages - // waiting to be sent to the user. - // "REPLACE" - `messages` will replace the list of messages waiting to - // be sent to the user. - MergeBehavior string `json:"mergeBehavior,omitempty"` - - // Messages: The list of rich message responses to present to the user. - Messages []*GoogleCloudDialogflowCxV3ResponseMessage `json:"messages,omitempty"` +// GoogleCloudDialogflowCxV3UpdateDocumentOperationMetadata: Metadata +// for UpdateDocument operation. +type GoogleCloudDialogflowCxV3UpdateDocumentOperationMetadata struct { + // GenericMetadata: The generic information of the operation. + GenericMetadata *GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata `json:"genericMetadata,omitempty"` - // ForceSendFields is a list of field names (e.g. "MergeBehavior") to + // ForceSendFields is a list of field names (e.g. "GenericMetadata") 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 @@ -4480,30 +5341,61 @@ type GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "MergeBehavior") 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. "GenericMetadata") 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 *GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse +func (s *GoogleCloudDialogflowCxV3UpdateDocumentOperationMetadata) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3UpdateDocumentOperationMetadata raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata: -// Metadata associated with the long running operation for -// Versions.CreateVersion. -type GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata struct { - // Version: Name of the created version. Format: - // `projects//locations//agents//flows//versions/`. - Version string `json:"version,omitempty"` +// GoogleCloudDialogflowCxV3Version: Represents a version of a flow. +type GoogleCloudDialogflowCxV3Version struct { + // CreateTime: Output only. Create time of the version. + CreateTime string `json:"createTime,omitempty"` - // ForceSendFields is a list of field names (e.g. "Version") to + // Description: The description of the version. The maximum length is + // 500 characters. If exceeded, the request is rejected. + Description string `json:"description,omitempty"` + + // DisplayName: Required. The human-readable name of the version. Limit + // of 64 characters. + DisplayName string `json:"displayName,omitempty"` + + // Name: Format: projects//locations//agents//flows//versions/. Version + // ID is a self-increasing number generated by Dialogflow upon version + // creation. + Name string `json:"name,omitempty"` + + // NluSettings: Output only. The NLU settings of the flow at version + // creation. + NluSettings *GoogleCloudDialogflowCxV3NluSettings `json:"nluSettings,omitempty"` + + // State: Output only. The state of this version. This field is + // read-only and cannot be set by create and update methods. + // + // Possible values: + // "STATE_UNSPECIFIED" - Not specified. This value is not used. + // "RUNNING" - Version is not ready to serve (e.g. training is + // running). + // "SUCCEEDED" - Training has succeeded and this version is ready to + // serve. + // "FAILED" - Version training failed. + State string `json:"state,omitempty"` + + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` + + // ForceSendFields is a list of field names (e.g. "CreateTime") 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 @@ -4511,7 +5403,7 @@ type GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Version") to include in + // NullFields is a list of field names (e.g. "CreateTime") 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 @@ -4520,23 +5412,37 @@ type GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata +func (s *GoogleCloudDialogflowCxV3Version) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3Version raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1ExportAgentResponse: The response -// message for Agents.ExportAgent. -type GoogleCloudDialogflowCxV3beta1ExportAgentResponse struct { - // AgentContent: Uncompressed raw byte content for agent. - AgentContent string `json:"agentContent,omitempty"` +// GoogleCloudDialogflowCxV3VoiceSelectionParams: Description of which +// voice to use for speech synthesis. +type GoogleCloudDialogflowCxV3VoiceSelectionParams struct { + // Name: Optional. The name of the voice. If not set, the service will + // choose a voice based on the other parameters such as language_code + // and ssml_gender. + Name string `json:"name,omitempty"` - // AgentUri: The URI to a file containing the exported agent. This field - // is populated only if `agent_uri` is specified in ExportAgentRequest. - AgentUri string `json:"agentUri,omitempty"` + // SsmlGender: Optional. The preferred gender of the voice. If not set, + // the service will choose a voice based on the other parameters such as + // language_code and name. Note that this is only a preference, not + // requirement. If a voice of the appropriate gender is not available, + // the synthesizer should substitute a voice with a different gender + // rather than failing the request. + // + // Possible values: + // "SSML_VOICE_GENDER_UNSPECIFIED" - An unspecified gender, which + // means that the client doesn't care which gender the selected voice + // will have. + // "SSML_VOICE_GENDER_MALE" - A male voice. + // "SSML_VOICE_GENDER_FEMALE" - A female voice. + // "SSML_VOICE_GENDER_NEUTRAL" - A gender-neutral voice. + SsmlGender string `json:"ssmlGender,omitempty"` - // ForceSendFields is a list of field names (e.g. "AgentContent") to + // 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 @@ -4544,65 +5450,53 @@ type GoogleCloudDialogflowCxV3beta1ExportAgentResponse struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "AgentContent") 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 + // 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 *GoogleCloudDialogflowCxV3beta1ExportAgentResponse) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1ExportAgentResponse +func (s *GoogleCloudDialogflowCxV3VoiceSelectionParams) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3VoiceSelectionParams raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1PageInfo: Represents page information -// communicated to and from the webhook. -type GoogleCloudDialogflowCxV3beta1PageInfo struct { - // CurrentPage: Always present for WebhookRequest. Ignored for - // WebhookResponse. The unique identifier of the current page. Format: - // `projects//locations//agents//flows//pages/`. - CurrentPage string `json:"currentPage,omitempty"` +// GoogleCloudDialogflowCxV3Webhook: Webhooks host the developer's +// business logic. During a session, webhooks allow the developer to use +// the data extracted by Dialogflow's natural language processing to +// generate dynamic responses, validate collected data, or trigger +// actions on the backend. +type GoogleCloudDialogflowCxV3Webhook struct { + // Disabled: Indicates whether the webhook is disabled. + Disabled bool `json:"disabled,omitempty"` - // FormInfo: Optional for both WebhookRequest and WebhookResponse. - // Information about the form. - FormInfo *GoogleCloudDialogflowCxV3beta1PageInfoFormInfo `json:"formInfo,omitempty"` + // DisplayName: Required. The human-readable name of the webhook, unique + // within the agent. + DisplayName string `json:"displayName,omitempty"` - // ForceSendFields is a list of field names (e.g. "CurrentPage") 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:"-"` + // GenericWebService: Configuration for a generic web service. + GenericWebService *GoogleCloudDialogflowCxV3WebhookGenericWebService `json:"genericWebService,omitempty"` - // NullFields is a list of field names (e.g. "CurrentPage") 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:"-"` -} + // Name: The unique identifier of the webhook. Required for the + // Webhooks.UpdateWebhook method. Webhooks.CreateWebhook populates the + // name automatically. Format: `projects//locations//agents//webhooks/`. + Name string `json:"name,omitempty"` -func (s *GoogleCloudDialogflowCxV3beta1PageInfo) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1PageInfo - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} + // Timeout: Webhook execution timeout. Execution is considered failed if + // Dialogflow doesn't receive a response from webhook at the end of the + // timeout period. Defaults to 5 seconds, maximum allowed timeout is 30 + // seconds. + Timeout string `json:"timeout,omitempty"` -// GoogleCloudDialogflowCxV3beta1PageInfoFormInfo: Represents form -// information. -type GoogleCloudDialogflowCxV3beta1PageInfoFormInfo struct { - // ParameterInfo: Optional for both WebhookRequest and WebhookResponse. - // The parameters contained in the form. Note that the webhook cannot - // add or remove any form parameter. - ParameterInfo []*GoogleCloudDialogflowCxV3beta1PageInfoFormInfoParameterInfo `json:"parameterInfo,omitempty"` + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` - // ForceSendFields is a list of field names (e.g. "ParameterInfo") to + // ForceSendFields is a list of field names (e.g. "Disabled") 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 @@ -4610,62 +5504,39 @@ type GoogleCloudDialogflowCxV3beta1PageInfoFormInfo struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "ParameterInfo") 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 + // NullFields is a list of field names (e.g. "Disabled") 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 *GoogleCloudDialogflowCxV3beta1PageInfoFormInfo) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1PageInfoFormInfo +func (s *GoogleCloudDialogflowCxV3Webhook) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3Webhook raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1PageInfoFormInfoParameterInfo: -// Represents parameter information. -type GoogleCloudDialogflowCxV3beta1PageInfoFormInfoParameterInfo struct { - // DisplayName: Always present for WebhookRequest. Required for - // WebhookResponse. The human-readable name of the parameter, unique - // within the form. This field cannot be modified by the webhook. - DisplayName string `json:"displayName,omitempty"` - - // JustCollected: Optional for WebhookRequest. Ignored for - // WebhookResponse. Indicates if the parameter value was just collected - // on the last conversation turn. - JustCollected bool `json:"justCollected,omitempty"` +// GoogleCloudDialogflowCxV3WebhookGenericWebService: Represents +// configuration for a generic web service. +type GoogleCloudDialogflowCxV3WebhookGenericWebService struct { + // Password: The password for HTTP Basic authentication. + Password string `json:"password,omitempty"` - // Required: Optional for both WebhookRequest and WebhookResponse. - // Indicates whether the parameter is required. Optional parameters will - // not trigger prompts; however, they are filled if the user specifies - // them. Required parameters must be filled before form filling - // concludes. - Required bool `json:"required,omitempty"` + // RequestHeaders: The HTTP request headers to send together with + // webhook requests. + RequestHeaders map[string]string `json:"requestHeaders,omitempty"` - // State: Always present for WebhookRequest. Required for - // WebhookResponse. The state of the parameter. This field can be set to - // INVALID by the webhook to invalidate the parameter; other values set - // by the webhook will be ignored. - // - // Possible values: - // "PARAMETER_STATE_UNSPECIFIED" - Not specified. This value should be - // never used. - // "EMPTY" - Indicates that the parameter does not have a value. - // "INVALID" - Indicates that the parameter value is invalid. This - // field can be used by the webhook to invalidate the parameter and ask - // the server to collect it from the user again. - // "FILLED" - Indicates that the parameter has a value. - State string `json:"state,omitempty"` + // Uri: Required. The webhook URI for receiving POST requests. It must + // use https protocol. + Uri string `json:"uri,omitempty"` - // Value: Optional for both WebhookRequest and WebhookResponse. The - // value of the parameter. This field can be set by the webhook to - // change the parameter value. - Value interface{} `json:"value,omitempty"` + // Username: The user name for HTTP Basic authentication. + Username string `json:"username,omitempty"` - // ForceSendFields is a list of field names (e.g. "DisplayName") to + // ForceSendFields is a list of field names (e.g. "Password") 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 @@ -4673,114 +5544,82 @@ type GoogleCloudDialogflowCxV3beta1PageInfoFormInfoParameterInfo struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "DisplayName") 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 + // NullFields is a list of field names (e.g. "Password") 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 *GoogleCloudDialogflowCxV3beta1PageInfoFormInfoParameterInfo) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1PageInfoFormInfoParameterInfo +func (s *GoogleCloudDialogflowCxV3WebhookGenericWebService) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3WebhookGenericWebService raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1ResponseMessage: Represents a response -// message that can be returned by a conversational agent. Response -// messages are also used for output audio synthesis. The approach is as -// follows: * If at least one OutputAudioText response is present, then -// all OutputAudioText responses are linearly concatenated, and the -// result is used for output audio synthesis. * If the OutputAudioText -// responses are a mixture of text and SSML, then the concatenated -// result is treated as SSML; otherwise, the result is treated as either -// text or SSML as appropriate. The agent designer should ideally use -// either text or SSML consistently throughout the bot design. * -// Otherwise, all Text responses are linearly concatenated, and the -// result is used for output audio synthesis. This approach allows for -// more sophisticated user experience scenarios, where the text -// displayed to the user may differ from what is heard. -type GoogleCloudDialogflowCxV3beta1ResponseMessage struct { - // ConversationSuccess: Indicates that the conversation succeeded. - ConversationSuccess *GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess `json:"conversationSuccess,omitempty"` +// GoogleCloudDialogflowCxV3WebhookRequest: The request message for a +// webhook call. +type GoogleCloudDialogflowCxV3WebhookRequest struct { + // DetectIntentResponseId: Always present. The unique identifier of the + // DetectIntentResponse that will be returned to the API caller. + DetectIntentResponseId string `json:"detectIntentResponseId,omitempty"` - // EndInteraction: Output only. A signal that indicates the interaction - // with the Dialogflow agent has ended. This message is generated by - // Dialogflow only when the conversation reaches `END_SESSION` or - // `END_PAGE` page. It is not supposed to be defined by the user. It's - // guaranteed that there is at most one such message in each response. - EndInteraction *GoogleCloudDialogflowCxV3beta1ResponseMessageEndInteraction `json:"endInteraction,omitempty"` + // FulfillmentInfo: Always present. Information about the fulfillment + // that triggered this webhook call. + FulfillmentInfo *GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo `json:"fulfillmentInfo,omitempty"` - // LiveAgentHandoff: Hands off conversation to a human agent. - LiveAgentHandoff *GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff `json:"liveAgentHandoff,omitempty"` + // IntentInfo: Information about the last matched intent. + IntentInfo *GoogleCloudDialogflowCxV3WebhookRequestIntentInfo `json:"intentInfo,omitempty"` - // MixedAudio: Output only. An audio response message composed of both - // the synthesized Dialogflow agent responses and responses defined via - // play_audio. This message is generated by Dialogflow only and not - // supposed to be defined by the user. - MixedAudio *GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio `json:"mixedAudio,omitempty"` + // Messages: The list of rich message responses to present to the user. + // Webhook can choose to append or replace this list in + // WebhookResponse.fulfillment_response; + Messages []*GoogleCloudDialogflowCxV3ResponseMessage `json:"messages,omitempty"` - // OutputAudioText: A text or ssml response that is preferentially used - // for TTS output audio synthesis, as described in the comment on the - // ResponseMessage message. - OutputAudioText *GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText `json:"outputAudioText,omitempty"` + // PageInfo: Information about page status. + PageInfo *GoogleCloudDialogflowCxV3PageInfo `json:"pageInfo,omitempty"` - // Payload: Returns a response containing a custom, platform-specific - // payload. + // Payload: Custom data set in QueryParameters.payload. Payload googleapi.RawMessage `json:"payload,omitempty"` - // PlayAudio: Signal that the client should play an audio clip hosted at - // a client-specific URI. Dialogflow uses this to construct mixed_audio. - // However, Dialogflow itself does not try to read or process the URI in - // any way. - PlayAudio *GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio `json:"playAudio,omitempty"` - - // Text: Returns a text response. - Text *GoogleCloudDialogflowCxV3beta1ResponseMessageText `json:"text,omitempty"` + // SessionInfo: Information about session status. + SessionInfo *GoogleCloudDialogflowCxV3SessionInfo `json:"sessionInfo,omitempty"` - // ForceSendFields is a list of field names (e.g. "ConversationSuccess") - // 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. + // "DetectIntentResponseId") 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. "ConversationSuccess") 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 + // NullFields is a list of field names (e.g. "DetectIntentResponseId") + // 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 *GoogleCloudDialogflowCxV3beta1ResponseMessage) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1ResponseMessage +func (s *GoogleCloudDialogflowCxV3WebhookRequest) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3WebhookRequest raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess: -// Indicates that the conversation succeeded, i.e., the bot handled the -// issue that the customer talked to it about. Dialogflow only uses this -// to determine which conversations should be counted as successful and -// doesn't process the metadata in this message in any way. Note that -// Dialogflow also considers conversations that get to the conversation -// end page as successful even if they don't return ConversationSuccess. -// You may set this, for example: * In the entry_fulfillment of a Page -// if entering the page indicates that the conversation succeeded. * In -// a webhook response when you determine that you handled the customer -// issue. -type GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess struct { - // Metadata: Custom metadata. Dialogflow doesn't impose any structure on - // this. - Metadata googleapi.RawMessage `json:"metadata,omitempty"` +// GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo: Represents +// fulfillment information communicated to the webhook. +type GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo struct { + // Tag: Always present. The tag used to identify which fulfillment is + // being called. + Tag string `json:"tag,omitempty"` - // ForceSendFields is a list of field names (e.g. "Metadata") to + // ForceSendFields is a list of field names (e.g. "Tag") 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 @@ -4788,8 +5627,8 @@ type GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Metadata") to include in - // API requests with the JSON null value. By default, fields with empty + // NullFields is a list of field names (e.g. "Tag") 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. @@ -4797,67 +5636,62 @@ type GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess +func (s *GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1ResponseMessageEndInteraction: -// Indicates that interaction with the Dialogflow agent has ended. This -// message is generated by Dialogflow only and not supposed to be -// defined by the user. -type GoogleCloudDialogflowCxV3beta1ResponseMessageEndInteraction struct { -} +// GoogleCloudDialogflowCxV3WebhookRequestIntentInfo: Represents intent +// information communicated to the webhook. +type GoogleCloudDialogflowCxV3WebhookRequestIntentInfo struct { + // LastMatchedIntent: Always present. The unique identifier of the last + // matched intent. Format: `projects//locations//agents//intents/`. + LastMatchedIntent string `json:"lastMatchedIntent,omitempty"` -// GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff: -// Indicates that the conversation should be handed off to a live agent. -// Dialogflow only uses this to determine which conversations were -// handed off to a human agent for measurement purposes. What else to do -// with this signal is up to you and your handoff procedures. You may -// set this, for example: * In the entry_fulfillment of a Page if -// entering the page indicates something went extremely wrong in the -// conversation. * In a webhook response when you determine that the -// customer issue can only be handled by a human. -type GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff struct { - // Metadata: Custom metadata for your handoff procedure. Dialogflow - // doesn't impose any structure on this. - Metadata googleapi.RawMessage `json:"metadata,omitempty"` + // Parameters: Parameters identified as a result of intent matching. + // This is a map of the name of the identified parameter to the value of + // the parameter identified from the user's utterance. All parameters + // defined in the matched intent that are identified will be surfaced + // here. + Parameters map[string]GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue `json:"parameters,omitempty"` - // ForceSendFields is a list of field names (e.g. "Metadata") to - // unconditionally include in API requests. By default, fields with + // ForceSendFields is a list of field names (e.g. "LastMatchedIntent") + // 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. "Metadata") 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. "LastMatchedIntent") 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 *GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff +func (s *GoogleCloudDialogflowCxV3WebhookRequestIntentInfo) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3WebhookRequestIntentInfo raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio: Represents -// an audio message that is composed of both segments synthesized from -// the Dialogflow agent prompts and ones hosted externally at the -// specified URIs. The external URIs are specified via play_audio. This -// message is generated by Dialogflow only and not supposed to be -// defined by the user. -type GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio struct { - // Segments: Segments this audio response is composed of. - Segments []*GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment `json:"segments,omitempty"` +// GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue: +// Represents a value for an intent parameter. +type GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue struct { + // OriginalValue: Always present. Original text value extracted from + // user utterance. + OriginalValue string `json:"originalValue,omitempty"` - // ForceSendFields is a list of field names (e.g. "Segments") to + // ResolvedValue: Always present. Structured value for the parameter + // extracted from user utterance. + ResolvedValue interface{} `json:"resolvedValue,omitempty"` + + // ForceSendFields is a list of field names (e.g. "OriginalValue") 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 @@ -4865,196 +5699,189 @@ type GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Segments") 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 + // NullFields is a list of field names (e.g. "OriginalValue") 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 *GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio +func (s *GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment: -// Represents one segment of audio. -type GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment struct { - // AllowPlaybackInterruption: Output only. Whether the playback of this - // segment can be interrupted by the end user's speech and the client - // should then start the next Dialogflow request. - AllowPlaybackInterruption bool `json:"allowPlaybackInterruption,omitempty"` +// GoogleCloudDialogflowCxV3WebhookResponse: The response message for a +// webhook call. +type GoogleCloudDialogflowCxV3WebhookResponse struct { + // FulfillmentResponse: The fulfillment response to send to the user. + // This field can be omitted by the webhook if it does not intend to + // send any response to the user. + FulfillmentResponse *GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse `json:"fulfillmentResponse,omitempty"` - // Audio: Raw audio synthesized from the Dialogflow agent's response - // using the output config specified in the request. - Audio string `json:"audio,omitempty"` + // PageInfo: Information about page status. This field can be omitted by + // the webhook if it does not intend to modify page status. + PageInfo *GoogleCloudDialogflowCxV3PageInfo `json:"pageInfo,omitempty"` - // Uri: Client-specific URI that points to an audio clip accessible to - // the client. Dialogflow does not impose any validation on it. - Uri string `json:"uri,omitempty"` + // Payload: Value to append directly to QueryResult.webhook_payloads. + Payload googleapi.RawMessage `json:"payload,omitempty"` - // ForceSendFields is a list of field names (e.g. - // "AllowPlaybackInterruption") 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. + // SessionInfo: Information about session status. This field can be + // omitted by the webhook if it does not intend to modify session + // status. + SessionInfo *GoogleCloudDialogflowCxV3SessionInfo `json:"sessionInfo,omitempty"` + + // TargetFlow: The target flow to transition to. Format: + // `projects//locations//agents//flows/`. + TargetFlow string `json:"targetFlow,omitempty"` + + // TargetPage: The target page to transition to. Format: + // `projects//locations//agents//flows//pages/`. + TargetPage string `json:"targetPage,omitempty"` + + // ForceSendFields is a list of field names (e.g. "FulfillmentResponse") + // 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. - // "AllowPlaybackInterruption") 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. "FulfillmentResponse") 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 *GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment +func (s *GoogleCloudDialogflowCxV3WebhookResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3WebhookResponse raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText: A text -// or ssml response that is preferentially used for TTS output audio -// synthesis, as described in the comment on the ResponseMessage -// message. -type GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText struct { - // AllowPlaybackInterruption: Output only. Whether the playback of this - // message can be interrupted by the end user's speech and the client - // can then starts the next Dialogflow request. - AllowPlaybackInterruption bool `json:"allowPlaybackInterruption,omitempty"` - - // Ssml: The SSML text to be synthesized. For more information, see - // [SSML](/speech/text-to-speech/docs/ssml). - Ssml string `json:"ssml,omitempty"` +// GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse: +// Represents a fulfillment response to the user. +type GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse struct { + // MergeBehavior: Merge behavior for `messages`. + // + // Possible values: + // "MERGE_BEHAVIOR_UNSPECIFIED" - Not specified. `APPEND` will be + // used. + // "APPEND" - `messages` will be appended to the list of messages + // waiting to be sent to the user. + // "REPLACE" - `messages` will replace the list of messages waiting to + // be sent to the user. + MergeBehavior string `json:"mergeBehavior,omitempty"` - // Text: The raw text to be synthesized. - Text string `json:"text,omitempty"` + // Messages: The list of rich message responses to present to the user. + Messages []*GoogleCloudDialogflowCxV3ResponseMessage `json:"messages,omitempty"` - // ForceSendFields is a list of field names (e.g. - // "AllowPlaybackInterruption") 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. "MergeBehavior") 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. - // "AllowPlaybackInterruption") 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. "MergeBehavior") 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 *GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText +func (s *GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio: Specifies an -// audio clip to be played by the client as part of the response. -type GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio struct { - // AllowPlaybackInterruption: Output only. Whether the playback of this - // message can be interrupted by the end user's speech and the client - // can then starts the next Dialogflow request. - AllowPlaybackInterruption bool `json:"allowPlaybackInterruption,omitempty"` +// GoogleCloudDialogflowCxV3beta1AudioInput: Represents the natural +// speech audio to be processed. +type GoogleCloudDialogflowCxV3beta1AudioInput struct { + // Audio: The natural language speech audio to be processed. A single + // request can contain up to 1 minute of speech audio data. The + // transcribed text cannot contain more than 256 bytes. For + // non-streaming audio detect intent, both `config` and `audio` must be + // provided. For streaming audio detect intent, `config` must be + // provided in the first request and `audio` must be provided in all + // following requests. + Audio string `json:"audio,omitempty"` - // AudioUri: Required. URI of the audio clip. Dialogflow does not impose - // any validation on this value. It is specific to the client that reads - // it. - AudioUri string `json:"audioUri,omitempty"` + // Config: Required. Instructs the speech recognizer how to process the + // speech audio. + Config *GoogleCloudDialogflowCxV3beta1InputAudioConfig `json:"config,omitempty"` - // ForceSendFields is a list of field names (e.g. - // "AllowPlaybackInterruption") 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. "Audio") 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. - // "AllowPlaybackInterruption") 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:"-"` + // NullFields is a list of field names (e.g. "Audio") 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 *GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio +func (s *GoogleCloudDialogflowCxV3beta1AudioInput) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1AudioInput raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1ResponseMessageText: The text response -// message. -type GoogleCloudDialogflowCxV3beta1ResponseMessageText struct { - // AllowPlaybackInterruption: Output only. Whether the playback of this - // message can be interrupted by the end user's speech and the client - // can then starts the next Dialogflow request. - AllowPlaybackInterruption bool `json:"allowPlaybackInterruption,omitempty"` - - // Text: Required. A collection of text responses. - Text []string `json:"text,omitempty"` +// GoogleCloudDialogflowCxV3beta1BatchRunTestCasesMetadata: Metadata +// returned for the TestCases.BatchRunTestCases long running operation. +type GoogleCloudDialogflowCxV3beta1BatchRunTestCasesMetadata struct { + // Errors: The test errors. + Errors []*GoogleCloudDialogflowCxV3beta1TestError `json:"errors,omitempty"` - // ForceSendFields is a list of field names (e.g. - // "AllowPlaybackInterruption") 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. "Errors") 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. - // "AllowPlaybackInterruption") 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. "Errors") 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 *GoogleCloudDialogflowCxV3beta1ResponseMessageText) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1ResponseMessageText +func (s *GoogleCloudDialogflowCxV3beta1BatchRunTestCasesMetadata) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1BatchRunTestCasesMetadata raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1SessionInfo: Represents session -// information communicated to and from the webhook. -type GoogleCloudDialogflowCxV3beta1SessionInfo struct { - // Parameters: Optional for WebhookRequest. Optional for - // WebhookResponse. All parameters collected from forms and intents - // during the session. Parameters can be created, updated, or removed by - // the webhook. To remove a parameter from the session, the webhook - // should explicitly set the parameter value to null in WebhookResponse. - // The map is keyed by parameters' display names. - Parameters googleapi.RawMessage `json:"parameters,omitempty"` - - // Session: Always present for WebhookRequest. Ignored for - // WebhookResponse. The unique identifier of the session. This field can - // be used by the webhook to identify a user. Format: - // `projects//locations//agents//sessions/`. - Session string `json:"session,omitempty"` +// GoogleCloudDialogflowCxV3beta1BatchRunTestCasesResponse: The response +// message for TestCases.BatchRunTestCases. +type GoogleCloudDialogflowCxV3beta1BatchRunTestCasesResponse struct { + // Results: The test case results. The detailed conversation turns are + // empty in this response. + Results []*GoogleCloudDialogflowCxV3beta1TestCaseResult `json:"results,omitempty"` - // ForceSendFields is a list of field names (e.g. "Parameters") to + // 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 @@ -5062,7 +5889,7 @@ type GoogleCloudDialogflowCxV3beta1SessionInfo struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Parameters") to include in + // 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 @@ -5071,73 +5898,116 @@ type GoogleCloudDialogflowCxV3beta1SessionInfo struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3beta1SessionInfo) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1SessionInfo +func (s *GoogleCloudDialogflowCxV3beta1BatchRunTestCasesResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1BatchRunTestCasesResponse raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1WebhookRequest: The request message for -// a webhook call. -type GoogleCloudDialogflowCxV3beta1WebhookRequest struct { - // DetectIntentResponseId: Always present. The unique identifier of the - // DetectIntentResponse that will be returned to the API caller. - DetectIntentResponseId string `json:"detectIntentResponseId,omitempty"` +// GoogleCloudDialogflowCxV3beta1ConversationTurn: One interaction +// between a human and virtual agent. The human provides some input and +// the virtual agent provides a response. +type GoogleCloudDialogflowCxV3beta1ConversationTurn struct { + // UserInput: The user input. + UserInput *GoogleCloudDialogflowCxV3beta1ConversationTurnUserInput `json:"userInput,omitempty"` - // FulfillmentInfo: Always present. Information about the fulfillment - // that triggered this webhook call. - FulfillmentInfo *GoogleCloudDialogflowCxV3beta1WebhookRequestFulfillmentInfo `json:"fulfillmentInfo,omitempty"` + // VirtualAgentOutput: The virtual agent output. + VirtualAgentOutput *GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput `json:"virtualAgentOutput,omitempty"` - // IntentInfo: Information about the last matched intent. - IntentInfo *GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo `json:"intentInfo,omitempty"` + // ForceSendFields is a list of field names (e.g. "UserInput") 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:"-"` - // Messages: The list of rich message responses to present to the user. - // Webhook can choose to append or replace this list in - // WebhookResponse.fulfillment_response; - Messages []*GoogleCloudDialogflowCxV3beta1ResponseMessage `json:"messages,omitempty"` + // NullFields is a list of field names (e.g. "UserInput") 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:"-"` +} - // PageInfo: Information about page status. - PageInfo *GoogleCloudDialogflowCxV3beta1PageInfo `json:"pageInfo,omitempty"` +func (s *GoogleCloudDialogflowCxV3beta1ConversationTurn) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1ConversationTurn + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} - // Payload: Custom data set in QueryParameters.payload. - Payload googleapi.RawMessage `json:"payload,omitempty"` +// GoogleCloudDialogflowCxV3beta1ConversationTurnUserInput: The input +// from the human user. +type GoogleCloudDialogflowCxV3beta1ConversationTurnUserInput struct { + // InjectedParameters: Parameters that need to be injected into the + // conversation during intent detection. + InjectedParameters googleapi.RawMessage `json:"injectedParameters,omitempty"` - // SessionInfo: Information about session status. - SessionInfo *GoogleCloudDialogflowCxV3beta1SessionInfo `json:"sessionInfo,omitempty"` + // Input: Supports text input, event input, dtmf input in the test case. + Input *GoogleCloudDialogflowCxV3beta1QueryInput `json:"input,omitempty"` - // ForceSendFields is a list of field names (e.g. - // "DetectIntentResponseId") 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. + // IsWebhookEnabled: If webhooks should be allowed to trigger in + // response to the user utterance. Often if parameters are injected, + // webhooks should not be enabled. + IsWebhookEnabled bool `json:"isWebhookEnabled,omitempty"` + + // ForceSendFields is a list of field names (e.g. "InjectedParameters") + // 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. "DetectIntentResponseId") - // 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 + // NullFields is a list of field names (e.g. "InjectedParameters") 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 *GoogleCloudDialogflowCxV3beta1WebhookRequest) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1WebhookRequest +func (s *GoogleCloudDialogflowCxV3beta1ConversationTurnUserInput) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1ConversationTurnUserInput raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1WebhookRequestFulfillmentInfo: -// Represents fulfillment information communicated to the webhook. -type GoogleCloudDialogflowCxV3beta1WebhookRequestFulfillmentInfo struct { - // Tag: Always present. The tag used to identify which fulfillment is - // being called. - Tag string `json:"tag,omitempty"` +// GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput: The +// output from the virtual agent. +type GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput struct { + // CurrentPage: The Page on which the utterance was spoken. Only some + // fields such as name and displayname will be set. + CurrentPage *GoogleCloudDialogflowCxV3beta1Page `json:"currentPage,omitempty"` - // ForceSendFields is a list of field names (e.g. "Tag") to + // DiagnosticInfo: Required. Input only. The diagnostic info output for + // the turn. + DiagnosticInfo googleapi.RawMessage `json:"diagnosticInfo,omitempty"` + + // Differences: Output only. If this is part of a result conversation + // turn, the list of differences between the original run and the replay + // for this output, if any. + Differences []*GoogleCloudDialogflowCxV3beta1TestRunDifference `json:"differences,omitempty"` + + // SessionParameters: The session parameters available to the bot at + // this point. + SessionParameters googleapi.RawMessage `json:"sessionParameters,omitempty"` + + // Status: Response error from the agent in the test result. If set, + // other output is empty. + Status *GoogleRpcStatus `json:"status,omitempty"` + + // TextResponses: The text responses from the agent for the turn. + TextResponses []*GoogleCloudDialogflowCxV3beta1ResponseMessageText `json:"textResponses,omitempty"` + + // TriggeredIntent: The Intent that triggered the response. Only some + // fields such as name and displayname will be set. + TriggeredIntent *GoogleCloudDialogflowCxV3beta1Intent `json:"triggeredIntent,omitempty"` + + // ForceSendFields is a list of field names (e.g. "CurrentPage") 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 @@ -5145,44 +6015,36 @@ type GoogleCloudDialogflowCxV3beta1WebhookRequestFulfillmentInfo struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Tag") 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 + // NullFields is a list of field names (e.g. "CurrentPage") 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 *GoogleCloudDialogflowCxV3beta1WebhookRequestFulfillmentInfo) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1WebhookRequestFulfillmentInfo +func (s *GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo: Represents -// intent information communicated to the webhook. -type GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo struct { - // LastMatchedIntent: Always present. The unique identifier of the last - // matched intent. Format: `projects//locations//agents//intents/`. - LastMatchedIntent string `json:"lastMatchedIntent,omitempty"` - - // Parameters: Parameters identified as a result of intent matching. - // This is a map of the name of the identified parameter to the value of - // the parameter identified from the user's utterance. All parameters - // defined in the matched intent that are identified will be surfaced - // here. - Parameters map[string]GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfoIntentParameterValue `json:"parameters,omitempty"` +// GoogleCloudDialogflowCxV3beta1CreateDocumentOperationMetadata: +// Metadata for CreateDocument operation. +type GoogleCloudDialogflowCxV3beta1CreateDocumentOperationMetadata struct { + // GenericMetadata: The generic information of the operation. + GenericMetadata *GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata `json:"genericMetadata,omitempty"` - // ForceSendFields is a list of field names (e.g. "LastMatchedIntent") - // to unconditionally include in API requests. By default, fields with + // ForceSendFields is a list of field names (e.g. "GenericMetadata") 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. "LastMatchedIntent") to + // NullFields is a list of field names (e.g. "GenericMetadata") 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 @@ -5192,24 +6054,21 @@ type GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo +func (s *GoogleCloudDialogflowCxV3beta1CreateDocumentOperationMetadata) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1CreateDocumentOperationMetadata raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfoIntentParameterV -// alue: Represents a value for an intent parameter. -type GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfoIntentParameterValue struct { - // OriginalValue: Always present. Original text value extracted from - // user utterance. - OriginalValue string `json:"originalValue,omitempty"` - - // ResolvedValue: Always present. Structured value for the parameter - // extracted from user utterance. - ResolvedValue interface{} `json:"resolvedValue,omitempty"` +// GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata: +// Metadata associated with the long running operation for +// Versions.CreateVersion. +type GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata struct { + // Version: Name of the created version. Format: + // `projects//locations//agents//flows//versions/`. + Version string `json:"version,omitempty"` - // ForceSendFields is a list of field names (e.g. "OriginalValue") to + // ForceSendFields is a list of field names (e.g. "Version") 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 @@ -5217,58 +6076,36 @@ type GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfoIntentParameterValue // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "OriginalValue") 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 + // NullFields is a list of field names (e.g. "Version") 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 *GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfoIntentParameterValue) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfoIntentParameterValue +func (s *GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1WebhookResponse: The response message -// for a webhook call. -type GoogleCloudDialogflowCxV3beta1WebhookResponse struct { - // FulfillmentResponse: The fulfillment response to send to the user. - // This field can be omitted by the webhook if it does not intend to - // send any response to the user. - FulfillmentResponse *GoogleCloudDialogflowCxV3beta1WebhookResponseFulfillmentResponse `json:"fulfillmentResponse,omitempty"` - - // PageInfo: Information about page status. This field can be omitted by - // the webhook if it does not intend to modify page status. - PageInfo *GoogleCloudDialogflowCxV3beta1PageInfo `json:"pageInfo,omitempty"` - - // Payload: Value to append directly to QueryResult.webhook_payloads. - Payload googleapi.RawMessage `json:"payload,omitempty"` - - // SessionInfo: Information about session status. This field can be - // omitted by the webhook if it does not intend to modify session - // status. - SessionInfo *GoogleCloudDialogflowCxV3beta1SessionInfo `json:"sessionInfo,omitempty"` - - // TargetFlow: The target flow to transition to. Format: - // `projects//locations//agents//flows/`. - TargetFlow string `json:"targetFlow,omitempty"` - - // TargetPage: The target page to transition to. Format: - // `projects//locations//agents//flows//pages/`. - TargetPage string `json:"targetPage,omitempty"` +// GoogleCloudDialogflowCxV3beta1DeleteDocumentOperationMetadata: +// Metadata for DeleteDocument operation. +type GoogleCloudDialogflowCxV3beta1DeleteDocumentOperationMetadata struct { + // GenericMetadata: The generic information of the operation. + GenericMetadata *GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata `json:"genericMetadata,omitempty"` - // ForceSendFields is a list of field names (e.g. "FulfillmentResponse") - // to unconditionally include in API requests. By default, fields with + // ForceSendFields is a list of field names (e.g. "GenericMetadata") 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. "FulfillmentResponse") to + // NullFields is a list of field names (e.g. "GenericMetadata") 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 @@ -5278,30 +6115,22 @@ type GoogleCloudDialogflowCxV3beta1WebhookResponse struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3beta1WebhookResponse) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1WebhookResponse +func (s *GoogleCloudDialogflowCxV3beta1DeleteDocumentOperationMetadata) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1DeleteDocumentOperationMetadata raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1WebhookResponseFulfillmentResponse: -// Represents a fulfillment response to the user. -type GoogleCloudDialogflowCxV3beta1WebhookResponseFulfillmentResponse struct { - // MergeBehavior: Merge behavior for `messages`. - // - // Possible values: - // "MERGE_BEHAVIOR_UNSPECIFIED" - Not specified. `APPEND` will be - // used. - // "APPEND" - `messages` will be appended to the list of messages - // waiting to be sent to the user. - // "REPLACE" - `messages` will replace the list of messages waiting to - // be sent to the user. - MergeBehavior string `json:"mergeBehavior,omitempty"` +// GoogleCloudDialogflowCxV3beta1DtmfInput: Represents the input for +// dtmf event. +type GoogleCloudDialogflowCxV3beta1DtmfInput struct { + // Digits: The dtmf digits. + Digits string `json:"digits,omitempty"` - // Messages: The list of rich message responses to present to the user. - Messages []*GoogleCloudDialogflowCxV3beta1ResponseMessage `json:"messages,omitempty"` + // FinishDigit: The finish digit (if any). + FinishDigit string `json:"finishDigit,omitempty"` - // ForceSendFields is a list of field names (e.g. "MergeBehavior") to + // ForceSendFields is a list of field names (e.g. "Digits") 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 @@ -5309,43 +6138,51 @@ type GoogleCloudDialogflowCxV3beta1WebhookResponseFulfillmentResponse struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "MergeBehavior") 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 + // NullFields is a list of field names (e.g. "Digits") 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 *GoogleCloudDialogflowCxV3beta1WebhookResponseFulfillmentResponse) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1WebhookResponseFulfillmentResponse +func (s *GoogleCloudDialogflowCxV3beta1DtmfInput) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1DtmfInput raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2AnnotatedMessagePart: Represents a part of a -// message possibly annotated with an entity. The part can be an entity -// or purely a part of the message between two entities or message -// start/end. -type GoogleCloudDialogflowV2AnnotatedMessagePart struct { - // EntityType: The [Dialogflow system entity - // type](https://cloud.google.com/dialogflow/docs/reference/system-entiti - // es) of this message part. If this is empty, Dialogflow could not - // annotate the phrase part with a system entity. - EntityType string `json:"entityType,omitempty"` +// GoogleCloudDialogflowCxV3beta1EventHandler: An event handler +// specifies an event that can be handled during a session. When the +// specified event happens, the following actions are taken in order: * +// If there is a `trigger_fulfillment` associated with the event, it +// will be called. * If there is a `target_page` associated with the +// event, the session will transition into the specified page. * If +// there is a `target_flow` associated with the event, the session will +// transition into the specified flow. +type GoogleCloudDialogflowCxV3beta1EventHandler struct { + // Event: Required. The name of the event to handle. + Event string `json:"event,omitempty"` - // FormattedValue: The [Dialogflow system entity formatted value - // ](https://cloud.google.com/dialogflow/docs/reference/system-entities) - // of this message part. For example for a system entity of type - // `@sys.unit-currency`, this may contain: { "amount": 5, "currency": - // "USD" } - FormattedValue interface{} `json:"formattedValue,omitempty"` + // Name: Output only. The unique identifier of this event handler. + Name string `json:"name,omitempty"` - // Text: A part of a message possibly annotated with an entity. - Text string `json:"text,omitempty"` + // TargetFlow: The target flow to transition to. Format: + // `projects//locations//agents//flows/`. + TargetFlow string `json:"targetFlow,omitempty"` - // ForceSendFields is a list of field names (e.g. "EntityType") to + // TargetPage: The target page to transition to. Format: + // `projects//locations//agents//flows//pages/`. + TargetPage string `json:"targetPage,omitempty"` + + // TriggerFulfillment: The fulfillment to call when the event occurs. + // Handling webhook errors with a fulfillment enabled with webhook could + // cause infinite loop. It is invalid to specify such fulfillment for a + // handler handling webhooks. + TriggerFulfillment *GoogleCloudDialogflowCxV3beta1Fulfillment `json:"triggerFulfillment,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Event") 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 @@ -5353,8 +6190,8 @@ type GoogleCloudDialogflowV2AnnotatedMessagePart struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "EntityType") to include in - // API requests with the JSON null value. By default, fields with empty + // NullFields is a list of field names (e.g. "Event") 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. @@ -5362,19 +6199,19 @@ type GoogleCloudDialogflowV2AnnotatedMessagePart struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2AnnotatedMessagePart) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2AnnotatedMessagePart +func (s *GoogleCloudDialogflowCxV3beta1EventHandler) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1EventHandler raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2BatchUpdateEntityTypesResponse: The response -// message for EntityTypes.BatchUpdateEntityTypes. -type GoogleCloudDialogflowV2BatchUpdateEntityTypesResponse struct { - // EntityTypes: The collection of updated or created entity types. - EntityTypes []*GoogleCloudDialogflowV2EntityType `json:"entityTypes,omitempty"` +// GoogleCloudDialogflowCxV3beta1EventInput: Represents the event to +// trigger. +type GoogleCloudDialogflowCxV3beta1EventInput struct { + // Event: Name of the event. + Event string `json:"event,omitempty"` - // ForceSendFields is a list of field names (e.g. "EntityTypes") to + // ForceSendFields is a list of field names (e.g. "Event") 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 @@ -5382,7 +6219,40 @@ type GoogleCloudDialogflowV2BatchUpdateEntityTypesResponse struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "EntityTypes") to include + // NullFields is a list of field names (e.g. "Event") 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 *GoogleCloudDialogflowCxV3beta1EventInput) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1EventInput + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3beta1ExportAgentResponse: The response +// message for Agents.ExportAgent. +type GoogleCloudDialogflowCxV3beta1ExportAgentResponse struct { + // AgentContent: Uncompressed raw byte content for agent. + AgentContent string `json:"agentContent,omitempty"` + + // AgentUri: The URI to a file containing the exported agent. This field + // is populated only if `agent_uri` is specified in ExportAgentRequest. + AgentUri string `json:"agentUri,omitempty"` + + // ForceSendFields is a list of field names (e.g. "AgentContent") 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. "AgentContent") 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 @@ -5391,19 +6261,29 @@ type GoogleCloudDialogflowV2BatchUpdateEntityTypesResponse struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2BatchUpdateEntityTypesResponse) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2BatchUpdateEntityTypesResponse +func (s *GoogleCloudDialogflowCxV3beta1ExportAgentResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1ExportAgentResponse raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2BatchUpdateIntentsResponse: The response -// message for Intents.BatchUpdateIntents. -type GoogleCloudDialogflowV2BatchUpdateIntentsResponse struct { - // Intents: The collection of updated or created intents. - Intents []*GoogleCloudDialogflowV2Intent `json:"intents,omitempty"` +// GoogleCloudDialogflowCxV3beta1ExportTestCasesMetadata: Metadata +// returned for the TestCases.ExportTestCases long running operation. +type GoogleCloudDialogflowCxV3beta1ExportTestCasesMetadata struct { +} - // ForceSendFields is a list of field names (e.g. "Intents") to +// GoogleCloudDialogflowCxV3beta1ExportTestCasesResponse: The response +// message for TestCases.ExportTestCases. +type GoogleCloudDialogflowCxV3beta1ExportTestCasesResponse struct { + // Content: Uncompressed raw byte content for test cases. + Content string `json:"content,omitempty"` + + // GcsUri: The URI to a file containing the exported test cases. This + // field is populated only if `gcs_uri` is specified in + // ExportTestCasesRequest. + GcsUri string `json:"gcsUri,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Content") 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 @@ -5411,7 +6291,7 @@ type GoogleCloudDialogflowV2BatchUpdateIntentsResponse struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Intents") to include in + // NullFields is a list of field names (e.g. "Content") 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 @@ -5420,58 +6300,23 @@ type GoogleCloudDialogflowV2BatchUpdateIntentsResponse struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2BatchUpdateIntentsResponse) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2BatchUpdateIntentsResponse +func (s *GoogleCloudDialogflowCxV3beta1ExportTestCasesResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1ExportTestCasesResponse raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2Context: Dialogflow contexts are similar to -// natural language context. If a person says to you "they are orange", -// you need context in order to understand what "they" is referring to. -// Similarly, for Dialogflow to handle an end-user expression like that, -// it needs to be provided with context in order to correctly match an -// intent. Using contexts, you can control the flow of a conversation. -// You can configure contexts for an intent by setting input and output -// contexts, which are identified by string names. When an intent is -// matched, any configured output contexts for that intent become -// active. While any contexts are active, Dialogflow is more likely to -// match intents that are configured with input contexts that correspond -// to the currently active contexts. For more information about context, -// see the [Contexts -// guide](https://cloud.google.com/dialogflow/docs/contexts-overview). -type GoogleCloudDialogflowV2Context struct { - // LifespanCount: Optional. The number of conversational query requests - // after which the context expires. The default is `0`. If set to `0`, - // the context expires immediately. Contexts expire automatically after - // 20 minutes if there are no matching queries. - LifespanCount int64 `json:"lifespanCount,omitempty"` - - // Name: Required. The unique identifier of the context. Format: - // `projects//agent/sessions//contexts/`, or - // `projects//agent/environments//users//sessions//contexts/`. The - // `Context ID` is always converted to lowercase, may only contain - // characters in a-zA-Z0-9_-% and may be at most 250 bytes long. If - // `Environment ID` is not specified, we assume default 'draft' - // environment. If `User ID` is not specified, we assume default '-' - // user. The following context names are reserved for internal use by - // Dialogflow. You should not use these contexts or create contexts with - // these names: * `__system_counters__` * `*_id_dialog_context` * - // `*_dialog_params_size` - Name string `json:"name,omitempty"` - - // Parameters: Optional. The collection of parameters associated with - // this context. Depending on your protocol or client library language, - // this is a map, associative array, symbol table, dictionary, or JSON - // object composed of a collection of (MapKey, MapValue) pairs: - MapKey - // type: string - MapKey value: parameter name - MapValue type: - If - // parameter's entity type is a composite entity: map - Else: string or - // number, depending on parameter value type - MapValue value: - If - // parameter's entity type is a composite entity: map from composite - // entity property names to property values - Else: parameter value - Parameters googleapi.RawMessage `json:"parameters,omitempty"` +// GoogleCloudDialogflowCxV3beta1Form: A form is a data model that +// groups related parameters that can be collected from the user. The +// process in which the agent prompts the user and collects parameter +// values from the user is called form filling. A form can be added to a +// page. When form filling is done, the filled parameters will be +// written to the session. +type GoogleCloudDialogflowCxV3beta1Form struct { + // Parameters: Parameters to collect from the user. + Parameters []*GoogleCloudDialogflowCxV3beta1FormParameter `json:"parameters,omitempty"` - // ForceSendFields is a list of field names (e.g. "LifespanCount") to + // ForceSendFields is a list of field names (e.g. "Parameters") 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 @@ -5479,59 +6324,59 @@ type GoogleCloudDialogflowV2Context struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "LifespanCount") 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 + // NullFields is a list of field names (e.g. "Parameters") 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 *GoogleCloudDialogflowV2Context) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2Context +func (s *GoogleCloudDialogflowCxV3beta1Form) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1Form raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2ConversationEvent: Represents a notification -// sent to Pub/Sub subscribers for conversation lifecycle events. -type GoogleCloudDialogflowV2ConversationEvent struct { - // Conversation: The unique identifier of the conversation this - // notification refers to. Format: `projects//conversations/`. - Conversation string `json:"conversation,omitempty"` +// GoogleCloudDialogflowCxV3beta1FormParameter: Represents a form +// parameter. +type GoogleCloudDialogflowCxV3beta1FormParameter struct { + // DefaultValue: The default value of an optional parameter. If the + // parameter is required, the default value will be ignored. + DefaultValue interface{} `json:"defaultValue,omitempty"` - // ErrorStatus: More detailed information about an error. Only set for - // type UNRECOVERABLE_ERROR_IN_PHONE_CALL. - ErrorStatus *GoogleRpcStatus `json:"errorStatus,omitempty"` + // DisplayName: Required. The human-readable name of the parameter, + // unique within the form. + DisplayName string `json:"displayName,omitempty"` - // NewMessagePayload: Payload of NEW_MESSAGE event. - NewMessagePayload *GoogleCloudDialogflowV2Message `json:"newMessagePayload,omitempty"` + // EntityType: Required. The entity type of the parameter. Format: + // `projects/-/locations/-/agents/-/entityTypes/` for system entity + // types (for example, + // `projects/-/locations/-/agents/-/entityTypes/sys.date`), or + // `projects//locations//agents//entityTypes/` for developer entity + // types. + EntityType string `json:"entityType,omitempty"` - // Type: The type of the event that this notification refers to. - // - // Possible values: - // "TYPE_UNSPECIFIED" - Type not set. - // "CONVERSATION_STARTED" - A new conversation has been opened. This - // is fired when a telephone call is answered, or a conversation is - // created via the API. - // "CONVERSATION_FINISHED" - An existing conversation has closed. This - // is fired when a telephone call is terminated, or a conversation is - // closed via the API. - // "HUMAN_INTERVENTION_NEEDED" - An existing conversation has received - // notification from Dialogflow that human intervention is required. - // "NEW_MESSAGE" - An existing conversation has received a new - // message, either from API or telephony. It is configured in - // ConversationProfile.new_message_event_notification_config - // "UNRECOVERABLE_ERROR" - Unrecoverable error during a telephone - // call. In general non-recoverable errors only occur if something was - // misconfigured in the ConversationProfile corresponding to the call. - // After a non-recoverable error, Dialogflow may stop responding. We - // don't fire this event: * in an API call because we can directly - // return the error, or, * when we can recover from an error. - Type string `json:"type,omitempty"` + // FillBehavior: Required. Defines fill behavior for the parameter. + FillBehavior *GoogleCloudDialogflowCxV3beta1FormParameterFillBehavior `json:"fillBehavior,omitempty"` - // ForceSendFields is a list of field names (e.g. "Conversation") to + // IsList: Indicates whether the parameter represents a list of values. + IsList bool `json:"isList,omitempty"` + + // Redact: Indicates whether the parameter content is logged in text and + // audio. If it is set to true, the parameter content will be replaced + // to parameter name in both request and response. The default value is + // false. + Redact bool `json:"redact,omitempty"` + + // Required: Indicates whether the parameter is required. Optional + // parameters will not trigger prompts; however, they are filled if the + // user specifies them. Required parameters must be filled before form + // filling concludes. + Required bool `json:"required,omitempty"` + + // ForceSendFields is a list of field names (e.g. "DefaultValue") 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 @@ -5539,7 +6384,7 @@ type GoogleCloudDialogflowV2ConversationEvent struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Conversation") to include + // NullFields is a list of field names (e.g. "DefaultValue") 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 @@ -5548,73 +6393,107 @@ type GoogleCloudDialogflowV2ConversationEvent struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2ConversationEvent) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2ConversationEvent +func (s *GoogleCloudDialogflowCxV3beta1FormParameter) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1FormParameter raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2EntityType: Each intent parameter has a type, -// called the entity type, which dictates exactly how data from an -// end-user expression is extracted. Dialogflow provides predefined -// system entities that can match many common types of data. For -// example, there are system entities for matching dates, times, colors, -// email addresses, and so on. You can also create your own custom -// entities for matching custom data. For example, you could define a -// vegetable entity that can match the types of vegetables available for -// purchase with a grocery store agent. For more information, see the -// [Entity -// guide](https://cloud.google.com/dialogflow/docs/entities-overview). -type GoogleCloudDialogflowV2EntityType struct { - // AutoExpansionMode: Optional. Indicates whether the entity type can be - // automatically expanded. - // - // Possible values: - // "AUTO_EXPANSION_MODE_UNSPECIFIED" - Auto expansion disabled for the - // entity. - // "AUTO_EXPANSION_MODE_DEFAULT" - Allows an agent to recognize values - // that have not been explicitly listed in the entity. - AutoExpansionMode string `json:"autoExpansionMode,omitempty"` +// GoogleCloudDialogflowCxV3beta1FormParameterFillBehavior: +// Configuration for how the filling of a parameter should be handled. +type GoogleCloudDialogflowCxV3beta1FormParameterFillBehavior struct { + // InitialPromptFulfillment: Required. The fulfillment to provide the + // initial prompt that the agent can present to the user in order to + // fill the parameter. + InitialPromptFulfillment *GoogleCloudDialogflowCxV3beta1Fulfillment `json:"initialPromptFulfillment,omitempty"` - // DisplayName: Required. The name of the entity type. - DisplayName string `json:"displayName,omitempty"` + // RepromptEventHandlers: The handlers for parameter-level events, used + // to provide reprompt for the parameter or transition to a different + // page/flow. The supported events are: * `sys.no-match-`, where N can + // be from 1 to 6 * `sys.no-match-default` * `sys.no-input-`, where N + // can be from 1 to 6 * `sys.no-input-default` * `sys.invalid-parameter` + // `initial_prompt_fulfillment` provides the first prompt for the + // parameter. If the user's response does not fill the parameter, a + // no-match/no-input event will be triggered, and the fulfillment + // associated with the `sys.no-match-1`/`sys.no-input-1` handler (if + // defined) will be called to provide a prompt. The + // `sys.no-match-2`/`sys.no-input-2` handler (if defined) will respond + // to the next no-match/no-input event, and so on. A + // `sys.no-match-default` or `sys.no-input-default` handler will be used + // to handle all following no-match/no-input events after all numbered + // no-match/no-input handlers for the parameter are consumed. A + // `sys.invalid-parameter` handler can be defined to handle the case + // where the parameter values have been `invalidated` by webhook. For + // example, if the user's response fill the parameter, however the + // parameter was invalidated by webhook, the fulfillment associated with + // the `sys.invalid-parameter` handler (if defined) will be called to + // provide a prompt. If the event handler for the corresponding event + // can't be found on the parameter, `initial_prompt_fulfillment` will be + // re-prompted. + RepromptEventHandlers []*GoogleCloudDialogflowCxV3beta1EventHandler `json:"repromptEventHandlers,omitempty"` - // EnableFuzzyExtraction: Optional. Enables fuzzy entity extraction - // during classification. - EnableFuzzyExtraction bool `json:"enableFuzzyExtraction,omitempty"` + // ForceSendFields is a list of field names (e.g. + // "InitialPromptFulfillment") 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:"-"` - // Entities: Optional. The collection of entity entries associated with - // the entity type. - Entities []*GoogleCloudDialogflowV2EntityTypeEntity `json:"entities,omitempty"` + // NullFields is a list of field names (e.g. "InitialPromptFulfillment") + // 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:"-"` +} - // Kind: Required. Indicates the kind of entity type. - // - // Possible values: - // "KIND_UNSPECIFIED" - Not specified. This value should be never - // used. - // "KIND_MAP" - Map entity types allow mapping of a group of synonyms - // to a reference value. - // "KIND_LIST" - List entity types contain a set of entries that do - // not map to reference values. However, list entity types can contain - // references to other entity types (with or without aliases). - // "KIND_REGEXP" - Regexp entity types allow to specify regular - // expressions in entries values. - Kind string `json:"kind,omitempty"` +func (s *GoogleCloudDialogflowCxV3beta1FormParameterFillBehavior) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1FormParameterFillBehavior + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} - // Name: The unique identifier of the entity type. Required for - // EntityTypes.UpdateEntityType and EntityTypes.BatchUpdateEntityTypes - // methods. Format: `projects//agent/entityTypes/`. - Name string `json:"name,omitempty"` +// GoogleCloudDialogflowCxV3beta1Fulfillment: A fulfillment can do one +// or more of the following actions at the same time: * Generate rich +// message responses. * Set parameter values. * Call the webhook. +// Fulfillments can be called at various stages in the Page or Form +// lifecycle. For example, when a DetectIntentRequest drives a session +// to enter a new page, the page's entry fulfillment can add a static +// response to the QueryResult in the returning DetectIntentResponse, +// call the webhook (for example, to load user data from a database), or +// both. +type GoogleCloudDialogflowCxV3beta1Fulfillment struct { + // ConditionalCases: Conditional cases for this fulfillment. + ConditionalCases []*GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases `json:"conditionalCases,omitempty"` - // ForceSendFields is a list of field names (e.g. "AutoExpansionMode") - // to unconditionally include in API requests. By default, fields with + // Messages: The list of rich message responses to present to the user. + Messages []*GoogleCloudDialogflowCxV3beta1ResponseMessage `json:"messages,omitempty"` + + // SetParameterActions: Set parameter values before executing the + // webhook. + SetParameterActions []*GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction `json:"setParameterActions,omitempty"` + + // Tag: The tag used by the webhook to identify which fulfillment is + // being called. This field is required if `webhook` is specified. + Tag string `json:"tag,omitempty"` + + // Webhook: The webhook to call. Format: + // `projects//locations//agents//webhooks/`. + Webhook string `json:"webhook,omitempty"` + + // ForceSendFields is a list of field names (e.g. "ConditionalCases") 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. "AutoExpansionMode") to + // NullFields is a list of field names (e.g. "ConditionalCases") 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 @@ -5624,30 +6503,20 @@ type GoogleCloudDialogflowV2EntityType struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2EntityType) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2EntityType +func (s *GoogleCloudDialogflowCxV3beta1Fulfillment) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1Fulfillment raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2EntityTypeEntity: An **entity entry** for an -// associated entity type. -type GoogleCloudDialogflowV2EntityTypeEntity struct { - // Synonyms: Required. A collection of value synonyms. For example, if - // the entity type is *vegetable*, and `value` is *scallions*, a synonym - // could be *green onions*. For `KIND_LIST` entity types: * This - // collection must contain exactly one synonym equal to `value`. - Synonyms []string `json:"synonyms,omitempty"` - - // Value: Required. The primary value associated with this entity entry. - // For example, if the entity type is *vegetable*, the value could be - // *scallions*. For `KIND_MAP` entity types: * A reference value to be - // used in place of synonyms. For `KIND_LIST` entity types: * A string - // that can contain references to other entity types (with or without - // aliases). - Value string `json:"value,omitempty"` +// GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases: A list of +// cascading if-else conditions. Cases are mutually exclusive. The first +// one with a matching condition is selected, all the rest ignored. +type GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases struct { + // Cases: A list of cascading if-else conditions. + Cases []*GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase `json:"cases,omitempty"` - // ForceSendFields is a list of field names (e.g. "Synonyms") to + // ForceSendFields is a list of field names (e.g. "Cases") 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 @@ -5655,8 +6524,8 @@ type GoogleCloudDialogflowV2EntityTypeEntity struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Synonyms") to include in - // API requests with the JSON null value. By default, fields with empty + // NullFields is a list of field names (e.g. "Cases") 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. @@ -5664,40 +6533,27 @@ type GoogleCloudDialogflowV2EntityTypeEntity struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2EntityTypeEntity) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2EntityTypeEntity +func (s *GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2EventInput: Events allow for matching intents -// by event name instead of the natural language input. For instance, -// input `` can trigger a personalized welcome response. The parameter -// `name` may be used by the agent in the response: "Hello -// #welcome_event.name! What can I do for you today?". -type GoogleCloudDialogflowV2EventInput struct { - // LanguageCode: Required. The language of this query. See [Language - // Support](https://cloud.google.com/dialogflow/docs/reference/language) - // for a list of the currently supported language codes. Note that - // queries in the same session do not necessarily need to specify the - // same language. - LanguageCode string `json:"languageCode,omitempty"` - - // Name: Required. The unique identifier of the event. - Name string `json:"name,omitempty"` +// GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase: Each +// case has a Boolean condition. When it is evaluated to be True, the +// corresponding messages will be selected and evaluated recursively. +type GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase struct { + // CaseContent: A list of case content. + CaseContent []*GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContent `json:"caseContent,omitempty"` - // Parameters: The collection of parameters associated with the event. - // Depending on your protocol or client library language, this is a map, - // associative array, symbol table, dictionary, or JSON object composed - // of a collection of (MapKey, MapValue) pairs: - MapKey type: string - - // MapKey value: parameter name - MapValue type: - If parameter's entity - // type is a composite entity: map - Else: string or number, depending - // on parameter value type - MapValue value: - If parameter's entity - // type is a composite entity: map from composite entity property names - // to property values - Else: parameter value - Parameters googleapi.RawMessage `json:"parameters,omitempty"` + // Condition: The condition to activate and select this case. Empty + // means the condition is always true. The condition is evaluated + // against form parameters or session parameters. See the [conditions + // reference](https://cloud.google.com/dialogflow/cx/docs/reference/condi + // tion). + Condition string `json:"condition,omitempty"` - // ForceSendFields is a list of field names (e.g. "LanguageCode") to + // ForceSendFields is a list of field names (e.g. "CaseContent") 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 @@ -5705,7 +6561,7 @@ type GoogleCloudDialogflowV2EventInput struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "LanguageCode") to include + // NullFields is a list of field names (e.g. "CaseContent") 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 @@ -5714,24 +6570,23 @@ type GoogleCloudDialogflowV2EventInput struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2EventInput) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2EventInput +func (s *GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2ExportAgentResponse: The response message for -// Agents.ExportAgent. -type GoogleCloudDialogflowV2ExportAgentResponse struct { - // AgentContent: Zip compressed raw byte content for agent. - AgentContent string `json:"agentContent,omitempty"` +// GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseConte +// nt: The list of messages or conditional cases to activate for this +// case. +type GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContent struct { + // AdditionalCases: Additional cases to be evaluated. + AdditionalCases *GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases `json:"additionalCases,omitempty"` - // AgentUri: The URI to a file containing the exported agent. This field - // is populated only if `agent_uri` is specified in - // `ExportAgentRequest`. - AgentUri string `json:"agentUri,omitempty"` + // Message: Returned message. + Message *GoogleCloudDialogflowCxV3beta1ResponseMessage `json:"message,omitempty"` - // ForceSendFields is a list of field names (e.g. "AgentContent") to + // ForceSendFields is a list of field names (e.g. "AdditionalCases") 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 @@ -5739,145 +6594,68 @@ type GoogleCloudDialogflowV2ExportAgentResponse struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "AgentContent") 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. "AdditionalCases") 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 *GoogleCloudDialogflowV2ExportAgentResponse) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2ExportAgentResponse +func (s *GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContent) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContent raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2Intent: An intent categorizes an end-user's -// intention for one conversation turn. For each agent, you define many -// intents, where your combined intents can handle a complete -// conversation. When an end-user writes or says something, referred to -// as an end-user expression or end-user input, Dialogflow matches the -// end-user input to the best intent in your agent. Matching an intent -// is also known as intent classification. For more information, see the -// [intent -// guide](https://cloud.google.com/dialogflow/docs/intents-overview). -type GoogleCloudDialogflowV2Intent struct { - // Action: Optional. The name of the action associated with the intent. - // Note: The action name must not contain whitespaces. - Action string `json:"action,omitempty"` +// GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction: Setting +// a parameter value. +type GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction struct { + // Parameter: Display name of the parameter. + Parameter string `json:"parameter,omitempty"` - // DefaultResponsePlatforms: Optional. The list of platforms for which - // the first responses will be copied from the messages in - // PLATFORM_UNSPECIFIED (i.e. default platform). - // - // Possible values: - // "PLATFORM_UNSPECIFIED" - Default platform. - // "FACEBOOK" - Facebook. - // "SLACK" - Slack. - // "TELEGRAM" - Telegram. - // "KIK" - Kik. - // "SKYPE" - Skype. - // "LINE" - Line. - // "VIBER" - Viber. - // "ACTIONS_ON_GOOGLE" - Google Assistant See [Dialogflow webhook - // format](https://developers.google.com/assistant/actions/build/json/dia - // logflow-webhook-json) - // "GOOGLE_HANGOUTS" - Google Hangouts. - DefaultResponsePlatforms []string `json:"defaultResponsePlatforms,omitempty"` + // Value: The new value of the parameter. A null value clears the + // parameter. + Value interface{} `json:"value,omitempty"` - // DisplayName: Required. The name of this intent. - DisplayName string `json:"displayName,omitempty"` + // ForceSendFields is a list of field names (e.g. "Parameter") 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:"-"` - // Events: Optional. The collection of event names that trigger the - // intent. If the collection of input contexts is not empty, all of the - // contexts must be present in the active user session for an event to - // trigger this intent. Event names are limited to 150 characters. - Events []string `json:"events,omitempty"` + // NullFields is a list of field names (e.g. "Parameter") 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:"-"` +} - // FollowupIntentInfo: Read-only. Information about all followup intents - // that have this intent as a direct or indirect parent. We populate - // this field only in the output. - FollowupIntentInfo []*GoogleCloudDialogflowV2IntentFollowupIntentInfo `json:"followupIntentInfo,omitempty"` - - // InputContextNames: Optional. The list of context names required for - // this intent to be triggered. Format: - // `projects//agent/sessions/-/contexts/`. - InputContextNames []string `json:"inputContextNames,omitempty"` - - // IsFallback: Optional. Indicates whether this is a fallback intent. - IsFallback bool `json:"isFallback,omitempty"` - - // Messages: Optional. The collection of rich messages corresponding to - // the `Response` field in the Dialogflow console. - Messages []*GoogleCloudDialogflowV2IntentMessage `json:"messages,omitempty"` - - // MlDisabled: Optional. Indicates whether Machine Learning is disabled - // for the intent. Note: If `ml_disabled` setting is set to true, then - // this intent is not taken into account during inference in `ML ONLY` - // match mode. Also, auto-markup in the UI is turned off. - MlDisabled bool `json:"mlDisabled,omitempty"` - - // Name: Optional. The unique identifier of this intent. Required for - // Intents.UpdateIntent and Intents.BatchUpdateIntents methods. Format: - // `projects//agent/intents/`. - Name string `json:"name,omitempty"` - - // OutputContexts: Optional. The collection of contexts that are - // activated when the intent is matched. Context messages in this - // collection should not set the parameters field. Setting the - // `lifespan_count` to 0 will reset the context when the intent is - // matched. Format: `projects//agent/sessions/-/contexts/`. - OutputContexts []*GoogleCloudDialogflowV2Context `json:"outputContexts,omitempty"` - - // Parameters: Optional. The collection of parameters associated with - // the intent. - Parameters []*GoogleCloudDialogflowV2IntentParameter `json:"parameters,omitempty"` - - // ParentFollowupIntentName: Read-only after creation. The unique - // identifier of the parent intent in the chain of followup intents. You - // can set this field when creating an intent, for example with - // CreateIntent or BatchUpdateIntents, in order to make this intent a - // followup intent. It identifies the parent followup intent. Format: - // `projects//agent/intents/`. - ParentFollowupIntentName string `json:"parentFollowupIntentName,omitempty"` - - // Priority: Optional. The priority of this intent. Higher numbers - // represent higher priorities. - If the supplied value is unspecified - // or 0, the service translates the value to 500,000, which corresponds - // to the `Normal` priority in the console. - If the supplied value is - // negative, the intent is ignored in runtime detect intent requests. - Priority int64 `json:"priority,omitempty"` - - // ResetContexts: Optional. Indicates whether to delete all contexts in - // the current session when this intent is matched. - ResetContexts bool `json:"resetContexts,omitempty"` - - // RootFollowupIntentName: Read-only. The unique identifier of the root - // intent in the chain of followup intents. It identifies the correct - // followup intents chain for this intent. We populate this field only - // in the output. Format: `projects//agent/intents/`. - RootFollowupIntentName string `json:"rootFollowupIntentName,omitempty"` - - // TrainingPhrases: Optional. The collection of examples that the agent - // is trained on. - TrainingPhrases []*GoogleCloudDialogflowV2IntentTrainingPhrase `json:"trainingPhrases,omitempty"` +func (s *GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} - // WebhookState: Optional. Indicates whether webhooks are enabled for - // the intent. +// GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata: +// Metadata in google::longrunning::Operation for Knowledge operations. +type GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata struct { + // State: Required. Output only. The current state of this operation. // // Possible values: - // "WEBHOOK_STATE_UNSPECIFIED" - Webhook is disabled in the agent and - // in the intent. - // "WEBHOOK_STATE_ENABLED" - Webhook is enabled in the agent and in - // the intent. - // "WEBHOOK_STATE_ENABLED_FOR_SLOT_FILLING" - Webhook is enabled in - // the agent and in the intent. Also, each slot filling prompt is - // forwarded to the webhook. - WebhookState string `json:"webhookState,omitempty"` + // "STATE_UNSPECIFIED" - State unspecified. + // "PENDING" - The operation has been created. + // "RUNNING" - The operation is currently running. + // "DONE" - The operation is done, either cancelled or completed. + State string `json:"state,omitempty"` - // ForceSendFields is a list of field names (e.g. "Action") to + // ForceSendFields is a list of field names (e.g. "State") 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 @@ -5885,7 +6663,7 @@ type GoogleCloudDialogflowV2Intent struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Action") to include in API + // NullFields is a list of field names (e.g. "State") 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 @@ -5894,32 +6672,27 @@ type GoogleCloudDialogflowV2Intent struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2Intent) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2Intent +func (s *GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2IntentFollowupIntentInfo: Represents a single -// followup intent in the chain. -type GoogleCloudDialogflowV2IntentFollowupIntentInfo struct { - // FollowupIntentName: The unique identifier of the followup intent. - // Format: `projects//agent/intents/`. - FollowupIntentName string `json:"followupIntentName,omitempty"` - - // ParentFollowupIntentName: The unique identifier of the followup - // intent's parent. Format: `projects//agent/intents/`. - ParentFollowupIntentName string `json:"parentFollowupIntentName,omitempty"` +// GoogleCloudDialogflowCxV3beta1ImportDocumentsOperationMetadata: +// Metadata for ImportDocuments operation. +type GoogleCloudDialogflowCxV3beta1ImportDocumentsOperationMetadata struct { + // GenericMetadata: The generic information of the operation. + GenericMetadata *GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata `json:"genericMetadata,omitempty"` - // ForceSendFields is a list of field names (e.g. "FollowupIntentName") - // to unconditionally include in API requests. By default, fields with + // ForceSendFields is a list of field names (e.g. "GenericMetadata") 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. "FollowupIntentName") to + // NullFields is a list of field names (e.g. "GenericMetadata") 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 @@ -5929,80 +6702,20 @@ type GoogleCloudDialogflowV2IntentFollowupIntentInfo struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2IntentFollowupIntentInfo) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2IntentFollowupIntentInfo +func (s *GoogleCloudDialogflowCxV3beta1ImportDocumentsOperationMetadata) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1ImportDocumentsOperationMetadata raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2IntentMessage: A rich response message. -// Corresponds to the intent `Response` field in the Dialogflow console. -// For more information, see [Rich response -// messages](https://cloud.google.com/dialogflow/docs/intents-rich-messag -// es). -type GoogleCloudDialogflowV2IntentMessage struct { - // BasicCard: The basic card response for Actions on Google. - BasicCard *GoogleCloudDialogflowV2IntentMessageBasicCard `json:"basicCard,omitempty"` - - // BrowseCarouselCard: Browse carousel card for Actions on Google. - BrowseCarouselCard *GoogleCloudDialogflowV2IntentMessageBrowseCarouselCard `json:"browseCarouselCard,omitempty"` - - // Card: The card response. - Card *GoogleCloudDialogflowV2IntentMessageCard `json:"card,omitempty"` - - // CarouselSelect: The carousel card response for Actions on Google. - CarouselSelect *GoogleCloudDialogflowV2IntentMessageCarouselSelect `json:"carouselSelect,omitempty"` - - // Image: The image response. - Image *GoogleCloudDialogflowV2IntentMessageImage `json:"image,omitempty"` - - // LinkOutSuggestion: The link out suggestion chip for Actions on - // Google. - LinkOutSuggestion *GoogleCloudDialogflowV2IntentMessageLinkOutSuggestion `json:"linkOutSuggestion,omitempty"` - - // ListSelect: The list card response for Actions on Google. - ListSelect *GoogleCloudDialogflowV2IntentMessageListSelect `json:"listSelect,omitempty"` - - // MediaContent: The media content card for Actions on Google. - MediaContent *GoogleCloudDialogflowV2IntentMessageMediaContent `json:"mediaContent,omitempty"` - - // Payload: A custom platform-specific response. - Payload googleapi.RawMessage `json:"payload,omitempty"` - - // Platform: Optional. The platform that this message is intended for. - // - // Possible values: - // "PLATFORM_UNSPECIFIED" - Default platform. - // "FACEBOOK" - Facebook. - // "SLACK" - Slack. - // "TELEGRAM" - Telegram. - // "KIK" - Kik. - // "SKYPE" - Skype. - // "LINE" - Line. - // "VIBER" - Viber. - // "ACTIONS_ON_GOOGLE" - Google Assistant See [Dialogflow webhook - // format](https://developers.google.com/assistant/actions/build/json/dia - // logflow-webhook-json) - // "GOOGLE_HANGOUTS" - Google Hangouts. - Platform string `json:"platform,omitempty"` - - // QuickReplies: The quick replies response. - QuickReplies *GoogleCloudDialogflowV2IntentMessageQuickReplies `json:"quickReplies,omitempty"` +// GoogleCloudDialogflowCxV3beta1ImportDocumentsResponse: Response +// message for Documents.ImportDocuments. +type GoogleCloudDialogflowCxV3beta1ImportDocumentsResponse struct { + // Warnings: Includes details about skipped documents or any other + // warnings. + Warnings []*GoogleRpcStatus `json:"warnings,omitempty"` - // SimpleResponses: The voice and text-only responses for Actions on - // Google. - SimpleResponses *GoogleCloudDialogflowV2IntentMessageSimpleResponses `json:"simpleResponses,omitempty"` - - // Suggestions: The suggestion chips for Actions on Google. - Suggestions *GoogleCloudDialogflowV2IntentMessageSuggestions `json:"suggestions,omitempty"` - - // TableCard: Table card for Actions on Google. - TableCard *GoogleCloudDialogflowV2IntentMessageTableCard `json:"tableCard,omitempty"` - - // Text: The text response. - Text *GoogleCloudDialogflowV2IntentMessageText `json:"text,omitempty"` - - // ForceSendFields is a list of field names (e.g. "BasicCard") to + // ForceSendFields is a list of field names (e.g. "Warnings") 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 @@ -6010,7 +6723,7 @@ type GoogleCloudDialogflowV2IntentMessage struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "BasicCard") to include in + // NullFields is a list of field names (e.g. "Warnings") 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 @@ -6019,32 +6732,19 @@ type GoogleCloudDialogflowV2IntentMessage struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2IntentMessage) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2IntentMessage +func (s *GoogleCloudDialogflowCxV3beta1ImportDocumentsResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1ImportDocumentsResponse raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2IntentMessageBasicCard: The basic card -// message. Useful for displaying information. -type GoogleCloudDialogflowV2IntentMessageBasicCard struct { - // Buttons: Optional. The collection of card buttons. - Buttons []*GoogleCloudDialogflowV2IntentMessageBasicCardButton `json:"buttons,omitempty"` - - // FormattedText: Required, unless image is present. The body text of - // the card. - FormattedText string `json:"formattedText,omitempty"` - - // Image: Optional. The image for the card. - Image *GoogleCloudDialogflowV2IntentMessageImage `json:"image,omitempty"` - - // Subtitle: Optional. The subtitle of the card. - Subtitle string `json:"subtitle,omitempty"` - - // Title: Optional. The title of the card. - Title string `json:"title,omitempty"` +// GoogleCloudDialogflowCxV3beta1ImportTestCasesMetadata: Metadata +// returned for the TestCases.ImportTestCases long running operation. +type GoogleCloudDialogflowCxV3beta1ImportTestCasesMetadata struct { + // Errors: Errors for failed test cases. + Errors []*GoogleCloudDialogflowCxV3beta1TestCaseError `json:"errors,omitempty"` - // ForceSendFields is a list of field names (e.g. "Buttons") to + // ForceSendFields is a list of field names (e.g. "Errors") 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 @@ -6052,8 +6752,8 @@ type GoogleCloudDialogflowV2IntentMessageBasicCard struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Buttons") to include in - // API requests with the JSON null value. By default, fields with empty + // NullFields is a list of field names (e.g. "Errors") 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. @@ -6061,52 +6761,20 @@ type GoogleCloudDialogflowV2IntentMessageBasicCard struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2IntentMessageBasicCard) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2IntentMessageBasicCard - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// GoogleCloudDialogflowV2IntentMessageBasicCardButton: The button -// object that appears at the bottom of a card. -type GoogleCloudDialogflowV2IntentMessageBasicCardButton struct { - // OpenUriAction: Required. Action to take when a user taps on the - // button. - OpenUriAction *GoogleCloudDialogflowV2IntentMessageBasicCardButtonOpenUriAction `json:"openUriAction,omitempty"` - - // Title: Required. The title of the button. - Title string `json:"title,omitempty"` - - // ForceSendFields is a list of field names (e.g. "OpenUriAction") 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. "OpenUriAction") 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 *GoogleCloudDialogflowV2IntentMessageBasicCardButton) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2IntentMessageBasicCardButton +func (s *GoogleCloudDialogflowCxV3beta1ImportTestCasesMetadata) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1ImportTestCasesMetadata raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2IntentMessageBasicCardButtonOpenUriAction: -// Opens the given URI. -type GoogleCloudDialogflowV2IntentMessageBasicCardButtonOpenUriAction struct { - // Uri: Required. The HTTP or HTTPS scheme URI. - Uri string `json:"uri,omitempty"` +// GoogleCloudDialogflowCxV3beta1ImportTestCasesResponse: The response +// message for TestCases.ImportTestCases. +type GoogleCloudDialogflowCxV3beta1ImportTestCasesResponse struct { + // Names: The unique identifiers of the new test cases. Format: + // `projects//locations//agents//testCases/`. + Names []string `json:"names,omitempty"` - // ForceSendFields is a list of field names (e.g. "Uri") to + // 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 @@ -6114,7 +6782,7 @@ type GoogleCloudDialogflowV2IntentMessageBasicCardButtonOpenUriAction struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Uri") to include in API + // 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 @@ -6123,84 +6791,195 @@ type GoogleCloudDialogflowV2IntentMessageBasicCardButtonOpenUriAction struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2IntentMessageBasicCardButtonOpenUriAction) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2IntentMessageBasicCardButtonOpenUriAction +func (s *GoogleCloudDialogflowCxV3beta1ImportTestCasesResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1ImportTestCasesResponse raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2IntentMessageBrowseCarouselCard: Browse -// Carousel Card for Actions on Google. -// https://developers.google.com/actions/assistant/responses#browsing_carousel -type GoogleCloudDialogflowV2IntentMessageBrowseCarouselCard struct { - // ImageDisplayOptions: Optional. Settings for displaying the image. - // Applies to every image in items. +// GoogleCloudDialogflowCxV3beta1InputAudioConfig: Instructs the speech +// recognizer on how to process the audio content. +type GoogleCloudDialogflowCxV3beta1InputAudioConfig struct { + // AudioEncoding: Required. Audio encoding of the audio content to + // process. // // Possible values: - // "IMAGE_DISPLAY_OPTIONS_UNSPECIFIED" - Fill the gaps between the - // image and the image container with gray bars. - // "GRAY" - Fill the gaps between the image and the image container - // with gray bars. - // "WHITE" - Fill the gaps between the image and the image container - // with white bars. - // "CROPPED" - Image is scaled such that the image width and height - // match or exceed the container dimensions. This may crop the top and - // bottom of the image if the scaled image height is greater than the - // container height, or crop the left and right of the image if the - // scaled image width is greater than the container width. This is - // similar to "Zoom Mode" on a widescreen TV when playing a 4:3 video. - // "BLURRED_BACKGROUND" - Pad the gaps between image and image frame - // with a blurred copy of the same image. - ImageDisplayOptions string `json:"imageDisplayOptions,omitempty"` + // "AUDIO_ENCODING_UNSPECIFIED" - Not specified. + // "AUDIO_ENCODING_LINEAR_16" - Uncompressed 16-bit signed + // little-endian samples (Linear PCM). + // "AUDIO_ENCODING_FLAC" - + // [`FLAC`](https://xiph.org/flac/documentation.html) (Free Lossless + // Audio Codec) is the recommended encoding because it is lossless + // (therefore recognition is not compromised) and requires only about + // half the bandwidth of `LINEAR16`. `FLAC` stream encoding supports + // 16-bit and 24-bit samples, however, not all fields in `STREAMINFO` + // are supported. + // "AUDIO_ENCODING_MULAW" - 8-bit samples that compand 14-bit audio + // samples using G.711 PCMU/mu-law. + // "AUDIO_ENCODING_AMR" - Adaptive Multi-Rate Narrowband codec. + // `sample_rate_hertz` must be 8000. + // "AUDIO_ENCODING_AMR_WB" - Adaptive Multi-Rate Wideband codec. + // `sample_rate_hertz` must be 16000. + // "AUDIO_ENCODING_OGG_OPUS" - Opus encoded audio frames in Ogg + // container ([OggOpus](https://wiki.xiph.org/OggOpus)). + // `sample_rate_hertz` must be 16000. + // "AUDIO_ENCODING_SPEEX_WITH_HEADER_BYTE" - Although the use of lossy + // encodings is not recommended, if a very low bitrate encoding is + // required, `OGG_OPUS` is highly preferred over Speex encoding. The + // [Speex](https://speex.org/) encoding supported by Dialogflow API has + // a header byte in each block, as in MIME type + // `audio/x-speex-with-header-byte`. It is a variant of the RTP Speex + // encoding defined in [RFC 5574](https://tools.ietf.org/html/rfc5574). + // The stream is a sequence of blocks, one block per RTP packet. Each + // block starts with a byte containing the length of the block, in + // bytes, followed by one or more frames of Speex data, padded to an + // integral number of bytes (octets) as specified in RFC 5574. In other + // words, each RTP header is replaced with a single byte containing the + // block length. Only Speex wideband is supported. `sample_rate_hertz` + // must be 16000. + AudioEncoding string `json:"audioEncoding,omitempty"` - // Items: Required. List of items in the Browse Carousel Card. Minimum - // of two items, maximum of ten. - Items []*GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItem `json:"items,omitempty"` + // EnableWordInfo: Optional. If `true`, Dialogflow returns + // SpeechWordInfo in StreamingRecognitionResult with information about + // the recognized speech words, e.g. start and end time offsets. If + // false or unspecified, Speech doesn't return any word-level + // information. + EnableWordInfo bool `json:"enableWordInfo,omitempty"` - // ForceSendFields is a list of field names (e.g. "ImageDisplayOptions") - // to unconditionally include in API requests. By default, fields with + // Model: Optional. Which Speech model to select for the given request. + // Select the model best suited to your domain to get best results. If a + // model is not explicitly specified, then we auto-select a model based + // on the parameters in the InputAudioConfig. If enhanced speech model + // is enabled for the agent and an enhanced version of the specified + // model for the language does not exist, then the speech is recognized + // using the standard version of the specified model. Refer to [Cloud + // Speech API + // documentation](https://cloud.google.com/speech-to-text/docs/basics#sel + // ect-model) for more details. + Model string `json:"model,omitempty"` + + // ModelVariant: Optional. Which variant of the Speech model to use. + // + // Possible values: + // "SPEECH_MODEL_VARIANT_UNSPECIFIED" - No model variant specified. In + // this case Dialogflow defaults to USE_BEST_AVAILABLE. + // "USE_BEST_AVAILABLE" - Use the best available variant of the Speech + // model that the caller is eligible for. Please see the [Dialogflow + // docs](https://cloud.google.com/dialogflow/docs/data-logging) for how + // to make your project eligible for enhanced models. + // "USE_STANDARD" - Use standard model variant even if an enhanced + // model is available. See the [Cloud Speech + // documentation](https://cloud.google.com/speech-to-text/docs/enhanced-m + // odels) for details about enhanced models. + // "USE_ENHANCED" - Use an enhanced model variant: * If an enhanced + // variant does not exist for the given model and request language, + // Dialogflow falls back to the standard variant. The [Cloud Speech + // documentation](https://cloud.google.com/speech-to-text/docs/enhanced-m + // odels) describes which models have enhanced variants. * If the API + // caller isn't eligible for enhanced models, Dialogflow returns an + // error. Please see the [Dialogflow + // docs](https://cloud.google.com/dialogflow/docs/data-logging) for how + // to make your project eligible. + ModelVariant string `json:"modelVariant,omitempty"` + + // PhraseHints: Optional. A list of strings containing words and phrases + // that the speech recognizer should recognize with higher likelihood. + // See [the Cloud Speech + // documentation](https://cloud.google.com/speech-to-text/docs/basics#phr + // ase-hints) for more details. + PhraseHints []string `json:"phraseHints,omitempty"` + + // SampleRateHertz: Sample rate (in Hertz) of the audio content sent in + // the query. Refer to [Cloud Speech API + // documentation](https://cloud.google.com/speech-to-text/docs/basics) + // for more details. + SampleRateHertz int64 `json:"sampleRateHertz,omitempty"` + + // SingleUtterance: Optional. If `false` (default), recognition does not + // cease until the client closes the stream. If `true`, the recognizer + // will detect a single spoken utterance in input audio. Recognition + // ceases when it detects the audio's voice has stopped or paused. In + // this case, once a detected intent is received, the client should + // close the stream and start a new request with a new stream as needed. + // Note: This setting is relevant only for streaming methods. + SingleUtterance bool `json:"singleUtterance,omitempty"` + + // ForceSendFields is a list of field names (e.g. "AudioEncoding") 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. "ImageDisplayOptions") 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. "AudioEncoding") 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 *GoogleCloudDialogflowV2IntentMessageBrowseCarouselCard) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2IntentMessageBrowseCarouselCard +func (s *GoogleCloudDialogflowCxV3beta1InputAudioConfig) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1InputAudioConfig raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCa -// rdItem: Browsing carousel tile -type GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItem struct { - // Description: Optional. Description of the carousel item. Maximum of - // four lines of text. +// GoogleCloudDialogflowCxV3beta1Intent: An intent represents a user's +// intent to interact with a conversational agent. You can provide +// information for the Dialogflow API to use to match user input to an +// intent by adding training phrases (i.e., examples of user input) to +// your intent. +type GoogleCloudDialogflowCxV3beta1Intent struct { + // Description: Optional. Human readable description for better + // understanding an intent like its scope, content, result etc. Maximum + // character limit: 140 characters. Description string `json:"description,omitempty"` - // Footer: Optional. Text that appears at the bottom of the Browse - // Carousel Card. Maximum of one line of text. - Footer string `json:"footer,omitempty"` + // DisplayName: Required. The human-readable name of the intent, unique + // within the agent. + DisplayName string `json:"displayName,omitempty"` - // Image: Optional. Hero image for the carousel item. - Image *GoogleCloudDialogflowV2IntentMessageImage `json:"image,omitempty"` + // IsFallback: Indicates whether this is a fallback intent. Currently + // only default fallback intent is allowed in the agent, which is added + // upon agent creation. Adding training phrases to fallback intent is + // useful in the case of requests that are mistakenly matched, since + // training phrases assigned to fallback intents act as negative + // examples that triggers no-match event. + IsFallback bool `json:"isFallback,omitempty"` - // OpenUriAction: Required. Action to present to the user. - OpenUriAction *GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction `json:"openUriAction,omitempty"` + // Labels: Optional. The key/value metadata to label an intent. Labels + // can contain lowercase letters, digits and the symbols '-' and '_'. + // International characters are allowed, including letters from unicase + // alphabets. Keys must start with a letter. Keys and values can be no + // longer than 63 characters and no more than 128 bytes. Prefix "sys-" + // is reserved for Dialogflow defined labels. Currently allowed + // Dialogflow defined labels include: * sys-head * sys-contextual The + // above labels do not require value. "sys-head" means the intent is a + // head intent. "sys-contextual" means the intent is a contextual + // intent. + Labels map[string]string `json:"labels,omitempty"` - // Title: Required. Title of the carousel item. Maximum of two lines of - // text. - Title string `json:"title,omitempty"` + // Name: The unique identifier of the intent. Required for the + // Intents.UpdateIntent method. Intents.CreateIntent populates the name + // automatically. Format: `projects//locations//agents//intents/`. + Name string `json:"name,omitempty"` + + // Parameters: The collection of parameters associated with the intent. + Parameters []*GoogleCloudDialogflowCxV3beta1IntentParameter `json:"parameters,omitempty"` + + // Priority: The priority of this intent. Higher numbers represent + // higher priorities. - If the supplied value is unspecified or 0, the + // service translates the value to 500,000, which corresponds to the + // `Normal` priority in the console. - If the supplied value is + // negative, the intent is ignored in runtime detect intent requests. + Priority int64 `json:"priority,omitempty"` + + // TrainingPhrases: The collection of training phrases the agent is + // trained on to identify the intent. + TrainingPhrases []*GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase `json:"trainingPhrases,omitempty"` // ForceSendFields is a list of field names (e.g. "Description") to // unconditionally include in API requests. By default, fields with @@ -6219,29 +6998,21 @@ type GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardIte NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItem) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItem +func (s *GoogleCloudDialogflowCxV3beta1Intent) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1Intent raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCa -// rdItemOpenUrlAction: Actions on Google action to open a given url. -type GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction struct { - // Url: Required. URL - Url string `json:"url,omitempty"` - - // UrlTypeHint: Optional. Specifies the type of viewer that is used when - // opening the URL. Defaults to opening via web browser. - // - // Possible values: - // "URL_TYPE_HINT_UNSPECIFIED" - Unspecified - // "AMP_ACTION" - Url would be an amp action - // "AMP_CONTENT" - URL that points directly to AMP content, or to a - // canonical URL which refers to AMP content via . - UrlTypeHint string `json:"urlTypeHint,omitempty"` +// GoogleCloudDialogflowCxV3beta1IntentInput: Represents the intent to +// trigger programmatically rather than as a result of natural language +// processing. +type GoogleCloudDialogflowCxV3beta1IntentInput struct { + // Intent: Required. The unique identifier of the intent. Format: + // `projects//locations//agents//intents/`. + Intent string `json:"intent,omitempty"` - // ForceSendFields is a list of field names (e.g. "Url") to + // ForceSendFields is a list of field names (e.g. "Intent") 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 @@ -6249,7 +7020,7 @@ type GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardIte // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Url") to include in API + // NullFields is a list of field names (e.g. "Intent") 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 @@ -6258,27 +7029,37 @@ type GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardIte NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction +func (s *GoogleCloudDialogflowCxV3beta1IntentInput) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1IntentInput raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2IntentMessageCard: The card response message. -type GoogleCloudDialogflowV2IntentMessageCard struct { - // Buttons: Optional. The collection of card buttons. - Buttons []*GoogleCloudDialogflowV2IntentMessageCardButton `json:"buttons,omitempty"` +// GoogleCloudDialogflowCxV3beta1IntentParameter: Represents an intent +// parameter. +type GoogleCloudDialogflowCxV3beta1IntentParameter struct { + // EntityType: Required. The entity type of the parameter. Format: + // `projects/-/locations/-/agents/-/entityTypes/` for system entity + // types (for example, + // `projects/-/locations/-/agents/-/entityTypes/sys.date`), or + // `projects//locations//agents//entityTypes/` for developer entity + // types. + EntityType string `json:"entityType,omitempty"` - // ImageUri: Optional. The public URI to an image file for the card. - ImageUri string `json:"imageUri,omitempty"` + // Id: Required. The unique identifier of the parameter. This field is + // used by training phrases to annotate their parts. + Id string `json:"id,omitempty"` - // Subtitle: Optional. The subtitle of the card. - Subtitle string `json:"subtitle,omitempty"` + // IsList: Indicates whether the parameter represents a list of values. + IsList bool `json:"isList,omitempty"` - // Title: Optional. The title of the card. - Title string `json:"title,omitempty"` + // Redact: Indicates whether the parameter content is logged in text and + // audio. If it is set to true, the parameter content will be replaced + // to parameter id in both request and response. The default value is + // false. + Redact bool `json:"redact,omitempty"` - // ForceSendFields is a list of field names (e.g. "Buttons") to + // ForceSendFields is a list of field names (e.g. "EntityType") 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 @@ -6286,7 +7067,7 @@ type GoogleCloudDialogflowV2IntentMessageCard struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Buttons") to include in + // NullFields is a list of field names (e.g. "EntityType") 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 @@ -6295,23 +7076,38 @@ type GoogleCloudDialogflowV2IntentMessageCard struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2IntentMessageCard) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2IntentMessageCard +func (s *GoogleCloudDialogflowCxV3beta1IntentParameter) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1IntentParameter raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2IntentMessageCardButton: Contains information -// about a button. -type GoogleCloudDialogflowV2IntentMessageCardButton struct { - // Postback: Optional. The text to send back to the Dialogflow API or a - // URI to open. - Postback string `json:"postback,omitempty"` - - // Text: Optional. The text to show on the button. - Text string `json:"text,omitempty"` +// GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase: Represents an +// example that the agent is trained on to identify the intent. +type GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase struct { + // Id: Output only. The unique identifier of the training phrase. + Id string `json:"id,omitempty"` - // ForceSendFields is a list of field names (e.g. "Postback") to + // Parts: Required. The ordered list of training phrase parts. The parts + // are concatenated in order to form the training phrase. Note: The API + // does not automatically annotate training phrases like the Dialogflow + // Console does. Note: Do not forget to include whitespace at part + // boundaries, so the training phrase is well formatted when the parts + // are concatenated. If the training phrase does not need to be + // annotated with parameters, you just need a single part with only the + // Part.text field set. If you want to annotate the training phrase, you + // must create multiple parts, where the fields of each part are + // populated in one of two ways: - `Part.text` is set to a part of the + // phrase that has no parameters. - `Part.text` is set to a part of the + // phrase that you want to annotate, and the `parameter_id` field is + // set. + Parts []*GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePart `json:"parts,omitempty"` + + // RepeatCount: Indicates how many times this example was added to the + // intent. + RepeatCount int64 `json:"repeatCount,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Id") 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 @@ -6319,8 +7115,8 @@ type GoogleCloudDialogflowV2IntentMessageCardButton struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Postback") to include in - // API requests with the JSON null value. By default, fields with empty + // NullFields is a list of field names (e.g. "Id") 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. @@ -6328,19 +7124,24 @@ type GoogleCloudDialogflowV2IntentMessageCardButton struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2IntentMessageCardButton) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2IntentMessageCardButton +func (s *GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2IntentMessageCarouselSelect: The card for -// presenting a carousel of options to select from. -type GoogleCloudDialogflowV2IntentMessageCarouselSelect struct { - // Items: Required. Carousel items. - Items []*GoogleCloudDialogflowV2IntentMessageCarouselSelectItem `json:"items,omitempty"` +// GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePart: Represents a +// part of a training phrase. +type GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePart struct { + // ParameterId: The parameter used to annotate this part of the training + // phrase. This field is required for annotated parts of the training + // phrase. + ParameterId string `json:"parameterId,omitempty"` - // ForceSendFields is a list of field names (e.g. "Items") to + // Text: Required. The text for this part. + Text string `json:"text,omitempty"` + + // ForceSendFields is a list of field names (e.g. "ParameterId") 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 @@ -6348,37 +7149,80 @@ type GoogleCloudDialogflowV2IntentMessageCarouselSelect struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Items") 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 + // NullFields is a list of field names (e.g. "ParameterId") 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 *GoogleCloudDialogflowV2IntentMessageCarouselSelect) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2IntentMessageCarouselSelect +func (s *GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePart) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePart raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2IntentMessageCarouselSelectItem: An item in -// the carousel. -type GoogleCloudDialogflowV2IntentMessageCarouselSelectItem struct { - // Description: Optional. The body text of the card. - Description string `json:"description,omitempty"` +// GoogleCloudDialogflowCxV3beta1Page: A Dialogflow CX conversation +// (session) can be described and visualized as a state machine. The +// states of a CX session are represented by pages. For each flow, you +// define many pages, where your combined pages can handle a complete +// conversation on the topics the flow is designed for. At any given +// moment, exactly one page is the current page, the current page is +// considered active, and the flow associated with that page is +// considered active. Every flow has a special start page. When a flow +// initially becomes active, the start page page becomes the current +// page. For each conversational turn, the current page will either stay +// the same or transition to another page. You configure each page to +// collect information from the end-user that is relevant for the +// conversational state represented by the page. For more information, +// see the [Page +// guide](https://cloud.google.com/dialogflow/cx/docs/concept/page). +type GoogleCloudDialogflowCxV3beta1Page struct { + // DisplayName: Required. The human-readable name of the page, unique + // within the agent. + DisplayName string `json:"displayName,omitempty"` - // Image: Optional. The image to display. - Image *GoogleCloudDialogflowV2IntentMessageImage `json:"image,omitempty"` + // EntryFulfillment: The fulfillment to call when the session is + // entering the page. + EntryFulfillment *GoogleCloudDialogflowCxV3beta1Fulfillment `json:"entryFulfillment,omitempty"` - // Info: Required. Additional info about the option item. - Info *GoogleCloudDialogflowV2IntentMessageSelectItemInfo `json:"info,omitempty"` + // EventHandlers: Handlers associated with the page to handle events + // such as webhook errors, no match or no input. + EventHandlers []*GoogleCloudDialogflowCxV3beta1EventHandler `json:"eventHandlers,omitempty"` - // Title: Required. Title of the carousel item. - Title string `json:"title,omitempty"` + // Form: The form associated with the page, used for collecting + // parameters relevant to the page. + Form *GoogleCloudDialogflowCxV3beta1Form `json:"form,omitempty"` - // ForceSendFields is a list of field names (e.g. "Description") to + // Name: The unique identifier of the page. Required for the + // Pages.UpdatePage method. Pages.CreatePage populates the name + // automatically. Format: `projects//locations//agents//flows//pages/`. + Name string `json:"name,omitempty"` + + // TransitionRouteGroups: Ordered list of `TransitionRouteGroups` + // associated with the page. Transition route groups must be unique + // within a page. * If multiple transition routes within a page scope + // refer to the same intent, then the precedence order is: page's + // transition route -> page's transition route group -> flow's + // transition routes. * If multiple transition route groups within a + // page contain the same intent, then the first group in the ordered + // list takes precedence. + // Format:`projects//locations//agents//flows//transitionRouteGroups/`. + TransitionRouteGroups []string `json:"transitionRouteGroups,omitempty"` + + // TransitionRoutes: A list of transitions for the transition rules of + // this page. They route the conversation to another page in the same + // flow, or another flow. When we are in a certain page, the + // TransitionRoutes are evalauted in the following order: * + // TransitionRoutes defined in the page with intent specified. * + // TransitionRoutes defined in the transition route groups. * + // TransitionRoutes defined in flow with intent specified. * + // TransitionRoutes defined in the page with only condition specified. + TransitionRoutes []*GoogleCloudDialogflowCxV3beta1TransitionRoute `json:"transitionRoutes,omitempty"` + + // ForceSendFields is a list of field names (e.g. "DisplayName") 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 @@ -6386,7 +7230,7 @@ type GoogleCloudDialogflowV2IntentMessageCarouselSelectItem struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Description") to include + // NullFields is a list of field names (e.g. "DisplayName") 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 @@ -6395,30 +7239,25 @@ type GoogleCloudDialogflowV2IntentMessageCarouselSelectItem struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2IntentMessageCarouselSelectItem) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2IntentMessageCarouselSelectItem +func (s *GoogleCloudDialogflowCxV3beta1Page) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1Page raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2IntentMessageColumnProperties: Column -// properties for TableCard. -type GoogleCloudDialogflowV2IntentMessageColumnProperties struct { - // Header: Required. Column heading. - Header string `json:"header,omitempty"` +// GoogleCloudDialogflowCxV3beta1PageInfo: Represents page information +// communicated to and from the webhook. +type GoogleCloudDialogflowCxV3beta1PageInfo struct { + // CurrentPage: Always present for WebhookRequest. Ignored for + // WebhookResponse. The unique identifier of the current page. Format: + // `projects//locations//agents//flows//pages/`. + CurrentPage string `json:"currentPage,omitempty"` - // HorizontalAlignment: Optional. Defines text alignment for all cells - // in this column. - // - // Possible values: - // "HORIZONTAL_ALIGNMENT_UNSPECIFIED" - Text is aligned to the leading - // edge of the column. - // "LEADING" - Text is aligned to the leading edge of the column. - // "CENTER" - Text is centered in the column. - // "TRAILING" - Text is aligned to the trailing edge of the column. - HorizontalAlignment string `json:"horizontalAlignment,omitempty"` + // FormInfo: Optional for both WebhookRequest and WebhookResponse. + // Information about the form. + FormInfo *GoogleCloudDialogflowCxV3beta1PageInfoFormInfo `json:"formInfo,omitempty"` - // ForceSendFields is a list of field names (e.g. "Header") to + // ForceSendFields is a list of field names (e.g. "CurrentPage") 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 @@ -6426,68 +7265,93 @@ type GoogleCloudDialogflowV2IntentMessageColumnProperties struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Header") 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 + // NullFields is a list of field names (e.g. "CurrentPage") 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 *GoogleCloudDialogflowV2IntentMessageColumnProperties) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2IntentMessageColumnProperties +func (s *GoogleCloudDialogflowCxV3beta1PageInfo) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1PageInfo raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2IntentMessageImage: The image response -// message. -type GoogleCloudDialogflowV2IntentMessageImage struct { - // AccessibilityText: Optional. A text description of the image to be - // used for accessibility, e.g., screen readers. - AccessibilityText string `json:"accessibilityText,omitempty"` - - // ImageUri: Optional. The public URI to an image file. - ImageUri string `json:"imageUri,omitempty"` +// GoogleCloudDialogflowCxV3beta1PageInfoFormInfo: Represents form +// information. +type GoogleCloudDialogflowCxV3beta1PageInfoFormInfo struct { + // ParameterInfo: Optional for both WebhookRequest and WebhookResponse. + // The parameters contained in the form. Note that the webhook cannot + // add or remove any form parameter. + ParameterInfo []*GoogleCloudDialogflowCxV3beta1PageInfoFormInfoParameterInfo `json:"parameterInfo,omitempty"` - // ForceSendFields is a list of field names (e.g. "AccessibilityText") - // to unconditionally include in API requests. By default, fields with + // ForceSendFields is a list of field names (e.g. "ParameterInfo") 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. "AccessibilityText") 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. "ParameterInfo") 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 *GoogleCloudDialogflowV2IntentMessageImage) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2IntentMessageImage +func (s *GoogleCloudDialogflowCxV3beta1PageInfoFormInfo) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1PageInfoFormInfo raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2IntentMessageLinkOutSuggestion: The suggestion -// chip message that allows the user to jump out to the app or website -// associated with this agent. -type GoogleCloudDialogflowV2IntentMessageLinkOutSuggestion struct { - // DestinationName: Required. The name of the app or site this chip is - // linking to. - DestinationName string `json:"destinationName,omitempty"` +// GoogleCloudDialogflowCxV3beta1PageInfoFormInfoParameterInfo: +// Represents parameter information. +type GoogleCloudDialogflowCxV3beta1PageInfoFormInfoParameterInfo struct { + // DisplayName: Always present for WebhookRequest. Required for + // WebhookResponse. The human-readable name of the parameter, unique + // within the form. This field cannot be modified by the webhook. + DisplayName string `json:"displayName,omitempty"` - // Uri: Required. The URI of the app or site to open when the user taps - // the suggestion chip. - Uri string `json:"uri,omitempty"` + // JustCollected: Optional for WebhookRequest. Ignored for + // WebhookResponse. Indicates if the parameter value was just collected + // on the last conversation turn. + JustCollected bool `json:"justCollected,omitempty"` - // ForceSendFields is a list of field names (e.g. "DestinationName") to + // Required: Optional for both WebhookRequest and WebhookResponse. + // Indicates whether the parameter is required. Optional parameters will + // not trigger prompts; however, they are filled if the user specifies + // them. Required parameters must be filled before form filling + // concludes. + Required bool `json:"required,omitempty"` + + // State: Always present for WebhookRequest. Required for + // WebhookResponse. The state of the parameter. This field can be set to + // INVALID by the webhook to invalidate the parameter; other values set + // by the webhook will be ignored. + // + // Possible values: + // "PARAMETER_STATE_UNSPECIFIED" - Not specified. This value should be + // never used. + // "EMPTY" - Indicates that the parameter does not have a value. + // "INVALID" - Indicates that the parameter value is invalid. This + // field can be used by the webhook to invalidate the parameter and ask + // the server to collect it from the user again. + // "FILLED" - Indicates that the parameter has a value. + State string `json:"state,omitempty"` + + // Value: Optional for both WebhookRequest and WebhookResponse. The + // value of the parameter. This field can be set by the webhook to + // change the parameter value. + Value interface{} `json:"value,omitempty"` + + // ForceSendFields is a list of field names (e.g. "DisplayName") 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 @@ -6495,35 +7359,49 @@ type GoogleCloudDialogflowV2IntentMessageLinkOutSuggestion struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "DestinationName") 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. "DisplayName") 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 *GoogleCloudDialogflowV2IntentMessageLinkOutSuggestion) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2IntentMessageLinkOutSuggestion +func (s *GoogleCloudDialogflowCxV3beta1PageInfoFormInfoParameterInfo) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1PageInfoFormInfoParameterInfo raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2IntentMessageListSelect: The card for -// presenting a list of options to select from. -type GoogleCloudDialogflowV2IntentMessageListSelect struct { - // Items: Required. List items. - Items []*GoogleCloudDialogflowV2IntentMessageListSelectItem `json:"items,omitempty"` +// GoogleCloudDialogflowCxV3beta1QueryInput: Represents the query input. +// It can contain one of: 1. A conversational query in the form of text. +// 2. An intent query that specifies which intent to trigger. 3. Natural +// language speech audio to be processed. 4. An event to be triggered. +type GoogleCloudDialogflowCxV3beta1QueryInput struct { + // Audio: The natural language speech audio to be processed. + Audio *GoogleCloudDialogflowCxV3beta1AudioInput `json:"audio,omitempty"` - // Subtitle: Optional. Subtitle of the list. - Subtitle string `json:"subtitle,omitempty"` + // Dtmf: The DTMF event to be handled. + Dtmf *GoogleCloudDialogflowCxV3beta1DtmfInput `json:"dtmf,omitempty"` - // Title: Optional. The overall title of the list. - Title string `json:"title,omitempty"` + // Event: The event to be triggered. + Event *GoogleCloudDialogflowCxV3beta1EventInput `json:"event,omitempty"` - // ForceSendFields is a list of field names (e.g. "Items") to + // Intent: The intent to be triggered. + Intent *GoogleCloudDialogflowCxV3beta1IntentInput `json:"intent,omitempty"` + + // LanguageCode: Required. The language of the input. See [Language + // Support](https://cloud.google.com/dialogflow/docs/reference/language) + // for a list of the currently supported language codes. Note that + // queries in the same session do not necessarily need to specify the + // same language. + LanguageCode string `json:"languageCode,omitempty"` + + // Text: The natural language text to be processed. + Text *GoogleCloudDialogflowCxV3beta1TextInput `json:"text,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Audio") 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 @@ -6531,7 +7409,7 @@ type GoogleCloudDialogflowV2IntentMessageListSelect struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Items") to include in API + // NullFields is a list of field names (e.g. "Audio") 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 @@ -6540,28 +7418,19 @@ type GoogleCloudDialogflowV2IntentMessageListSelect struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2IntentMessageListSelect) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2IntentMessageListSelect +func (s *GoogleCloudDialogflowCxV3beta1QueryInput) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1QueryInput raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2IntentMessageListSelectItem: An item in the -// list. -type GoogleCloudDialogflowV2IntentMessageListSelectItem struct { - // Description: Optional. The main text describing the item. - Description string `json:"description,omitempty"` - - // Image: Optional. The image to display. - Image *GoogleCloudDialogflowV2IntentMessageImage `json:"image,omitempty"` - - // Info: Required. Additional information about this option. - Info *GoogleCloudDialogflowV2IntentMessageSelectItemInfo `json:"info,omitempty"` - - // Title: Required. The title of the list item. - Title string `json:"title,omitempty"` +// GoogleCloudDialogflowCxV3beta1ReloadDocumentOperationMetadata: +// Metadata for ReloadDocument operation. +type GoogleCloudDialogflowCxV3beta1ReloadDocumentOperationMetadata struct { + // GenericMetadata: The generic information of the operation. + GenericMetadata *GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata `json:"genericMetadata,omitempty"` - // ForceSendFields is a list of field names (e.g. "Description") to + // ForceSendFields is a list of field names (e.g. "GenericMetadata") 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 @@ -6569,76 +7438,115 @@ type GoogleCloudDialogflowV2IntentMessageListSelectItem struct { // 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 is a list of field names (e.g. "GenericMetadata") 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 *GoogleCloudDialogflowV2IntentMessageListSelectItem) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2IntentMessageListSelectItem +func (s *GoogleCloudDialogflowCxV3beta1ReloadDocumentOperationMetadata) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1ReloadDocumentOperationMetadata raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2IntentMessageMediaContent: The media content -// card for Actions on Google. -type GoogleCloudDialogflowV2IntentMessageMediaContent struct { - // MediaObjects: Required. List of media objects. - MediaObjects []*GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject `json:"mediaObjects,omitempty"` +// GoogleCloudDialogflowCxV3beta1ResponseMessage: Represents a response +// message that can be returned by a conversational agent. Response +// messages are also used for output audio synthesis. The approach is as +// follows: * If at least one OutputAudioText response is present, then +// all OutputAudioText responses are linearly concatenated, and the +// result is used for output audio synthesis. * If the OutputAudioText +// responses are a mixture of text and SSML, then the concatenated +// result is treated as SSML; otherwise, the result is treated as either +// text or SSML as appropriate. The agent designer should ideally use +// either text or SSML consistently throughout the bot design. * +// Otherwise, all Text responses are linearly concatenated, and the +// result is used for output audio synthesis. This approach allows for +// more sophisticated user experience scenarios, where the text +// displayed to the user may differ from what is heard. +type GoogleCloudDialogflowCxV3beta1ResponseMessage struct { + // ConversationSuccess: Indicates that the conversation succeeded. + ConversationSuccess *GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess `json:"conversationSuccess,omitempty"` - // MediaType: Optional. What type of media is the content (ie "audio"). - // - // Possible values: - // "RESPONSE_MEDIA_TYPE_UNSPECIFIED" - Unspecified. - // "AUDIO" - Response media type is audio. - MediaType string `json:"mediaType,omitempty"` + // EndInteraction: Output only. A signal that indicates the interaction + // with the Dialogflow agent has ended. This message is generated by + // Dialogflow only when the conversation reaches `END_SESSION` or + // `END_PAGE` page. It is not supposed to be defined by the user. It's + // guaranteed that there is at most one such message in each response. + EndInteraction *GoogleCloudDialogflowCxV3beta1ResponseMessageEndInteraction `json:"endInteraction,omitempty"` - // ForceSendFields is a list of field names (e.g. "MediaObjects") to - // unconditionally include in API requests. By default, fields with + // LiveAgentHandoff: Hands off conversation to a human agent. + LiveAgentHandoff *GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff `json:"liveAgentHandoff,omitempty"` + + // MixedAudio: Output only. An audio response message composed of both + // the synthesized Dialogflow agent responses and responses defined via + // play_audio. This message is generated by Dialogflow only and not + // supposed to be defined by the user. + MixedAudio *GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio `json:"mixedAudio,omitempty"` + + // OutputAudioText: A text or ssml response that is preferentially used + // for TTS output audio synthesis, as described in the comment on the + // ResponseMessage message. + OutputAudioText *GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText `json:"outputAudioText,omitempty"` + + // Payload: Returns a response containing a custom, platform-specific + // payload. + Payload googleapi.RawMessage `json:"payload,omitempty"` + + // PlayAudio: Signal that the client should play an audio clip hosted at + // a client-specific URI. Dialogflow uses this to construct mixed_audio. + // However, Dialogflow itself does not try to read or process the URI in + // any way. + PlayAudio *GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio `json:"playAudio,omitempty"` + + // Text: Returns a text response. + Text *GoogleCloudDialogflowCxV3beta1ResponseMessageText `json:"text,omitempty"` + + // ForceSendFields is a list of field names (e.g. "ConversationSuccess") + // 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. "MediaObjects") 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. "ConversationSuccess") 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 *GoogleCloudDialogflowV2IntentMessageMediaContent) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2IntentMessageMediaContent +func (s *GoogleCloudDialogflowCxV3beta1ResponseMessage) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1ResponseMessage raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject: -// Response media object for media content card. -type GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject struct { - // ContentUrl: Required. Url where the media is stored. - ContentUrl string `json:"contentUrl,omitempty"` - - // Description: Optional. Description of media card. - Description string `json:"description,omitempty"` - - // Icon: Optional. Icon to display above media content. - Icon *GoogleCloudDialogflowV2IntentMessageImage `json:"icon,omitempty"` - - // LargeImage: Optional. Image to display above media content. - LargeImage *GoogleCloudDialogflowV2IntentMessageImage `json:"largeImage,omitempty"` - - // Name: Required. Name of media card. - Name string `json:"name,omitempty"` +// GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess: +// Indicates that the conversation succeeded, i.e., the bot handled the +// issue that the customer talked to it about. Dialogflow only uses this +// to determine which conversations should be counted as successful and +// doesn't process the metadata in this message in any way. Note that +// Dialogflow also considers conversations that get to the conversation +// end page as successful even if they don't return ConversationSuccess. +// You may set this, for example: * In the entry_fulfillment of a Page +// if entering the page indicates that the conversation succeeded. * In +// a webhook response when you determine that you handled the customer +// issue. +type GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess struct { + // Metadata: Custom metadata. Dialogflow doesn't impose any structure on + // this. + Metadata googleapi.RawMessage `json:"metadata,omitempty"` - // ForceSendFields is a list of field names (e.g. "ContentUrl") to + // ForceSendFields is a list of field names (e.g. "Metadata") 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 @@ -6646,7 +7554,7 @@ type GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject struct // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "ContentUrl") to include in + // NullFields is a list of field names (e.g. "Metadata") 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 @@ -6655,22 +7563,34 @@ type GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject struct NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject +func (s *GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2IntentMessageQuickReplies: The quick replies -// response message. -type GoogleCloudDialogflowV2IntentMessageQuickReplies struct { - // QuickReplies: Optional. The collection of quick replies. - QuickReplies []string `json:"quickReplies,omitempty"` +// GoogleCloudDialogflowCxV3beta1ResponseMessageEndInteraction: +// Indicates that interaction with the Dialogflow agent has ended. This +// message is generated by Dialogflow only and not supposed to be +// defined by the user. +type GoogleCloudDialogflowCxV3beta1ResponseMessageEndInteraction struct { +} - // Title: Optional. The title of the collection of quick replies. - Title string `json:"title,omitempty"` +// GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff: +// Indicates that the conversation should be handed off to a live agent. +// Dialogflow only uses this to determine which conversations were +// handed off to a human agent for measurement purposes. What else to do +// with this signal is up to you and your handoff procedures. You may +// set this, for example: * In the entry_fulfillment of a Page if +// entering the page indicates something went extremely wrong in the +// conversation. * In a webhook response when you determine that the +// customer issue can only be handled by a human. +type GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff struct { + // Metadata: Custom metadata for your handoff procedure. Dialogflow + // doesn't impose any structure on this. + Metadata googleapi.RawMessage `json:"metadata,omitempty"` - // ForceSendFields is a list of field names (e.g. "QuickReplies") to + // ForceSendFields is a list of field names (e.g. "Metadata") 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 @@ -6678,33 +7598,32 @@ type GoogleCloudDialogflowV2IntentMessageQuickReplies struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "QuickReplies") 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 + // NullFields is a list of field names (e.g. "Metadata") 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 *GoogleCloudDialogflowV2IntentMessageQuickReplies) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2IntentMessageQuickReplies +func (s *GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2IntentMessageSelectItemInfo: Additional info -// about the select item for when it is triggered in a dialog. -type GoogleCloudDialogflowV2IntentMessageSelectItemInfo struct { - // Key: Required. A unique key that will be sent back to the agent if - // this response is given. - Key string `json:"key,omitempty"` - - // Synonyms: Optional. A list of synonyms that can also be used to - // trigger this item in dialog. - Synonyms []string `json:"synonyms,omitempty"` +// GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio: Represents +// an audio message that is composed of both segments synthesized from +// the Dialogflow agent prompts and ones hosted externally at the +// specified URIs. The external URIs are specified via play_audio. This +// message is generated by Dialogflow only and not supposed to be +// defined by the user. +type GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio struct { + // Segments: Segments this audio response is composed of. + Segments []*GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment `json:"segments,omitempty"` - // ForceSendFields is a list of field names (e.g. "Key") to + // ForceSendFields is a list of field names (e.g. "Segments") 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 @@ -6712,8 +7631,8 @@ type GoogleCloudDialogflowV2IntentMessageSelectItemInfo struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Key") to include in API - // requests with the JSON null value. By default, fields with empty + // NullFields is a list of field names (e.g. "Segments") 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. @@ -6721,91 +7640,181 @@ type GoogleCloudDialogflowV2IntentMessageSelectItemInfo struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2IntentMessageSelectItemInfo) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2IntentMessageSelectItemInfo +func (s *GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2IntentMessageSimpleResponse: The simple -// response message containing speech or text. -type GoogleCloudDialogflowV2IntentMessageSimpleResponse struct { - // DisplayText: Optional. The text to display. - DisplayText string `json:"displayText,omitempty"` - - // Ssml: One of text_to_speech or ssml must be provided. Structured - // spoken response to the user in the SSML format. Mutually exclusive - // with text_to_speech. - Ssml string `json:"ssml,omitempty"` +// GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment: +// Represents one segment of audio. +type GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment struct { + // AllowPlaybackInterruption: Output only. Whether the playback of this + // segment can be interrupted by the end user's speech and the client + // should then start the next Dialogflow request. + AllowPlaybackInterruption bool `json:"allowPlaybackInterruption,omitempty"` - // TextToSpeech: One of text_to_speech or ssml must be provided. The - // plain text of the speech output. Mutually exclusive with ssml. - TextToSpeech string `json:"textToSpeech,omitempty"` + // Audio: Raw audio synthesized from the Dialogflow agent's response + // using the output config specified in the request. + Audio string `json:"audio,omitempty"` - // ForceSendFields is a list of field names (e.g. "DisplayText") 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. + // Uri: Client-specific URI that points to an audio clip accessible to + // the client. Dialogflow does not impose any validation on it. + Uri string `json:"uri,omitempty"` + + // ForceSendFields is a list of field names (e.g. + // "AllowPlaybackInterruption") 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. "DisplayText") 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. + // "AllowPlaybackInterruption") 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 *GoogleCloudDialogflowV2IntentMessageSimpleResponse) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2IntentMessageSimpleResponse +func (s *GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2IntentMessageSimpleResponses: The collection -// of simple response candidates. This message in -// `QueryResult.fulfillment_messages` and -// `WebhookResponse.fulfillment_messages` should contain only one -// `SimpleResponse`. -type GoogleCloudDialogflowV2IntentMessageSimpleResponses struct { - // SimpleResponses: Required. The list of simple responses. - SimpleResponses []*GoogleCloudDialogflowV2IntentMessageSimpleResponse `json:"simpleResponses,omitempty"` +// GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText: A text +// or ssml response that is preferentially used for TTS output audio +// synthesis, as described in the comment on the ResponseMessage +// message. +type GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText struct { + // AllowPlaybackInterruption: Output only. Whether the playback of this + // message can be interrupted by the end user's speech and the client + // can then starts the next Dialogflow request. + AllowPlaybackInterruption bool `json:"allowPlaybackInterruption,omitempty"` - // ForceSendFields is a list of field names (e.g. "SimpleResponses") 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. + // Ssml: The SSML text to be synthesized. For more information, see + // [SSML](/speech/text-to-speech/docs/ssml). + Ssml string `json:"ssml,omitempty"` + + // Text: The raw text to be synthesized. + Text string `json:"text,omitempty"` + + // ForceSendFields is a list of field names (e.g. + // "AllowPlaybackInterruption") 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. "SimpleResponses") 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. + // "AllowPlaybackInterruption") 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 *GoogleCloudDialogflowV2IntentMessageSimpleResponses) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2IntentMessageSimpleResponses +func (s *GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2IntentMessageSuggestion: The suggestion chip -// message that the user can tap to quickly post a reply to the -// conversation. -type GoogleCloudDialogflowV2IntentMessageSuggestion struct { - // Title: Required. The text shown the in the suggestion chip. - Title string `json:"title,omitempty"` +// GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio: Specifies an +// audio clip to be played by the client as part of the response. +type GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio struct { + // AllowPlaybackInterruption: Output only. Whether the playback of this + // message can be interrupted by the end user's speech and the client + // can then starts the next Dialogflow request. + AllowPlaybackInterruption bool `json:"allowPlaybackInterruption,omitempty"` - // ForceSendFields is a list of field names (e.g. "Title") to + // AudioUri: Required. URI of the audio clip. Dialogflow does not impose + // any validation on this value. It is specific to the client that reads + // it. + AudioUri string `json:"audioUri,omitempty"` + + // ForceSendFields is a list of field names (e.g. + // "AllowPlaybackInterruption") 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. + // "AllowPlaybackInterruption") 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 *GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3beta1ResponseMessageText: The text response +// message. +type GoogleCloudDialogflowCxV3beta1ResponseMessageText struct { + // AllowPlaybackInterruption: Output only. Whether the playback of this + // message can be interrupted by the end user's speech and the client + // can then starts the next Dialogflow request. + AllowPlaybackInterruption bool `json:"allowPlaybackInterruption,omitempty"` + + // Text: Required. A collection of text responses. + Text []string `json:"text,omitempty"` + + // ForceSendFields is a list of field names (e.g. + // "AllowPlaybackInterruption") 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. + // "AllowPlaybackInterruption") 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 *GoogleCloudDialogflowCxV3beta1ResponseMessageText) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1ResponseMessageText + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3beta1RunTestCaseMetadata: Metadata returned +// for the TestCases.RunTestCase long running operation. +type GoogleCloudDialogflowCxV3beta1RunTestCaseMetadata struct { +} + +// GoogleCloudDialogflowCxV3beta1RunTestCaseResponse: The response +// message for TestCases.RunTestCase. +type GoogleCloudDialogflowCxV3beta1RunTestCaseResponse struct { + // Result: The result. + Result *GoogleCloudDialogflowCxV3beta1TestCaseResult `json:"result,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Result") 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 @@ -6813,7 +7822,7 @@ type GoogleCloudDialogflowV2IntentMessageSuggestion struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Title") to include in API + // NullFields is a list of field names (e.g. "Result") 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 @@ -6822,19 +7831,30 @@ type GoogleCloudDialogflowV2IntentMessageSuggestion struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2IntentMessageSuggestion) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2IntentMessageSuggestion +func (s *GoogleCloudDialogflowCxV3beta1RunTestCaseResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1RunTestCaseResponse raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2IntentMessageSuggestions: The collection of -// suggestions. -type GoogleCloudDialogflowV2IntentMessageSuggestions struct { - // Suggestions: Required. The list of suggested replies. - Suggestions []*GoogleCloudDialogflowV2IntentMessageSuggestion `json:"suggestions,omitempty"` +// GoogleCloudDialogflowCxV3beta1SessionInfo: Represents session +// information communicated to and from the webhook. +type GoogleCloudDialogflowCxV3beta1SessionInfo struct { + // Parameters: Optional for WebhookRequest. Optional for + // WebhookResponse. All parameters collected from forms and intents + // during the session. Parameters can be created, updated, or removed by + // the webhook. To remove a parameter from the session, the webhook + // should explicitly set the parameter value to null in WebhookResponse. + // The map is keyed by parameters' display names. + Parameters googleapi.RawMessage `json:"parameters,omitempty"` - // ForceSendFields is a list of field names (e.g. "Suggestions") to + // Session: Always present for WebhookRequest. Ignored for + // WebhookResponse. The unique identifier of the session. This field can + // be used by the webhook to identify a user. Format: + // `projects//locations//agents//sessions/`. + Session string `json:"session,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Parameters") 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 @@ -6842,44 +7862,57 @@ type GoogleCloudDialogflowV2IntentMessageSuggestions struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Suggestions") 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 + // NullFields is a list of field names (e.g. "Parameters") 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 *GoogleCloudDialogflowV2IntentMessageSuggestions) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2IntentMessageSuggestions +func (s *GoogleCloudDialogflowCxV3beta1SessionInfo) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1SessionInfo raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2IntentMessageTableCard: Table card for Actions -// on Google. -type GoogleCloudDialogflowV2IntentMessageTableCard struct { - // Buttons: Optional. List of buttons for the card. - Buttons []*GoogleCloudDialogflowV2IntentMessageBasicCardButton `json:"buttons,omitempty"` +// GoogleCloudDialogflowCxV3beta1TestCase: Represents a test case. +type GoogleCloudDialogflowCxV3beta1TestCase struct { + // CreationTime: Output only. When the test was created. + CreationTime string `json:"creationTime,omitempty"` - // ColumnProperties: Optional. Display properties for the columns in - // this table. - ColumnProperties []*GoogleCloudDialogflowV2IntentMessageColumnProperties `json:"columnProperties,omitempty"` + // DisplayName: Required. The human-readable name of the test case, + // unique within the agent. Limit of 200 characters. + DisplayName string `json:"displayName,omitempty"` - // Image: Optional. Image which should be displayed on the card. - Image *GoogleCloudDialogflowV2IntentMessageImage `json:"image,omitempty"` + // LastTestResult: The latest test result. + LastTestResult *GoogleCloudDialogflowCxV3beta1TestCaseResult `json:"lastTestResult,omitempty"` - // Rows: Optional. Rows in this table of data. - Rows []*GoogleCloudDialogflowV2IntentMessageTableCardRow `json:"rows,omitempty"` + // Name: The unique identifier of the test case. + // TestCases.CreateTestCase will populate the name automatically. + // Otherwise use format: `projects//locations//agents/ /testCases/`. + Name string `json:"name,omitempty"` - // Subtitle: Optional. Subtitle to the title. - Subtitle string `json:"subtitle,omitempty"` + // Notes: Additional freeform notes about the test case. Limit of 400 + // characters. + Notes string `json:"notes,omitempty"` - // Title: Required. Title of the card. - Title string `json:"title,omitempty"` + // Tags: Tags are short descriptions that users may apply to test cases + // for organizational and filtering purposes. Each tag should start with + // "#" and has a limit of 30 characters. + Tags []string `json:"tags,omitempty"` - // ForceSendFields is a list of field names (e.g. "Buttons") to + // TestCaseConversationTurns: The conversation turns uttered when the + // test case was created, in chronological order. These include the + // canonical set of agent utterances that should occur when the agent is + // working properly. + TestCaseConversationTurns []*GoogleCloudDialogflowCxV3beta1ConversationTurn `json:"testCaseConversationTurns,omitempty"` + + // TestConfig: Config for the test case. + TestConfig *GoogleCloudDialogflowCxV3beta1TestConfig `json:"testConfig,omitempty"` + + // ForceSendFields is a list of field names (e.g. "CreationTime") 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 @@ -6887,28 +7920,31 @@ type GoogleCloudDialogflowV2IntentMessageTableCard struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Buttons") 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 + // NullFields is a list of field names (e.g. "CreationTime") 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 *GoogleCloudDialogflowV2IntentMessageTableCard) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2IntentMessageTableCard +func (s *GoogleCloudDialogflowCxV3beta1TestCase) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1TestCase raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2IntentMessageTableCardCell: Cell of -// TableCardRow. -type GoogleCloudDialogflowV2IntentMessageTableCardCell struct { - // Text: Required. Text in this cell. - Text string `json:"text,omitempty"` +// GoogleCloudDialogflowCxV3beta1TestCaseError: Error info for importing +// a test. +type GoogleCloudDialogflowCxV3beta1TestCaseError struct { + // Status: The status associated with the test case. + Status *GoogleRpcStatus `json:"status,omitempty"` - // ForceSendFields is a list of field names (e.g. "Text") to + // TestCase: The test case. + TestCase *GoogleCloudDialogflowCxV3beta1TestCase `json:"testCase,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Status") 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 @@ -6916,7 +7952,7 @@ type GoogleCloudDialogflowV2IntentMessageTableCardCell struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Text") to include in API + // NullFields is a list of field names (e.g. "Status") 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 @@ -6925,50 +7961,74 @@ type GoogleCloudDialogflowV2IntentMessageTableCardCell struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2IntentMessageTableCardCell) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2IntentMessageTableCardCell +func (s *GoogleCloudDialogflowCxV3beta1TestCaseError) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1TestCaseError raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2IntentMessageTableCardRow: Row of TableCard. -type GoogleCloudDialogflowV2IntentMessageTableCardRow struct { - // Cells: Optional. List of cells that make up this row. - Cells []*GoogleCloudDialogflowV2IntentMessageTableCardCell `json:"cells,omitempty"` +// GoogleCloudDialogflowCxV3beta1TestCaseResult: Represents a result +// from running a test case in an agent environment. +type GoogleCloudDialogflowCxV3beta1TestCaseResult struct { + // ConversationTurns: The conversation turns uttered during the test + // case replay in chronological order. + ConversationTurns []*GoogleCloudDialogflowCxV3beta1ConversationTurn `json:"conversationTurns,omitempty"` - // DividerAfter: Optional. Whether to add a visual divider after this - // row. - DividerAfter bool `json:"dividerAfter,omitempty"` + // Environment: Optional. Environment where the test was run. If not + // set, it indicates the draft environment. + Environment string `json:"environment,omitempty"` - // ForceSendFields is a list of field names (e.g. "Cells") to - // unconditionally include in API requests. By default, fields with + // Name: The resource name for the test case result. Format: + // `projects//locations//agents//testCases/ /results/`. + Name string `json:"name,omitempty"` + + // TestResult: Whether the test case passed in the agent environment. + // + // Possible values: + // "TEST_RESULT_UNSPECIFIED" - Not specified. Should never be used. + // "PASSED" - The test passed. + // "FAILED" - The test did not pass. + TestResult string `json:"testResult,omitempty"` + + // TestTime: The time that the test was run. + TestTime string `json:"testTime,omitempty"` + + // ForceSendFields is a list of field names (e.g. "ConversationTurns") + // 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. "Cells") 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. "ConversationTurns") 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 *GoogleCloudDialogflowV2IntentMessageTableCardRow) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2IntentMessageTableCardRow +func (s *GoogleCloudDialogflowCxV3beta1TestCaseResult) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1TestCaseResult raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2IntentMessageText: The text response message. -type GoogleCloudDialogflowV2IntentMessageText struct { - // Text: Optional. The collection of the agent's responses. - Text []string `json:"text,omitempty"` +// GoogleCloudDialogflowCxV3beta1TestConfig: Represents configurations +// for a test case. +type GoogleCloudDialogflowCxV3beta1TestConfig struct { + // Flow: Flow name. If not set, default start flow is assumed. Format: + // `projects//locations//agents//flows/`. + Flow string `json:"flow,omitempty"` - // ForceSendFields is a list of field names (e.g. "Text") to + // TrackingParameters: Session parameters to be compared when + // calculating differences. + TrackingParameters []string `json:"trackingParameters,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Flow") 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 @@ -6976,7 +8036,7 @@ type GoogleCloudDialogflowV2IntentMessageText struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Text") to include in API + // NullFields is a list of field names (e.g. "Flow") 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 @@ -6985,51 +8045,25 @@ type GoogleCloudDialogflowV2IntentMessageText struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2IntentMessageText) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2IntentMessageText +func (s *GoogleCloudDialogflowCxV3beta1TestConfig) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1TestConfig raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2IntentParameter: Represents intent parameters. -type GoogleCloudDialogflowV2IntentParameter struct { - // DefaultValue: Optional. The default value to use when the `value` - // yields an empty result. Default values can be extracted from contexts - // by using the following syntax: `#context_name.parameter_name`. - DefaultValue string `json:"defaultValue,omitempty"` - - // DisplayName: Required. The name of the parameter. - DisplayName string `json:"displayName,omitempty"` - - // EntityTypeDisplayName: Optional. The name of the entity type, - // prefixed with `@`, that describes values of the parameter. If the - // parameter is required, this must be provided. - EntityTypeDisplayName string `json:"entityTypeDisplayName,omitempty"` - - // IsList: Optional. Indicates whether the parameter represents a list - // of values. - IsList bool `json:"isList,omitempty"` - - // Mandatory: Optional. Indicates whether the parameter is required. - // That is, whether the intent cannot be completed without collecting - // the parameter value. - Mandatory bool `json:"mandatory,omitempty"` - - // Name: The unique identifier of this parameter. - Name string `json:"name,omitempty"` +// GoogleCloudDialogflowCxV3beta1TestError: Error info for running a +// test. +type GoogleCloudDialogflowCxV3beta1TestError struct { + // Status: The status associated with the test. + Status *GoogleRpcStatus `json:"status,omitempty"` - // Prompts: Optional. The collection of prompts that the agent can - // present to the user in order to collect a value for the parameter. - Prompts []string `json:"prompts,omitempty"` + // TestCase: The test case resource name. + TestCase string `json:"testCase,omitempty"` - // Value: Optional. The definition of the parameter value. It can be: - - // a constant string, - a parameter value defined as `$parameter_name`, - // - an original parameter value defined as `$parameter_name.original`, - // - a parameter value from some context defined as - // `#context_name.parameter_name`. - Value string `json:"value,omitempty"` + // TestTime: The timestamp when the test was completed. + TestTime string `json:"testTime,omitempty"` - // ForceSendFields is a list of field names (e.g. "DefaultValue") to + // ForceSendFields is a list of field names (e.g. "Status") 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 @@ -7037,62 +8071,39 @@ type GoogleCloudDialogflowV2IntentParameter struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "DefaultValue") 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 + // NullFields is a list of field names (e.g. "Status") 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 *GoogleCloudDialogflowV2IntentParameter) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2IntentParameter +func (s *GoogleCloudDialogflowCxV3beta1TestError) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1TestError raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2IntentTrainingPhrase: Represents an example -// that the agent is trained on. -type GoogleCloudDialogflowV2IntentTrainingPhrase struct { - // Name: Output only. The unique identifier of this training phrase. - Name string `json:"name,omitempty"` - - // Parts: Required. The ordered list of training phrase parts. The parts - // are concatenated in order to form the training phrase. Note: The API - // does not automatically annotate training phrases like the Dialogflow - // Console does. Note: Do not forget to include whitespace at part - // boundaries, so the training phrase is well formatted when the parts - // are concatenated. If the training phrase does not need to be - // annotated with parameters, you just need a single part with only the - // Part.text field set. If you want to annotate the training phrase, you - // must create multiple parts, where the fields of each part are - // populated in one of two ways: - `Part.text` is set to a part of the - // phrase that has no parameters. - `Part.text` is set to a part of the - // phrase that you want to annotate, and the `entity_type`, `alias`, and - // `user_defined` fields are all set. - Parts []*GoogleCloudDialogflowV2IntentTrainingPhrasePart `json:"parts,omitempty"` - - // TimesAddedCount: Optional. Indicates how many times this example was - // added to the intent. Each time a developer adds an existing sample by - // editing an intent or training, this counter is increased. - TimesAddedCount int64 `json:"timesAddedCount,omitempty"` +// GoogleCloudDialogflowCxV3beta1TestRunDifference: The description of +// differences between original and replayed agent output. +type GoogleCloudDialogflowCxV3beta1TestRunDifference struct { + // Description: A description of the diff, showing the actual output vs + // expected output. + Description string `json:"description,omitempty"` - // Type: Required. The type of the training phrase. + // Type: The type of diff. // // Possible values: - // "TYPE_UNSPECIFIED" - Not specified. This value should never be - // used. - // "EXAMPLE" - Examples do not contain @-prefixed entity type names, - // but example parts can be annotated with entity types. - // "TEMPLATE" - Templates are not annotated with entity types, but - // they can contain @-prefixed entity type names as substrings. Template - // mode has been deprecated. Example mode is the only supported way to - // create new training phrases. If you have existing training phrases - // that you've created in template mode, those will continue to work. + // "DIFF_TYPE_UNSPECIFIED" - Should never be used. + // "INTENT" - The intent. + // "PAGE" - The page. + // "PARAMETERS" - The parameters. + // "UTTERANCE" - The message utterance. Type string `json:"type,omitempty"` - // ForceSendFields is a list of field names (e.g. "Name") to + // 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 @@ -7100,43 +8111,29 @@ type GoogleCloudDialogflowV2IntentTrainingPhrase struct { // 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 + // 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 *GoogleCloudDialogflowV2IntentTrainingPhrase) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2IntentTrainingPhrase +func (s *GoogleCloudDialogflowCxV3beta1TestRunDifference) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1TestRunDifference raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2IntentTrainingPhrasePart: Represents a part of -// a training phrase. -type GoogleCloudDialogflowV2IntentTrainingPhrasePart struct { - // Alias: Optional. The parameter name for the value extracted from the - // annotated part of the example. This field is required for annotated - // parts of the training phrase. - Alias string `json:"alias,omitempty"` - - // EntityType: Optional. The entity type name prefixed with `@`. This - // field is required for annotated parts of the training phrase. - EntityType string `json:"entityType,omitempty"` - - // Text: Required. The text for this part. +// GoogleCloudDialogflowCxV3beta1TextInput: Represents the natural +// language text to be processed. +type GoogleCloudDialogflowCxV3beta1TextInput struct { + // Text: Required. The UTF-8 encoded natural language text to be + // processed. Text length must not exceed 256 characters. Text string `json:"text,omitempty"` - // UserDefined: Optional. Indicates whether the text was manually - // annotated. This field is set to true when the Dialogflow Console is - // used to manually annotate the part. When creating an annotated part - // with the API, you must set this to true. - UserDefined bool `json:"userDefined,omitempty"` - - // ForceSendFields is a list of field names (e.g. "Alias") to + // ForceSendFields is a list of field names (e.g. "Text") 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 @@ -7144,7 +8141,7 @@ type GoogleCloudDialogflowV2IntentTrainingPhrasePart struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Alias") to include in API + // NullFields is a list of field names (e.g. "Text") 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 @@ -7153,48 +8150,56 @@ type GoogleCloudDialogflowV2IntentTrainingPhrasePart struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2IntentTrainingPhrasePart) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2IntentTrainingPhrasePart +func (s *GoogleCloudDialogflowCxV3beta1TextInput) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1TextInput raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2Message: Represents a message posted into a -// conversation. -type GoogleCloudDialogflowV2Message struct { - // Content: Required. The message content. - Content string `json:"content,omitempty"` - - // CreateTime: Output only. The time when the message was created. - CreateTime string `json:"createTime,omitempty"` - - // LanguageCode: Optional. The message language. This should be a - // [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. - // Example: "en-US". - LanguageCode string `json:"languageCode,omitempty"` +// GoogleCloudDialogflowCxV3beta1TransitionRoute: A transition route +// specifies a intent that can be matched and/or a data condition that +// can be evaluated during a session. When a specified transition is +// matched, the following actions are taken in order: * If there is a +// `trigger_fulfillment` associated with the transition, it will be +// called. * If there is a `target_page` associated with the transition, +// the session will transition into the specified page. * If there is a +// `target_flow` associated with the transition, the session will +// transition into the specified flow. +type GoogleCloudDialogflowCxV3beta1TransitionRoute struct { + // Condition: The condition to evaluate against form parameters or + // session parameters. See the [conditions + // reference](https://cloud.google.com/dialogflow/cx/docs/reference/condi + // tion). At least one of `intent` or `condition` must be specified. + // When both `intent` and `condition` are specified, the transition can + // only happen when both are fulfilled. + Condition string `json:"condition,omitempty"` - // MessageAnnotation: Output only. The annotation for the message. - MessageAnnotation *GoogleCloudDialogflowV2MessageAnnotation `json:"messageAnnotation,omitempty"` + // Intent: The unique identifier of an Intent. Format: + // `projects//locations//agents//intents/`. Indicates that the + // transition can only happen when the given intent is matched. At least + // one of `intent` or `condition` must be specified. When both `intent` + // and `condition` are specified, the transition can only happen when + // both are fulfilled. + Intent string `json:"intent,omitempty"` - // Name: The unique identifier of the message. Format: - // `projects//locations//conversations//messages/`. + // Name: Output only. The unique identifier of this transition route. Name string `json:"name,omitempty"` - // Participant: Output only. The participant that sends this message. - Participant string `json:"participant,omitempty"` + // TargetFlow: The target flow to transition to. Format: + // `projects//locations//agents//flows/`. + TargetFlow string `json:"targetFlow,omitempty"` - // ParticipantRole: Output only. The role of the participant. - // - // Possible values: - // "ROLE_UNSPECIFIED" - Participant role not set. - // "HUMAN_AGENT" - Participant is a human agent. - // "AUTOMATED_AGENT" - Participant is an automated agent, such as a - // Dialogflow agent. - // "END_USER" - Participant is an end user that has called or chatted - // with Dialogflow services. - ParticipantRole string `json:"participantRole,omitempty"` + // TargetPage: The target page to transition to. Format: + // `projects//locations//agents//flows//pages/`. + TargetPage string `json:"targetPage,omitempty"` - // ForceSendFields is a list of field names (e.g. "Content") to + // TriggerFulfillment: The fulfillment to call when the condition is + // satisfied. At least one of `trigger_fulfillment` and `target` must be + // specified. When both are defined, `trigger_fulfillment` is executed + // first. + TriggerFulfillment *GoogleCloudDialogflowCxV3beta1Fulfillment `json:"triggerFulfillment,omitempty"` + + // 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 @@ -7202,7 +8207,7 @@ type GoogleCloudDialogflowV2Message struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Content") 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 @@ -7211,25 +8216,19 @@ type GoogleCloudDialogflowV2Message struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2Message) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2Message +func (s *GoogleCloudDialogflowCxV3beta1TransitionRoute) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1TransitionRoute raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2MessageAnnotation: Represents the result of -// annotation for the message. -type GoogleCloudDialogflowV2MessageAnnotation struct { - // ContainEntities: Indicates whether the text message contains - // entities. - ContainEntities bool `json:"containEntities,omitempty"` - - // Parts: The collection of annotated message parts ordered by their - // position in the message. You can recover the annotated message by - // concatenating [AnnotatedMessagePart.text]. - Parts []*GoogleCloudDialogflowV2AnnotatedMessagePart `json:"parts,omitempty"` +// GoogleCloudDialogflowCxV3beta1UpdateDocumentOperationMetadata: +// Metadata for UpdateDocument operation. +type GoogleCloudDialogflowCxV3beta1UpdateDocumentOperationMetadata struct { + // GenericMetadata: The generic information of the operation. + GenericMetadata *GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata `json:"genericMetadata,omitempty"` - // ForceSendFields is a list of field names (e.g. "ContainEntities") to + // ForceSendFields is a list of field names (e.g. "GenericMetadata") 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 @@ -7237,7 +8236,7 @@ type GoogleCloudDialogflowV2MessageAnnotation struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "ContainEntities") to + // NullFields is a list of field names (e.g. "GenericMetadata") 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 @@ -7247,37 +8246,73 @@ type GoogleCloudDialogflowV2MessageAnnotation struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2MessageAnnotation) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2MessageAnnotation +func (s *GoogleCloudDialogflowCxV3beta1UpdateDocumentOperationMetadata) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1UpdateDocumentOperationMetadata raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2OriginalDetectIntentRequest: Represents the -// contents of the original request that was passed to the -// `[Streaming]DetectIntent` call. -type GoogleCloudDialogflowV2OriginalDetectIntentRequest struct { - // Payload: Optional. This field is set to the value of the - // `QueryParameters.payload` field passed in the request. Some - // integrations that query a Dialogflow agent may provide additional - // information in the payload. In particular, for the Dialogflow Phone - // Gateway integration, this field has the form: { "telephony": { - // "caller_id": "+18558363987" } } Note: The caller ID field - // (`caller_id`) will be redacted for Trial Edition agents and populated - // with the caller ID in [E.164 - // format](https://en.wikipedia.org/wiki/E.164) for Essentials Edition - // agents. +// GoogleCloudDialogflowCxV3beta1WebhookRequest: The request message for +// a webhook call. +type GoogleCloudDialogflowCxV3beta1WebhookRequest struct { + // DetectIntentResponseId: Always present. The unique identifier of the + // DetectIntentResponse that will be returned to the API caller. + DetectIntentResponseId string `json:"detectIntentResponseId,omitempty"` + + // FulfillmentInfo: Always present. Information about the fulfillment + // that triggered this webhook call. + FulfillmentInfo *GoogleCloudDialogflowCxV3beta1WebhookRequestFulfillmentInfo `json:"fulfillmentInfo,omitempty"` + + // IntentInfo: Information about the last matched intent. + IntentInfo *GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo `json:"intentInfo,omitempty"` + + // Messages: The list of rich message responses to present to the user. + // Webhook can choose to append or replace this list in + // WebhookResponse.fulfillment_response; + Messages []*GoogleCloudDialogflowCxV3beta1ResponseMessage `json:"messages,omitempty"` + + // PageInfo: Information about page status. + PageInfo *GoogleCloudDialogflowCxV3beta1PageInfo `json:"pageInfo,omitempty"` + + // Payload: Custom data set in QueryParameters.payload. Payload googleapi.RawMessage `json:"payload,omitempty"` - // Source: The source of this request, e.g., `google`, `facebook`, - // `slack`. It is set by Dialogflow-owned servers. - Source string `json:"source,omitempty"` + // SessionInfo: Information about session status. + SessionInfo *GoogleCloudDialogflowCxV3beta1SessionInfo `json:"sessionInfo,omitempty"` - // Version: Optional. The version of the protocol used for this request. - // This field is AoG-specific. - Version string `json:"version,omitempty"` + // ForceSendFields is a list of field names (e.g. + // "DetectIntentResponseId") 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:"-"` - // ForceSendFields is a list of field names (e.g. "Payload") to + // NullFields is a list of field names (e.g. "DetectIntentResponseId") + // 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 *GoogleCloudDialogflowCxV3beta1WebhookRequest) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1WebhookRequest + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3beta1WebhookRequestFulfillmentInfo: +// Represents fulfillment information communicated to the webhook. +type GoogleCloudDialogflowCxV3beta1WebhookRequestFulfillmentInfo struct { + // Tag: Always present. The tag used to identify which fulfillment is + // being called. + Tag string `json:"tag,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Tag") 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 @@ -7285,8 +8320,8 @@ type GoogleCloudDialogflowV2OriginalDetectIntentRequest struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Payload") to include in - // API requests with the JSON null value. By default, fields with empty + // NullFields is a list of field names (e.g. "Tag") 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. @@ -7294,163 +8329,62 @@ type GoogleCloudDialogflowV2OriginalDetectIntentRequest struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2OriginalDetectIntentRequest) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2OriginalDetectIntentRequest +func (s *GoogleCloudDialogflowCxV3beta1WebhookRequestFulfillmentInfo) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1WebhookRequestFulfillmentInfo raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2QueryResult: Represents the result of -// conversational query or event processing. -type GoogleCloudDialogflowV2QueryResult struct { - // Action: The action name from the matched intent. - Action string `json:"action,omitempty"` - - // AllRequiredParamsPresent: This field is set to: - `false` if the - // matched intent has required parameters and not all of the required - // parameter values have been collected. - `true` if all required - // parameter values have been collected, or if the matched intent - // doesn't contain any required parameters. - AllRequiredParamsPresent bool `json:"allRequiredParamsPresent,omitempty"` - - // DiagnosticInfo: Free-form diagnostic information for the associated - // detect intent request. The fields of this data can change without - // notice, so you should not write code that depends on its structure. - // The data may contain: - webhook call latency - webhook errors - DiagnosticInfo googleapi.RawMessage `json:"diagnosticInfo,omitempty"` - - // FulfillmentMessages: The collection of rich messages to present to - // the user. - FulfillmentMessages []*GoogleCloudDialogflowV2IntentMessage `json:"fulfillmentMessages,omitempty"` - - // FulfillmentText: The text to be pronounced to the user or shown on - // the screen. Note: This is a legacy field, `fulfillment_messages` - // should be preferred. - FulfillmentText string `json:"fulfillmentText,omitempty"` - - // Intent: The intent that matched the conversational query. Some, not - // all fields are filled in this message, including but not limited to: - // `name`, `display_name`, `end_interaction` and `is_fallback`. - Intent *GoogleCloudDialogflowV2Intent `json:"intent,omitempty"` - - // IntentDetectionConfidence: The intent detection confidence. Values - // range from 0.0 (completely uncertain) to 1.0 (completely certain). - // This value is for informational purpose only and is only used to help - // match the best intent within the classification threshold. This value - // may change for the same end-user expression at any time due to a - // model retraining or change in implementation. If there are `multiple - // knowledge_answers` messages, this value is set to the greatest - // `knowledgeAnswers.match_confidence` value in the list. - IntentDetectionConfidence float64 `json:"intentDetectionConfidence,omitempty"` - - // LanguageCode: The language that was triggered during intent - // detection. See [Language - // Support](https://cloud.google.com/dialogflow/docs/reference/language) - // for a list of the currently supported language codes. - LanguageCode string `json:"languageCode,omitempty"` - - // OutputContexts: The collection of output contexts. If applicable, - // `output_contexts.parameters` contains entries with name `.original` - // containing the original parameter values before the query. - OutputContexts []*GoogleCloudDialogflowV2Context `json:"outputContexts,omitempty"` - - // Parameters: The collection of extracted parameters. Depending on your - // protocol or client library language, this is a map, associative - // array, symbol table, dictionary, or JSON object composed of a - // collection of (MapKey, MapValue) pairs: - MapKey type: string - - // MapKey value: parameter name - MapValue type: - If parameter's entity - // type is a composite entity: map - Else: string or number, depending - // on parameter value type - MapValue value: - If parameter's entity - // type is a composite entity: map from composite entity property names - // to property values - Else: parameter value - Parameters googleapi.RawMessage `json:"parameters,omitempty"` - - // QueryText: The original conversational query text: - If natural - // language text was provided as input, `query_text` contains a copy of - // the input. - If natural language speech audio was provided as input, - // `query_text` contains the speech recognition result. If speech - // recognizer produced multiple alternatives, a particular one is - // picked. - If automatic spell correction is enabled, `query_text` will - // contain the corrected user input. - QueryText string `json:"queryText,omitempty"` - - // SentimentAnalysisResult: The sentiment analysis result, which depends - // on the `sentiment_analysis_request_config` specified in the request. - SentimentAnalysisResult *GoogleCloudDialogflowV2SentimentAnalysisResult `json:"sentimentAnalysisResult,omitempty"` - - // SpeechRecognitionConfidence: The Speech recognition confidence - // between 0.0 and 1.0. A higher number indicates an estimated greater - // likelihood that the recognized words are correct. The default of 0.0 - // is a sentinel value indicating that confidence was not set. This - // field is not guaranteed to be accurate or set. In particular this - // field isn't set for StreamingDetectIntent since the streaming - // endpoint has separate confidence estimates per portion of the audio - // in StreamingRecognitionResult. - SpeechRecognitionConfidence float64 `json:"speechRecognitionConfidence,omitempty"` - - // WebhookPayload: If the query was fulfilled by a webhook call, this - // field is set to the value of the `payload` field returned in the - // webhook response. - WebhookPayload googleapi.RawMessage `json:"webhookPayload,omitempty"` +// GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo: Represents +// intent information communicated to the webhook. +type GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo struct { + // LastMatchedIntent: Always present. The unique identifier of the last + // matched intent. Format: `projects//locations//agents//intents/`. + LastMatchedIntent string `json:"lastMatchedIntent,omitempty"` - // WebhookSource: If the query was fulfilled by a webhook call, this - // field is set to the value of the `source` field returned in the - // webhook response. - WebhookSource string `json:"webhookSource,omitempty"` + // Parameters: Parameters identified as a result of intent matching. + // This is a map of the name of the identified parameter to the value of + // the parameter identified from the user's utterance. All parameters + // defined in the matched intent that are identified will be surfaced + // here. + Parameters map[string]GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfoIntentParameterValue `json:"parameters,omitempty"` - // ForceSendFields is a list of field names (e.g. "Action") to - // unconditionally include in API requests. By default, fields with + // ForceSendFields is a list of field names (e.g. "LastMatchedIntent") + // 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. "Action") 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. "LastMatchedIntent") 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 *GoogleCloudDialogflowV2QueryResult) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2QueryResult +func (s *GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -func (s *GoogleCloudDialogflowV2QueryResult) UnmarshalJSON(data []byte) error { - type NoMethod GoogleCloudDialogflowV2QueryResult - var s1 struct { - IntentDetectionConfidence gensupport.JSONFloat64 `json:"intentDetectionConfidence"` - SpeechRecognitionConfidence gensupport.JSONFloat64 `json:"speechRecognitionConfidence"` - *NoMethod - } - s1.NoMethod = (*NoMethod)(s) - if err := json.Unmarshal(data, &s1); err != nil { - return err - } - s.IntentDetectionConfidence = float64(s1.IntentDetectionConfidence) - s.SpeechRecognitionConfidence = float64(s1.SpeechRecognitionConfidence) - return nil -} - -// GoogleCloudDialogflowV2Sentiment: The sentiment, such as -// positive/negative feeling or association, for a unit of analysis, -// such as the query text. -type GoogleCloudDialogflowV2Sentiment struct { - // Magnitude: A non-negative number in the [0, +inf) range, which - // represents the absolute magnitude of sentiment, regardless of score - // (positive or negative). - Magnitude float64 `json:"magnitude,omitempty"` +// GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfoIntentParameterV +// alue: Represents a value for an intent parameter. +type GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfoIntentParameterValue struct { + // OriginalValue: Always present. Original text value extracted from + // user utterance. + OriginalValue string `json:"originalValue,omitempty"` - // Score: Sentiment score between -1.0 (negative sentiment) and 1.0 - // (positive sentiment). - Score float64 `json:"score,omitempty"` + // ResolvedValue: Always present. Structured value for the parameter + // extracted from user utterance. + ResolvedValue interface{} `json:"resolvedValue,omitempty"` - // ForceSendFields is a list of field names (e.g. "Magnitude") to + // ForceSendFields is a list of field names (e.g. "OriginalValue") 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 @@ -7458,53 +8392,50 @@ type GoogleCloudDialogflowV2Sentiment struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Magnitude") 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 + // NullFields is a list of field names (e.g. "OriginalValue") 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 *GoogleCloudDialogflowV2Sentiment) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2Sentiment +func (s *GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfoIntentParameterValue) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfoIntentParameterValue raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -func (s *GoogleCloudDialogflowV2Sentiment) UnmarshalJSON(data []byte) error { - type NoMethod GoogleCloudDialogflowV2Sentiment - var s1 struct { - Magnitude gensupport.JSONFloat64 `json:"magnitude"` - Score gensupport.JSONFloat64 `json:"score"` - *NoMethod - } - s1.NoMethod = (*NoMethod)(s) - if err := json.Unmarshal(data, &s1); err != nil { - return err - } - s.Magnitude = float64(s1.Magnitude) - s.Score = float64(s1.Score) - return nil -} +// GoogleCloudDialogflowCxV3beta1WebhookResponse: The response message +// for a webhook call. +type GoogleCloudDialogflowCxV3beta1WebhookResponse struct { + // FulfillmentResponse: The fulfillment response to send to the user. + // This field can be omitted by the webhook if it does not intend to + // send any response to the user. + FulfillmentResponse *GoogleCloudDialogflowCxV3beta1WebhookResponseFulfillmentResponse `json:"fulfillmentResponse,omitempty"` -// GoogleCloudDialogflowV2SentimentAnalysisResult: The result of -// sentiment analysis. Sentiment analysis inspects user input and -// identifies the prevailing subjective opinion, especially to determine -// a user's attitude as positive, negative, or neutral. For -// Participants.DetectIntent, it needs to be configured in -// DetectIntentRequest.query_params. For -// Participants.StreamingDetectIntent, it needs to be configured in -// StreamingDetectIntentRequest.query_params. And for -// Participants.AnalyzeContent and Participants.StreamingAnalyzeContent, -// it needs to be configured in -// ConversationProfile.human_agent_assistant_config -type GoogleCloudDialogflowV2SentimentAnalysisResult struct { - // QueryTextSentiment: The sentiment analysis result for `query_text`. - QueryTextSentiment *GoogleCloudDialogflowV2Sentiment `json:"queryTextSentiment,omitempty"` + // PageInfo: Information about page status. This field can be omitted by + // the webhook if it does not intend to modify page status. + PageInfo *GoogleCloudDialogflowCxV3beta1PageInfo `json:"pageInfo,omitempty"` - // ForceSendFields is a list of field names (e.g. "QueryTextSentiment") + // Payload: Value to append directly to QueryResult.webhook_payloads. + Payload googleapi.RawMessage `json:"payload,omitempty"` + + // SessionInfo: Information about session status. This field can be + // omitted by the webhook if it does not intend to modify session + // status. + SessionInfo *GoogleCloudDialogflowCxV3beta1SessionInfo `json:"sessionInfo,omitempty"` + + // TargetFlow: The target flow to transition to. Format: + // `projects//locations//agents//flows/`. + TargetFlow string `json:"targetFlow,omitempty"` + + // TargetPage: The target page to transition to. Format: + // `projects//locations//agents//flows//pages/`. + TargetPage string `json:"targetPage,omitempty"` + + // ForceSendFields is a list of field names (e.g. "FulfillmentResponse") // 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 @@ -7512,7 +8443,7 @@ type GoogleCloudDialogflowV2SentimentAnalysisResult struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "QueryTextSentiment") to + // NullFields is a list of field names (e.g. "FulfillmentResponse") 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 @@ -7522,54 +8453,30 @@ type GoogleCloudDialogflowV2SentimentAnalysisResult struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2SentimentAnalysisResult) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2SentimentAnalysisResult +func (s *GoogleCloudDialogflowCxV3beta1WebhookResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1WebhookResponse raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2SessionEntityType: A session represents a -// conversation between a Dialogflow agent and an end-user. You can -// create special entities, called session entities, during a session. -// Session entities can extend or replace custom entity types and only -// exist during the session that they were created for. All session -// data, including session entities, is stored by Dialogflow for 20 -// minutes. For more information, see the [session entity -// guide](https://cloud.google.com/dialogflow/docs/entities-session). -type GoogleCloudDialogflowV2SessionEntityType struct { - // Entities: Required. The collection of entities associated with this - // session entity type. - Entities []*GoogleCloudDialogflowV2EntityTypeEntity `json:"entities,omitempty"` - - // EntityOverrideMode: Required. Indicates whether the additional data - // should override or supplement the custom entity type definition. +// GoogleCloudDialogflowCxV3beta1WebhookResponseFulfillmentResponse: +// Represents a fulfillment response to the user. +type GoogleCloudDialogflowCxV3beta1WebhookResponseFulfillmentResponse struct { + // MergeBehavior: Merge behavior for `messages`. // // Possible values: - // "ENTITY_OVERRIDE_MODE_UNSPECIFIED" - Not specified. This value - // should be never used. - // "ENTITY_OVERRIDE_MODE_OVERRIDE" - The collection of session - // entities overrides the collection of entities in the corresponding - // custom entity type. - // "ENTITY_OVERRIDE_MODE_SUPPLEMENT" - The collection of session - // entities extends the collection of entities in the corresponding - // custom entity type. Note: Even in this override mode calls to - // `ListSessionEntityTypes`, `GetSessionEntityType`, - // `CreateSessionEntityType` and `UpdateSessionEntityType` only return - // the additional entities added in this session entity type. If you - // want to get the supplemented list, please call - // EntityTypes.GetEntityType on the custom entity type and merge. - EntityOverrideMode string `json:"entityOverrideMode,omitempty"` + // "MERGE_BEHAVIOR_UNSPECIFIED" - Not specified. `APPEND` will be + // used. + // "APPEND" - `messages` will be appended to the list of messages + // waiting to be sent to the user. + // "REPLACE" - `messages` will replace the list of messages waiting to + // be sent to the user. + MergeBehavior string `json:"mergeBehavior,omitempty"` - // Name: Required. The unique identifier of this session entity type. - // Format: `projects//agent/sessions//entityTypes/`, or - // `projects//agent/environments//users//sessions//entityTypes/`. If - // `Environment ID` is not specified, we assume default 'draft' - // environment. If `User ID` is not specified, we assume default '-' - // user. `` must be the display name of an existing entity type in the - // same agent that will be overridden or supplemented. - Name string `json:"name,omitempty"` + // Messages: The list of rich message responses to present to the user. + Messages []*GoogleCloudDialogflowCxV3beta1ResponseMessage `json:"messages,omitempty"` - // ForceSendFields is a list of field names (e.g. "Entities") to + // ForceSendFields is a list of field names (e.g. "MergeBehavior") 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 @@ -7577,187 +8484,99 @@ type GoogleCloudDialogflowV2SessionEntityType struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Entities") 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 + // NullFields is a list of field names (e.g. "MergeBehavior") 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 *GoogleCloudDialogflowV2SessionEntityType) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2SessionEntityType +func (s *GoogleCloudDialogflowCxV3beta1WebhookResponseFulfillmentResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1WebhookResponseFulfillmentResponse raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2WebhookRequest: The request message for a -// webhook call. -type GoogleCloudDialogflowV2WebhookRequest struct { - // OriginalDetectIntentRequest: Optional. The contents of the original - // request that was passed to `[Streaming]DetectIntent` call. - OriginalDetectIntentRequest *GoogleCloudDialogflowV2OriginalDetectIntentRequest `json:"originalDetectIntentRequest,omitempty"` - - // QueryResult: The result of the conversational query or event - // processing. Contains the same value as - // `[Streaming]DetectIntentResponse.query_result`. - QueryResult *GoogleCloudDialogflowV2QueryResult `json:"queryResult,omitempty"` +// GoogleCloudDialogflowV2AnnotatedMessagePart: Represents a part of a +// message possibly annotated with an entity. The part can be an entity +// or purely a part of the message between two entities or message +// start/end. +type GoogleCloudDialogflowV2AnnotatedMessagePart struct { + // EntityType: The [Dialogflow system entity + // type](https://cloud.google.com/dialogflow/docs/reference/system-entiti + // es) of this message part. If this is empty, Dialogflow could not + // annotate the phrase part with a system entity. + EntityType string `json:"entityType,omitempty"` - // ResponseId: The unique identifier of the response. Contains the same - // value as `[Streaming]DetectIntentResponse.response_id`. - ResponseId string `json:"responseId,omitempty"` + // FormattedValue: The [Dialogflow system entity formatted value + // ](https://cloud.google.com/dialogflow/docs/reference/system-entities) + // of this message part. For example for a system entity of type + // `@sys.unit-currency`, this may contain: { "amount": 5, "currency": + // "USD" } + FormattedValue interface{} `json:"formattedValue,omitempty"` - // Session: The unique identifier of detectIntent request session. Can - // be used to identify end-user inside webhook implementation. Format: - // `projects//agent/sessions/`, or - // `projects//agent/environments//users//sessions/`. - Session string `json:"session,omitempty"` + // Text: A part of a message possibly annotated with an entity. + Text string `json:"text,omitempty"` - // ForceSendFields is a list of field names (e.g. - // "OriginalDetectIntentRequest") 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. "EntityType") 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. - // "OriginalDetectIntentRequest") 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. "EntityType") 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 *GoogleCloudDialogflowV2WebhookRequest) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2WebhookRequest +func (s *GoogleCloudDialogflowV2AnnotatedMessagePart) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2AnnotatedMessagePart raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2WebhookResponse: The response message for a -// webhook call. This response is validated by the Dialogflow server. If -// validation fails, an error will be returned in the -// QueryResult.diagnostic_info field. Setting JSON fields to an empty -// value with the wrong type is a common error. To avoid this error: - -// Use "" for empty strings - Use `{}` or `null` for empty objects - -// Use `[]` or `null` for empty arrays For more information, see the -// [Protocol Buffers Language -// Guide](https://developers.google.com/protocol-buffers/docs/proto3#json -// ). -type GoogleCloudDialogflowV2WebhookResponse struct { - // FollowupEventInput: Optional. Invokes the supplied events. When this - // field is set, Dialogflow ignores the `fulfillment_text`, - // `fulfillment_messages`, and `payload` fields. - FollowupEventInput *GoogleCloudDialogflowV2EventInput `json:"followupEventInput,omitempty"` +// GoogleCloudDialogflowV2BatchUpdateEntityTypesResponse: The response +// message for EntityTypes.BatchUpdateEntityTypes. +type GoogleCloudDialogflowV2BatchUpdateEntityTypesResponse struct { + // EntityTypes: The collection of updated or created entity types. + EntityTypes []*GoogleCloudDialogflowV2EntityType `json:"entityTypes,omitempty"` - // FulfillmentMessages: Optional. The rich response messages intended - // for the end-user. When provided, Dialogflow uses this field to - // populate QueryResult.fulfillment_messages sent to the integration or - // API caller. - FulfillmentMessages []*GoogleCloudDialogflowV2IntentMessage `json:"fulfillmentMessages,omitempty"` + // ForceSendFields is a list of field names (e.g. "EntityTypes") 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:"-"` - // FulfillmentText: Optional. The text response message intended for the - // end-user. It is recommended to use - // `fulfillment_messages.text.text[0]` instead. When provided, - // Dialogflow uses this field to populate QueryResult.fulfillment_text - // sent to the integration or API caller. - FulfillmentText string `json:"fulfillmentText,omitempty"` + // NullFields is a list of field names (e.g. "EntityTypes") 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:"-"` +} - // OutputContexts: Optional. The collection of output contexts that will - // overwrite currently active contexts for the session and reset their - // lifespans. When provided, Dialogflow uses this field to populate - // QueryResult.output_contexts sent to the integration or API caller. - OutputContexts []*GoogleCloudDialogflowV2Context `json:"outputContexts,omitempty"` +func (s *GoogleCloudDialogflowV2BatchUpdateEntityTypesResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2BatchUpdateEntityTypesResponse + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} - // Payload: Optional. This field can be used to pass custom data from - // your webhook to the integration or API caller. Arbitrary JSON objects - // are supported. When provided, Dialogflow uses this field to populate - // QueryResult.webhook_payload sent to the integration or API caller. - // This field is also used by the [Google Assistant - // integration](https://cloud.google.com/dialogflow/docs/integrations/aog - // ) for rich response messages. See the format definition at [Google - // Assistant Dialogflow webhook - // format](https://developers.google.com/assistant/actions/build/json/dia - // logflow-webhook-json) - Payload googleapi.RawMessage `json:"payload,omitempty"` - - // SessionEntityTypes: Optional. Additional session entity types to - // replace or extend developer entity types with. The entity synonyms - // apply to all languages and persist for the session. Setting this data - // from a webhook overwrites the session entity types that have been set - // using `detectIntent`, `streamingDetectIntent` or SessionEntityType - // management methods. - SessionEntityTypes []*GoogleCloudDialogflowV2SessionEntityType `json:"sessionEntityTypes,omitempty"` - - // Source: Optional. A custom field used to identify the webhook source. - // Arbitrary strings are supported. When provided, Dialogflow uses this - // field to populate QueryResult.webhook_source sent to the integration - // or API caller. - Source string `json:"source,omitempty"` - - // ForceSendFields is a list of field names (e.g. "FollowupEventInput") - // 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. "FollowupEventInput") 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 *GoogleCloudDialogflowV2WebhookResponse) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2WebhookResponse - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// GoogleCloudDialogflowV2beta1BatchUpdateEntityTypesResponse: The -// response message for EntityTypes.BatchUpdateEntityTypes. -type GoogleCloudDialogflowV2beta1BatchUpdateEntityTypesResponse struct { - // EntityTypes: The collection of updated or created entity types. - EntityTypes []*GoogleCloudDialogflowV2beta1EntityType `json:"entityTypes,omitempty"` - - // ForceSendFields is a list of field names (e.g. "EntityTypes") 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. "EntityTypes") 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 *GoogleCloudDialogflowV2beta1BatchUpdateEntityTypesResponse) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1BatchUpdateEntityTypesResponse - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// GoogleCloudDialogflowV2beta1BatchUpdateIntentsResponse: The response +// GoogleCloudDialogflowV2BatchUpdateIntentsResponse: The response // message for Intents.BatchUpdateIntents. -type GoogleCloudDialogflowV2beta1BatchUpdateIntentsResponse struct { +type GoogleCloudDialogflowV2BatchUpdateIntentsResponse struct { // Intents: The collection of updated or created intents. - Intents []*GoogleCloudDialogflowV2beta1Intent `json:"intents,omitempty"` + Intents []*GoogleCloudDialogflowV2Intent `json:"intents,omitempty"` // ForceSendFields is a list of field names (e.g. "Intents") to // unconditionally include in API requests. By default, fields with @@ -7776,39 +8595,37 @@ type GoogleCloudDialogflowV2beta1BatchUpdateIntentsResponse struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1BatchUpdateIntentsResponse) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1BatchUpdateIntentsResponse +func (s *GoogleCloudDialogflowV2BatchUpdateIntentsResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2BatchUpdateIntentsResponse raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1Context: Dialogflow contexts are similar -// to natural language context. If a person says to you "they are -// orange", you need context in order to understand what "they" is -// referring to. Similarly, for Dialogflow to handle an end-user -// expression like that, it needs to be provided with context in order -// to correctly match an intent. Using contexts, you can control the -// flow of a conversation. You can configure contexts for an intent by -// setting input and output contexts, which are identified by string -// names. When an intent is matched, any configured output contexts for -// that intent become active. While any contexts are active, Dialogflow -// is more likely to match intents that are configured with input -// contexts that correspond to the currently active contexts. For more -// information about context, see the [Contexts +// GoogleCloudDialogflowV2Context: Dialogflow contexts are similar to +// natural language context. If a person says to you "they are orange", +// you need context in order to understand what "they" is referring to. +// Similarly, for Dialogflow to handle an end-user expression like that, +// it needs to be provided with context in order to correctly match an +// intent. Using contexts, you can control the flow of a conversation. +// You can configure contexts for an intent by setting input and output +// contexts, which are identified by string names. When an intent is +// matched, any configured output contexts for that intent become +// active. While any contexts are active, Dialogflow is more likely to +// match intents that are configured with input contexts that correspond +// to the currently active contexts. For more information about context, +// see the [Contexts // guide](https://cloud.google.com/dialogflow/docs/contexts-overview). -type GoogleCloudDialogflowV2beta1Context struct { +type GoogleCloudDialogflowV2Context struct { // LifespanCount: Optional. The number of conversational query requests // after which the context expires. The default is `0`. If set to `0`, // the context expires immediately. Contexts expire automatically after // 20 minutes if there are no matching queries. LifespanCount int64 `json:"lifespanCount,omitempty"` - // Name: Required. The unique identifier of the context. Supported - // formats: - `projects//agent/sessions//contexts/`, - - // `projects//locations//agent/sessions//contexts/`, - - // `projects//agent/environments//users//sessions//contexts/`, - - // `projects//locations//agent/environments//users//sessions//contexts/`, - // The `Context ID` is always converted to lowercase, may only contain + // Name: Required. The unique identifier of the context. Format: + // `projects//agent/sessions//contexts/`, or + // `projects//agent/environments//users//sessions//contexts/`. The + // `Context ID` is always converted to lowercase, may only contain // characters in a-zA-Z0-9_-% and may be at most 250 bytes long. If // `Environment ID` is not specified, we assume default 'draft' // environment. If `User ID` is not specified, we assume default '-' @@ -7846,14 +8663,74 @@ type GoogleCloudDialogflowV2beta1Context struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1Context) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1Context +func (s *GoogleCloudDialogflowV2Context) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2Context raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1EntityType: Each intent parameter has a -// type, called the entity type, which dictates exactly how data from an +// GoogleCloudDialogflowV2ConversationEvent: Represents a notification +// sent to Pub/Sub subscribers for conversation lifecycle events. +type GoogleCloudDialogflowV2ConversationEvent struct { + // Conversation: The unique identifier of the conversation this + // notification refers to. Format: `projects//conversations/`. + Conversation string `json:"conversation,omitempty"` + + // ErrorStatus: More detailed information about an error. Only set for + // type UNRECOVERABLE_ERROR_IN_PHONE_CALL. + ErrorStatus *GoogleRpcStatus `json:"errorStatus,omitempty"` + + // NewMessagePayload: Payload of NEW_MESSAGE event. + NewMessagePayload *GoogleCloudDialogflowV2Message `json:"newMessagePayload,omitempty"` + + // Type: The type of the event that this notification refers to. + // + // Possible values: + // "TYPE_UNSPECIFIED" - Type not set. + // "CONVERSATION_STARTED" - A new conversation has been opened. This + // is fired when a telephone call is answered, or a conversation is + // created via the API. + // "CONVERSATION_FINISHED" - An existing conversation has closed. This + // is fired when a telephone call is terminated, or a conversation is + // closed via the API. + // "HUMAN_INTERVENTION_NEEDED" - An existing conversation has received + // notification from Dialogflow that human intervention is required. + // "NEW_MESSAGE" - An existing conversation has received a new + // message, either from API or telephony. It is configured in + // ConversationProfile.new_message_event_notification_config + // "UNRECOVERABLE_ERROR" - Unrecoverable error during a telephone + // call. In general non-recoverable errors only occur if something was + // misconfigured in the ConversationProfile corresponding to the call. + // After a non-recoverable error, Dialogflow may stop responding. We + // don't fire this event: * in an API call because we can directly + // return the error, or, * when we can recover from an error. + Type string `json:"type,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Conversation") 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. "Conversation") 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 *GoogleCloudDialogflowV2ConversationEvent) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2ConversationEvent + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2EntityType: Each intent parameter has a type, +// called the entity type, which dictates exactly how data from an // end-user expression is extracted. Dialogflow provides predefined // system entities that can match many common types of data. For // example, there are system entities for matching dates, times, colors, @@ -7863,7 +8740,7 @@ func (s *GoogleCloudDialogflowV2beta1Context) MarshalJSON() ([]byte, error) { // purchase with a grocery store agent. For more information, see the // [Entity // guide](https://cloud.google.com/dialogflow/docs/entities-overview). -type GoogleCloudDialogflowV2beta1EntityType struct { +type GoogleCloudDialogflowV2EntityType struct { // AutoExpansionMode: Optional. Indicates whether the entity type can be // automatically expanded. // @@ -7883,7 +8760,7 @@ type GoogleCloudDialogflowV2beta1EntityType struct { // Entities: Optional. The collection of entity entries associated with // the entity type. - Entities []*GoogleCloudDialogflowV2beta1EntityTypeEntity `json:"entities,omitempty"` + Entities []*GoogleCloudDialogflowV2EntityTypeEntity `json:"entities,omitempty"` // Kind: Required. Indicates the kind of entity type. // @@ -7901,8 +8778,7 @@ type GoogleCloudDialogflowV2beta1EntityType struct { // Name: The unique identifier of the entity type. Required for // EntityTypes.UpdateEntityType and EntityTypes.BatchUpdateEntityTypes - // methods. Supported formats: - `projects//agent/entityTypes/` - - // `projects//locations//agent/entityTypes/` + // methods. Format: `projects//agent/entityTypes/`. Name string `json:"name,omitempty"` // ForceSendFields is a list of field names (e.g. "AutoExpansionMode") @@ -7923,15 +8799,15 @@ type GoogleCloudDialogflowV2beta1EntityType struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1EntityType) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1EntityType +func (s *GoogleCloudDialogflowV2EntityType) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2EntityType raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1EntityTypeEntity: An **entity entry** for -// an associated entity type. -type GoogleCloudDialogflowV2beta1EntityTypeEntity struct { +// GoogleCloudDialogflowV2EntityTypeEntity: An **entity entry** for an +// associated entity type. +type GoogleCloudDialogflowV2EntityTypeEntity struct { // Synonyms: Required. A collection of value synonyms. For example, if // the entity type is *vegetable*, and `value` is *scallions*, a synonym // could be *green onions*. For `KIND_LIST` entity types: * This @@ -7963,18 +8839,18 @@ type GoogleCloudDialogflowV2beta1EntityTypeEntity struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1EntityTypeEntity) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1EntityTypeEntity +func (s *GoogleCloudDialogflowV2EntityTypeEntity) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2EntityTypeEntity raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1EventInput: Events allow for matching -// intents by event name instead of the natural language input. For -// instance, input `` can trigger a personalized welcome response. The -// parameter `name` may be used by the agent in the response: "Hello +// GoogleCloudDialogflowV2EventInput: Events allow for matching intents +// by event name instead of the natural language input. For instance, +// input `` can trigger a personalized welcome response. The parameter +// `name` may be used by the agent in the response: "Hello // #welcome_event.name! What can I do for you today?". -type GoogleCloudDialogflowV2beta1EventInput struct { +type GoogleCloudDialogflowV2EventInput struct { // LanguageCode: Required. The language of this query. See [Language // Support](https://cloud.google.com/dialogflow/docs/reference/language) // for a list of the currently supported language codes. Note that @@ -8013,15 +8889,15 @@ type GoogleCloudDialogflowV2beta1EventInput struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1EventInput) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1EventInput +func (s *GoogleCloudDialogflowV2EventInput) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2EventInput raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1ExportAgentResponse: The response message -// for Agents.ExportAgent. -type GoogleCloudDialogflowV2beta1ExportAgentResponse struct { +// GoogleCloudDialogflowV2ExportAgentResponse: The response message for +// Agents.ExportAgent. +type GoogleCloudDialogflowV2ExportAgentResponse struct { // AgentContent: Zip compressed raw byte content for agent. AgentContent string `json:"agentContent,omitempty"` @@ -8047,22 +8923,22 @@ type GoogleCloudDialogflowV2beta1ExportAgentResponse struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1ExportAgentResponse) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1ExportAgentResponse +func (s *GoogleCloudDialogflowV2ExportAgentResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2ExportAgentResponse raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1Intent: An intent categorizes an -// end-user's intention for one conversation turn. For each agent, you -// define many intents, where your combined intents can handle a -// complete conversation. When an end-user writes or says something, -// referred to as an end-user expression or end-user input, Dialogflow -// matches the end-user input to the best intent in your agent. Matching -// an intent is also known as intent classification. For more -// information, see the [intent +// GoogleCloudDialogflowV2Intent: An intent categorizes an end-user's +// intention for one conversation turn. For each agent, you define many +// intents, where your combined intents can handle a complete +// conversation. When an end-user writes or says something, referred to +// as an end-user expression or end-user input, Dialogflow matches the +// end-user input to the best intent in your agent. Matching an intent +// is also known as intent classification. For more information, see the +// [intent // guide](https://cloud.google.com/dialogflow/docs/intents-overview). -type GoogleCloudDialogflowV2beta1Intent struct { +type GoogleCloudDialogflowV2Intent struct { // Action: Optional. The name of the action associated with the intent. // Note: The action name must not contain whitespaces. Action string `json:"action,omitempty"` @@ -8072,7 +8948,7 @@ type GoogleCloudDialogflowV2beta1Intent struct { // PLATFORM_UNSPECIFIED (i.e. default platform). // // Possible values: - // "PLATFORM_UNSPECIFIED" - Not specified. + // "PLATFORM_UNSPECIFIED" - Default platform. // "FACEBOOK" - Facebook. // "SLACK" - Slack. // "TELEGRAM" - Telegram. @@ -8083,34 +8959,26 @@ type GoogleCloudDialogflowV2beta1Intent struct { // "ACTIONS_ON_GOOGLE" - Google Assistant See [Dialogflow webhook // format](https://developers.google.com/assistant/actions/build/json/dia // logflow-webhook-json) - // "TELEPHONY" - Telephony Gateway. // "GOOGLE_HANGOUTS" - Google Hangouts. DefaultResponsePlatforms []string `json:"defaultResponsePlatforms,omitempty"` // DisplayName: Required. The name of this intent. DisplayName string `json:"displayName,omitempty"` - // EndInteraction: Optional. Indicates that this intent ends an - // interaction. Some integrations (e.g., Actions on Google or Dialogflow - // phone gateway) use this information to close interaction with an end - // user. Default is false. - EndInteraction bool `json:"endInteraction,omitempty"` - // Events: Optional. The collection of event names that trigger the // intent. If the collection of input contexts is not empty, all of the // contexts must be present in the active user session for an event to // trigger this intent. Event names are limited to 150 characters. Events []string `json:"events,omitempty"` - // FollowupIntentInfo: Output only. Information about all followup - // intents that have this intent as a direct or indirect parent. We - // populate this field only in the output. - FollowupIntentInfo []*GoogleCloudDialogflowV2beta1IntentFollowupIntentInfo `json:"followupIntentInfo,omitempty"` + // FollowupIntentInfo: Read-only. Information about all followup intents + // that have this intent as a direct or indirect parent. We populate + // this field only in the output. + FollowupIntentInfo []*GoogleCloudDialogflowV2IntentFollowupIntentInfo `json:"followupIntentInfo,omitempty"` // InputContextNames: Optional. The list of context names required for - // this intent to be triggered. Formats: - - // `projects//agent/sessions/-/contexts/` - - // `projects//locations//agent/sessions/-/contexts/` + // this intent to be triggered. Format: + // `projects//agent/sessions/-/contexts/`. InputContextNames []string `json:"inputContextNames,omitempty"` // IsFallback: Optional. Indicates whether this is a fallback intent. @@ -8118,7 +8986,7 @@ type GoogleCloudDialogflowV2beta1Intent struct { // Messages: Optional. The collection of rich messages corresponding to // the `Response` field in the Dialogflow console. - Messages []*GoogleCloudDialogflowV2beta1IntentMessage `json:"messages,omitempty"` + Messages []*GoogleCloudDialogflowV2IntentMessage `json:"messages,omitempty"` // MlDisabled: Optional. Indicates whether Machine Learning is disabled // for the intent. Note: If `ml_disabled` setting is set to true, then @@ -8126,21 +8994,9 @@ type GoogleCloudDialogflowV2beta1Intent struct { // match mode. Also, auto-markup in the UI is turned off. MlDisabled bool `json:"mlDisabled,omitempty"` - // MlEnabled: Optional. Indicates whether Machine Learning is enabled - // for the intent. Note: If `ml_enabled` setting is set to false, then - // this intent is not taken into account during inference in `ML ONLY` - // match mode. Also, auto-markup in the UI is turned off. DEPRECATED! - // Please use `ml_disabled` field instead. NOTE: If both `ml_enabled` - // and `ml_disabled` are either not set or false, then the default value - // is determined as follows: - Before April 15th, 2018 the default is: - // ml_enabled = false / ml_disabled = true. - After April 15th, 2018 the - // default is: ml_enabled = true / ml_disabled = false. - MlEnabled bool `json:"mlEnabled,omitempty"` - // Name: Optional. The unique identifier of this intent. Required for - // Intents.UpdateIntent and Intents.BatchUpdateIntents methods. - // Supported formats: - `projects//agent/intents/` - - // `projects//locations//agent/intents/` + // Intents.UpdateIntent and Intents.BatchUpdateIntents methods. Format: + // `projects//agent/intents/`. Name string `json:"name,omitempty"` // OutputContexts: Optional. The collection of contexts that are @@ -8148,17 +9004,17 @@ type GoogleCloudDialogflowV2beta1Intent struct { // collection should not set the parameters field. Setting the // `lifespan_count` to 0 will reset the context when the intent is // matched. Format: `projects//agent/sessions/-/contexts/`. - OutputContexts []*GoogleCloudDialogflowV2beta1Context `json:"outputContexts,omitempty"` + OutputContexts []*GoogleCloudDialogflowV2Context `json:"outputContexts,omitempty"` // Parameters: Optional. The collection of parameters associated with // the intent. - Parameters []*GoogleCloudDialogflowV2beta1IntentParameter `json:"parameters,omitempty"` + Parameters []*GoogleCloudDialogflowV2IntentParameter `json:"parameters,omitempty"` - // ParentFollowupIntentName: Optional. The unique identifier of the - // parent intent in the chain of followup intents. You can set this - // field when creating an intent, for example with CreateIntent or - // BatchUpdateIntents, in order to make this intent a followup intent. - // It identifies the parent followup intent. Format: + // ParentFollowupIntentName: Read-only after creation. The unique + // identifier of the parent intent in the chain of followup intents. You + // can set this field when creating an intent, for example with + // CreateIntent or BatchUpdateIntents, in order to make this intent a + // followup intent. It identifies the parent followup intent. Format: // `projects//agent/intents/`. ParentFollowupIntentName string `json:"parentFollowupIntentName,omitempty"` @@ -8173,15 +9029,15 @@ type GoogleCloudDialogflowV2beta1Intent struct { // the current session when this intent is matched. ResetContexts bool `json:"resetContexts,omitempty"` - // RootFollowupIntentName: Output only. The unique identifier of the - // root intent in the chain of followup intents. It identifies the - // correct followup intents chain for this intent. Format: - // `projects//agent/intents/`. + // RootFollowupIntentName: Read-only. The unique identifier of the root + // intent in the chain of followup intents. It identifies the correct + // followup intents chain for this intent. We populate this field only + // in the output. Format: `projects//agent/intents/`. RootFollowupIntentName string `json:"rootFollowupIntentName,omitempty"` // TrainingPhrases: Optional. The collection of examples that the agent // is trained on. - TrainingPhrases []*GoogleCloudDialogflowV2beta1IntentTrainingPhrase `json:"trainingPhrases,omitempty"` + TrainingPhrases []*GoogleCloudDialogflowV2IntentTrainingPhrase `json:"trainingPhrases,omitempty"` // WebhookState: Optional. Indicates whether webhooks are enabled for // the intent. @@ -8213,15 +9069,15 @@ type GoogleCloudDialogflowV2beta1Intent struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1Intent) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1Intent +func (s *GoogleCloudDialogflowV2Intent) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2Intent raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentFollowupIntentInfo: Represents a -// single followup intent in the chain. -type GoogleCloudDialogflowV2beta1IntentFollowupIntentInfo struct { +// GoogleCloudDialogflowV2IntentFollowupIntentInfo: Represents a single +// followup intent in the chain. +type GoogleCloudDialogflowV2IntentFollowupIntentInfo struct { // FollowupIntentName: The unique identifier of the followup intent. // Format: `projects//agent/intents/`. FollowupIntentName string `json:"followupIntentName,omitempty"` @@ -8248,39 +9104,42 @@ type GoogleCloudDialogflowV2beta1IntentFollowupIntentInfo struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1IntentFollowupIntentInfo) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentFollowupIntentInfo +func (s *GoogleCloudDialogflowV2IntentFollowupIntentInfo) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2IntentFollowupIntentInfo raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentMessage: Corresponds to the -// `Response` field in the Dialogflow console. -type GoogleCloudDialogflowV2beta1IntentMessage struct { - // BasicCard: Displays a basic card for Actions on Google. - BasicCard *GoogleCloudDialogflowV2beta1IntentMessageBasicCard `json:"basicCard,omitempty"` +// GoogleCloudDialogflowV2IntentMessage: A rich response message. +// Corresponds to the intent `Response` field in the Dialogflow console. +// For more information, see [Rich response +// messages](https://cloud.google.com/dialogflow/docs/intents-rich-messag +// es). +type GoogleCloudDialogflowV2IntentMessage struct { + // BasicCard: The basic card response for Actions on Google. + BasicCard *GoogleCloudDialogflowV2IntentMessageBasicCard `json:"basicCard,omitempty"` // BrowseCarouselCard: Browse carousel card for Actions on Google. - BrowseCarouselCard *GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCard `json:"browseCarouselCard,omitempty"` + BrowseCarouselCard *GoogleCloudDialogflowV2IntentMessageBrowseCarouselCard `json:"browseCarouselCard,omitempty"` - // Card: Displays a card. - Card *GoogleCloudDialogflowV2beta1IntentMessageCard `json:"card,omitempty"` + // Card: The card response. + Card *GoogleCloudDialogflowV2IntentMessageCard `json:"card,omitempty"` - // CarouselSelect: Displays a carousel card for Actions on Google. - CarouselSelect *GoogleCloudDialogflowV2beta1IntentMessageCarouselSelect `json:"carouselSelect,omitempty"` + // CarouselSelect: The carousel card response for Actions on Google. + CarouselSelect *GoogleCloudDialogflowV2IntentMessageCarouselSelect `json:"carouselSelect,omitempty"` - // Image: Displays an image. - Image *GoogleCloudDialogflowV2beta1IntentMessageImage `json:"image,omitempty"` + // Image: The image response. + Image *GoogleCloudDialogflowV2IntentMessageImage `json:"image,omitempty"` - // LinkOutSuggestion: Displays a link out suggestion chip for Actions on + // LinkOutSuggestion: The link out suggestion chip for Actions on // Google. - LinkOutSuggestion *GoogleCloudDialogflowV2beta1IntentMessageLinkOutSuggestion `json:"linkOutSuggestion,omitempty"` + LinkOutSuggestion *GoogleCloudDialogflowV2IntentMessageLinkOutSuggestion `json:"linkOutSuggestion,omitempty"` - // ListSelect: Displays a list card for Actions on Google. - ListSelect *GoogleCloudDialogflowV2beta1IntentMessageListSelect `json:"listSelect,omitempty"` + // ListSelect: The list card response for Actions on Google. + ListSelect *GoogleCloudDialogflowV2IntentMessageListSelect `json:"listSelect,omitempty"` // MediaContent: The media content card for Actions on Google. - MediaContent *GoogleCloudDialogflowV2beta1IntentMessageMediaContent `json:"mediaContent,omitempty"` + MediaContent *GoogleCloudDialogflowV2IntentMessageMediaContent `json:"mediaContent,omitempty"` // Payload: A custom platform-specific response. Payload googleapi.RawMessage `json:"payload,omitempty"` @@ -8288,7 +9147,7 @@ type GoogleCloudDialogflowV2beta1IntentMessage struct { // Platform: Optional. The platform that this message is intended for. // // Possible values: - // "PLATFORM_UNSPECIFIED" - Not specified. + // "PLATFORM_UNSPECIFIED" - Default platform. // "FACEBOOK" - Facebook. // "SLACK" - Slack. // "TELEGRAM" - Telegram. @@ -8299,47 +9158,24 @@ type GoogleCloudDialogflowV2beta1IntentMessage struct { // "ACTIONS_ON_GOOGLE" - Google Assistant See [Dialogflow webhook // format](https://developers.google.com/assistant/actions/build/json/dia // logflow-webhook-json) - // "TELEPHONY" - Telephony Gateway. // "GOOGLE_HANGOUTS" - Google Hangouts. Platform string `json:"platform,omitempty"` - // QuickReplies: Displays quick replies. - QuickReplies *GoogleCloudDialogflowV2beta1IntentMessageQuickReplies `json:"quickReplies,omitempty"` - - // RbmCarouselRichCard: Rich Business Messaging (RBM) carousel rich card - // response. - RbmCarouselRichCard *GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard `json:"rbmCarouselRichCard,omitempty"` - - // RbmStandaloneRichCard: Standalone Rich Business Messaging (RBM) rich - // card response. - RbmStandaloneRichCard *GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCard `json:"rbmStandaloneRichCard,omitempty"` - - // RbmText: Rich Business Messaging (RBM) text response. RBM allows - // businesses to send enriched and branded versions of SMS. See - // https://jibe.google.com/business-messaging. - RbmText *GoogleCloudDialogflowV2beta1IntentMessageRbmText `json:"rbmText,omitempty"` + // QuickReplies: The quick replies response. + QuickReplies *GoogleCloudDialogflowV2IntentMessageQuickReplies `json:"quickReplies,omitempty"` - // SimpleResponses: Returns a voice or text-only response for Actions on + // SimpleResponses: The voice and text-only responses for Actions on // Google. - SimpleResponses *GoogleCloudDialogflowV2beta1IntentMessageSimpleResponses `json:"simpleResponses,omitempty"` + SimpleResponses *GoogleCloudDialogflowV2IntentMessageSimpleResponses `json:"simpleResponses,omitempty"` - // Suggestions: Displays suggestion chips for Actions on Google. - Suggestions *GoogleCloudDialogflowV2beta1IntentMessageSuggestions `json:"suggestions,omitempty"` + // Suggestions: The suggestion chips for Actions on Google. + Suggestions *GoogleCloudDialogflowV2IntentMessageSuggestions `json:"suggestions,omitempty"` // TableCard: Table card for Actions on Google. - TableCard *GoogleCloudDialogflowV2beta1IntentMessageTableCard `json:"tableCard,omitempty"` - - // TelephonyPlayAudio: Plays audio from a file in Telephony Gateway. - TelephonyPlayAudio *GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudio `json:"telephonyPlayAudio,omitempty"` - - // TelephonySynthesizeSpeech: Synthesizes speech in Telephony Gateway. - TelephonySynthesizeSpeech *GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeech `json:"telephonySynthesizeSpeech,omitempty"` - - // TelephonyTransferCall: Transfers the call in Telephony Gateway. - TelephonyTransferCall *GoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCall `json:"telephonyTransferCall,omitempty"` + TableCard *GoogleCloudDialogflowV2IntentMessageTableCard `json:"tableCard,omitempty"` - // Text: Returns a text response. - Text *GoogleCloudDialogflowV2beta1IntentMessageText `json:"text,omitempty"` + // Text: The text response. + Text *GoogleCloudDialogflowV2IntentMessageText `json:"text,omitempty"` // ForceSendFields is a list of field names (e.g. "BasicCard") to // unconditionally include in API requests. By default, fields with @@ -8358,24 +9194,24 @@ type GoogleCloudDialogflowV2beta1IntentMessage struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1IntentMessage) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessage +func (s *GoogleCloudDialogflowV2IntentMessage) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2IntentMessage raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentMessageBasicCard: The basic card +// GoogleCloudDialogflowV2IntentMessageBasicCard: The basic card // message. Useful for displaying information. -type GoogleCloudDialogflowV2beta1IntentMessageBasicCard struct { +type GoogleCloudDialogflowV2IntentMessageBasicCard struct { // Buttons: Optional. The collection of card buttons. - Buttons []*GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton `json:"buttons,omitempty"` + Buttons []*GoogleCloudDialogflowV2IntentMessageBasicCardButton `json:"buttons,omitempty"` // FormattedText: Required, unless image is present. The body text of // the card. FormattedText string `json:"formattedText,omitempty"` // Image: Optional. The image for the card. - Image *GoogleCloudDialogflowV2beta1IntentMessageImage `json:"image,omitempty"` + Image *GoogleCloudDialogflowV2IntentMessageImage `json:"image,omitempty"` // Subtitle: Optional. The subtitle of the card. Subtitle string `json:"subtitle,omitempty"` @@ -8400,18 +9236,18 @@ type GoogleCloudDialogflowV2beta1IntentMessageBasicCard struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1IntentMessageBasicCard) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageBasicCard +func (s *GoogleCloudDialogflowV2IntentMessageBasicCard) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2IntentMessageBasicCard raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton: The button +// GoogleCloudDialogflowV2IntentMessageBasicCardButton: The button // object that appears at the bottom of a card. -type GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton struct { +type GoogleCloudDialogflowV2IntentMessageBasicCardButton struct { // OpenUriAction: Required. Action to take when a user taps on the // button. - OpenUriAction *GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonOpenUriAction `json:"openUriAction,omitempty"` + OpenUriAction *GoogleCloudDialogflowV2IntentMessageBasicCardButtonOpenUriAction `json:"openUriAction,omitempty"` // Title: Required. The title of the button. Title string `json:"title,omitempty"` @@ -8433,15 +9269,15 @@ type GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton +func (s *GoogleCloudDialogflowV2IntentMessageBasicCardButton) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2IntentMessageBasicCardButton raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonOpenUriAction: -// Opens the given URI. -type GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonOpenUriAction struct { +// GoogleCloudDialogflowV2IntentMessageBasicCardButtonOpenUriAction: +// Opens the given URI. +type GoogleCloudDialogflowV2IntentMessageBasicCardButtonOpenUriAction struct { // Uri: Required. The HTTP or HTTPS scheme URI. Uri string `json:"uri,omitempty"` @@ -8462,16 +9298,16 @@ type GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonOpenUriAction struc NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonOpenUriAction) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonOpenUriAction +func (s *GoogleCloudDialogflowV2IntentMessageBasicCardButtonOpenUriAction) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2IntentMessageBasicCardButtonOpenUriAction raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCard: Browse +// GoogleCloudDialogflowV2IntentMessageBrowseCarouselCard: Browse // Carousel Card for Actions on Google. // https://developers.google.com/actions/assistant/responses#browsing_carousel -type GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCard struct { +type GoogleCloudDialogflowV2IntentMessageBrowseCarouselCard struct { // ImageDisplayOptions: Optional. Settings for displaying the image. // Applies to every image in items. // @@ -8494,7 +9330,7 @@ type GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCard struct { // Items: Required. List of items in the Browse Carousel Card. Minimum // of two items, maximum of ten. - Items []*GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItem `json:"items,omitempty"` + Items []*GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItem `json:"items,omitempty"` // ForceSendFields is a list of field names (e.g. "ImageDisplayOptions") // to unconditionally include in API requests. By default, fields with @@ -8514,15 +9350,15 @@ type GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCard struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCard) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCard +func (s *GoogleCloudDialogflowV2IntentMessageBrowseCarouselCard) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2IntentMessageBrowseCarouselCard raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarou -// selCardItem: Browsing carousel tile -type GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItem struct { +// GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCa +// rdItem: Browsing carousel tile +type GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItem struct { // Description: Optional. Description of the carousel item. Maximum of // four lines of text. Description string `json:"description,omitempty"` @@ -8532,10 +9368,10 @@ type GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCa Footer string `json:"footer,omitempty"` // Image: Optional. Hero image for the carousel item. - Image *GoogleCloudDialogflowV2beta1IntentMessageImage `json:"image,omitempty"` + Image *GoogleCloudDialogflowV2IntentMessageImage `json:"image,omitempty"` // OpenUriAction: Required. Action to present to the user. - OpenUriAction *GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction `json:"openUriAction,omitempty"` + OpenUriAction *GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction `json:"openUriAction,omitempty"` // Title: Required. Title of the carousel item. Maximum of two lines of // text. @@ -8558,16 +9394,15 @@ type GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCa NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItem) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItem +func (s *GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItem) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItem raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarou -// selCardItemOpenUrlAction: Actions on Google action to open a given -// url. -type GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction struct { +// GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCa +// rdItemOpenUrlAction: Actions on Google action to open a given url. +type GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction struct { // Url: Required. URL Url string `json:"url,omitempty"` @@ -8598,17 +9433,16 @@ type GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCa NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction +func (s *GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentMessageCard: The card response -// message. -type GoogleCloudDialogflowV2beta1IntentMessageCard struct { +// GoogleCloudDialogflowV2IntentMessageCard: The card response message. +type GoogleCloudDialogflowV2IntentMessageCard struct { // Buttons: Optional. The collection of card buttons. - Buttons []*GoogleCloudDialogflowV2beta1IntentMessageCardButton `json:"buttons,omitempty"` + Buttons []*GoogleCloudDialogflowV2IntentMessageCardButton `json:"buttons,omitempty"` // ImageUri: Optional. The public URI to an image file for the card. ImageUri string `json:"imageUri,omitempty"` @@ -8636,15 +9470,15 @@ type GoogleCloudDialogflowV2beta1IntentMessageCard struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1IntentMessageCard) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageCard +func (s *GoogleCloudDialogflowV2IntentMessageCard) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2IntentMessageCard raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentMessageCardButton: Optional. -// Contains information about a button. -type GoogleCloudDialogflowV2beta1IntentMessageCardButton struct { +// GoogleCloudDialogflowV2IntentMessageCardButton: Contains information +// about a button. +type GoogleCloudDialogflowV2IntentMessageCardButton struct { // Postback: Optional. The text to send back to the Dialogflow API or a // URI to open. Postback string `json:"postback,omitempty"` @@ -8669,17 +9503,17 @@ type GoogleCloudDialogflowV2beta1IntentMessageCardButton struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1IntentMessageCardButton) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageCardButton +func (s *GoogleCloudDialogflowV2IntentMessageCardButton) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2IntentMessageCardButton raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentMessageCarouselSelect: The card for +// GoogleCloudDialogflowV2IntentMessageCarouselSelect: The card for // presenting a carousel of options to select from. -type GoogleCloudDialogflowV2beta1IntentMessageCarouselSelect struct { +type GoogleCloudDialogflowV2IntentMessageCarouselSelect struct { // Items: Required. Carousel items. - Items []*GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItem `json:"items,omitempty"` + Items []*GoogleCloudDialogflowV2IntentMessageCarouselSelectItem `json:"items,omitempty"` // ForceSendFields is a list of field names (e.g. "Items") to // unconditionally include in API requests. By default, fields with @@ -8698,23 +9532,23 @@ type GoogleCloudDialogflowV2beta1IntentMessageCarouselSelect struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1IntentMessageCarouselSelect) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageCarouselSelect +func (s *GoogleCloudDialogflowV2IntentMessageCarouselSelect) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2IntentMessageCarouselSelect raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItem: An item -// in the carousel. -type GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItem struct { +// GoogleCloudDialogflowV2IntentMessageCarouselSelectItem: An item in +// the carousel. +type GoogleCloudDialogflowV2IntentMessageCarouselSelectItem struct { // Description: Optional. The body text of the card. Description string `json:"description,omitempty"` // Image: Optional. The image to display. - Image *GoogleCloudDialogflowV2beta1IntentMessageImage `json:"image,omitempty"` + Image *GoogleCloudDialogflowV2IntentMessageImage `json:"image,omitempty"` // Info: Required. Additional info about the option item. - Info *GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo `json:"info,omitempty"` + Info *GoogleCloudDialogflowV2IntentMessageSelectItemInfo `json:"info,omitempty"` // Title: Required. Title of the carousel item. Title string `json:"title,omitempty"` @@ -8736,15 +9570,15 @@ type GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItem struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItem) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItem +func (s *GoogleCloudDialogflowV2IntentMessageCarouselSelectItem) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2IntentMessageCarouselSelectItem raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentMessageColumnProperties: Column +// GoogleCloudDialogflowV2IntentMessageColumnProperties: Column // properties for TableCard. -type GoogleCloudDialogflowV2beta1IntentMessageColumnProperties struct { +type GoogleCloudDialogflowV2IntentMessageColumnProperties struct { // Header: Required. Column heading. Header string `json:"header,omitempty"` @@ -8776,18 +9610,17 @@ type GoogleCloudDialogflowV2beta1IntentMessageColumnProperties struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1IntentMessageColumnProperties) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageColumnProperties +func (s *GoogleCloudDialogflowV2IntentMessageColumnProperties) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2IntentMessageColumnProperties raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentMessageImage: The image response +// GoogleCloudDialogflowV2IntentMessageImage: The image response // message. -type GoogleCloudDialogflowV2beta1IntentMessageImage struct { - // AccessibilityText: A text description of the image to be used for - // accessibility, e.g., screen readers. Required if image_uri is set for - // CarouselSelect. +type GoogleCloudDialogflowV2IntentMessageImage struct { + // AccessibilityText: Optional. A text description of the image to be + // used for accessibility, e.g., screen readers. AccessibilityText string `json:"accessibilityText,omitempty"` // ImageUri: Optional. The public URI to an image file. @@ -8811,16 +9644,16 @@ type GoogleCloudDialogflowV2beta1IntentMessageImage struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1IntentMessageImage) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageImage +func (s *GoogleCloudDialogflowV2IntentMessageImage) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2IntentMessageImage raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentMessageLinkOutSuggestion: The -// suggestion chip message that allows the user to jump out to the app -// or website associated with this agent. -type GoogleCloudDialogflowV2beta1IntentMessageLinkOutSuggestion struct { +// GoogleCloudDialogflowV2IntentMessageLinkOutSuggestion: The suggestion +// chip message that allows the user to jump out to the app or website +// associated with this agent. +type GoogleCloudDialogflowV2IntentMessageLinkOutSuggestion struct { // DestinationName: Required. The name of the app or site this chip is // linking to. DestinationName string `json:"destinationName,omitempty"` @@ -8847,17 +9680,17 @@ type GoogleCloudDialogflowV2beta1IntentMessageLinkOutSuggestion struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1IntentMessageLinkOutSuggestion) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageLinkOutSuggestion +func (s *GoogleCloudDialogflowV2IntentMessageLinkOutSuggestion) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2IntentMessageLinkOutSuggestion raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentMessageListSelect: The card for +// GoogleCloudDialogflowV2IntentMessageListSelect: The card for // presenting a list of options to select from. -type GoogleCloudDialogflowV2beta1IntentMessageListSelect struct { +type GoogleCloudDialogflowV2IntentMessageListSelect struct { // Items: Required. List items. - Items []*GoogleCloudDialogflowV2beta1IntentMessageListSelectItem `json:"items,omitempty"` + Items []*GoogleCloudDialogflowV2IntentMessageListSelectItem `json:"items,omitempty"` // Subtitle: Optional. Subtitle of the list. Subtitle string `json:"subtitle,omitempty"` @@ -8882,23 +9715,23 @@ type GoogleCloudDialogflowV2beta1IntentMessageListSelect struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1IntentMessageListSelect) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageListSelect +func (s *GoogleCloudDialogflowV2IntentMessageListSelect) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2IntentMessageListSelect raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentMessageListSelectItem: An item in -// the list. -type GoogleCloudDialogflowV2beta1IntentMessageListSelectItem struct { +// GoogleCloudDialogflowV2IntentMessageListSelectItem: An item in the +// list. +type GoogleCloudDialogflowV2IntentMessageListSelectItem struct { // Description: Optional. The main text describing the item. Description string `json:"description,omitempty"` // Image: Optional. The image to display. - Image *GoogleCloudDialogflowV2beta1IntentMessageImage `json:"image,omitempty"` + Image *GoogleCloudDialogflowV2IntentMessageImage `json:"image,omitempty"` // Info: Required. Additional information about this option. - Info *GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo `json:"info,omitempty"` + Info *GoogleCloudDialogflowV2IntentMessageSelectItemInfo `json:"info,omitempty"` // Title: Required. The title of the list item. Title string `json:"title,omitempty"` @@ -8920,17 +9753,17 @@ type GoogleCloudDialogflowV2beta1IntentMessageListSelectItem struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1IntentMessageListSelectItem) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageListSelectItem +func (s *GoogleCloudDialogflowV2IntentMessageListSelectItem) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2IntentMessageListSelectItem raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentMessageMediaContent: The media -// content card for Actions on Google. -type GoogleCloudDialogflowV2beta1IntentMessageMediaContent struct { +// GoogleCloudDialogflowV2IntentMessageMediaContent: The media content +// card for Actions on Google. +type GoogleCloudDialogflowV2IntentMessageMediaContent struct { // MediaObjects: Required. List of media objects. - MediaObjects []*GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObject `json:"mediaObjects,omitempty"` + MediaObjects []*GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject `json:"mediaObjects,omitempty"` // MediaType: Optional. What type of media is the content (ie "audio"). // @@ -8956,15 +9789,15 @@ type GoogleCloudDialogflowV2beta1IntentMessageMediaContent struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1IntentMessageMediaContent) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageMediaContent +func (s *GoogleCloudDialogflowV2IntentMessageMediaContent) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2IntentMessageMediaContent raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObje -// ct: Response media object for media content card. -type GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObject struct { +// GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject: +// Response media object for media content card. +type GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject struct { // ContentUrl: Required. Url where the media is stored. ContentUrl string `json:"contentUrl,omitempty"` @@ -8972,10 +9805,10 @@ type GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObject st Description string `json:"description,omitempty"` // Icon: Optional. Icon to display above media content. - Icon *GoogleCloudDialogflowV2beta1IntentMessageImage `json:"icon,omitempty"` + Icon *GoogleCloudDialogflowV2IntentMessageImage `json:"icon,omitempty"` // LargeImage: Optional. Image to display above media content. - LargeImage *GoogleCloudDialogflowV2beta1IntentMessageImage `json:"largeImage,omitempty"` + LargeImage *GoogleCloudDialogflowV2IntentMessageImage `json:"largeImage,omitempty"` // Name: Required. Name of media card. Name string `json:"name,omitempty"` @@ -8997,15 +9830,15 @@ type GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObject st NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObject) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObject +func (s *GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentMessageQuickReplies: The quick -// replies response message. -type GoogleCloudDialogflowV2beta1IntentMessageQuickReplies struct { +// GoogleCloudDialogflowV2IntentMessageQuickReplies: The quick replies +// response message. +type GoogleCloudDialogflowV2IntentMessageQuickReplies struct { // QuickReplies: Optional. The collection of quick replies. QuickReplies []string `json:"quickReplies,omitempty"` @@ -9029,32 +9862,24 @@ type GoogleCloudDialogflowV2beta1IntentMessageQuickReplies struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1IntentMessageQuickReplies) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageQuickReplies +func (s *GoogleCloudDialogflowV2IntentMessageQuickReplies) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2IntentMessageQuickReplies raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent: Rich -// Business Messaging (RBM) Card content -type GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent struct { - // Description: Optional. Description of the card (at most 2000 bytes). - // At least one of the title, description or media must be set. - Description string `json:"description,omitempty"` - - // Media: Optional. However at least one of the title, description or - // media must be set. Media (image, GIF or a video) to include in the - // card. - Media *GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMedia `json:"media,omitempty"` - - // Suggestions: Optional. List of suggestions to include in the card. - Suggestions []*GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion `json:"suggestions,omitempty"` +// GoogleCloudDialogflowV2IntentMessageSelectItemInfo: Additional info +// about the select item for when it is triggered in a dialog. +type GoogleCloudDialogflowV2IntentMessageSelectItemInfo struct { + // Key: Required. A unique key that will be sent back to the agent if + // this response is given. + Key string `json:"key,omitempty"` - // Title: Optional. Title of the card (at most 200 bytes). At least one - // of the title, description or media must be set. - Title string `json:"title,omitempty"` + // Synonyms: Optional. A list of synonyms that can also be used to + // trigger this item in dialog. + Synonyms []string `json:"synonyms,omitempty"` - // ForceSendFields is a list of field names (e.g. "Description") to + // ForceSendFields is a list of field names (e.g. "Key") 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 @@ -9062,55 +9887,37 @@ type GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent struct { // 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 + // NullFields is a list of field names (e.g. "Key") 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 *GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent +func (s *GoogleCloudDialogflowV2IntentMessageSelectItemInfo) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2IntentMessageSelectItemInfo raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMedia: Rich -// Business Messaging (RBM) Media displayed in Cards The following -// media-types are currently supported: Image Types * image/jpeg * -// image/jpg' * image/gif * image/png Video Types * video/h263 * -// video/m4v * video/mp4 * video/mpeg * video/mpeg4 * video/webm -type GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMedia struct { - // FileUri: Required. Publicly reachable URI of the file. The RBM - // platform determines the MIME type of the file from the content-type - // field in the HTTP headers when the platform fetches the file. The - // content-type field must be present and accurate in the HTTP response - // from the URL. - FileUri string `json:"fileUri,omitempty"` +// GoogleCloudDialogflowV2IntentMessageSimpleResponse: The simple +// response message containing speech or text. +type GoogleCloudDialogflowV2IntentMessageSimpleResponse struct { + // DisplayText: Optional. The text to display. + DisplayText string `json:"displayText,omitempty"` - // Height: Required for cards with vertical orientation. The height of - // the media within a rich card with a vertical layout. For a standalone - // card with horizontal layout, height is not customizable, and this - // field is ignored. - // - // Possible values: - // "HEIGHT_UNSPECIFIED" - Not specified. - // "SHORT" - 112 DP. - // "MEDIUM" - 168 DP. - // "TALL" - 264 DP. Not available for rich card carousels when the - // card width is set to small. - Height string `json:"height,omitempty"` + // Ssml: One of text_to_speech or ssml must be provided. Structured + // spoken response to the user in the SSML format. Mutually exclusive + // with text_to_speech. + Ssml string `json:"ssml,omitempty"` - // ThumbnailUri: Optional. Publicly reachable URI of the thumbnail.If - // you don't provide a thumbnail URI, the RBM platform displays a blank - // placeholder thumbnail until the user's device downloads the file. - // Depending on the user's setting, the file may not download - // automatically and may require the user to tap a download button. - ThumbnailUri string `json:"thumbnailUri,omitempty"` + // TextToSpeech: One of text_to_speech or ssml must be provided. The + // plain text of the speech output. Mutually exclusive with ssml. + TextToSpeech string `json:"textToSpeech,omitempty"` - // ForceSendFields is a list of field names (e.g. "FileUri") to + // ForceSendFields is a list of field names (e.g. "DisplayText") 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 @@ -9118,40 +9925,31 @@ type GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMedia struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "FileUri") 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 + // NullFields is a list of field names (e.g. "DisplayText") 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 *GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMedia) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMedia +func (s *GoogleCloudDialogflowV2IntentMessageSimpleResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2IntentMessageSimpleResponse raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard: Carousel -// Rich Business Messaging (RBM) rich card. Rich cards allow you to -// respond to users with more vivid content, e.g. with media and -// suggestions. If you want to show a single card with more control over -// the layout, please use RbmStandaloneCard instead. -type GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard struct { - // CardContents: Required. The cards in the carousel. A carousel must - // have at least 2 cards and at most 10. - CardContents []*GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent `json:"cardContents,omitempty"` - - // CardWidth: Required. The width of the cards in the carousel. - // - // Possible values: - // "CARD_WIDTH_UNSPECIFIED" - Not specified. - // "SMALL" - 120 DP. Note that tall media cannot be used. - // "MEDIUM" - 232 DP. - CardWidth string `json:"cardWidth,omitempty"` +// GoogleCloudDialogflowV2IntentMessageSimpleResponses: The collection +// of simple response candidates. This message in +// `QueryResult.fulfillment_messages` and +// `WebhookResponse.fulfillment_messages` should contain only one +// `SimpleResponse`. +type GoogleCloudDialogflowV2IntentMessageSimpleResponses struct { + // SimpleResponses: Required. The list of simple responses. + SimpleResponses []*GoogleCloudDialogflowV2IntentMessageSimpleResponse `json:"simpleResponses,omitempty"` - // ForceSendFields is a list of field names (e.g. "CardContents") to + // ForceSendFields is a list of field names (e.g. "SimpleResponses") 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 @@ -9159,49 +9957,30 @@ type GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "CardContents") 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. "SimpleResponses") 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 *GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard +func (s *GoogleCloudDialogflowV2IntentMessageSimpleResponses) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2IntentMessageSimpleResponses raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCard: -// Standalone Rich Business Messaging (RBM) rich card. Rich cards allow -// you to respond to users with more vivid content, e.g. with media and -// suggestions. You can group multiple rich cards into one using -// RbmCarouselCard but carousel cards will give you less control over -// the card layout. -type GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCard struct { - // CardContent: Required. Card content. - CardContent *GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent `json:"cardContent,omitempty"` - - // CardOrientation: Required. Orientation of the card. - // - // Possible values: - // "CARD_ORIENTATION_UNSPECIFIED" - Not specified. - // "HORIZONTAL" - Horizontal layout. - // "VERTICAL" - Vertical layout. - CardOrientation string `json:"cardOrientation,omitempty"` - - // ThumbnailImageAlignment: Required if orientation is horizontal. Image - // preview alignment for standalone cards with horizontal layout. - // - // Possible values: - // "THUMBNAIL_IMAGE_ALIGNMENT_UNSPECIFIED" - Not specified. - // "LEFT" - Thumbnail preview is left-aligned. - // "RIGHT" - Thumbnail preview is right-aligned. - ThumbnailImageAlignment string `json:"thumbnailImageAlignment,omitempty"` +// GoogleCloudDialogflowV2IntentMessageSuggestion: The suggestion chip +// message that the user can tap to quickly post a reply to the +// conversation. +type GoogleCloudDialogflowV2IntentMessageSuggestion struct { + // Title: Required. The text shown the in the suggestion chip. + Title string `json:"title,omitempty"` - // ForceSendFields is a list of field names (e.g. "CardContent") to + // ForceSendFields is a list of field names (e.g. "Title") 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 @@ -9209,43 +9988,28 @@ type GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCard struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "CardContent") 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 + // NullFields is a list of field names (e.g. "Title") 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 *GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCard) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCard +func (s *GoogleCloudDialogflowV2IntentMessageSuggestion) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2IntentMessageSuggestion raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction: Rich -// Business Messaging (RBM) suggested client-side action that the user -// can choose from the card. -type GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction struct { - // Dial: Suggested client side action: Dial a phone number - Dial *GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDial `json:"dial,omitempty"` - - // OpenUrl: Suggested client side action: Open a URI on device - OpenUrl *GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionOpenUri `json:"openUrl,omitempty"` - - // PostbackData: Opaque payload that the Dialogflow receives in a user - // event when the user taps the suggested action. This data will be also - // forwarded to webhook to allow performing custom business logic. - PostbackData string `json:"postbackData,omitempty"` - - // ShareLocation: Suggested client side action: Share user location - ShareLocation *GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionShareLocation `json:"shareLocation,omitempty"` - - // Text: Text to display alongside the action. - Text string `json:"text,omitempty"` +// GoogleCloudDialogflowV2IntentMessageSuggestions: The collection of +// suggestions. +type GoogleCloudDialogflowV2IntentMessageSuggestions struct { + // Suggestions: Required. The list of suggested replies. + Suggestions []*GoogleCloudDialogflowV2IntentMessageSuggestion `json:"suggestions,omitempty"` - // ForceSendFields is a list of field names (e.g. "Dial") to + // ForceSendFields is a list of field names (e.g. "Suggestions") 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 @@ -9253,32 +10017,44 @@ type GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Dial") 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 + // NullFields is a list of field names (e.g. "Suggestions") 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 *GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction +func (s *GoogleCloudDialogflowV2IntentMessageSuggestions) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2IntentMessageSuggestions raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggeste -// dActionDial: Opens the user's default dialer app with the specified -// phone number but does not dial automatically. -type GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDial struct { - // PhoneNumber: Required. The phone number to fill in the default dialer - // app. This field should be in - // [E.164](https://en.wikipedia.org/wiki/E.164) format. An example of a - // correctly formatted phone number: +15556767888. - PhoneNumber string `json:"phoneNumber,omitempty"` +// GoogleCloudDialogflowV2IntentMessageTableCard: Table card for Actions +// on Google. +type GoogleCloudDialogflowV2IntentMessageTableCard struct { + // Buttons: Optional. List of buttons for the card. + Buttons []*GoogleCloudDialogflowV2IntentMessageBasicCardButton `json:"buttons,omitempty"` - // ForceSendFields is a list of field names (e.g. "PhoneNumber") to + // ColumnProperties: Optional. Display properties for the columns in + // this table. + ColumnProperties []*GoogleCloudDialogflowV2IntentMessageColumnProperties `json:"columnProperties,omitempty"` + + // Image: Optional. Image which should be displayed on the card. + Image *GoogleCloudDialogflowV2IntentMessageImage `json:"image,omitempty"` + + // Rows: Optional. Rows in this table of data. + Rows []*GoogleCloudDialogflowV2IntentMessageTableCardRow `json:"rows,omitempty"` + + // Subtitle: Optional. Subtitle to the title. + Subtitle string `json:"subtitle,omitempty"` + + // Title: Required. Title of the card. + Title string `json:"title,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Buttons") 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 @@ -9286,31 +10062,28 @@ type GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActi // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "PhoneNumber") 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 + // NullFields is a list of field names (e.g. "Buttons") 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 *GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDial) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDial +func (s *GoogleCloudDialogflowV2IntentMessageTableCard) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2IntentMessageTableCard raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggeste -// dActionOpenUri: Opens the user's default web browser app to the -// specified uri If the user has an app installed that is registered as -// the default handler for the URL, then this app will be opened -// instead, and its icon will be used in the suggested action UI. -type GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionOpenUri struct { - // Uri: Required. The uri to open on the user device - Uri string `json:"uri,omitempty"` +// GoogleCloudDialogflowV2IntentMessageTableCardCell: Cell of +// TableCardRow. +type GoogleCloudDialogflowV2IntentMessageTableCardCell struct { + // Text: Required. Text in this cell. + Text string `json:"text,omitempty"` - // ForceSendFields is a list of field names (e.g. "Uri") to + // ForceSendFields is a list of field names (e.g. "Text") 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 @@ -9318,7 +10091,7 @@ type GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActi // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Uri") to include in API + // NullFields is a list of field names (e.g. "Text") 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 @@ -9327,31 +10100,22 @@ type GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActi NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionOpenUri) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionOpenUri +func (s *GoogleCloudDialogflowV2IntentMessageTableCardCell) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2IntentMessageTableCardCell raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggeste -// dActionShareLocation: Opens the device's location chooser so the user -// can pick a location to send back to the agent. -type GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionShareLocation struct { -} - -// GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReply: Rich -// Business Messaging (RBM) suggested reply that the user can click -// instead of typing in their own response. -type GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReply struct { - // PostbackData: Opaque payload that the Dialogflow receives in a user - // event when the user taps the suggested reply. This data will be also - // forwarded to webhook to allow performing custom business logic. - PostbackData string `json:"postbackData,omitempty"` +// GoogleCloudDialogflowV2IntentMessageTableCardRow: Row of TableCard. +type GoogleCloudDialogflowV2IntentMessageTableCardRow struct { + // Cells: Optional. List of cells that make up this row. + Cells []*GoogleCloudDialogflowV2IntentMessageTableCardCell `json:"cells,omitempty"` - // Text: Suggested reply text. - Text string `json:"text,omitempty"` + // DividerAfter: Optional. Whether to add a visual divider after this + // row. + DividerAfter bool `json:"dividerAfter,omitempty"` - // ForceSendFields is a list of field names (e.g. "PostbackData") to + // ForceSendFields is a list of field names (e.g. "Cells") 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 @@ -9359,33 +10123,27 @@ type GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReply struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "PostbackData") 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 + // NullFields is a list of field names (e.g. "Cells") 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 *GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReply) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReply +func (s *GoogleCloudDialogflowV2IntentMessageTableCardRow) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2IntentMessageTableCardRow raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion: Rich Business -// Messaging (RBM) suggestion. Suggestions allow user to easily -// select/click a predefined response or perform an action (like opening -// a web uri). -type GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion struct { - // Action: Predefined client side actions that user can choose - Action *GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction `json:"action,omitempty"` - - // Reply: Predefined replies for user to select instead of typing - Reply *GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReply `json:"reply,omitempty"` +// GoogleCloudDialogflowV2IntentMessageText: The text response message. +type GoogleCloudDialogflowV2IntentMessageText struct { + // Text: Optional. The collection of the agent's responses. + Text []string `json:"text,omitempty"` - // ForceSendFields is a list of field names (e.g. "Action") to + // ForceSendFields is a list of field names (e.g. "Text") 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 @@ -9393,7 +10151,7 @@ type GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Action") to include in API + // NullFields is a list of field names (e.g. "Text") 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 @@ -9402,22 +10160,51 @@ type GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion +func (s *GoogleCloudDialogflowV2IntentMessageText) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2IntentMessageText raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentMessageRbmText: Rich Business -// Messaging (RBM) text response with suggestions. -type GoogleCloudDialogflowV2beta1IntentMessageRbmText struct { - // RbmSuggestion: Optional. One or more suggestions to show to the user. - RbmSuggestion []*GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion `json:"rbmSuggestion,omitempty"` +// GoogleCloudDialogflowV2IntentParameter: Represents intent parameters. +type GoogleCloudDialogflowV2IntentParameter struct { + // DefaultValue: Optional. The default value to use when the `value` + // yields an empty result. Default values can be extracted from contexts + // by using the following syntax: `#context_name.parameter_name`. + DefaultValue string `json:"defaultValue,omitempty"` - // Text: Required. Text sent and displayed to the user. - Text string `json:"text,omitempty"` + // DisplayName: Required. The name of the parameter. + DisplayName string `json:"displayName,omitempty"` - // ForceSendFields is a list of field names (e.g. "RbmSuggestion") to + // EntityTypeDisplayName: Optional. The name of the entity type, + // prefixed with `@`, that describes values of the parameter. If the + // parameter is required, this must be provided. + EntityTypeDisplayName string `json:"entityTypeDisplayName,omitempty"` + + // IsList: Optional. Indicates whether the parameter represents a list + // of values. + IsList bool `json:"isList,omitempty"` + + // Mandatory: Optional. Indicates whether the parameter is required. + // That is, whether the intent cannot be completed without collecting + // the parameter value. + Mandatory bool `json:"mandatory,omitempty"` + + // Name: The unique identifier of this parameter. + Name string `json:"name,omitempty"` + + // Prompts: Optional. The collection of prompts that the agent can + // present to the user in order to collect a value for the parameter. + Prompts []string `json:"prompts,omitempty"` + + // Value: Optional. The definition of the parameter value. It can be: - + // a constant string, - a parameter value defined as `$parameter_name`, + // - an original parameter value defined as `$parameter_name.original`, + // - a parameter value from some context defined as + // `#context_name.parameter_name`. + Value string `json:"value,omitempty"` + + // ForceSendFields is a list of field names (e.g. "DefaultValue") 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 @@ -9425,7 +10212,7 @@ type GoogleCloudDialogflowV2beta1IntentMessageRbmText struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "RbmSuggestion") to include + // NullFields is a list of field names (e.g. "DefaultValue") 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 @@ -9434,24 +10221,53 @@ type GoogleCloudDialogflowV2beta1IntentMessageRbmText struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1IntentMessageRbmText) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageRbmText +func (s *GoogleCloudDialogflowV2IntentParameter) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2IntentParameter raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo: Additional -// info about the select item for when it is triggered in a dialog. -type GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo struct { - // Key: Required. A unique key that will be sent back to the agent if - // this response is given. - Key string `json:"key,omitempty"` - - // Synonyms: Optional. A list of synonyms that can also be used to - // trigger this item in dialog. - Synonyms []string `json:"synonyms,omitempty"` +// GoogleCloudDialogflowV2IntentTrainingPhrase: Represents an example +// that the agent is trained on. +type GoogleCloudDialogflowV2IntentTrainingPhrase struct { + // Name: Output only. The unique identifier of this training phrase. + Name string `json:"name,omitempty"` - // ForceSendFields is a list of field names (e.g. "Key") to + // Parts: Required. The ordered list of training phrase parts. The parts + // are concatenated in order to form the training phrase. Note: The API + // does not automatically annotate training phrases like the Dialogflow + // Console does. Note: Do not forget to include whitespace at part + // boundaries, so the training phrase is well formatted when the parts + // are concatenated. If the training phrase does not need to be + // annotated with parameters, you just need a single part with only the + // Part.text field set. If you want to annotate the training phrase, you + // must create multiple parts, where the fields of each part are + // populated in one of two ways: - `Part.text` is set to a part of the + // phrase that has no parameters. - `Part.text` is set to a part of the + // phrase that you want to annotate, and the `entity_type`, `alias`, and + // `user_defined` fields are all set. + Parts []*GoogleCloudDialogflowV2IntentTrainingPhrasePart `json:"parts,omitempty"` + + // TimesAddedCount: Optional. Indicates how many times this example was + // added to the intent. Each time a developer adds an existing sample by + // editing an intent or training, this counter is increased. + TimesAddedCount int64 `json:"timesAddedCount,omitempty"` + + // Type: Required. The type of the training phrase. + // + // Possible values: + // "TYPE_UNSPECIFIED" - Not specified. This value should never be + // used. + // "EXAMPLE" - Examples do not contain @-prefixed entity type names, + // but example parts can be annotated with entity types. + // "TEMPLATE" - Templates are not annotated with entity types, but + // they can contain @-prefixed entity type names as substrings. Template + // mode has been deprecated. Example mode is the only supported way to + // create new training phrases. If you have existing training phrases + // that you've created in template mode, those will continue to work. + Type string `json:"type,omitempty"` + + // 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 @@ -9459,7 +10275,7 @@ type GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Key") to include in API + // 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 @@ -9468,28 +10284,34 @@ type GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo +func (s *GoogleCloudDialogflowV2IntentTrainingPhrase) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2IntentTrainingPhrase raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse: The simple -// response message containing speech or text. -type GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse struct { - // DisplayText: Optional. The text to display. - DisplayText string `json:"displayText,omitempty"` +// GoogleCloudDialogflowV2IntentTrainingPhrasePart: Represents a part of +// a training phrase. +type GoogleCloudDialogflowV2IntentTrainingPhrasePart struct { + // Alias: Optional. The parameter name for the value extracted from the + // annotated part of the example. This field is required for annotated + // parts of the training phrase. + Alias string `json:"alias,omitempty"` - // Ssml: One of text_to_speech or ssml must be provided. Structured - // spoken response to the user in the SSML format. Mutually exclusive - // with text_to_speech. - Ssml string `json:"ssml,omitempty"` + // EntityType: Optional. The entity type name prefixed with `@`. This + // field is required for annotated parts of the training phrase. + EntityType string `json:"entityType,omitempty"` - // TextToSpeech: One of text_to_speech or ssml must be provided. The - // plain text of the speech output. Mutually exclusive with ssml. - TextToSpeech string `json:"textToSpeech,omitempty"` + // Text: Required. The text for this part. + Text string `json:"text,omitempty"` - // ForceSendFields is a list of field names (e.g. "DisplayText") to + // UserDefined: Optional. Indicates whether the text was manually + // annotated. This field is set to true when the Dialogflow Console is + // used to manually annotate the part. When creating an annotated part + // with the API, you must set this to true. + UserDefined bool `json:"userDefined,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Alias") 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 @@ -9497,62 +10319,57 @@ type GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "DisplayText") 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 + // NullFields is a list of field names (e.g. "Alias") 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 *GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse +func (s *GoogleCloudDialogflowV2IntentTrainingPhrasePart) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2IntentTrainingPhrasePart raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentMessageSimpleResponses: The -// collection of simple response candidates. This message in -// `QueryResult.fulfillment_messages` and -// `WebhookResponse.fulfillment_messages` should contain only one -// `SimpleResponse`. -type GoogleCloudDialogflowV2beta1IntentMessageSimpleResponses struct { - // SimpleResponses: Required. The list of simple responses. - SimpleResponses []*GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse `json:"simpleResponses,omitempty"` +// GoogleCloudDialogflowV2Message: Represents a message posted into a +// conversation. +type GoogleCloudDialogflowV2Message struct { + // Content: Required. The message content. + Content string `json:"content,omitempty"` - // ForceSendFields is a list of field names (e.g. "SimpleResponses") 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:"-"` + // CreateTime: Output only. The time when the message was created. + CreateTime string `json:"createTime,omitempty"` - // NullFields is a list of field names (e.g. "SimpleResponses") 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:"-"` -} + // LanguageCode: Optional. The message language. This should be a + // [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. + // Example: "en-US". + LanguageCode string `json:"languageCode,omitempty"` -func (s *GoogleCloudDialogflowV2beta1IntentMessageSimpleResponses) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageSimpleResponses - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} + // MessageAnnotation: Output only. The annotation for the message. + MessageAnnotation *GoogleCloudDialogflowV2MessageAnnotation `json:"messageAnnotation,omitempty"` -// GoogleCloudDialogflowV2beta1IntentMessageSuggestion: The suggestion -// chip message that the user can tap to quickly post a reply to the -// conversation. -type GoogleCloudDialogflowV2beta1IntentMessageSuggestion struct { - // Title: Required. The text shown the in the suggestion chip. - Title string `json:"title,omitempty"` + // Name: The unique identifier of the message. Format: + // `projects//locations//conversations//messages/`. + Name string `json:"name,omitempty"` - // ForceSendFields is a list of field names (e.g. "Title") to + // Participant: Output only. The participant that sends this message. + Participant string `json:"participant,omitempty"` + + // ParticipantRole: Output only. The role of the participant. + // + // Possible values: + // "ROLE_UNSPECIFIED" - Participant role not set. + // "HUMAN_AGENT" - Participant is a human agent. + // "AUTOMATED_AGENT" - Participant is an automated agent, such as a + // Dialogflow agent. + // "END_USER" - Participant is an end user that has called or chatted + // with Dialogflow services. + ParticipantRole string `json:"participantRole,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Content") 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 @@ -9560,8 +10377,8 @@ type GoogleCloudDialogflowV2beta1IntentMessageSuggestion struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Title") to include in API - // requests with the JSON null value. By default, fields with empty + // NullFields is a list of field names (e.g. "Content") 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. @@ -9569,19 +10386,25 @@ type GoogleCloudDialogflowV2beta1IntentMessageSuggestion struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1IntentMessageSuggestion) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageSuggestion +func (s *GoogleCloudDialogflowV2Message) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2Message raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentMessageSuggestions: The collection -// of suggestions. -type GoogleCloudDialogflowV2beta1IntentMessageSuggestions struct { - // Suggestions: Required. The list of suggested replies. - Suggestions []*GoogleCloudDialogflowV2beta1IntentMessageSuggestion `json:"suggestions,omitempty"` +// GoogleCloudDialogflowV2MessageAnnotation: Represents the result of +// annotation for the message. +type GoogleCloudDialogflowV2MessageAnnotation struct { + // ContainEntities: Indicates whether the text message contains + // entities. + ContainEntities bool `json:"containEntities,omitempty"` - // ForceSendFields is a list of field names (e.g. "Suggestions") to + // Parts: The collection of annotated message parts ordered by their + // position in the message. You can recover the annotated message by + // concatenating [AnnotatedMessagePart.text]. + Parts []*GoogleCloudDialogflowV2AnnotatedMessagePart `json:"parts,omitempty"` + + // ForceSendFields is a list of field names (e.g. "ContainEntities") 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 @@ -9589,44 +10412,47 @@ type GoogleCloudDialogflowV2beta1IntentMessageSuggestions struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Suggestions") 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. "ContainEntities") 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 *GoogleCloudDialogflowV2beta1IntentMessageSuggestions) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageSuggestions +func (s *GoogleCloudDialogflowV2MessageAnnotation) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2MessageAnnotation raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentMessageTableCard: Table card for -// Actions on Google. -type GoogleCloudDialogflowV2beta1IntentMessageTableCard struct { - // Buttons: Optional. List of buttons for the card. - Buttons []*GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton `json:"buttons,omitempty"` - - // ColumnProperties: Optional. Display properties for the columns in - // this table. - ColumnProperties []*GoogleCloudDialogflowV2beta1IntentMessageColumnProperties `json:"columnProperties,omitempty"` - - // Image: Optional. Image which should be displayed on the card. - Image *GoogleCloudDialogflowV2beta1IntentMessageImage `json:"image,omitempty"` - - // Rows: Optional. Rows in this table of data. - Rows []*GoogleCloudDialogflowV2beta1IntentMessageTableCardRow `json:"rows,omitempty"` +// GoogleCloudDialogflowV2OriginalDetectIntentRequest: Represents the +// contents of the original request that was passed to the +// `[Streaming]DetectIntent` call. +type GoogleCloudDialogflowV2OriginalDetectIntentRequest struct { + // Payload: Optional. This field is set to the value of the + // `QueryParameters.payload` field passed in the request. Some + // integrations that query a Dialogflow agent may provide additional + // information in the payload. In particular, for the Dialogflow Phone + // Gateway integration, this field has the form: { "telephony": { + // "caller_id": "+18558363987" } } Note: The caller ID field + // (`caller_id`) will be redacted for Trial Edition agents and populated + // with the caller ID in [E.164 + // format](https://en.wikipedia.org/wiki/E.164) for Essentials Edition + // agents. + Payload googleapi.RawMessage `json:"payload,omitempty"` - // Subtitle: Optional. Subtitle to the title. - Subtitle string `json:"subtitle,omitempty"` + // Source: The source of this request, e.g., `google`, `facebook`, + // `slack`. It is set by Dialogflow-owned servers. + Source string `json:"source,omitempty"` - // Title: Required. Title of the card. - Title string `json:"title,omitempty"` + // Version: Optional. The version of the protocol used for this request. + // This field is AoG-specific. + Version string `json:"version,omitempty"` - // ForceSendFields is a list of field names (e.g. "Buttons") to + // ForceSendFields is a list of field names (e.g. "Payload") 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 @@ -9634,7 +10460,7 @@ type GoogleCloudDialogflowV2beta1IntentMessageTableCard struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Buttons") to include in + // NullFields is a list of field names (e.g. "Payload") 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 @@ -9643,52 +10469,111 @@ type GoogleCloudDialogflowV2beta1IntentMessageTableCard struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1IntentMessageTableCard) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageTableCard +func (s *GoogleCloudDialogflowV2OriginalDetectIntentRequest) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2OriginalDetectIntentRequest raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentMessageTableCardCell: Cell of -// TableCardRow. -type GoogleCloudDialogflowV2beta1IntentMessageTableCardCell struct { - // Text: Required. Text in this cell. - Text string `json:"text,omitempty"` +// GoogleCloudDialogflowV2QueryResult: Represents the result of +// conversational query or event processing. +type GoogleCloudDialogflowV2QueryResult struct { + // Action: The action name from the matched intent. + Action string `json:"action,omitempty"` - // ForceSendFields is a list of field names (e.g. "Text") 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:"-"` + // AllRequiredParamsPresent: This field is set to: - `false` if the + // matched intent has required parameters and not all of the required + // parameter values have been collected. - `true` if all required + // parameter values have been collected, or if the matched intent + // doesn't contain any required parameters. + AllRequiredParamsPresent bool `json:"allRequiredParamsPresent,omitempty"` - // NullFields is a list of field names (e.g. "Text") 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:"-"` -} + // DiagnosticInfo: Free-form diagnostic information for the associated + // detect intent request. The fields of this data can change without + // notice, so you should not write code that depends on its structure. + // The data may contain: - webhook call latency - webhook errors + DiagnosticInfo googleapi.RawMessage `json:"diagnosticInfo,omitempty"` -func (s *GoogleCloudDialogflowV2beta1IntentMessageTableCardCell) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageTableCardCell - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} + // FulfillmentMessages: The collection of rich messages to present to + // the user. + FulfillmentMessages []*GoogleCloudDialogflowV2IntentMessage `json:"fulfillmentMessages,omitempty"` -// GoogleCloudDialogflowV2beta1IntentMessageTableCardRow: Row of -// TableCard. -type GoogleCloudDialogflowV2beta1IntentMessageTableCardRow struct { - // Cells: Optional. List of cells that make up this row. - Cells []*GoogleCloudDialogflowV2beta1IntentMessageTableCardCell `json:"cells,omitempty"` + // FulfillmentText: The text to be pronounced to the user or shown on + // the screen. Note: This is a legacy field, `fulfillment_messages` + // should be preferred. + FulfillmentText string `json:"fulfillmentText,omitempty"` - // DividerAfter: Optional. Whether to add a visual divider after this - // row. - DividerAfter bool `json:"dividerAfter,omitempty"` + // Intent: The intent that matched the conversational query. Some, not + // all fields are filled in this message, including but not limited to: + // `name`, `display_name`, `end_interaction` and `is_fallback`. + Intent *GoogleCloudDialogflowV2Intent `json:"intent,omitempty"` - // ForceSendFields is a list of field names (e.g. "Cells") to + // IntentDetectionConfidence: The intent detection confidence. Values + // range from 0.0 (completely uncertain) to 1.0 (completely certain). + // This value is for informational purpose only and is only used to help + // match the best intent within the classification threshold. This value + // may change for the same end-user expression at any time due to a + // model retraining or change in implementation. If there are `multiple + // knowledge_answers` messages, this value is set to the greatest + // `knowledgeAnswers.match_confidence` value in the list. + IntentDetectionConfidence float64 `json:"intentDetectionConfidence,omitempty"` + + // LanguageCode: The language that was triggered during intent + // detection. See [Language + // Support](https://cloud.google.com/dialogflow/docs/reference/language) + // for a list of the currently supported language codes. + LanguageCode string `json:"languageCode,omitempty"` + + // OutputContexts: The collection of output contexts. If applicable, + // `output_contexts.parameters` contains entries with name `.original` + // containing the original parameter values before the query. + OutputContexts []*GoogleCloudDialogflowV2Context `json:"outputContexts,omitempty"` + + // Parameters: The collection of extracted parameters. Depending on your + // protocol or client library language, this is a map, associative + // array, symbol table, dictionary, or JSON object composed of a + // collection of (MapKey, MapValue) pairs: - MapKey type: string - + // MapKey value: parameter name - MapValue type: - If parameter's entity + // type is a composite entity: map - Else: string or number, depending + // on parameter value type - MapValue value: - If parameter's entity + // type is a composite entity: map from composite entity property names + // to property values - Else: parameter value + Parameters googleapi.RawMessage `json:"parameters,omitempty"` + + // QueryText: The original conversational query text: - If natural + // language text was provided as input, `query_text` contains a copy of + // the input. - If natural language speech audio was provided as input, + // `query_text` contains the speech recognition result. If speech + // recognizer produced multiple alternatives, a particular one is + // picked. - If automatic spell correction is enabled, `query_text` will + // contain the corrected user input. + QueryText string `json:"queryText,omitempty"` + + // SentimentAnalysisResult: The sentiment analysis result, which depends + // on the `sentiment_analysis_request_config` specified in the request. + SentimentAnalysisResult *GoogleCloudDialogflowV2SentimentAnalysisResult `json:"sentimentAnalysisResult,omitempty"` + + // SpeechRecognitionConfidence: The Speech recognition confidence + // between 0.0 and 1.0. A higher number indicates an estimated greater + // likelihood that the recognized words are correct. The default of 0.0 + // is a sentinel value indicating that confidence was not set. This + // field is not guaranteed to be accurate or set. In particular this + // field isn't set for StreamingDetectIntent since the streaming + // endpoint has separate confidence estimates per portion of the audio + // in StreamingRecognitionResult. + SpeechRecognitionConfidence float64 `json:"speechRecognitionConfidence,omitempty"` + + // WebhookPayload: If the query was fulfilled by a webhook call, this + // field is set to the value of the `payload` field returned in the + // webhook response. + WebhookPayload googleapi.RawMessage `json:"webhookPayload,omitempty"` + + // WebhookSource: If the query was fulfilled by a webhook call, this + // field is set to the value of the `source` field returned in the + // webhook response. + WebhookSource string `json:"webhookSource,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Action") 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 @@ -9696,7 +10581,7 @@ type GoogleCloudDialogflowV2beta1IntentMessageTableCardRow struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Cells") to include in API + // NullFields is a list of field names (e.g. "Action") 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 @@ -9705,29 +10590,42 @@ type GoogleCloudDialogflowV2beta1IntentMessageTableCardRow struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1IntentMessageTableCardRow) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageTableCardRow +func (s *GoogleCloudDialogflowV2QueryResult) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2QueryResult raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudio: Plays -// audio from a file in Telephony Gateway. -type GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudio struct { - // AudioUri: Required. URI to a Google Cloud Storage object containing - // the audio to play, e.g., "gs://bucket/object". The object must - // contain a single channel (mono) of linear PCM audio (2 bytes / - // sample) at 8kHz. This object must be readable by the - // `service-@gcp-sa-dialogflow.iam.gserviceaccount.com` service account - // where is the number of the Telephony Gateway project (usually the - // same as the Dialogflow agent project). If the Google Cloud Storage - // bucket is in the Telephony Gateway project, this permission is added - // by default when enabling the Dialogflow V2 API. For audio from other - // sources, consider using the `TelephonySynthesizeSpeech` message with - // SSML. - AudioUri string `json:"audioUri,omitempty"` +func (s *GoogleCloudDialogflowV2QueryResult) UnmarshalJSON(data []byte) error { + type NoMethod GoogleCloudDialogflowV2QueryResult + var s1 struct { + IntentDetectionConfidence gensupport.JSONFloat64 `json:"intentDetectionConfidence"` + SpeechRecognitionConfidence gensupport.JSONFloat64 `json:"speechRecognitionConfidence"` + *NoMethod + } + s1.NoMethod = (*NoMethod)(s) + if err := json.Unmarshal(data, &s1); err != nil { + return err + } + s.IntentDetectionConfidence = float64(s1.IntentDetectionConfidence) + s.SpeechRecognitionConfidence = float64(s1.SpeechRecognitionConfidence) + return nil +} - // ForceSendFields is a list of field names (e.g. "AudioUri") to +// GoogleCloudDialogflowV2Sentiment: The sentiment, such as +// positive/negative feeling or association, for a unit of analysis, +// such as the query text. +type GoogleCloudDialogflowV2Sentiment struct { + // Magnitude: A non-negative number in the [0, +inf) range, which + // represents the absolute magnitude of sentiment, regardless of score + // (positive or negative). + Magnitude float64 `json:"magnitude,omitempty"` + + // Score: Sentiment score between -1.0 (negative sentiment) and 1.0 + // (positive sentiment). + Score float64 `json:"score,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Magnitude") 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 @@ -9735,7 +10633,7 @@ type GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudio struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "AudioUri") to include in + // NullFields is a list of field names (e.g. "Magnitude") 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 @@ -9744,87 +10642,109 @@ type GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudio struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudio) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudio +func (s *GoogleCloudDialogflowV2Sentiment) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2Sentiment raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeech: -// Synthesizes speech and plays back the synthesized audio to the caller -// in Telephony Gateway. Telephony Gateway takes the synthesizer -// settings from `DetectIntentResponse.output_audio_config` which can -// either be set at request-level or can come from the agent-level -// synthesizer config. -type GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeech struct { - // Ssml: The SSML to be synthesized. For more information, see - // [SSML](https://developers.google.com/actions/reference/ssml). - Ssml string `json:"ssml,omitempty"` +func (s *GoogleCloudDialogflowV2Sentiment) UnmarshalJSON(data []byte) error { + type NoMethod GoogleCloudDialogflowV2Sentiment + var s1 struct { + Magnitude gensupport.JSONFloat64 `json:"magnitude"` + Score gensupport.JSONFloat64 `json:"score"` + *NoMethod + } + s1.NoMethod = (*NoMethod)(s) + if err := json.Unmarshal(data, &s1); err != nil { + return err + } + s.Magnitude = float64(s1.Magnitude) + s.Score = float64(s1.Score) + return nil +} - // Text: The raw text to be synthesized. - Text string `json:"text,omitempty"` +// GoogleCloudDialogflowV2SentimentAnalysisResult: The result of +// sentiment analysis. Sentiment analysis inspects user input and +// identifies the prevailing subjective opinion, especially to determine +// a user's attitude as positive, negative, or neutral. For +// Participants.DetectIntent, it needs to be configured in +// DetectIntentRequest.query_params. For +// Participants.StreamingDetectIntent, it needs to be configured in +// StreamingDetectIntentRequest.query_params. And for +// Participants.AnalyzeContent and Participants.StreamingAnalyzeContent, +// it needs to be configured in +// ConversationProfile.human_agent_assistant_config +type GoogleCloudDialogflowV2SentimentAnalysisResult struct { + // QueryTextSentiment: The sentiment analysis result for `query_text`. + QueryTextSentiment *GoogleCloudDialogflowV2Sentiment `json:"queryTextSentiment,omitempty"` - // ForceSendFields is a list of field names (e.g. "Ssml") to - // unconditionally include in API requests. By default, fields with + // ForceSendFields is a list of field names (e.g. "QueryTextSentiment") + // 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. "Ssml") 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. "QueryTextSentiment") 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 *GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeech) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeech +func (s *GoogleCloudDialogflowV2SentimentAnalysisResult) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2SentimentAnalysisResult raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCall: -// Transfers the call in Telephony Gateway. -type GoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCall struct { - // PhoneNumber: Required. The phone number to transfer the call to in - // [E.164 format](https://en.wikipedia.org/wiki/E.164). We currently - // only allow transferring to US numbers (+1xxxyyyzzzz). - PhoneNumber string `json:"phoneNumber,omitempty"` - - // ForceSendFields is a list of field names (e.g. "PhoneNumber") 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. "PhoneNumber") 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:"-"` -} +// GoogleCloudDialogflowV2SessionEntityType: A session represents a +// conversation between a Dialogflow agent and an end-user. You can +// create special entities, called session entities, during a session. +// Session entities can extend or replace custom entity types and only +// exist during the session that they were created for. All session +// data, including session entities, is stored by Dialogflow for 20 +// minutes. For more information, see the [session entity +// guide](https://cloud.google.com/dialogflow/docs/entities-session). +type GoogleCloudDialogflowV2SessionEntityType struct { + // Entities: Required. The collection of entities associated with this + // session entity type. + Entities []*GoogleCloudDialogflowV2EntityTypeEntity `json:"entities,omitempty"` -func (s *GoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCall) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCall - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} + // EntityOverrideMode: Required. Indicates whether the additional data + // should override or supplement the custom entity type definition. + // + // Possible values: + // "ENTITY_OVERRIDE_MODE_UNSPECIFIED" - Not specified. This value + // should be never used. + // "ENTITY_OVERRIDE_MODE_OVERRIDE" - The collection of session + // entities overrides the collection of entities in the corresponding + // custom entity type. + // "ENTITY_OVERRIDE_MODE_SUPPLEMENT" - The collection of session + // entities extends the collection of entities in the corresponding + // custom entity type. Note: Even in this override mode calls to + // `ListSessionEntityTypes`, `GetSessionEntityType`, + // `CreateSessionEntityType` and `UpdateSessionEntityType` only return + // the additional entities added in this session entity type. If you + // want to get the supplemented list, please call + // EntityTypes.GetEntityType on the custom entity type and merge. + EntityOverrideMode string `json:"entityOverrideMode,omitempty"` -// GoogleCloudDialogflowV2beta1IntentMessageText: The text response -// message. -type GoogleCloudDialogflowV2beta1IntentMessageText struct { - // Text: Optional. The collection of the agent's responses. - Text []string `json:"text,omitempty"` + // Name: Required. The unique identifier of this session entity type. + // Format: `projects//agent/sessions//entityTypes/`, or + // `projects//agent/environments//users//sessions//entityTypes/`. If + // `Environment ID` is not specified, we assume default 'draft' + // environment. If `User ID` is not specified, we assume default '-' + // user. `` must be the display name of an existing entity type in the + // same agent that will be overridden or supplemented. + Name string `json:"name,omitempty"` - // ForceSendFields is a list of field names (e.g. "Text") to + // ForceSendFields is a list of field names (e.g. "Entities") 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 @@ -9832,8 +10752,8 @@ type GoogleCloudDialogflowV2beta1IntentMessageText struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Text") to include in API - // requests with the JSON null value. By default, fields with empty + // NullFields is a list of field names (e.g. "Entities") 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. @@ -9841,52 +10761,151 @@ type GoogleCloudDialogflowV2beta1IntentMessageText struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1IntentMessageText) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageText +func (s *GoogleCloudDialogflowV2SessionEntityType) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2SessionEntityType raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentParameter: Represents intent -// parameters. -type GoogleCloudDialogflowV2beta1IntentParameter struct { - // DefaultValue: Optional. The default value to use when the `value` - // yields an empty result. Default values can be extracted from contexts - // by using the following syntax: `#context_name.parameter_name`. - DefaultValue string `json:"defaultValue,omitempty"` +// GoogleCloudDialogflowV2WebhookRequest: The request message for a +// webhook call. +type GoogleCloudDialogflowV2WebhookRequest struct { + // OriginalDetectIntentRequest: Optional. The contents of the original + // request that was passed to `[Streaming]DetectIntent` call. + OriginalDetectIntentRequest *GoogleCloudDialogflowV2OriginalDetectIntentRequest `json:"originalDetectIntentRequest,omitempty"` - // DisplayName: Required. The name of the parameter. - DisplayName string `json:"displayName,omitempty"` + // QueryResult: The result of the conversational query or event + // processing. Contains the same value as + // `[Streaming]DetectIntentResponse.query_result`. + QueryResult *GoogleCloudDialogflowV2QueryResult `json:"queryResult,omitempty"` - // EntityTypeDisplayName: Optional. The name of the entity type, - // prefixed with `@`, that describes values of the parameter. If the - // parameter is required, this must be provided. - EntityTypeDisplayName string `json:"entityTypeDisplayName,omitempty"` + // ResponseId: The unique identifier of the response. Contains the same + // value as `[Streaming]DetectIntentResponse.response_id`. + ResponseId string `json:"responseId,omitempty"` - // IsList: Optional. Indicates whether the parameter represents a list - // of values. - IsList bool `json:"isList,omitempty"` + // Session: The unique identifier of detectIntent request session. Can + // be used to identify end-user inside webhook implementation. Format: + // `projects//agent/sessions/`, or + // `projects//agent/environments//users//sessions/`. + Session string `json:"session,omitempty"` - // Mandatory: Optional. Indicates whether the parameter is required. - // That is, whether the intent cannot be completed without collecting - // the parameter value. - Mandatory bool `json:"mandatory,omitempty"` + // ForceSendFields is a list of field names (e.g. + // "OriginalDetectIntentRequest") 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:"-"` - // Name: The unique identifier of this parameter. - Name string `json:"name,omitempty"` + // NullFields is a list of field names (e.g. + // "OriginalDetectIntentRequest") 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:"-"` +} - // Prompts: Optional. The collection of prompts that the agent can - // present to the user in order to collect a value for the parameter. - Prompts []string `json:"prompts,omitempty"` +func (s *GoogleCloudDialogflowV2WebhookRequest) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2WebhookRequest + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} - // Value: Optional. The definition of the parameter value. It can be: - - // a constant string, - a parameter value defined as `$parameter_name`, - // - an original parameter value defined as `$parameter_name.original`, - // - a parameter value from some context defined as - // `#context_name.parameter_name`. - Value string `json:"value,omitempty"` +// GoogleCloudDialogflowV2WebhookResponse: The response message for a +// webhook call. This response is validated by the Dialogflow server. If +// validation fails, an error will be returned in the +// QueryResult.diagnostic_info field. Setting JSON fields to an empty +// value with the wrong type is a common error. To avoid this error: - +// Use "" for empty strings - Use `{}` or `null` for empty objects - +// Use `[]` or `null` for empty arrays For more information, see the +// [Protocol Buffers Language +// Guide](https://developers.google.com/protocol-buffers/docs/proto3#json +// ). +type GoogleCloudDialogflowV2WebhookResponse struct { + // FollowupEventInput: Optional. Invokes the supplied events. When this + // field is set, Dialogflow ignores the `fulfillment_text`, + // `fulfillment_messages`, and `payload` fields. + FollowupEventInput *GoogleCloudDialogflowV2EventInput `json:"followupEventInput,omitempty"` - // ForceSendFields is a list of field names (e.g. "DefaultValue") to + // FulfillmentMessages: Optional. The rich response messages intended + // for the end-user. When provided, Dialogflow uses this field to + // populate QueryResult.fulfillment_messages sent to the integration or + // API caller. + FulfillmentMessages []*GoogleCloudDialogflowV2IntentMessage `json:"fulfillmentMessages,omitempty"` + + // FulfillmentText: Optional. The text response message intended for the + // end-user. It is recommended to use + // `fulfillment_messages.text.text[0]` instead. When provided, + // Dialogflow uses this field to populate QueryResult.fulfillment_text + // sent to the integration or API caller. + FulfillmentText string `json:"fulfillmentText,omitempty"` + + // OutputContexts: Optional. The collection of output contexts that will + // overwrite currently active contexts for the session and reset their + // lifespans. When provided, Dialogflow uses this field to populate + // QueryResult.output_contexts sent to the integration or API caller. + OutputContexts []*GoogleCloudDialogflowV2Context `json:"outputContexts,omitempty"` + + // Payload: Optional. This field can be used to pass custom data from + // your webhook to the integration or API caller. Arbitrary JSON objects + // are supported. When provided, Dialogflow uses this field to populate + // QueryResult.webhook_payload sent to the integration or API caller. + // This field is also used by the [Google Assistant + // integration](https://cloud.google.com/dialogflow/docs/integrations/aog + // ) for rich response messages. See the format definition at [Google + // Assistant Dialogflow webhook + // format](https://developers.google.com/assistant/actions/build/json/dia + // logflow-webhook-json) + Payload googleapi.RawMessage `json:"payload,omitempty"` + + // SessionEntityTypes: Optional. Additional session entity types to + // replace or extend developer entity types with. The entity synonyms + // apply to all languages and persist for the session. Setting this data + // from a webhook overwrites the session entity types that have been set + // using `detectIntent`, `streamingDetectIntent` or SessionEntityType + // management methods. + SessionEntityTypes []*GoogleCloudDialogflowV2SessionEntityType `json:"sessionEntityTypes,omitempty"` + + // Source: Optional. A custom field used to identify the webhook source. + // Arbitrary strings are supported. When provided, Dialogflow uses this + // field to populate QueryResult.webhook_source sent to the integration + // or API caller. + Source string `json:"source,omitempty"` + + // ForceSendFields is a list of field names (e.g. "FollowupEventInput") + // 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. "FollowupEventInput") 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 *GoogleCloudDialogflowV2WebhookResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2WebhookResponse + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1BatchUpdateEntityTypesResponse: The +// response message for EntityTypes.BatchUpdateEntityTypes. +type GoogleCloudDialogflowV2beta1BatchUpdateEntityTypesResponse struct { + // EntityTypes: The collection of updated or created entity types. + EntityTypes []*GoogleCloudDialogflowV2beta1EntityType `json:"entityTypes,omitempty"` + + // ForceSendFields is a list of field names (e.g. "EntityTypes") 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 @@ -9894,7 +10913,7 @@ type GoogleCloudDialogflowV2beta1IntentParameter struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "DefaultValue") to include + // NullFields is a list of field names (e.g. "EntityTypes") 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 @@ -9903,53 +10922,19 @@ type GoogleCloudDialogflowV2beta1IntentParameter struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1IntentParameter) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentParameter +func (s *GoogleCloudDialogflowV2beta1BatchUpdateEntityTypesResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1BatchUpdateEntityTypesResponse raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentTrainingPhrase: Represents an -// example that the agent is trained on. -type GoogleCloudDialogflowV2beta1IntentTrainingPhrase struct { - // Name: Output only. The unique identifier of this training phrase. - Name string `json:"name,omitempty"` +// GoogleCloudDialogflowV2beta1BatchUpdateIntentsResponse: The response +// message for Intents.BatchUpdateIntents. +type GoogleCloudDialogflowV2beta1BatchUpdateIntentsResponse struct { + // Intents: The collection of updated or created intents. + Intents []*GoogleCloudDialogflowV2beta1Intent `json:"intents,omitempty"` - // Parts: Required. The ordered list of training phrase parts. The parts - // are concatenated in order to form the training phrase. Note: The API - // does not automatically annotate training phrases like the Dialogflow - // Console does. Note: Do not forget to include whitespace at part - // boundaries, so the training phrase is well formatted when the parts - // are concatenated. If the training phrase does not need to be - // annotated with parameters, you just need a single part with only the - // Part.text field set. If you want to annotate the training phrase, you - // must create multiple parts, where the fields of each part are - // populated in one of two ways: - `Part.text` is set to a part of the - // phrase that has no parameters. - `Part.text` is set to a part of the - // phrase that you want to annotate, and the `entity_type`, `alias`, and - // `user_defined` fields are all set. - Parts []*GoogleCloudDialogflowV2beta1IntentTrainingPhrasePart `json:"parts,omitempty"` - - // TimesAddedCount: Optional. Indicates how many times this example was - // added to the intent. Each time a developer adds an existing sample by - // editing an intent or training, this counter is increased. - TimesAddedCount int64 `json:"timesAddedCount,omitempty"` - - // Type: Required. The type of the training phrase. - // - // Possible values: - // "TYPE_UNSPECIFIED" - Not specified. This value should never be - // used. - // "EXAMPLE" - Examples do not contain @-prefixed entity type names, - // but example parts can be annotated with entity types. - // "TEMPLATE" - Templates are not annotated with entity types, but - // they can contain @-prefixed entity type names as substrings. Template - // mode has been deprecated. Example mode is the only supported way to - // create new training phrases. If you have existing training phrases - // that you've created in template mode, those will continue to work. - Type string `json:"type,omitempty"` - - // ForceSendFields is a list of field names (e.g. "Name") to + // ForceSendFields is a list of field names (e.g. "Intents") 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 @@ -9957,8 +10942,8 @@ type GoogleCloudDialogflowV2beta1IntentTrainingPhrase struct { // 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 + // NullFields is a list of field names (e.g. "Intents") 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. @@ -9966,34 +10951,60 @@ type GoogleCloudDialogflowV2beta1IntentTrainingPhrase struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1IntentTrainingPhrase) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentTrainingPhrase +func (s *GoogleCloudDialogflowV2beta1BatchUpdateIntentsResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1BatchUpdateIntentsResponse raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentTrainingPhrasePart: Represents a -// part of a training phrase. -type GoogleCloudDialogflowV2beta1IntentTrainingPhrasePart struct { - // Alias: Optional. The parameter name for the value extracted from the - // annotated part of the example. This field is required for annotated - // parts of the training phrase. - Alias string `json:"alias,omitempty"` - - // EntityType: Optional. The entity type name prefixed with `@`. This - // field is required for annotated parts of the training phrase. - EntityType string `json:"entityType,omitempty"` +// GoogleCloudDialogflowV2beta1Context: Dialogflow contexts are similar +// to natural language context. If a person says to you "they are +// orange", you need context in order to understand what "they" is +// referring to. Similarly, for Dialogflow to handle an end-user +// expression like that, it needs to be provided with context in order +// to correctly match an intent. Using contexts, you can control the +// flow of a conversation. You can configure contexts for an intent by +// setting input and output contexts, which are identified by string +// names. When an intent is matched, any configured output contexts for +// that intent become active. While any contexts are active, Dialogflow +// is more likely to match intents that are configured with input +// contexts that correspond to the currently active contexts. For more +// information about context, see the [Contexts +// guide](https://cloud.google.com/dialogflow/docs/contexts-overview). +type GoogleCloudDialogflowV2beta1Context struct { + // LifespanCount: Optional. The number of conversational query requests + // after which the context expires. The default is `0`. If set to `0`, + // the context expires immediately. Contexts expire automatically after + // 20 minutes if there are no matching queries. + LifespanCount int64 `json:"lifespanCount,omitempty"` - // Text: Required. The text for this part. - Text string `json:"text,omitempty"` + // Name: Required. The unique identifier of the context. Supported + // formats: - `projects//agent/sessions//contexts/`, - + // `projects//locations//agent/sessions//contexts/`, - + // `projects//agent/environments//users//sessions//contexts/`, - + // `projects//locations//agent/environments//users//sessions//contexts/`, + // The `Context ID` is always converted to lowercase, may only contain + // characters in a-zA-Z0-9_-% and may be at most 250 bytes long. If + // `Environment ID` is not specified, we assume default 'draft' + // environment. If `User ID` is not specified, we assume default '-' + // user. The following context names are reserved for internal use by + // Dialogflow. You should not use these contexts or create contexts with + // these names: * `__system_counters__` * `*_id_dialog_context` * + // `*_dialog_params_size` + Name string `json:"name,omitempty"` - // UserDefined: Optional. Indicates whether the text was manually - // annotated. This field is set to true when the Dialogflow Console is - // used to manually annotate the part. When creating an annotated part - // with the API, you must set this to true. - UserDefined bool `json:"userDefined,omitempty"` + // Parameters: Optional. The collection of parameters associated with + // this context. Depending on your protocol or client library language, + // this is a map, associative array, symbol table, dictionary, or JSON + // object composed of a collection of (MapKey, MapValue) pairs: - MapKey + // type: string - MapKey value: parameter name - MapValue type: - If + // parameter's entity type is a composite entity: map - Else: string or + // number, depending on parameter value type - MapValue value: - If + // parameter's entity type is a composite entity: map from composite + // entity property names to property values - Else: parameter value + Parameters googleapi.RawMessage `json:"parameters,omitempty"` - // ForceSendFields is a list of field names (e.g. "Alias") to + // ForceSendFields is a list of field names (e.g. "LifespanCount") 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 @@ -10001,89 +11012,116 @@ type GoogleCloudDialogflowV2beta1IntentTrainingPhrasePart struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Alias") 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 + // NullFields is a list of field names (e.g. "LifespanCount") 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 *GoogleCloudDialogflowV2beta1IntentTrainingPhrasePart) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentTrainingPhrasePart +func (s *GoogleCloudDialogflowV2beta1Context) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1Context raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1KnowledgeAnswers: Represents the result -// of querying a Knowledge base. -type GoogleCloudDialogflowV2beta1KnowledgeAnswers struct { - // Answers: A list of answers from Knowledge Connector. - Answers []*GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer `json:"answers,omitempty"` +// GoogleCloudDialogflowV2beta1EntityType: Each intent parameter has a +// type, called the entity type, which dictates exactly how data from an +// end-user expression is extracted. Dialogflow provides predefined +// system entities that can match many common types of data. For +// example, there are system entities for matching dates, times, colors, +// email addresses, and so on. You can also create your own custom +// entities for matching custom data. For example, you could define a +// vegetable entity that can match the types of vegetables available for +// purchase with a grocery store agent. For more information, see the +// [Entity +// guide](https://cloud.google.com/dialogflow/docs/entities-overview). +type GoogleCloudDialogflowV2beta1EntityType struct { + // AutoExpansionMode: Optional. Indicates whether the entity type can be + // automatically expanded. + // + // Possible values: + // "AUTO_EXPANSION_MODE_UNSPECIFIED" - Auto expansion disabled for the + // entity. + // "AUTO_EXPANSION_MODE_DEFAULT" - Allows an agent to recognize values + // that have not been explicitly listed in the entity. + AutoExpansionMode string `json:"autoExpansionMode,omitempty"` - // ForceSendFields is a list of field names (e.g. "Answers") to - // unconditionally include in API requests. By default, fields with + // DisplayName: Required. The name of the entity type. + DisplayName string `json:"displayName,omitempty"` + + // EnableFuzzyExtraction: Optional. Enables fuzzy entity extraction + // during classification. + EnableFuzzyExtraction bool `json:"enableFuzzyExtraction,omitempty"` + + // Entities: Optional. The collection of entity entries associated with + // the entity type. + Entities []*GoogleCloudDialogflowV2beta1EntityTypeEntity `json:"entities,omitempty"` + + // Kind: Required. Indicates the kind of entity type. + // + // Possible values: + // "KIND_UNSPECIFIED" - Not specified. This value should be never + // used. + // "KIND_MAP" - Map entity types allow mapping of a group of synonyms + // to a reference value. + // "KIND_LIST" - List entity types contain a set of entries that do + // not map to reference values. However, list entity types can contain + // references to other entity types (with or without aliases). + // "KIND_REGEXP" - Regexp entity types allow to specify regular + // expressions in entries values. + Kind string `json:"kind,omitempty"` + + // Name: The unique identifier of the entity type. Required for + // EntityTypes.UpdateEntityType and EntityTypes.BatchUpdateEntityTypes + // methods. Supported formats: - `projects//agent/entityTypes/` - + // `projects//locations//agent/entityTypes/` + Name string `json:"name,omitempty"` + + // ForceSendFields is a list of field names (e.g. "AutoExpansionMode") + // 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. "Answers") 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. "AutoExpansionMode") 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 *GoogleCloudDialogflowV2beta1KnowledgeAnswers) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1KnowledgeAnswers +func (s *GoogleCloudDialogflowV2beta1EntityType) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1EntityType raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer: An answer from -// Knowledge Connector. -type GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer struct { - // Answer: The piece of text from the `source` knowledge base document - // that answers this conversational query. - Answer string `json:"answer,omitempty"` - - // FaqQuestion: The corresponding FAQ question if the answer was - // extracted from a FAQ Document, empty otherwise. - FaqQuestion string `json:"faqQuestion,omitempty"` - - // MatchConfidence: The system's confidence score that this Knowledge - // answer is a good match for this conversational query. The range is - // from 0.0 (completely uncertain) to 1.0 (completely certain). Note: - // The confidence score is likely to vary somewhat (possibly even for - // identical requests), as the underlying model is under constant - // improvement. It may be deprecated in the future. We recommend using - // `match_confidence_level` which should be generally more stable. - MatchConfidence float64 `json:"matchConfidence,omitempty"` - - // MatchConfidenceLevel: The system's confidence level that this - // knowledge answer is a good match for this conversational query. NOTE: - // The confidence level for a given `` pair may change without notice, - // as it depends on models that are constantly being improved. However, - // it will change less frequently than the confidence score below, and - // should be preferred for referencing the quality of an answer. - // - // Possible values: - // "MATCH_CONFIDENCE_LEVEL_UNSPECIFIED" - Not specified. - // "LOW" - Indicates that the confidence is low. - // "MEDIUM" - Indicates our confidence is medium. - // "HIGH" - Indicates our confidence is high. - MatchConfidenceLevel string `json:"matchConfidenceLevel,omitempty"` +// GoogleCloudDialogflowV2beta1EntityTypeEntity: An **entity entry** for +// an associated entity type. +type GoogleCloudDialogflowV2beta1EntityTypeEntity struct { + // Synonyms: Required. A collection of value synonyms. For example, if + // the entity type is *vegetable*, and `value` is *scallions*, a synonym + // could be *green onions*. For `KIND_LIST` entity types: * This + // collection must contain exactly one synonym equal to `value`. + Synonyms []string `json:"synonyms,omitempty"` - // Source: Indicates which Knowledge Document this answer was extracted - // from. Format: `projects//knowledgeBases//documents/`. - Source string `json:"source,omitempty"` + // Value: Required. The primary value associated with this entity entry. + // For example, if the entity type is *vegetable*, the value could be + // *scallions*. For `KIND_MAP` entity types: * A reference value to be + // used in place of synonyms. For `KIND_LIST` entity types: * A string + // that can contain references to other entity types (with or without + // aliases). + Value string `json:"value,omitempty"` - // ForceSendFields is a list of field names (e.g. "Answer") to + // ForceSendFields is a list of field names (e.g. "Synonyms") 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 @@ -10091,8 +11129,8 @@ type GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Answer") to include in API - // requests with the JSON null value. By default, fields with empty + // NullFields is a list of field names (e.g. "Synonyms") 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. @@ -10100,39 +11138,40 @@ type GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer +func (s *GoogleCloudDialogflowV2beta1EntityTypeEntity) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1EntityTypeEntity raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -func (s *GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer) UnmarshalJSON(data []byte) error { - type NoMethod GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer - var s1 struct { - MatchConfidence gensupport.JSONFloat64 `json:"matchConfidence"` - *NoMethod - } - s1.NoMethod = (*NoMethod)(s) - if err := json.Unmarshal(data, &s1); err != nil { - return err - } - s.MatchConfidence = float64(s1.MatchConfidence) - return nil -} +// GoogleCloudDialogflowV2beta1EventInput: Events allow for matching +// intents by event name instead of the natural language input. For +// instance, input `` can trigger a personalized welcome response. The +// parameter `name` may be used by the agent in the response: "Hello +// #welcome_event.name! What can I do for you today?". +type GoogleCloudDialogflowV2beta1EventInput struct { + // LanguageCode: Required. The language of this query. See [Language + // Support](https://cloud.google.com/dialogflow/docs/reference/language) + // for a list of the currently supported language codes. Note that + // queries in the same session do not necessarily need to specify the + // same language. + LanguageCode string `json:"languageCode,omitempty"` -// GoogleCloudDialogflowV2beta1KnowledgeOperationMetadata: Metadata in -// google::longrunning::Operation for Knowledge operations. -type GoogleCloudDialogflowV2beta1KnowledgeOperationMetadata struct { - // State: Required. Output only. The current state of this operation. - // - // Possible values: - // "STATE_UNSPECIFIED" - State unspecified. - // "PENDING" - The operation has been created. - // "RUNNING" - The operation is currently running. - // "DONE" - The operation is done, either cancelled or completed. - State string `json:"state,omitempty"` + // Name: Required. The unique identifier of the event. + Name string `json:"name,omitempty"` - // ForceSendFields is a list of field names (e.g. "State") to + // Parameters: The collection of parameters associated with the event. + // Depending on your protocol or client library language, this is a map, + // associative array, symbol table, dictionary, or JSON object composed + // of a collection of (MapKey, MapValue) pairs: - MapKey type: string - + // MapKey value: parameter name - MapValue type: - If parameter's entity + // type is a composite entity: map - Else: string or number, depending + // on parameter value type - MapValue value: - If parameter's entity + // type is a composite entity: map from composite entity property names + // to property values - Else: parameter value + Parameters googleapi.RawMessage `json:"parameters,omitempty"` + + // ForceSendFields is a list of field names (e.g. "LanguageCode") 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 @@ -10140,46 +11179,33 @@ type GoogleCloudDialogflowV2beta1KnowledgeOperationMetadata struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "State") 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 + // NullFields is a list of field names (e.g. "LanguageCode") 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 *GoogleCloudDialogflowV2beta1KnowledgeOperationMetadata) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1KnowledgeOperationMetadata +func (s *GoogleCloudDialogflowV2beta1EventInput) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1EventInput raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest: Represents -// the contents of the original request that was passed to the -// `[Streaming]DetectIntent` call. -type GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest struct { - // Payload: Optional. This field is set to the value of the - // `QueryParameters.payload` field passed in the request. Some - // integrations that query a Dialogflow agent may provide additional - // information in the payload. In particular, for the Dialogflow Phone - // Gateway integration, this field has the form: { "telephony": { - // "caller_id": "+18558363987" } } Note: The caller ID field - // (`caller_id`) will be redacted for Trial Edition agents and populated - // with the caller ID in [E.164 - // format](https://en.wikipedia.org/wiki/E.164) for Essentials Edition - // agents. - Payload googleapi.RawMessage `json:"payload,omitempty"` - - // Source: The source of this request, e.g., `google`, `facebook`, - // `slack`. It is set by Dialogflow-owned servers. - Source string `json:"source,omitempty"` +// GoogleCloudDialogflowV2beta1ExportAgentResponse: The response message +// for Agents.ExportAgent. +type GoogleCloudDialogflowV2beta1ExportAgentResponse struct { + // AgentContent: Zip compressed raw byte content for agent. + AgentContent string `json:"agentContent,omitempty"` - // Version: Optional. The version of the protocol used for this request. - // This field is AoG-specific. - Version string `json:"version,omitempty"` + // AgentUri: The URI to a file containing the exported agent. This field + // is populated only if `agent_uri` is specified in + // `ExportAgentRequest`. + AgentUri string `json:"agentUri,omitempty"` - // ForceSendFields is a list of field names (e.g. "Payload") to + // ForceSendFields is a list of field names (e.g. "AgentContent") 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 @@ -10187,176 +11213,165 @@ type GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Payload") 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 + // NullFields is a list of field names (e.g. "AgentContent") 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 *GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest +func (s *GoogleCloudDialogflowV2beta1ExportAgentResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1ExportAgentResponse raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1QueryResult: Represents the result of -// conversational query or event processing. -type GoogleCloudDialogflowV2beta1QueryResult struct { - // Action: The action name from the matched intent. +// GoogleCloudDialogflowV2beta1Intent: An intent categorizes an +// end-user's intention for one conversation turn. For each agent, you +// define many intents, where your combined intents can handle a +// complete conversation. When an end-user writes or says something, +// referred to as an end-user expression or end-user input, Dialogflow +// matches the end-user input to the best intent in your agent. Matching +// an intent is also known as intent classification. For more +// information, see the [intent +// guide](https://cloud.google.com/dialogflow/docs/intents-overview). +type GoogleCloudDialogflowV2beta1Intent struct { + // Action: Optional. The name of the action associated with the intent. + // Note: The action name must not contain whitespaces. Action string `json:"action,omitempty"` - // AllRequiredParamsPresent: This field is set to: - `false` if the - // matched intent has required parameters and not all of the required - // parameter values have been collected. - `true` if all required - // parameter values have been collected, or if the matched intent - // doesn't contain any required parameters. - AllRequiredParamsPresent bool `json:"allRequiredParamsPresent,omitempty"` + // DefaultResponsePlatforms: Optional. The list of platforms for which + // the first responses will be copied from the messages in + // PLATFORM_UNSPECIFIED (i.e. default platform). + // + // Possible values: + // "PLATFORM_UNSPECIFIED" - Not specified. + // "FACEBOOK" - Facebook. + // "SLACK" - Slack. + // "TELEGRAM" - Telegram. + // "KIK" - Kik. + // "SKYPE" - Skype. + // "LINE" - Line. + // "VIBER" - Viber. + // "ACTIONS_ON_GOOGLE" - Google Assistant See [Dialogflow webhook + // format](https://developers.google.com/assistant/actions/build/json/dia + // logflow-webhook-json) + // "TELEPHONY" - Telephony Gateway. + // "GOOGLE_HANGOUTS" - Google Hangouts. + DefaultResponsePlatforms []string `json:"defaultResponsePlatforms,omitempty"` - // DiagnosticInfo: Free-form diagnostic information for the associated - // detect intent request. The fields of this data can change without - // notice, so you should not write code that depends on its structure. - // The data may contain: - webhook call latency - webhook errors - DiagnosticInfo googleapi.RawMessage `json:"diagnosticInfo,omitempty"` + // DisplayName: Required. The name of this intent. + DisplayName string `json:"displayName,omitempty"` - // FulfillmentMessages: The collection of rich messages to present to - // the user. - FulfillmentMessages []*GoogleCloudDialogflowV2beta1IntentMessage `json:"fulfillmentMessages,omitempty"` + // EndInteraction: Optional. Indicates that this intent ends an + // interaction. Some integrations (e.g., Actions on Google or Dialogflow + // phone gateway) use this information to close interaction with an end + // user. Default is false. + EndInteraction bool `json:"endInteraction,omitempty"` - // FulfillmentText: The text to be pronounced to the user or shown on - // the screen. Note: This is a legacy field, `fulfillment_messages` - // should be preferred. - FulfillmentText string `json:"fulfillmentText,omitempty"` + // Events: Optional. The collection of event names that trigger the + // intent. If the collection of input contexts is not empty, all of the + // contexts must be present in the active user session for an event to + // trigger this intent. Event names are limited to 150 characters. + Events []string `json:"events,omitempty"` - // Intent: The intent that matched the conversational query. Some, not - // all fields are filled in this message, including but not limited to: - // `name`, `display_name`, `end_interaction` and `is_fallback`. - Intent *GoogleCloudDialogflowV2beta1Intent `json:"intent,omitempty"` + // FollowupIntentInfo: Output only. Information about all followup + // intents that have this intent as a direct or indirect parent. We + // populate this field only in the output. + FollowupIntentInfo []*GoogleCloudDialogflowV2beta1IntentFollowupIntentInfo `json:"followupIntentInfo,omitempty"` - // IntentDetectionConfidence: The intent detection confidence. Values - // range from 0.0 (completely uncertain) to 1.0 (completely certain). - // This value is for informational purpose only and is only used to help - // match the best intent within the classification threshold. This value - // may change for the same end-user expression at any time due to a - // model retraining or change in implementation. If there are `multiple - // knowledge_answers` messages, this value is set to the greatest - // `knowledgeAnswers.match_confidence` value in the list. - IntentDetectionConfidence float64 `json:"intentDetectionConfidence,omitempty"` + // InputContextNames: Optional. The list of context names required for + // this intent to be triggered. Formats: - + // `projects//agent/sessions/-/contexts/` - + // `projects//locations//agent/sessions/-/contexts/` + InputContextNames []string `json:"inputContextNames,omitempty"` - // KnowledgeAnswers: The result from Knowledge Connector (if any), - // ordered by decreasing `KnowledgeAnswers.match_confidence`. - KnowledgeAnswers *GoogleCloudDialogflowV2beta1KnowledgeAnswers `json:"knowledgeAnswers,omitempty"` + // IsFallback: Optional. Indicates whether this is a fallback intent. + IsFallback bool `json:"isFallback,omitempty"` - // LanguageCode: The language that was triggered during intent - // detection. See [Language - // Support](https://cloud.google.com/dialogflow/docs/reference/language) - // for a list of the currently supported language codes. - LanguageCode string `json:"languageCode,omitempty"` + // Messages: Optional. The collection of rich messages corresponding to + // the `Response` field in the Dialogflow console. + Messages []*GoogleCloudDialogflowV2beta1IntentMessage `json:"messages,omitempty"` - // OutputContexts: The collection of output contexts. If applicable, - // `output_contexts.parameters` contains entries with name `.original` - // containing the original parameter values before the query. - OutputContexts []*GoogleCloudDialogflowV2beta1Context `json:"outputContexts,omitempty"` + // MlDisabled: Optional. Indicates whether Machine Learning is disabled + // for the intent. Note: If `ml_disabled` setting is set to true, then + // this intent is not taken into account during inference in `ML ONLY` + // match mode. Also, auto-markup in the UI is turned off. + MlDisabled bool `json:"mlDisabled,omitempty"` - // Parameters: The collection of extracted parameters. Depending on your - // protocol or client library language, this is a map, associative - // array, symbol table, dictionary, or JSON object composed of a - // collection of (MapKey, MapValue) pairs: - MapKey type: string - - // MapKey value: parameter name - MapValue type: - If parameter's entity - // type is a composite entity: map - Else: string or number, depending - // on parameter value type - MapValue value: - If parameter's entity - // type is a composite entity: map from composite entity property names - // to property values - Else: parameter value - Parameters googleapi.RawMessage `json:"parameters,omitempty"` + // MlEnabled: Optional. Indicates whether Machine Learning is enabled + // for the intent. Note: If `ml_enabled` setting is set to false, then + // this intent is not taken into account during inference in `ML ONLY` + // match mode. Also, auto-markup in the UI is turned off. DEPRECATED! + // Please use `ml_disabled` field instead. NOTE: If both `ml_enabled` + // and `ml_disabled` are either not set or false, then the default value + // is determined as follows: - Before April 15th, 2018 the default is: + // ml_enabled = false / ml_disabled = true. - After April 15th, 2018 the + // default is: ml_enabled = true / ml_disabled = false. + MlEnabled bool `json:"mlEnabled,omitempty"` - // QueryText: The original conversational query text: - If natural - // language text was provided as input, `query_text` contains a copy of - // the input. - If natural language speech audio was provided as input, - // `query_text` contains the speech recognition result. If speech - // recognizer produced multiple alternatives, a particular one is - // picked. - If automatic spell correction is enabled, `query_text` will - // contain the corrected user input. - QueryText string `json:"queryText,omitempty"` + // Name: Optional. The unique identifier of this intent. Required for + // Intents.UpdateIntent and Intents.BatchUpdateIntents methods. + // Supported formats: - `projects//agent/intents/` - + // `projects//locations//agent/intents/` + Name string `json:"name,omitempty"` - // SentimentAnalysisResult: The sentiment analysis result, which depends - // on the `sentiment_analysis_request_config` specified in the request. - SentimentAnalysisResult *GoogleCloudDialogflowV2beta1SentimentAnalysisResult `json:"sentimentAnalysisResult,omitempty"` + // OutputContexts: Optional. The collection of contexts that are + // activated when the intent is matched. Context messages in this + // collection should not set the parameters field. Setting the + // `lifespan_count` to 0 will reset the context when the intent is + // matched. Format: `projects//agent/sessions/-/contexts/`. + OutputContexts []*GoogleCloudDialogflowV2beta1Context `json:"outputContexts,omitempty"` - // SpeechRecognitionConfidence: The Speech recognition confidence - // between 0.0 and 1.0. A higher number indicates an estimated greater - // likelihood that the recognized words are correct. The default of 0.0 - // is a sentinel value indicating that confidence was not set. This - // field is not guaranteed to be accurate or set. In particular this - // field isn't set for StreamingDetectIntent since the streaming - // endpoint has separate confidence estimates per portion of the audio - // in StreamingRecognitionResult. - SpeechRecognitionConfidence float64 `json:"speechRecognitionConfidence,omitempty"` - - // WebhookPayload: If the query was fulfilled by a webhook call, this - // field is set to the value of the `payload` field returned in the - // webhook response. - WebhookPayload googleapi.RawMessage `json:"webhookPayload,omitempty"` - - // WebhookSource: If the query was fulfilled by a webhook call, this - // field is set to the value of the `source` field returned in the - // webhook response. - WebhookSource string `json:"webhookSource,omitempty"` + // Parameters: Optional. The collection of parameters associated with + // the intent. + Parameters []*GoogleCloudDialogflowV2beta1IntentParameter `json:"parameters,omitempty"` - // ForceSendFields is a list of field names (e.g. "Action") 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:"-"` + // ParentFollowupIntentName: Optional. The unique identifier of the + // parent intent in the chain of followup intents. You can set this + // field when creating an intent, for example with CreateIntent or + // BatchUpdateIntents, in order to make this intent a followup intent. + // It identifies the parent followup intent. Format: + // `projects//agent/intents/`. + ParentFollowupIntentName string `json:"parentFollowupIntentName,omitempty"` - // NullFields is a list of field names (e.g. "Action") 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:"-"` -} + // Priority: Optional. The priority of this intent. Higher numbers + // represent higher priorities. - If the supplied value is unspecified + // or 0, the service translates the value to 500,000, which corresponds + // to the `Normal` priority in the console. - If the supplied value is + // negative, the intent is ignored in runtime detect intent requests. + Priority int64 `json:"priority,omitempty"` -func (s *GoogleCloudDialogflowV2beta1QueryResult) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1QueryResult - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} + // ResetContexts: Optional. Indicates whether to delete all contexts in + // the current session when this intent is matched. + ResetContexts bool `json:"resetContexts,omitempty"` -func (s *GoogleCloudDialogflowV2beta1QueryResult) UnmarshalJSON(data []byte) error { - type NoMethod GoogleCloudDialogflowV2beta1QueryResult - var s1 struct { - IntentDetectionConfidence gensupport.JSONFloat64 `json:"intentDetectionConfidence"` - SpeechRecognitionConfidence gensupport.JSONFloat64 `json:"speechRecognitionConfidence"` - *NoMethod - } - s1.NoMethod = (*NoMethod)(s) - if err := json.Unmarshal(data, &s1); err != nil { - return err - } - s.IntentDetectionConfidence = float64(s1.IntentDetectionConfidence) - s.SpeechRecognitionConfidence = float64(s1.SpeechRecognitionConfidence) - return nil -} + // RootFollowupIntentName: Output only. The unique identifier of the + // root intent in the chain of followup intents. It identifies the + // correct followup intents chain for this intent. Format: + // `projects//agent/intents/`. + RootFollowupIntentName string `json:"rootFollowupIntentName,omitempty"` -// GoogleCloudDialogflowV2beta1Sentiment: The sentiment, such as -// positive/negative feeling or association, for a unit of analysis, -// such as the query text. -type GoogleCloudDialogflowV2beta1Sentiment struct { - // Magnitude: A non-negative number in the [0, +inf) range, which - // represents the absolute magnitude of sentiment, regardless of score - // (positive or negative). - Magnitude float64 `json:"magnitude,omitempty"` + // TrainingPhrases: Optional. The collection of examples that the agent + // is trained on. + TrainingPhrases []*GoogleCloudDialogflowV2beta1IntentTrainingPhrase `json:"trainingPhrases,omitempty"` - // Score: Sentiment score between -1.0 (negative sentiment) and 1.0 - // (positive sentiment). - Score float64 `json:"score,omitempty"` + // WebhookState: Optional. Indicates whether webhooks are enabled for + // the intent. + // + // Possible values: + // "WEBHOOK_STATE_UNSPECIFIED" - Webhook is disabled in the agent and + // in the intent. + // "WEBHOOK_STATE_ENABLED" - Webhook is enabled in the agent and in + // the intent. + // "WEBHOOK_STATE_ENABLED_FOR_SLOT_FILLING" - Webhook is enabled in + // the agent and in the intent. Also, each slot filling prompt is + // forwarded to the webhook. + WebhookState string `json:"webhookState,omitempty"` - // ForceSendFields is a list of field names (e.g. "Magnitude") to + // ForceSendFields is a list of field names (e.g. "Action") 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 @@ -10364,8 +11379,8 @@ type GoogleCloudDialogflowV2beta1Sentiment struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Magnitude") to include in - // API requests with the JSON null value. By default, fields with empty + // NullFields is a list of field names (e.g. "Action") 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. @@ -10373,44 +11388,24 @@ type GoogleCloudDialogflowV2beta1Sentiment struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1Sentiment) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1Sentiment +func (s *GoogleCloudDialogflowV2beta1Intent) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1Intent raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -func (s *GoogleCloudDialogflowV2beta1Sentiment) UnmarshalJSON(data []byte) error { - type NoMethod GoogleCloudDialogflowV2beta1Sentiment - var s1 struct { - Magnitude gensupport.JSONFloat64 `json:"magnitude"` - Score gensupport.JSONFloat64 `json:"score"` - *NoMethod - } - s1.NoMethod = (*NoMethod)(s) - if err := json.Unmarshal(data, &s1); err != nil { - return err - } - s.Magnitude = float64(s1.Magnitude) - s.Score = float64(s1.Score) - return nil -} +// GoogleCloudDialogflowV2beta1IntentFollowupIntentInfo: Represents a +// single followup intent in the chain. +type GoogleCloudDialogflowV2beta1IntentFollowupIntentInfo struct { + // FollowupIntentName: The unique identifier of the followup intent. + // Format: `projects//agent/intents/`. + FollowupIntentName string `json:"followupIntentName,omitempty"` -// GoogleCloudDialogflowV2beta1SentimentAnalysisResult: The result of -// sentiment analysis. Sentiment analysis inspects user input and -// identifies the prevailing subjective opinion, especially to determine -// a user's attitude as positive, negative, or neutral. For -// Participants.DetectIntent, it needs to be configured in -// DetectIntentRequest.query_params. For -// Participants.StreamingDetectIntent, it needs to be configured in -// StreamingDetectIntentRequest.query_params. And for -// Participants.AnalyzeContent and Participants.StreamingAnalyzeContent, -// it needs to be configured in -// ConversationProfile.human_agent_assistant_config -type GoogleCloudDialogflowV2beta1SentimentAnalysisResult struct { - // QueryTextSentiment: The sentiment analysis result for `query_text`. - QueryTextSentiment *GoogleCloudDialogflowV2beta1Sentiment `json:"queryTextSentiment,omitempty"` + // ParentFollowupIntentName: The unique identifier of the followup + // intent's parent. Format: `projects//agent/intents/`. + ParentFollowupIntentName string `json:"parentFollowupIntentName,omitempty"` - // ForceSendFields is a list of field names (e.g. "QueryTextSentiment") + // ForceSendFields is a list of field names (e.g. "FollowupIntentName") // 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 @@ -10418,7 +11413,7 @@ type GoogleCloudDialogflowV2beta1SentimentAnalysisResult struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "QueryTextSentiment") to + // NullFields is a list of field names (e.g. "FollowupIntentName") 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 @@ -10428,201 +11423,100 @@ type GoogleCloudDialogflowV2beta1SentimentAnalysisResult struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1SentimentAnalysisResult) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1SentimentAnalysisResult +func (s *GoogleCloudDialogflowV2beta1IntentFollowupIntentInfo) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentFollowupIntentInfo raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1SessionEntityType: A session represents a -// conversation between a Dialogflow agent and an end-user. You can -// create special entities, called session entities, during a session. -// Session entities can extend or replace custom entity types and only -// exist during the session that they were created for. All session -// data, including session entities, is stored by Dialogflow for 20 -// minutes. For more information, see the [session entity -// guide](https://cloud.google.com/dialogflow/docs/entities-session). -type GoogleCloudDialogflowV2beta1SessionEntityType struct { - // Entities: Required. The collection of entities associated with this - // session entity type. - Entities []*GoogleCloudDialogflowV2beta1EntityTypeEntity `json:"entities,omitempty"` +// GoogleCloudDialogflowV2beta1IntentMessage: Corresponds to the +// `Response` field in the Dialogflow console. +type GoogleCloudDialogflowV2beta1IntentMessage struct { + // BasicCard: Displays a basic card for Actions on Google. + BasicCard *GoogleCloudDialogflowV2beta1IntentMessageBasicCard `json:"basicCard,omitempty"` - // EntityOverrideMode: Required. Indicates whether the additional data - // should override or supplement the custom entity type definition. - // - // Possible values: - // "ENTITY_OVERRIDE_MODE_UNSPECIFIED" - Not specified. This value - // should be never used. - // "ENTITY_OVERRIDE_MODE_OVERRIDE" - The collection of session - // entities overrides the collection of entities in the corresponding - // custom entity type. - // "ENTITY_OVERRIDE_MODE_SUPPLEMENT" - The collection of session - // entities extends the collection of entities in the corresponding - // custom entity type. Note: Even in this override mode calls to - // `ListSessionEntityTypes`, `GetSessionEntityType`, - // `CreateSessionEntityType` and `UpdateSessionEntityType` only return - // the additional entities added in this session entity type. If you - // want to get the supplemented list, please call - // EntityTypes.GetEntityType on the custom entity type and merge. - EntityOverrideMode string `json:"entityOverrideMode,omitempty"` + // BrowseCarouselCard: Browse carousel card for Actions on Google. + BrowseCarouselCard *GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCard `json:"browseCarouselCard,omitempty"` - // Name: Required. The unique identifier of this session entity type. - // Supported formats: - `projects//agent/sessions//entityTypes/` - - // `projects//locations//agent/sessions//entityTypes/` - - // `projects//agent/environments//users//sessions//entityTypes/` - - // `projects//locations//agent/environments/ - // /users//sessions//entityTypes/` If `Location ID` is not specified we - // assume default 'us' location. If `Environment ID` is not specified, - // we assume default 'draft' environment. If `User ID` is not specified, - // we assume default '-' user. `` must be the display name of an - // existing entity type in the same agent that will be overridden or - // supplemented. - Name string `json:"name,omitempty"` + // Card: Displays a card. + Card *GoogleCloudDialogflowV2beta1IntentMessageCard `json:"card,omitempty"` - // ForceSendFields is a list of field names (e.g. "Entities") 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:"-"` + // CarouselSelect: Displays a carousel card for Actions on Google. + CarouselSelect *GoogleCloudDialogflowV2beta1IntentMessageCarouselSelect `json:"carouselSelect,omitempty"` - // NullFields is a list of field names (e.g. "Entities") 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:"-"` -} + // Image: Displays an image. + Image *GoogleCloudDialogflowV2beta1IntentMessageImage `json:"image,omitempty"` -func (s *GoogleCloudDialogflowV2beta1SessionEntityType) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1SessionEntityType - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} + // LinkOutSuggestion: Displays a link out suggestion chip for Actions on + // Google. + LinkOutSuggestion *GoogleCloudDialogflowV2beta1IntentMessageLinkOutSuggestion `json:"linkOutSuggestion,omitempty"` -// GoogleCloudDialogflowV2beta1WebhookRequest: The request message for a -// webhook call. -type GoogleCloudDialogflowV2beta1WebhookRequest struct { - // AlternativeQueryResults: Alternative query results from - // KnowledgeService. - AlternativeQueryResults []*GoogleCloudDialogflowV2beta1QueryResult `json:"alternativeQueryResults,omitempty"` + // ListSelect: Displays a list card for Actions on Google. + ListSelect *GoogleCloudDialogflowV2beta1IntentMessageListSelect `json:"listSelect,omitempty"` - // OriginalDetectIntentRequest: Optional. The contents of the original - // request that was passed to `[Streaming]DetectIntent` call. - OriginalDetectIntentRequest *GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest `json:"originalDetectIntentRequest,omitempty"` + // MediaContent: The media content card for Actions on Google. + MediaContent *GoogleCloudDialogflowV2beta1IntentMessageMediaContent `json:"mediaContent,omitempty"` - // QueryResult: The result of the conversational query or event - // processing. Contains the same value as - // `[Streaming]DetectIntentResponse.query_result`. - QueryResult *GoogleCloudDialogflowV2beta1QueryResult `json:"queryResult,omitempty"` + // Payload: A custom platform-specific response. + Payload googleapi.RawMessage `json:"payload,omitempty"` - // ResponseId: The unique identifier of the response. Contains the same - // value as `[Streaming]DetectIntentResponse.response_id`. - ResponseId string `json:"responseId,omitempty"` - - // Session: The unique identifier of detectIntent request session. Can - // be used to identify end-user inside webhook implementation. Supported - // formats: - `projects//agent/sessions/, - - // `projects//locations//agent/sessions/`, - - // `projects//agent/environments//users//sessions/`, - - // `projects//locations//agent/environments//users//sessions/`, - Session string `json:"session,omitempty"` + // Platform: Optional. The platform that this message is intended for. + // + // Possible values: + // "PLATFORM_UNSPECIFIED" - Not specified. + // "FACEBOOK" - Facebook. + // "SLACK" - Slack. + // "TELEGRAM" - Telegram. + // "KIK" - Kik. + // "SKYPE" - Skype. + // "LINE" - Line. + // "VIBER" - Viber. + // "ACTIONS_ON_GOOGLE" - Google Assistant See [Dialogflow webhook + // format](https://developers.google.com/assistant/actions/build/json/dia + // logflow-webhook-json) + // "TELEPHONY" - Telephony Gateway. + // "GOOGLE_HANGOUTS" - Google Hangouts. + Platform string `json:"platform,omitempty"` - // ForceSendFields is a list of field names (e.g. - // "AlternativeQueryResults") 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:"-"` + // QuickReplies: Displays quick replies. + QuickReplies *GoogleCloudDialogflowV2beta1IntentMessageQuickReplies `json:"quickReplies,omitempty"` - // NullFields is a list of field names (e.g. "AlternativeQueryResults") - // 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:"-"` -} + // RbmCarouselRichCard: Rich Business Messaging (RBM) carousel rich card + // response. + RbmCarouselRichCard *GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard `json:"rbmCarouselRichCard,omitempty"` -func (s *GoogleCloudDialogflowV2beta1WebhookRequest) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1WebhookRequest - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} + // RbmStandaloneRichCard: Standalone Rich Business Messaging (RBM) rich + // card response. + RbmStandaloneRichCard *GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCard `json:"rbmStandaloneRichCard,omitempty"` -// GoogleCloudDialogflowV2beta1WebhookResponse: The response message for -// a webhook call. This response is validated by the Dialogflow server. -// If validation fails, an error will be returned in the -// QueryResult.diagnostic_info field. Setting JSON fields to an empty -// value with the wrong type is a common error. To avoid this error: - -// Use "" for empty strings - Use `{}` or `null` for empty objects - -// Use `[]` or `null` for empty arrays For more information, see the -// [Protocol Buffers Language -// Guide](https://developers.google.com/protocol-buffers/docs/proto3#json -// ). -type GoogleCloudDialogflowV2beta1WebhookResponse struct { - // EndInteraction: Optional. Indicates that this intent ends an - // interaction. Some integrations (e.g., Actions on Google or Dialogflow - // phone gateway) use this information to close interaction with an end - // user. Default is false. - EndInteraction bool `json:"endInteraction,omitempty"` + // RbmText: Rich Business Messaging (RBM) text response. RBM allows + // businesses to send enriched and branded versions of SMS. See + // https://jibe.google.com/business-messaging. + RbmText *GoogleCloudDialogflowV2beta1IntentMessageRbmText `json:"rbmText,omitempty"` - // FollowupEventInput: Optional. Invokes the supplied events. When this - // field is set, Dialogflow ignores the `fulfillment_text`, - // `fulfillment_messages`, and `payload` fields. - FollowupEventInput *GoogleCloudDialogflowV2beta1EventInput `json:"followupEventInput,omitempty"` + // SimpleResponses: Returns a voice or text-only response for Actions on + // Google. + SimpleResponses *GoogleCloudDialogflowV2beta1IntentMessageSimpleResponses `json:"simpleResponses,omitempty"` - // FulfillmentMessages: Optional. The rich response messages intended - // for the end-user. When provided, Dialogflow uses this field to - // populate QueryResult.fulfillment_messages sent to the integration or - // API caller. - FulfillmentMessages []*GoogleCloudDialogflowV2beta1IntentMessage `json:"fulfillmentMessages,omitempty"` + // Suggestions: Displays suggestion chips for Actions on Google. + Suggestions *GoogleCloudDialogflowV2beta1IntentMessageSuggestions `json:"suggestions,omitempty"` - // FulfillmentText: Optional. The text response message intended for the - // end-user. It is recommended to use - // `fulfillment_messages.text.text[0]` instead. When provided, - // Dialogflow uses this field to populate QueryResult.fulfillment_text - // sent to the integration or API caller. - FulfillmentText string `json:"fulfillmentText,omitempty"` + // TableCard: Table card for Actions on Google. + TableCard *GoogleCloudDialogflowV2beta1IntentMessageTableCard `json:"tableCard,omitempty"` - // OutputContexts: Optional. The collection of output contexts that will - // overwrite currently active contexts for the session and reset their - // lifespans. When provided, Dialogflow uses this field to populate - // QueryResult.output_contexts sent to the integration or API caller. - OutputContexts []*GoogleCloudDialogflowV2beta1Context `json:"outputContexts,omitempty"` + // TelephonyPlayAudio: Plays audio from a file in Telephony Gateway. + TelephonyPlayAudio *GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudio `json:"telephonyPlayAudio,omitempty"` - // Payload: Optional. This field can be used to pass custom data from - // your webhook to the integration or API caller. Arbitrary JSON objects - // are supported. When provided, Dialogflow uses this field to populate - // QueryResult.webhook_payload sent to the integration or API caller. - // This field is also used by the [Google Assistant - // integration](https://cloud.google.com/dialogflow/docs/integrations/aog - // ) for rich response messages. See the format definition at [Google - // Assistant Dialogflow webhook - // format](https://developers.google.com/assistant/actions/build/json/dia - // logflow-webhook-json) - Payload googleapi.RawMessage `json:"payload,omitempty"` + // TelephonySynthesizeSpeech: Synthesizes speech in Telephony Gateway. + TelephonySynthesizeSpeech *GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeech `json:"telephonySynthesizeSpeech,omitempty"` - // SessionEntityTypes: Optional. Additional session entity types to - // replace or extend developer entity types with. The entity synonyms - // apply to all languages and persist for the session. Setting this data - // from a webhook overwrites the session entity types that have been set - // using `detectIntent`, `streamingDetectIntent` or SessionEntityType - // management methods. - SessionEntityTypes []*GoogleCloudDialogflowV2beta1SessionEntityType `json:"sessionEntityTypes,omitempty"` + // TelephonyTransferCall: Transfers the call in Telephony Gateway. + TelephonyTransferCall *GoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCall `json:"telephonyTransferCall,omitempty"` - // Source: Optional. A custom field used to identify the webhook source. - // Arbitrary strings are supported. When provided, Dialogflow uses this - // field to populate QueryResult.webhook_source sent to the integration - // or API caller. - Source string `json:"source,omitempty"` + // Text: Returns a text response. + Text *GoogleCloudDialogflowV2beta1IntentMessageText `json:"text,omitempty"` - // ForceSendFields is a list of field names (e.g. "EndInteraction") to + // ForceSendFields is a list of field names (e.g. "BasicCard") 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 @@ -10630,37 +11524,41 @@ type GoogleCloudDialogflowV2beta1WebhookResponse struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "EndInteraction") 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. "BasicCard") 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 *GoogleCloudDialogflowV2beta1WebhookResponse) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1WebhookResponse +func (s *GoogleCloudDialogflowV2beta1IntentMessage) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessage raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleLongrunningListOperationsResponse: The response message for -// Operations.ListOperations. -type GoogleLongrunningListOperationsResponse struct { - // NextPageToken: The standard List next-page token. - NextPageToken string `json:"nextPageToken,omitempty"` +// GoogleCloudDialogflowV2beta1IntentMessageBasicCard: The basic card +// message. Useful for displaying information. +type GoogleCloudDialogflowV2beta1IntentMessageBasicCard struct { + // Buttons: Optional. The collection of card buttons. + Buttons []*GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton `json:"buttons,omitempty"` - // Operations: A list of operations that matches the specified filter in - // the request. - Operations []*GoogleLongrunningOperation `json:"operations,omitempty"` + // FormattedText: Required, unless image is present. The body text of + // the card. + FormattedText string `json:"formattedText,omitempty"` - // ServerResponse contains the HTTP response code and headers from the - // server. - googleapi.ServerResponse `json:"-"` + // Image: Optional. The image for the card. + Image *GoogleCloudDialogflowV2beta1IntentMessageImage `json:"image,omitempty"` - // ForceSendFields is a list of field names (e.g. "NextPageToken") to + // Subtitle: Optional. The subtitle of the card. + Subtitle string `json:"subtitle,omitempty"` + + // Title: Optional. The title of the card. + Title string `json:"title,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Buttons") 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 @@ -10668,61 +11566,32 @@ type GoogleLongrunningListOperationsResponse struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "NextPageToken") 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 + // NullFields is a list of field names (e.g. "Buttons") 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 *GoogleLongrunningListOperationsResponse) MarshalJSON() ([]byte, error) { - type NoMethod GoogleLongrunningListOperationsResponse +func (s *GoogleCloudDialogflowV2beta1IntentMessageBasicCard) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageBasicCard raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleLongrunningOperation: This resource represents a long-running -// operation that is the result of a network API call. -type GoogleLongrunningOperation struct { - // Done: If the value is `false`, it means the operation is still in - // progress. If `true`, the operation is completed, and either `error` - // or `response` is available. - Done bool `json:"done,omitempty"` - - // Error: The error result of the operation in case of failure or - // cancellation. - Error *GoogleRpcStatus `json:"error,omitempty"` - - // Metadata: Service-specific metadata associated with the operation. It - // typically contains progress information and common metadata such as - // create time. Some services might not provide such metadata. Any - // method that returns a long-running operation should document the - // metadata type, if any. - Metadata googleapi.RawMessage `json:"metadata,omitempty"` - - // Name: The server-assigned name, which is only unique within the same - // service that originally returns it. If you use the default HTTP - // mapping, the `name` should be a resource name ending with - // `operations/{unique_id}`. - Name string `json:"name,omitempty"` - - // Response: The normal response of the operation in case of success. If - // the original method returns no data on success, such as `Delete`, the - // response is `google.protobuf.Empty`. If the original method is - // standard `Get`/`Create`/`Update`, the response should be the - // resource. For other methods, the response should have the type - // `XxxResponse`, where `Xxx` is the original method name. For example, - // if the original method name is `TakeSnapshot()`, the inferred - // response type is `TakeSnapshotResponse`. - Response googleapi.RawMessage `json:"response,omitempty"` +// GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton: The button +// object that appears at the bottom of a card. +type GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton struct { + // OpenUriAction: Required. Action to take when a user taps on the + // button. + OpenUriAction *GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonOpenUriAction `json:"openUriAction,omitempty"` - // ServerResponse contains the HTTP response code and headers from the - // server. - googleapi.ServerResponse `json:"-"` + // Title: Required. The title of the button. + Title string `json:"title,omitempty"` - // ForceSendFields is a list of field names (e.g. "Done") to + // ForceSendFields is a list of field names (e.g. "OpenUriAction") 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 @@ -10730,55 +11599,124 @@ type GoogleLongrunningOperation struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Done") 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 + // NullFields is a list of field names (e.g. "OpenUriAction") 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 *GoogleLongrunningOperation) MarshalJSON() ([]byte, error) { - type NoMethod GoogleLongrunningOperation +func (s *GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleProtobufEmpty: A generic empty message that you can re-use to -// avoid defining duplicated empty messages in your APIs. A typical -// example is to use it as the request or the response type of an API -// method. For instance: service Foo { rpc Bar(google.protobuf.Empty) -// returns (google.protobuf.Empty); } The JSON representation for -// `Empty` is empty JSON object `{}`. -type GoogleProtobufEmpty struct { - // ServerResponse contains the HTTP response code and headers from the - // server. - googleapi.ServerResponse `json:"-"` +// GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonOpenUriAction: +// Opens the given URI. +type GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonOpenUriAction struct { + // Uri: Required. The HTTP or HTTPS scheme URI. + Uri string `json:"uri,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Uri") 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. "Uri") 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:"-"` } -// GoogleRpcStatus: The `Status` type defines a logical error model that -// is suitable for different programming environments, including REST -// APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). -// Each `Status` message contains three pieces of data: error code, -// error message, and error details. You can find out more about this -// error model and how to work with it in the [API Design -// Guide](https://cloud.google.com/apis/design/errors). -type GoogleRpcStatus struct { - // Code: The status code, which should be an enum value of - // google.rpc.Code. - Code int64 `json:"code,omitempty"` +func (s *GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonOpenUriAction) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonOpenUriAction + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} - // Details: A list of messages that carry the error details. There is a - // common set of message types for APIs to use. - Details []googleapi.RawMessage `json:"details,omitempty"` +// GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCard: Browse +// Carousel Card for Actions on Google. +// https://developers.google.com/actions/assistant/responses#browsing_carousel +type GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCard struct { + // ImageDisplayOptions: Optional. Settings for displaying the image. + // Applies to every image in items. + // + // Possible values: + // "IMAGE_DISPLAY_OPTIONS_UNSPECIFIED" - Fill the gaps between the + // image and the image container with gray bars. + // "GRAY" - Fill the gaps between the image and the image container + // with gray bars. + // "WHITE" - Fill the gaps between the image and the image container + // with white bars. + // "CROPPED" - Image is scaled such that the image width and height + // match or exceed the container dimensions. This may crop the top and + // bottom of the image if the scaled image height is greater than the + // container height, or crop the left and right of the image if the + // scaled image width is greater than the container width. This is + // similar to "Zoom Mode" on a widescreen TV when playing a 4:3 video. + // "BLURRED_BACKGROUND" - Pad the gaps between image and image frame + // with a blurred copy of the same image. + ImageDisplayOptions string `json:"imageDisplayOptions,omitempty"` - // Message: A developer-facing error message, which should be in - // English. Any user-facing error message should be localized and sent - // in the google.rpc.Status.details field, or localized by the client. - Message string `json:"message,omitempty"` + // Items: Required. List of items in the Browse Carousel Card. Minimum + // of two items, maximum of ten. + Items []*GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItem `json:"items,omitempty"` - // ForceSendFields is a list of field names (e.g. "Code") to + // ForceSendFields is a list of field names (e.g. "ImageDisplayOptions") + // 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. "ImageDisplayOptions") 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 *GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCard) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCard + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarou +// selCardItem: Browsing carousel tile +type GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItem struct { + // Description: Optional. Description of the carousel item. Maximum of + // four lines of text. + Description string `json:"description,omitempty"` + + // Footer: Optional. Text that appears at the bottom of the Browse + // Carousel Card. Maximum of one line of text. + Footer string `json:"footer,omitempty"` + + // Image: Optional. Hero image for the carousel item. + Image *GoogleCloudDialogflowV2beta1IntentMessageImage `json:"image,omitempty"` + + // OpenUriAction: Required. Action to present to the user. + OpenUriAction *GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction `json:"openUriAction,omitempty"` + + // Title: Required. Title of the carousel item. Maximum of two lines of + // text. + 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 @@ -10786,7 +11724,47 @@ type GoogleRpcStatus struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Code") to include in API + // 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 *GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItem) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItem + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarou +// selCardItemOpenUrlAction: Actions on Google action to open a given +// url. +type GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction struct { + // Url: Required. URL + Url string `json:"url,omitempty"` + + // UrlTypeHint: Optional. Specifies the type of viewer that is used when + // opening the URL. Defaults to opening via web browser. + // + // Possible values: + // "URL_TYPE_HINT_UNSPECIFIED" - Unspecified + // "AMP_ACTION" - Url would be an amp action + // "AMP_CONTENT" - URL that points directly to AMP content, or to a + // canonical URL which refers to AMP content via . + UrlTypeHint string `json:"urlTypeHint,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Url") 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. "Url") 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 @@ -10795,27 +11773,28 @@ type GoogleRpcStatus struct { NullFields []string `json:"-"` } -func (s *GoogleRpcStatus) MarshalJSON() ([]byte, error) { - type NoMethod GoogleRpcStatus +func (s *GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleTypeLatLng: An object that represents a latitude/longitude -// pair. This is expressed as a pair of doubles to represent degrees -// latitude and degrees longitude. Unless specified otherwise, this must -// conform to the WGS84 standard. Values must be within normalized -// ranges. -type GoogleTypeLatLng struct { - // Latitude: The latitude in degrees. It must be in the range [-90.0, - // +90.0]. - Latitude float64 `json:"latitude,omitempty"` +// GoogleCloudDialogflowV2beta1IntentMessageCard: The card response +// message. +type GoogleCloudDialogflowV2beta1IntentMessageCard struct { + // Buttons: Optional. The collection of card buttons. + Buttons []*GoogleCloudDialogflowV2beta1IntentMessageCardButton `json:"buttons,omitempty"` - // Longitude: The longitude in degrees. It must be in the range [-180.0, - // +180.0]. - Longitude float64 `json:"longitude,omitempty"` + // ImageUri: Optional. The public URI to an image file for the card. + ImageUri string `json:"imageUri,omitempty"` - // ForceSendFields is a list of field names (e.g. "Latitude") to + // Subtitle: Optional. The subtitle of the card. + Subtitle string `json:"subtitle,omitempty"` + + // Title: Optional. The title of the card. + Title string `json:"title,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Buttons") 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 @@ -10823,7 +11802,7 @@ type GoogleTypeLatLng struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Latitude") to include in + // NullFields is a list of field names (e.g. "Buttons") 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 @@ -10832,51 +11811,4215 @@ type GoogleTypeLatLng struct { NullFields []string `json:"-"` } -func (s *GoogleTypeLatLng) MarshalJSON() ([]byte, error) { - type NoMethod GoogleTypeLatLng +func (s *GoogleCloudDialogflowV2beta1IntentMessageCard) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageCard raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -func (s *GoogleTypeLatLng) UnmarshalJSON(data []byte) error { - type NoMethod GoogleTypeLatLng - var s1 struct { - Latitude gensupport.JSONFloat64 `json:"latitude"` - Longitude gensupport.JSONFloat64 `json:"longitude"` - *NoMethod - } - s1.NoMethod = (*NoMethod)(s) - if err := json.Unmarshal(data, &s1); err != nil { - return err - } - s.Latitude = float64(s1.Latitude) - s.Longitude = float64(s1.Longitude) - return nil +// GoogleCloudDialogflowV2beta1IntentMessageCardButton: Optional. +// Contains information about a button. +type GoogleCloudDialogflowV2beta1IntentMessageCardButton struct { + // Postback: Optional. The text to send back to the Dialogflow API or a + // URI to open. + Postback string `json:"postback,omitempty"` + + // Text: Optional. The text to show on the button. + Text string `json:"text,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Postback") 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. "Postback") 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 *GoogleCloudDialogflowV2beta1IntentMessageCardButton) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageCardButton + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1IntentMessageCarouselSelect: The card for +// presenting a carousel of options to select from. +type GoogleCloudDialogflowV2beta1IntentMessageCarouselSelect struct { + // Items: Required. Carousel items. + Items []*GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItem `json:"items,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Items") 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. "Items") 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 *GoogleCloudDialogflowV2beta1IntentMessageCarouselSelect) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageCarouselSelect + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItem: An item +// in the carousel. +type GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItem struct { + // Description: Optional. The body text of the card. + Description string `json:"description,omitempty"` + + // Image: Optional. The image to display. + Image *GoogleCloudDialogflowV2beta1IntentMessageImage `json:"image,omitempty"` + + // Info: Required. Additional info about the option item. + Info *GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo `json:"info,omitempty"` + + // Title: Required. Title of the carousel item. + 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 *GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItem) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItem + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1IntentMessageColumnProperties: Column +// properties for TableCard. +type GoogleCloudDialogflowV2beta1IntentMessageColumnProperties struct { + // Header: Required. Column heading. + Header string `json:"header,omitempty"` + + // HorizontalAlignment: Optional. Defines text alignment for all cells + // in this column. + // + // Possible values: + // "HORIZONTAL_ALIGNMENT_UNSPECIFIED" - Text is aligned to the leading + // edge of the column. + // "LEADING" - Text is aligned to the leading edge of the column. + // "CENTER" - Text is centered in the column. + // "TRAILING" - Text is aligned to the trailing edge of the column. + HorizontalAlignment string `json:"horizontalAlignment,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Header") 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. "Header") 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 *GoogleCloudDialogflowV2beta1IntentMessageColumnProperties) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageColumnProperties + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1IntentMessageImage: The image response +// message. +type GoogleCloudDialogflowV2beta1IntentMessageImage struct { + // AccessibilityText: A text description of the image to be used for + // accessibility, e.g., screen readers. Required if image_uri is set for + // CarouselSelect. + AccessibilityText string `json:"accessibilityText,omitempty"` + + // ImageUri: Optional. The public URI to an image file. + ImageUri string `json:"imageUri,omitempty"` + + // ForceSendFields is a list of field names (e.g. "AccessibilityText") + // 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. "AccessibilityText") 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 *GoogleCloudDialogflowV2beta1IntentMessageImage) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageImage + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1IntentMessageLinkOutSuggestion: The +// suggestion chip message that allows the user to jump out to the app +// or website associated with this agent. +type GoogleCloudDialogflowV2beta1IntentMessageLinkOutSuggestion struct { + // DestinationName: Required. The name of the app or site this chip is + // linking to. + DestinationName string `json:"destinationName,omitempty"` + + // Uri: Required. The URI of the app or site to open when the user taps + // the suggestion chip. + Uri string `json:"uri,omitempty"` + + // ForceSendFields is a list of field names (e.g. "DestinationName") 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. "DestinationName") 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 *GoogleCloudDialogflowV2beta1IntentMessageLinkOutSuggestion) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageLinkOutSuggestion + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1IntentMessageListSelect: The card for +// presenting a list of options to select from. +type GoogleCloudDialogflowV2beta1IntentMessageListSelect struct { + // Items: Required. List items. + Items []*GoogleCloudDialogflowV2beta1IntentMessageListSelectItem `json:"items,omitempty"` + + // Subtitle: Optional. Subtitle of the list. + Subtitle string `json:"subtitle,omitempty"` + + // Title: Optional. The overall title of the list. + Title string `json:"title,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Items") 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. "Items") 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 *GoogleCloudDialogflowV2beta1IntentMessageListSelect) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageListSelect + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1IntentMessageListSelectItem: An item in +// the list. +type GoogleCloudDialogflowV2beta1IntentMessageListSelectItem struct { + // Description: Optional. The main text describing the item. + Description string `json:"description,omitempty"` + + // Image: Optional. The image to display. + Image *GoogleCloudDialogflowV2beta1IntentMessageImage `json:"image,omitempty"` + + // Info: Required. Additional information about this option. + Info *GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo `json:"info,omitempty"` + + // Title: Required. The title of the list item. + 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 *GoogleCloudDialogflowV2beta1IntentMessageListSelectItem) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageListSelectItem + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1IntentMessageMediaContent: The media +// content card for Actions on Google. +type GoogleCloudDialogflowV2beta1IntentMessageMediaContent struct { + // MediaObjects: Required. List of media objects. + MediaObjects []*GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObject `json:"mediaObjects,omitempty"` + + // MediaType: Optional. What type of media is the content (ie "audio"). + // + // Possible values: + // "RESPONSE_MEDIA_TYPE_UNSPECIFIED" - Unspecified. + // "AUDIO" - Response media type is audio. + MediaType string `json:"mediaType,omitempty"` + + // ForceSendFields is a list of field names (e.g. "MediaObjects") 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. "MediaObjects") 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 *GoogleCloudDialogflowV2beta1IntentMessageMediaContent) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageMediaContent + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObje +// ct: Response media object for media content card. +type GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObject struct { + // ContentUrl: Required. Url where the media is stored. + ContentUrl string `json:"contentUrl,omitempty"` + + // Description: Optional. Description of media card. + Description string `json:"description,omitempty"` + + // Icon: Optional. Icon to display above media content. + Icon *GoogleCloudDialogflowV2beta1IntentMessageImage `json:"icon,omitempty"` + + // LargeImage: Optional. Image to display above media content. + LargeImage *GoogleCloudDialogflowV2beta1IntentMessageImage `json:"largeImage,omitempty"` + + // Name: Required. Name of media card. + Name string `json:"name,omitempty"` + + // ForceSendFields is a list of field names (e.g. "ContentUrl") 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. "ContentUrl") 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 *GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObject) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObject + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1IntentMessageQuickReplies: The quick +// replies response message. +type GoogleCloudDialogflowV2beta1IntentMessageQuickReplies struct { + // QuickReplies: Optional. The collection of quick replies. + QuickReplies []string `json:"quickReplies,omitempty"` + + // Title: Optional. The title of the collection of quick replies. + Title string `json:"title,omitempty"` + + // ForceSendFields is a list of field names (e.g. "QuickReplies") 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. "QuickReplies") 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 *GoogleCloudDialogflowV2beta1IntentMessageQuickReplies) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageQuickReplies + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent: Rich +// Business Messaging (RBM) Card content +type GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent struct { + // Description: Optional. Description of the card (at most 2000 bytes). + // At least one of the title, description or media must be set. + Description string `json:"description,omitempty"` + + // Media: Optional. However at least one of the title, description or + // media must be set. Media (image, GIF or a video) to include in the + // card. + Media *GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMedia `json:"media,omitempty"` + + // Suggestions: Optional. List of suggestions to include in the card. + Suggestions []*GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion `json:"suggestions,omitempty"` + + // Title: Optional. Title of the card (at most 200 bytes). At least one + // of the title, description or media must be set. + 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 *GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMedia: Rich +// Business Messaging (RBM) Media displayed in Cards The following +// media-types are currently supported: Image Types * image/jpeg * +// image/jpg' * image/gif * image/png Video Types * video/h263 * +// video/m4v * video/mp4 * video/mpeg * video/mpeg4 * video/webm +type GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMedia struct { + // FileUri: Required. Publicly reachable URI of the file. The RBM + // platform determines the MIME type of the file from the content-type + // field in the HTTP headers when the platform fetches the file. The + // content-type field must be present and accurate in the HTTP response + // from the URL. + FileUri string `json:"fileUri,omitempty"` + + // Height: Required for cards with vertical orientation. The height of + // the media within a rich card with a vertical layout. For a standalone + // card with horizontal layout, height is not customizable, and this + // field is ignored. + // + // Possible values: + // "HEIGHT_UNSPECIFIED" - Not specified. + // "SHORT" - 112 DP. + // "MEDIUM" - 168 DP. + // "TALL" - 264 DP. Not available for rich card carousels when the + // card width is set to small. + Height string `json:"height,omitempty"` + + // ThumbnailUri: Optional. Publicly reachable URI of the thumbnail.If + // you don't provide a thumbnail URI, the RBM platform displays a blank + // placeholder thumbnail until the user's device downloads the file. + // Depending on the user's setting, the file may not download + // automatically and may require the user to tap a download button. + ThumbnailUri string `json:"thumbnailUri,omitempty"` + + // ForceSendFields is a list of field names (e.g. "FileUri") 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. "FileUri") 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 *GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMedia) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMedia + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard: Carousel +// Rich Business Messaging (RBM) rich card. Rich cards allow you to +// respond to users with more vivid content, e.g. with media and +// suggestions. If you want to show a single card with more control over +// the layout, please use RbmStandaloneCard instead. +type GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard struct { + // CardContents: Required. The cards in the carousel. A carousel must + // have at least 2 cards and at most 10. + CardContents []*GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent `json:"cardContents,omitempty"` + + // CardWidth: Required. The width of the cards in the carousel. + // + // Possible values: + // "CARD_WIDTH_UNSPECIFIED" - Not specified. + // "SMALL" - 120 DP. Note that tall media cannot be used. + // "MEDIUM" - 232 DP. + CardWidth string `json:"cardWidth,omitempty"` + + // ForceSendFields is a list of field names (e.g. "CardContents") 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. "CardContents") 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 *GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCard: +// Standalone Rich Business Messaging (RBM) rich card. Rich cards allow +// you to respond to users with more vivid content, e.g. with media and +// suggestions. You can group multiple rich cards into one using +// RbmCarouselCard but carousel cards will give you less control over +// the card layout. +type GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCard struct { + // CardContent: Required. Card content. + CardContent *GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent `json:"cardContent,omitempty"` + + // CardOrientation: Required. Orientation of the card. + // + // Possible values: + // "CARD_ORIENTATION_UNSPECIFIED" - Not specified. + // "HORIZONTAL" - Horizontal layout. + // "VERTICAL" - Vertical layout. + CardOrientation string `json:"cardOrientation,omitempty"` + + // ThumbnailImageAlignment: Required if orientation is horizontal. Image + // preview alignment for standalone cards with horizontal layout. + // + // Possible values: + // "THUMBNAIL_IMAGE_ALIGNMENT_UNSPECIFIED" - Not specified. + // "LEFT" - Thumbnail preview is left-aligned. + // "RIGHT" - Thumbnail preview is right-aligned. + ThumbnailImageAlignment string `json:"thumbnailImageAlignment,omitempty"` + + // ForceSendFields is a list of field names (e.g. "CardContent") 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. "CardContent") 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 *GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCard) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCard + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction: Rich +// Business Messaging (RBM) suggested client-side action that the user +// can choose from the card. +type GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction struct { + // Dial: Suggested client side action: Dial a phone number + Dial *GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDial `json:"dial,omitempty"` + + // OpenUrl: Suggested client side action: Open a URI on device + OpenUrl *GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionOpenUri `json:"openUrl,omitempty"` + + // PostbackData: Opaque payload that the Dialogflow receives in a user + // event when the user taps the suggested action. This data will be also + // forwarded to webhook to allow performing custom business logic. + PostbackData string `json:"postbackData,omitempty"` + + // ShareLocation: Suggested client side action: Share user location + ShareLocation *GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionShareLocation `json:"shareLocation,omitempty"` + + // Text: Text to display alongside the action. + Text string `json:"text,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Dial") 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. "Dial") 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 *GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggeste +// dActionDial: Opens the user's default dialer app with the specified +// phone number but does not dial automatically. +type GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDial struct { + // PhoneNumber: Required. The phone number to fill in the default dialer + // app. This field should be in + // [E.164](https://en.wikipedia.org/wiki/E.164) format. An example of a + // correctly formatted phone number: +15556767888. + PhoneNumber string `json:"phoneNumber,omitempty"` + + // ForceSendFields is a list of field names (e.g. "PhoneNumber") 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. "PhoneNumber") 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 *GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDial) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDial + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggeste +// dActionOpenUri: Opens the user's default web browser app to the +// specified uri If the user has an app installed that is registered as +// the default handler for the URL, then this app will be opened +// instead, and its icon will be used in the suggested action UI. +type GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionOpenUri struct { + // Uri: Required. The uri to open on the user device + Uri string `json:"uri,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Uri") 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. "Uri") 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 *GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionOpenUri) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionOpenUri + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggeste +// dActionShareLocation: Opens the device's location chooser so the user +// can pick a location to send back to the agent. +type GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionShareLocation struct { +} + +// GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReply: Rich +// Business Messaging (RBM) suggested reply that the user can click +// instead of typing in their own response. +type GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReply struct { + // PostbackData: Opaque payload that the Dialogflow receives in a user + // event when the user taps the suggested reply. This data will be also + // forwarded to webhook to allow performing custom business logic. + PostbackData string `json:"postbackData,omitempty"` + + // Text: Suggested reply text. + Text string `json:"text,omitempty"` + + // ForceSendFields is a list of field names (e.g. "PostbackData") 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. "PostbackData") 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 *GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReply) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReply + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion: Rich Business +// Messaging (RBM) suggestion. Suggestions allow user to easily +// select/click a predefined response or perform an action (like opening +// a web uri). +type GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion struct { + // Action: Predefined client side actions that user can choose + Action *GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction `json:"action,omitempty"` + + // Reply: Predefined replies for user to select instead of typing + Reply *GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReply `json:"reply,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Action") 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. "Action") 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 *GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1IntentMessageRbmText: Rich Business +// Messaging (RBM) text response with suggestions. +type GoogleCloudDialogflowV2beta1IntentMessageRbmText struct { + // RbmSuggestion: Optional. One or more suggestions to show to the user. + RbmSuggestion []*GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion `json:"rbmSuggestion,omitempty"` + + // Text: Required. Text sent and displayed to the user. + Text string `json:"text,omitempty"` + + // ForceSendFields is a list of field names (e.g. "RbmSuggestion") 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. "RbmSuggestion") 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 *GoogleCloudDialogflowV2beta1IntentMessageRbmText) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageRbmText + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo: Additional +// info about the select item for when it is triggered in a dialog. +type GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo struct { + // Key: Required. A unique key that will be sent back to the agent if + // this response is given. + Key string `json:"key,omitempty"` + + // Synonyms: Optional. A list of synonyms that can also be used to + // trigger this item in dialog. + Synonyms []string `json:"synonyms,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Key") 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. "Key") 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 *GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse: The simple +// response message containing speech or text. +type GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse struct { + // DisplayText: Optional. The text to display. + DisplayText string `json:"displayText,omitempty"` + + // Ssml: One of text_to_speech or ssml must be provided. Structured + // spoken response to the user in the SSML format. Mutually exclusive + // with text_to_speech. + Ssml string `json:"ssml,omitempty"` + + // TextToSpeech: One of text_to_speech or ssml must be provided. The + // plain text of the speech output. Mutually exclusive with ssml. + TextToSpeech string `json:"textToSpeech,omitempty"` + + // ForceSendFields is a list of field names (e.g. "DisplayText") 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. "DisplayText") 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 *GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1IntentMessageSimpleResponses: The +// collection of simple response candidates. This message in +// `QueryResult.fulfillment_messages` and +// `WebhookResponse.fulfillment_messages` should contain only one +// `SimpleResponse`. +type GoogleCloudDialogflowV2beta1IntentMessageSimpleResponses struct { + // SimpleResponses: Required. The list of simple responses. + SimpleResponses []*GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse `json:"simpleResponses,omitempty"` + + // ForceSendFields is a list of field names (e.g. "SimpleResponses") 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. "SimpleResponses") 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 *GoogleCloudDialogflowV2beta1IntentMessageSimpleResponses) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageSimpleResponses + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1IntentMessageSuggestion: The suggestion +// chip message that the user can tap to quickly post a reply to the +// conversation. +type GoogleCloudDialogflowV2beta1IntentMessageSuggestion struct { + // Title: Required. The text shown the in the suggestion chip. + Title string `json:"title,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Title") 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. "Title") 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 *GoogleCloudDialogflowV2beta1IntentMessageSuggestion) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageSuggestion + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1IntentMessageSuggestions: The collection +// of suggestions. +type GoogleCloudDialogflowV2beta1IntentMessageSuggestions struct { + // Suggestions: Required. The list of suggested replies. + Suggestions []*GoogleCloudDialogflowV2beta1IntentMessageSuggestion `json:"suggestions,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Suggestions") 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. "Suggestions") 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 *GoogleCloudDialogflowV2beta1IntentMessageSuggestions) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageSuggestions + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1IntentMessageTableCard: Table card for +// Actions on Google. +type GoogleCloudDialogflowV2beta1IntentMessageTableCard struct { + // Buttons: Optional. List of buttons for the card. + Buttons []*GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton `json:"buttons,omitempty"` + + // ColumnProperties: Optional. Display properties for the columns in + // this table. + ColumnProperties []*GoogleCloudDialogflowV2beta1IntentMessageColumnProperties `json:"columnProperties,omitempty"` + + // Image: Optional. Image which should be displayed on the card. + Image *GoogleCloudDialogflowV2beta1IntentMessageImage `json:"image,omitempty"` + + // Rows: Optional. Rows in this table of data. + Rows []*GoogleCloudDialogflowV2beta1IntentMessageTableCardRow `json:"rows,omitempty"` + + // Subtitle: Optional. Subtitle to the title. + Subtitle string `json:"subtitle,omitempty"` + + // Title: Required. Title of the card. + Title string `json:"title,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Buttons") 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. "Buttons") 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 *GoogleCloudDialogflowV2beta1IntentMessageTableCard) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageTableCard + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1IntentMessageTableCardCell: Cell of +// TableCardRow. +type GoogleCloudDialogflowV2beta1IntentMessageTableCardCell struct { + // Text: Required. Text in this cell. + Text string `json:"text,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Text") 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. "Text") 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 *GoogleCloudDialogflowV2beta1IntentMessageTableCardCell) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageTableCardCell + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1IntentMessageTableCardRow: Row of +// TableCard. +type GoogleCloudDialogflowV2beta1IntentMessageTableCardRow struct { + // Cells: Optional. List of cells that make up this row. + Cells []*GoogleCloudDialogflowV2beta1IntentMessageTableCardCell `json:"cells,omitempty"` + + // DividerAfter: Optional. Whether to add a visual divider after this + // row. + DividerAfter bool `json:"dividerAfter,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Cells") 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. "Cells") 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 *GoogleCloudDialogflowV2beta1IntentMessageTableCardRow) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageTableCardRow + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudio: Plays +// audio from a file in Telephony Gateway. +type GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudio struct { + // AudioUri: Required. URI to a Google Cloud Storage object containing + // the audio to play, e.g., "gs://bucket/object". The object must + // contain a single channel (mono) of linear PCM audio (2 bytes / + // sample) at 8kHz. This object must be readable by the + // `service-@gcp-sa-dialogflow.iam.gserviceaccount.com` service account + // where is the number of the Telephony Gateway project (usually the + // same as the Dialogflow agent project). If the Google Cloud Storage + // bucket is in the Telephony Gateway project, this permission is added + // by default when enabling the Dialogflow V2 API. For audio from other + // sources, consider using the `TelephonySynthesizeSpeech` message with + // SSML. + AudioUri string `json:"audioUri,omitempty"` + + // ForceSendFields is a list of field names (e.g. "AudioUri") 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. "AudioUri") 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 *GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudio) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudio + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeech: +// Synthesizes speech and plays back the synthesized audio to the caller +// in Telephony Gateway. Telephony Gateway takes the synthesizer +// settings from `DetectIntentResponse.output_audio_config` which can +// either be set at request-level or can come from the agent-level +// synthesizer config. +type GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeech struct { + // Ssml: The SSML to be synthesized. For more information, see + // [SSML](https://developers.google.com/actions/reference/ssml). + Ssml string `json:"ssml,omitempty"` + + // Text: The raw text to be synthesized. + Text string `json:"text,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Ssml") 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. "Ssml") 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 *GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeech) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeech + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCall: +// Transfers the call in Telephony Gateway. +type GoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCall struct { + // PhoneNumber: Required. The phone number to transfer the call to in + // [E.164 format](https://en.wikipedia.org/wiki/E.164). We currently + // only allow transferring to US numbers (+1xxxyyyzzzz). + PhoneNumber string `json:"phoneNumber,omitempty"` + + // ForceSendFields is a list of field names (e.g. "PhoneNumber") 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. "PhoneNumber") 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 *GoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCall) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCall + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1IntentMessageText: The text response +// message. +type GoogleCloudDialogflowV2beta1IntentMessageText struct { + // Text: Optional. The collection of the agent's responses. + Text []string `json:"text,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Text") 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. "Text") 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 *GoogleCloudDialogflowV2beta1IntentMessageText) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageText + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1IntentParameter: Represents intent +// parameters. +type GoogleCloudDialogflowV2beta1IntentParameter struct { + // DefaultValue: Optional. The default value to use when the `value` + // yields an empty result. Default values can be extracted from contexts + // by using the following syntax: `#context_name.parameter_name`. + DefaultValue string `json:"defaultValue,omitempty"` + + // DisplayName: Required. The name of the parameter. + DisplayName string `json:"displayName,omitempty"` + + // EntityTypeDisplayName: Optional. The name of the entity type, + // prefixed with `@`, that describes values of the parameter. If the + // parameter is required, this must be provided. + EntityTypeDisplayName string `json:"entityTypeDisplayName,omitempty"` + + // IsList: Optional. Indicates whether the parameter represents a list + // of values. + IsList bool `json:"isList,omitempty"` + + // Mandatory: Optional. Indicates whether the parameter is required. + // That is, whether the intent cannot be completed without collecting + // the parameter value. + Mandatory bool `json:"mandatory,omitempty"` + + // Name: The unique identifier of this parameter. + Name string `json:"name,omitempty"` + + // Prompts: Optional. The collection of prompts that the agent can + // present to the user in order to collect a value for the parameter. + Prompts []string `json:"prompts,omitempty"` + + // Value: Optional. The definition of the parameter value. It can be: - + // a constant string, - a parameter value defined as `$parameter_name`, + // - an original parameter value defined as `$parameter_name.original`, + // - a parameter value from some context defined as + // `#context_name.parameter_name`. + Value string `json:"value,omitempty"` + + // ForceSendFields is a list of field names (e.g. "DefaultValue") 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. "DefaultValue") 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 *GoogleCloudDialogflowV2beta1IntentParameter) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentParameter + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1IntentTrainingPhrase: Represents an +// example that the agent is trained on. +type GoogleCloudDialogflowV2beta1IntentTrainingPhrase struct { + // Name: Output only. The unique identifier of this training phrase. + Name string `json:"name,omitempty"` + + // Parts: Required. The ordered list of training phrase parts. The parts + // are concatenated in order to form the training phrase. Note: The API + // does not automatically annotate training phrases like the Dialogflow + // Console does. Note: Do not forget to include whitespace at part + // boundaries, so the training phrase is well formatted when the parts + // are concatenated. If the training phrase does not need to be + // annotated with parameters, you just need a single part with only the + // Part.text field set. If you want to annotate the training phrase, you + // must create multiple parts, where the fields of each part are + // populated in one of two ways: - `Part.text` is set to a part of the + // phrase that has no parameters. - `Part.text` is set to a part of the + // phrase that you want to annotate, and the `entity_type`, `alias`, and + // `user_defined` fields are all set. + Parts []*GoogleCloudDialogflowV2beta1IntentTrainingPhrasePart `json:"parts,omitempty"` + + // TimesAddedCount: Optional. Indicates how many times this example was + // added to the intent. Each time a developer adds an existing sample by + // editing an intent or training, this counter is increased. + TimesAddedCount int64 `json:"timesAddedCount,omitempty"` + + // Type: Required. The type of the training phrase. + // + // Possible values: + // "TYPE_UNSPECIFIED" - Not specified. This value should never be + // used. + // "EXAMPLE" - Examples do not contain @-prefixed entity type names, + // but example parts can be annotated with entity types. + // "TEMPLATE" - Templates are not annotated with entity types, but + // they can contain @-prefixed entity type names as substrings. Template + // mode has been deprecated. Example mode is the only supported way to + // create new training phrases. If you have existing training phrases + // that you've created in template mode, those will continue to work. + Type string `json:"type,omitempty"` + + // 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 *GoogleCloudDialogflowV2beta1IntentTrainingPhrase) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentTrainingPhrase + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1IntentTrainingPhrasePart: Represents a +// part of a training phrase. +type GoogleCloudDialogflowV2beta1IntentTrainingPhrasePart struct { + // Alias: Optional. The parameter name for the value extracted from the + // annotated part of the example. This field is required for annotated + // parts of the training phrase. + Alias string `json:"alias,omitempty"` + + // EntityType: Optional. The entity type name prefixed with `@`. This + // field is required for annotated parts of the training phrase. + EntityType string `json:"entityType,omitempty"` + + // Text: Required. The text for this part. + Text string `json:"text,omitempty"` + + // UserDefined: Optional. Indicates whether the text was manually + // annotated. This field is set to true when the Dialogflow Console is + // used to manually annotate the part. When creating an annotated part + // with the API, you must set this to true. + UserDefined bool `json:"userDefined,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Alias") 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. "Alias") 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 *GoogleCloudDialogflowV2beta1IntentTrainingPhrasePart) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentTrainingPhrasePart + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1KnowledgeAnswers: Represents the result +// of querying a Knowledge base. +type GoogleCloudDialogflowV2beta1KnowledgeAnswers struct { + // Answers: A list of answers from Knowledge Connector. + Answers []*GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer `json:"answers,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Answers") 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. "Answers") 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 *GoogleCloudDialogflowV2beta1KnowledgeAnswers) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1KnowledgeAnswers + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer: An answer from +// Knowledge Connector. +type GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer struct { + // Answer: The piece of text from the `source` knowledge base document + // that answers this conversational query. + Answer string `json:"answer,omitempty"` + + // FaqQuestion: The corresponding FAQ question if the answer was + // extracted from a FAQ Document, empty otherwise. + FaqQuestion string `json:"faqQuestion,omitempty"` + + // MatchConfidence: The system's confidence score that this Knowledge + // answer is a good match for this conversational query. The range is + // from 0.0 (completely uncertain) to 1.0 (completely certain). Note: + // The confidence score is likely to vary somewhat (possibly even for + // identical requests), as the underlying model is under constant + // improvement. It may be deprecated in the future. We recommend using + // `match_confidence_level` which should be generally more stable. + MatchConfidence float64 `json:"matchConfidence,omitempty"` + + // MatchConfidenceLevel: The system's confidence level that this + // knowledge answer is a good match for this conversational query. NOTE: + // The confidence level for a given `` pair may change without notice, + // as it depends on models that are constantly being improved. However, + // it will change less frequently than the confidence score below, and + // should be preferred for referencing the quality of an answer. + // + // Possible values: + // "MATCH_CONFIDENCE_LEVEL_UNSPECIFIED" - Not specified. + // "LOW" - Indicates that the confidence is low. + // "MEDIUM" - Indicates our confidence is medium. + // "HIGH" - Indicates our confidence is high. + MatchConfidenceLevel string `json:"matchConfidenceLevel,omitempty"` + + // Source: Indicates which Knowledge Document this answer was extracted + // from. Format: `projects//knowledgeBases//documents/`. + Source string `json:"source,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Answer") 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. "Answer") 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 *GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +func (s *GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer) UnmarshalJSON(data []byte) error { + type NoMethod GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer + var s1 struct { + MatchConfidence gensupport.JSONFloat64 `json:"matchConfidence"` + *NoMethod + } + s1.NoMethod = (*NoMethod)(s) + if err := json.Unmarshal(data, &s1); err != nil { + return err + } + s.MatchConfidence = float64(s1.MatchConfidence) + return nil +} + +// GoogleCloudDialogflowV2beta1KnowledgeOperationMetadata: Metadata in +// google::longrunning::Operation for Knowledge operations. +type GoogleCloudDialogflowV2beta1KnowledgeOperationMetadata struct { + // State: Required. Output only. The current state of this operation. + // + // Possible values: + // "STATE_UNSPECIFIED" - State unspecified. + // "PENDING" - The operation has been created. + // "RUNNING" - The operation is currently running. + // "DONE" - The operation is done, either cancelled or completed. + State string `json:"state,omitempty"` + + // ForceSendFields is a list of field names (e.g. "State") 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. "State") 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 *GoogleCloudDialogflowV2beta1KnowledgeOperationMetadata) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1KnowledgeOperationMetadata + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest: Represents +// the contents of the original request that was passed to the +// `[Streaming]DetectIntent` call. +type GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest struct { + // Payload: Optional. This field is set to the value of the + // `QueryParameters.payload` field passed in the request. Some + // integrations that query a Dialogflow agent may provide additional + // information in the payload. In particular, for the Dialogflow Phone + // Gateway integration, this field has the form: { "telephony": { + // "caller_id": "+18558363987" } } Note: The caller ID field + // (`caller_id`) will be redacted for Trial Edition agents and populated + // with the caller ID in [E.164 + // format](https://en.wikipedia.org/wiki/E.164) for Essentials Edition + // agents. + Payload googleapi.RawMessage `json:"payload,omitempty"` + + // Source: The source of this request, e.g., `google`, `facebook`, + // `slack`. It is set by Dialogflow-owned servers. + Source string `json:"source,omitempty"` + + // Version: Optional. The version of the protocol used for this request. + // This field is AoG-specific. + Version string `json:"version,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Payload") 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. "Payload") 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 *GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1QueryResult: Represents the result of +// conversational query or event processing. +type GoogleCloudDialogflowV2beta1QueryResult struct { + // Action: The action name from the matched intent. + Action string `json:"action,omitempty"` + + // AllRequiredParamsPresent: This field is set to: - `false` if the + // matched intent has required parameters and not all of the required + // parameter values have been collected. - `true` if all required + // parameter values have been collected, or if the matched intent + // doesn't contain any required parameters. + AllRequiredParamsPresent bool `json:"allRequiredParamsPresent,omitempty"` + + // DiagnosticInfo: Free-form diagnostic information for the associated + // detect intent request. The fields of this data can change without + // notice, so you should not write code that depends on its structure. + // The data may contain: - webhook call latency - webhook errors + DiagnosticInfo googleapi.RawMessage `json:"diagnosticInfo,omitempty"` + + // FulfillmentMessages: The collection of rich messages to present to + // the user. + FulfillmentMessages []*GoogleCloudDialogflowV2beta1IntentMessage `json:"fulfillmentMessages,omitempty"` + + // FulfillmentText: The text to be pronounced to the user or shown on + // the screen. Note: This is a legacy field, `fulfillment_messages` + // should be preferred. + FulfillmentText string `json:"fulfillmentText,omitempty"` + + // Intent: The intent that matched the conversational query. Some, not + // all fields are filled in this message, including but not limited to: + // `name`, `display_name`, `end_interaction` and `is_fallback`. + Intent *GoogleCloudDialogflowV2beta1Intent `json:"intent,omitempty"` + + // IntentDetectionConfidence: The intent detection confidence. Values + // range from 0.0 (completely uncertain) to 1.0 (completely certain). + // This value is for informational purpose only and is only used to help + // match the best intent within the classification threshold. This value + // may change for the same end-user expression at any time due to a + // model retraining or change in implementation. If there are `multiple + // knowledge_answers` messages, this value is set to the greatest + // `knowledgeAnswers.match_confidence` value in the list. + IntentDetectionConfidence float64 `json:"intentDetectionConfidence,omitempty"` + + // KnowledgeAnswers: The result from Knowledge Connector (if any), + // ordered by decreasing `KnowledgeAnswers.match_confidence`. + KnowledgeAnswers *GoogleCloudDialogflowV2beta1KnowledgeAnswers `json:"knowledgeAnswers,omitempty"` + + // LanguageCode: The language that was triggered during intent + // detection. See [Language + // Support](https://cloud.google.com/dialogflow/docs/reference/language) + // for a list of the currently supported language codes. + LanguageCode string `json:"languageCode,omitempty"` + + // OutputContexts: The collection of output contexts. If applicable, + // `output_contexts.parameters` contains entries with name `.original` + // containing the original parameter values before the query. + OutputContexts []*GoogleCloudDialogflowV2beta1Context `json:"outputContexts,omitempty"` + + // Parameters: The collection of extracted parameters. Depending on your + // protocol or client library language, this is a map, associative + // array, symbol table, dictionary, or JSON object composed of a + // collection of (MapKey, MapValue) pairs: - MapKey type: string - + // MapKey value: parameter name - MapValue type: - If parameter's entity + // type is a composite entity: map - Else: string or number, depending + // on parameter value type - MapValue value: - If parameter's entity + // type is a composite entity: map from composite entity property names + // to property values - Else: parameter value + Parameters googleapi.RawMessage `json:"parameters,omitempty"` + + // QueryText: The original conversational query text: - If natural + // language text was provided as input, `query_text` contains a copy of + // the input. - If natural language speech audio was provided as input, + // `query_text` contains the speech recognition result. If speech + // recognizer produced multiple alternatives, a particular one is + // picked. - If automatic spell correction is enabled, `query_text` will + // contain the corrected user input. + QueryText string `json:"queryText,omitempty"` + + // SentimentAnalysisResult: The sentiment analysis result, which depends + // on the `sentiment_analysis_request_config` specified in the request. + SentimentAnalysisResult *GoogleCloudDialogflowV2beta1SentimentAnalysisResult `json:"sentimentAnalysisResult,omitempty"` + + // SpeechRecognitionConfidence: The Speech recognition confidence + // between 0.0 and 1.0. A higher number indicates an estimated greater + // likelihood that the recognized words are correct. The default of 0.0 + // is a sentinel value indicating that confidence was not set. This + // field is not guaranteed to be accurate or set. In particular this + // field isn't set for StreamingDetectIntent since the streaming + // endpoint has separate confidence estimates per portion of the audio + // in StreamingRecognitionResult. + SpeechRecognitionConfidence float64 `json:"speechRecognitionConfidence,omitempty"` + + // WebhookPayload: If the query was fulfilled by a webhook call, this + // field is set to the value of the `payload` field returned in the + // webhook response. + WebhookPayload googleapi.RawMessage `json:"webhookPayload,omitempty"` + + // WebhookSource: If the query was fulfilled by a webhook call, this + // field is set to the value of the `source` field returned in the + // webhook response. + WebhookSource string `json:"webhookSource,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Action") 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. "Action") 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 *GoogleCloudDialogflowV2beta1QueryResult) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1QueryResult + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +func (s *GoogleCloudDialogflowV2beta1QueryResult) UnmarshalJSON(data []byte) error { + type NoMethod GoogleCloudDialogflowV2beta1QueryResult + var s1 struct { + IntentDetectionConfidence gensupport.JSONFloat64 `json:"intentDetectionConfidence"` + SpeechRecognitionConfidence gensupport.JSONFloat64 `json:"speechRecognitionConfidence"` + *NoMethod + } + s1.NoMethod = (*NoMethod)(s) + if err := json.Unmarshal(data, &s1); err != nil { + return err + } + s.IntentDetectionConfidence = float64(s1.IntentDetectionConfidence) + s.SpeechRecognitionConfidence = float64(s1.SpeechRecognitionConfidence) + return nil +} + +// GoogleCloudDialogflowV2beta1Sentiment: The sentiment, such as +// positive/negative feeling or association, for a unit of analysis, +// such as the query text. +type GoogleCloudDialogflowV2beta1Sentiment struct { + // Magnitude: A non-negative number in the [0, +inf) range, which + // represents the absolute magnitude of sentiment, regardless of score + // (positive or negative). + Magnitude float64 `json:"magnitude,omitempty"` + + // Score: Sentiment score between -1.0 (negative sentiment) and 1.0 + // (positive sentiment). + Score float64 `json:"score,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Magnitude") 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. "Magnitude") 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 *GoogleCloudDialogflowV2beta1Sentiment) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1Sentiment + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +func (s *GoogleCloudDialogflowV2beta1Sentiment) UnmarshalJSON(data []byte) error { + type NoMethod GoogleCloudDialogflowV2beta1Sentiment + var s1 struct { + Magnitude gensupport.JSONFloat64 `json:"magnitude"` + Score gensupport.JSONFloat64 `json:"score"` + *NoMethod + } + s1.NoMethod = (*NoMethod)(s) + if err := json.Unmarshal(data, &s1); err != nil { + return err + } + s.Magnitude = float64(s1.Magnitude) + s.Score = float64(s1.Score) + return nil +} + +// GoogleCloudDialogflowV2beta1SentimentAnalysisResult: The result of +// sentiment analysis. Sentiment analysis inspects user input and +// identifies the prevailing subjective opinion, especially to determine +// a user's attitude as positive, negative, or neutral. For +// Participants.DetectIntent, it needs to be configured in +// DetectIntentRequest.query_params. For +// Participants.StreamingDetectIntent, it needs to be configured in +// StreamingDetectIntentRequest.query_params. And for +// Participants.AnalyzeContent and Participants.StreamingAnalyzeContent, +// it needs to be configured in +// ConversationProfile.human_agent_assistant_config +type GoogleCloudDialogflowV2beta1SentimentAnalysisResult struct { + // QueryTextSentiment: The sentiment analysis result for `query_text`. + QueryTextSentiment *GoogleCloudDialogflowV2beta1Sentiment `json:"queryTextSentiment,omitempty"` + + // ForceSendFields is a list of field names (e.g. "QueryTextSentiment") + // 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. "QueryTextSentiment") 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 *GoogleCloudDialogflowV2beta1SentimentAnalysisResult) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1SentimentAnalysisResult + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1SessionEntityType: A session represents a +// conversation between a Dialogflow agent and an end-user. You can +// create special entities, called session entities, during a session. +// Session entities can extend or replace custom entity types and only +// exist during the session that they were created for. All session +// data, including session entities, is stored by Dialogflow for 20 +// minutes. For more information, see the [session entity +// guide](https://cloud.google.com/dialogflow/docs/entities-session). +type GoogleCloudDialogflowV2beta1SessionEntityType struct { + // Entities: Required. The collection of entities associated with this + // session entity type. + Entities []*GoogleCloudDialogflowV2beta1EntityTypeEntity `json:"entities,omitempty"` + + // EntityOverrideMode: Required. Indicates whether the additional data + // should override or supplement the custom entity type definition. + // + // Possible values: + // "ENTITY_OVERRIDE_MODE_UNSPECIFIED" - Not specified. This value + // should be never used. + // "ENTITY_OVERRIDE_MODE_OVERRIDE" - The collection of session + // entities overrides the collection of entities in the corresponding + // custom entity type. + // "ENTITY_OVERRIDE_MODE_SUPPLEMENT" - The collection of session + // entities extends the collection of entities in the corresponding + // custom entity type. Note: Even in this override mode calls to + // `ListSessionEntityTypes`, `GetSessionEntityType`, + // `CreateSessionEntityType` and `UpdateSessionEntityType` only return + // the additional entities added in this session entity type. If you + // want to get the supplemented list, please call + // EntityTypes.GetEntityType on the custom entity type and merge. + EntityOverrideMode string `json:"entityOverrideMode,omitempty"` + + // Name: Required. The unique identifier of this session entity type. + // Supported formats: - `projects//agent/sessions//entityTypes/` - + // `projects//locations//agent/sessions//entityTypes/` - + // `projects//agent/environments//users//sessions//entityTypes/` - + // `projects//locations//agent/environments/ + // /users//sessions//entityTypes/` If `Location ID` is not specified we + // assume default 'us' location. If `Environment ID` is not specified, + // we assume default 'draft' environment. If `User ID` is not specified, + // we assume default '-' user. `` must be the display name of an + // existing entity type in the same agent that will be overridden or + // supplemented. + Name string `json:"name,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Entities") 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. "Entities") 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 *GoogleCloudDialogflowV2beta1SessionEntityType) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1SessionEntityType + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1WebhookRequest: The request message for a +// webhook call. +type GoogleCloudDialogflowV2beta1WebhookRequest struct { + // AlternativeQueryResults: Alternative query results from + // KnowledgeService. + AlternativeQueryResults []*GoogleCloudDialogflowV2beta1QueryResult `json:"alternativeQueryResults,omitempty"` + + // OriginalDetectIntentRequest: Optional. The contents of the original + // request that was passed to `[Streaming]DetectIntent` call. + OriginalDetectIntentRequest *GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest `json:"originalDetectIntentRequest,omitempty"` + + // QueryResult: The result of the conversational query or event + // processing. Contains the same value as + // `[Streaming]DetectIntentResponse.query_result`. + QueryResult *GoogleCloudDialogflowV2beta1QueryResult `json:"queryResult,omitempty"` + + // ResponseId: The unique identifier of the response. Contains the same + // value as `[Streaming]DetectIntentResponse.response_id`. + ResponseId string `json:"responseId,omitempty"` + + // Session: The unique identifier of detectIntent request session. Can + // be used to identify end-user inside webhook implementation. Supported + // formats: - `projects//agent/sessions/, - + // `projects//locations//agent/sessions/`, - + // `projects//agent/environments//users//sessions/`, - + // `projects//locations//agent/environments//users//sessions/`, + Session string `json:"session,omitempty"` + + // ForceSendFields is a list of field names (e.g. + // "AlternativeQueryResults") 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. "AlternativeQueryResults") + // 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 *GoogleCloudDialogflowV2beta1WebhookRequest) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1WebhookRequest + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1WebhookResponse: The response message for +// a webhook call. This response is validated by the Dialogflow server. +// If validation fails, an error will be returned in the +// QueryResult.diagnostic_info field. Setting JSON fields to an empty +// value with the wrong type is a common error. To avoid this error: - +// Use "" for empty strings - Use `{}` or `null` for empty objects - +// Use `[]` or `null` for empty arrays For more information, see the +// [Protocol Buffers Language +// Guide](https://developers.google.com/protocol-buffers/docs/proto3#json +// ). +type GoogleCloudDialogflowV2beta1WebhookResponse struct { + // EndInteraction: Optional. Indicates that this intent ends an + // interaction. Some integrations (e.g., Actions on Google or Dialogflow + // phone gateway) use this information to close interaction with an end + // user. Default is false. + EndInteraction bool `json:"endInteraction,omitempty"` + + // FollowupEventInput: Optional. Invokes the supplied events. When this + // field is set, Dialogflow ignores the `fulfillment_text`, + // `fulfillment_messages`, and `payload` fields. + FollowupEventInput *GoogleCloudDialogflowV2beta1EventInput `json:"followupEventInput,omitempty"` + + // FulfillmentMessages: Optional. The rich response messages intended + // for the end-user. When provided, Dialogflow uses this field to + // populate QueryResult.fulfillment_messages sent to the integration or + // API caller. + FulfillmentMessages []*GoogleCloudDialogflowV2beta1IntentMessage `json:"fulfillmentMessages,omitempty"` + + // FulfillmentText: Optional. The text response message intended for the + // end-user. It is recommended to use + // `fulfillment_messages.text.text[0]` instead. When provided, + // Dialogflow uses this field to populate QueryResult.fulfillment_text + // sent to the integration or API caller. + FulfillmentText string `json:"fulfillmentText,omitempty"` + + // OutputContexts: Optional. The collection of output contexts that will + // overwrite currently active contexts for the session and reset their + // lifespans. When provided, Dialogflow uses this field to populate + // QueryResult.output_contexts sent to the integration or API caller. + OutputContexts []*GoogleCloudDialogflowV2beta1Context `json:"outputContexts,omitempty"` + + // Payload: Optional. This field can be used to pass custom data from + // your webhook to the integration or API caller. Arbitrary JSON objects + // are supported. When provided, Dialogflow uses this field to populate + // QueryResult.webhook_payload sent to the integration or API caller. + // This field is also used by the [Google Assistant + // integration](https://cloud.google.com/dialogflow/docs/integrations/aog + // ) for rich response messages. See the format definition at [Google + // Assistant Dialogflow webhook + // format](https://developers.google.com/assistant/actions/build/json/dia + // logflow-webhook-json) + Payload googleapi.RawMessage `json:"payload,omitempty"` + + // SessionEntityTypes: Optional. Additional session entity types to + // replace or extend developer entity types with. The entity synonyms + // apply to all languages and persist for the session. Setting this data + // from a webhook overwrites the session entity types that have been set + // using `detectIntent`, `streamingDetectIntent` or SessionEntityType + // management methods. + SessionEntityTypes []*GoogleCloudDialogflowV2beta1SessionEntityType `json:"sessionEntityTypes,omitempty"` + + // Source: Optional. A custom field used to identify the webhook source. + // Arbitrary strings are supported. When provided, Dialogflow uses this + // field to populate QueryResult.webhook_source sent to the integration + // or API caller. + Source string `json:"source,omitempty"` + + // ForceSendFields is a list of field names (e.g. "EndInteraction") 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. "EndInteraction") 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 *GoogleCloudDialogflowV2beta1WebhookResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1WebhookResponse + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV3alpha1CreateDocumentOperationMetadata: +// Metadata for CreateDocument operation. +type GoogleCloudDialogflowV3alpha1CreateDocumentOperationMetadata struct { + // GenericMetadata: The generic information of the operation. + GenericMetadata *GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata `json:"genericMetadata,omitempty"` + + // ForceSendFields is a list of field names (e.g. "GenericMetadata") 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. "GenericMetadata") 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 *GoogleCloudDialogflowV3alpha1CreateDocumentOperationMetadata) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV3alpha1CreateDocumentOperationMetadata + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV3alpha1DeleteDocumentOperationMetadata: +// Metadata for DeleteDocument operation. +type GoogleCloudDialogflowV3alpha1DeleteDocumentOperationMetadata struct { + // GenericMetadata: The generic information of the operation. + GenericMetadata *GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata `json:"genericMetadata,omitempty"` + + // ForceSendFields is a list of field names (e.g. "GenericMetadata") 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. "GenericMetadata") 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 *GoogleCloudDialogflowV3alpha1DeleteDocumentOperationMetadata) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV3alpha1DeleteDocumentOperationMetadata + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata: +// Metadata in google::longrunning::Operation for Knowledge operations. +type GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata struct { + // State: Required. Output only. The current state of this operation. + // + // Possible values: + // "STATE_UNSPECIFIED" - State unspecified. + // "PENDING" - The operation has been created. + // "RUNNING" - The operation is currently running. + // "DONE" - The operation is done, either cancelled or completed. + State string `json:"state,omitempty"` + + // ForceSendFields is a list of field names (e.g. "State") 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. "State") 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 *GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV3alpha1ImportDocumentsOperationMetadata: +// Metadata for ImportDocuments operation. +type GoogleCloudDialogflowV3alpha1ImportDocumentsOperationMetadata struct { + // GenericMetadata: The generic information of the operation. + GenericMetadata *GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata `json:"genericMetadata,omitempty"` + + // ForceSendFields is a list of field names (e.g. "GenericMetadata") 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. "GenericMetadata") 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 *GoogleCloudDialogflowV3alpha1ImportDocumentsOperationMetadata) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV3alpha1ImportDocumentsOperationMetadata + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV3alpha1ImportDocumentsResponse: Response +// message for Documents.ImportDocuments. +type GoogleCloudDialogflowV3alpha1ImportDocumentsResponse struct { + // Warnings: Includes details about skipped documents or any other + // warnings. + Warnings []*GoogleRpcStatus `json:"warnings,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Warnings") 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. "Warnings") 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 *GoogleCloudDialogflowV3alpha1ImportDocumentsResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV3alpha1ImportDocumentsResponse + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV3alpha1ReloadDocumentOperationMetadata: +// Metadata for ReloadDocument operation. +type GoogleCloudDialogflowV3alpha1ReloadDocumentOperationMetadata struct { + // GenericMetadata: The generic information of the operation. + GenericMetadata *GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata `json:"genericMetadata,omitempty"` + + // ForceSendFields is a list of field names (e.g. "GenericMetadata") 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. "GenericMetadata") 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 *GoogleCloudDialogflowV3alpha1ReloadDocumentOperationMetadata) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV3alpha1ReloadDocumentOperationMetadata + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV3alpha1UpdateDocumentOperationMetadata: +// Metadata for UpdateDocument operation. +type GoogleCloudDialogflowV3alpha1UpdateDocumentOperationMetadata struct { + // GenericMetadata: The generic information of the operation. + GenericMetadata *GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata `json:"genericMetadata,omitempty"` + + // ForceSendFields is a list of field names (e.g. "GenericMetadata") 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. "GenericMetadata") 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 *GoogleCloudDialogflowV3alpha1UpdateDocumentOperationMetadata) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV3alpha1UpdateDocumentOperationMetadata + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleLongrunningListOperationsResponse: The response message for +// Operations.ListOperations. +type GoogleLongrunningListOperationsResponse struct { + // NextPageToken: The standard List next-page token. + NextPageToken string `json:"nextPageToken,omitempty"` + + // Operations: A list of operations that matches the specified filter in + // the request. + Operations []*GoogleLongrunningOperation `json:"operations,omitempty"` + + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` + + // ForceSendFields is a list of field names (e.g. "NextPageToken") 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. "NextPageToken") 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 *GoogleLongrunningListOperationsResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleLongrunningListOperationsResponse + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleLongrunningOperation: This resource represents a long-running +// operation that is the result of a network API call. +type GoogleLongrunningOperation struct { + // Done: If the value is `false`, it means the operation is still in + // progress. If `true`, the operation is completed, and either `error` + // or `response` is available. + Done bool `json:"done,omitempty"` + + // Error: The error result of the operation in case of failure or + // cancellation. + Error *GoogleRpcStatus `json:"error,omitempty"` + + // Metadata: Service-specific metadata associated with the operation. It + // typically contains progress information and common metadata such as + // create time. Some services might not provide such metadata. Any + // method that returns a long-running operation should document the + // metadata type, if any. + Metadata googleapi.RawMessage `json:"metadata,omitempty"` + + // Name: The server-assigned name, which is only unique within the same + // service that originally returns it. If you use the default HTTP + // mapping, the `name` should be a resource name ending with + // `operations/{unique_id}`. + Name string `json:"name,omitempty"` + + // Response: The normal response of the operation in case of success. If + // the original method returns no data on success, such as `Delete`, the + // response is `google.protobuf.Empty`. If the original method is + // standard `Get`/`Create`/`Update`, the response should be the + // resource. For other methods, the response should have the type + // `XxxResponse`, where `Xxx` is the original method name. For example, + // if the original method name is `TakeSnapshot()`, the inferred + // response type is `TakeSnapshotResponse`. + Response googleapi.RawMessage `json:"response,omitempty"` + + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` + + // ForceSendFields is a list of field names (e.g. "Done") 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. "Done") 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 *GoogleLongrunningOperation) MarshalJSON() ([]byte, error) { + type NoMethod GoogleLongrunningOperation + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleProtobufEmpty: A generic empty message that you can re-use to +// avoid defining duplicated empty messages in your APIs. A typical +// example is to use it as the request or the response type of an API +// method. For instance: service Foo { rpc Bar(google.protobuf.Empty) +// returns (google.protobuf.Empty); } The JSON representation for +// `Empty` is empty JSON object `{}`. +type GoogleProtobufEmpty struct { + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` +} + +// GoogleRpcStatus: The `Status` type defines a logical error model that +// is suitable for different programming environments, including REST +// APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). +// Each `Status` message contains three pieces of data: error code, +// error message, and error details. You can find out more about this +// error model and how to work with it in the [API Design +// Guide](https://cloud.google.com/apis/design/errors). +type GoogleRpcStatus struct { + // Code: The status code, which should be an enum value of + // google.rpc.Code. + Code int64 `json:"code,omitempty"` + + // Details: A list of messages that carry the error details. There is a + // common set of message types for APIs to use. + Details []googleapi.RawMessage `json:"details,omitempty"` + + // Message: A developer-facing error message, which should be in + // English. Any user-facing error message should be localized and sent + // in the google.rpc.Status.details field, or localized by the client. + Message string `json:"message,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Code") 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. "Code") 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 *GoogleRpcStatus) MarshalJSON() ([]byte, error) { + type NoMethod GoogleRpcStatus + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleTypeLatLng: An object that represents a latitude/longitude +// pair. This is expressed as a pair of doubles to represent degrees +// latitude and degrees longitude. Unless specified otherwise, this must +// conform to the WGS84 standard. Values must be within normalized +// ranges. +type GoogleTypeLatLng struct { + // Latitude: The latitude in degrees. It must be in the range [-90.0, + // +90.0]. + Latitude float64 `json:"latitude,omitempty"` + + // Longitude: The longitude in degrees. It must be in the range [-180.0, + // +180.0]. + Longitude float64 `json:"longitude,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Latitude") 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. "Latitude") 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 *GoogleTypeLatLng) MarshalJSON() ([]byte, error) { + type NoMethod GoogleTypeLatLng + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +func (s *GoogleTypeLatLng) UnmarshalJSON(data []byte) error { + type NoMethod GoogleTypeLatLng + var s1 struct { + Latitude gensupport.JSONFloat64 `json:"latitude"` + Longitude gensupport.JSONFloat64 `json:"longitude"` + *NoMethod + } + s1.NoMethod = (*NoMethod)(s) + if err := json.Unmarshal(data, &s1); err != nil { + return err + } + s.Latitude = float64(s1.Latitude) + s.Longitude = float64(s1.Longitude) + return nil +} + +// method id "dialogflow.projects.locations.agents.create": + +type ProjectsLocationsAgentsCreateCall struct { + s *Service + parent string + googleclouddialogflowcxv3agent *GoogleCloudDialogflowCxV3Agent + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// Create: Creates an agent in the specified location. +func (r *ProjectsLocationsAgentsService) Create(parent string, googleclouddialogflowcxv3agent *GoogleCloudDialogflowCxV3Agent) *ProjectsLocationsAgentsCreateCall { + c := &ProjectsLocationsAgentsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.parent = parent + c.googleclouddialogflowcxv3agent = googleclouddialogflowcxv3agent + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsAgentsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsCreateCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsLocationsAgentsCreateCall) Context(ctx context.Context) *ProjectsLocationsAgentsCreateCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsLocationsAgentsCreateCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsAgentsCreateCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + var body io.Reader = nil + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3agent) + if err != nil { + return nil, err + } + reqHeaders.Set("Content-Type", "application/json") + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+parent}/agents") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("POST", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "parent": c.parent, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "dialogflow.projects.locations.agents.create" call. +// Exactly one of *GoogleCloudDialogflowCxV3Agent or error will be +// non-nil. Any non-2xx status code is an error. Response headers are in +// either *GoogleCloudDialogflowCxV3Agent.ServerResponse.Header or (if a +// response was returned at all) in error.(*googleapi.Error).Header. Use +// googleapi.IsNotModified to check whether the returned error was +// because http.StatusNotModified was returned. +func (c *ProjectsLocationsAgentsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3Agent, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &GoogleCloudDialogflowCxV3Agent{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Creates an agent in the specified location.", + // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents", + // "httpMethod": "POST", + // "id": "dialogflow.projects.locations.agents.create", + // "parameterOrder": [ + // "parent" + // ], + // "parameters": { + // "parent": { + // "description": "Required. The location to create a agent for. Format: `projects//locations/`.", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v3/{+parent}/agents", + // "request": { + // "$ref": "GoogleCloudDialogflowCxV3Agent" + // }, + // "response": { + // "$ref": "GoogleCloudDialogflowCxV3Agent" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", + // "https://www.googleapis.com/auth/dialogflow" + // ] + // } + +} + +// method id "dialogflow.projects.locations.agents.delete": + +type ProjectsLocationsAgentsDeleteCall struct { + s *Service + name string + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// Delete: Deletes the specified agent. +func (r *ProjectsLocationsAgentsService) Delete(name string) *ProjectsLocationsAgentsDeleteCall { + c := &ProjectsLocationsAgentsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsAgentsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsDeleteCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsLocationsAgentsDeleteCall) Context(ctx context.Context) *ProjectsLocationsAgentsDeleteCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsLocationsAgentsDeleteCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsAgentsDeleteCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + var body io.Reader = nil + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("DELETE", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "name": c.name, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "dialogflow.projects.locations.agents.delete" call. +// Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any +// non-2xx status code is an error. Response headers are in either +// *GoogleProtobufEmpty.ServerResponse.Header or (if a response was +// returned at all) in error.(*googleapi.Error).Header. Use +// googleapi.IsNotModified to check whether the returned error was +// because http.StatusNotModified was returned. +func (c *ProjectsLocationsAgentsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &GoogleProtobufEmpty{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Deletes the specified agent.", + // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}", + // "httpMethod": "DELETE", + // "id": "dialogflow.projects.locations.agents.delete", + // "parameterOrder": [ + // "name" + // ], + // "parameters": { + // "name": { + // "description": "Required. The name of the agent to delete. Format: `projects//locations//agents/`.", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v3/{+name}", + // "response": { + // "$ref": "GoogleProtobufEmpty" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", + // "https://www.googleapis.com/auth/dialogflow" + // ] + // } + +} + +// method id "dialogflow.projects.locations.agents.export": + +type ProjectsLocationsAgentsExportCall struct { + s *Service + name string + googleclouddialogflowcxv3exportagentrequest *GoogleCloudDialogflowCxV3ExportAgentRequest + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// Export: Exports the specified agent to a binary file. +func (r *ProjectsLocationsAgentsService) Export(name string, googleclouddialogflowcxv3exportagentrequest *GoogleCloudDialogflowCxV3ExportAgentRequest) *ProjectsLocationsAgentsExportCall { + c := &ProjectsLocationsAgentsExportCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name + c.googleclouddialogflowcxv3exportagentrequest = googleclouddialogflowcxv3exportagentrequest + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsAgentsExportCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsExportCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsLocationsAgentsExportCall) Context(ctx context.Context) *ProjectsLocationsAgentsExportCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsLocationsAgentsExportCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsAgentsExportCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + var body io.Reader = nil + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3exportagentrequest) + if err != nil { + return nil, err + } + reqHeaders.Set("Content-Type", "application/json") + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}:export") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("POST", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "name": c.name, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "dialogflow.projects.locations.agents.export" call. +// Exactly one of *GoogleLongrunningOperation or error will be non-nil. +// Any non-2xx status code is an error. Response headers are in either +// *GoogleLongrunningOperation.ServerResponse.Header or (if a response +// was returned at all) in error.(*googleapi.Error).Header. Use +// googleapi.IsNotModified to check whether the returned error was +// because http.StatusNotModified was returned. +func (c *ProjectsLocationsAgentsExportCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &GoogleLongrunningOperation{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Exports the specified agent to a binary file.", + // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}:export", + // "httpMethod": "POST", + // "id": "dialogflow.projects.locations.agents.export", + // "parameterOrder": [ + // "name" + // ], + // "parameters": { + // "name": { + // "description": "Required. The name of the agent to export. Format: `projects//locations//agents/`.", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v3/{+name}:export", + // "request": { + // "$ref": "GoogleCloudDialogflowCxV3ExportAgentRequest" + // }, + // "response": { + // "$ref": "GoogleLongrunningOperation" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", + // "https://www.googleapis.com/auth/dialogflow" + // ] + // } + +} + +// method id "dialogflow.projects.locations.agents.get": + +type ProjectsLocationsAgentsGetCall struct { + s *Service + name string + urlParams_ gensupport.URLParams + ifNoneMatch_ string + ctx_ context.Context + header_ http.Header +} + +// Get: Retrieves the specified agent. +func (r *ProjectsLocationsAgentsService) Get(name string) *ProjectsLocationsAgentsGetCall { + c := &ProjectsLocationsAgentsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsAgentsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsGetCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// IfNoneMatch sets the optional parameter which makes the operation +// fail if the object's ETag matches the given value. This is useful for +// getting updates only after the object has changed since the last +// request. Use googleapi.IsNotModified to check whether the response +// error from Do is the result of In-None-Match. +func (c *ProjectsLocationsAgentsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsGetCall { + c.ifNoneMatch_ = entityTag + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsLocationsAgentsGetCall) Context(ctx context.Context) *ProjectsLocationsAgentsGetCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsLocationsAgentsGetCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsAgentsGetCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + if c.ifNoneMatch_ != "" { + reqHeaders.Set("If-None-Match", c.ifNoneMatch_) + } + var body io.Reader = nil + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("GET", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "name": c.name, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "dialogflow.projects.locations.agents.get" call. +// Exactly one of *GoogleCloudDialogflowCxV3Agent or error will be +// non-nil. Any non-2xx status code is an error. Response headers are in +// either *GoogleCloudDialogflowCxV3Agent.ServerResponse.Header or (if a +// response was returned at all) in error.(*googleapi.Error).Header. Use +// googleapi.IsNotModified to check whether the returned error was +// because http.StatusNotModified was returned. +func (c *ProjectsLocationsAgentsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3Agent, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &GoogleCloudDialogflowCxV3Agent{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Retrieves the specified agent.", + // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}", + // "httpMethod": "GET", + // "id": "dialogflow.projects.locations.agents.get", + // "parameterOrder": [ + // "name" + // ], + // "parameters": { + // "name": { + // "description": "Required. The name of the agent. Format: `projects//locations//agents/`.", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v3/{+name}", + // "response": { + // "$ref": "GoogleCloudDialogflowCxV3Agent" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", + // "https://www.googleapis.com/auth/dialogflow" + // ] + // } + +} + +// method id "dialogflow.projects.locations.agents.list": + +type ProjectsLocationsAgentsListCall struct { + s *Service + parent string + urlParams_ gensupport.URLParams + ifNoneMatch_ string + ctx_ context.Context + header_ http.Header +} + +// List: Returns the list of all agents in the specified location. +func (r *ProjectsLocationsAgentsService) List(parent string) *ProjectsLocationsAgentsListCall { + c := &ProjectsLocationsAgentsListCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.parent = parent + return c +} + +// PageSize sets the optional parameter "pageSize": The maximum number +// of items to return in a single page. By default 100 and at most 1000. +func (c *ProjectsLocationsAgentsListCall) PageSize(pageSize int64) *ProjectsLocationsAgentsListCall { + c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) + return c +} + +// PageToken sets the optional parameter "pageToken": The +// next_page_token value returned from a previous list request. +func (c *ProjectsLocationsAgentsListCall) PageToken(pageToken string) *ProjectsLocationsAgentsListCall { + c.urlParams_.Set("pageToken", pageToken) + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsAgentsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsListCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// IfNoneMatch sets the optional parameter which makes the operation +// fail if the object's ETag matches the given value. This is useful for +// getting updates only after the object has changed since the last +// request. Use googleapi.IsNotModified to check whether the response +// error from Do is the result of In-None-Match. +func (c *ProjectsLocationsAgentsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsListCall { + c.ifNoneMatch_ = entityTag + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsLocationsAgentsListCall) Context(ctx context.Context) *ProjectsLocationsAgentsListCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsLocationsAgentsListCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsAgentsListCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + if c.ifNoneMatch_ != "" { + reqHeaders.Set("If-None-Match", c.ifNoneMatch_) + } + var body io.Reader = nil + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+parent}/agents") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("GET", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "parent": c.parent, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "dialogflow.projects.locations.agents.list" call. +// Exactly one of *GoogleCloudDialogflowCxV3ListAgentsResponse or error +// will be non-nil. Any non-2xx status code is an error. Response +// headers are in either +// *GoogleCloudDialogflowCxV3ListAgentsResponse.ServerResponse.Header or +// (if a response was returned at all) in +// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check +// whether the returned error was because http.StatusNotModified was +// returned. +func (c *ProjectsLocationsAgentsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3ListAgentsResponse, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &GoogleCloudDialogflowCxV3ListAgentsResponse{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Returns the list of all agents in the specified location.", + // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents", + // "httpMethod": "GET", + // "id": "dialogflow.projects.locations.agents.list", + // "parameterOrder": [ + // "parent" + // ], + // "parameters": { + // "pageSize": { + // "description": "The maximum number of items to return in a single page. By default 100 and at most 1000.", + // "format": "int32", + // "location": "query", + // "type": "integer" + // }, + // "pageToken": { + // "description": "The next_page_token value returned from a previous list request.", + // "location": "query", + // "type": "string" + // }, + // "parent": { + // "description": "Required. The location to list all agents for. Format: `projects//locations/`.", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v3/{+parent}/agents", + // "response": { + // "$ref": "GoogleCloudDialogflowCxV3ListAgentsResponse" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", + // "https://www.googleapis.com/auth/dialogflow" + // ] + // } + +} + +// Pages invokes f for each page of results. +// A non-nil error returned from f will halt the iteration. +// The provided context supersedes any context provided to the Context method. +func (c *ProjectsLocationsAgentsListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowCxV3ListAgentsResponse) error) error { + c.ctx_ = ctx + defer c.PageToken(c.urlParams_.Get("pageToken")) // reset paging to original point + for { + x, err := c.Do() + if err != nil { + return err + } + if err := f(x); err != nil { + return err + } + if x.NextPageToken == "" { + return nil + } + c.PageToken(x.NextPageToken) + } +} + +// method id "dialogflow.projects.locations.agents.patch": + +type ProjectsLocationsAgentsPatchCall struct { + s *Service + nameid string + googleclouddialogflowcxv3agent *GoogleCloudDialogflowCxV3Agent + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// Patch: Updates the specified agent. +func (r *ProjectsLocationsAgentsService) Patch(nameid string, googleclouddialogflowcxv3agent *GoogleCloudDialogflowCxV3Agent) *ProjectsLocationsAgentsPatchCall { + c := &ProjectsLocationsAgentsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.nameid = nameid + c.googleclouddialogflowcxv3agent = googleclouddialogflowcxv3agent + return c +} + +// UpdateMask sets the optional parameter "updateMask": The mask to +// control which fields get updated. If the mask is not present, all +// fields will be updated. +func (c *ProjectsLocationsAgentsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsAgentsPatchCall { + c.urlParams_.Set("updateMask", updateMask) + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsAgentsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsPatchCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsLocationsAgentsPatchCall) Context(ctx context.Context) *ProjectsLocationsAgentsPatchCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsLocationsAgentsPatchCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsAgentsPatchCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + var body io.Reader = nil + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3agent) + if err != nil { + return nil, err + } + reqHeaders.Set("Content-Type", "application/json") + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("PATCH", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "name": c.nameid, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "dialogflow.projects.locations.agents.patch" call. +// Exactly one of *GoogleCloudDialogflowCxV3Agent or error will be +// non-nil. Any non-2xx status code is an error. Response headers are in +// either *GoogleCloudDialogflowCxV3Agent.ServerResponse.Header or (if a +// response was returned at all) in error.(*googleapi.Error).Header. Use +// googleapi.IsNotModified to check whether the returned error was +// because http.StatusNotModified was returned. +func (c *ProjectsLocationsAgentsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3Agent, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &GoogleCloudDialogflowCxV3Agent{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Updates the specified agent.", + // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}", + // "httpMethod": "PATCH", + // "id": "dialogflow.projects.locations.agents.patch", + // "parameterOrder": [ + // "name" + // ], + // "parameters": { + // "name": { + // "description": "The unique identifier of the agent. Required for the Agents.UpdateAgent method. Agents.CreateAgent populates the name automatically. Format: `projects//locations//agents/`.", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", + // "required": true, + // "type": "string" + // }, + // "updateMask": { + // "description": "The mask to control which fields get updated. If the mask is not present, all fields will be updated.", + // "format": "google-fieldmask", + // "location": "query", + // "type": "string" + // } + // }, + // "path": "v3/{+name}", + // "request": { + // "$ref": "GoogleCloudDialogflowCxV3Agent" + // }, + // "response": { + // "$ref": "GoogleCloudDialogflowCxV3Agent" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", + // "https://www.googleapis.com/auth/dialogflow" + // ] + // } + +} + +// method id "dialogflow.projects.locations.agents.restore": + +type ProjectsLocationsAgentsRestoreCall struct { + s *Service + name string + googleclouddialogflowcxv3restoreagentrequest *GoogleCloudDialogflowCxV3RestoreAgentRequest + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// Restore: Restores the specified agent from a binary file. Replaces +// the current agent with a new one. Note that all existing resources in +// agent (e.g. intents, entity types, flows) will be removed. +func (r *ProjectsLocationsAgentsService) Restore(name string, googleclouddialogflowcxv3restoreagentrequest *GoogleCloudDialogflowCxV3RestoreAgentRequest) *ProjectsLocationsAgentsRestoreCall { + c := &ProjectsLocationsAgentsRestoreCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name + c.googleclouddialogflowcxv3restoreagentrequest = googleclouddialogflowcxv3restoreagentrequest + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsAgentsRestoreCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsRestoreCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsLocationsAgentsRestoreCall) Context(ctx context.Context) *ProjectsLocationsAgentsRestoreCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsLocationsAgentsRestoreCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsAgentsRestoreCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + var body io.Reader = nil + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3restoreagentrequest) + if err != nil { + return nil, err + } + reqHeaders.Set("Content-Type", "application/json") + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}:restore") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("POST", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "name": c.name, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "dialogflow.projects.locations.agents.restore" call. +// Exactly one of *GoogleLongrunningOperation or error will be non-nil. +// Any non-2xx status code is an error. Response headers are in either +// *GoogleLongrunningOperation.ServerResponse.Header or (if a response +// was returned at all) in error.(*googleapi.Error).Header. Use +// googleapi.IsNotModified to check whether the returned error was +// because http.StatusNotModified was returned. +func (c *ProjectsLocationsAgentsRestoreCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &GoogleLongrunningOperation{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Restores the specified agent from a binary file. Replaces the current agent with a new one. Note that all existing resources in agent (e.g. intents, entity types, flows) will be removed.", + // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}:restore", + // "httpMethod": "POST", + // "id": "dialogflow.projects.locations.agents.restore", + // "parameterOrder": [ + // "name" + // ], + // "parameters": { + // "name": { + // "description": "Required. The name of the agent to restore into. Format: `projects//locations//agents/`.", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v3/{+name}:restore", + // "request": { + // "$ref": "GoogleCloudDialogflowCxV3RestoreAgentRequest" + // }, + // "response": { + // "$ref": "GoogleLongrunningOperation" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", + // "https://www.googleapis.com/auth/dialogflow" + // ] + // } + +} + +// method id "dialogflow.projects.locations.agents.entityTypes.create": + +type ProjectsLocationsAgentsEntityTypesCreateCall struct { + s *Service + parent string + googleclouddialogflowcxv3entitytype *GoogleCloudDialogflowCxV3EntityType + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// Create: Creates an entity type in the specified agent. +func (r *ProjectsLocationsAgentsEntityTypesService) Create(parent string, googleclouddialogflowcxv3entitytype *GoogleCloudDialogflowCxV3EntityType) *ProjectsLocationsAgentsEntityTypesCreateCall { + c := &ProjectsLocationsAgentsEntityTypesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.parent = parent + c.googleclouddialogflowcxv3entitytype = googleclouddialogflowcxv3entitytype + return c +} + +// LanguageCode sets the optional parameter "languageCode": The language +// of the following fields in `entity_type`: * +// `EntityType.entities.value` * `EntityType.entities.synonyms` * +// `EntityType.excluded_phrases.value` If not specified, the agent's +// default language is used. [Many +// languages](https://cloud.google.com/dialogflow/docs/reference/language +// ) are supported. Note: languages must be enabled in the agent before +// they can be used. +func (c *ProjectsLocationsAgentsEntityTypesCreateCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsEntityTypesCreateCall { + c.urlParams_.Set("languageCode", languageCode) + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsAgentsEntityTypesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEntityTypesCreateCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsLocationsAgentsEntityTypesCreateCall) Context(ctx context.Context) *ProjectsLocationsAgentsEntityTypesCreateCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsLocationsAgentsEntityTypesCreateCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsAgentsEntityTypesCreateCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + var body io.Reader = nil + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3entitytype) + if err != nil { + return nil, err + } + reqHeaders.Set("Content-Type", "application/json") + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+parent}/entityTypes") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("POST", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "parent": c.parent, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "dialogflow.projects.locations.agents.entityTypes.create" call. +// Exactly one of *GoogleCloudDialogflowCxV3EntityType or error will be +// non-nil. Any non-2xx status code is an error. Response headers are in +// either *GoogleCloudDialogflowCxV3EntityType.ServerResponse.Header or +// (if a response was returned at all) in +// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check +// whether the returned error was because http.StatusNotModified was +// returned. +func (c *ProjectsLocationsAgentsEntityTypesCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3EntityType, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &GoogleCloudDialogflowCxV3EntityType{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Creates an entity type in the specified agent.", + // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/entityTypes", + // "httpMethod": "POST", + // "id": "dialogflow.projects.locations.agents.entityTypes.create", + // "parameterOrder": [ + // "parent" + // ], + // "parameters": { + // "languageCode": { + // "description": "The language of the following fields in `entity_type`: * `EntityType.entities.value` * `EntityType.entities.synonyms` * `EntityType.excluded_phrases.value` If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", + // "location": "query", + // "type": "string" + // }, + // "parent": { + // "description": "Required. The agent to create a entity type for. Format: `projects//locations//agents/`.", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v3/{+parent}/entityTypes", + // "request": { + // "$ref": "GoogleCloudDialogflowCxV3EntityType" + // }, + // "response": { + // "$ref": "GoogleCloudDialogflowCxV3EntityType" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", + // "https://www.googleapis.com/auth/dialogflow" + // ] + // } + +} + +// method id "dialogflow.projects.locations.agents.entityTypes.delete": + +type ProjectsLocationsAgentsEntityTypesDeleteCall struct { + s *Service + name string + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// Delete: Deletes the specified entity type. +func (r *ProjectsLocationsAgentsEntityTypesService) Delete(name string) *ProjectsLocationsAgentsEntityTypesDeleteCall { + c := &ProjectsLocationsAgentsEntityTypesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name + return c +} + +// Force sets the optional parameter "force": This field has no effect +// for entity type not being used. For entity types that are used by +// intents or pages: * If `force` is set to false, an error will be +// returned with message indicating the referencing resources. * If +// `force` is set to true, Dialogflow will remove the entity type, as +// well as any references to the entity type (i.e. Page parameter of the +// entity type will be changed to '@sys.any' and intent parameter of the +// entity type will be removed). +func (c *ProjectsLocationsAgentsEntityTypesDeleteCall) Force(force bool) *ProjectsLocationsAgentsEntityTypesDeleteCall { + c.urlParams_.Set("force", fmt.Sprint(force)) + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsAgentsEntityTypesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEntityTypesDeleteCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsLocationsAgentsEntityTypesDeleteCall) Context(ctx context.Context) *ProjectsLocationsAgentsEntityTypesDeleteCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsLocationsAgentsEntityTypesDeleteCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsAgentsEntityTypesDeleteCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + var body io.Reader = nil + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("DELETE", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "name": c.name, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "dialogflow.projects.locations.agents.entityTypes.delete" call. +// Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any +// non-2xx status code is an error. Response headers are in either +// *GoogleProtobufEmpty.ServerResponse.Header or (if a response was +// returned at all) in error.(*googleapi.Error).Header. Use +// googleapi.IsNotModified to check whether the returned error was +// because http.StatusNotModified was returned. +func (c *ProjectsLocationsAgentsEntityTypesDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &GoogleProtobufEmpty{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Deletes the specified entity type.", + // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/entityTypes/{entityTypesId}", + // "httpMethod": "DELETE", + // "id": "dialogflow.projects.locations.agents.entityTypes.delete", + // "parameterOrder": [ + // "name" + // ], + // "parameters": { + // "force": { + // "description": "This field has no effect for entity type not being used. For entity types that are used by intents or pages: * If `force` is set to false, an error will be returned with message indicating the referencing resources. * If `force` is set to true, Dialogflow will remove the entity type, as well as any references to the entity type (i.e. Page parameter of the entity type will be changed to '@sys.any' and intent parameter of the entity type will be removed).", + // "location": "query", + // "type": "boolean" + // }, + // "name": { + // "description": "Required. The name of the entity type to delete. Format: `projects//locations//agents//entityTypes/`.", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/entityTypes/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v3/{+name}", + // "response": { + // "$ref": "GoogleProtobufEmpty" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", + // "https://www.googleapis.com/auth/dialogflow" + // ] + // } + +} + +// method id "dialogflow.projects.locations.agents.entityTypes.get": + +type ProjectsLocationsAgentsEntityTypesGetCall struct { + s *Service + name string + urlParams_ gensupport.URLParams + ifNoneMatch_ string + ctx_ context.Context + header_ http.Header +} + +// Get: Retrieves the specified entity type. +func (r *ProjectsLocationsAgentsEntityTypesService) Get(name string) *ProjectsLocationsAgentsEntityTypesGetCall { + c := &ProjectsLocationsAgentsEntityTypesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name + return c +} + +// LanguageCode sets the optional parameter "languageCode": The language +// to retrieve the entity type for. The following fields are language +// dependent: * `EntityType.entities.value` * +// `EntityType.entities.synonyms` * `EntityType.excluded_phrases.value` +// If not specified, the agent's default language is used. [Many +// languages](https://cloud.google.com/dialogflow/docs/reference/language +// ) are supported. Note: languages must be enabled in the agent before +// they can be used. +func (c *ProjectsLocationsAgentsEntityTypesGetCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsEntityTypesGetCall { + c.urlParams_.Set("languageCode", languageCode) + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsAgentsEntityTypesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEntityTypesGetCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// IfNoneMatch sets the optional parameter which makes the operation +// fail if the object's ETag matches the given value. This is useful for +// getting updates only after the object has changed since the last +// request. Use googleapi.IsNotModified to check whether the response +// error from Do is the result of In-None-Match. +func (c *ProjectsLocationsAgentsEntityTypesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsEntityTypesGetCall { + c.ifNoneMatch_ = entityTag + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsLocationsAgentsEntityTypesGetCall) Context(ctx context.Context) *ProjectsLocationsAgentsEntityTypesGetCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsLocationsAgentsEntityTypesGetCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsAgentsEntityTypesGetCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + if c.ifNoneMatch_ != "" { + reqHeaders.Set("If-None-Match", c.ifNoneMatch_) + } + var body io.Reader = nil + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("GET", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "name": c.name, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "dialogflow.projects.locations.agents.entityTypes.get" call. +// Exactly one of *GoogleCloudDialogflowCxV3EntityType or error will be +// non-nil. Any non-2xx status code is an error. Response headers are in +// either *GoogleCloudDialogflowCxV3EntityType.ServerResponse.Header or +// (if a response was returned at all) in +// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check +// whether the returned error was because http.StatusNotModified was +// returned. +func (c *ProjectsLocationsAgentsEntityTypesGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3EntityType, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &GoogleCloudDialogflowCxV3EntityType{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Retrieves the specified entity type.", + // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/entityTypes/{entityTypesId}", + // "httpMethod": "GET", + // "id": "dialogflow.projects.locations.agents.entityTypes.get", + // "parameterOrder": [ + // "name" + // ], + // "parameters": { + // "languageCode": { + // "description": "The language to retrieve the entity type for. The following fields are language dependent: * `EntityType.entities.value` * `EntityType.entities.synonyms` * `EntityType.excluded_phrases.value` If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", + // "location": "query", + // "type": "string" + // }, + // "name": { + // "description": "Required. The name of the entity type. Format: `projects//locations//agents//entityTypes/`.", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/entityTypes/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v3/{+name}", + // "response": { + // "$ref": "GoogleCloudDialogflowCxV3EntityType" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", + // "https://www.googleapis.com/auth/dialogflow" + // ] + // } + +} + +// method id "dialogflow.projects.locations.agents.entityTypes.list": + +type ProjectsLocationsAgentsEntityTypesListCall struct { + s *Service + parent string + urlParams_ gensupport.URLParams + ifNoneMatch_ string + ctx_ context.Context + header_ http.Header +} + +// List: Returns the list of all entity types in the specified agent. +func (r *ProjectsLocationsAgentsEntityTypesService) List(parent string) *ProjectsLocationsAgentsEntityTypesListCall { + c := &ProjectsLocationsAgentsEntityTypesListCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.parent = parent + return c +} + +// LanguageCode sets the optional parameter "languageCode": The language +// to list entity types for. The following fields are language +// dependent: * `EntityType.entities.value` * +// `EntityType.entities.synonyms` * `EntityType.excluded_phrases.value` +// If not specified, the agent's default language is used. [Many +// languages](https://cloud.google.com/dialogflow/docs/reference/language +// ) are supported. Note: languages must be enabled in the agent before +// they can be used. +func (c *ProjectsLocationsAgentsEntityTypesListCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsEntityTypesListCall { + c.urlParams_.Set("languageCode", languageCode) + return c +} + +// PageSize sets the optional parameter "pageSize": The maximum number +// of items to return in a single page. By default 100 and at most 1000. +func (c *ProjectsLocationsAgentsEntityTypesListCall) PageSize(pageSize int64) *ProjectsLocationsAgentsEntityTypesListCall { + c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) + return c +} + +// PageToken sets the optional parameter "pageToken": The +// next_page_token value returned from a previous list request. +func (c *ProjectsLocationsAgentsEntityTypesListCall) PageToken(pageToken string) *ProjectsLocationsAgentsEntityTypesListCall { + c.urlParams_.Set("pageToken", pageToken) + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsAgentsEntityTypesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEntityTypesListCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// IfNoneMatch sets the optional parameter which makes the operation +// fail if the object's ETag matches the given value. This is useful for +// getting updates only after the object has changed since the last +// request. Use googleapi.IsNotModified to check whether the response +// error from Do is the result of In-None-Match. +func (c *ProjectsLocationsAgentsEntityTypesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsEntityTypesListCall { + c.ifNoneMatch_ = entityTag + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsLocationsAgentsEntityTypesListCall) Context(ctx context.Context) *ProjectsLocationsAgentsEntityTypesListCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsLocationsAgentsEntityTypesListCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsAgentsEntityTypesListCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + if c.ifNoneMatch_ != "" { + reqHeaders.Set("If-None-Match", c.ifNoneMatch_) + } + var body io.Reader = nil + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+parent}/entityTypes") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("GET", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "parent": c.parent, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "dialogflow.projects.locations.agents.entityTypes.list" call. +// Exactly one of *GoogleCloudDialogflowCxV3ListEntityTypesResponse or +// error will be non-nil. Any non-2xx status code is an error. Response +// headers are in either +// *GoogleCloudDialogflowCxV3ListEntityTypesResponse.ServerResponse.Heade +// r or (if a response was returned at all) in +// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check +// whether the returned error was because http.StatusNotModified was +// returned. +func (c *ProjectsLocationsAgentsEntityTypesListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3ListEntityTypesResponse, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &GoogleCloudDialogflowCxV3ListEntityTypesResponse{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Returns the list of all entity types in the specified agent.", + // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/entityTypes", + // "httpMethod": "GET", + // "id": "dialogflow.projects.locations.agents.entityTypes.list", + // "parameterOrder": [ + // "parent" + // ], + // "parameters": { + // "languageCode": { + // "description": "The language to list entity types for. The following fields are language dependent: * `EntityType.entities.value` * `EntityType.entities.synonyms` * `EntityType.excluded_phrases.value` If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", + // "location": "query", + // "type": "string" + // }, + // "pageSize": { + // "description": "The maximum number of items to return in a single page. By default 100 and at most 1000.", + // "format": "int32", + // "location": "query", + // "type": "integer" + // }, + // "pageToken": { + // "description": "The next_page_token value returned from a previous list request.", + // "location": "query", + // "type": "string" + // }, + // "parent": { + // "description": "Required. The agent to list all entity types for. Format: `projects//locations//agents/`.", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v3/{+parent}/entityTypes", + // "response": { + // "$ref": "GoogleCloudDialogflowCxV3ListEntityTypesResponse" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", + // "https://www.googleapis.com/auth/dialogflow" + // ] + // } + +} + +// Pages invokes f for each page of results. +// A non-nil error returned from f will halt the iteration. +// The provided context supersedes any context provided to the Context method. +func (c *ProjectsLocationsAgentsEntityTypesListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowCxV3ListEntityTypesResponse) error) error { + c.ctx_ = ctx + defer c.PageToken(c.urlParams_.Get("pageToken")) // reset paging to original point + for { + x, err := c.Do() + if err != nil { + return err + } + if err := f(x); err != nil { + return err + } + if x.NextPageToken == "" { + return nil + } + c.PageToken(x.NextPageToken) + } +} + +// method id "dialogflow.projects.locations.agents.entityTypes.patch": + +type ProjectsLocationsAgentsEntityTypesPatchCall struct { + s *Service + nameid string + googleclouddialogflowcxv3entitytype *GoogleCloudDialogflowCxV3EntityType + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// Patch: Updates the specified entity type. +func (r *ProjectsLocationsAgentsEntityTypesService) Patch(nameid string, googleclouddialogflowcxv3entitytype *GoogleCloudDialogflowCxV3EntityType) *ProjectsLocationsAgentsEntityTypesPatchCall { + c := &ProjectsLocationsAgentsEntityTypesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.nameid = nameid + c.googleclouddialogflowcxv3entitytype = googleclouddialogflowcxv3entitytype + return c } -// method id "dialogflow.projects.locations.agents.create": - -type ProjectsLocationsAgentsCreateCall struct { - s *Service - parent string - googleclouddialogflowcxv3agent *GoogleCloudDialogflowCxV3Agent - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header +// LanguageCode sets the optional parameter "languageCode": The language +// of the following fields in `entity_type`: * +// `EntityType.entities.value` * `EntityType.entities.synonyms` * +// `EntityType.excluded_phrases.value` If not specified, the agent's +// default language is used. [Many +// languages](https://cloud.google.com/dialogflow/docs/reference/language +// ) are supported. Note: languages must be enabled in the agent before +// they can be used. +func (c *ProjectsLocationsAgentsEntityTypesPatchCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsEntityTypesPatchCall { + c.urlParams_.Set("languageCode", languageCode) + return c } -// Create: Creates an agent in the specified location. -func (r *ProjectsLocationsAgentsService) Create(parent string, googleclouddialogflowcxv3agent *GoogleCloudDialogflowCxV3Agent) *ProjectsLocationsAgentsCreateCall { - c := &ProjectsLocationsAgentsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.parent = parent - c.googleclouddialogflowcxv3agent = googleclouddialogflowcxv3agent +// UpdateMask sets the optional parameter "updateMask": The mask to +// control which fields get updated. +func (c *ProjectsLocationsAgentsEntityTypesPatchCall) UpdateMask(updateMask string) *ProjectsLocationsAgentsEntityTypesPatchCall { + c.urlParams_.Set("updateMask", updateMask) return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsCreateCall { +func (c *ProjectsLocationsAgentsEntityTypesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEntityTypesPatchCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -10884,56 +16027,57 @@ func (c *ProjectsLocationsAgentsCreateCall) Fields(s ...googleapi.Field) *Projec // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsCreateCall) Context(ctx context.Context) *ProjectsLocationsAgentsCreateCall { +func (c *ProjectsLocationsAgentsEntityTypesPatchCall) Context(ctx context.Context) *ProjectsLocationsAgentsEntityTypesPatchCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsCreateCall) Header() http.Header { +func (c *ProjectsLocationsAgentsEntityTypesPatchCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsCreateCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsEntityTypesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } reqHeaders.Set("User-Agent", c.s.userAgent()) var body io.Reader = nil - body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3agent) + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3entitytype) if err != nil { return nil, err } reqHeaders.Set("Content-Type", "application/json") c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+parent}/agents") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}") urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("POST", urls, body) + req, err := http.NewRequest("PATCH", urls, body) if err != nil { return nil, err } req.Header = reqHeaders googleapi.Expand(req.URL, map[string]string{ - "parent": c.parent, + "name": c.nameid, }) return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.create" call. -// Exactly one of *GoogleCloudDialogflowCxV3Agent or error will be +// Do executes the "dialogflow.projects.locations.agents.entityTypes.patch" call. +// Exactly one of *GoogleCloudDialogflowCxV3EntityType or error will be // non-nil. Any non-2xx status code is an error. Response headers are in -// either *GoogleCloudDialogflowCxV3Agent.ServerResponse.Header or (if a -// response was returned at all) in error.(*googleapi.Error).Header. Use -// googleapi.IsNotModified to check whether the returned error was -// because http.StatusNotModified was returned. -func (c *ProjectsLocationsAgentsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3Agent, error) { +// either *GoogleCloudDialogflowCxV3EntityType.ServerResponse.Header or +// (if a response was returned at all) in +// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check +// whether the returned error was because http.StatusNotModified was +// returned. +func (c *ProjectsLocationsAgentsEntityTypesPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3EntityType, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -10952,7 +16096,7 @@ func (c *ProjectsLocationsAgentsCreateCall) Do(opts ...googleapi.CallOption) (*G if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleCloudDialogflowCxV3Agent{ + ret := &GoogleCloudDialogflowCxV3EntityType{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -10964,28 +16108,39 @@ func (c *ProjectsLocationsAgentsCreateCall) Do(opts ...googleapi.CallOption) (*G } return ret, nil // { - // "description": "Creates an agent in the specified location.", - // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents", - // "httpMethod": "POST", - // "id": "dialogflow.projects.locations.agents.create", + // "description": "Updates the specified entity type.", + // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/entityTypes/{entityTypesId}", + // "httpMethod": "PATCH", + // "id": "dialogflow.projects.locations.agents.entityTypes.patch", // "parameterOrder": [ - // "parent" + // "name" // ], // "parameters": { - // "parent": { - // "description": "Required. The location to create a agent for. Format: `projects//locations/`.", + // "languageCode": { + // "description": "The language of the following fields in `entity_type`: * `EntityType.entities.value` * `EntityType.entities.synonyms` * `EntityType.excluded_phrases.value` If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", + // "location": "query", + // "type": "string" + // }, + // "name": { + // "description": "The unique identifier of the entity type. Required for EntityTypes.UpdateEntityType. Format: `projects//locations//agents//entityTypes/`.", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/entityTypes/[^/]+$", // "required": true, // "type": "string" + // }, + // "updateMask": { + // "description": "The mask to control which fields get updated.", + // "format": "google-fieldmask", + // "location": "query", + // "type": "string" // } // }, - // "path": "v3/{+parent}/agents", + // "path": "v3/{+name}", // "request": { - // "$ref": "GoogleCloudDialogflowCxV3Agent" + // "$ref": "GoogleCloudDialogflowCxV3EntityType" // }, // "response": { - // "$ref": "GoogleCloudDialogflowCxV3Agent" + // "$ref": "GoogleCloudDialogflowCxV3EntityType" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -10995,27 +16150,29 @@ func (c *ProjectsLocationsAgentsCreateCall) Do(opts ...googleapi.CallOption) (*G } -// method id "dialogflow.projects.locations.agents.delete": +// method id "dialogflow.projects.locations.agents.environments.create": -type ProjectsLocationsAgentsDeleteCall struct { - s *Service - name string - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header +type ProjectsLocationsAgentsEnvironmentsCreateCall struct { + s *Service + parent string + googleclouddialogflowcxv3environment *GoogleCloudDialogflowCxV3Environment + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header } -// Delete: Deletes the specified agent. -func (r *ProjectsLocationsAgentsService) Delete(name string) *ProjectsLocationsAgentsDeleteCall { - c := &ProjectsLocationsAgentsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.name = name +// Create: Creates an Environment in the specified Agent. +func (r *ProjectsLocationsAgentsEnvironmentsService) Create(parent string, googleclouddialogflowcxv3environment *GoogleCloudDialogflowCxV3Environment) *ProjectsLocationsAgentsEnvironmentsCreateCall { + c := &ProjectsLocationsAgentsEnvironmentsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.parent = parent + c.googleclouddialogflowcxv3environment = googleclouddialogflowcxv3environment return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsDeleteCall { +func (c *ProjectsLocationsAgentsEnvironmentsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsCreateCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -11023,51 +16180,56 @@ func (c *ProjectsLocationsAgentsDeleteCall) Fields(s ...googleapi.Field) *Projec // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsDeleteCall) Context(ctx context.Context) *ProjectsLocationsAgentsDeleteCall { +func (c *ProjectsLocationsAgentsEnvironmentsCreateCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsCreateCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsDeleteCall) Header() http.Header { +func (c *ProjectsLocationsAgentsEnvironmentsCreateCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsDeleteCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsEnvironmentsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } reqHeaders.Set("User-Agent", c.s.userAgent()) var body io.Reader = nil + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3environment) + if err != nil { + return nil, err + } + reqHeaders.Set("Content-Type", "application/json") c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+parent}/environments") urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("DELETE", urls, body) + req, err := http.NewRequest("POST", urls, body) if err != nil { return nil, err } req.Header = reqHeaders googleapi.Expand(req.URL, map[string]string{ - "name": c.name, + "parent": c.parent, }) return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.delete" call. -// Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any -// non-2xx status code is an error. Response headers are in either -// *GoogleProtobufEmpty.ServerResponse.Header or (if a response was -// returned at all) in error.(*googleapi.Error).Header. Use +// Do executes the "dialogflow.projects.locations.agents.environments.create" call. +// Exactly one of *GoogleLongrunningOperation or error will be non-nil. +// Any non-2xx status code is an error. Response headers are in either +// *GoogleLongrunningOperation.ServerResponse.Header or (if a response +// was returned at all) in error.(*googleapi.Error).Header. Use // googleapi.IsNotModified to check whether the returned error was // because http.StatusNotModified was returned. -func (c *ProjectsLocationsAgentsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error) { +func (c *ProjectsLocationsAgentsEnvironmentsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -11086,7 +16248,7 @@ func (c *ProjectsLocationsAgentsDeleteCall) Do(opts ...googleapi.CallOption) (*G if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleProtobufEmpty{ + ret := &GoogleLongrunningOperation{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -11098,25 +16260,28 @@ func (c *ProjectsLocationsAgentsDeleteCall) Do(opts ...googleapi.CallOption) (*G } return ret, nil // { - // "description": "Deletes the specified agent.", - // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}", - // "httpMethod": "DELETE", - // "id": "dialogflow.projects.locations.agents.delete", + // "description": "Creates an Environment in the specified Agent.", + // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments", + // "httpMethod": "POST", + // "id": "dialogflow.projects.locations.agents.environments.create", // "parameterOrder": [ - // "name" + // "parent" // ], // "parameters": { - // "name": { - // "description": "Required. The name of the agent to delete. Format: `projects//locations//agents/`.", + // "parent": { + // "description": "Required. The Agent to create an Environment for. Format: `projects//locations//agents/`.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", // "required": true, // "type": "string" // } // }, - // "path": "v3/{+name}", + // "path": "v3/{+parent}/environments", + // "request": { + // "$ref": "GoogleCloudDialogflowCxV3Environment" + // }, // "response": { - // "$ref": "GoogleProtobufEmpty" + // "$ref": "GoogleLongrunningOperation" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -11126,29 +16291,27 @@ func (c *ProjectsLocationsAgentsDeleteCall) Do(opts ...googleapi.CallOption) (*G } -// method id "dialogflow.projects.locations.agents.export": +// method id "dialogflow.projects.locations.agents.environments.delete": -type ProjectsLocationsAgentsExportCall struct { - s *Service - name string - googleclouddialogflowcxv3exportagentrequest *GoogleCloudDialogflowCxV3ExportAgentRequest - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header +type ProjectsLocationsAgentsEnvironmentsDeleteCall struct { + s *Service + name string + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header } -// Export: Exports the specified agent to a binary file. -func (r *ProjectsLocationsAgentsService) Export(name string, googleclouddialogflowcxv3exportagentrequest *GoogleCloudDialogflowCxV3ExportAgentRequest) *ProjectsLocationsAgentsExportCall { - c := &ProjectsLocationsAgentsExportCall{s: r.s, urlParams_: make(gensupport.URLParams)} +// Delete: Deletes the specified Environment. +func (r *ProjectsLocationsAgentsEnvironmentsService) Delete(name string) *ProjectsLocationsAgentsEnvironmentsDeleteCall { + c := &ProjectsLocationsAgentsEnvironmentsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name - c.googleclouddialogflowcxv3exportagentrequest = googleclouddialogflowcxv3exportagentrequest return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsExportCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsExportCall { +func (c *ProjectsLocationsAgentsEnvironmentsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsDeleteCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -11156,38 +16319,33 @@ func (c *ProjectsLocationsAgentsExportCall) Fields(s ...googleapi.Field) *Projec // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsExportCall) Context(ctx context.Context) *ProjectsLocationsAgentsExportCall { +func (c *ProjectsLocationsAgentsEnvironmentsDeleteCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsDeleteCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsExportCall) Header() http.Header { +func (c *ProjectsLocationsAgentsEnvironmentsDeleteCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsExportCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsEnvironmentsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } reqHeaders.Set("User-Agent", c.s.userAgent()) var body io.Reader = nil - body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3exportagentrequest) - if err != nil { - return nil, err - } - reqHeaders.Set("Content-Type", "application/json") c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}:export") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}") urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("POST", urls, body) + req, err := http.NewRequest("DELETE", urls, body) if err != nil { return nil, err } @@ -11198,14 +16356,14 @@ func (c *ProjectsLocationsAgentsExportCall) doRequest(alt string) (*http.Respons return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.export" call. -// Exactly one of *GoogleLongrunningOperation or error will be non-nil. -// Any non-2xx status code is an error. Response headers are in either -// *GoogleLongrunningOperation.ServerResponse.Header or (if a response -// was returned at all) in error.(*googleapi.Error).Header. Use +// Do executes the "dialogflow.projects.locations.agents.environments.delete" call. +// Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any +// non-2xx status code is an error. Response headers are in either +// *GoogleProtobufEmpty.ServerResponse.Header or (if a response was +// returned at all) in error.(*googleapi.Error).Header. Use // googleapi.IsNotModified to check whether the returned error was // because http.StatusNotModified was returned. -func (c *ProjectsLocationsAgentsExportCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error) { +func (c *ProjectsLocationsAgentsEnvironmentsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -11224,7 +16382,7 @@ func (c *ProjectsLocationsAgentsExportCall) Do(opts ...googleapi.CallOption) (*G if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleLongrunningOperation{ + ret := &GoogleProtobufEmpty{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -11236,28 +16394,25 @@ func (c *ProjectsLocationsAgentsExportCall) Do(opts ...googleapi.CallOption) (*G } return ret, nil // { - // "description": "Exports the specified agent to a binary file.", - // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}:export", - // "httpMethod": "POST", - // "id": "dialogflow.projects.locations.agents.export", + // "description": "Deletes the specified Environment.", + // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}", + // "httpMethod": "DELETE", + // "id": "dialogflow.projects.locations.agents.environments.delete", // "parameterOrder": [ // "name" // ], // "parameters": { // "name": { - // "description": "Required. The name of the agent to export. Format: `projects//locations//agents/`.", + // "description": "Required. The name of the Environment to delete. Format: `projects//locations//agents//environments/`.", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/environments/[^/]+$", // "required": true, // "type": "string" // } // }, - // "path": "v3/{+name}:export", - // "request": { - // "$ref": "GoogleCloudDialogflowCxV3ExportAgentRequest" - // }, + // "path": "v3/{+name}", // "response": { - // "$ref": "GoogleLongrunningOperation" + // "$ref": "GoogleProtobufEmpty" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -11267,9 +16422,9 @@ func (c *ProjectsLocationsAgentsExportCall) Do(opts ...googleapi.CallOption) (*G } -// method id "dialogflow.projects.locations.agents.get": +// method id "dialogflow.projects.locations.agents.environments.get": -type ProjectsLocationsAgentsGetCall struct { +type ProjectsLocationsAgentsEnvironmentsGetCall struct { s *Service name string urlParams_ gensupport.URLParams @@ -11278,9 +16433,9 @@ type ProjectsLocationsAgentsGetCall struct { header_ http.Header } -// Get: Retrieves the specified agent. -func (r *ProjectsLocationsAgentsService) Get(name string) *ProjectsLocationsAgentsGetCall { - c := &ProjectsLocationsAgentsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} +// Get: Retrieves the specified Environment. +func (r *ProjectsLocationsAgentsEnvironmentsService) Get(name string) *ProjectsLocationsAgentsEnvironmentsGetCall { + c := &ProjectsLocationsAgentsEnvironmentsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name return c } @@ -11288,7 +16443,7 @@ func (r *ProjectsLocationsAgentsService) Get(name string) *ProjectsLocationsAgen // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsGetCall { +func (c *ProjectsLocationsAgentsEnvironmentsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsGetCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -11298,7 +16453,7 @@ func (c *ProjectsLocationsAgentsGetCall) Fields(s ...googleapi.Field) *ProjectsL // getting updates only after the object has changed since the last // request. Use googleapi.IsNotModified to check whether the response // error from Do is the result of In-None-Match. -func (c *ProjectsLocationsAgentsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsGetCall { +func (c *ProjectsLocationsAgentsEnvironmentsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsEnvironmentsGetCall { c.ifNoneMatch_ = entityTag return c } @@ -11306,23 +16461,23 @@ func (c *ProjectsLocationsAgentsGetCall) IfNoneMatch(entityTag string) *Projects // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsGetCall) Context(ctx context.Context) *ProjectsLocationsAgentsGetCall { +func (c *ProjectsLocationsAgentsEnvironmentsGetCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsGetCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsGetCall) Header() http.Header { +func (c *ProjectsLocationsAgentsEnvironmentsGetCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsGetCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsEnvironmentsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11346,14 +16501,15 @@ func (c *ProjectsLocationsAgentsGetCall) doRequest(alt string) (*http.Response, return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.get" call. -// Exactly one of *GoogleCloudDialogflowCxV3Agent or error will be +// Do executes the "dialogflow.projects.locations.agents.environments.get" call. +// Exactly one of *GoogleCloudDialogflowCxV3Environment or error will be // non-nil. Any non-2xx status code is an error. Response headers are in -// either *GoogleCloudDialogflowCxV3Agent.ServerResponse.Header or (if a -// response was returned at all) in error.(*googleapi.Error).Header. Use -// googleapi.IsNotModified to check whether the returned error was -// because http.StatusNotModified was returned. -func (c *ProjectsLocationsAgentsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3Agent, error) { +// either *GoogleCloudDialogflowCxV3Environment.ServerResponse.Header or +// (if a response was returned at all) in +// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check +// whether the returned error was because http.StatusNotModified was +// returned. +func (c *ProjectsLocationsAgentsEnvironmentsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3Environment, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -11372,7 +16528,7 @@ func (c *ProjectsLocationsAgentsGetCall) Do(opts ...googleapi.CallOption) (*Goog if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleCloudDialogflowCxV3Agent{ + ret := &GoogleCloudDialogflowCxV3Environment{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -11384,25 +16540,25 @@ func (c *ProjectsLocationsAgentsGetCall) Do(opts ...googleapi.CallOption) (*Goog } return ret, nil // { - // "description": "Retrieves the specified agent.", - // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}", + // "description": "Retrieves the specified Environment.", + // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}", // "httpMethod": "GET", - // "id": "dialogflow.projects.locations.agents.get", + // "id": "dialogflow.projects.locations.agents.environments.get", // "parameterOrder": [ // "name" // ], // "parameters": { // "name": { - // "description": "Required. The name of the agent. Format: `projects//locations//agents/`.", + // "description": "Required. The name of the Environment. Format: `projects//locations//agents//environments/`.", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/environments/[^/]+$", // "required": true, // "type": "string" // } // }, // "path": "v3/{+name}", // "response": { - // "$ref": "GoogleCloudDialogflowCxV3Agent" + // "$ref": "GoogleCloudDialogflowCxV3Environment" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -11412,9 +16568,9 @@ func (c *ProjectsLocationsAgentsGetCall) Do(opts ...googleapi.CallOption) (*Goog } -// method id "dialogflow.projects.locations.agents.list": +// method id "dialogflow.projects.locations.agents.environments.list": -type ProjectsLocationsAgentsListCall struct { +type ProjectsLocationsAgentsEnvironmentsListCall struct { s *Service parent string urlParams_ gensupport.URLParams @@ -11423,23 +16579,23 @@ type ProjectsLocationsAgentsListCall struct { header_ http.Header } -// List: Returns the list of all agents in the specified location. -func (r *ProjectsLocationsAgentsService) List(parent string) *ProjectsLocationsAgentsListCall { - c := &ProjectsLocationsAgentsListCall{s: r.s, urlParams_: make(gensupport.URLParams)} +// List: Returns the list of all environments in the specified Agent. +func (r *ProjectsLocationsAgentsEnvironmentsService) List(parent string) *ProjectsLocationsAgentsEnvironmentsListCall { + c := &ProjectsLocationsAgentsEnvironmentsListCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.parent = parent return c } // PageSize sets the optional parameter "pageSize": The maximum number -// of items to return in a single page. By default 100 and at most 1000. -func (c *ProjectsLocationsAgentsListCall) PageSize(pageSize int64) *ProjectsLocationsAgentsListCall { +// of items to return in a single page. By default 20 and at most 100. +func (c *ProjectsLocationsAgentsEnvironmentsListCall) PageSize(pageSize int64) *ProjectsLocationsAgentsEnvironmentsListCall { c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) return c } // PageToken sets the optional parameter "pageToken": The // next_page_token value returned from a previous list request. -func (c *ProjectsLocationsAgentsListCall) PageToken(pageToken string) *ProjectsLocationsAgentsListCall { +func (c *ProjectsLocationsAgentsEnvironmentsListCall) PageToken(pageToken string) *ProjectsLocationsAgentsEnvironmentsListCall { c.urlParams_.Set("pageToken", pageToken) return c } @@ -11447,7 +16603,7 @@ func (c *ProjectsLocationsAgentsListCall) PageToken(pageToken string) *ProjectsL // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsListCall { +func (c *ProjectsLocationsAgentsEnvironmentsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsListCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -11457,7 +16613,7 @@ func (c *ProjectsLocationsAgentsListCall) Fields(s ...googleapi.Field) *Projects // getting updates only after the object has changed since the last // request. Use googleapi.IsNotModified to check whether the response // error from Do is the result of In-None-Match. -func (c *ProjectsLocationsAgentsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsListCall { +func (c *ProjectsLocationsAgentsEnvironmentsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsEnvironmentsListCall { c.ifNoneMatch_ = entityTag return c } @@ -11465,23 +16621,23 @@ func (c *ProjectsLocationsAgentsListCall) IfNoneMatch(entityTag string) *Project // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsListCall) Context(ctx context.Context) *ProjectsLocationsAgentsListCall { +func (c *ProjectsLocationsAgentsEnvironmentsListCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsListCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsListCall) Header() http.Header { +func (c *ProjectsLocationsAgentsEnvironmentsListCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsListCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsEnvironmentsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11492,7 +16648,7 @@ func (c *ProjectsLocationsAgentsListCall) doRequest(alt string) (*http.Response, var body io.Reader = nil c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+parent}/agents") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+parent}/environments") urls += "?" + c.urlParams_.Encode() req, err := http.NewRequest("GET", urls, body) if err != nil { @@ -11505,16 +16661,16 @@ func (c *ProjectsLocationsAgentsListCall) doRequest(alt string) (*http.Response, return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.list" call. -// Exactly one of *GoogleCloudDialogflowCxV3ListAgentsResponse or error -// will be non-nil. Any non-2xx status code is an error. Response +// Do executes the "dialogflow.projects.locations.agents.environments.list" call. +// Exactly one of *GoogleCloudDialogflowCxV3ListEnvironmentsResponse or +// error will be non-nil. Any non-2xx status code is an error. Response // headers are in either -// *GoogleCloudDialogflowCxV3ListAgentsResponse.ServerResponse.Header or -// (if a response was returned at all) in +// *GoogleCloudDialogflowCxV3ListEnvironmentsResponse.ServerResponse.Head +// er or (if a response was returned at all) in // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check // whether the returned error was because http.StatusNotModified was // returned. -func (c *ProjectsLocationsAgentsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3ListAgentsResponse, error) { +func (c *ProjectsLocationsAgentsEnvironmentsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3ListEnvironmentsResponse, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -11533,7 +16689,7 @@ func (c *ProjectsLocationsAgentsListCall) Do(opts ...googleapi.CallOption) (*Goo if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleCloudDialogflowCxV3ListAgentsResponse{ + ret := &GoogleCloudDialogflowCxV3ListEnvironmentsResponse{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -11545,16 +16701,16 @@ func (c *ProjectsLocationsAgentsListCall) Do(opts ...googleapi.CallOption) (*Goo } return ret, nil // { - // "description": "Returns the list of all agents in the specified location.", - // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents", + // "description": "Returns the list of all environments in the specified Agent.", + // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments", // "httpMethod": "GET", - // "id": "dialogflow.projects.locations.agents.list", + // "id": "dialogflow.projects.locations.agents.environments.list", // "parameterOrder": [ // "parent" // ], // "parameters": { // "pageSize": { - // "description": "The maximum number of items to return in a single page. By default 100 and at most 1000.", + // "description": "The maximum number of items to return in a single page. By default 20 and at most 100.", // "format": "int32", // "location": "query", // "type": "integer" @@ -11565,16 +16721,16 @@ func (c *ProjectsLocationsAgentsListCall) Do(opts ...googleapi.CallOption) (*Goo // "type": "string" // }, // "parent": { - // "description": "Required. The location to list all agents for. Format: `projects//locations/`.", + // "description": "Required. The Agent to list all environments for. Format: `projects//locations//agents/`.", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", // "required": true, // "type": "string" // } // }, - // "path": "v3/{+parent}/agents", + // "path": "v3/{+parent}/environments", // "response": { - // "$ref": "GoogleCloudDialogflowCxV3ListAgentsResponse" + // "$ref": "GoogleCloudDialogflowCxV3ListEnvironmentsResponse" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -11587,7 +16743,7 @@ func (c *ProjectsLocationsAgentsListCall) Do(opts ...googleapi.CallOption) (*Goo // Pages invokes f for each page of results. // A non-nil error returned from f will halt the iteration. // The provided context supersedes any context provided to the Context method. -func (c *ProjectsLocationsAgentsListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowCxV3ListAgentsResponse) error) error { +func (c *ProjectsLocationsAgentsEnvironmentsListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowCxV3ListEnvironmentsResponse) error) error { c.ctx_ = ctx defer c.PageToken(c.urlParams_.Get("pageToken")) // reset paging to original point for { @@ -11605,225 +16761,90 @@ func (c *ProjectsLocationsAgentsListCall) Pages(ctx context.Context, f func(*Goo } } -// method id "dialogflow.projects.locations.agents.patch": - -type ProjectsLocationsAgentsPatchCall struct { - s *Service - nameid string - googleclouddialogflowcxv3agent *GoogleCloudDialogflowCxV3Agent - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header -} - -// Patch: Updates the specified agent. -func (r *ProjectsLocationsAgentsService) Patch(nameid string, googleclouddialogflowcxv3agent *GoogleCloudDialogflowCxV3Agent) *ProjectsLocationsAgentsPatchCall { - c := &ProjectsLocationsAgentsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.nameid = nameid - c.googleclouddialogflowcxv3agent = googleclouddialogflowcxv3agent - return c -} - -// UpdateMask sets the optional parameter "updateMask": The mask to -// control which fields get updated. If the mask is not present, all -// fields will be updated. -func (c *ProjectsLocationsAgentsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsAgentsPatchCall { - c.urlParams_.Set("updateMask", updateMask) - return c -} - -// Fields allows partial responses to be retrieved. See -// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse -// for more information. -func (c *ProjectsLocationsAgentsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsPatchCall { - c.urlParams_.Set("fields", googleapi.CombineFields(s)) - return c -} - -// Context sets the context to be used in this call's Do method. Any -// pending HTTP request will be aborted if the provided context is -// canceled. -func (c *ProjectsLocationsAgentsPatchCall) Context(ctx context.Context) *ProjectsLocationsAgentsPatchCall { - c.ctx_ = ctx - return c -} - -// Header returns an http.Header that can be modified by the caller to -// add HTTP headers to the request. -func (c *ProjectsLocationsAgentsPatchCall) Header() http.Header { - if c.header_ == nil { - c.header_ = make(http.Header) - } - return c.header_ -} - -func (c *ProjectsLocationsAgentsPatchCall) doRequest(alt string) (*http.Response, error) { - reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") - for k, v := range c.header_ { - reqHeaders[k] = v - } - reqHeaders.Set("User-Agent", c.s.userAgent()) - var body io.Reader = nil - body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3agent) - if err != nil { - return nil, err - } - reqHeaders.Set("Content-Type", "application/json") - c.urlParams_.Set("alt", alt) - c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}") - urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("PATCH", urls, body) - if err != nil { - return nil, err - } - req.Header = reqHeaders - googleapi.Expand(req.URL, map[string]string{ - "name": c.nameid, - }) - return gensupport.SendRequest(c.ctx_, c.s.client, req) -} - -// Do executes the "dialogflow.projects.locations.agents.patch" call. -// Exactly one of *GoogleCloudDialogflowCxV3Agent or error will be -// non-nil. Any non-2xx status code is an error. Response headers are in -// either *GoogleCloudDialogflowCxV3Agent.ServerResponse.Header or (if a -// response was returned at all) in error.(*googleapi.Error).Header. Use -// googleapi.IsNotModified to check whether the returned error was -// because http.StatusNotModified was returned. -func (c *ProjectsLocationsAgentsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3Agent, error) { - gensupport.SetOptions(c.urlParams_, opts...) - res, err := c.doRequest("json") - if res != nil && res.StatusCode == http.StatusNotModified { - if res.Body != nil { - res.Body.Close() - } - return nil, &googleapi.Error{ - Code: res.StatusCode, - Header: res.Header, - } - } - if err != nil { - return nil, err - } - defer googleapi.CloseBody(res) - if err := googleapi.CheckResponse(res); err != nil { - return nil, err - } - ret := &GoogleCloudDialogflowCxV3Agent{ - ServerResponse: googleapi.ServerResponse{ - Header: res.Header, - HTTPStatusCode: res.StatusCode, - }, - } - target := &ret - if err := gensupport.DecodeResponse(target, res); err != nil { - return nil, err - } - return ret, nil - // { - // "description": "Updates the specified agent.", - // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}", - // "httpMethod": "PATCH", - // "id": "dialogflow.projects.locations.agents.patch", - // "parameterOrder": [ - // "name" - // ], - // "parameters": { - // "name": { - // "description": "The unique identifier of the agent. Required for the Agents.UpdateAgent method. Agents.CreateAgent populates the name automatically. Format: `projects//locations//agents/`.", - // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", - // "required": true, - // "type": "string" - // }, - // "updateMask": { - // "description": "The mask to control which fields get updated. If the mask is not present, all fields will be updated.", - // "format": "google-fieldmask", - // "location": "query", - // "type": "string" - // } - // }, - // "path": "v3/{+name}", - // "request": { - // "$ref": "GoogleCloudDialogflowCxV3Agent" - // }, - // "response": { - // "$ref": "GoogleCloudDialogflowCxV3Agent" - // }, - // "scopes": [ - // "https://www.googleapis.com/auth/cloud-platform", - // "https://www.googleapis.com/auth/dialogflow" - // ] - // } +// method id "dialogflow.projects.locations.agents.environments.lookupEnvironmentHistory": +type ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall struct { + s *Service + name string + urlParams_ gensupport.URLParams + ifNoneMatch_ string + ctx_ context.Context + header_ http.Header } -// method id "dialogflow.projects.locations.agents.restore": +// LookupEnvironmentHistory: Looks up the history of the specified +// Environment. +func (r *ProjectsLocationsAgentsEnvironmentsService) LookupEnvironmentHistory(name string) *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall { + c := &ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name + return c +} -type ProjectsLocationsAgentsRestoreCall struct { - s *Service - name string - googleclouddialogflowcxv3restoreagentrequest *GoogleCloudDialogflowCxV3RestoreAgentRequest - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header +// PageSize sets the optional parameter "pageSize": The maximum number +// of items to return in a single page. By default 100 and at most 1000. +func (c *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall) PageSize(pageSize int64) *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall { + c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) + return c } -// Restore: Restores the specified agent from a binary file. Replaces -// the current agent with a new one. Note that all existing resources in -// agent (e.g. intents, entity types, flows) will be removed. -func (r *ProjectsLocationsAgentsService) Restore(name string, googleclouddialogflowcxv3restoreagentrequest *GoogleCloudDialogflowCxV3RestoreAgentRequest) *ProjectsLocationsAgentsRestoreCall { - c := &ProjectsLocationsAgentsRestoreCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.name = name - c.googleclouddialogflowcxv3restoreagentrequest = googleclouddialogflowcxv3restoreagentrequest +// PageToken sets the optional parameter "pageToken": The +// next_page_token value returned from a previous list request. +func (c *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall) PageToken(pageToken string) *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall { + c.urlParams_.Set("pageToken", pageToken) return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsRestoreCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsRestoreCall { +func (c *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } +// IfNoneMatch sets the optional parameter which makes the operation +// fail if the object's ETag matches the given value. This is useful for +// getting updates only after the object has changed since the last +// request. Use googleapi.IsNotModified to check whether the response +// error from Do is the result of In-None-Match. +func (c *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall { + c.ifNoneMatch_ = entityTag + return c +} + // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsRestoreCall) Context(ctx context.Context) *ProjectsLocationsAgentsRestoreCall { +func (c *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsRestoreCall) Header() http.Header { +func (c *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsRestoreCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } reqHeaders.Set("User-Agent", c.s.userAgent()) - var body io.Reader = nil - body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3restoreagentrequest) - if err != nil { - return nil, err + if c.ifNoneMatch_ != "" { + reqHeaders.Set("If-None-Match", c.ifNoneMatch_) } - reqHeaders.Set("Content-Type", "application/json") + var body io.Reader = nil c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}:restore") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}:lookupEnvironmentHistory") urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("POST", urls, body) + req, err := http.NewRequest("GET", urls, body) if err != nil { return nil, err } @@ -11834,14 +16855,17 @@ func (c *ProjectsLocationsAgentsRestoreCall) doRequest(alt string) (*http.Respon return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.restore" call. -// Exactly one of *GoogleLongrunningOperation or error will be non-nil. -// Any non-2xx status code is an error. Response headers are in either -// *GoogleLongrunningOperation.ServerResponse.Header or (if a response -// was returned at all) in error.(*googleapi.Error).Header. Use -// googleapi.IsNotModified to check whether the returned error was -// because http.StatusNotModified was returned. -func (c *ProjectsLocationsAgentsRestoreCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error) { +// Do executes the "dialogflow.projects.locations.agents.environments.lookupEnvironmentHistory" call. +// Exactly one of +// *GoogleCloudDialogflowCxV3LookupEnvironmentHistoryResponse or error +// will be non-nil. Any non-2xx status code is an error. Response +// headers are in either +// *GoogleCloudDialogflowCxV3LookupEnvironmentHistoryResponse.ServerRespo +// nse.Header or (if a response was returned at all) in +// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check +// whether the returned error was because http.StatusNotModified was +// returned. +func (c *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3LookupEnvironmentHistoryResponse, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -11860,7 +16884,7 @@ func (c *ProjectsLocationsAgentsRestoreCall) Do(opts ...googleapi.CallOption) (* if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleLongrunningOperation{ + ret := &GoogleCloudDialogflowCxV3LookupEnvironmentHistoryResponse{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -11872,28 +16896,36 @@ func (c *ProjectsLocationsAgentsRestoreCall) Do(opts ...googleapi.CallOption) (* } return ret, nil // { - // "description": "Restores the specified agent from a binary file. Replaces the current agent with a new one. Note that all existing resources in agent (e.g. intents, entity types, flows) will be removed.", - // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}:restore", - // "httpMethod": "POST", - // "id": "dialogflow.projects.locations.agents.restore", + // "description": "Looks up the history of the specified Environment.", + // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}:lookupEnvironmentHistory", + // "httpMethod": "GET", + // "id": "dialogflow.projects.locations.agents.environments.lookupEnvironmentHistory", // "parameterOrder": [ // "name" // ], // "parameters": { // "name": { - // "description": "Required. The name of the agent to restore into. Format: `projects//locations//agents/`.", + // "description": "Required. Resource name of the environment to look up the history for. Format: `projects//locations//agents//environments/`.", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/environments/[^/]+$", // "required": true, // "type": "string" + // }, + // "pageSize": { + // "description": "The maximum number of items to return in a single page. By default 100 and at most 1000.", + // "format": "int32", + // "location": "query", + // "type": "integer" + // }, + // "pageToken": { + // "description": "The next_page_token value returned from a previous list request.", + // "location": "query", + // "type": "string" // } // }, - // "path": "v3/{+name}:restore", - // "request": { - // "$ref": "GoogleCloudDialogflowCxV3RestoreAgentRequest" - // }, + // "path": "v3/{+name}:lookupEnvironmentHistory", // "response": { - // "$ref": "GoogleLongrunningOperation" + // "$ref": "GoogleCloudDialogflowCxV3LookupEnvironmentHistoryResponse" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -11903,42 +16935,57 @@ func (c *ProjectsLocationsAgentsRestoreCall) Do(opts ...googleapi.CallOption) (* } -// method id "dialogflow.projects.locations.agents.entityTypes.create": +// Pages invokes f for each page of results. +// A non-nil error returned from f will halt the iteration. +// The provided context supersedes any context provided to the Context method. +func (c *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowCxV3LookupEnvironmentHistoryResponse) error) error { + c.ctx_ = ctx + defer c.PageToken(c.urlParams_.Get("pageToken")) // reset paging to original point + for { + x, err := c.Do() + if err != nil { + return err + } + if err := f(x); err != nil { + return err + } + if x.NextPageToken == "" { + return nil + } + c.PageToken(x.NextPageToken) + } +} -type ProjectsLocationsAgentsEntityTypesCreateCall struct { - s *Service - parent string - googleclouddialogflowcxv3entitytype *GoogleCloudDialogflowCxV3EntityType - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header +// method id "dialogflow.projects.locations.agents.environments.patch": + +type ProjectsLocationsAgentsEnvironmentsPatchCall struct { + s *Service + name string + googleclouddialogflowcxv3environment *GoogleCloudDialogflowCxV3Environment + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header } -// Create: Creates an entity type in the specified agent. -func (r *ProjectsLocationsAgentsEntityTypesService) Create(parent string, googleclouddialogflowcxv3entitytype *GoogleCloudDialogflowCxV3EntityType) *ProjectsLocationsAgentsEntityTypesCreateCall { - c := &ProjectsLocationsAgentsEntityTypesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.parent = parent - c.googleclouddialogflowcxv3entitytype = googleclouddialogflowcxv3entitytype +// Patch: Updates the specified Environment. +func (r *ProjectsLocationsAgentsEnvironmentsService) Patch(name string, googleclouddialogflowcxv3environment *GoogleCloudDialogflowCxV3Environment) *ProjectsLocationsAgentsEnvironmentsPatchCall { + c := &ProjectsLocationsAgentsEnvironmentsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name + c.googleclouddialogflowcxv3environment = googleclouddialogflowcxv3environment return c } -// LanguageCode sets the optional parameter "languageCode": The language -// of the following fields in `entity_type`: * -// `EntityType.entities.value` * `EntityType.entities.synonyms` * -// `EntityType.excluded_phrases.value` If not specified, the agent's -// default language is used. [Many -// languages](https://cloud.google.com/dialogflow/docs/reference/language -// ) are supported. Note: languages must be enabled in the agent before -// they can be used. -func (c *ProjectsLocationsAgentsEntityTypesCreateCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsEntityTypesCreateCall { - c.urlParams_.Set("languageCode", languageCode) +// UpdateMask sets the optional parameter "updateMask": Required. The +// mask to control which fields get updated. +func (c *ProjectsLocationsAgentsEnvironmentsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsAgentsEnvironmentsPatchCall { + c.urlParams_.Set("updateMask", updateMask) return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsEntityTypesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEntityTypesCreateCall { +func (c *ProjectsLocationsAgentsEnvironmentsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsPatchCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -11946,57 +16993,56 @@ func (c *ProjectsLocationsAgentsEntityTypesCreateCall) Fields(s ...googleapi.Fie // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsEntityTypesCreateCall) Context(ctx context.Context) *ProjectsLocationsAgentsEntityTypesCreateCall { +func (c *ProjectsLocationsAgentsEnvironmentsPatchCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsPatchCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsEntityTypesCreateCall) Header() http.Header { +func (c *ProjectsLocationsAgentsEnvironmentsPatchCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsEntityTypesCreateCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsEnvironmentsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } reqHeaders.Set("User-Agent", c.s.userAgent()) var body io.Reader = nil - body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3entitytype) + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3environment) if err != nil { return nil, err } reqHeaders.Set("Content-Type", "application/json") c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+parent}/entityTypes") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}") urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("POST", urls, body) + req, err := http.NewRequest("PATCH", urls, body) if err != nil { return nil, err } req.Header = reqHeaders googleapi.Expand(req.URL, map[string]string{ - "parent": c.parent, + "name": c.name, }) return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.entityTypes.create" call. -// Exactly one of *GoogleCloudDialogflowCxV3EntityType or error will be -// non-nil. Any non-2xx status code is an error. Response headers are in -// either *GoogleCloudDialogflowCxV3EntityType.ServerResponse.Header or -// (if a response was returned at all) in -// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check -// whether the returned error was because http.StatusNotModified was -// returned. -func (c *ProjectsLocationsAgentsEntityTypesCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3EntityType, error) { +// Do executes the "dialogflow.projects.locations.agents.environments.patch" call. +// Exactly one of *GoogleLongrunningOperation or error will be non-nil. +// Any non-2xx status code is an error. Response headers are in either +// *GoogleLongrunningOperation.ServerResponse.Header or (if a response +// was returned at all) in error.(*googleapi.Error).Header. Use +// googleapi.IsNotModified to check whether the returned error was +// because http.StatusNotModified was returned. +func (c *ProjectsLocationsAgentsEnvironmentsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -12015,7 +17061,7 @@ func (c *ProjectsLocationsAgentsEntityTypesCreateCall) Do(opts ...googleapi.Call if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleCloudDialogflowCxV3EntityType{ + ret := &GoogleLongrunningOperation{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -12027,76 +17073,72 @@ func (c *ProjectsLocationsAgentsEntityTypesCreateCall) Do(opts ...googleapi.Call } return ret, nil // { - // "description": "Creates an entity type in the specified agent.", - // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/entityTypes", - // "httpMethod": "POST", - // "id": "dialogflow.projects.locations.agents.entityTypes.create", + // "description": "Updates the specified Environment.", + // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}", + // "httpMethod": "PATCH", + // "id": "dialogflow.projects.locations.agents.environments.patch", // "parameterOrder": [ - // "parent" + // "name" // ], // "parameters": { - // "languageCode": { - // "description": "The language of the following fields in `entity_type`: * `EntityType.entities.value` * `EntityType.entities.synonyms` * `EntityType.excluded_phrases.value` If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", - // "location": "query", - // "type": "string" - // }, - // "parent": { - // "description": "Required. The agent to create a entity type for. Format: `projects//locations//agents/`.", + // "name": { + // "description": "The name of the environment. Format: `projects//locations//agents//environments/`.", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/environments/[^/]+$", // "required": true, // "type": "string" + // }, + // "updateMask": { + // "description": "Required. The mask to control which fields get updated.", + // "format": "google-fieldmask", + // "location": "query", + // "type": "string" // } // }, - // "path": "v3/{+parent}/entityTypes", + // "path": "v3/{+name}", // "request": { - // "$ref": "GoogleCloudDialogflowCxV3EntityType" + // "$ref": "GoogleCloudDialogflowCxV3Environment" // }, // "response": { - // "$ref": "GoogleCloudDialogflowCxV3EntityType" + // "$ref": "GoogleLongrunningOperation" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", // "https://www.googleapis.com/auth/dialogflow" // ] // } - -} - -// method id "dialogflow.projects.locations.agents.entityTypes.delete": - -type ProjectsLocationsAgentsEntityTypesDeleteCall struct { - s *Service - name string - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header + } -// Delete: Deletes the specified entity type. -func (r *ProjectsLocationsAgentsEntityTypesService) Delete(name string) *ProjectsLocationsAgentsEntityTypesDeleteCall { - c := &ProjectsLocationsAgentsEntityTypesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.name = name - return c +// method id "dialogflow.projects.locations.agents.environments.sessions.detectIntent": + +type ProjectsLocationsAgentsEnvironmentsSessionsDetectIntentCall struct { + s *Service + sessionid string + googleclouddialogflowcxv3detectintentrequest *GoogleCloudDialogflowCxV3DetectIntentRequest + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header } -// Force sets the optional parameter "force": This field has no effect -// for entity type not being used. For entity types that are used by -// intents or pages: * If `force` is set to false, an error will be -// returned with message indicating the referencing resources. * If -// `force` is set to true, Dialogflow will remove the entity type, as -// well as any references to the entity type (i.e. Page parameter of the -// entity type will be changed to '@sys.any' and intent parameter of the -// entity type will be removed). -func (c *ProjectsLocationsAgentsEntityTypesDeleteCall) Force(force bool) *ProjectsLocationsAgentsEntityTypesDeleteCall { - c.urlParams_.Set("force", fmt.Sprint(force)) +// DetectIntent: Processes a natural language query and returns +// structured, actionable data as a result. This method is not +// idempotent, because it may cause session entity types to be updated, +// which in turn might affect results of future queries. Note: Always +// use agent versions for production traffic. See [Versions and +// environments](https://cloud.google.com/dialogflow/cx/docs/concept/vers +// ion). +func (r *ProjectsLocationsAgentsEnvironmentsSessionsService) DetectIntent(sessionid string, googleclouddialogflowcxv3detectintentrequest *GoogleCloudDialogflowCxV3DetectIntentRequest) *ProjectsLocationsAgentsEnvironmentsSessionsDetectIntentCall { + c := &ProjectsLocationsAgentsEnvironmentsSessionsDetectIntentCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.sessionid = sessionid + c.googleclouddialogflowcxv3detectintentrequest = googleclouddialogflowcxv3detectintentrequest return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsEntityTypesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEntityTypesDeleteCall { +func (c *ProjectsLocationsAgentsEnvironmentsSessionsDetectIntentCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsSessionsDetectIntentCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -12104,51 +17146,58 @@ func (c *ProjectsLocationsAgentsEntityTypesDeleteCall) Fields(s ...googleapi.Fie // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsEntityTypesDeleteCall) Context(ctx context.Context) *ProjectsLocationsAgentsEntityTypesDeleteCall { +func (c *ProjectsLocationsAgentsEnvironmentsSessionsDetectIntentCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsSessionsDetectIntentCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsEntityTypesDeleteCall) Header() http.Header { +func (c *ProjectsLocationsAgentsEnvironmentsSessionsDetectIntentCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsEntityTypesDeleteCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsEnvironmentsSessionsDetectIntentCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } reqHeaders.Set("User-Agent", c.s.userAgent()) var body io.Reader = nil + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3detectintentrequest) + if err != nil { + return nil, err + } + reqHeaders.Set("Content-Type", "application/json") c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+session}:detectIntent") urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("DELETE", urls, body) + req, err := http.NewRequest("POST", urls, body) if err != nil { return nil, err } req.Header = reqHeaders googleapi.Expand(req.URL, map[string]string{ - "name": c.name, + "session": c.sessionid, }) return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.entityTypes.delete" call. -// Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any -// non-2xx status code is an error. Response headers are in either -// *GoogleProtobufEmpty.ServerResponse.Header or (if a response was -// returned at all) in error.(*googleapi.Error).Header. Use -// googleapi.IsNotModified to check whether the returned error was -// because http.StatusNotModified was returned. -func (c *ProjectsLocationsAgentsEntityTypesDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error) { +// Do executes the "dialogflow.projects.locations.agents.environments.sessions.detectIntent" call. +// Exactly one of *GoogleCloudDialogflowCxV3DetectIntentResponse or +// error will be non-nil. Any non-2xx status code is an error. Response +// headers are in either +// *GoogleCloudDialogflowCxV3DetectIntentResponse.ServerResponse.Header +// or (if a response was returned at all) in +// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check +// whether the returned error was because http.StatusNotModified was +// returned. +func (c *ProjectsLocationsAgentsEnvironmentsSessionsDetectIntentCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3DetectIntentResponse, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -12167,7 +17216,7 @@ func (c *ProjectsLocationsAgentsEntityTypesDeleteCall) Do(opts ...googleapi.Call if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleProtobufEmpty{ + ret := &GoogleCloudDialogflowCxV3DetectIntentResponse{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -12179,30 +17228,28 @@ func (c *ProjectsLocationsAgentsEntityTypesDeleteCall) Do(opts ...googleapi.Call } return ret, nil // { - // "description": "Deletes the specified entity type.", - // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/entityTypes/{entityTypesId}", - // "httpMethod": "DELETE", - // "id": "dialogflow.projects.locations.agents.entityTypes.delete", + // "description": "Processes a natural language query and returns structured, actionable data as a result. This method is not idempotent, because it may cause session entity types to be updated, which in turn might affect results of future queries. Note: Always use agent versions for production traffic. See [Versions and environments](https://cloud.google.com/dialogflow/cx/docs/concept/version).", + // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}/sessions/{sessionsId}:detectIntent", + // "httpMethod": "POST", + // "id": "dialogflow.projects.locations.agents.environments.sessions.detectIntent", // "parameterOrder": [ - // "name" + // "session" // ], // "parameters": { - // "force": { - // "description": "This field has no effect for entity type not being used. For entity types that are used by intents or pages: * If `force` is set to false, an error will be returned with message indicating the referencing resources. * If `force` is set to true, Dialogflow will remove the entity type, as well as any references to the entity type (i.e. Page parameter of the entity type will be changed to '@sys.any' and intent parameter of the entity type will be removed).", - // "location": "query", - // "type": "boolean" - // }, - // "name": { - // "description": "Required. The name of the entity type to delete. Format: `projects//locations//agents//entityTypes/`.", + // "session": { + // "description": "Required. The name of the session this query is sent to. Format: `projects//locations//agents//sessions/` or `projects//locations//agents//environments//sessions/`. If `Environment ID` is not specified, we assume default 'draft' environment. It's up to the API caller to choose an appropriate `Session ID`. It can be a random number or some type of session identifiers (preferably hashed). The length of the `Session ID` must not exceed 36 characters. For more information, see the [sessions guide](https://cloud.google.com/dialogflow/cx/docs/concept/session). Note: Always use agent versions for production traffic. See [Versions and environments](https://cloud.google.com/dialogflow/cx/docs/concept/version).", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/entityTypes/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/environments/[^/]+/sessions/[^/]+$", // "required": true, // "type": "string" // } // }, - // "path": "v3/{+name}", + // "path": "v3/{+session}:detectIntent", + // "request": { + // "$ref": "GoogleCloudDialogflowCxV3DetectIntentRequest" + // }, // "response": { - // "$ref": "GoogleProtobufEmpty" + // "$ref": "GoogleCloudDialogflowCxV3DetectIntentResponse" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -12212,107 +17259,90 @@ func (c *ProjectsLocationsAgentsEntityTypesDeleteCall) Do(opts ...googleapi.Call } -// method id "dialogflow.projects.locations.agents.entityTypes.get": - -type ProjectsLocationsAgentsEntityTypesGetCall struct { - s *Service - name string - urlParams_ gensupport.URLParams - ifNoneMatch_ string - ctx_ context.Context - header_ http.Header -} +// method id "dialogflow.projects.locations.agents.environments.sessions.fulfillIntent": -// Get: Retrieves the specified entity type. -func (r *ProjectsLocationsAgentsEntityTypesService) Get(name string) *ProjectsLocationsAgentsEntityTypesGetCall { - c := &ProjectsLocationsAgentsEntityTypesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.name = name - return c +type ProjectsLocationsAgentsEnvironmentsSessionsFulfillIntentCall struct { + s *Service + sessionid string + googleclouddialogflowcxv3fulfillintentrequest *GoogleCloudDialogflowCxV3FulfillIntentRequest + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header } -// LanguageCode sets the optional parameter "languageCode": The language -// to retrieve the entity type for. The following fields are language -// dependent: * `EntityType.entities.value` * -// `EntityType.entities.synonyms` * `EntityType.excluded_phrases.value` -// If not specified, the agent's default language is used. [Many -// languages](https://cloud.google.com/dialogflow/docs/reference/language -// ) are supported. Note: languages must be enabled in the agent before -// they can be used. -func (c *ProjectsLocationsAgentsEntityTypesGetCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsEntityTypesGetCall { - c.urlParams_.Set("languageCode", languageCode) +// FulfillIntent: Fulfills a matched intent returned by MatchIntent. +// Must be called after MatchIntent, with input from +// MatchIntentResponse. Otherwise, the behavior is undefined. +func (r *ProjectsLocationsAgentsEnvironmentsSessionsService) FulfillIntent(sessionid string, googleclouddialogflowcxv3fulfillintentrequest *GoogleCloudDialogflowCxV3FulfillIntentRequest) *ProjectsLocationsAgentsEnvironmentsSessionsFulfillIntentCall { + c := &ProjectsLocationsAgentsEnvironmentsSessionsFulfillIntentCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.sessionid = sessionid + c.googleclouddialogflowcxv3fulfillintentrequest = googleclouddialogflowcxv3fulfillintentrequest return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsEntityTypesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEntityTypesGetCall { +func (c *ProjectsLocationsAgentsEnvironmentsSessionsFulfillIntentCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsSessionsFulfillIntentCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } -// IfNoneMatch sets the optional parameter which makes the operation -// fail if the object's ETag matches the given value. This is useful for -// getting updates only after the object has changed since the last -// request. Use googleapi.IsNotModified to check whether the response -// error from Do is the result of In-None-Match. -func (c *ProjectsLocationsAgentsEntityTypesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsEntityTypesGetCall { - c.ifNoneMatch_ = entityTag - return c -} - // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsEntityTypesGetCall) Context(ctx context.Context) *ProjectsLocationsAgentsEntityTypesGetCall { +func (c *ProjectsLocationsAgentsEnvironmentsSessionsFulfillIntentCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsSessionsFulfillIntentCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsEntityTypesGetCall) Header() http.Header { +func (c *ProjectsLocationsAgentsEnvironmentsSessionsFulfillIntentCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsEntityTypesGetCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsEnvironmentsSessionsFulfillIntentCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } reqHeaders.Set("User-Agent", c.s.userAgent()) - if c.ifNoneMatch_ != "" { - reqHeaders.Set("If-None-Match", c.ifNoneMatch_) - } var body io.Reader = nil + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3fulfillintentrequest) + if err != nil { + return nil, err + } + reqHeaders.Set("Content-Type", "application/json") c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+session}:fulfillIntent") urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("GET", urls, body) + req, err := http.NewRequest("POST", urls, body) if err != nil { return nil, err } req.Header = reqHeaders googleapi.Expand(req.URL, map[string]string{ - "name": c.name, + "session": c.sessionid, }) return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.entityTypes.get" call. -// Exactly one of *GoogleCloudDialogflowCxV3EntityType or error will be -// non-nil. Any non-2xx status code is an error. Response headers are in -// either *GoogleCloudDialogflowCxV3EntityType.ServerResponse.Header or -// (if a response was returned at all) in +// Do executes the "dialogflow.projects.locations.agents.environments.sessions.fulfillIntent" call. +// Exactly one of *GoogleCloudDialogflowCxV3FulfillIntentResponse or +// error will be non-nil. Any non-2xx status code is an error. Response +// headers are in either +// *GoogleCloudDialogflowCxV3FulfillIntentResponse.ServerResponse.Header +// or (if a response was returned at all) in // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check // whether the returned error was because http.StatusNotModified was // returned. -func (c *ProjectsLocationsAgentsEntityTypesGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3EntityType, error) { +func (c *ProjectsLocationsAgentsEnvironmentsSessionsFulfillIntentCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3FulfillIntentResponse, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -12331,7 +17361,7 @@ func (c *ProjectsLocationsAgentsEntityTypesGetCall) Do(opts ...googleapi.CallOpt if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleCloudDialogflowCxV3EntityType{ + ret := &GoogleCloudDialogflowCxV3FulfillIntentResponse{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -12343,155 +17373,120 @@ func (c *ProjectsLocationsAgentsEntityTypesGetCall) Do(opts ...googleapi.CallOpt } return ret, nil // { - // "description": "Retrieves the specified entity type.", - // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/entityTypes/{entityTypesId}", - // "httpMethod": "GET", - // "id": "dialogflow.projects.locations.agents.entityTypes.get", + // "description": "Fulfills a matched intent returned by MatchIntent. Must be called after MatchIntent, with input from MatchIntentResponse. Otherwise, the behavior is undefined.", + // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}/sessions/{sessionsId}:fulfillIntent", + // "httpMethod": "POST", + // "id": "dialogflow.projects.locations.agents.environments.sessions.fulfillIntent", // "parameterOrder": [ - // "name" + // "session" // ], // "parameters": { - // "languageCode": { - // "description": "The language to retrieve the entity type for. The following fields are language dependent: * `EntityType.entities.value` * `EntityType.entities.synonyms` * `EntityType.excluded_phrases.value` If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", - // "location": "query", - // "type": "string" - // }, - // "name": { - // "description": "Required. The name of the entity type. Format: `projects//locations//agents//entityTypes/`.", + // "session": { + // "description": "Required. The name of the session this query is sent to. Format: `projects//locations//agents//sessions/` or `projects//locations//agents//environments//sessions/`. If `Environment ID` is not specified, we assume default 'draft' environment. It's up to the API caller to choose an appropriate `Session ID`. It can be a random number or some type of session identifiers (preferably hashed). The length of the `Session ID` must not exceed 36 characters. For more information, see the [sessions guide](https://cloud.google.com/dialogflow/cx/docs/concept/session).", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/entityTypes/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/environments/[^/]+/sessions/[^/]+$", // "required": true, // "type": "string" // } // }, - // "path": "v3/{+name}", - // "response": { - // "$ref": "GoogleCloudDialogflowCxV3EntityType" + // "path": "v3/{+session}:fulfillIntent", + // "request": { + // "$ref": "GoogleCloudDialogflowCxV3FulfillIntentRequest" // }, - // "scopes": [ - // "https://www.googleapis.com/auth/cloud-platform", - // "https://www.googleapis.com/auth/dialogflow" - // ] - // } - -} - -// method id "dialogflow.projects.locations.agents.entityTypes.list": - -type ProjectsLocationsAgentsEntityTypesListCall struct { - s *Service - parent string - urlParams_ gensupport.URLParams - ifNoneMatch_ string - ctx_ context.Context - header_ http.Header -} - -// List: Returns the list of all entity types in the specified agent. -func (r *ProjectsLocationsAgentsEntityTypesService) List(parent string) *ProjectsLocationsAgentsEntityTypesListCall { - c := &ProjectsLocationsAgentsEntityTypesListCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.parent = parent - return c -} - -// LanguageCode sets the optional parameter "languageCode": The language -// to list entity types for. The following fields are language -// dependent: * `EntityType.entities.value` * -// `EntityType.entities.synonyms` * `EntityType.excluded_phrases.value` -// If not specified, the agent's default language is used. [Many -// languages](https://cloud.google.com/dialogflow/docs/reference/language -// ) are supported. Note: languages must be enabled in the agent before -// they can be used. -func (c *ProjectsLocationsAgentsEntityTypesListCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsEntityTypesListCall { - c.urlParams_.Set("languageCode", languageCode) - return c + // "response": { + // "$ref": "GoogleCloudDialogflowCxV3FulfillIntentResponse" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", + // "https://www.googleapis.com/auth/dialogflow" + // ] + // } + } -// PageSize sets the optional parameter "pageSize": The maximum number -// of items to return in a single page. By default 100 and at most 1000. -func (c *ProjectsLocationsAgentsEntityTypesListCall) PageSize(pageSize int64) *ProjectsLocationsAgentsEntityTypesListCall { - c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) - return c +// method id "dialogflow.projects.locations.agents.environments.sessions.matchIntent": + +type ProjectsLocationsAgentsEnvironmentsSessionsMatchIntentCall struct { + s *Service + sessionid string + googleclouddialogflowcxv3matchintentrequest *GoogleCloudDialogflowCxV3MatchIntentRequest + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header } -// PageToken sets the optional parameter "pageToken": The -// next_page_token value returned from a previous list request. -func (c *ProjectsLocationsAgentsEntityTypesListCall) PageToken(pageToken string) *ProjectsLocationsAgentsEntityTypesListCall { - c.urlParams_.Set("pageToken", pageToken) +// MatchIntent: Returns preliminary intent match results, doesn't change +// the session status. +func (r *ProjectsLocationsAgentsEnvironmentsSessionsService) MatchIntent(sessionid string, googleclouddialogflowcxv3matchintentrequest *GoogleCloudDialogflowCxV3MatchIntentRequest) *ProjectsLocationsAgentsEnvironmentsSessionsMatchIntentCall { + c := &ProjectsLocationsAgentsEnvironmentsSessionsMatchIntentCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.sessionid = sessionid + c.googleclouddialogflowcxv3matchintentrequest = googleclouddialogflowcxv3matchintentrequest return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsEntityTypesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEntityTypesListCall { +func (c *ProjectsLocationsAgentsEnvironmentsSessionsMatchIntentCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsSessionsMatchIntentCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } -// IfNoneMatch sets the optional parameter which makes the operation -// fail if the object's ETag matches the given value. This is useful for -// getting updates only after the object has changed since the last -// request. Use googleapi.IsNotModified to check whether the response -// error from Do is the result of In-None-Match. -func (c *ProjectsLocationsAgentsEntityTypesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsEntityTypesListCall { - c.ifNoneMatch_ = entityTag - return c -} - // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsEntityTypesListCall) Context(ctx context.Context) *ProjectsLocationsAgentsEntityTypesListCall { +func (c *ProjectsLocationsAgentsEnvironmentsSessionsMatchIntentCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsSessionsMatchIntentCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsEntityTypesListCall) Header() http.Header { +func (c *ProjectsLocationsAgentsEnvironmentsSessionsMatchIntentCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsEntityTypesListCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsEnvironmentsSessionsMatchIntentCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } reqHeaders.Set("User-Agent", c.s.userAgent()) - if c.ifNoneMatch_ != "" { - reqHeaders.Set("If-None-Match", c.ifNoneMatch_) - } var body io.Reader = nil + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3matchintentrequest) + if err != nil { + return nil, err + } + reqHeaders.Set("Content-Type", "application/json") c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+parent}/entityTypes") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+session}:matchIntent") urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("GET", urls, body) + req, err := http.NewRequest("POST", urls, body) if err != nil { return nil, err } req.Header = reqHeaders googleapi.Expand(req.URL, map[string]string{ - "parent": c.parent, + "session": c.sessionid, }) return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.entityTypes.list" call. -// Exactly one of *GoogleCloudDialogflowCxV3ListEntityTypesResponse or -// error will be non-nil. Any non-2xx status code is an error. Response +// Do executes the "dialogflow.projects.locations.agents.environments.sessions.matchIntent" call. +// Exactly one of *GoogleCloudDialogflowCxV3MatchIntentResponse or error +// will be non-nil. Any non-2xx status code is an error. Response // headers are in either -// *GoogleCloudDialogflowCxV3ListEntityTypesResponse.ServerResponse.Heade -// r or (if a response was returned at all) in +// *GoogleCloudDialogflowCxV3MatchIntentResponse.ServerResponse.Header +// or (if a response was returned at all) in // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check // whether the returned error was because http.StatusNotModified was // returned. -func (c *ProjectsLocationsAgentsEntityTypesListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3ListEntityTypesResponse, error) { +func (c *ProjectsLocationsAgentsEnvironmentsSessionsMatchIntentCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3MatchIntentResponse, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -12510,7 +17505,7 @@ func (c *ProjectsLocationsAgentsEntityTypesListCall) Do(opts ...googleapi.CallOp if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleCloudDialogflowCxV3ListEntityTypesResponse{ + ret := &GoogleCloudDialogflowCxV3MatchIntentResponse{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -12522,41 +17517,28 @@ func (c *ProjectsLocationsAgentsEntityTypesListCall) Do(opts ...googleapi.CallOp } return ret, nil // { - // "description": "Returns the list of all entity types in the specified agent.", - // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/entityTypes", - // "httpMethod": "GET", - // "id": "dialogflow.projects.locations.agents.entityTypes.list", + // "description": "Returns preliminary intent match results, doesn't change the session status.", + // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}/sessions/{sessionsId}:matchIntent", + // "httpMethod": "POST", + // "id": "dialogflow.projects.locations.agents.environments.sessions.matchIntent", // "parameterOrder": [ - // "parent" + // "session" // ], // "parameters": { - // "languageCode": { - // "description": "The language to list entity types for. The following fields are language dependent: * `EntityType.entities.value` * `EntityType.entities.synonyms` * `EntityType.excluded_phrases.value` If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", - // "location": "query", - // "type": "string" - // }, - // "pageSize": { - // "description": "The maximum number of items to return in a single page. By default 100 and at most 1000.", - // "format": "int32", - // "location": "query", - // "type": "integer" - // }, - // "pageToken": { - // "description": "The next_page_token value returned from a previous list request.", - // "location": "query", - // "type": "string" - // }, - // "parent": { - // "description": "Required. The agent to list all entity types for. Format: `projects//locations//agents/`.", + // "session": { + // "description": "Required. The name of the session this query is sent to. Format: `projects//locations//agents//sessions/` or `projects//locations//agents//environments//sessions/`. If `Environment ID` is not specified, we assume default 'draft' environment. It's up to the API caller to choose an appropriate `Session ID`. It can be a random number or some type of session identifiers (preferably hashed). The length of the `Session ID` must not exceed 36 characters. For more information, see the [sessions guide](https://cloud.google.com/dialogflow/cx/docs/concept/session).", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/environments/[^/]+/sessions/[^/]+$", // "required": true, // "type": "string" // } // }, - // "path": "v3/{+parent}/entityTypes", + // "path": "v3/{+session}:matchIntent", + // "request": { + // "$ref": "GoogleCloudDialogflowCxV3MatchIntentRequest" + // }, // "response": { - // "$ref": "GoogleCloudDialogflowCxV3ListEntityTypesResponse" + // "$ref": "GoogleCloudDialogflowCxV3MatchIntentResponse" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -12566,70 +17548,30 @@ func (c *ProjectsLocationsAgentsEntityTypesListCall) Do(opts ...googleapi.CallOp } -// Pages invokes f for each page of results. -// A non-nil error returned from f will halt the iteration. -// The provided context supersedes any context provided to the Context method. -func (c *ProjectsLocationsAgentsEntityTypesListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowCxV3ListEntityTypesResponse) error) error { - c.ctx_ = ctx - defer c.PageToken(c.urlParams_.Get("pageToken")) // reset paging to original point - for { - x, err := c.Do() - if err != nil { - return err - } - if err := f(x); err != nil { - return err - } - if x.NextPageToken == "" { - return nil - } - c.PageToken(x.NextPageToken) - } -} - -// method id "dialogflow.projects.locations.agents.entityTypes.patch": - -type ProjectsLocationsAgentsEntityTypesPatchCall struct { - s *Service - nameid string - googleclouddialogflowcxv3entitytype *GoogleCloudDialogflowCxV3EntityType - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header -} - -// Patch: Updates the specified entity type. -func (r *ProjectsLocationsAgentsEntityTypesService) Patch(nameid string, googleclouddialogflowcxv3entitytype *GoogleCloudDialogflowCxV3EntityType) *ProjectsLocationsAgentsEntityTypesPatchCall { - c := &ProjectsLocationsAgentsEntityTypesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.nameid = nameid - c.googleclouddialogflowcxv3entitytype = googleclouddialogflowcxv3entitytype - return c -} +// method id "dialogflow.projects.locations.agents.environments.sessions.entityTypes.create": -// LanguageCode sets the optional parameter "languageCode": The language -// of the following fields in `entity_type`: * -// `EntityType.entities.value` * `EntityType.entities.synonyms` * -// `EntityType.excluded_phrases.value` If not specified, the agent's -// default language is used. [Many -// languages](https://cloud.google.com/dialogflow/docs/reference/language -// ) are supported. Note: languages must be enabled in the agent before -// they can be used. -func (c *ProjectsLocationsAgentsEntityTypesPatchCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsEntityTypesPatchCall { - c.urlParams_.Set("languageCode", languageCode) - return c +type ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesCreateCall struct { + s *Service + parent string + googleclouddialogflowcxv3sessionentitytype *GoogleCloudDialogflowCxV3SessionEntityType + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header } -// UpdateMask sets the optional parameter "updateMask": The mask to -// control which fields get updated. -func (c *ProjectsLocationsAgentsEntityTypesPatchCall) UpdateMask(updateMask string) *ProjectsLocationsAgentsEntityTypesPatchCall { - c.urlParams_.Set("updateMask", updateMask) +// Create: Creates a session entity type. If the specified session +// entity type already exists, overrides the session entity type. +func (r *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesService) Create(parent string, googleclouddialogflowcxv3sessionentitytype *GoogleCloudDialogflowCxV3SessionEntityType) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesCreateCall { + c := &ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.parent = parent + c.googleclouddialogflowcxv3sessionentitytype = googleclouddialogflowcxv3sessionentitytype return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsEntityTypesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEntityTypesPatchCall { +func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesCreateCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -12637,57 +17579,58 @@ func (c *ProjectsLocationsAgentsEntityTypesPatchCall) Fields(s ...googleapi.Fiel // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsEntityTypesPatchCall) Context(ctx context.Context) *ProjectsLocationsAgentsEntityTypesPatchCall { +func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesCreateCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesCreateCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsEntityTypesPatchCall) Header() http.Header { +func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesCreateCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsEntityTypesPatchCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } reqHeaders.Set("User-Agent", c.s.userAgent()) var body io.Reader = nil - body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3entitytype) + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3sessionentitytype) if err != nil { return nil, err } reqHeaders.Set("Content-Type", "application/json") c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+parent}/entityTypes") urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("PATCH", urls, body) + req, err := http.NewRequest("POST", urls, body) if err != nil { return nil, err } req.Header = reqHeaders googleapi.Expand(req.URL, map[string]string{ - "name": c.nameid, + "parent": c.parent, }) return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.entityTypes.patch" call. -// Exactly one of *GoogleCloudDialogflowCxV3EntityType or error will be -// non-nil. Any non-2xx status code is an error. Response headers are in -// either *GoogleCloudDialogflowCxV3EntityType.ServerResponse.Header or +// Do executes the "dialogflow.projects.locations.agents.environments.sessions.entityTypes.create" call. +// Exactly one of *GoogleCloudDialogflowCxV3SessionEntityType or error +// will be non-nil. Any non-2xx status code is an error. Response +// headers are in either +// *GoogleCloudDialogflowCxV3SessionEntityType.ServerResponse.Header or // (if a response was returned at all) in // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check // whether the returned error was because http.StatusNotModified was // returned. -func (c *ProjectsLocationsAgentsEntityTypesPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3EntityType, error) { +func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3SessionEntityType, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -12706,7 +17649,7 @@ func (c *ProjectsLocationsAgentsEntityTypesPatchCall) Do(opts ...googleapi.CallO if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleCloudDialogflowCxV3EntityType{ + ret := &GoogleCloudDialogflowCxV3SessionEntityType{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -12718,39 +17661,28 @@ func (c *ProjectsLocationsAgentsEntityTypesPatchCall) Do(opts ...googleapi.CallO } return ret, nil // { - // "description": "Updates the specified entity type.", - // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/entityTypes/{entityTypesId}", - // "httpMethod": "PATCH", - // "id": "dialogflow.projects.locations.agents.entityTypes.patch", + // "description": "Creates a session entity type. If the specified session entity type already exists, overrides the session entity type.", + // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}/sessions/{sessionsId}/entityTypes", + // "httpMethod": "POST", + // "id": "dialogflow.projects.locations.agents.environments.sessions.entityTypes.create", // "parameterOrder": [ - // "name" + // "parent" // ], // "parameters": { - // "languageCode": { - // "description": "The language of the following fields in `entity_type`: * `EntityType.entities.value` * `EntityType.entities.synonyms` * `EntityType.excluded_phrases.value` If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", - // "location": "query", - // "type": "string" - // }, - // "name": { - // "description": "The unique identifier of the entity type. Required for EntityTypes.UpdateEntityType. Format: `projects//locations//agents//entityTypes/`.", + // "parent": { + // "description": "Required. The session to create a session entity type for. Format: `projects//locations//agents//sessions/` or `projects//locations//agents//environments//sessions/`. If `Environment ID` is not specified, we assume default 'draft' environment.", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/entityTypes/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/environments/[^/]+/sessions/[^/]+$", // "required": true, // "type": "string" - // }, - // "updateMask": { - // "description": "The mask to control which fields get updated.", - // "format": "google-fieldmask", - // "location": "query", - // "type": "string" // } // }, - // "path": "v3/{+name}", + // "path": "v3/{+parent}/entityTypes", // "request": { - // "$ref": "GoogleCloudDialogflowCxV3EntityType" + // "$ref": "GoogleCloudDialogflowCxV3SessionEntityType" // }, // "response": { - // "$ref": "GoogleCloudDialogflowCxV3EntityType" + // "$ref": "GoogleCloudDialogflowCxV3SessionEntityType" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -12760,29 +17692,27 @@ func (c *ProjectsLocationsAgentsEntityTypesPatchCall) Do(opts ...googleapi.CallO } -// method id "dialogflow.projects.locations.agents.environments.create": - -type ProjectsLocationsAgentsEnvironmentsCreateCall struct { - s *Service - parent string - googleclouddialogflowcxv3environment *GoogleCloudDialogflowCxV3Environment - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header +// method id "dialogflow.projects.locations.agents.environments.sessions.entityTypes.delete": + +type ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesDeleteCall struct { + s *Service + name string + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header } -// Create: Creates an Environment in the specified Agent. -func (r *ProjectsLocationsAgentsEnvironmentsService) Create(parent string, googleclouddialogflowcxv3environment *GoogleCloudDialogflowCxV3Environment) *ProjectsLocationsAgentsEnvironmentsCreateCall { - c := &ProjectsLocationsAgentsEnvironmentsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.parent = parent - c.googleclouddialogflowcxv3environment = googleclouddialogflowcxv3environment +// Delete: Deletes the specified session entity type. +func (r *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesService) Delete(name string) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesDeleteCall { + c := &ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsEnvironmentsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsCreateCall { +func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesDeleteCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -12790,56 +17720,51 @@ func (c *ProjectsLocationsAgentsEnvironmentsCreateCall) Fields(s ...googleapi.Fi // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsEnvironmentsCreateCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsCreateCall { +func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesDeleteCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesDeleteCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsEnvironmentsCreateCall) Header() http.Header { +func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesDeleteCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsEnvironmentsCreateCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } reqHeaders.Set("User-Agent", c.s.userAgent()) var body io.Reader = nil - body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3environment) - if err != nil { - return nil, err - } - reqHeaders.Set("Content-Type", "application/json") c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+parent}/environments") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}") urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("POST", urls, body) + req, err := http.NewRequest("DELETE", urls, body) if err != nil { return nil, err } req.Header = reqHeaders googleapi.Expand(req.URL, map[string]string{ - "parent": c.parent, + "name": c.name, }) return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.environments.create" call. -// Exactly one of *GoogleLongrunningOperation or error will be non-nil. -// Any non-2xx status code is an error. Response headers are in either -// *GoogleLongrunningOperation.ServerResponse.Header or (if a response -// was returned at all) in error.(*googleapi.Error).Header. Use +// Do executes the "dialogflow.projects.locations.agents.environments.sessions.entityTypes.delete" call. +// Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any +// non-2xx status code is an error. Response headers are in either +// *GoogleProtobufEmpty.ServerResponse.Header or (if a response was +// returned at all) in error.(*googleapi.Error).Header. Use // googleapi.IsNotModified to check whether the returned error was // because http.StatusNotModified was returned. -func (c *ProjectsLocationsAgentsEnvironmentsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error) { +func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -12858,7 +17783,7 @@ func (c *ProjectsLocationsAgentsEnvironmentsCreateCall) Do(opts ...googleapi.Cal if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleLongrunningOperation{ + ret := &GoogleProtobufEmpty{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -12870,28 +17795,25 @@ func (c *ProjectsLocationsAgentsEnvironmentsCreateCall) Do(opts ...googleapi.Cal } return ret, nil // { - // "description": "Creates an Environment in the specified Agent.", - // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments", - // "httpMethod": "POST", - // "id": "dialogflow.projects.locations.agents.environments.create", + // "description": "Deletes the specified session entity type.", + // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}/sessions/{sessionsId}/entityTypes/{entityTypesId}", + // "httpMethod": "DELETE", + // "id": "dialogflow.projects.locations.agents.environments.sessions.entityTypes.delete", // "parameterOrder": [ - // "parent" + // "name" // ], // "parameters": { - // "parent": { - // "description": "Required. The Agent to create an Environment for. Format: `projects//locations//agents/`.", + // "name": { + // "description": "Required. The name of the session entity type to delete. Format: `projects//locations//agents//sessions//entityTypes/` or `projects//locations//agents//environments//sessions//entityTypes/`. If `Environment ID` is not specified, we assume default 'draft' environment.", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/environments/[^/]+/sessions/[^/]+/entityTypes/[^/]+$", // "required": true, // "type": "string" // } // }, - // "path": "v3/{+parent}/environments", - // "request": { - // "$ref": "GoogleCloudDialogflowCxV3Environment" - // }, + // "path": "v3/{+name}", // "response": { - // "$ref": "GoogleLongrunningOperation" + // "$ref": "GoogleProtobufEmpty" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -12901,19 +17823,20 @@ func (c *ProjectsLocationsAgentsEnvironmentsCreateCall) Do(opts ...googleapi.Cal } -// method id "dialogflow.projects.locations.agents.environments.delete": +// method id "dialogflow.projects.locations.agents.environments.sessions.entityTypes.get": -type ProjectsLocationsAgentsEnvironmentsDeleteCall struct { - s *Service - name string - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header +type ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesGetCall struct { + s *Service + name string + urlParams_ gensupport.URLParams + ifNoneMatch_ string + ctx_ context.Context + header_ http.Header } -// Delete: Deletes the specified Environment. -func (r *ProjectsLocationsAgentsEnvironmentsService) Delete(name string) *ProjectsLocationsAgentsEnvironmentsDeleteCall { - c := &ProjectsLocationsAgentsEnvironmentsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)} +// Get: Retrieves the specified session entity type. +func (r *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesService) Get(name string) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesGetCall { + c := &ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name return c } @@ -12921,41 +17844,54 @@ func (r *ProjectsLocationsAgentsEnvironmentsService) Delete(name string) *Projec // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsEnvironmentsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsDeleteCall { +func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesGetCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } +// IfNoneMatch sets the optional parameter which makes the operation +// fail if the object's ETag matches the given value. This is useful for +// getting updates only after the object has changed since the last +// request. Use googleapi.IsNotModified to check whether the response +// error from Do is the result of In-None-Match. +func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesGetCall { + c.ifNoneMatch_ = entityTag + return c +} + // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsEnvironmentsDeleteCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsDeleteCall { +func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesGetCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesGetCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsEnvironmentsDeleteCall) Header() http.Header { +func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesGetCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsEnvironmentsDeleteCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } reqHeaders.Set("User-Agent", c.s.userAgent()) + if c.ifNoneMatch_ != "" { + reqHeaders.Set("If-None-Match", c.ifNoneMatch_) + } var body io.Reader = nil c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}") urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("DELETE", urls, body) + req, err := http.NewRequest("GET", urls, body) if err != nil { return nil, err } @@ -12966,14 +17902,16 @@ func (c *ProjectsLocationsAgentsEnvironmentsDeleteCall) doRequest(alt string) (* return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.environments.delete" call. -// Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any -// non-2xx status code is an error. Response headers are in either -// *GoogleProtobufEmpty.ServerResponse.Header or (if a response was -// returned at all) in error.(*googleapi.Error).Header. Use -// googleapi.IsNotModified to check whether the returned error was -// because http.StatusNotModified was returned. -func (c *ProjectsLocationsAgentsEnvironmentsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error) { +// Do executes the "dialogflow.projects.locations.agents.environments.sessions.entityTypes.get" call. +// Exactly one of *GoogleCloudDialogflowCxV3SessionEntityType or error +// will be non-nil. Any non-2xx status code is an error. Response +// headers are in either +// *GoogleCloudDialogflowCxV3SessionEntityType.ServerResponse.Header or +// (if a response was returned at all) in +// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check +// whether the returned error was because http.StatusNotModified was +// returned. +func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3SessionEntityType, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -12992,7 +17930,7 @@ func (c *ProjectsLocationsAgentsEnvironmentsDeleteCall) Do(opts ...googleapi.Cal if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleProtobufEmpty{ + ret := &GoogleCloudDialogflowCxV3SessionEntityType{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -13004,25 +17942,25 @@ func (c *ProjectsLocationsAgentsEnvironmentsDeleteCall) Do(opts ...googleapi.Cal } return ret, nil // { - // "description": "Deletes the specified Environment.", - // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}", - // "httpMethod": "DELETE", - // "id": "dialogflow.projects.locations.agents.environments.delete", + // "description": "Retrieves the specified session entity type.", + // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}/sessions/{sessionsId}/entityTypes/{entityTypesId}", + // "httpMethod": "GET", + // "id": "dialogflow.projects.locations.agents.environments.sessions.entityTypes.get", // "parameterOrder": [ // "name" // ], // "parameters": { // "name": { - // "description": "Required. The name of the Environment to delete. Format: `projects//locations//agents//environments/`.", + // "description": "Required. The name of the session entity type. Format: `projects//locations//agents//sessions//entityTypes/` or `projects//locations//agents//environments//sessions//entityTypes/`. If `Environment ID` is not specified, we assume default 'draft' environment.", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/environments/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/environments/[^/]+/sessions/[^/]+/entityTypes/[^/]+$", // "required": true, // "type": "string" // } // }, // "path": "v3/{+name}", // "response": { - // "$ref": "GoogleProtobufEmpty" + // "$ref": "GoogleCloudDialogflowCxV3SessionEntityType" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -13032,28 +17970,43 @@ func (c *ProjectsLocationsAgentsEnvironmentsDeleteCall) Do(opts ...googleapi.Cal } -// method id "dialogflow.projects.locations.agents.environments.get": +// method id "dialogflow.projects.locations.agents.environments.sessions.entityTypes.list": -type ProjectsLocationsAgentsEnvironmentsGetCall struct { +type ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall struct { s *Service - name string + parent string urlParams_ gensupport.URLParams ifNoneMatch_ string ctx_ context.Context header_ http.Header } -// Get: Retrieves the specified Environment. -func (r *ProjectsLocationsAgentsEnvironmentsService) Get(name string) *ProjectsLocationsAgentsEnvironmentsGetCall { - c := &ProjectsLocationsAgentsEnvironmentsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.name = name +// List: Returns the list of all session entity types in the specified +// session. +func (r *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesService) List(parent string) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall { + c := &ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.parent = parent + return c +} + +// PageSize sets the optional parameter "pageSize": The maximum number +// of items to return in a single page. By default 100 and at most 1000. +func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall) PageSize(pageSize int64) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall { + c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) + return c +} + +// PageToken sets the optional parameter "pageToken": The +// next_page_token value returned from a previous list request. +func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall) PageToken(pageToken string) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall { + c.urlParams_.Set("pageToken", pageToken) return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsEnvironmentsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsGetCall { +func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -13063,7 +18016,7 @@ func (c *ProjectsLocationsAgentsEnvironmentsGetCall) Fields(s ...googleapi.Field // getting updates only after the object has changed since the last // request. Use googleapi.IsNotModified to check whether the response // error from Do is the result of In-None-Match. -func (c *ProjectsLocationsAgentsEnvironmentsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsEnvironmentsGetCall { +func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall { c.ifNoneMatch_ = entityTag return c } @@ -13071,23 +18024,23 @@ func (c *ProjectsLocationsAgentsEnvironmentsGetCall) IfNoneMatch(entityTag strin // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsEnvironmentsGetCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsGetCall { +func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsEnvironmentsGetCall) Header() http.Header { +func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsEnvironmentsGetCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13098,7 +18051,7 @@ func (c *ProjectsLocationsAgentsEnvironmentsGetCall) doRequest(alt string) (*htt var body io.Reader = nil c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+parent}/entityTypes") urls += "?" + c.urlParams_.Encode() req, err := http.NewRequest("GET", urls, body) if err != nil { @@ -13106,20 +18059,22 @@ func (c *ProjectsLocationsAgentsEnvironmentsGetCall) doRequest(alt string) (*htt } req.Header = reqHeaders googleapi.Expand(req.URL, map[string]string{ - "name": c.name, + "parent": c.parent, }) return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.environments.get" call. -// Exactly one of *GoogleCloudDialogflowCxV3Environment or error will be -// non-nil. Any non-2xx status code is an error. Response headers are in -// either *GoogleCloudDialogflowCxV3Environment.ServerResponse.Header or -// (if a response was returned at all) in +// Do executes the "dialogflow.projects.locations.agents.environments.sessions.entityTypes.list" call. +// Exactly one of +// *GoogleCloudDialogflowCxV3ListSessionEntityTypesResponse or error +// will be non-nil. Any non-2xx status code is an error. Response +// headers are in either +// *GoogleCloudDialogflowCxV3ListSessionEntityTypesResponse.ServerRespons +// e.Header or (if a response was returned at all) in // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check // whether the returned error was because http.StatusNotModified was // returned. -func (c *ProjectsLocationsAgentsEnvironmentsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3Environment, error) { +func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3ListSessionEntityTypesResponse, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -13138,7 +18093,7 @@ func (c *ProjectsLocationsAgentsEnvironmentsGetCall) Do(opts ...googleapi.CallOp if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleCloudDialogflowCxV3Environment{ + ret := &GoogleCloudDialogflowCxV3ListSessionEntityTypesResponse{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -13150,25 +18105,36 @@ func (c *ProjectsLocationsAgentsEnvironmentsGetCall) Do(opts ...googleapi.CallOp } return ret, nil // { - // "description": "Retrieves the specified Environment.", - // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}", + // "description": "Returns the list of all session entity types in the specified session.", + // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}/sessions/{sessionsId}/entityTypes", // "httpMethod": "GET", - // "id": "dialogflow.projects.locations.agents.environments.get", + // "id": "dialogflow.projects.locations.agents.environments.sessions.entityTypes.list", // "parameterOrder": [ - // "name" + // "parent" // ], // "parameters": { - // "name": { - // "description": "Required. The name of the Environment. Format: `projects//locations//agents//environments/`.", + // "pageSize": { + // "description": "The maximum number of items to return in a single page. By default 100 and at most 1000.", + // "format": "int32", + // "location": "query", + // "type": "integer" + // }, + // "pageToken": { + // "description": "The next_page_token value returned from a previous list request.", + // "location": "query", + // "type": "string" + // }, + // "parent": { + // "description": "Required. The session to list all session entity types from. Format: `projects//locations//agents//sessions/` or `projects//locations//agents//environments//sessions/`. If `Environment ID` is not specified, we assume default 'draft' environment.", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/environments/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/environments/[^/]+/sessions/[^/]+$", // "required": true, // "type": "string" // } // }, - // "path": "v3/{+name}", + // "path": "v3/{+parent}/entityTypes", // "response": { - // "$ref": "GoogleCloudDialogflowCxV3Environment" + // "$ref": "GoogleCloudDialogflowCxV3ListSessionEntityTypesResponse" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -13178,109 +18144,116 @@ func (c *ProjectsLocationsAgentsEnvironmentsGetCall) Do(opts ...googleapi.CallOp } -// method id "dialogflow.projects.locations.agents.environments.list": - -type ProjectsLocationsAgentsEnvironmentsListCall struct { - s *Service - parent string - urlParams_ gensupport.URLParams - ifNoneMatch_ string - ctx_ context.Context - header_ http.Header -} +// Pages invokes f for each page of results. +// A non-nil error returned from f will halt the iteration. +// The provided context supersedes any context provided to the Context method. +func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowCxV3ListSessionEntityTypesResponse) error) error { + c.ctx_ = ctx + defer c.PageToken(c.urlParams_.Get("pageToken")) // reset paging to original point + for { + x, err := c.Do() + if err != nil { + return err + } + if err := f(x); err != nil { + return err + } + if x.NextPageToken == "" { + return nil + } + c.PageToken(x.NextPageToken) + } +} + +// method id "dialogflow.projects.locations.agents.environments.sessions.entityTypes.patch": -// List: Returns the list of all environments in the specified Agent. -func (r *ProjectsLocationsAgentsEnvironmentsService) List(parent string) *ProjectsLocationsAgentsEnvironmentsListCall { - c := &ProjectsLocationsAgentsEnvironmentsListCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.parent = parent - return c +type ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesPatchCall struct { + s *Service + nameid string + googleclouddialogflowcxv3sessionentitytype *GoogleCloudDialogflowCxV3SessionEntityType + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header } -// PageSize sets the optional parameter "pageSize": The maximum number -// of items to return in a single page. By default 20 and at most 100. -func (c *ProjectsLocationsAgentsEnvironmentsListCall) PageSize(pageSize int64) *ProjectsLocationsAgentsEnvironmentsListCall { - c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) +// Patch: Updates the specified session entity type. +func (r *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesService) Patch(nameid string, googleclouddialogflowcxv3sessionentitytype *GoogleCloudDialogflowCxV3SessionEntityType) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesPatchCall { + c := &ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.nameid = nameid + c.googleclouddialogflowcxv3sessionentitytype = googleclouddialogflowcxv3sessionentitytype return c } -// PageToken sets the optional parameter "pageToken": The -// next_page_token value returned from a previous list request. -func (c *ProjectsLocationsAgentsEnvironmentsListCall) PageToken(pageToken string) *ProjectsLocationsAgentsEnvironmentsListCall { - c.urlParams_.Set("pageToken", pageToken) +// UpdateMask sets the optional parameter "updateMask": The mask to +// control which fields get updated. +func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesPatchCall) UpdateMask(updateMask string) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesPatchCall { + c.urlParams_.Set("updateMask", updateMask) return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsEnvironmentsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsListCall { +func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesPatchCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } -// IfNoneMatch sets the optional parameter which makes the operation -// fail if the object's ETag matches the given value. This is useful for -// getting updates only after the object has changed since the last -// request. Use googleapi.IsNotModified to check whether the response -// error from Do is the result of In-None-Match. -func (c *ProjectsLocationsAgentsEnvironmentsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsEnvironmentsListCall { - c.ifNoneMatch_ = entityTag - return c -} - // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsEnvironmentsListCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsListCall { +func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesPatchCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesPatchCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsEnvironmentsListCall) Header() http.Header { +func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesPatchCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsEnvironmentsListCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } reqHeaders.Set("User-Agent", c.s.userAgent()) - if c.ifNoneMatch_ != "" { - reqHeaders.Set("If-None-Match", c.ifNoneMatch_) - } var body io.Reader = nil + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3sessionentitytype) + if err != nil { + return nil, err + } + reqHeaders.Set("Content-Type", "application/json") c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+parent}/environments") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}") urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("GET", urls, body) + req, err := http.NewRequest("PATCH", urls, body) if err != nil { return nil, err } req.Header = reqHeaders googleapi.Expand(req.URL, map[string]string{ - "parent": c.parent, + "name": c.nameid, }) return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.environments.list" call. -// Exactly one of *GoogleCloudDialogflowCxV3ListEnvironmentsResponse or -// error will be non-nil. Any non-2xx status code is an error. Response +// Do executes the "dialogflow.projects.locations.agents.environments.sessions.entityTypes.patch" call. +// Exactly one of *GoogleCloudDialogflowCxV3SessionEntityType or error +// will be non-nil. Any non-2xx status code is an error. Response // headers are in either -// *GoogleCloudDialogflowCxV3ListEnvironmentsResponse.ServerResponse.Head -// er or (if a response was returned at all) in +// *GoogleCloudDialogflowCxV3SessionEntityType.ServerResponse.Header or +// (if a response was returned at all) in // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check // whether the returned error was because http.StatusNotModified was // returned. -func (c *ProjectsLocationsAgentsEnvironmentsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3ListEnvironmentsResponse, error) { +func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3SessionEntityType, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -13299,7 +18272,7 @@ func (c *ProjectsLocationsAgentsEnvironmentsListCall) Do(opts ...googleapi.CallO if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleCloudDialogflowCxV3ListEnvironmentsResponse{ + ret := &GoogleCloudDialogflowCxV3SessionEntityType{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -13311,36 +18284,34 @@ func (c *ProjectsLocationsAgentsEnvironmentsListCall) Do(opts ...googleapi.CallO } return ret, nil // { - // "description": "Returns the list of all environments in the specified Agent.", - // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments", - // "httpMethod": "GET", - // "id": "dialogflow.projects.locations.agents.environments.list", + // "description": "Updates the specified session entity type.", + // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}/sessions/{sessionsId}/entityTypes/{entityTypesId}", + // "httpMethod": "PATCH", + // "id": "dialogflow.projects.locations.agents.environments.sessions.entityTypes.patch", // "parameterOrder": [ - // "parent" + // "name" // ], // "parameters": { - // "pageSize": { - // "description": "The maximum number of items to return in a single page. By default 20 and at most 100.", - // "format": "int32", - // "location": "query", - // "type": "integer" - // }, - // "pageToken": { - // "description": "The next_page_token value returned from a previous list request.", - // "location": "query", - // "type": "string" - // }, - // "parent": { - // "description": "Required. The Agent to list all environments for. Format: `projects//locations//agents/`.", + // "name": { + // "description": "Required. The unique identifier of the session entity type. Format: `projects//locations//agents//sessions//entityTypes/` or `projects//locations//agents//environments//sessions//entityTypes/`. If `Environment ID` is not specified, we assume default 'draft' environment.", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/environments/[^/]+/sessions/[^/]+/entityTypes/[^/]+$", // "required": true, // "type": "string" + // }, + // "updateMask": { + // "description": "The mask to control which fields get updated.", + // "format": "google-fieldmask", + // "location": "query", + // "type": "string" // } // }, - // "path": "v3/{+parent}/environments", + // "path": "v3/{+name}", + // "request": { + // "$ref": "GoogleCloudDialogflowCxV3SessionEntityType" + // }, // "response": { - // "$ref": "GoogleCloudDialogflowCxV3ListEnvironmentsResponse" + // "$ref": "GoogleCloudDialogflowCxV3SessionEntityType" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -13350,132 +18321,99 @@ func (c *ProjectsLocationsAgentsEnvironmentsListCall) Do(opts ...googleapi.CallO } -// Pages invokes f for each page of results. -// A non-nil error returned from f will halt the iteration. -// The provided context supersedes any context provided to the Context method. -func (c *ProjectsLocationsAgentsEnvironmentsListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowCxV3ListEnvironmentsResponse) error) error { - c.ctx_ = ctx - defer c.PageToken(c.urlParams_.Get("pageToken")) // reset paging to original point - for { - x, err := c.Do() - if err != nil { - return err - } - if err := f(x); err != nil { - return err - } - if x.NextPageToken == "" { - return nil - } - c.PageToken(x.NextPageToken) - } -} - -// method id "dialogflow.projects.locations.agents.environments.lookupEnvironmentHistory": - -type ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall struct { - s *Service - name string - urlParams_ gensupport.URLParams - ifNoneMatch_ string - ctx_ context.Context - header_ http.Header -} +// method id "dialogflow.projects.locations.agents.flows.create": -// LookupEnvironmentHistory: Looks up the history of the specified -// Environment. -func (r *ProjectsLocationsAgentsEnvironmentsService) LookupEnvironmentHistory(name string) *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall { - c := &ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.name = name - return c +type ProjectsLocationsAgentsFlowsCreateCall struct { + s *Service + parent string + googleclouddialogflowcxv3flow *GoogleCloudDialogflowCxV3Flow + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header } -// PageSize sets the optional parameter "pageSize": The maximum number -// of items to return in a single page. By default 100 and at most 1000. -func (c *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall) PageSize(pageSize int64) *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall { - c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) +// Create: Creates a flow in the specified agent. +func (r *ProjectsLocationsAgentsFlowsService) Create(parent string, googleclouddialogflowcxv3flow *GoogleCloudDialogflowCxV3Flow) *ProjectsLocationsAgentsFlowsCreateCall { + c := &ProjectsLocationsAgentsFlowsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.parent = parent + c.googleclouddialogflowcxv3flow = googleclouddialogflowcxv3flow return c } -// PageToken sets the optional parameter "pageToken": The -// next_page_token value returned from a previous list request. -func (c *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall) PageToken(pageToken string) *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall { - c.urlParams_.Set("pageToken", pageToken) +// LanguageCode sets the optional parameter "languageCode": The language +// of the following fields in `flow`: * +// `Flow.event_handlers.trigger_fulfillment.messages` * +// `Flow.transition_routes.trigger_fulfillment.messages` If not +// specified, the agent's default language is used. [Many +// languages](https://cloud.google.com/dialogflow/docs/reference/language +// ) are supported. Note: languages must be enabled in the agent before +// they can be used. +func (c *ProjectsLocationsAgentsFlowsCreateCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsFlowsCreateCall { + c.urlParams_.Set("languageCode", languageCode) return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall { +func (c *ProjectsLocationsAgentsFlowsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsCreateCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } -// IfNoneMatch sets the optional parameter which makes the operation -// fail if the object's ETag matches the given value. This is useful for -// getting updates only after the object has changed since the last -// request. Use googleapi.IsNotModified to check whether the response -// error from Do is the result of In-None-Match. -func (c *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall { - c.ifNoneMatch_ = entityTag - return c -} - // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall { +func (c *ProjectsLocationsAgentsFlowsCreateCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsCreateCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall) Header() http.Header { +func (c *ProjectsLocationsAgentsFlowsCreateCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsFlowsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } reqHeaders.Set("User-Agent", c.s.userAgent()) - if c.ifNoneMatch_ != "" { - reqHeaders.Set("If-None-Match", c.ifNoneMatch_) - } var body io.Reader = nil + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3flow) + if err != nil { + return nil, err + } + reqHeaders.Set("Content-Type", "application/json") c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}:lookupEnvironmentHistory") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+parent}/flows") urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("GET", urls, body) + req, err := http.NewRequest("POST", urls, body) if err != nil { return nil, err } req.Header = reqHeaders googleapi.Expand(req.URL, map[string]string{ - "name": c.name, + "parent": c.parent, }) return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.environments.lookupEnvironmentHistory" call. -// Exactly one of -// *GoogleCloudDialogflowCxV3LookupEnvironmentHistoryResponse or error -// will be non-nil. Any non-2xx status code is an error. Response -// headers are in either -// *GoogleCloudDialogflowCxV3LookupEnvironmentHistoryResponse.ServerRespo -// nse.Header or (if a response was returned at all) in -// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check -// whether the returned error was because http.StatusNotModified was -// returned. -func (c *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3LookupEnvironmentHistoryResponse, error) { +// Do executes the "dialogflow.projects.locations.agents.flows.create" call. +// Exactly one of *GoogleCloudDialogflowCxV3Flow or error will be +// non-nil. Any non-2xx status code is an error. Response headers are in +// either *GoogleCloudDialogflowCxV3Flow.ServerResponse.Header or (if a +// response was returned at all) in error.(*googleapi.Error).Header. Use +// googleapi.IsNotModified to check whether the returned error was +// because http.StatusNotModified was returned. +func (c *ProjectsLocationsAgentsFlowsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3Flow, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -13494,7 +18432,7 @@ func (c *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall) Do(opt if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleCloudDialogflowCxV3LookupEnvironmentHistoryResponse{ + ret := &GoogleCloudDialogflowCxV3Flow{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -13504,38 +18442,35 @@ func (c *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall) Do(opt if err := gensupport.DecodeResponse(target, res); err != nil { return nil, err } - return ret, nil - // { - // "description": "Looks up the history of the specified Environment.", - // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}:lookupEnvironmentHistory", - // "httpMethod": "GET", - // "id": "dialogflow.projects.locations.agents.environments.lookupEnvironmentHistory", + return ret, nil + // { + // "description": "Creates a flow in the specified agent.", + // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows", + // "httpMethod": "POST", + // "id": "dialogflow.projects.locations.agents.flows.create", // "parameterOrder": [ - // "name" + // "parent" // ], // "parameters": { - // "name": { - // "description": "Required. Resource name of the environment to look up the history for. Format: `projects//locations//agents//environments/`.", - // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/environments/[^/]+$", - // "required": true, - // "type": "string" - // }, - // "pageSize": { - // "description": "The maximum number of items to return in a single page. By default 100 and at most 1000.", - // "format": "int32", + // "languageCode": { + // "description": "The language of the following fields in `flow`: * `Flow.event_handlers.trigger_fulfillment.messages` * `Flow.transition_routes.trigger_fulfillment.messages` If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", // "location": "query", - // "type": "integer" + // "type": "string" // }, - // "pageToken": { - // "description": "The next_page_token value returned from a previous list request.", - // "location": "query", + // "parent": { + // "description": "Required. The agent to create a flow for. Format: `projects//locations//agents/`.", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", + // "required": true, // "type": "string" // } // }, - // "path": "v3/{+name}:lookupEnvironmentHistory", + // "path": "v3/{+parent}/flows", + // "request": { + // "$ref": "GoogleCloudDialogflowCxV3Flow" + // }, // "response": { - // "$ref": "GoogleCloudDialogflowCxV3LookupEnvironmentHistoryResponse" + // "$ref": "GoogleCloudDialogflowCxV3Flow" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -13545,57 +18480,39 @@ func (c *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall) Do(opt } -// Pages invokes f for each page of results. -// A non-nil error returned from f will halt the iteration. -// The provided context supersedes any context provided to the Context method. -func (c *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowCxV3LookupEnvironmentHistoryResponse) error) error { - c.ctx_ = ctx - defer c.PageToken(c.urlParams_.Get("pageToken")) // reset paging to original point - for { - x, err := c.Do() - if err != nil { - return err - } - if err := f(x); err != nil { - return err - } - if x.NextPageToken == "" { - return nil - } - c.PageToken(x.NextPageToken) - } -} - -// method id "dialogflow.projects.locations.agents.environments.patch": +// method id "dialogflow.projects.locations.agents.flows.delete": -type ProjectsLocationsAgentsEnvironmentsPatchCall struct { - s *Service - name string - googleclouddialogflowcxv3environment *GoogleCloudDialogflowCxV3Environment - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header +type ProjectsLocationsAgentsFlowsDeleteCall struct { + s *Service + name string + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header } -// Patch: Updates the specified Environment. -func (r *ProjectsLocationsAgentsEnvironmentsService) Patch(name string, googleclouddialogflowcxv3environment *GoogleCloudDialogflowCxV3Environment) *ProjectsLocationsAgentsEnvironmentsPatchCall { - c := &ProjectsLocationsAgentsEnvironmentsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)} +// Delete: Deletes a specified flow. +func (r *ProjectsLocationsAgentsFlowsService) Delete(name string) *ProjectsLocationsAgentsFlowsDeleteCall { + c := &ProjectsLocationsAgentsFlowsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name - c.googleclouddialogflowcxv3environment = googleclouddialogflowcxv3environment return c } -// UpdateMask sets the optional parameter "updateMask": Required. The -// mask to control which fields get updated. -func (c *ProjectsLocationsAgentsEnvironmentsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsAgentsEnvironmentsPatchCall { - c.urlParams_.Set("updateMask", updateMask) +// Force sets the optional parameter "force": This field has no effect +// for flows with no incoming transitions. For flows with incoming +// transitions: * If `force` is set to false, an error will be returned +// with message indicating the incoming transitions. * If `force` is set +// to true, Dialogflow will remove the flow, as well as any transitions +// to the flow (i.e. Target flow in event handlers or Target flow in +// transition routes that point to this flow will be cleared). +func (c *ProjectsLocationsAgentsFlowsDeleteCall) Force(force bool) *ProjectsLocationsAgentsFlowsDeleteCall { + c.urlParams_.Set("force", fmt.Sprint(force)) return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsEnvironmentsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsPatchCall { +func (c *ProjectsLocationsAgentsFlowsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsDeleteCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -13603,38 +18520,33 @@ func (c *ProjectsLocationsAgentsEnvironmentsPatchCall) Fields(s ...googleapi.Fie // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsEnvironmentsPatchCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsPatchCall { +func (c *ProjectsLocationsAgentsFlowsDeleteCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsDeleteCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsEnvironmentsPatchCall) Header() http.Header { +func (c *ProjectsLocationsAgentsFlowsDeleteCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsEnvironmentsPatchCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsFlowsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } reqHeaders.Set("User-Agent", c.s.userAgent()) var body io.Reader = nil - body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3environment) - if err != nil { - return nil, err - } - reqHeaders.Set("Content-Type", "application/json") c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}") urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("PATCH", urls, body) + req, err := http.NewRequest("DELETE", urls, body) if err != nil { return nil, err } @@ -13645,14 +18557,14 @@ func (c *ProjectsLocationsAgentsEnvironmentsPatchCall) doRequest(alt string) (*h return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.environments.patch" call. -// Exactly one of *GoogleLongrunningOperation or error will be non-nil. -// Any non-2xx status code is an error. Response headers are in either -// *GoogleLongrunningOperation.ServerResponse.Header or (if a response -// was returned at all) in error.(*googleapi.Error).Header. Use +// Do executes the "dialogflow.projects.locations.agents.flows.delete" call. +// Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any +// non-2xx status code is an error. Response headers are in either +// *GoogleProtobufEmpty.ServerResponse.Header or (if a response was +// returned at all) in error.(*googleapi.Error).Header. Use // googleapi.IsNotModified to check whether the returned error was // because http.StatusNotModified was returned. -func (c *ProjectsLocationsAgentsEnvironmentsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error) { +func (c *ProjectsLocationsAgentsFlowsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -13671,7 +18583,7 @@ func (c *ProjectsLocationsAgentsEnvironmentsPatchCall) Do(opts ...googleapi.Call if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleLongrunningOperation{ + ret := &GoogleProtobufEmpty{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -13683,34 +18595,30 @@ func (c *ProjectsLocationsAgentsEnvironmentsPatchCall) Do(opts ...googleapi.Call } return ret, nil // { - // "description": "Updates the specified Environment.", - // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}", - // "httpMethod": "PATCH", - // "id": "dialogflow.projects.locations.agents.environments.patch", + // "description": "Deletes a specified flow.", + // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}", + // "httpMethod": "DELETE", + // "id": "dialogflow.projects.locations.agents.flows.delete", // "parameterOrder": [ // "name" // ], // "parameters": { + // "force": { + // "description": "This field has no effect for flows with no incoming transitions. For flows with incoming transitions: * If `force` is set to false, an error will be returned with message indicating the incoming transitions. * If `force` is set to true, Dialogflow will remove the flow, as well as any transitions to the flow (i.e. Target flow in event handlers or Target flow in transition routes that point to this flow will be cleared).", + // "location": "query", + // "type": "boolean" + // }, // "name": { - // "description": "The name of the environment. Format: `projects//locations//agents//environments/`.", + // "description": "Required. The name of the flow to delete. Format: `projects//locations//agents//flows/`.", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/environments/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+$", // "required": true, // "type": "string" - // }, - // "updateMask": { - // "description": "Required. The mask to control which fields get updated.", - // "format": "google-fieldmask", - // "location": "query", - // "type": "string" // } // }, // "path": "v3/{+name}", - // "request": { - // "$ref": "GoogleCloudDialogflowCxV3Environment" - // }, // "response": { - // "$ref": "GoogleLongrunningOperation" + // "$ref": "GoogleProtobufEmpty" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -13720,94 +18628,106 @@ func (c *ProjectsLocationsAgentsEnvironmentsPatchCall) Do(opts ...googleapi.Call } -// method id "dialogflow.projects.locations.agents.environments.sessions.detectIntent": +// method id "dialogflow.projects.locations.agents.flows.get": -type ProjectsLocationsAgentsEnvironmentsSessionsDetectIntentCall struct { - s *Service - sessionid string - googleclouddialogflowcxv3detectintentrequest *GoogleCloudDialogflowCxV3DetectIntentRequest - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header +type ProjectsLocationsAgentsFlowsGetCall struct { + s *Service + name string + urlParams_ gensupport.URLParams + ifNoneMatch_ string + ctx_ context.Context + header_ http.Header } -// DetectIntent: Processes a natural language query and returns -// structured, actionable data as a result. This method is not -// idempotent, because it may cause session entity types to be updated, -// which in turn might affect results of future queries. Note: Always -// use agent versions for production traffic. See [Versions and -// environments](https://cloud.google.com/dialogflow/cx/docs/concept/vers -// ion). -func (r *ProjectsLocationsAgentsEnvironmentsSessionsService) DetectIntent(sessionid string, googleclouddialogflowcxv3detectintentrequest *GoogleCloudDialogflowCxV3DetectIntentRequest) *ProjectsLocationsAgentsEnvironmentsSessionsDetectIntentCall { - c := &ProjectsLocationsAgentsEnvironmentsSessionsDetectIntentCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.sessionid = sessionid - c.googleclouddialogflowcxv3detectintentrequest = googleclouddialogflowcxv3detectintentrequest +// Get: Retrieves the specified flow. +func (r *ProjectsLocationsAgentsFlowsService) Get(name string) *ProjectsLocationsAgentsFlowsGetCall { + c := &ProjectsLocationsAgentsFlowsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name + return c +} + +// LanguageCode sets the optional parameter "languageCode": The language +// to retrieve the flow for. The following fields are language +// dependent: * `Flow.event_handlers.trigger_fulfillment.messages` * +// `Flow.transition_routes.trigger_fulfillment.messages` If not +// specified, the agent's default language is used. [Many +// languages](https://cloud.google.com/dialogflow/docs/reference/language +// ) are supported. Note: languages must be enabled in the agent before +// they can be used. +func (c *ProjectsLocationsAgentsFlowsGetCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsFlowsGetCall { + c.urlParams_.Set("languageCode", languageCode) return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsEnvironmentsSessionsDetectIntentCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsSessionsDetectIntentCall { +func (c *ProjectsLocationsAgentsFlowsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsGetCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } +// IfNoneMatch sets the optional parameter which makes the operation +// fail if the object's ETag matches the given value. This is useful for +// getting updates only after the object has changed since the last +// request. Use googleapi.IsNotModified to check whether the response +// error from Do is the result of In-None-Match. +func (c *ProjectsLocationsAgentsFlowsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsFlowsGetCall { + c.ifNoneMatch_ = entityTag + return c +} + // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsEnvironmentsSessionsDetectIntentCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsSessionsDetectIntentCall { +func (c *ProjectsLocationsAgentsFlowsGetCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsGetCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsEnvironmentsSessionsDetectIntentCall) Header() http.Header { +func (c *ProjectsLocationsAgentsFlowsGetCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsEnvironmentsSessionsDetectIntentCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsFlowsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } reqHeaders.Set("User-Agent", c.s.userAgent()) - var body io.Reader = nil - body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3detectintentrequest) - if err != nil { - return nil, err + if c.ifNoneMatch_ != "" { + reqHeaders.Set("If-None-Match", c.ifNoneMatch_) } - reqHeaders.Set("Content-Type", "application/json") + var body io.Reader = nil c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+session}:detectIntent") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}") urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("POST", urls, body) + req, err := http.NewRequest("GET", urls, body) if err != nil { return nil, err } req.Header = reqHeaders googleapi.Expand(req.URL, map[string]string{ - "session": c.sessionid, + "name": c.name, }) return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.environments.sessions.detectIntent" call. -// Exactly one of *GoogleCloudDialogflowCxV3DetectIntentResponse or -// error will be non-nil. Any non-2xx status code is an error. Response -// headers are in either -// *GoogleCloudDialogflowCxV3DetectIntentResponse.ServerResponse.Header -// or (if a response was returned at all) in -// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check -// whether the returned error was because http.StatusNotModified was -// returned. -func (c *ProjectsLocationsAgentsEnvironmentsSessionsDetectIntentCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3DetectIntentResponse, error) { +// Do executes the "dialogflow.projects.locations.agents.flows.get" call. +// Exactly one of *GoogleCloudDialogflowCxV3Flow or error will be +// non-nil. Any non-2xx status code is an error. Response headers are in +// either *GoogleCloudDialogflowCxV3Flow.ServerResponse.Header or (if a +// response was returned at all) in error.(*googleapi.Error).Header. Use +// googleapi.IsNotModified to check whether the returned error was +// because http.StatusNotModified was returned. +func (c *ProjectsLocationsAgentsFlowsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3Flow, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -13826,7 +18746,7 @@ func (c *ProjectsLocationsAgentsEnvironmentsSessionsDetectIntentCall) Do(opts .. if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleCloudDialogflowCxV3DetectIntentResponse{ + ret := &GoogleCloudDialogflowCxV3Flow{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -13838,28 +18758,30 @@ func (c *ProjectsLocationsAgentsEnvironmentsSessionsDetectIntentCall) Do(opts .. } return ret, nil // { - // "description": "Processes a natural language query and returns structured, actionable data as a result. This method is not idempotent, because it may cause session entity types to be updated, which in turn might affect results of future queries. Note: Always use agent versions for production traffic. See [Versions and environments](https://cloud.google.com/dialogflow/cx/docs/concept/version).", - // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}/sessions/{sessionsId}:detectIntent", - // "httpMethod": "POST", - // "id": "dialogflow.projects.locations.agents.environments.sessions.detectIntent", + // "description": "Retrieves the specified flow.", + // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}", + // "httpMethod": "GET", + // "id": "dialogflow.projects.locations.agents.flows.get", // "parameterOrder": [ - // "session" + // "name" // ], // "parameters": { - // "session": { - // "description": "Required. The name of the session this query is sent to. Format: `projects//locations//agents//sessions/` or `projects//locations//agents//environments//sessions/`. If `Environment ID` is not specified, we assume default 'draft' environment. It's up to the API caller to choose an appropriate `Session ID`. It can be a random number or some type of session identifiers (preferably hashed). The length of the `Session ID` must not exceed 36 characters. For more information, see the [sessions guide](https://cloud.google.com/dialogflow/cx/docs/concept/session). Note: Always use agent versions for production traffic. See [Versions and environments](https://cloud.google.com/dialogflow/cx/docs/concept/version).", + // "languageCode": { + // "description": "The language to retrieve the flow for. The following fields are language dependent: * `Flow.event_handlers.trigger_fulfillment.messages` * `Flow.transition_routes.trigger_fulfillment.messages` If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", + // "location": "query", + // "type": "string" + // }, + // "name": { + // "description": "Required. The name of the flow to get. Format: `projects//locations//agents//flows/`.", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/environments/[^/]+/sessions/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+$", // "required": true, // "type": "string" // } // }, - // "path": "v3/{+session}:detectIntent", - // "request": { - // "$ref": "GoogleCloudDialogflowCxV3DetectIntentRequest" - // }, + // "path": "v3/{+name}", // "response": { - // "$ref": "GoogleCloudDialogflowCxV3DetectIntentResponse" + // "$ref": "GoogleCloudDialogflowCxV3Flow" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -13869,90 +18791,122 @@ func (c *ProjectsLocationsAgentsEnvironmentsSessionsDetectIntentCall) Do(opts .. } -// method id "dialogflow.projects.locations.agents.environments.sessions.fulfillIntent": +// method id "dialogflow.projects.locations.agents.flows.list": -type ProjectsLocationsAgentsEnvironmentsSessionsFulfillIntentCall struct { - s *Service - sessionid string - googleclouddialogflowcxv3fulfillintentrequest *GoogleCloudDialogflowCxV3FulfillIntentRequest - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header +type ProjectsLocationsAgentsFlowsListCall struct { + s *Service + parent string + urlParams_ gensupport.URLParams + ifNoneMatch_ string + ctx_ context.Context + header_ http.Header } -// FulfillIntent: Fulfills a matched intent returned by MatchIntent. -// Must be called after MatchIntent, with input from -// MatchIntentResponse. Otherwise, the behavior is undefined. -func (r *ProjectsLocationsAgentsEnvironmentsSessionsService) FulfillIntent(sessionid string, googleclouddialogflowcxv3fulfillintentrequest *GoogleCloudDialogflowCxV3FulfillIntentRequest) *ProjectsLocationsAgentsEnvironmentsSessionsFulfillIntentCall { - c := &ProjectsLocationsAgentsEnvironmentsSessionsFulfillIntentCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.sessionid = sessionid - c.googleclouddialogflowcxv3fulfillintentrequest = googleclouddialogflowcxv3fulfillintentrequest +// List: Returns the list of all flows in the specified agent. +func (r *ProjectsLocationsAgentsFlowsService) List(parent string) *ProjectsLocationsAgentsFlowsListCall { + c := &ProjectsLocationsAgentsFlowsListCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.parent = parent + return c +} + +// LanguageCode sets the optional parameter "languageCode": The language +// to list flows for. The following fields are language dependent: * +// `Flow.event_handlers.trigger_fulfillment.messages` * +// `Flow.transition_routes.trigger_fulfillment.messages` If not +// specified, the agent's default language is used. [Many +// languages](https://cloud.google.com/dialogflow/docs/reference/language +// ) are supported. Note: languages must be enabled in the agent before +// they can be used. +func (c *ProjectsLocationsAgentsFlowsListCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsFlowsListCall { + c.urlParams_.Set("languageCode", languageCode) + return c +} + +// PageSize sets the optional parameter "pageSize": The maximum number +// of items to return in a single page. By default 100 and at most 1000. +func (c *ProjectsLocationsAgentsFlowsListCall) PageSize(pageSize int64) *ProjectsLocationsAgentsFlowsListCall { + c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) + return c +} + +// PageToken sets the optional parameter "pageToken": The +// next_page_token value returned from a previous list request. +func (c *ProjectsLocationsAgentsFlowsListCall) PageToken(pageToken string) *ProjectsLocationsAgentsFlowsListCall { + c.urlParams_.Set("pageToken", pageToken) return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsEnvironmentsSessionsFulfillIntentCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsSessionsFulfillIntentCall { +func (c *ProjectsLocationsAgentsFlowsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsListCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } +// IfNoneMatch sets the optional parameter which makes the operation +// fail if the object's ETag matches the given value. This is useful for +// getting updates only after the object has changed since the last +// request. Use googleapi.IsNotModified to check whether the response +// error from Do is the result of In-None-Match. +func (c *ProjectsLocationsAgentsFlowsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsFlowsListCall { + c.ifNoneMatch_ = entityTag + return c +} + // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsEnvironmentsSessionsFulfillIntentCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsSessionsFulfillIntentCall { +func (c *ProjectsLocationsAgentsFlowsListCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsListCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsEnvironmentsSessionsFulfillIntentCall) Header() http.Header { +func (c *ProjectsLocationsAgentsFlowsListCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsEnvironmentsSessionsFulfillIntentCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsFlowsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } reqHeaders.Set("User-Agent", c.s.userAgent()) - var body io.Reader = nil - body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3fulfillintentrequest) - if err != nil { - return nil, err + if c.ifNoneMatch_ != "" { + reqHeaders.Set("If-None-Match", c.ifNoneMatch_) } - reqHeaders.Set("Content-Type", "application/json") + var body io.Reader = nil c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+session}:fulfillIntent") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+parent}/flows") urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("POST", urls, body) + req, err := http.NewRequest("GET", urls, body) if err != nil { return nil, err } req.Header = reqHeaders googleapi.Expand(req.URL, map[string]string{ - "session": c.sessionid, + "parent": c.parent, }) return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.environments.sessions.fulfillIntent" call. -// Exactly one of *GoogleCloudDialogflowCxV3FulfillIntentResponse or -// error will be non-nil. Any non-2xx status code is an error. Response +// Do executes the "dialogflow.projects.locations.agents.flows.list" call. +// Exactly one of *GoogleCloudDialogflowCxV3ListFlowsResponse or error +// will be non-nil. Any non-2xx status code is an error. Response // headers are in either -// *GoogleCloudDialogflowCxV3FulfillIntentResponse.ServerResponse.Header -// or (if a response was returned at all) in +// *GoogleCloudDialogflowCxV3ListFlowsResponse.ServerResponse.Header or +// (if a response was returned at all) in // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check // whether the returned error was because http.StatusNotModified was // returned. -func (c *ProjectsLocationsAgentsEnvironmentsSessionsFulfillIntentCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3FulfillIntentResponse, error) { +func (c *ProjectsLocationsAgentsFlowsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3ListFlowsResponse, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -13971,7 +18925,7 @@ func (c *ProjectsLocationsAgentsEnvironmentsSessionsFulfillIntentCall) Do(opts . if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleCloudDialogflowCxV3FulfillIntentResponse{ + ret := &GoogleCloudDialogflowCxV3ListFlowsResponse{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -13983,28 +18937,41 @@ func (c *ProjectsLocationsAgentsEnvironmentsSessionsFulfillIntentCall) Do(opts . } return ret, nil // { - // "description": "Fulfills a matched intent returned by MatchIntent. Must be called after MatchIntent, with input from MatchIntentResponse. Otherwise, the behavior is undefined.", - // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}/sessions/{sessionsId}:fulfillIntent", - // "httpMethod": "POST", - // "id": "dialogflow.projects.locations.agents.environments.sessions.fulfillIntent", + // "description": "Returns the list of all flows in the specified agent.", + // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows", + // "httpMethod": "GET", + // "id": "dialogflow.projects.locations.agents.flows.list", // "parameterOrder": [ - // "session" + // "parent" // ], // "parameters": { - // "session": { - // "description": "Required. The name of the session this query is sent to. Format: `projects//locations//agents//sessions/` or `projects//locations//agents//environments//sessions/`. If `Environment ID` is not specified, we assume default 'draft' environment. It's up to the API caller to choose an appropriate `Session ID`. It can be a random number or some type of session identifiers (preferably hashed). The length of the `Session ID` must not exceed 36 characters. For more information, see the [sessions guide](https://cloud.google.com/dialogflow/cx/docs/concept/session).", + // "languageCode": { + // "description": "The language to list flows for. The following fields are language dependent: * `Flow.event_handlers.trigger_fulfillment.messages` * `Flow.transition_routes.trigger_fulfillment.messages` If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", + // "location": "query", + // "type": "string" + // }, + // "pageSize": { + // "description": "The maximum number of items to return in a single page. By default 100 and at most 1000.", + // "format": "int32", + // "location": "query", + // "type": "integer" + // }, + // "pageToken": { + // "description": "The next_page_token value returned from a previous list request.", + // "location": "query", + // "type": "string" + // }, + // "parent": { + // "description": "Required. The agent containing the flows. Format: `projects//locations//agents/`.", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/environments/[^/]+/sessions/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", // "required": true, // "type": "string" // } // }, - // "path": "v3/{+session}:fulfillIntent", - // "request": { - // "$ref": "GoogleCloudDialogflowCxV3FulfillIntentRequest" - // }, + // "path": "v3/{+parent}/flows", // "response": { - // "$ref": "GoogleCloudDialogflowCxV3FulfillIntentResponse" + // "$ref": "GoogleCloudDialogflowCxV3ListFlowsResponse" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -14014,30 +18981,71 @@ func (c *ProjectsLocationsAgentsEnvironmentsSessionsFulfillIntentCall) Do(opts . } -// method id "dialogflow.projects.locations.agents.environments.sessions.matchIntent": +// Pages invokes f for each page of results. +// A non-nil error returned from f will halt the iteration. +// The provided context supersedes any context provided to the Context method. +func (c *ProjectsLocationsAgentsFlowsListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowCxV3ListFlowsResponse) error) error { + c.ctx_ = ctx + defer c.PageToken(c.urlParams_.Get("pageToken")) // reset paging to original point + for { + x, err := c.Do() + if err != nil { + return err + } + if err := f(x); err != nil { + return err + } + if x.NextPageToken == "" { + return nil + } + c.PageToken(x.NextPageToken) + } +} -type ProjectsLocationsAgentsEnvironmentsSessionsMatchIntentCall struct { - s *Service - sessionid string - googleclouddialogflowcxv3matchintentrequest *GoogleCloudDialogflowCxV3MatchIntentRequest - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header +// method id "dialogflow.projects.locations.agents.flows.patch": + +type ProjectsLocationsAgentsFlowsPatchCall struct { + s *Service + nameid string + googleclouddialogflowcxv3flow *GoogleCloudDialogflowCxV3Flow + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header } -// MatchIntent: Returns preliminary intent match results, doesn't change -// the session status. -func (r *ProjectsLocationsAgentsEnvironmentsSessionsService) MatchIntent(sessionid string, googleclouddialogflowcxv3matchintentrequest *GoogleCloudDialogflowCxV3MatchIntentRequest) *ProjectsLocationsAgentsEnvironmentsSessionsMatchIntentCall { - c := &ProjectsLocationsAgentsEnvironmentsSessionsMatchIntentCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.sessionid = sessionid - c.googleclouddialogflowcxv3matchintentrequest = googleclouddialogflowcxv3matchintentrequest +// Patch: Updates the specified flow. +func (r *ProjectsLocationsAgentsFlowsService) Patch(nameid string, googleclouddialogflowcxv3flow *GoogleCloudDialogflowCxV3Flow) *ProjectsLocationsAgentsFlowsPatchCall { + c := &ProjectsLocationsAgentsFlowsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.nameid = nameid + c.googleclouddialogflowcxv3flow = googleclouddialogflowcxv3flow + return c +} + +// LanguageCode sets the optional parameter "languageCode": The language +// of the following fields in `flow`: * +// `Flow.event_handlers.trigger_fulfillment.messages` * +// `Flow.transition_routes.trigger_fulfillment.messages` If not +// specified, the agent's default language is used. [Many +// languages](https://cloud.google.com/dialogflow/docs/reference/language +// ) are supported. Note: languages must be enabled in the agent before +// they can be used. +func (c *ProjectsLocationsAgentsFlowsPatchCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsFlowsPatchCall { + c.urlParams_.Set("languageCode", languageCode) + return c +} + +// UpdateMask sets the optional parameter "updateMask": Required. The +// mask to control which fields get updated. If `update_mask` is not +// specified, an error will be returned. +func (c *ProjectsLocationsAgentsFlowsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsAgentsFlowsPatchCall { + c.urlParams_.Set("updateMask", updateMask) return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsEnvironmentsSessionsMatchIntentCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsSessionsMatchIntentCall { +func (c *ProjectsLocationsAgentsFlowsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsPatchCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -14045,58 +19053,56 @@ func (c *ProjectsLocationsAgentsEnvironmentsSessionsMatchIntentCall) Fields(s .. // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsEnvironmentsSessionsMatchIntentCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsSessionsMatchIntentCall { +func (c *ProjectsLocationsAgentsFlowsPatchCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsPatchCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsEnvironmentsSessionsMatchIntentCall) Header() http.Header { +func (c *ProjectsLocationsAgentsFlowsPatchCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsEnvironmentsSessionsMatchIntentCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsFlowsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } reqHeaders.Set("User-Agent", c.s.userAgent()) var body io.Reader = nil - body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3matchintentrequest) + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3flow) if err != nil { return nil, err } reqHeaders.Set("Content-Type", "application/json") c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+session}:matchIntent") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}") urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("POST", urls, body) + req, err := http.NewRequest("PATCH", urls, body) if err != nil { return nil, err } req.Header = reqHeaders googleapi.Expand(req.URL, map[string]string{ - "session": c.sessionid, + "name": c.nameid, }) return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.environments.sessions.matchIntent" call. -// Exactly one of *GoogleCloudDialogflowCxV3MatchIntentResponse or error -// will be non-nil. Any non-2xx status code is an error. Response -// headers are in either -// *GoogleCloudDialogflowCxV3MatchIntentResponse.ServerResponse.Header -// or (if a response was returned at all) in -// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check -// whether the returned error was because http.StatusNotModified was -// returned. -func (c *ProjectsLocationsAgentsEnvironmentsSessionsMatchIntentCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3MatchIntentResponse, error) { +// Do executes the "dialogflow.projects.locations.agents.flows.patch" call. +// Exactly one of *GoogleCloudDialogflowCxV3Flow or error will be +// non-nil. Any non-2xx status code is an error. Response headers are in +// either *GoogleCloudDialogflowCxV3Flow.ServerResponse.Header or (if a +// response was returned at all) in error.(*googleapi.Error).Header. Use +// googleapi.IsNotModified to check whether the returned error was +// because http.StatusNotModified was returned. +func (c *ProjectsLocationsAgentsFlowsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3Flow, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -14115,7 +19121,7 @@ func (c *ProjectsLocationsAgentsEnvironmentsSessionsMatchIntentCall) Do(opts ... if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleCloudDialogflowCxV3MatchIntentResponse{ + ret := &GoogleCloudDialogflowCxV3Flow{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -14127,28 +19133,39 @@ func (c *ProjectsLocationsAgentsEnvironmentsSessionsMatchIntentCall) Do(opts ... } return ret, nil // { - // "description": "Returns preliminary intent match results, doesn't change the session status.", - // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}/sessions/{sessionsId}:matchIntent", - // "httpMethod": "POST", - // "id": "dialogflow.projects.locations.agents.environments.sessions.matchIntent", + // "description": "Updates the specified flow.", + // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}", + // "httpMethod": "PATCH", + // "id": "dialogflow.projects.locations.agents.flows.patch", // "parameterOrder": [ - // "session" + // "name" // ], // "parameters": { - // "session": { - // "description": "Required. The name of the session this query is sent to. Format: `projects//locations//agents//sessions/` or `projects//locations//agents//environments//sessions/`. If `Environment ID` is not specified, we assume default 'draft' environment. It's up to the API caller to choose an appropriate `Session ID`. It can be a random number or some type of session identifiers (preferably hashed). The length of the `Session ID` must not exceed 36 characters. For more information, see the [sessions guide](https://cloud.google.com/dialogflow/cx/docs/concept/session).", + // "languageCode": { + // "description": "The language of the following fields in `flow`: * `Flow.event_handlers.trigger_fulfillment.messages` * `Flow.transition_routes.trigger_fulfillment.messages` If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", + // "location": "query", + // "type": "string" + // }, + // "name": { + // "description": "The unique identifier of the flow. Format: `projects//locations//agents//flows/`.", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/environments/[^/]+/sessions/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+$", // "required": true, // "type": "string" + // }, + // "updateMask": { + // "description": "Required. The mask to control which fields get updated. If `update_mask` is not specified, an error will be returned.", + // "format": "google-fieldmask", + // "location": "query", + // "type": "string" // } // }, - // "path": "v3/{+session}:matchIntent", + // "path": "v3/{+name}", // "request": { - // "$ref": "GoogleCloudDialogflowCxV3MatchIntentRequest" + // "$ref": "GoogleCloudDialogflowCxV3Flow" // }, // "response": { - // "$ref": "GoogleCloudDialogflowCxV3MatchIntentResponse" + // "$ref": "GoogleCloudDialogflowCxV3Flow" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -14158,30 +19175,30 @@ func (c *ProjectsLocationsAgentsEnvironmentsSessionsMatchIntentCall) Do(opts ... } -// method id "dialogflow.projects.locations.agents.environments.sessions.entityTypes.create": +// method id "dialogflow.projects.locations.agents.flows.train": -type ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesCreateCall struct { - s *Service - parent string - googleclouddialogflowcxv3sessionentitytype *GoogleCloudDialogflowCxV3SessionEntityType - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header +type ProjectsLocationsAgentsFlowsTrainCall struct { + s *Service + name string + googleclouddialogflowcxv3trainflowrequest *GoogleCloudDialogflowCxV3TrainFlowRequest + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header } -// Create: Creates a session entity type. If the specified session -// entity type already exists, overrides the session entity type. -func (r *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesService) Create(parent string, googleclouddialogflowcxv3sessionentitytype *GoogleCloudDialogflowCxV3SessionEntityType) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesCreateCall { - c := &ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.parent = parent - c.googleclouddialogflowcxv3sessionentitytype = googleclouddialogflowcxv3sessionentitytype +// Train: Trains the specified flow. Note that only the flow in 'draft' +// environment is trained. +func (r *ProjectsLocationsAgentsFlowsService) Train(name string, googleclouddialogflowcxv3trainflowrequest *GoogleCloudDialogflowCxV3TrainFlowRequest) *ProjectsLocationsAgentsFlowsTrainCall { + c := &ProjectsLocationsAgentsFlowsTrainCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name + c.googleclouddialogflowcxv3trainflowrequest = googleclouddialogflowcxv3trainflowrequest return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesCreateCall { +func (c *ProjectsLocationsAgentsFlowsTrainCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsTrainCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -14189,36 +19206,36 @@ func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesCreateCall) Field // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesCreateCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesCreateCall { +func (c *ProjectsLocationsAgentsFlowsTrainCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsTrainCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesCreateCall) Header() http.Header { +func (c *ProjectsLocationsAgentsFlowsTrainCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesCreateCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsFlowsTrainCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } reqHeaders.Set("User-Agent", c.s.userAgent()) var body io.Reader = nil - body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3sessionentitytype) + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3trainflowrequest) if err != nil { return nil, err } reqHeaders.Set("Content-Type", "application/json") c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+parent}/entityTypes") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}:train") urls += "?" + c.urlParams_.Encode() req, err := http.NewRequest("POST", urls, body) if err != nil { @@ -14226,21 +19243,19 @@ func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesCreateCall) doReq } req.Header = reqHeaders googleapi.Expand(req.URL, map[string]string{ - "parent": c.parent, + "name": c.name, }) return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.environments.sessions.entityTypes.create" call. -// Exactly one of *GoogleCloudDialogflowCxV3SessionEntityType or error -// will be non-nil. Any non-2xx status code is an error. Response -// headers are in either -// *GoogleCloudDialogflowCxV3SessionEntityType.ServerResponse.Header or -// (if a response was returned at all) in -// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check -// whether the returned error was because http.StatusNotModified was -// returned. -func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3SessionEntityType, error) { +// Do executes the "dialogflow.projects.locations.agents.flows.train" call. +// Exactly one of *GoogleLongrunningOperation or error will be non-nil. +// Any non-2xx status code is an error. Response headers are in either +// *GoogleLongrunningOperation.ServerResponse.Header or (if a response +// was returned at all) in error.(*googleapi.Error).Header. Use +// googleapi.IsNotModified to check whether the returned error was +// because http.StatusNotModified was returned. +func (c *ProjectsLocationsAgentsFlowsTrainCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -14259,7 +19274,7 @@ func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesCreateCall) Do(op if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleCloudDialogflowCxV3SessionEntityType{ + ret := &GoogleLongrunningOperation{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -14271,28 +19286,28 @@ func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesCreateCall) Do(op } return ret, nil // { - // "description": "Creates a session entity type. If the specified session entity type already exists, overrides the session entity type.", - // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}/sessions/{sessionsId}/entityTypes", + // "description": "Trains the specified flow. Note that only the flow in 'draft' environment is trained.", + // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}:train", // "httpMethod": "POST", - // "id": "dialogflow.projects.locations.agents.environments.sessions.entityTypes.create", + // "id": "dialogflow.projects.locations.agents.flows.train", // "parameterOrder": [ - // "parent" + // "name" // ], // "parameters": { - // "parent": { - // "description": "Required. The session to create a session entity type for. Format: `projects//locations//agents//sessions/` or `projects//locations//agents//environments//sessions/`. If `Environment ID` is not specified, we assume default 'draft' environment.", + // "name": { + // "description": "Required. The flow to train. Format: `projects//locations//agents//flows/`.", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/environments/[^/]+/sessions/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+$", // "required": true, // "type": "string" // } // }, - // "path": "v3/{+parent}/entityTypes", + // "path": "v3/{+name}:train", // "request": { - // "$ref": "GoogleCloudDialogflowCxV3SessionEntityType" + // "$ref": "GoogleCloudDialogflowCxV3TrainFlowRequest" // }, // "response": { - // "$ref": "GoogleCloudDialogflowCxV3SessionEntityType" + // "$ref": "GoogleLongrunningOperation" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -14302,27 +19317,46 @@ func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesCreateCall) Do(op } -// method id "dialogflow.projects.locations.agents.environments.sessions.entityTypes.delete": +// method id "dialogflow.projects.locations.agents.flows.pages.create": -type ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesDeleteCall struct { - s *Service - name string - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header +type ProjectsLocationsAgentsFlowsPagesCreateCall struct { + s *Service + parent string + googleclouddialogflowcxv3page *GoogleCloudDialogflowCxV3Page + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header } -// Delete: Deletes the specified session entity type. -func (r *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesService) Delete(name string) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesDeleteCall { - c := &ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.name = name +// Create: Creates a page in the specified flow. +func (r *ProjectsLocationsAgentsFlowsPagesService) Create(parent string, googleclouddialogflowcxv3page *GoogleCloudDialogflowCxV3Page) *ProjectsLocationsAgentsFlowsPagesCreateCall { + c := &ProjectsLocationsAgentsFlowsPagesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.parent = parent + c.googleclouddialogflowcxv3page = googleclouddialogflowcxv3page + return c +} + +// LanguageCode sets the optional parameter "languageCode": The language +// of the following fields in `page`: * +// `Page.entry_fulfillment.messages` * +// `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.message +// s` * +// `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages` +// * `Page.transition_routes.trigger_fulfillment.messages` * +// `Page.transition_route_groups.transition_routes.trigger_fulfillment.me +// ssages` If not specified, the agent's default language is used. [Many +// languages](https://cloud.google.com/dialogflow/docs/reference/language +// ) are supported. Note: languages must be enabled in the agent before +// they can be used. +func (c *ProjectsLocationsAgentsFlowsPagesCreateCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsFlowsPagesCreateCall { + c.urlParams_.Set("languageCode", languageCode) return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesDeleteCall { +func (c *ProjectsLocationsAgentsFlowsPagesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsPagesCreateCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -14330,51 +19364,56 @@ func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesDeleteCall) Field // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesDeleteCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesDeleteCall { +func (c *ProjectsLocationsAgentsFlowsPagesCreateCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsPagesCreateCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesDeleteCall) Header() http.Header { +func (c *ProjectsLocationsAgentsFlowsPagesCreateCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesDeleteCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsFlowsPagesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } reqHeaders.Set("User-Agent", c.s.userAgent()) var body io.Reader = nil + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3page) + if err != nil { + return nil, err + } + reqHeaders.Set("Content-Type", "application/json") c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+parent}/pages") urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("DELETE", urls, body) + req, err := http.NewRequest("POST", urls, body) if err != nil { return nil, err } req.Header = reqHeaders googleapi.Expand(req.URL, map[string]string{ - "name": c.name, + "parent": c.parent, }) return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.environments.sessions.entityTypes.delete" call. -// Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any -// non-2xx status code is an error. Response headers are in either -// *GoogleProtobufEmpty.ServerResponse.Header or (if a response was -// returned at all) in error.(*googleapi.Error).Header. Use +// Do executes the "dialogflow.projects.locations.agents.flows.pages.create" call. +// Exactly one of *GoogleCloudDialogflowCxV3Page or error will be +// non-nil. Any non-2xx status code is an error. Response headers are in +// either *GoogleCloudDialogflowCxV3Page.ServerResponse.Header or (if a +// response was returned at all) in error.(*googleapi.Error).Header. Use // googleapi.IsNotModified to check whether the returned error was // because http.StatusNotModified was returned. -func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error) { +func (c *ProjectsLocationsAgentsFlowsPagesCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3Page, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -14393,7 +19432,7 @@ func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesDeleteCall) Do(op if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleProtobufEmpty{ + ret := &GoogleCloudDialogflowCxV3Page{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -14405,25 +19444,33 @@ func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesDeleteCall) Do(op } return ret, nil // { - // "description": "Deletes the specified session entity type.", - // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}/sessions/{sessionsId}/entityTypes/{entityTypesId}", - // "httpMethod": "DELETE", - // "id": "dialogflow.projects.locations.agents.environments.sessions.entityTypes.delete", + // "description": "Creates a page in the specified flow.", + // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/pages", + // "httpMethod": "POST", + // "id": "dialogflow.projects.locations.agents.flows.pages.create", // "parameterOrder": [ - // "name" + // "parent" // ], // "parameters": { - // "name": { - // "description": "Required. The name of the session entity type to delete. Format: `projects//locations//agents//sessions//entityTypes/` or `projects//locations//agents//environments//sessions//entityTypes/`. If `Environment ID` is not specified, we assume default 'draft' environment.", + // "languageCode": { + // "description": "The language of the following fields in `page`: * `Page.entry_fulfillment.messages` * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.messages` * `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages` * `Page.transition_routes.trigger_fulfillment.messages` * `Page.transition_route_groups.transition_routes.trigger_fulfillment.messages` If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", + // "location": "query", + // "type": "string" + // }, + // "parent": { + // "description": "Required. The flow to create a page for. Format: `projects//locations//agents//flows/`.", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/environments/[^/]+/sessions/[^/]+/entityTypes/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+$", // "required": true, // "type": "string" // } // }, - // "path": "v3/{+name}", + // "path": "v3/{+parent}/pages", + // "request": { + // "$ref": "GoogleCloudDialogflowCxV3Page" + // }, // "response": { - // "$ref": "GoogleProtobufEmpty" + // "$ref": "GoogleCloudDialogflowCxV3Page" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -14433,75 +19480,73 @@ func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesDeleteCall) Do(op } -// method id "dialogflow.projects.locations.agents.environments.sessions.entityTypes.get": +// method id "dialogflow.projects.locations.agents.flows.pages.delete": -type ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesGetCall struct { - s *Service - name string - urlParams_ gensupport.URLParams - ifNoneMatch_ string - ctx_ context.Context - header_ http.Header +type ProjectsLocationsAgentsFlowsPagesDeleteCall struct { + s *Service + name string + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header } -// Get: Retrieves the specified session entity type. -func (r *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesService) Get(name string) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesGetCall { - c := &ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} +// Delete: Deletes the specified page. +func (r *ProjectsLocationsAgentsFlowsPagesService) Delete(name string) *ProjectsLocationsAgentsFlowsPagesDeleteCall { + c := &ProjectsLocationsAgentsFlowsPagesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name return c } +// Force sets the optional parameter "force": This field has no effect +// for pages with no incoming transitions. For pages with incoming +// transitions: * If `force` is set to false, an error will be returned +// with message indicating the incoming transitions. * If `force` is set +// to true, Dialogflow will remove the page, as well as any transitions +// to the page (i.e. Target page in event handlers or Target page in +// transition routes that point to this page will be cleared). +func (c *ProjectsLocationsAgentsFlowsPagesDeleteCall) Force(force bool) *ProjectsLocationsAgentsFlowsPagesDeleteCall { + c.urlParams_.Set("force", fmt.Sprint(force)) + return c +} + // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesGetCall { +func (c *ProjectsLocationsAgentsFlowsPagesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsPagesDeleteCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } -// IfNoneMatch sets the optional parameter which makes the operation -// fail if the object's ETag matches the given value. This is useful for -// getting updates only after the object has changed since the last -// request. Use googleapi.IsNotModified to check whether the response -// error from Do is the result of In-None-Match. -func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesGetCall { - c.ifNoneMatch_ = entityTag - return c -} - // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesGetCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesGetCall { +func (c *ProjectsLocationsAgentsFlowsPagesDeleteCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsPagesDeleteCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesGetCall) Header() http.Header { +func (c *ProjectsLocationsAgentsFlowsPagesDeleteCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesGetCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsFlowsPagesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } reqHeaders.Set("User-Agent", c.s.userAgent()) - if c.ifNoneMatch_ != "" { - reqHeaders.Set("If-None-Match", c.ifNoneMatch_) - } var body io.Reader = nil c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}") urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("GET", urls, body) + req, err := http.NewRequest("DELETE", urls, body) if err != nil { return nil, err } @@ -14512,16 +19557,14 @@ func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesGetCall) doReques return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.environments.sessions.entityTypes.get" call. -// Exactly one of *GoogleCloudDialogflowCxV3SessionEntityType or error -// will be non-nil. Any non-2xx status code is an error. Response -// headers are in either -// *GoogleCloudDialogflowCxV3SessionEntityType.ServerResponse.Header or -// (if a response was returned at all) in -// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check -// whether the returned error was because http.StatusNotModified was -// returned. -func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3SessionEntityType, error) { +// Do executes the "dialogflow.projects.locations.agents.flows.pages.delete" call. +// Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any +// non-2xx status code is an error. Response headers are in either +// *GoogleProtobufEmpty.ServerResponse.Header or (if a response was +// returned at all) in error.(*googleapi.Error).Header. Use +// googleapi.IsNotModified to check whether the returned error was +// because http.StatusNotModified was returned. +func (c *ProjectsLocationsAgentsFlowsPagesDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -14540,7 +19583,7 @@ func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesGetCall) Do(opts if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleCloudDialogflowCxV3SessionEntityType{ + ret := &GoogleProtobufEmpty{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -14552,25 +19595,30 @@ func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesGetCall) Do(opts } return ret, nil // { - // "description": "Retrieves the specified session entity type.", - // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}/sessions/{sessionsId}/entityTypes/{entityTypesId}", - // "httpMethod": "GET", - // "id": "dialogflow.projects.locations.agents.environments.sessions.entityTypes.get", + // "description": "Deletes the specified page.", + // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/pages/{pagesId}", + // "httpMethod": "DELETE", + // "id": "dialogflow.projects.locations.agents.flows.pages.delete", // "parameterOrder": [ // "name" // ], // "parameters": { + // "force": { + // "description": "This field has no effect for pages with no incoming transitions. For pages with incoming transitions: * If `force` is set to false, an error will be returned with message indicating the incoming transitions. * If `force` is set to true, Dialogflow will remove the page, as well as any transitions to the page (i.e. Target page in event handlers or Target page in transition routes that point to this page will be cleared).", + // "location": "query", + // "type": "boolean" + // }, // "name": { - // "description": "Required. The name of the session entity type. Format: `projects//locations//agents//sessions//entityTypes/` or `projects//locations//agents//environments//sessions//entityTypes/`. If `Environment ID` is not specified, we assume default 'draft' environment.", + // "description": "Required. The name of the page to delete. Format: `projects//locations//agents//Flows//pages/`.", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/environments/[^/]+/sessions/[^/]+/entityTypes/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+/pages/[^/]+$", // "required": true, // "type": "string" // } // }, // "path": "v3/{+name}", // "response": { - // "$ref": "GoogleCloudDialogflowCxV3SessionEntityType" + // "$ref": "GoogleProtobufEmpty" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -14580,43 +19628,45 @@ func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesGetCall) Do(opts } -// method id "dialogflow.projects.locations.agents.environments.sessions.entityTypes.list": +// method id "dialogflow.projects.locations.agents.flows.pages.get": -type ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall struct { +type ProjectsLocationsAgentsFlowsPagesGetCall struct { s *Service - parent string + name string urlParams_ gensupport.URLParams ifNoneMatch_ string ctx_ context.Context header_ http.Header } -// List: Returns the list of all session entity types in the specified -// session. -func (r *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesService) List(parent string) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall { - c := &ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.parent = parent - return c -} - -// PageSize sets the optional parameter "pageSize": The maximum number -// of items to return in a single page. By default 100 and at most 1000. -func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall) PageSize(pageSize int64) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall { - c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) +// Get: Retrieves the specified page. +func (r *ProjectsLocationsAgentsFlowsPagesService) Get(name string) *ProjectsLocationsAgentsFlowsPagesGetCall { + c := &ProjectsLocationsAgentsFlowsPagesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name return c } -// PageToken sets the optional parameter "pageToken": The -// next_page_token value returned from a previous list request. -func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall) PageToken(pageToken string) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall { - c.urlParams_.Set("pageToken", pageToken) +// LanguageCode sets the optional parameter "languageCode": The language +// to retrieve the page for. The following fields are language +// dependent: * `Page.entry_fulfillment.messages` * +// `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.message +// s` * +// `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages` +// * `Page.transition_routes.trigger_fulfillment.messages` * +// `Page.transition_route_groups.transition_routes.trigger_fulfillment.me +// ssages` If not specified, the agent's default language is used. [Many +// languages](https://cloud.google.com/dialogflow/docs/reference/language +// ) are supported. Note: languages must be enabled in the agent before +// they can be used. +func (c *ProjectsLocationsAgentsFlowsPagesGetCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsFlowsPagesGetCall { + c.urlParams_.Set("languageCode", languageCode) return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall { +func (c *ProjectsLocationsAgentsFlowsPagesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsPagesGetCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -14626,7 +19676,7 @@ func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall) Fields( // getting updates only after the object has changed since the last // request. Use googleapi.IsNotModified to check whether the response // error from Do is the result of In-None-Match. -func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall { +func (c *ProjectsLocationsAgentsFlowsPagesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsFlowsPagesGetCall { c.ifNoneMatch_ = entityTag return c } @@ -14634,23 +19684,23 @@ func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall) IfNoneM // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall { +func (c *ProjectsLocationsAgentsFlowsPagesGetCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsPagesGetCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall) Header() http.Header { +func (c *ProjectsLocationsAgentsFlowsPagesGetCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsFlowsPagesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14661,7 +19711,7 @@ func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall) doReque var body io.Reader = nil c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+parent}/entityTypes") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}") urls += "?" + c.urlParams_.Encode() req, err := http.NewRequest("GET", urls, body) if err != nil { @@ -14669,22 +19719,19 @@ func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall) doReque } req.Header = reqHeaders googleapi.Expand(req.URL, map[string]string{ - "parent": c.parent, + "name": c.name, }) return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.environments.sessions.entityTypes.list" call. -// Exactly one of -// *GoogleCloudDialogflowCxV3ListSessionEntityTypesResponse or error -// will be non-nil. Any non-2xx status code is an error. Response -// headers are in either -// *GoogleCloudDialogflowCxV3ListSessionEntityTypesResponse.ServerRespons -// e.Header or (if a response was returned at all) in -// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check -// whether the returned error was because http.StatusNotModified was -// returned. -func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3ListSessionEntityTypesResponse, error) { +// Do executes the "dialogflow.projects.locations.agents.flows.pages.get" call. +// Exactly one of *GoogleCloudDialogflowCxV3Page or error will be +// non-nil. Any non-2xx status code is an error. Response headers are in +// either *GoogleCloudDialogflowCxV3Page.ServerResponse.Header or (if a +// response was returned at all) in error.(*googleapi.Error).Header. Use +// googleapi.IsNotModified to check whether the returned error was +// because http.StatusNotModified was returned. +func (c *ProjectsLocationsAgentsFlowsPagesGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3Page, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -14703,7 +19750,7 @@ func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall) Do(opts if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleCloudDialogflowCxV3ListSessionEntityTypesResponse{ + ret := &GoogleCloudDialogflowCxV3Page{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -14715,36 +19762,30 @@ func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall) Do(opts } return ret, nil // { - // "description": "Returns the list of all session entity types in the specified session.", - // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}/sessions/{sessionsId}/entityTypes", + // "description": "Retrieves the specified page.", + // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/pages/{pagesId}", // "httpMethod": "GET", - // "id": "dialogflow.projects.locations.agents.environments.sessions.entityTypes.list", + // "id": "dialogflow.projects.locations.agents.flows.pages.get", // "parameterOrder": [ - // "parent" + // "name" // ], // "parameters": { - // "pageSize": { - // "description": "The maximum number of items to return in a single page. By default 100 and at most 1000.", - // "format": "int32", - // "location": "query", - // "type": "integer" - // }, - // "pageToken": { - // "description": "The next_page_token value returned from a previous list request.", + // "languageCode": { + // "description": "The language to retrieve the page for. The following fields are language dependent: * `Page.entry_fulfillment.messages` * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.messages` * `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages` * `Page.transition_routes.trigger_fulfillment.messages` * `Page.transition_route_groups.transition_routes.trigger_fulfillment.messages` If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", // "location": "query", // "type": "string" // }, - // "parent": { - // "description": "Required. The session to list all session entity types from. Format: `projects//locations//agents//sessions/` or `projects//locations//agents//environments//sessions/`. If `Environment ID` is not specified, we assume default 'draft' environment.", + // "name": { + // "description": "Required. The name of the page. Format: `projects//locations//agents//flows//pages/`.", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/environments/[^/]+/sessions/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+/pages/[^/]+$", // "required": true, // "type": "string" // } // }, - // "path": "v3/{+parent}/entityTypes", + // "path": "v3/{+name}", // "response": { - // "$ref": "GoogleCloudDialogflowCxV3ListSessionEntityTypesResponse" + // "$ref": "GoogleCloudDialogflowCxV3Page" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -14754,116 +19795,126 @@ func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall) Do(opts } -// Pages invokes f for each page of results. -// A non-nil error returned from f will halt the iteration. -// The provided context supersedes any context provided to the Context method. -func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowCxV3ListSessionEntityTypesResponse) error) error { - c.ctx_ = ctx - defer c.PageToken(c.urlParams_.Get("pageToken")) // reset paging to original point - for { - x, err := c.Do() - if err != nil { - return err - } - if err := f(x); err != nil { - return err - } - if x.NextPageToken == "" { - return nil - } - c.PageToken(x.NextPageToken) - } +// method id "dialogflow.projects.locations.agents.flows.pages.list": + +type ProjectsLocationsAgentsFlowsPagesListCall struct { + s *Service + parent string + urlParams_ gensupport.URLParams + ifNoneMatch_ string + ctx_ context.Context + header_ http.Header } -// method id "dialogflow.projects.locations.agents.environments.sessions.entityTypes.patch": +// List: Returns the list of all pages in the specified flow. +func (r *ProjectsLocationsAgentsFlowsPagesService) List(parent string) *ProjectsLocationsAgentsFlowsPagesListCall { + c := &ProjectsLocationsAgentsFlowsPagesListCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.parent = parent + return c +} -type ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesPatchCall struct { - s *Service - nameid string - googleclouddialogflowcxv3sessionentitytype *GoogleCloudDialogflowCxV3SessionEntityType - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header +// LanguageCode sets the optional parameter "languageCode": The language +// to list pages for. The following fields are language dependent: * +// `Page.entry_fulfillment.messages` * +// `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.message +// s` * +// `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages` +// * `Page.transition_routes.trigger_fulfillment.messages` * +// `Page.transition_route_groups.transition_routes.trigger_fulfillment.me +// ssages` If not specified, the agent's default language is used. [Many +// languages](https://cloud.google.com/dialogflow/docs/reference/language +// ) are supported. Note: languages must be enabled in the agent before +// they can be used. +func (c *ProjectsLocationsAgentsFlowsPagesListCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsFlowsPagesListCall { + c.urlParams_.Set("languageCode", languageCode) + return c } -// Patch: Updates the specified session entity type. -func (r *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesService) Patch(nameid string, googleclouddialogflowcxv3sessionentitytype *GoogleCloudDialogflowCxV3SessionEntityType) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesPatchCall { - c := &ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.nameid = nameid - c.googleclouddialogflowcxv3sessionentitytype = googleclouddialogflowcxv3sessionentitytype +// PageSize sets the optional parameter "pageSize": The maximum number +// of items to return in a single page. By default 100 and at most 1000. +func (c *ProjectsLocationsAgentsFlowsPagesListCall) PageSize(pageSize int64) *ProjectsLocationsAgentsFlowsPagesListCall { + c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) return c } -// UpdateMask sets the optional parameter "updateMask": The mask to -// control which fields get updated. -func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesPatchCall) UpdateMask(updateMask string) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesPatchCall { - c.urlParams_.Set("updateMask", updateMask) +// PageToken sets the optional parameter "pageToken": The +// next_page_token value returned from a previous list request. +func (c *ProjectsLocationsAgentsFlowsPagesListCall) PageToken(pageToken string) *ProjectsLocationsAgentsFlowsPagesListCall { + c.urlParams_.Set("pageToken", pageToken) return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesPatchCall { +func (c *ProjectsLocationsAgentsFlowsPagesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsPagesListCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } +// IfNoneMatch sets the optional parameter which makes the operation +// fail if the object's ETag matches the given value. This is useful for +// getting updates only after the object has changed since the last +// request. Use googleapi.IsNotModified to check whether the response +// error from Do is the result of In-None-Match. +func (c *ProjectsLocationsAgentsFlowsPagesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsFlowsPagesListCall { + c.ifNoneMatch_ = entityTag + return c +} + // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesPatchCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesPatchCall { +func (c *ProjectsLocationsAgentsFlowsPagesListCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsPagesListCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesPatchCall) Header() http.Header { +func (c *ProjectsLocationsAgentsFlowsPagesListCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesPatchCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsFlowsPagesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } reqHeaders.Set("User-Agent", c.s.userAgent()) - var body io.Reader = nil - body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3sessionentitytype) - if err != nil { - return nil, err + if c.ifNoneMatch_ != "" { + reqHeaders.Set("If-None-Match", c.ifNoneMatch_) } - reqHeaders.Set("Content-Type", "application/json") + var body io.Reader = nil c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+parent}/pages") urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("PATCH", urls, body) + req, err := http.NewRequest("GET", urls, body) if err != nil { return nil, err } req.Header = reqHeaders googleapi.Expand(req.URL, map[string]string{ - "name": c.nameid, + "parent": c.parent, }) return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.environments.sessions.entityTypes.patch" call. -// Exactly one of *GoogleCloudDialogflowCxV3SessionEntityType or error +// Do executes the "dialogflow.projects.locations.agents.flows.pages.list" call. +// Exactly one of *GoogleCloudDialogflowCxV3ListPagesResponse or error // will be non-nil. Any non-2xx status code is an error. Response // headers are in either -// *GoogleCloudDialogflowCxV3SessionEntityType.ServerResponse.Header or +// *GoogleCloudDialogflowCxV3ListPagesResponse.ServerResponse.Header or // (if a response was returned at all) in // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check // whether the returned error was because http.StatusNotModified was // returned. -func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3SessionEntityType, error) { +func (c *ProjectsLocationsAgentsFlowsPagesListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3ListPagesResponse, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -14882,7 +19933,7 @@ func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesPatchCall) Do(opt if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleCloudDialogflowCxV3SessionEntityType{ + ret := &GoogleCloudDialogflowCxV3ListPagesResponse{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -14894,34 +19945,41 @@ func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesPatchCall) Do(opt } return ret, nil // { - // "description": "Updates the specified session entity type.", - // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}/sessions/{sessionsId}/entityTypes/{entityTypesId}", - // "httpMethod": "PATCH", - // "id": "dialogflow.projects.locations.agents.environments.sessions.entityTypes.patch", + // "description": "Returns the list of all pages in the specified flow.", + // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/pages", + // "httpMethod": "GET", + // "id": "dialogflow.projects.locations.agents.flows.pages.list", // "parameterOrder": [ - // "name" + // "parent" // ], // "parameters": { - // "name": { - // "description": "Required. The unique identifier of the session entity type. Format: `projects//locations//agents//sessions//entityTypes/` or `projects//locations//agents//environments//sessions//entityTypes/`. If `Environment ID` is not specified, we assume default 'draft' environment.", - // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/environments/[^/]+/sessions/[^/]+/entityTypes/[^/]+$", - // "required": true, + // "languageCode": { + // "description": "The language to list pages for. The following fields are language dependent: * `Page.entry_fulfillment.messages` * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.messages` * `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages` * `Page.transition_routes.trigger_fulfillment.messages` * `Page.transition_route_groups.transition_routes.trigger_fulfillment.messages` If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", + // "location": "query", // "type": "string" // }, - // "updateMask": { - // "description": "The mask to control which fields get updated.", - // "format": "google-fieldmask", + // "pageSize": { + // "description": "The maximum number of items to return in a single page. By default 100 and at most 1000.", + // "format": "int32", + // "location": "query", + // "type": "integer" + // }, + // "pageToken": { + // "description": "The next_page_token value returned from a previous list request.", // "location": "query", // "type": "string" + // }, + // "parent": { + // "description": "Required. The flow to list all pages for. Format: `projects//locations//agents//flows/`.", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+$", + // "required": true, + // "type": "string" // } // }, - // "path": "v3/{+name}", - // "request": { - // "$ref": "GoogleCloudDialogflowCxV3SessionEntityType" - // }, + // "path": "v3/{+parent}/pages", // "response": { - // "$ref": "GoogleCloudDialogflowCxV3SessionEntityType" + // "$ref": "GoogleCloudDialogflowCxV3ListPagesResponse" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -14931,42 +19989,75 @@ func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesPatchCall) Do(opt } -// method id "dialogflow.projects.locations.agents.flows.create": +// Pages invokes f for each page of results. +// A non-nil error returned from f will halt the iteration. +// The provided context supersedes any context provided to the Context method. +func (c *ProjectsLocationsAgentsFlowsPagesListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowCxV3ListPagesResponse) error) error { + c.ctx_ = ctx + defer c.PageToken(c.urlParams_.Get("pageToken")) // reset paging to original point + for { + x, err := c.Do() + if err != nil { + return err + } + if err := f(x); err != nil { + return err + } + if x.NextPageToken == "" { + return nil + } + c.PageToken(x.NextPageToken) + } +} -type ProjectsLocationsAgentsFlowsCreateCall struct { +// method id "dialogflow.projects.locations.agents.flows.pages.patch": + +type ProjectsLocationsAgentsFlowsPagesPatchCall struct { s *Service - parent string - googleclouddialogflowcxv3flow *GoogleCloudDialogflowCxV3Flow + nameid string + googleclouddialogflowcxv3page *GoogleCloudDialogflowCxV3Page urlParams_ gensupport.URLParams ctx_ context.Context header_ http.Header } -// Create: Creates a flow in the specified agent. -func (r *ProjectsLocationsAgentsFlowsService) Create(parent string, googleclouddialogflowcxv3flow *GoogleCloudDialogflowCxV3Flow) *ProjectsLocationsAgentsFlowsCreateCall { - c := &ProjectsLocationsAgentsFlowsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.parent = parent - c.googleclouddialogflowcxv3flow = googleclouddialogflowcxv3flow +// Patch: Updates the specified page. +func (r *ProjectsLocationsAgentsFlowsPagesService) Patch(nameid string, googleclouddialogflowcxv3page *GoogleCloudDialogflowCxV3Page) *ProjectsLocationsAgentsFlowsPagesPatchCall { + c := &ProjectsLocationsAgentsFlowsPagesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.nameid = nameid + c.googleclouddialogflowcxv3page = googleclouddialogflowcxv3page return c } // LanguageCode sets the optional parameter "languageCode": The language -// of the following fields in `flow`: * -// `Flow.event_handlers.trigger_fulfillment.messages` * -// `Flow.transition_routes.trigger_fulfillment.messages` If not -// specified, the agent's default language is used. [Many +// of the following fields in `page`: * +// `Page.entry_fulfillment.messages` * +// `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.message +// s` * +// `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages` +// * `Page.transition_routes.trigger_fulfillment.messages` * +// `Page.transition_route_groups.transition_routes.trigger_fulfillment.me +// ssages` If not specified, the agent's default language is used. [Many // languages](https://cloud.google.com/dialogflow/docs/reference/language // ) are supported. Note: languages must be enabled in the agent before // they can be used. -func (c *ProjectsLocationsAgentsFlowsCreateCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsFlowsCreateCall { +func (c *ProjectsLocationsAgentsFlowsPagesPatchCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsFlowsPagesPatchCall { c.urlParams_.Set("languageCode", languageCode) return c } +// UpdateMask sets the optional parameter "updateMask": The mask to +// control which fields get updated. If the mask is not present, all +// fields will be updated. +func (c *ProjectsLocationsAgentsFlowsPagesPatchCall) UpdateMask(updateMask string) *ProjectsLocationsAgentsFlowsPagesPatchCall { + c.urlParams_.Set("updateMask", updateMask) + return c +} + // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsFlowsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsCreateCall { +func (c *ProjectsLocationsAgentsFlowsPagesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsPagesPatchCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -14974,56 +20065,56 @@ func (c *ProjectsLocationsAgentsFlowsCreateCall) Fields(s ...googleapi.Field) *P // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsFlowsCreateCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsCreateCall { +func (c *ProjectsLocationsAgentsFlowsPagesPatchCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsPagesPatchCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsFlowsCreateCall) Header() http.Header { +func (c *ProjectsLocationsAgentsFlowsPagesPatchCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsFlowsCreateCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsFlowsPagesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } reqHeaders.Set("User-Agent", c.s.userAgent()) var body io.Reader = nil - body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3flow) + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3page) if err != nil { return nil, err } reqHeaders.Set("Content-Type", "application/json") c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+parent}/flows") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}") urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("POST", urls, body) + req, err := http.NewRequest("PATCH", urls, body) if err != nil { return nil, err } req.Header = reqHeaders googleapi.Expand(req.URL, map[string]string{ - "parent": c.parent, + "name": c.nameid, }) return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.flows.create" call. -// Exactly one of *GoogleCloudDialogflowCxV3Flow or error will be +// Do executes the "dialogflow.projects.locations.agents.flows.pages.patch" call. +// Exactly one of *GoogleCloudDialogflowCxV3Page or error will be // non-nil. Any non-2xx status code is an error. Response headers are in -// either *GoogleCloudDialogflowCxV3Flow.ServerResponse.Header or (if a +// either *GoogleCloudDialogflowCxV3Page.ServerResponse.Header or (if a // response was returned at all) in error.(*googleapi.Error).Header. Use // googleapi.IsNotModified to check whether the returned error was // because http.StatusNotModified was returned. -func (c *ProjectsLocationsAgentsFlowsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3Flow, error) { +func (c *ProjectsLocationsAgentsFlowsPagesPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3Page, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -15042,7 +20133,7 @@ func (c *ProjectsLocationsAgentsFlowsCreateCall) Do(opts ...googleapi.CallOption if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleCloudDialogflowCxV3Flow{ + ret := &GoogleCloudDialogflowCxV3Page{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -15054,33 +20145,39 @@ func (c *ProjectsLocationsAgentsFlowsCreateCall) Do(opts ...googleapi.CallOption } return ret, nil // { - // "description": "Creates a flow in the specified agent.", - // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows", - // "httpMethod": "POST", - // "id": "dialogflow.projects.locations.agents.flows.create", + // "description": "Updates the specified page.", + // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/pages/{pagesId}", + // "httpMethod": "PATCH", + // "id": "dialogflow.projects.locations.agents.flows.pages.patch", // "parameterOrder": [ - // "parent" + // "name" // ], // "parameters": { // "languageCode": { - // "description": "The language of the following fields in `flow`: * `Flow.event_handlers.trigger_fulfillment.messages` * `Flow.transition_routes.trigger_fulfillment.messages` If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", + // "description": "The language of the following fields in `page`: * `Page.entry_fulfillment.messages` * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.messages` * `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages` * `Page.transition_routes.trigger_fulfillment.messages` * `Page.transition_route_groups.transition_routes.trigger_fulfillment.messages` If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", // "location": "query", // "type": "string" // }, - // "parent": { - // "description": "Required. The agent to create a flow for. Format: `projects//locations//agents/`.", + // "name": { + // "description": "The unique identifier of the page. Required for the Pages.UpdatePage method. Pages.CreatePage populates the name automatically. Format: `projects//locations//agents//flows//pages/`.", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+/pages/[^/]+$", // "required": true, // "type": "string" + // }, + // "updateMask": { + // "description": "The mask to control which fields get updated. If the mask is not present, all fields will be updated.", + // "format": "google-fieldmask", + // "location": "query", + // "type": "string" // } // }, - // "path": "v3/{+parent}/flows", + // "path": "v3/{+name}", // "request": { - // "$ref": "GoogleCloudDialogflowCxV3Flow" + // "$ref": "GoogleCloudDialogflowCxV3Page" // }, // "response": { - // "$ref": "GoogleCloudDialogflowCxV3Flow" + // "$ref": "GoogleCloudDialogflowCxV3Page" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -15090,39 +20187,41 @@ func (c *ProjectsLocationsAgentsFlowsCreateCall) Do(opts ...googleapi.CallOption } -// method id "dialogflow.projects.locations.agents.flows.delete": +// method id "dialogflow.projects.locations.agents.flows.transitionRouteGroups.create": -type ProjectsLocationsAgentsFlowsDeleteCall struct { - s *Service - name string - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header +type ProjectsLocationsAgentsFlowsTransitionRouteGroupsCreateCall struct { + s *Service + parent string + googleclouddialogflowcxv3transitionroutegroup *GoogleCloudDialogflowCxV3TransitionRouteGroup + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header } -// Delete: Deletes a specified flow. -func (r *ProjectsLocationsAgentsFlowsService) Delete(name string) *ProjectsLocationsAgentsFlowsDeleteCall { - c := &ProjectsLocationsAgentsFlowsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.name = name +// Create: Creates an TransitionRouteGroup in the specified flow. +func (r *ProjectsLocationsAgentsFlowsTransitionRouteGroupsService) Create(parent string, googleclouddialogflowcxv3transitionroutegroup *GoogleCloudDialogflowCxV3TransitionRouteGroup) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsCreateCall { + c := &ProjectsLocationsAgentsFlowsTransitionRouteGroupsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.parent = parent + c.googleclouddialogflowcxv3transitionroutegroup = googleclouddialogflowcxv3transitionroutegroup return c } -// Force sets the optional parameter "force": This field has no effect -// for flows with no incoming transitions. For flows with incoming -// transitions: * If `force` is set to false, an error will be returned -// with message indicating the incoming transitions. * If `force` is set -// to true, Dialogflow will remove the flow, as well as any transitions -// to the flow (i.e. Target flow in event handlers or Target flow in -// transition routes that point to this flow will be cleared). -func (c *ProjectsLocationsAgentsFlowsDeleteCall) Force(force bool) *ProjectsLocationsAgentsFlowsDeleteCall { - c.urlParams_.Set("force", fmt.Sprint(force)) +// LanguageCode sets the optional parameter "languageCode": The language +// to list transition route groups for. The field `messages` in +// TransitionRoute is language dependent. If not specified, the agent's +// default language is used. [Many +// languages](https://cloud.google.com/dialogflow/docs/reference/language +// ) are supported. Note: languages must be enabled in the agent before +// they can be used. +func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsCreateCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsCreateCall { + c.urlParams_.Set("languageCode", languageCode) return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsFlowsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsDeleteCall { +func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsCreateCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -15130,51 +20229,58 @@ func (c *ProjectsLocationsAgentsFlowsDeleteCall) Fields(s ...googleapi.Field) *P // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsFlowsDeleteCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsDeleteCall { +func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsCreateCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsCreateCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsFlowsDeleteCall) Header() http.Header { +func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsCreateCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsFlowsDeleteCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } reqHeaders.Set("User-Agent", c.s.userAgent()) var body io.Reader = nil + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3transitionroutegroup) + if err != nil { + return nil, err + } + reqHeaders.Set("Content-Type", "application/json") c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+parent}/transitionRouteGroups") urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("DELETE", urls, body) + req, err := http.NewRequest("POST", urls, body) if err != nil { return nil, err } req.Header = reqHeaders googleapi.Expand(req.URL, map[string]string{ - "name": c.name, + "parent": c.parent, }) return gensupport.SendRequest(c.ctx_, c.s.client, req) -} - -// Do executes the "dialogflow.projects.locations.agents.flows.delete" call. -// Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any -// non-2xx status code is an error. Response headers are in either -// *GoogleProtobufEmpty.ServerResponse.Header or (if a response was -// returned at all) in error.(*googleapi.Error).Header. Use -// googleapi.IsNotModified to check whether the returned error was -// because http.StatusNotModified was returned. -func (c *ProjectsLocationsAgentsFlowsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error) { +} + +// Do executes the "dialogflow.projects.locations.agents.flows.transitionRouteGroups.create" call. +// Exactly one of *GoogleCloudDialogflowCxV3TransitionRouteGroup or +// error will be non-nil. Any non-2xx status code is an error. Response +// headers are in either +// *GoogleCloudDialogflowCxV3TransitionRouteGroup.ServerResponse.Header +// or (if a response was returned at all) in +// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check +// whether the returned error was because http.StatusNotModified was +// returned. +func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3TransitionRouteGroup, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -15193,7 +20299,7 @@ func (c *ProjectsLocationsAgentsFlowsDeleteCall) Do(opts ...googleapi.CallOption if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleProtobufEmpty{ + ret := &GoogleCloudDialogflowCxV3TransitionRouteGroup{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -15205,30 +20311,33 @@ func (c *ProjectsLocationsAgentsFlowsDeleteCall) Do(opts ...googleapi.CallOption } return ret, nil // { - // "description": "Deletes a specified flow.", - // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}", - // "httpMethod": "DELETE", - // "id": "dialogflow.projects.locations.agents.flows.delete", + // "description": "Creates an TransitionRouteGroup in the specified flow.", + // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/transitionRouteGroups", + // "httpMethod": "POST", + // "id": "dialogflow.projects.locations.agents.flows.transitionRouteGroups.create", // "parameterOrder": [ - // "name" + // "parent" // ], // "parameters": { - // "force": { - // "description": "This field has no effect for flows with no incoming transitions. For flows with incoming transitions: * If `force` is set to false, an error will be returned with message indicating the incoming transitions. * If `force` is set to true, Dialogflow will remove the flow, as well as any transitions to the flow (i.e. Target flow in event handlers or Target flow in transition routes that point to this flow will be cleared).", + // "languageCode": { + // "description": "The language to list transition route groups for. The field `messages` in TransitionRoute is language dependent. If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", // "location": "query", - // "type": "boolean" + // "type": "string" // }, - // "name": { - // "description": "Required. The name of the flow to delete. Format: `projects//locations//agents//flows/`.", + // "parent": { + // "description": "Required. The flow to create an TransitionRouteGroup for. Format: `projects//locations//agents//flows/`.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+$", // "required": true, // "type": "string" // } // }, - // "path": "v3/{+name}", + // "path": "v3/{+parent}/transitionRouteGroups", + // "request": { + // "$ref": "GoogleCloudDialogflowCxV3TransitionRouteGroup" + // }, // "response": { - // "$ref": "GoogleProtobufEmpty" + // "$ref": "GoogleCloudDialogflowCxV3TransitionRouteGroup" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -15238,88 +20347,73 @@ func (c *ProjectsLocationsAgentsFlowsDeleteCall) Do(opts ...googleapi.CallOption } -// method id "dialogflow.projects.locations.agents.flows.get": +// method id "dialogflow.projects.locations.agents.flows.transitionRouteGroups.delete": -type ProjectsLocationsAgentsFlowsGetCall struct { - s *Service - name string - urlParams_ gensupport.URLParams - ifNoneMatch_ string - ctx_ context.Context - header_ http.Header +type ProjectsLocationsAgentsFlowsTransitionRouteGroupsDeleteCall struct { + s *Service + name string + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header } -// Get: Retrieves the specified flow. -func (r *ProjectsLocationsAgentsFlowsService) Get(name string) *ProjectsLocationsAgentsFlowsGetCall { - c := &ProjectsLocationsAgentsFlowsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} +// Delete: Deletes the specified TransitionRouteGroup. +func (r *ProjectsLocationsAgentsFlowsTransitionRouteGroupsService) Delete(name string) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsDeleteCall { + c := &ProjectsLocationsAgentsFlowsTransitionRouteGroupsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name return c } -// LanguageCode sets the optional parameter "languageCode": The language -// to retrieve the flow for. The following fields are language -// dependent: * `Flow.event_handlers.trigger_fulfillment.messages` * -// `Flow.transition_routes.trigger_fulfillment.messages` If not -// specified, the agent's default language is used. [Many -// languages](https://cloud.google.com/dialogflow/docs/reference/language -// ) are supported. Note: languages must be enabled in the agent before -// they can be used. -func (c *ProjectsLocationsAgentsFlowsGetCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsFlowsGetCall { - c.urlParams_.Set("languageCode", languageCode) +// Force sets the optional parameter "force": This field has no effect +// for transition route group that no page is using. If the transition +// route group is referenced by any page: * If `force` is set to false, +// an error will be returned with message indicating pages that +// reference the transition route group. * If `force` is set to true, +// Dialogflow will remove the transition route group, as well as any +// reference to it. +func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsDeleteCall) Force(force bool) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsDeleteCall { + c.urlParams_.Set("force", fmt.Sprint(force)) return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsFlowsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsGetCall { +func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsDeleteCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } -// IfNoneMatch sets the optional parameter which makes the operation -// fail if the object's ETag matches the given value. This is useful for -// getting updates only after the object has changed since the last -// request. Use googleapi.IsNotModified to check whether the response -// error from Do is the result of In-None-Match. -func (c *ProjectsLocationsAgentsFlowsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsFlowsGetCall { - c.ifNoneMatch_ = entityTag - return c -} - // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsFlowsGetCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsGetCall { +func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsDeleteCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsDeleteCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsFlowsGetCall) Header() http.Header { +func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsDeleteCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsFlowsGetCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } reqHeaders.Set("User-Agent", c.s.userAgent()) - if c.ifNoneMatch_ != "" { - reqHeaders.Set("If-None-Match", c.ifNoneMatch_) - } var body io.Reader = nil c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}") urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("GET", urls, body) + req, err := http.NewRequest("DELETE", urls, body) if err != nil { return nil, err } @@ -15330,14 +20424,14 @@ func (c *ProjectsLocationsAgentsFlowsGetCall) doRequest(alt string) (*http.Respo return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.flows.get" call. -// Exactly one of *GoogleCloudDialogflowCxV3Flow or error will be -// non-nil. Any non-2xx status code is an error. Response headers are in -// either *GoogleCloudDialogflowCxV3Flow.ServerResponse.Header or (if a -// response was returned at all) in error.(*googleapi.Error).Header. Use +// Do executes the "dialogflow.projects.locations.agents.flows.transitionRouteGroups.delete" call. +// Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any +// non-2xx status code is an error. Response headers are in either +// *GoogleProtobufEmpty.ServerResponse.Header or (if a response was +// returned at all) in error.(*googleapi.Error).Header. Use // googleapi.IsNotModified to check whether the returned error was // because http.StatusNotModified was returned. -func (c *ProjectsLocationsAgentsFlowsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3Flow, error) { +func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -15356,7 +20450,7 @@ func (c *ProjectsLocationsAgentsFlowsGetCall) Do(opts ...googleapi.CallOption) ( if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleCloudDialogflowCxV3Flow{ + ret := &GoogleProtobufEmpty{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -15368,30 +20462,30 @@ func (c *ProjectsLocationsAgentsFlowsGetCall) Do(opts ...googleapi.CallOption) ( } return ret, nil // { - // "description": "Retrieves the specified flow.", - // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}", - // "httpMethod": "GET", - // "id": "dialogflow.projects.locations.agents.flows.get", + // "description": "Deletes the specified TransitionRouteGroup.", + // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/transitionRouteGroups/{transitionRouteGroupsId}", + // "httpMethod": "DELETE", + // "id": "dialogflow.projects.locations.agents.flows.transitionRouteGroups.delete", // "parameterOrder": [ // "name" // ], // "parameters": { - // "languageCode": { - // "description": "The language to retrieve the flow for. The following fields are language dependent: * `Flow.event_handlers.trigger_fulfillment.messages` * `Flow.transition_routes.trigger_fulfillment.messages` If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", + // "force": { + // "description": "This field has no effect for transition route group that no page is using. If the transition route group is referenced by any page: * If `force` is set to false, an error will be returned with message indicating pages that reference the transition route group. * If `force` is set to true, Dialogflow will remove the transition route group, as well as any reference to it.", // "location": "query", - // "type": "string" + // "type": "boolean" // }, // "name": { - // "description": "Required. The name of the flow to get. Format: `projects//locations//agents//flows/`.", + // "description": "Required. The name of the TransitionRouteGroup to delete. Format: `projects//locations//agents//flows//transitionRouteGroups/`.", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+/transitionRouteGroups/[^/]+$", // "required": true, // "type": "string" // } // }, // "path": "v3/{+name}", // "response": { - // "$ref": "GoogleCloudDialogflowCxV3Flow" + // "$ref": "GoogleProtobufEmpty" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -15401,55 +20495,40 @@ func (c *ProjectsLocationsAgentsFlowsGetCall) Do(opts ...googleapi.CallOption) ( } -// method id "dialogflow.projects.locations.agents.flows.list": +// method id "dialogflow.projects.locations.agents.flows.transitionRouteGroups.get": -type ProjectsLocationsAgentsFlowsListCall struct { +type ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall struct { s *Service - parent string + name string urlParams_ gensupport.URLParams ifNoneMatch_ string ctx_ context.Context header_ http.Header } -// List: Returns the list of all flows in the specified agent. -func (r *ProjectsLocationsAgentsFlowsService) List(parent string) *ProjectsLocationsAgentsFlowsListCall { - c := &ProjectsLocationsAgentsFlowsListCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.parent = parent +// Get: Retrieves the specified TransitionRouteGroup. +func (r *ProjectsLocationsAgentsFlowsTransitionRouteGroupsService) Get(name string) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall { + c := &ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name return c } // LanguageCode sets the optional parameter "languageCode": The language -// to list flows for. The following fields are language dependent: * -// `Flow.event_handlers.trigger_fulfillment.messages` * -// `Flow.transition_routes.trigger_fulfillment.messages` If not -// specified, the agent's default language is used. [Many +// to list transition route groups for. The field `messages` in +// TransitionRoute is language dependent. If not specified, the agent's +// default language is used. [Many // languages](https://cloud.google.com/dialogflow/docs/reference/language // ) are supported. Note: languages must be enabled in the agent before // they can be used. -func (c *ProjectsLocationsAgentsFlowsListCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsFlowsListCall { +func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall { c.urlParams_.Set("languageCode", languageCode) return c } -// PageSize sets the optional parameter "pageSize": The maximum number -// of items to return in a single page. By default 100 and at most 1000. -func (c *ProjectsLocationsAgentsFlowsListCall) PageSize(pageSize int64) *ProjectsLocationsAgentsFlowsListCall { - c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) - return c -} - -// PageToken sets the optional parameter "pageToken": The -// next_page_token value returned from a previous list request. -func (c *ProjectsLocationsAgentsFlowsListCall) PageToken(pageToken string) *ProjectsLocationsAgentsFlowsListCall { - c.urlParams_.Set("pageToken", pageToken) - return c -} - // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsFlowsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsListCall { +func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -15459,7 +20538,7 @@ func (c *ProjectsLocationsAgentsFlowsListCall) Fields(s ...googleapi.Field) *Pro // getting updates only after the object has changed since the last // request. Use googleapi.IsNotModified to check whether the response // error from Do is the result of In-None-Match. -func (c *ProjectsLocationsAgentsFlowsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsFlowsListCall { +func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall { c.ifNoneMatch_ = entityTag return c } @@ -15467,23 +20546,23 @@ func (c *ProjectsLocationsAgentsFlowsListCall) IfNoneMatch(entityTag string) *Pr // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsFlowsListCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsListCall { +func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsFlowsListCall) Header() http.Header { +func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsFlowsListCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15494,7 +20573,7 @@ func (c *ProjectsLocationsAgentsFlowsListCall) doRequest(alt string) (*http.Resp var body io.Reader = nil c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+parent}/flows") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}") urls += "?" + c.urlParams_.Encode() req, err := http.NewRequest("GET", urls, body) if err != nil { @@ -15502,21 +20581,21 @@ func (c *ProjectsLocationsAgentsFlowsListCall) doRequest(alt string) (*http.Resp } req.Header = reqHeaders googleapi.Expand(req.URL, map[string]string{ - "parent": c.parent, + "name": c.name, }) return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.flows.list" call. -// Exactly one of *GoogleCloudDialogflowCxV3ListFlowsResponse or error -// will be non-nil. Any non-2xx status code is an error. Response +// Do executes the "dialogflow.projects.locations.agents.flows.transitionRouteGroups.get" call. +// Exactly one of *GoogleCloudDialogflowCxV3TransitionRouteGroup or +// error will be non-nil. Any non-2xx status code is an error. Response // headers are in either -// *GoogleCloudDialogflowCxV3ListFlowsResponse.ServerResponse.Header or -// (if a response was returned at all) in +// *GoogleCloudDialogflowCxV3TransitionRouteGroup.ServerResponse.Header +// or (if a response was returned at all) in // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check // whether the returned error was because http.StatusNotModified was // returned. -func (c *ProjectsLocationsAgentsFlowsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3ListFlowsResponse, error) { +func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3TransitionRouteGroup, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -15535,7 +20614,7 @@ func (c *ProjectsLocationsAgentsFlowsListCall) Do(opts ...googleapi.CallOption) if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleCloudDialogflowCxV3ListFlowsResponse{ + ret := &GoogleCloudDialogflowCxV3TransitionRouteGroup{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -15547,41 +20626,30 @@ func (c *ProjectsLocationsAgentsFlowsListCall) Do(opts ...googleapi.CallOption) } return ret, nil // { - // "description": "Returns the list of all flows in the specified agent.", - // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows", + // "description": "Retrieves the specified TransitionRouteGroup.", + // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/transitionRouteGroups/{transitionRouteGroupsId}", // "httpMethod": "GET", - // "id": "dialogflow.projects.locations.agents.flows.list", + // "id": "dialogflow.projects.locations.agents.flows.transitionRouteGroups.get", // "parameterOrder": [ - // "parent" + // "name" // ], // "parameters": { // "languageCode": { - // "description": "The language to list flows for. The following fields are language dependent: * `Flow.event_handlers.trigger_fulfillment.messages` * `Flow.transition_routes.trigger_fulfillment.messages` If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", - // "location": "query", - // "type": "string" - // }, - // "pageSize": { - // "description": "The maximum number of items to return in a single page. By default 100 and at most 1000.", - // "format": "int32", - // "location": "query", - // "type": "integer" - // }, - // "pageToken": { - // "description": "The next_page_token value returned from a previous list request.", + // "description": "The language to list transition route groups for. The field `messages` in TransitionRoute is language dependent. If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", // "location": "query", // "type": "string" // }, - // "parent": { - // "description": "Required. The agent containing the flows. Format: `projects//locations//agents/`.", + // "name": { + // "description": "Required. The name of the TransitionRouteGroup. Format: `projects//locations//agents//flows//transitionRouteGroups/`.", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+/transitionRouteGroups/[^/]+$", // "required": true, // "type": "string" // } // }, - // "path": "v3/{+parent}/flows", + // "path": "v3/{+name}", // "response": { - // "$ref": "GoogleCloudDialogflowCxV3ListFlowsResponse" + // "$ref": "GoogleCloudDialogflowCxV3TransitionRouteGroup" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -15591,128 +20659,123 @@ func (c *ProjectsLocationsAgentsFlowsListCall) Do(opts ...googleapi.CallOption) } -// Pages invokes f for each page of results. -// A non-nil error returned from f will halt the iteration. -// The provided context supersedes any context provided to the Context method. -func (c *ProjectsLocationsAgentsFlowsListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowCxV3ListFlowsResponse) error) error { - c.ctx_ = ctx - defer c.PageToken(c.urlParams_.Get("pageToken")) // reset paging to original point - for { - x, err := c.Do() - if err != nil { - return err - } - if err := f(x); err != nil { - return err - } - if x.NextPageToken == "" { - return nil - } - c.PageToken(x.NextPageToken) - } -} - -// method id "dialogflow.projects.locations.agents.flows.patch": +// method id "dialogflow.projects.locations.agents.flows.transitionRouteGroups.list": -type ProjectsLocationsAgentsFlowsPatchCall struct { - s *Service - nameid string - googleclouddialogflowcxv3flow *GoogleCloudDialogflowCxV3Flow - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header +type ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall struct { + s *Service + parent string + urlParams_ gensupport.URLParams + ifNoneMatch_ string + ctx_ context.Context + header_ http.Header } -// Patch: Updates the specified flow. -func (r *ProjectsLocationsAgentsFlowsService) Patch(nameid string, googleclouddialogflowcxv3flow *GoogleCloudDialogflowCxV3Flow) *ProjectsLocationsAgentsFlowsPatchCall { - c := &ProjectsLocationsAgentsFlowsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.nameid = nameid - c.googleclouddialogflowcxv3flow = googleclouddialogflowcxv3flow +// List: Returns the list of all transition route groups in the +// specified flow. +func (r *ProjectsLocationsAgentsFlowsTransitionRouteGroupsService) List(parent string) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall { + c := &ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.parent = parent return c } // LanguageCode sets the optional parameter "languageCode": The language -// of the following fields in `flow`: * -// `Flow.event_handlers.trigger_fulfillment.messages` * -// `Flow.transition_routes.trigger_fulfillment.messages` If not -// specified, the agent's default language is used. [Many +// to list transition route groups for. The field `messages` in +// TransitionRoute is language dependent. If not specified, the agent's +// default language is used. [Many // languages](https://cloud.google.com/dialogflow/docs/reference/language // ) are supported. Note: languages must be enabled in the agent before // they can be used. -func (c *ProjectsLocationsAgentsFlowsPatchCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsFlowsPatchCall { +func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall { c.urlParams_.Set("languageCode", languageCode) return c } -// UpdateMask sets the optional parameter "updateMask": Required. The -// mask to control which fields get updated. If `update_mask` is not -// specified, an error will be returned. -func (c *ProjectsLocationsAgentsFlowsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsAgentsFlowsPatchCall { - c.urlParams_.Set("updateMask", updateMask) +// PageSize sets the optional parameter "pageSize": The maximum number +// of items to return in a single page. By default 100 and at most 1000. +func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall) PageSize(pageSize int64) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall { + c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) + return c +} + +// PageToken sets the optional parameter "pageToken": The +// next_page_token value returned from a previous list request. +func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall) PageToken(pageToken string) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall { + c.urlParams_.Set("pageToken", pageToken) return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsFlowsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsPatchCall { +func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } +// IfNoneMatch sets the optional parameter which makes the operation +// fail if the object's ETag matches the given value. This is useful for +// getting updates only after the object has changed since the last +// request. Use googleapi.IsNotModified to check whether the response +// error from Do is the result of In-None-Match. +func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall { + c.ifNoneMatch_ = entityTag + return c +} + // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsFlowsPatchCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsPatchCall { +func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsFlowsPatchCall) Header() http.Header { +func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsFlowsPatchCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } reqHeaders.Set("User-Agent", c.s.userAgent()) - var body io.Reader = nil - body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3flow) - if err != nil { - return nil, err + if c.ifNoneMatch_ != "" { + reqHeaders.Set("If-None-Match", c.ifNoneMatch_) } - reqHeaders.Set("Content-Type", "application/json") + var body io.Reader = nil c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+parent}/transitionRouteGroups") urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("PATCH", urls, body) + req, err := http.NewRequest("GET", urls, body) if err != nil { return nil, err } req.Header = reqHeaders googleapi.Expand(req.URL, map[string]string{ - "name": c.nameid, + "parent": c.parent, }) return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.flows.patch" call. -// Exactly one of *GoogleCloudDialogflowCxV3Flow or error will be -// non-nil. Any non-2xx status code is an error. Response headers are in -// either *GoogleCloudDialogflowCxV3Flow.ServerResponse.Header or (if a -// response was returned at all) in error.(*googleapi.Error).Header. Use -// googleapi.IsNotModified to check whether the returned error was -// because http.StatusNotModified was returned. -func (c *ProjectsLocationsAgentsFlowsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3Flow, error) { +// Do executes the "dialogflow.projects.locations.agents.flows.transitionRouteGroups.list" call. +// Exactly one of +// *GoogleCloudDialogflowCxV3ListTransitionRouteGroupsResponse or error +// will be non-nil. Any non-2xx status code is an error. Response +// headers are in either +// *GoogleCloudDialogflowCxV3ListTransitionRouteGroupsResponse.ServerResp +// onse.Header or (if a response was returned at all) in +// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check +// whether the returned error was because http.StatusNotModified was +// returned. +func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3ListTransitionRouteGroupsResponse, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -15731,7 +20794,7 @@ func (c *ProjectsLocationsAgentsFlowsPatchCall) Do(opts ...googleapi.CallOption) if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleCloudDialogflowCxV3Flow{ + ret := &GoogleCloudDialogflowCxV3ListTransitionRouteGroupsResponse{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -15743,39 +20806,41 @@ func (c *ProjectsLocationsAgentsFlowsPatchCall) Do(opts ...googleapi.CallOption) } return ret, nil // { - // "description": "Updates the specified flow.", - // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}", - // "httpMethod": "PATCH", - // "id": "dialogflow.projects.locations.agents.flows.patch", + // "description": "Returns the list of all transition route groups in the specified flow.", + // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/transitionRouteGroups", + // "httpMethod": "GET", + // "id": "dialogflow.projects.locations.agents.flows.transitionRouteGroups.list", // "parameterOrder": [ - // "name" + // "parent" // ], // "parameters": { // "languageCode": { - // "description": "The language of the following fields in `flow`: * `Flow.event_handlers.trigger_fulfillment.messages` * `Flow.transition_routes.trigger_fulfillment.messages` If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", + // "description": "The language to list transition route groups for. The field `messages` in TransitionRoute is language dependent. If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", // "location": "query", // "type": "string" // }, - // "name": { - // "description": "The unique identifier of the flow. Format: `projects//locations//agents//flows/`.", + // "pageSize": { + // "description": "The maximum number of items to return in a single page. By default 100 and at most 1000.", + // "format": "int32", + // "location": "query", + // "type": "integer" + // }, + // "pageToken": { + // "description": "The next_page_token value returned from a previous list request.", + // "location": "query", + // "type": "string" + // }, + // "parent": { + // "description": "Required. The flow to list all transition route groups for. Format: `projects//locations//agents//flows/`.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+$", // "required": true, // "type": "string" - // }, - // "updateMask": { - // "description": "Required. The mask to control which fields get updated. If `update_mask` is not specified, an error will be returned.", - // "format": "google-fieldmask", - // "location": "query", - // "type": "string" // } // }, - // "path": "v3/{+name}", - // "request": { - // "$ref": "GoogleCloudDialogflowCxV3Flow" - // }, + // "path": "v3/{+parent}/transitionRouteGroups", // "response": { - // "$ref": "GoogleCloudDialogflowCxV3Flow" + // "$ref": "GoogleCloudDialogflowCxV3ListTransitionRouteGroupsResponse" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -15785,30 +20850,69 @@ func (c *ProjectsLocationsAgentsFlowsPatchCall) Do(opts ...googleapi.CallOption) } -// method id "dialogflow.projects.locations.agents.flows.train": +// Pages invokes f for each page of results. +// A non-nil error returned from f will halt the iteration. +// The provided context supersedes any context provided to the Context method. +func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowCxV3ListTransitionRouteGroupsResponse) error) error { + c.ctx_ = ctx + defer c.PageToken(c.urlParams_.Get("pageToken")) // reset paging to original point + for { + x, err := c.Do() + if err != nil { + return err + } + if err := f(x); err != nil { + return err + } + if x.NextPageToken == "" { + return nil + } + c.PageToken(x.NextPageToken) + } +} -type ProjectsLocationsAgentsFlowsTrainCall struct { - s *Service - name string - googleclouddialogflowcxv3trainflowrequest *GoogleCloudDialogflowCxV3TrainFlowRequest - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header +// method id "dialogflow.projects.locations.agents.flows.transitionRouteGroups.patch": + +type ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall struct { + s *Service + nameid string + googleclouddialogflowcxv3transitionroutegroup *GoogleCloudDialogflowCxV3TransitionRouteGroup + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header } -// Train: Trains the specified flow. Note that only the flow in 'draft' -// environment is trained. -func (r *ProjectsLocationsAgentsFlowsService) Train(name string, googleclouddialogflowcxv3trainflowrequest *GoogleCloudDialogflowCxV3TrainFlowRequest) *ProjectsLocationsAgentsFlowsTrainCall { - c := &ProjectsLocationsAgentsFlowsTrainCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.name = name - c.googleclouddialogflowcxv3trainflowrequest = googleclouddialogflowcxv3trainflowrequest +// Patch: Updates the specified TransitionRouteGroup. +func (r *ProjectsLocationsAgentsFlowsTransitionRouteGroupsService) Patch(nameid string, googleclouddialogflowcxv3transitionroutegroup *GoogleCloudDialogflowCxV3TransitionRouteGroup) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall { + c := &ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.nameid = nameid + c.googleclouddialogflowcxv3transitionroutegroup = googleclouddialogflowcxv3transitionroutegroup + return c +} + +// LanguageCode sets the optional parameter "languageCode": The language +// to list transition route groups for. The field `messages` in +// TransitionRoute is language dependent. If not specified, the agent's +// default language is used. [Many +// languages](https://cloud.google.com/dialogflow/docs/reference/language +// ) are supported. Note: languages must be enabled in the agent before +// they can be used. +func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall { + c.urlParams_.Set("languageCode", languageCode) + return c +} + +// UpdateMask sets the optional parameter "updateMask": The mask to +// control which fields get updated. +func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall { + c.urlParams_.Set("updateMask", updateMask) return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsFlowsTrainCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsTrainCall { +func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -15816,56 +20920,58 @@ func (c *ProjectsLocationsAgentsFlowsTrainCall) Fields(s ...googleapi.Field) *Pr // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsFlowsTrainCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsTrainCall { +func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsFlowsTrainCall) Header() http.Header { +func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsFlowsTrainCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } reqHeaders.Set("User-Agent", c.s.userAgent()) var body io.Reader = nil - body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3trainflowrequest) + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3transitionroutegroup) if err != nil { return nil, err } reqHeaders.Set("Content-Type", "application/json") c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}:train") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}") urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("POST", urls, body) + req, err := http.NewRequest("PATCH", urls, body) if err != nil { return nil, err } req.Header = reqHeaders googleapi.Expand(req.URL, map[string]string{ - "name": c.name, + "name": c.nameid, }) return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.flows.train" call. -// Exactly one of *GoogleLongrunningOperation or error will be non-nil. -// Any non-2xx status code is an error. Response headers are in either -// *GoogleLongrunningOperation.ServerResponse.Header or (if a response -// was returned at all) in error.(*googleapi.Error).Header. Use -// googleapi.IsNotModified to check whether the returned error was -// because http.StatusNotModified was returned. -func (c *ProjectsLocationsAgentsFlowsTrainCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error) { +// Do executes the "dialogflow.projects.locations.agents.flows.transitionRouteGroups.patch" call. +// Exactly one of *GoogleCloudDialogflowCxV3TransitionRouteGroup or +// error will be non-nil. Any non-2xx status code is an error. Response +// headers are in either +// *GoogleCloudDialogflowCxV3TransitionRouteGroup.ServerResponse.Header +// or (if a response was returned at all) in +// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check +// whether the returned error was because http.StatusNotModified was +// returned. +func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3TransitionRouteGroup, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -15884,7 +20990,7 @@ func (c *ProjectsLocationsAgentsFlowsTrainCall) Do(opts ...googleapi.CallOption) if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleLongrunningOperation{ + ret := &GoogleCloudDialogflowCxV3TransitionRouteGroup{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -15896,28 +21002,39 @@ func (c *ProjectsLocationsAgentsFlowsTrainCall) Do(opts ...googleapi.CallOption) } return ret, nil // { - // "description": "Trains the specified flow. Note that only the flow in 'draft' environment is trained.", - // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}:train", - // "httpMethod": "POST", - // "id": "dialogflow.projects.locations.agents.flows.train", + // "description": "Updates the specified TransitionRouteGroup.", + // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/transitionRouteGroups/{transitionRouteGroupsId}", + // "httpMethod": "PATCH", + // "id": "dialogflow.projects.locations.agents.flows.transitionRouteGroups.patch", // "parameterOrder": [ // "name" // ], // "parameters": { + // "languageCode": { + // "description": "The language to list transition route groups for. The field `messages` in TransitionRoute is language dependent. If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", + // "location": "query", + // "type": "string" + // }, // "name": { - // "description": "Required. The flow to train. Format: `projects//locations//agents//flows/`.", + // "description": "The unique identifier of the transition route group. TransitionRouteGroups.CreateTransitionRouteGroup populates the name automatically. Format: `projects//locations//agents//flows//transitionRouteGroups/`.", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+/transitionRouteGroups/[^/]+$", // "required": true, // "type": "string" + // }, + // "updateMask": { + // "description": "The mask to control which fields get updated.", + // "format": "google-fieldmask", + // "location": "query", + // "type": "string" // } // }, - // "path": "v3/{+name}:train", + // "path": "v3/{+name}", // "request": { - // "$ref": "GoogleCloudDialogflowCxV3TrainFlowRequest" + // "$ref": "GoogleCloudDialogflowCxV3TransitionRouteGroup" // }, // "response": { - // "$ref": "GoogleLongrunningOperation" + // "$ref": "GoogleCloudDialogflowCxV3TransitionRouteGroup" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -15927,46 +21044,29 @@ func (c *ProjectsLocationsAgentsFlowsTrainCall) Do(opts ...googleapi.CallOption) } -// method id "dialogflow.projects.locations.agents.flows.pages.create": +// method id "dialogflow.projects.locations.agents.flows.versions.create": -type ProjectsLocationsAgentsFlowsPagesCreateCall struct { - s *Service - parent string - googleclouddialogflowcxv3page *GoogleCloudDialogflowCxV3Page - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header +type ProjectsLocationsAgentsFlowsVersionsCreateCall struct { + s *Service + parent string + googleclouddialogflowcxv3version *GoogleCloudDialogflowCxV3Version + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header } -// Create: Creates a page in the specified flow. -func (r *ProjectsLocationsAgentsFlowsPagesService) Create(parent string, googleclouddialogflowcxv3page *GoogleCloudDialogflowCxV3Page) *ProjectsLocationsAgentsFlowsPagesCreateCall { - c := &ProjectsLocationsAgentsFlowsPagesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)} +// Create: Creates a Version in the specified Flow. +func (r *ProjectsLocationsAgentsFlowsVersionsService) Create(parent string, googleclouddialogflowcxv3version *GoogleCloudDialogflowCxV3Version) *ProjectsLocationsAgentsFlowsVersionsCreateCall { + c := &ProjectsLocationsAgentsFlowsVersionsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.parent = parent - c.googleclouddialogflowcxv3page = googleclouddialogflowcxv3page - return c -} - -// LanguageCode sets the optional parameter "languageCode": The language -// of the following fields in `page`: * -// `Page.entry_fulfillment.messages` * -// `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.message -// s` * -// `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages` -// * `Page.transition_routes.trigger_fulfillment.messages` * -// `Page.transition_route_groups.transition_routes.trigger_fulfillment.me -// ssages` If not specified, the agent's default language is used. [Many -// languages](https://cloud.google.com/dialogflow/docs/reference/language -// ) are supported. Note: languages must be enabled in the agent before -// they can be used. -func (c *ProjectsLocationsAgentsFlowsPagesCreateCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsFlowsPagesCreateCall { - c.urlParams_.Set("languageCode", languageCode) + c.googleclouddialogflowcxv3version = googleclouddialogflowcxv3version return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsFlowsPagesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsPagesCreateCall { +func (c *ProjectsLocationsAgentsFlowsVersionsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsVersionsCreateCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -15974,36 +21074,36 @@ func (c *ProjectsLocationsAgentsFlowsPagesCreateCall) Fields(s ...googleapi.Fiel // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsFlowsPagesCreateCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsPagesCreateCall { +func (c *ProjectsLocationsAgentsFlowsVersionsCreateCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsVersionsCreateCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsFlowsPagesCreateCall) Header() http.Header { +func (c *ProjectsLocationsAgentsFlowsVersionsCreateCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsFlowsPagesCreateCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsFlowsVersionsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } reqHeaders.Set("User-Agent", c.s.userAgent()) var body io.Reader = nil - body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3page) + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3version) if err != nil { return nil, err } reqHeaders.Set("Content-Type", "application/json") c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+parent}/pages") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+parent}/versions") urls += "?" + c.urlParams_.Encode() req, err := http.NewRequest("POST", urls, body) if err != nil { @@ -16016,14 +21116,14 @@ func (c *ProjectsLocationsAgentsFlowsPagesCreateCall) doRequest(alt string) (*ht return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.flows.pages.create" call. -// Exactly one of *GoogleCloudDialogflowCxV3Page or error will be -// non-nil. Any non-2xx status code is an error. Response headers are in -// either *GoogleCloudDialogflowCxV3Page.ServerResponse.Header or (if a -// response was returned at all) in error.(*googleapi.Error).Header. Use +// Do executes the "dialogflow.projects.locations.agents.flows.versions.create" call. +// Exactly one of *GoogleLongrunningOperation or error will be non-nil. +// Any non-2xx status code is an error. Response headers are in either +// *GoogleLongrunningOperation.ServerResponse.Header or (if a response +// was returned at all) in error.(*googleapi.Error).Header. Use // googleapi.IsNotModified to check whether the returned error was // because http.StatusNotModified was returned. -func (c *ProjectsLocationsAgentsFlowsPagesCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3Page, error) { +func (c *ProjectsLocationsAgentsFlowsVersionsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -16042,7 +21142,7 @@ func (c *ProjectsLocationsAgentsFlowsPagesCreateCall) Do(opts ...googleapi.CallO if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleCloudDialogflowCxV3Page{ + ret := &GoogleLongrunningOperation{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -16054,33 +21154,28 @@ func (c *ProjectsLocationsAgentsFlowsPagesCreateCall) Do(opts ...googleapi.CallO } return ret, nil // { - // "description": "Creates a page in the specified flow.", - // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/pages", + // "description": "Creates a Version in the specified Flow.", + // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/versions", // "httpMethod": "POST", - // "id": "dialogflow.projects.locations.agents.flows.pages.create", + // "id": "dialogflow.projects.locations.agents.flows.versions.create", // "parameterOrder": [ // "parent" // ], // "parameters": { - // "languageCode": { - // "description": "The language of the following fields in `page`: * `Page.entry_fulfillment.messages` * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.messages` * `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages` * `Page.transition_routes.trigger_fulfillment.messages` * `Page.transition_route_groups.transition_routes.trigger_fulfillment.messages` If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", - // "location": "query", - // "type": "string" - // }, // "parent": { - // "description": "Required. The flow to create a page for. Format: `projects//locations//agents//flows/`.", + // "description": "Required. The Flow to create an Version for. Format: `projects//locations//agents//flows/`.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+$", // "required": true, // "type": "string" // } // }, - // "path": "v3/{+parent}/pages", + // "path": "v3/{+parent}/versions", // "request": { - // "$ref": "GoogleCloudDialogflowCxV3Page" + // "$ref": "GoogleCloudDialogflowCxV3Version" // }, // "response": { - // "$ref": "GoogleCloudDialogflowCxV3Page" + // "$ref": "GoogleLongrunningOperation" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -16090,9 +21185,9 @@ func (c *ProjectsLocationsAgentsFlowsPagesCreateCall) Do(opts ...googleapi.CallO } -// method id "dialogflow.projects.locations.agents.flows.pages.delete": +// method id "dialogflow.projects.locations.agents.flows.versions.delete": -type ProjectsLocationsAgentsFlowsPagesDeleteCall struct { +type ProjectsLocationsAgentsFlowsVersionsDeleteCall struct { s *Service name string urlParams_ gensupport.URLParams @@ -16100,29 +21195,17 @@ type ProjectsLocationsAgentsFlowsPagesDeleteCall struct { header_ http.Header } -// Delete: Deletes the specified page. -func (r *ProjectsLocationsAgentsFlowsPagesService) Delete(name string) *ProjectsLocationsAgentsFlowsPagesDeleteCall { - c := &ProjectsLocationsAgentsFlowsPagesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)} +// Delete: Deletes the specified Version. +func (r *ProjectsLocationsAgentsFlowsVersionsService) Delete(name string) *ProjectsLocationsAgentsFlowsVersionsDeleteCall { + c := &ProjectsLocationsAgentsFlowsVersionsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name return c } -// Force sets the optional parameter "force": This field has no effect -// for pages with no incoming transitions. For pages with incoming -// transitions: * If `force` is set to false, an error will be returned -// with message indicating the incoming transitions. * If `force` is set -// to true, Dialogflow will remove the page, as well as any transitions -// to the page (i.e. Target page in event handlers or Target page in -// transition routes that point to this page will be cleared). -func (c *ProjectsLocationsAgentsFlowsPagesDeleteCall) Force(force bool) *ProjectsLocationsAgentsFlowsPagesDeleteCall { - c.urlParams_.Set("force", fmt.Sprint(force)) - return c -} - // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsFlowsPagesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsPagesDeleteCall { +func (c *ProjectsLocationsAgentsFlowsVersionsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsVersionsDeleteCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -16130,23 +21213,23 @@ func (c *ProjectsLocationsAgentsFlowsPagesDeleteCall) Fields(s ...googleapi.Fiel // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsFlowsPagesDeleteCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsPagesDeleteCall { +func (c *ProjectsLocationsAgentsFlowsVersionsDeleteCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsVersionsDeleteCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsFlowsPagesDeleteCall) Header() http.Header { +func (c *ProjectsLocationsAgentsFlowsVersionsDeleteCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsFlowsPagesDeleteCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsFlowsVersionsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16167,14 +21250,14 @@ func (c *ProjectsLocationsAgentsFlowsPagesDeleteCall) doRequest(alt string) (*ht return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.flows.pages.delete" call. +// Do executes the "dialogflow.projects.locations.agents.flows.versions.delete" call. // Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any // non-2xx status code is an error. Response headers are in either // *GoogleProtobufEmpty.ServerResponse.Header or (if a response was // returned at all) in error.(*googleapi.Error).Header. Use // googleapi.IsNotModified to check whether the returned error was // because http.StatusNotModified was returned. -func (c *ProjectsLocationsAgentsFlowsPagesDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error) { +func (c *ProjectsLocationsAgentsFlowsVersionsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -16205,23 +21288,18 @@ func (c *ProjectsLocationsAgentsFlowsPagesDeleteCall) Do(opts ...googleapi.CallO } return ret, nil // { - // "description": "Deletes the specified page.", - // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/pages/{pagesId}", + // "description": "Deletes the specified Version.", + // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/versions/{versionsId}", // "httpMethod": "DELETE", - // "id": "dialogflow.projects.locations.agents.flows.pages.delete", + // "id": "dialogflow.projects.locations.agents.flows.versions.delete", // "parameterOrder": [ // "name" // ], // "parameters": { - // "force": { - // "description": "This field has no effect for pages with no incoming transitions. For pages with incoming transitions: * If `force` is set to false, an error will be returned with message indicating the incoming transitions. * If `force` is set to true, Dialogflow will remove the page, as well as any transitions to the page (i.e. Target page in event handlers or Target page in transition routes that point to this page will be cleared).", - // "location": "query", - // "type": "boolean" - // }, // "name": { - // "description": "Required. The name of the page to delete. Format: `projects//locations//agents//Flows//pages/`.", + // "description": "Required. The name of the Version to delete. Format: `projects//locations//agents//flows//versions/`.", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+/pages/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+/versions/[^/]+$", // "required": true, // "type": "string" // } @@ -16238,9 +21316,9 @@ func (c *ProjectsLocationsAgentsFlowsPagesDeleteCall) Do(opts ...googleapi.CallO } -// method id "dialogflow.projects.locations.agents.flows.pages.get": +// method id "dialogflow.projects.locations.agents.flows.versions.get": -type ProjectsLocationsAgentsFlowsPagesGetCall struct { +type ProjectsLocationsAgentsFlowsVersionsGetCall struct { s *Service name string urlParams_ gensupport.URLParams @@ -16249,34 +21327,17 @@ type ProjectsLocationsAgentsFlowsPagesGetCall struct { header_ http.Header } -// Get: Retrieves the specified page. -func (r *ProjectsLocationsAgentsFlowsPagesService) Get(name string) *ProjectsLocationsAgentsFlowsPagesGetCall { - c := &ProjectsLocationsAgentsFlowsPagesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} +// Get: Retrieves the specified Version. +func (r *ProjectsLocationsAgentsFlowsVersionsService) Get(name string) *ProjectsLocationsAgentsFlowsVersionsGetCall { + c := &ProjectsLocationsAgentsFlowsVersionsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name return c } -// LanguageCode sets the optional parameter "languageCode": The language -// to retrieve the page for. The following fields are language -// dependent: * `Page.entry_fulfillment.messages` * -// `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.message -// s` * -// `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages` -// * `Page.transition_routes.trigger_fulfillment.messages` * -// `Page.transition_route_groups.transition_routes.trigger_fulfillment.me -// ssages` If not specified, the agent's default language is used. [Many -// languages](https://cloud.google.com/dialogflow/docs/reference/language -// ) are supported. Note: languages must be enabled in the agent before -// they can be used. -func (c *ProjectsLocationsAgentsFlowsPagesGetCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsFlowsPagesGetCall { - c.urlParams_.Set("languageCode", languageCode) - return c -} - // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsFlowsPagesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsPagesGetCall { +func (c *ProjectsLocationsAgentsFlowsVersionsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsVersionsGetCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -16286,7 +21347,7 @@ func (c *ProjectsLocationsAgentsFlowsPagesGetCall) Fields(s ...googleapi.Field) // getting updates only after the object has changed since the last // request. Use googleapi.IsNotModified to check whether the response // error from Do is the result of In-None-Match. -func (c *ProjectsLocationsAgentsFlowsPagesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsFlowsPagesGetCall { +func (c *ProjectsLocationsAgentsFlowsVersionsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsFlowsVersionsGetCall { c.ifNoneMatch_ = entityTag return c } @@ -16294,23 +21355,23 @@ func (c *ProjectsLocationsAgentsFlowsPagesGetCall) IfNoneMatch(entityTag string) // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsFlowsPagesGetCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsPagesGetCall { +func (c *ProjectsLocationsAgentsFlowsVersionsGetCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsVersionsGetCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsFlowsPagesGetCall) Header() http.Header { +func (c *ProjectsLocationsAgentsFlowsVersionsGetCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsFlowsPagesGetCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsFlowsVersionsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16334,14 +21395,14 @@ func (c *ProjectsLocationsAgentsFlowsPagesGetCall) doRequest(alt string) (*http. return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.flows.pages.get" call. -// Exactly one of *GoogleCloudDialogflowCxV3Page or error will be +// Do executes the "dialogflow.projects.locations.agents.flows.versions.get" call. +// Exactly one of *GoogleCloudDialogflowCxV3Version or error will be // non-nil. Any non-2xx status code is an error. Response headers are in -// either *GoogleCloudDialogflowCxV3Page.ServerResponse.Header or (if a -// response was returned at all) in error.(*googleapi.Error).Header. Use -// googleapi.IsNotModified to check whether the returned error was +// either *GoogleCloudDialogflowCxV3Version.ServerResponse.Header or (if +// a response was returned at all) in error.(*googleapi.Error).Header. +// Use googleapi.IsNotModified to check whether the returned error was // because http.StatusNotModified was returned. -func (c *ProjectsLocationsAgentsFlowsPagesGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3Page, error) { +func (c *ProjectsLocationsAgentsFlowsVersionsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3Version, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -16360,7 +21421,7 @@ func (c *ProjectsLocationsAgentsFlowsPagesGetCall) Do(opts ...googleapi.CallOpti if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleCloudDialogflowCxV3Page{ + ret := &GoogleCloudDialogflowCxV3Version{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -16372,30 +21433,25 @@ func (c *ProjectsLocationsAgentsFlowsPagesGetCall) Do(opts ...googleapi.CallOpti } return ret, nil // { - // "description": "Retrieves the specified page.", - // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/pages/{pagesId}", + // "description": "Retrieves the specified Version.", + // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/versions/{versionsId}", // "httpMethod": "GET", - // "id": "dialogflow.projects.locations.agents.flows.pages.get", + // "id": "dialogflow.projects.locations.agents.flows.versions.get", // "parameterOrder": [ // "name" // ], // "parameters": { - // "languageCode": { - // "description": "The language to retrieve the page for. The following fields are language dependent: * `Page.entry_fulfillment.messages` * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.messages` * `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages` * `Page.transition_routes.trigger_fulfillment.messages` * `Page.transition_route_groups.transition_routes.trigger_fulfillment.messages` If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", - // "location": "query", - // "type": "string" - // }, // "name": { - // "description": "Required. The name of the page. Format: `projects//locations//agents//flows//pages/`.", + // "description": "Required. The name of the Version. Format: `projects//locations//agents//flows//versions/`.", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+/pages/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+/versions/[^/]+$", // "required": true, // "type": "string" // } // }, // "path": "v3/{+name}", // "response": { - // "$ref": "GoogleCloudDialogflowCxV3Page" + // "$ref": "GoogleCloudDialogflowCxV3Version" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -16405,9 +21461,9 @@ func (c *ProjectsLocationsAgentsFlowsPagesGetCall) Do(opts ...googleapi.CallOpti } -// method id "dialogflow.projects.locations.agents.flows.pages.list": +// method id "dialogflow.projects.locations.agents.flows.versions.list": -type ProjectsLocationsAgentsFlowsPagesListCall struct { +type ProjectsLocationsAgentsFlowsVersionsListCall struct { s *Service parent string urlParams_ gensupport.URLParams @@ -16416,40 +21472,23 @@ type ProjectsLocationsAgentsFlowsPagesListCall struct { header_ http.Header } -// List: Returns the list of all pages in the specified flow. -func (r *ProjectsLocationsAgentsFlowsPagesService) List(parent string) *ProjectsLocationsAgentsFlowsPagesListCall { - c := &ProjectsLocationsAgentsFlowsPagesListCall{s: r.s, urlParams_: make(gensupport.URLParams)} +// List: Returns the list of all versions in the specified Flow. +func (r *ProjectsLocationsAgentsFlowsVersionsService) List(parent string) *ProjectsLocationsAgentsFlowsVersionsListCall { + c := &ProjectsLocationsAgentsFlowsVersionsListCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.parent = parent return c } -// LanguageCode sets the optional parameter "languageCode": The language -// to list pages for. The following fields are language dependent: * -// `Page.entry_fulfillment.messages` * -// `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.message -// s` * -// `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages` -// * `Page.transition_routes.trigger_fulfillment.messages` * -// `Page.transition_route_groups.transition_routes.trigger_fulfillment.me -// ssages` If not specified, the agent's default language is used. [Many -// languages](https://cloud.google.com/dialogflow/docs/reference/language -// ) are supported. Note: languages must be enabled in the agent before -// they can be used. -func (c *ProjectsLocationsAgentsFlowsPagesListCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsFlowsPagesListCall { - c.urlParams_.Set("languageCode", languageCode) - return c -} - // PageSize sets the optional parameter "pageSize": The maximum number -// of items to return in a single page. By default 100 and at most 1000. -func (c *ProjectsLocationsAgentsFlowsPagesListCall) PageSize(pageSize int64) *ProjectsLocationsAgentsFlowsPagesListCall { +// of items to return in a single page. By default 20 and at most 100. +func (c *ProjectsLocationsAgentsFlowsVersionsListCall) PageSize(pageSize int64) *ProjectsLocationsAgentsFlowsVersionsListCall { c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) return c } // PageToken sets the optional parameter "pageToken": The // next_page_token value returned from a previous list request. -func (c *ProjectsLocationsAgentsFlowsPagesListCall) PageToken(pageToken string) *ProjectsLocationsAgentsFlowsPagesListCall { +func (c *ProjectsLocationsAgentsFlowsVersionsListCall) PageToken(pageToken string) *ProjectsLocationsAgentsFlowsVersionsListCall { c.urlParams_.Set("pageToken", pageToken) return c } @@ -16457,7 +21496,7 @@ func (c *ProjectsLocationsAgentsFlowsPagesListCall) PageToken(pageToken string) // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsFlowsPagesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsPagesListCall { +func (c *ProjectsLocationsAgentsFlowsVersionsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsVersionsListCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -16467,7 +21506,7 @@ func (c *ProjectsLocationsAgentsFlowsPagesListCall) Fields(s ...googleapi.Field) // getting updates only after the object has changed since the last // request. Use googleapi.IsNotModified to check whether the response // error from Do is the result of In-None-Match. -func (c *ProjectsLocationsAgentsFlowsPagesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsFlowsPagesListCall { +func (c *ProjectsLocationsAgentsFlowsVersionsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsFlowsVersionsListCall { c.ifNoneMatch_ = entityTag return c } @@ -16475,23 +21514,23 @@ func (c *ProjectsLocationsAgentsFlowsPagesListCall) IfNoneMatch(entityTag string // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsFlowsPagesListCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsPagesListCall { +func (c *ProjectsLocationsAgentsFlowsVersionsListCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsVersionsListCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsFlowsPagesListCall) Header() http.Header { +func (c *ProjectsLocationsAgentsFlowsVersionsListCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsFlowsPagesListCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsFlowsVersionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16502,7 +21541,7 @@ func (c *ProjectsLocationsAgentsFlowsPagesListCall) doRequest(alt string) (*http var body io.Reader = nil c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+parent}/pages") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+parent}/versions") urls += "?" + c.urlParams_.Encode() req, err := http.NewRequest("GET", urls, body) if err != nil { @@ -16515,16 +21554,16 @@ func (c *ProjectsLocationsAgentsFlowsPagesListCall) doRequest(alt string) (*http return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.flows.pages.list" call. -// Exactly one of *GoogleCloudDialogflowCxV3ListPagesResponse or error -// will be non-nil. Any non-2xx status code is an error. Response +// Do executes the "dialogflow.projects.locations.agents.flows.versions.list" call. +// Exactly one of *GoogleCloudDialogflowCxV3ListVersionsResponse or +// error will be non-nil. Any non-2xx status code is an error. Response // headers are in either -// *GoogleCloudDialogflowCxV3ListPagesResponse.ServerResponse.Header or -// (if a response was returned at all) in +// *GoogleCloudDialogflowCxV3ListVersionsResponse.ServerResponse.Header +// or (if a response was returned at all) in // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check // whether the returned error was because http.StatusNotModified was // returned. -func (c *ProjectsLocationsAgentsFlowsPagesListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3ListPagesResponse, error) { +func (c *ProjectsLocationsAgentsFlowsVersionsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3ListVersionsResponse, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -16543,7 +21582,7 @@ func (c *ProjectsLocationsAgentsFlowsPagesListCall) Do(opts ...googleapi.CallOpt if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleCloudDialogflowCxV3ListPagesResponse{ + ret := &GoogleCloudDialogflowCxV3ListVersionsResponse{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -16555,21 +21594,16 @@ func (c *ProjectsLocationsAgentsFlowsPagesListCall) Do(opts ...googleapi.CallOpt } return ret, nil // { - // "description": "Returns the list of all pages in the specified flow.", - // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/pages", + // "description": "Returns the list of all versions in the specified Flow.", + // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/versions", // "httpMethod": "GET", - // "id": "dialogflow.projects.locations.agents.flows.pages.list", + // "id": "dialogflow.projects.locations.agents.flows.versions.list", // "parameterOrder": [ // "parent" // ], // "parameters": { - // "languageCode": { - // "description": "The language to list pages for. The following fields are language dependent: * `Page.entry_fulfillment.messages` * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.messages` * `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages` * `Page.transition_routes.trigger_fulfillment.messages` * `Page.transition_route_groups.transition_routes.trigger_fulfillment.messages` If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", - // "location": "query", - // "type": "string" - // }, // "pageSize": { - // "description": "The maximum number of items to return in a single page. By default 100 and at most 1000.", + // "description": "The maximum number of items to return in a single page. By default 20 and at most 100.", // "format": "int32", // "location": "query", // "type": "integer" @@ -16580,16 +21614,16 @@ func (c *ProjectsLocationsAgentsFlowsPagesListCall) Do(opts ...googleapi.CallOpt // "type": "string" // }, // "parent": { - // "description": "Required. The flow to list all pages for. Format: `projects//locations//agents//flows/`.", + // "description": "Required. The Flow to list all versions for. Format: `projects//locations//agents//flows/`.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+$", // "required": true, // "type": "string" // } // }, - // "path": "v3/{+parent}/pages", + // "path": "v3/{+parent}/versions", // "response": { - // "$ref": "GoogleCloudDialogflowCxV3ListPagesResponse" + // "$ref": "GoogleCloudDialogflowCxV3ListVersionsResponse" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -16602,7 +21636,7 @@ func (c *ProjectsLocationsAgentsFlowsPagesListCall) Do(opts ...googleapi.CallOpt // Pages invokes f for each page of results. // A non-nil error returned from f will halt the iteration. // The provided context supersedes any context provided to the Context method. -func (c *ProjectsLocationsAgentsFlowsPagesListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowCxV3ListPagesResponse) error) error { +func (c *ProjectsLocationsAgentsFlowsVersionsListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowCxV3ListVersionsResponse) error) error { c.ctx_ = ctx defer c.PageToken(c.urlParams_.Get("pageToken")) // reset paging to original point for { @@ -16620,46 +21654,170 @@ func (c *ProjectsLocationsAgentsFlowsPagesListCall) Pages(ctx context.Context, f } } -// method id "dialogflow.projects.locations.agents.flows.pages.patch": +// method id "dialogflow.projects.locations.agents.flows.versions.load": -type ProjectsLocationsAgentsFlowsPagesPatchCall struct { - s *Service - nameid string - googleclouddialogflowcxv3page *GoogleCloudDialogflowCxV3Page - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header +type ProjectsLocationsAgentsFlowsVersionsLoadCall struct { + s *Service + name string + googleclouddialogflowcxv3loadversionrequest *GoogleCloudDialogflowCxV3LoadVersionRequest + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header } -// Patch: Updates the specified page. -func (r *ProjectsLocationsAgentsFlowsPagesService) Patch(nameid string, googleclouddialogflowcxv3page *GoogleCloudDialogflowCxV3Page) *ProjectsLocationsAgentsFlowsPagesPatchCall { - c := &ProjectsLocationsAgentsFlowsPagesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.nameid = nameid - c.googleclouddialogflowcxv3page = googleclouddialogflowcxv3page +// Load: Loads a specified version to draft version. +func (r *ProjectsLocationsAgentsFlowsVersionsService) Load(name string, googleclouddialogflowcxv3loadversionrequest *GoogleCloudDialogflowCxV3LoadVersionRequest) *ProjectsLocationsAgentsFlowsVersionsLoadCall { + c := &ProjectsLocationsAgentsFlowsVersionsLoadCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name + c.googleclouddialogflowcxv3loadversionrequest = googleclouddialogflowcxv3loadversionrequest return c } -// LanguageCode sets the optional parameter "languageCode": The language -// of the following fields in `page`: * -// `Page.entry_fulfillment.messages` * -// `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.message -// s` * -// `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages` -// * `Page.transition_routes.trigger_fulfillment.messages` * -// `Page.transition_route_groups.transition_routes.trigger_fulfillment.me -// ssages` If not specified, the agent's default language is used. [Many -// languages](https://cloud.google.com/dialogflow/docs/reference/language -// ) are supported. Note: languages must be enabled in the agent before -// they can be used. -func (c *ProjectsLocationsAgentsFlowsPagesPatchCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsFlowsPagesPatchCall { - c.urlParams_.Set("languageCode", languageCode) +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsAgentsFlowsVersionsLoadCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsVersionsLoadCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } -// UpdateMask sets the optional parameter "updateMask": The mask to -// control which fields get updated. If the mask is not present, all -// fields will be updated. -func (c *ProjectsLocationsAgentsFlowsPagesPatchCall) UpdateMask(updateMask string) *ProjectsLocationsAgentsFlowsPagesPatchCall { +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsLocationsAgentsFlowsVersionsLoadCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsVersionsLoadCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsLocationsAgentsFlowsVersionsLoadCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsAgentsFlowsVersionsLoadCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + var body io.Reader = nil + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3loadversionrequest) + if err != nil { + return nil, err + } + reqHeaders.Set("Content-Type", "application/json") + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}:load") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("POST", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "name": c.name, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "dialogflow.projects.locations.agents.flows.versions.load" call. +// Exactly one of *GoogleLongrunningOperation or error will be non-nil. +// Any non-2xx status code is an error. Response headers are in either +// *GoogleLongrunningOperation.ServerResponse.Header or (if a response +// was returned at all) in error.(*googleapi.Error).Header. Use +// googleapi.IsNotModified to check whether the returned error was +// because http.StatusNotModified was returned. +func (c *ProjectsLocationsAgentsFlowsVersionsLoadCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &GoogleLongrunningOperation{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Loads a specified version to draft version.", + // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/versions/{versionsId}:load", + // "httpMethod": "POST", + // "id": "dialogflow.projects.locations.agents.flows.versions.load", + // "parameterOrder": [ + // "name" + // ], + // "parameters": { + // "name": { + // "description": "Required. The Version to be loaded to draft version. Format: `projects//locations//agents//flows//versions/`.", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+/versions/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v3/{+name}:load", + // "request": { + // "$ref": "GoogleCloudDialogflowCxV3LoadVersionRequest" + // }, + // "response": { + // "$ref": "GoogleLongrunningOperation" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", + // "https://www.googleapis.com/auth/dialogflow" + // ] + // } + +} + +// method id "dialogflow.projects.locations.agents.flows.versions.patch": + +type ProjectsLocationsAgentsFlowsVersionsPatchCall struct { + s *Service + name string + googleclouddialogflowcxv3version *GoogleCloudDialogflowCxV3Version + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// Patch: Updates the specified Version. +func (r *ProjectsLocationsAgentsFlowsVersionsService) Patch(name string, googleclouddialogflowcxv3version *GoogleCloudDialogflowCxV3Version) *ProjectsLocationsAgentsFlowsVersionsPatchCall { + c := &ProjectsLocationsAgentsFlowsVersionsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name + c.googleclouddialogflowcxv3version = googleclouddialogflowcxv3version + return c +} + +// UpdateMask sets the optional parameter "updateMask": Required. The +// mask to control which fields get updated. Currently only +// `description` and `display_name` can be updated. +func (c *ProjectsLocationsAgentsFlowsVersionsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsAgentsFlowsVersionsPatchCall { c.urlParams_.Set("updateMask", updateMask) return c } @@ -16667,7 +21825,7 @@ func (c *ProjectsLocationsAgentsFlowsPagesPatchCall) UpdateMask(updateMask strin // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsFlowsPagesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsPagesPatchCall { +func (c *ProjectsLocationsAgentsFlowsVersionsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsVersionsPatchCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -16675,29 +21833,29 @@ func (c *ProjectsLocationsAgentsFlowsPagesPatchCall) Fields(s ...googleapi.Field // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsFlowsPagesPatchCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsPagesPatchCall { +func (c *ProjectsLocationsAgentsFlowsVersionsPatchCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsVersionsPatchCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsFlowsPagesPatchCall) Header() http.Header { +func (c *ProjectsLocationsAgentsFlowsVersionsPatchCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsFlowsPagesPatchCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsFlowsVersionsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } reqHeaders.Set("User-Agent", c.s.userAgent()) var body io.Reader = nil - body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3page) + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3version) if err != nil { return nil, err } @@ -16712,19 +21870,19 @@ func (c *ProjectsLocationsAgentsFlowsPagesPatchCall) doRequest(alt string) (*htt } req.Header = reqHeaders googleapi.Expand(req.URL, map[string]string{ - "name": c.nameid, + "name": c.name, }) return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.flows.pages.patch" call. -// Exactly one of *GoogleCloudDialogflowCxV3Page or error will be +// Do executes the "dialogflow.projects.locations.agents.flows.versions.patch" call. +// Exactly one of *GoogleCloudDialogflowCxV3Version or error will be // non-nil. Any non-2xx status code is an error. Response headers are in -// either *GoogleCloudDialogflowCxV3Page.ServerResponse.Header or (if a -// response was returned at all) in error.(*googleapi.Error).Header. Use -// googleapi.IsNotModified to check whether the returned error was +// either *GoogleCloudDialogflowCxV3Version.ServerResponse.Header or (if +// a response was returned at all) in error.(*googleapi.Error).Header. +// Use googleapi.IsNotModified to check whether the returned error was // because http.StatusNotModified was returned. -func (c *ProjectsLocationsAgentsFlowsPagesPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3Page, error) { +func (c *ProjectsLocationsAgentsFlowsVersionsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3Version, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -16743,7 +21901,7 @@ func (c *ProjectsLocationsAgentsFlowsPagesPatchCall) Do(opts ...googleapi.CallOp if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleCloudDialogflowCxV3Page{ + ret := &GoogleCloudDialogflowCxV3Version{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -16755,28 +21913,23 @@ func (c *ProjectsLocationsAgentsFlowsPagesPatchCall) Do(opts ...googleapi.CallOp } return ret, nil // { - // "description": "Updates the specified page.", - // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/pages/{pagesId}", + // "description": "Updates the specified Version.", + // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/versions/{versionsId}", // "httpMethod": "PATCH", - // "id": "dialogflow.projects.locations.agents.flows.pages.patch", + // "id": "dialogflow.projects.locations.agents.flows.versions.patch", // "parameterOrder": [ // "name" // ], // "parameters": { - // "languageCode": { - // "description": "The language of the following fields in `page`: * `Page.entry_fulfillment.messages` * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.messages` * `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages` * `Page.transition_routes.trigger_fulfillment.messages` * `Page.transition_route_groups.transition_routes.trigger_fulfillment.messages` If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", - // "location": "query", - // "type": "string" - // }, // "name": { - // "description": "The unique identifier of the page. Required for the Pages.UpdatePage method. Pages.CreatePage populates the name automatically. Format: `projects//locations//agents//flows//pages/`.", + // "description": "Format: projects//locations//agents//flows//versions/. Version ID is a self-increasing number generated by Dialogflow upon version creation.", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+/pages/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+/versions/[^/]+$", // "required": true, // "type": "string" // }, // "updateMask": { - // "description": "The mask to control which fields get updated. If the mask is not present, all fields will be updated.", + // "description": "Required. The mask to control which fields get updated. Currently only `description` and `display_name` can be updated.", // "format": "google-fieldmask", // "location": "query", // "type": "string" @@ -16784,10 +21937,10 @@ func (c *ProjectsLocationsAgentsFlowsPagesPatchCall) Do(opts ...googleapi.CallOp // }, // "path": "v3/{+name}", // "request": { - // "$ref": "GoogleCloudDialogflowCxV3Page" + // "$ref": "GoogleCloudDialogflowCxV3Version" // }, // "response": { - // "$ref": "GoogleCloudDialogflowCxV3Page" + // "$ref": "GoogleCloudDialogflowCxV3Version" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -16797,33 +21950,33 @@ func (c *ProjectsLocationsAgentsFlowsPagesPatchCall) Do(opts ...googleapi.CallOp } -// method id "dialogflow.projects.locations.agents.flows.transitionRouteGroups.create": +// method id "dialogflow.projects.locations.agents.intents.create": -type ProjectsLocationsAgentsFlowsTransitionRouteGroupsCreateCall struct { - s *Service - parent string - googleclouddialogflowcxv3transitionroutegroup *GoogleCloudDialogflowCxV3TransitionRouteGroup - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header +type ProjectsLocationsAgentsIntentsCreateCall struct { + s *Service + parent string + googleclouddialogflowcxv3intent *GoogleCloudDialogflowCxV3Intent + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header } -// Create: Creates an TransitionRouteGroup in the specified flow. -func (r *ProjectsLocationsAgentsFlowsTransitionRouteGroupsService) Create(parent string, googleclouddialogflowcxv3transitionroutegroup *GoogleCloudDialogflowCxV3TransitionRouteGroup) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsCreateCall { - c := &ProjectsLocationsAgentsFlowsTransitionRouteGroupsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)} +// Create: Creates an intent in the specified agent. +func (r *ProjectsLocationsAgentsIntentsService) Create(parent string, googleclouddialogflowcxv3intent *GoogleCloudDialogflowCxV3Intent) *ProjectsLocationsAgentsIntentsCreateCall { + c := &ProjectsLocationsAgentsIntentsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.parent = parent - c.googleclouddialogflowcxv3transitionroutegroup = googleclouddialogflowcxv3transitionroutegroup + c.googleclouddialogflowcxv3intent = googleclouddialogflowcxv3intent return c } // LanguageCode sets the optional parameter "languageCode": The language -// to list transition route groups for. The field `messages` in -// TransitionRoute is language dependent. If not specified, the agent's +// of the following fields in `intent`: * +// `Intent.training_phrases.parts.text` If not specified, the agent's // default language is used. [Many // languages](https://cloud.google.com/dialogflow/docs/reference/language // ) are supported. Note: languages must be enabled in the agent before // they can be used. -func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsCreateCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsCreateCall { +func (c *ProjectsLocationsAgentsIntentsCreateCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsIntentsCreateCall { c.urlParams_.Set("languageCode", languageCode) return c } @@ -16831,7 +21984,7 @@ func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsCreateCall) LanguageCo // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsCreateCall { +func (c *ProjectsLocationsAgentsIntentsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsIntentsCreateCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -16839,36 +21992,36 @@ func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsCreateCall) Fields(s . // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsCreateCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsCreateCall { +func (c *ProjectsLocationsAgentsIntentsCreateCall) Context(ctx context.Context) *ProjectsLocationsAgentsIntentsCreateCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsCreateCall) Header() http.Header { +func (c *ProjectsLocationsAgentsIntentsCreateCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsCreateCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsIntentsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } reqHeaders.Set("User-Agent", c.s.userAgent()) var body io.Reader = nil - body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3transitionroutegroup) + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3intent) if err != nil { return nil, err } reqHeaders.Set("Content-Type", "application/json") c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+parent}/transitionRouteGroups") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+parent}/intents") urls += "?" + c.urlParams_.Encode() req, err := http.NewRequest("POST", urls, body) if err != nil { @@ -16881,16 +22034,14 @@ func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsCreateCall) doRequest( return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.flows.transitionRouteGroups.create" call. -// Exactly one of *GoogleCloudDialogflowCxV3TransitionRouteGroup or -// error will be non-nil. Any non-2xx status code is an error. Response -// headers are in either -// *GoogleCloudDialogflowCxV3TransitionRouteGroup.ServerResponse.Header -// or (if a response was returned at all) in -// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check -// whether the returned error was because http.StatusNotModified was -// returned. -func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3TransitionRouteGroup, error) { +// Do executes the "dialogflow.projects.locations.agents.intents.create" call. +// Exactly one of *GoogleCloudDialogflowCxV3Intent or error will be +// non-nil. Any non-2xx status code is an error. Response headers are in +// either *GoogleCloudDialogflowCxV3Intent.ServerResponse.Header or (if +// a response was returned at all) in error.(*googleapi.Error).Header. +// Use googleapi.IsNotModified to check whether the returned error was +// because http.StatusNotModified was returned. +func (c *ProjectsLocationsAgentsIntentsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3Intent, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -16909,7 +22060,7 @@ func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsCreateCall) Do(opts .. if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleCloudDialogflowCxV3TransitionRouteGroup{ + ret := &GoogleCloudDialogflowCxV3Intent{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -16921,33 +22072,33 @@ func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsCreateCall) Do(opts .. } return ret, nil // { - // "description": "Creates an TransitionRouteGroup in the specified flow.", - // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/transitionRouteGroups", + // "description": "Creates an intent in the specified agent.", + // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/intents", // "httpMethod": "POST", - // "id": "dialogflow.projects.locations.agents.flows.transitionRouteGroups.create", + // "id": "dialogflow.projects.locations.agents.intents.create", // "parameterOrder": [ // "parent" // ], // "parameters": { // "languageCode": { - // "description": "The language to list transition route groups for. The field `messages` in TransitionRoute is language dependent. If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", + // "description": "The language of the following fields in `intent`: * `Intent.training_phrases.parts.text` If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", // "location": "query", // "type": "string" // }, // "parent": { - // "description": "Required. The flow to create an TransitionRouteGroup for. Format: `projects//locations//agents//flows/`.", + // "description": "Required. The agent to create an intent for. Format: `projects//locations//agents/`.", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", // "required": true, // "type": "string" // } // }, - // "path": "v3/{+parent}/transitionRouteGroups", + // "path": "v3/{+parent}/intents", // "request": { - // "$ref": "GoogleCloudDialogflowCxV3TransitionRouteGroup" + // "$ref": "GoogleCloudDialogflowCxV3Intent" // }, // "response": { - // "$ref": "GoogleCloudDialogflowCxV3TransitionRouteGroup" + // "$ref": "GoogleCloudDialogflowCxV3Intent" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -16957,9 +22108,9 @@ func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsCreateCall) Do(opts .. } -// method id "dialogflow.projects.locations.agents.flows.transitionRouteGroups.delete": +// method id "dialogflow.projects.locations.agents.intents.delete": -type ProjectsLocationsAgentsFlowsTransitionRouteGroupsDeleteCall struct { +type ProjectsLocationsAgentsIntentsDeleteCall struct { s *Service name string urlParams_ gensupport.URLParams @@ -16967,29 +22118,17 @@ type ProjectsLocationsAgentsFlowsTransitionRouteGroupsDeleteCall struct { header_ http.Header } -// Delete: Deletes the specified TransitionRouteGroup. -func (r *ProjectsLocationsAgentsFlowsTransitionRouteGroupsService) Delete(name string) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsDeleteCall { - c := &ProjectsLocationsAgentsFlowsTransitionRouteGroupsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)} +// Delete: Deletes the specified intent. +func (r *ProjectsLocationsAgentsIntentsService) Delete(name string) *ProjectsLocationsAgentsIntentsDeleteCall { + c := &ProjectsLocationsAgentsIntentsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name return c } -// Force sets the optional parameter "force": This field has no effect -// for transition route group that no page is using. If the transition -// route group is referenced by any page: * If `force` is set to false, -// an error will be returned with message indicating pages that -// reference the transition route group. * If `force` is set to true, -// Dialogflow will remove the transition route group, as well as any -// reference to it. -func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsDeleteCall) Force(force bool) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsDeleteCall { - c.urlParams_.Set("force", fmt.Sprint(force)) - return c -} - // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsDeleteCall { +func (c *ProjectsLocationsAgentsIntentsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsIntentsDeleteCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -16997,23 +22136,23 @@ func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsDeleteCall) Fields(s . // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsDeleteCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsDeleteCall { +func (c *ProjectsLocationsAgentsIntentsDeleteCall) Context(ctx context.Context) *ProjectsLocationsAgentsIntentsDeleteCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsDeleteCall) Header() http.Header { +func (c *ProjectsLocationsAgentsIntentsDeleteCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsDeleteCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsIntentsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17034,14 +22173,14 @@ func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsDeleteCall) doRequest( return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.flows.transitionRouteGroups.delete" call. +// Do executes the "dialogflow.projects.locations.agents.intents.delete" call. // Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any // non-2xx status code is an error. Response headers are in either // *GoogleProtobufEmpty.ServerResponse.Header or (if a response was // returned at all) in error.(*googleapi.Error).Header. Use // googleapi.IsNotModified to check whether the returned error was // because http.StatusNotModified was returned. -func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error) { +func (c *ProjectsLocationsAgentsIntentsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -17072,23 +22211,18 @@ func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsDeleteCall) Do(opts .. } return ret, nil // { - // "description": "Deletes the specified TransitionRouteGroup.", - // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/transitionRouteGroups/{transitionRouteGroupsId}", + // "description": "Deletes the specified intent.", + // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/intents/{intentsId}", // "httpMethod": "DELETE", - // "id": "dialogflow.projects.locations.agents.flows.transitionRouteGroups.delete", + // "id": "dialogflow.projects.locations.agents.intents.delete", // "parameterOrder": [ // "name" // ], // "parameters": { - // "force": { - // "description": "This field has no effect for transition route group that no page is using. If the transition route group is referenced by any page: * If `force` is set to false, an error will be returned with message indicating pages that reference the transition route group. * If `force` is set to true, Dialogflow will remove the transition route group, as well as any reference to it.", - // "location": "query", - // "type": "boolean" - // }, // "name": { - // "description": "Required. The name of the TransitionRouteGroup to delete. Format: `projects//locations//agents//flows//transitionRouteGroups/`.", + // "description": "Required. The name of the intent to delete. Format: `projects//locations//agents//intents/`.", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+/transitionRouteGroups/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/intents/[^/]+$", // "required": true, // "type": "string" // } @@ -17105,9 +22239,9 @@ func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsDeleteCall) Do(opts .. } -// method id "dialogflow.projects.locations.agents.flows.transitionRouteGroups.get": +// method id "dialogflow.projects.locations.agents.intents.get": -type ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall struct { +type ProjectsLocationsAgentsIntentsGetCall struct { s *Service name string urlParams_ gensupport.URLParams @@ -17116,21 +22250,21 @@ type ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall struct { header_ http.Header } -// Get: Retrieves the specified TransitionRouteGroup. -func (r *ProjectsLocationsAgentsFlowsTransitionRouteGroupsService) Get(name string) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall { - c := &ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} +// Get: Retrieves the specified intent. +func (r *ProjectsLocationsAgentsIntentsService) Get(name string) *ProjectsLocationsAgentsIntentsGetCall { + c := &ProjectsLocationsAgentsIntentsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name return c } // LanguageCode sets the optional parameter "languageCode": The language -// to list transition route groups for. The field `messages` in -// TransitionRoute is language dependent. If not specified, the agent's -// default language is used. [Many +// to retrieve the intent for. The following fields are language +// dependent: * `Intent.training_phrases.parts.text` If not specified, +// the agent's default language is used. [Many // languages](https://cloud.google.com/dialogflow/docs/reference/language // ) are supported. Note: languages must be enabled in the agent before // they can be used. -func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall { +func (c *ProjectsLocationsAgentsIntentsGetCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsIntentsGetCall { c.urlParams_.Set("languageCode", languageCode) return c } @@ -17138,7 +22272,7 @@ func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall) LanguageCode( // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall { +func (c *ProjectsLocationsAgentsIntentsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsIntentsGetCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -17148,7 +22282,7 @@ func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall) Fields(s ...g // getting updates only after the object has changed since the last // request. Use googleapi.IsNotModified to check whether the response // error from Do is the result of In-None-Match. -func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall { +func (c *ProjectsLocationsAgentsIntentsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsIntentsGetCall { c.ifNoneMatch_ = entityTag return c } @@ -17156,23 +22290,23 @@ func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall) IfNoneMatch(e // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall { +func (c *ProjectsLocationsAgentsIntentsGetCall) Context(ctx context.Context) *ProjectsLocationsAgentsIntentsGetCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall) Header() http.Header { +func (c *ProjectsLocationsAgentsIntentsGetCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsIntentsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17196,16 +22330,14 @@ func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall) doRequest(alt return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.flows.transitionRouteGroups.get" call. -// Exactly one of *GoogleCloudDialogflowCxV3TransitionRouteGroup or -// error will be non-nil. Any non-2xx status code is an error. Response -// headers are in either -// *GoogleCloudDialogflowCxV3TransitionRouteGroup.ServerResponse.Header -// or (if a response was returned at all) in -// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check -// whether the returned error was because http.StatusNotModified was -// returned. -func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3TransitionRouteGroup, error) { +// Do executes the "dialogflow.projects.locations.agents.intents.get" call. +// Exactly one of *GoogleCloudDialogflowCxV3Intent or error will be +// non-nil. Any non-2xx status code is an error. Response headers are in +// either *GoogleCloudDialogflowCxV3Intent.ServerResponse.Header or (if +// a response was returned at all) in error.(*googleapi.Error).Header. +// Use googleapi.IsNotModified to check whether the returned error was +// because http.StatusNotModified was returned. +func (c *ProjectsLocationsAgentsIntentsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3Intent, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -17224,7 +22356,7 @@ func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall) Do(opts ...go if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleCloudDialogflowCxV3TransitionRouteGroup{ + ret := &GoogleCloudDialogflowCxV3Intent{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -17236,30 +22368,30 @@ func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall) Do(opts ...go } return ret, nil // { - // "description": "Retrieves the specified TransitionRouteGroup.", - // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/transitionRouteGroups/{transitionRouteGroupsId}", + // "description": "Retrieves the specified intent.", + // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/intents/{intentsId}", // "httpMethod": "GET", - // "id": "dialogflow.projects.locations.agents.flows.transitionRouteGroups.get", + // "id": "dialogflow.projects.locations.agents.intents.get", // "parameterOrder": [ // "name" // ], // "parameters": { // "languageCode": { - // "description": "The language to list transition route groups for. The field `messages` in TransitionRoute is language dependent. If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", + // "description": "The language to retrieve the intent for. The following fields are language dependent: * `Intent.training_phrases.parts.text` If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", // "location": "query", // "type": "string" // }, // "name": { - // "description": "Required. The name of the TransitionRouteGroup. Format: `projects//locations//agents//flows//transitionRouteGroups/`.", + // "description": "Required. The name of the intent. Format: `projects//locations//agents//intents/`.", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+/transitionRouteGroups/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/intents/[^/]+$", // "required": true, // "type": "string" // } // }, // "path": "v3/{+name}", // "response": { - // "$ref": "GoogleCloudDialogflowCxV3TransitionRouteGroup" + // "$ref": "GoogleCloudDialogflowCxV3Intent" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -17269,9 +22401,9 @@ func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall) Do(opts ...go } -// method id "dialogflow.projects.locations.agents.flows.transitionRouteGroups.list": +// method id "dialogflow.projects.locations.agents.intents.list": -type ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall struct { +type ProjectsLocationsAgentsIntentsListCall struct { s *Service parent string urlParams_ gensupport.URLParams @@ -17280,36 +22412,49 @@ type ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall struct { header_ http.Header } -// List: Returns the list of all transition route groups in the -// specified flow. -func (r *ProjectsLocationsAgentsFlowsTransitionRouteGroupsService) List(parent string) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall { - c := &ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall{s: r.s, urlParams_: make(gensupport.URLParams)} +// List: Returns the list of all intents in the specified agent. +func (r *ProjectsLocationsAgentsIntentsService) List(parent string) *ProjectsLocationsAgentsIntentsListCall { + c := &ProjectsLocationsAgentsIntentsListCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.parent = parent return c } +// IntentView sets the optional parameter "intentView": The resource +// view to apply to the returned intent. +// +// Possible values: +// "INTENT_VIEW_UNSPECIFIED" - Not specified. Treated as +// INTENT_VIEW_FULL. +// "INTENT_VIEW_PARTIAL" - Training phrases field is not populated in +// the response. +// "INTENT_VIEW_FULL" - All fields are populated. +func (c *ProjectsLocationsAgentsIntentsListCall) IntentView(intentView string) *ProjectsLocationsAgentsIntentsListCall { + c.urlParams_.Set("intentView", intentView) + return c +} + // LanguageCode sets the optional parameter "languageCode": The language -// to list transition route groups for. The field `messages` in -// TransitionRoute is language dependent. If not specified, the agent's +// to list intents for. The following fields are language dependent: * +// `Intent.training_phrases.parts.text` If not specified, the agent's // default language is used. [Many // languages](https://cloud.google.com/dialogflow/docs/reference/language // ) are supported. Note: languages must be enabled in the agent before // they can be used. -func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall { +func (c *ProjectsLocationsAgentsIntentsListCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsIntentsListCall { c.urlParams_.Set("languageCode", languageCode) return c } // PageSize sets the optional parameter "pageSize": The maximum number // of items to return in a single page. By default 100 and at most 1000. -func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall) PageSize(pageSize int64) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall { +func (c *ProjectsLocationsAgentsIntentsListCall) PageSize(pageSize int64) *ProjectsLocationsAgentsIntentsListCall { c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) return c } // PageToken sets the optional parameter "pageToken": The // next_page_token value returned from a previous list request. -func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall) PageToken(pageToken string) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall { +func (c *ProjectsLocationsAgentsIntentsListCall) PageToken(pageToken string) *ProjectsLocationsAgentsIntentsListCall { c.urlParams_.Set("pageToken", pageToken) return c } @@ -17317,7 +22462,7 @@ func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall) PageToken(pa // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall { +func (c *ProjectsLocationsAgentsIntentsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsIntentsListCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -17327,7 +22472,7 @@ func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall) Fields(s ... // getting updates only after the object has changed since the last // request. Use googleapi.IsNotModified to check whether the response // error from Do is the result of In-None-Match. -func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall { +func (c *ProjectsLocationsAgentsIntentsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsIntentsListCall { c.ifNoneMatch_ = entityTag return c } @@ -17335,23 +22480,23 @@ func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall) IfNoneMatch( // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall { +func (c *ProjectsLocationsAgentsIntentsListCall) Context(ctx context.Context) *ProjectsLocationsAgentsIntentsListCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall) Header() http.Header { +func (c *ProjectsLocationsAgentsIntentsListCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsIntentsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17362,7 +22507,7 @@ func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall) doRequest(al var body io.Reader = nil c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+parent}/transitionRouteGroups") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+parent}/intents") urls += "?" + c.urlParams_.Encode() req, err := http.NewRequest("GET", urls, body) if err != nil { @@ -17375,17 +22520,16 @@ func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall) doRequest(al return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.flows.transitionRouteGroups.list" call. -// Exactly one of -// *GoogleCloudDialogflowCxV3ListTransitionRouteGroupsResponse or error +// Do executes the "dialogflow.projects.locations.agents.intents.list" call. +// Exactly one of *GoogleCloudDialogflowCxV3ListIntentsResponse or error // will be non-nil. Any non-2xx status code is an error. Response // headers are in either -// *GoogleCloudDialogflowCxV3ListTransitionRouteGroupsResponse.ServerResp -// onse.Header or (if a response was returned at all) in +// *GoogleCloudDialogflowCxV3ListIntentsResponse.ServerResponse.Header +// or (if a response was returned at all) in // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check // whether the returned error was because http.StatusNotModified was // returned. -func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3ListTransitionRouteGroupsResponse, error) { +func (c *ProjectsLocationsAgentsIntentsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3ListIntentsResponse, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -17404,7 +22548,7 @@ func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall) Do(opts ...g if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleCloudDialogflowCxV3ListTransitionRouteGroupsResponse{ + ret := &GoogleCloudDialogflowCxV3ListIntentsResponse{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -17416,16 +22560,31 @@ func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall) Do(opts ...g } return ret, nil // { - // "description": "Returns the list of all transition route groups in the specified flow.", - // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/transitionRouteGroups", + // "description": "Returns the list of all intents in the specified agent.", + // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/intents", // "httpMethod": "GET", - // "id": "dialogflow.projects.locations.agents.flows.transitionRouteGroups.list", + // "id": "dialogflow.projects.locations.agents.intents.list", // "parameterOrder": [ // "parent" // ], // "parameters": { + // "intentView": { + // "description": "The resource view to apply to the returned intent.", + // "enum": [ + // "INTENT_VIEW_UNSPECIFIED", + // "INTENT_VIEW_PARTIAL", + // "INTENT_VIEW_FULL" + // ], + // "enumDescriptions": [ + // "Not specified. Treated as INTENT_VIEW_FULL.", + // "Training phrases field is not populated in the response.", + // "All fields are populated." + // ], + // "location": "query", + // "type": "string" + // }, // "languageCode": { - // "description": "The language to list transition route groups for. The field `messages` in TransitionRoute is language dependent. If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", + // "description": "The language to list intents for. The following fields are language dependent: * `Intent.training_phrases.parts.text` If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", // "location": "query", // "type": "string" // }, @@ -17441,16 +22600,16 @@ func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall) Do(opts ...g // "type": "string" // }, // "parent": { - // "description": "Required. The flow to list all transition route groups for. Format: `projects//locations//agents//flows/`.", + // "description": "Required. The agent to list all intents for. Format: `projects//locations//agents/`.", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", // "required": true, // "type": "string" // } // }, - // "path": "v3/{+parent}/transitionRouteGroups", + // "path": "v3/{+parent}/intents", // "response": { - // "$ref": "GoogleCloudDialogflowCxV3ListTransitionRouteGroupsResponse" + // "$ref": "GoogleCloudDialogflowCxV3ListIntentsResponse" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -17463,7 +22622,7 @@ func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall) Do(opts ...g // Pages invokes f for each page of results. // A non-nil error returned from f will halt the iteration. // The provided context supersedes any context provided to the Context method. -func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowCxV3ListTransitionRouteGroupsResponse) error) error { +func (c *ProjectsLocationsAgentsIntentsListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowCxV3ListIntentsResponse) error) error { c.ctx_ = ctx defer c.PageToken(c.urlParams_.Get("pageToken")) // reset paging to original point for { @@ -17481,40 +22640,41 @@ func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall) Pages(ctx co } } -// method id "dialogflow.projects.locations.agents.flows.transitionRouteGroups.patch": +// method id "dialogflow.projects.locations.agents.intents.patch": -type ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall struct { - s *Service - nameid string - googleclouddialogflowcxv3transitionroutegroup *GoogleCloudDialogflowCxV3TransitionRouteGroup - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header +type ProjectsLocationsAgentsIntentsPatchCall struct { + s *Service + nameid string + googleclouddialogflowcxv3intent *GoogleCloudDialogflowCxV3Intent + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header } -// Patch: Updates the specified TransitionRouteGroup. -func (r *ProjectsLocationsAgentsFlowsTransitionRouteGroupsService) Patch(nameid string, googleclouddialogflowcxv3transitionroutegroup *GoogleCloudDialogflowCxV3TransitionRouteGroup) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall { - c := &ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)} +// Patch: Updates the specified intent. +func (r *ProjectsLocationsAgentsIntentsService) Patch(nameid string, googleclouddialogflowcxv3intent *GoogleCloudDialogflowCxV3Intent) *ProjectsLocationsAgentsIntentsPatchCall { + c := &ProjectsLocationsAgentsIntentsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.nameid = nameid - c.googleclouddialogflowcxv3transitionroutegroup = googleclouddialogflowcxv3transitionroutegroup + c.googleclouddialogflowcxv3intent = googleclouddialogflowcxv3intent return c } // LanguageCode sets the optional parameter "languageCode": The language -// to list transition route groups for. The field `messages` in -// TransitionRoute is language dependent. If not specified, the agent's +// of the following fields in `intent`: * +// `Intent.training_phrases.parts.text` If not specified, the agent's // default language is used. [Many // languages](https://cloud.google.com/dialogflow/docs/reference/language // ) are supported. Note: languages must be enabled in the agent before // they can be used. -func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall { +func (c *ProjectsLocationsAgentsIntentsPatchCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsIntentsPatchCall { c.urlParams_.Set("languageCode", languageCode) return c } // UpdateMask sets the optional parameter "updateMask": The mask to -// control which fields get updated. -func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall { +// control which fields get updated. If the mask is not present, all +// fields will be updated. +func (c *ProjectsLocationsAgentsIntentsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsAgentsIntentsPatchCall { c.urlParams_.Set("updateMask", updateMask) return c } @@ -17522,7 +22682,7 @@ func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall) UpdateMask( // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall { +func (c *ProjectsLocationsAgentsIntentsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsIntentsPatchCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -17530,29 +22690,29 @@ func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall) Fields(s .. // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall { +func (c *ProjectsLocationsAgentsIntentsPatchCall) Context(ctx context.Context) *ProjectsLocationsAgentsIntentsPatchCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall) Header() http.Header { +func (c *ProjectsLocationsAgentsIntentsPatchCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsIntentsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } reqHeaders.Set("User-Agent", c.s.userAgent()) var body io.Reader = nil - body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3transitionroutegroup) + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3intent) if err != nil { return nil, err } @@ -17572,16 +22732,174 @@ func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall) doRequest(a return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.flows.transitionRouteGroups.patch" call. -// Exactly one of *GoogleCloudDialogflowCxV3TransitionRouteGroup or +// Do executes the "dialogflow.projects.locations.agents.intents.patch" call. +// Exactly one of *GoogleCloudDialogflowCxV3Intent or error will be +// non-nil. Any non-2xx status code is an error. Response headers are in +// either *GoogleCloudDialogflowCxV3Intent.ServerResponse.Header or (if +// a response was returned at all) in error.(*googleapi.Error).Header. +// Use googleapi.IsNotModified to check whether the returned error was +// because http.StatusNotModified was returned. +func (c *ProjectsLocationsAgentsIntentsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3Intent, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &GoogleCloudDialogflowCxV3Intent{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Updates the specified intent.", + // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/intents/{intentsId}", + // "httpMethod": "PATCH", + // "id": "dialogflow.projects.locations.agents.intents.patch", + // "parameterOrder": [ + // "name" + // ], + // "parameters": { + // "languageCode": { + // "description": "The language of the following fields in `intent`: * `Intent.training_phrases.parts.text` If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", + // "location": "query", + // "type": "string" + // }, + // "name": { + // "description": "The unique identifier of the intent. Required for the Intents.UpdateIntent method. Intents.CreateIntent populates the name automatically. Format: `projects//locations//agents//intents/`.", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/intents/[^/]+$", + // "required": true, + // "type": "string" + // }, + // "updateMask": { + // "description": "The mask to control which fields get updated. If the mask is not present, all fields will be updated.", + // "format": "google-fieldmask", + // "location": "query", + // "type": "string" + // } + // }, + // "path": "v3/{+name}", + // "request": { + // "$ref": "GoogleCloudDialogflowCxV3Intent" + // }, + // "response": { + // "$ref": "GoogleCloudDialogflowCxV3Intent" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", + // "https://www.googleapis.com/auth/dialogflow" + // ] + // } + +} + +// method id "dialogflow.projects.locations.agents.sessions.detectIntent": + +type ProjectsLocationsAgentsSessionsDetectIntentCall struct { + s *Service + sessionid string + googleclouddialogflowcxv3detectintentrequest *GoogleCloudDialogflowCxV3DetectIntentRequest + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// DetectIntent: Processes a natural language query and returns +// structured, actionable data as a result. This method is not +// idempotent, because it may cause session entity types to be updated, +// which in turn might affect results of future queries. Note: Always +// use agent versions for production traffic. See [Versions and +// environments](https://cloud.google.com/dialogflow/cx/docs/concept/vers +// ion). +func (r *ProjectsLocationsAgentsSessionsService) DetectIntent(sessionid string, googleclouddialogflowcxv3detectintentrequest *GoogleCloudDialogflowCxV3DetectIntentRequest) *ProjectsLocationsAgentsSessionsDetectIntentCall { + c := &ProjectsLocationsAgentsSessionsDetectIntentCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.sessionid = sessionid + c.googleclouddialogflowcxv3detectintentrequest = googleclouddialogflowcxv3detectintentrequest + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsAgentsSessionsDetectIntentCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsSessionsDetectIntentCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsLocationsAgentsSessionsDetectIntentCall) Context(ctx context.Context) *ProjectsLocationsAgentsSessionsDetectIntentCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsLocationsAgentsSessionsDetectIntentCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsAgentsSessionsDetectIntentCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + var body io.Reader = nil + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3detectintentrequest) + if err != nil { + return nil, err + } + reqHeaders.Set("Content-Type", "application/json") + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+session}:detectIntent") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("POST", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "session": c.sessionid, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "dialogflow.projects.locations.agents.sessions.detectIntent" call. +// Exactly one of *GoogleCloudDialogflowCxV3DetectIntentResponse or // error will be non-nil. Any non-2xx status code is an error. Response // headers are in either -// *GoogleCloudDialogflowCxV3TransitionRouteGroup.ServerResponse.Header +// *GoogleCloudDialogflowCxV3DetectIntentResponse.ServerResponse.Header // or (if a response was returned at all) in // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check // whether the returned error was because http.StatusNotModified was // returned. -func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3TransitionRouteGroup, error) { +func (c *ProjectsLocationsAgentsSessionsDetectIntentCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3DetectIntentResponse, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -17600,7 +22918,7 @@ func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall) Do(opts ... if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleCloudDialogflowCxV3TransitionRouteGroup{ + ret := &GoogleCloudDialogflowCxV3DetectIntentResponse{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -17612,39 +22930,28 @@ func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall) Do(opts ... } return ret, nil // { - // "description": "Updates the specified TransitionRouteGroup.", - // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/transitionRouteGroups/{transitionRouteGroupsId}", - // "httpMethod": "PATCH", - // "id": "dialogflow.projects.locations.agents.flows.transitionRouteGroups.patch", + // "description": "Processes a natural language query and returns structured, actionable data as a result. This method is not idempotent, because it may cause session entity types to be updated, which in turn might affect results of future queries. Note: Always use agent versions for production traffic. See [Versions and environments](https://cloud.google.com/dialogflow/cx/docs/concept/version).", + // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/sessions/{sessionsId}:detectIntent", + // "httpMethod": "POST", + // "id": "dialogflow.projects.locations.agents.sessions.detectIntent", // "parameterOrder": [ - // "name" + // "session" // ], // "parameters": { - // "languageCode": { - // "description": "The language to list transition route groups for. The field `messages` in TransitionRoute is language dependent. If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", - // "location": "query", - // "type": "string" - // }, - // "name": { - // "description": "The unique identifier of the transition route group. TransitionRouteGroups.CreateTransitionRouteGroup populates the name automatically. Format: `projects//locations//agents//flows//transitionRouteGroups/`.", + // "session": { + // "description": "Required. The name of the session this query is sent to. Format: `projects//locations//agents//sessions/` or `projects//locations//agents//environments//sessions/`. If `Environment ID` is not specified, we assume default 'draft' environment. It's up to the API caller to choose an appropriate `Session ID`. It can be a random number or some type of session identifiers (preferably hashed). The length of the `Session ID` must not exceed 36 characters. For more information, see the [sessions guide](https://cloud.google.com/dialogflow/cx/docs/concept/session). Note: Always use agent versions for production traffic. See [Versions and environments](https://cloud.google.com/dialogflow/cx/docs/concept/version).", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+/transitionRouteGroups/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/sessions/[^/]+$", // "required": true, // "type": "string" - // }, - // "updateMask": { - // "description": "The mask to control which fields get updated.", - // "format": "google-fieldmask", - // "location": "query", - // "type": "string" // } // }, - // "path": "v3/{+name}", + // "path": "v3/{+session}:detectIntent", // "request": { - // "$ref": "GoogleCloudDialogflowCxV3TransitionRouteGroup" + // "$ref": "GoogleCloudDialogflowCxV3DetectIntentRequest" // }, // "response": { - // "$ref": "GoogleCloudDialogflowCxV3TransitionRouteGroup" + // "$ref": "GoogleCloudDialogflowCxV3DetectIntentResponse" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -17654,29 +22961,31 @@ func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall) Do(opts ... } -// method id "dialogflow.projects.locations.agents.flows.versions.create": +// method id "dialogflow.projects.locations.agents.sessions.fulfillIntent": -type ProjectsLocationsAgentsFlowsVersionsCreateCall struct { - s *Service - parent string - googleclouddialogflowcxv3version *GoogleCloudDialogflowCxV3Version - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header +type ProjectsLocationsAgentsSessionsFulfillIntentCall struct { + s *Service + sessionid string + googleclouddialogflowcxv3fulfillintentrequest *GoogleCloudDialogflowCxV3FulfillIntentRequest + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header } -// Create: Creates a Version in the specified Flow. -func (r *ProjectsLocationsAgentsFlowsVersionsService) Create(parent string, googleclouddialogflowcxv3version *GoogleCloudDialogflowCxV3Version) *ProjectsLocationsAgentsFlowsVersionsCreateCall { - c := &ProjectsLocationsAgentsFlowsVersionsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.parent = parent - c.googleclouddialogflowcxv3version = googleclouddialogflowcxv3version +// FulfillIntent: Fulfills a matched intent returned by MatchIntent. +// Must be called after MatchIntent, with input from +// MatchIntentResponse. Otherwise, the behavior is undefined. +func (r *ProjectsLocationsAgentsSessionsService) FulfillIntent(sessionid string, googleclouddialogflowcxv3fulfillintentrequest *GoogleCloudDialogflowCxV3FulfillIntentRequest) *ProjectsLocationsAgentsSessionsFulfillIntentCall { + c := &ProjectsLocationsAgentsSessionsFulfillIntentCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.sessionid = sessionid + c.googleclouddialogflowcxv3fulfillintentrequest = googleclouddialogflowcxv3fulfillintentrequest return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsFlowsVersionsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsVersionsCreateCall { +func (c *ProjectsLocationsAgentsSessionsFulfillIntentCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsSessionsFulfillIntentCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -17684,36 +22993,36 @@ func (c *ProjectsLocationsAgentsFlowsVersionsCreateCall) Fields(s ...googleapi.F // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsFlowsVersionsCreateCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsVersionsCreateCall { +func (c *ProjectsLocationsAgentsSessionsFulfillIntentCall) Context(ctx context.Context) *ProjectsLocationsAgentsSessionsFulfillIntentCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsFlowsVersionsCreateCall) Header() http.Header { +func (c *ProjectsLocationsAgentsSessionsFulfillIntentCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsFlowsVersionsCreateCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsSessionsFulfillIntentCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } reqHeaders.Set("User-Agent", c.s.userAgent()) var body io.Reader = nil - body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3version) + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3fulfillintentrequest) if err != nil { return nil, err } reqHeaders.Set("Content-Type", "application/json") c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+parent}/versions") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+session}:fulfillIntent") urls += "?" + c.urlParams_.Encode() req, err := http.NewRequest("POST", urls, body) if err != nil { @@ -17721,19 +23030,21 @@ func (c *ProjectsLocationsAgentsFlowsVersionsCreateCall) doRequest(alt string) ( } req.Header = reqHeaders googleapi.Expand(req.URL, map[string]string{ - "parent": c.parent, + "session": c.sessionid, }) return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.flows.versions.create" call. -// Exactly one of *GoogleLongrunningOperation or error will be non-nil. -// Any non-2xx status code is an error. Response headers are in either -// *GoogleLongrunningOperation.ServerResponse.Header or (if a response -// was returned at all) in error.(*googleapi.Error).Header. Use -// googleapi.IsNotModified to check whether the returned error was -// because http.StatusNotModified was returned. -func (c *ProjectsLocationsAgentsFlowsVersionsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error) { +// Do executes the "dialogflow.projects.locations.agents.sessions.fulfillIntent" call. +// Exactly one of *GoogleCloudDialogflowCxV3FulfillIntentResponse or +// error will be non-nil. Any non-2xx status code is an error. Response +// headers are in either +// *GoogleCloudDialogflowCxV3FulfillIntentResponse.ServerResponse.Header +// or (if a response was returned at all) in +// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check +// whether the returned error was because http.StatusNotModified was +// returned. +func (c *ProjectsLocationsAgentsSessionsFulfillIntentCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3FulfillIntentResponse, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -17752,7 +23063,7 @@ func (c *ProjectsLocationsAgentsFlowsVersionsCreateCall) Do(opts ...googleapi.Ca if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleLongrunningOperation{ + ret := &GoogleCloudDialogflowCxV3FulfillIntentResponse{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -17764,28 +23075,28 @@ func (c *ProjectsLocationsAgentsFlowsVersionsCreateCall) Do(opts ...googleapi.Ca } return ret, nil // { - // "description": "Creates a Version in the specified Flow.", - // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/versions", + // "description": "Fulfills a matched intent returned by MatchIntent. Must be called after MatchIntent, with input from MatchIntentResponse. Otherwise, the behavior is undefined.", + // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/sessions/{sessionsId}:fulfillIntent", // "httpMethod": "POST", - // "id": "dialogflow.projects.locations.agents.flows.versions.create", + // "id": "dialogflow.projects.locations.agents.sessions.fulfillIntent", // "parameterOrder": [ - // "parent" + // "session" // ], // "parameters": { - // "parent": { - // "description": "Required. The Flow to create an Version for. Format: `projects//locations//agents//flows/`.", + // "session": { + // "description": "Required. The name of the session this query is sent to. Format: `projects//locations//agents//sessions/` or `projects//locations//agents//environments//sessions/`. If `Environment ID` is not specified, we assume default 'draft' environment. It's up to the API caller to choose an appropriate `Session ID`. It can be a random number or some type of session identifiers (preferably hashed). The length of the `Session ID` must not exceed 36 characters. For more information, see the [sessions guide](https://cloud.google.com/dialogflow/cx/docs/concept/session).", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/sessions/[^/]+$", // "required": true, // "type": "string" // } // }, - // "path": "v3/{+parent}/versions", + // "path": "v3/{+session}:fulfillIntent", // "request": { - // "$ref": "GoogleCloudDialogflowCxV3Version" + // "$ref": "GoogleCloudDialogflowCxV3FulfillIntentRequest" // }, // "response": { - // "$ref": "GoogleLongrunningOperation" + // "$ref": "GoogleCloudDialogflowCxV3FulfillIntentResponse" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -17795,27 +23106,30 @@ func (c *ProjectsLocationsAgentsFlowsVersionsCreateCall) Do(opts ...googleapi.Ca } -// method id "dialogflow.projects.locations.agents.flows.versions.delete": +// method id "dialogflow.projects.locations.agents.sessions.matchIntent": -type ProjectsLocationsAgentsFlowsVersionsDeleteCall struct { - s *Service - name string - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header +type ProjectsLocationsAgentsSessionsMatchIntentCall struct { + s *Service + sessionid string + googleclouddialogflowcxv3matchintentrequest *GoogleCloudDialogflowCxV3MatchIntentRequest + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header } -// Delete: Deletes the specified Version. -func (r *ProjectsLocationsAgentsFlowsVersionsService) Delete(name string) *ProjectsLocationsAgentsFlowsVersionsDeleteCall { - c := &ProjectsLocationsAgentsFlowsVersionsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.name = name +// MatchIntent: Returns preliminary intent match results, doesn't change +// the session status. +func (r *ProjectsLocationsAgentsSessionsService) MatchIntent(sessionid string, googleclouddialogflowcxv3matchintentrequest *GoogleCloudDialogflowCxV3MatchIntentRequest) *ProjectsLocationsAgentsSessionsMatchIntentCall { + c := &ProjectsLocationsAgentsSessionsMatchIntentCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.sessionid = sessionid + c.googleclouddialogflowcxv3matchintentrequest = googleclouddialogflowcxv3matchintentrequest return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsFlowsVersionsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsVersionsDeleteCall { +func (c *ProjectsLocationsAgentsSessionsMatchIntentCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsSessionsMatchIntentCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -17823,51 +23137,58 @@ func (c *ProjectsLocationsAgentsFlowsVersionsDeleteCall) Fields(s ...googleapi.F // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsFlowsVersionsDeleteCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsVersionsDeleteCall { +func (c *ProjectsLocationsAgentsSessionsMatchIntentCall) Context(ctx context.Context) *ProjectsLocationsAgentsSessionsMatchIntentCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsFlowsVersionsDeleteCall) Header() http.Header { +func (c *ProjectsLocationsAgentsSessionsMatchIntentCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsFlowsVersionsDeleteCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsSessionsMatchIntentCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } reqHeaders.Set("User-Agent", c.s.userAgent()) var body io.Reader = nil + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3matchintentrequest) + if err != nil { + return nil, err + } + reqHeaders.Set("Content-Type", "application/json") c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+session}:matchIntent") urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("DELETE", urls, body) + req, err := http.NewRequest("POST", urls, body) if err != nil { return nil, err } req.Header = reqHeaders googleapi.Expand(req.URL, map[string]string{ - "name": c.name, + "session": c.sessionid, }) return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.flows.versions.delete" call. -// Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any -// non-2xx status code is an error. Response headers are in either -// *GoogleProtobufEmpty.ServerResponse.Header or (if a response was -// returned at all) in error.(*googleapi.Error).Header. Use -// googleapi.IsNotModified to check whether the returned error was -// because http.StatusNotModified was returned. -func (c *ProjectsLocationsAgentsFlowsVersionsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error) { +// Do executes the "dialogflow.projects.locations.agents.sessions.matchIntent" call. +// Exactly one of *GoogleCloudDialogflowCxV3MatchIntentResponse or error +// will be non-nil. Any non-2xx status code is an error. Response +// headers are in either +// *GoogleCloudDialogflowCxV3MatchIntentResponse.ServerResponse.Header +// or (if a response was returned at all) in +// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check +// whether the returned error was because http.StatusNotModified was +// returned. +func (c *ProjectsLocationsAgentsSessionsMatchIntentCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3MatchIntentResponse, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -17886,7 +23207,7 @@ func (c *ProjectsLocationsAgentsFlowsVersionsDeleteCall) Do(opts ...googleapi.Ca if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleProtobufEmpty{ + ret := &GoogleCloudDialogflowCxV3MatchIntentResponse{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -17898,25 +23219,28 @@ func (c *ProjectsLocationsAgentsFlowsVersionsDeleteCall) Do(opts ...googleapi.Ca } return ret, nil // { - // "description": "Deletes the specified Version.", - // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/versions/{versionsId}", - // "httpMethod": "DELETE", - // "id": "dialogflow.projects.locations.agents.flows.versions.delete", + // "description": "Returns preliminary intent match results, doesn't change the session status.", + // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/sessions/{sessionsId}:matchIntent", + // "httpMethod": "POST", + // "id": "dialogflow.projects.locations.agents.sessions.matchIntent", // "parameterOrder": [ - // "name" + // "session" // ], // "parameters": { - // "name": { - // "description": "Required. The name of the Version to delete. Format: `projects//locations//agents//flows//versions/`.", + // "session": { + // "description": "Required. The name of the session this query is sent to. Format: `projects//locations//agents//sessions/` or `projects//locations//agents//environments//sessions/`. If `Environment ID` is not specified, we assume default 'draft' environment. It's up to the API caller to choose an appropriate `Session ID`. It can be a random number or some type of session identifiers (preferably hashed). The length of the `Session ID` must not exceed 36 characters. For more information, see the [sessions guide](https://cloud.google.com/dialogflow/cx/docs/concept/session).", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+/versions/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/sessions/[^/]+$", // "required": true, // "type": "string" // } // }, - // "path": "v3/{+name}", + // "path": "v3/{+session}:matchIntent", + // "request": { + // "$ref": "GoogleCloudDialogflowCxV3MatchIntentRequest" + // }, // "response": { - // "$ref": "GoogleProtobufEmpty" + // "$ref": "GoogleCloudDialogflowCxV3MatchIntentResponse" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -17926,93 +23250,89 @@ func (c *ProjectsLocationsAgentsFlowsVersionsDeleteCall) Do(opts ...googleapi.Ca } -// method id "dialogflow.projects.locations.agents.flows.versions.get": +// method id "dialogflow.projects.locations.agents.sessions.entityTypes.create": -type ProjectsLocationsAgentsFlowsVersionsGetCall struct { - s *Service - name string - urlParams_ gensupport.URLParams - ifNoneMatch_ string - ctx_ context.Context - header_ http.Header +type ProjectsLocationsAgentsSessionsEntityTypesCreateCall struct { + s *Service + parent string + googleclouddialogflowcxv3sessionentitytype *GoogleCloudDialogflowCxV3SessionEntityType + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header } -// Get: Retrieves the specified Version. -func (r *ProjectsLocationsAgentsFlowsVersionsService) Get(name string) *ProjectsLocationsAgentsFlowsVersionsGetCall { - c := &ProjectsLocationsAgentsFlowsVersionsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.name = name +// Create: Creates a session entity type. If the specified session +// entity type already exists, overrides the session entity type. +func (r *ProjectsLocationsAgentsSessionsEntityTypesService) Create(parent string, googleclouddialogflowcxv3sessionentitytype *GoogleCloudDialogflowCxV3SessionEntityType) *ProjectsLocationsAgentsSessionsEntityTypesCreateCall { + c := &ProjectsLocationsAgentsSessionsEntityTypesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.parent = parent + c.googleclouddialogflowcxv3sessionentitytype = googleclouddialogflowcxv3sessionentitytype return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsFlowsVersionsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsVersionsGetCall { +func (c *ProjectsLocationsAgentsSessionsEntityTypesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsSessionsEntityTypesCreateCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } -// IfNoneMatch sets the optional parameter which makes the operation -// fail if the object's ETag matches the given value. This is useful for -// getting updates only after the object has changed since the last -// request. Use googleapi.IsNotModified to check whether the response -// error from Do is the result of In-None-Match. -func (c *ProjectsLocationsAgentsFlowsVersionsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsFlowsVersionsGetCall { - c.ifNoneMatch_ = entityTag - return c -} - // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsFlowsVersionsGetCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsVersionsGetCall { +func (c *ProjectsLocationsAgentsSessionsEntityTypesCreateCall) Context(ctx context.Context) *ProjectsLocationsAgentsSessionsEntityTypesCreateCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsFlowsVersionsGetCall) Header() http.Header { +func (c *ProjectsLocationsAgentsSessionsEntityTypesCreateCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsFlowsVersionsGetCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsSessionsEntityTypesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } reqHeaders.Set("User-Agent", c.s.userAgent()) - if c.ifNoneMatch_ != "" { - reqHeaders.Set("If-None-Match", c.ifNoneMatch_) + var body io.Reader = nil + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3sessionentitytype) + if err != nil { + return nil, err } - var body io.Reader = nil + reqHeaders.Set("Content-Type", "application/json") c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+parent}/entityTypes") urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("GET", urls, body) + req, err := http.NewRequest("POST", urls, body) if err != nil { return nil, err } req.Header = reqHeaders googleapi.Expand(req.URL, map[string]string{ - "name": c.name, + "parent": c.parent, }) return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.flows.versions.get" call. -// Exactly one of *GoogleCloudDialogflowCxV3Version or error will be -// non-nil. Any non-2xx status code is an error. Response headers are in -// either *GoogleCloudDialogflowCxV3Version.ServerResponse.Header or (if -// a response was returned at all) in error.(*googleapi.Error).Header. -// Use googleapi.IsNotModified to check whether the returned error was -// because http.StatusNotModified was returned. -func (c *ProjectsLocationsAgentsFlowsVersionsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3Version, error) { +// Do executes the "dialogflow.projects.locations.agents.sessions.entityTypes.create" call. +// Exactly one of *GoogleCloudDialogflowCxV3SessionEntityType or error +// will be non-nil. Any non-2xx status code is an error. Response +// headers are in either +// *GoogleCloudDialogflowCxV3SessionEntityType.ServerResponse.Header or +// (if a response was returned at all) in +// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check +// whether the returned error was because http.StatusNotModified was +// returned. +func (c *ProjectsLocationsAgentsSessionsEntityTypesCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3SessionEntityType, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -18031,7 +23351,7 @@ func (c *ProjectsLocationsAgentsFlowsVersionsGetCall) Do(opts ...googleapi.CallO if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleCloudDialogflowCxV3Version{ + ret := &GoogleCloudDialogflowCxV3SessionEntityType{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -18043,25 +23363,28 @@ func (c *ProjectsLocationsAgentsFlowsVersionsGetCall) Do(opts ...googleapi.CallO } return ret, nil // { - // "description": "Retrieves the specified Version.", - // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/versions/{versionsId}", - // "httpMethod": "GET", - // "id": "dialogflow.projects.locations.agents.flows.versions.get", + // "description": "Creates a session entity type. If the specified session entity type already exists, overrides the session entity type.", + // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/sessions/{sessionsId}/entityTypes", + // "httpMethod": "POST", + // "id": "dialogflow.projects.locations.agents.sessions.entityTypes.create", // "parameterOrder": [ - // "name" + // "parent" // ], // "parameters": { - // "name": { - // "description": "Required. The name of the Version. Format: `projects//locations//agents//flows//versions/`.", + // "parent": { + // "description": "Required. The session to create a session entity type for. Format: `projects//locations//agents//sessions/` or `projects//locations//agents//environments//sessions/`. If `Environment ID` is not specified, we assume default 'draft' environment.", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+/versions/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/sessions/[^/]+$", // "required": true, // "type": "string" // } // }, - // "path": "v3/{+name}", + // "path": "v3/{+parent}/entityTypes", + // "request": { + // "$ref": "GoogleCloudDialogflowCxV3SessionEntityType" + // }, // "response": { - // "$ref": "GoogleCloudDialogflowCxV3Version" + // "$ref": "GoogleCloudDialogflowCxV3SessionEntityType" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -18071,109 +23394,79 @@ func (c *ProjectsLocationsAgentsFlowsVersionsGetCall) Do(opts ...googleapi.CallO } -// method id "dialogflow.projects.locations.agents.flows.versions.list": - -type ProjectsLocationsAgentsFlowsVersionsListCall struct { - s *Service - parent string - urlParams_ gensupport.URLParams - ifNoneMatch_ string - ctx_ context.Context - header_ http.Header -} - -// List: Returns the list of all versions in the specified Flow. -func (r *ProjectsLocationsAgentsFlowsVersionsService) List(parent string) *ProjectsLocationsAgentsFlowsVersionsListCall { - c := &ProjectsLocationsAgentsFlowsVersionsListCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.parent = parent - return c -} +// method id "dialogflow.projects.locations.agents.sessions.entityTypes.delete": -// PageSize sets the optional parameter "pageSize": The maximum number -// of items to return in a single page. By default 20 and at most 100. -func (c *ProjectsLocationsAgentsFlowsVersionsListCall) PageSize(pageSize int64) *ProjectsLocationsAgentsFlowsVersionsListCall { - c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) - return c +type ProjectsLocationsAgentsSessionsEntityTypesDeleteCall struct { + s *Service + name string + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header } -// PageToken sets the optional parameter "pageToken": The -// next_page_token value returned from a previous list request. -func (c *ProjectsLocationsAgentsFlowsVersionsListCall) PageToken(pageToken string) *ProjectsLocationsAgentsFlowsVersionsListCall { - c.urlParams_.Set("pageToken", pageToken) +// Delete: Deletes the specified session entity type. +func (r *ProjectsLocationsAgentsSessionsEntityTypesService) Delete(name string) *ProjectsLocationsAgentsSessionsEntityTypesDeleteCall { + c := &ProjectsLocationsAgentsSessionsEntityTypesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsFlowsVersionsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsVersionsListCall { +func (c *ProjectsLocationsAgentsSessionsEntityTypesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsSessionsEntityTypesDeleteCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } -// IfNoneMatch sets the optional parameter which makes the operation -// fail if the object's ETag matches the given value. This is useful for -// getting updates only after the object has changed since the last -// request. Use googleapi.IsNotModified to check whether the response -// error from Do is the result of In-None-Match. -func (c *ProjectsLocationsAgentsFlowsVersionsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsFlowsVersionsListCall { - c.ifNoneMatch_ = entityTag - return c -} - // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsFlowsVersionsListCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsVersionsListCall { +func (c *ProjectsLocationsAgentsSessionsEntityTypesDeleteCall) Context(ctx context.Context) *ProjectsLocationsAgentsSessionsEntityTypesDeleteCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsFlowsVersionsListCall) Header() http.Header { +func (c *ProjectsLocationsAgentsSessionsEntityTypesDeleteCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsFlowsVersionsListCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsSessionsEntityTypesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } reqHeaders.Set("User-Agent", c.s.userAgent()) - if c.ifNoneMatch_ != "" { - reqHeaders.Set("If-None-Match", c.ifNoneMatch_) - } var body io.Reader = nil c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+parent}/versions") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}") urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("GET", urls, body) + req, err := http.NewRequest("DELETE", urls, body) if err != nil { return nil, err } req.Header = reqHeaders googleapi.Expand(req.URL, map[string]string{ - "parent": c.parent, + "name": c.name, }) return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.flows.versions.list" call. -// Exactly one of *GoogleCloudDialogflowCxV3ListVersionsResponse or -// error will be non-nil. Any non-2xx status code is an error. Response -// headers are in either -// *GoogleCloudDialogflowCxV3ListVersionsResponse.ServerResponse.Header -// or (if a response was returned at all) in -// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check -// whether the returned error was because http.StatusNotModified was -// returned. -func (c *ProjectsLocationsAgentsFlowsVersionsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3ListVersionsResponse, error) { +// Do executes the "dialogflow.projects.locations.agents.sessions.entityTypes.delete" call. +// Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any +// non-2xx status code is an error. Response headers are in either +// *GoogleProtobufEmpty.ServerResponse.Header or (if a response was +// returned at all) in error.(*googleapi.Error).Header. Use +// googleapi.IsNotModified to check whether the returned error was +// because http.StatusNotModified was returned. +func (c *ProjectsLocationsAgentsSessionsEntityTypesDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -18192,7 +23485,7 @@ func (c *ProjectsLocationsAgentsFlowsVersionsListCall) Do(opts ...googleapi.Call if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleCloudDialogflowCxV3ListVersionsResponse{ + ret := &GoogleProtobufEmpty{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -18204,36 +23497,25 @@ func (c *ProjectsLocationsAgentsFlowsVersionsListCall) Do(opts ...googleapi.Call } return ret, nil // { - // "description": "Returns the list of all versions in the specified Flow.", - // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/versions", - // "httpMethod": "GET", - // "id": "dialogflow.projects.locations.agents.flows.versions.list", + // "description": "Deletes the specified session entity type.", + // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/sessions/{sessionsId}/entityTypes/{entityTypesId}", + // "httpMethod": "DELETE", + // "id": "dialogflow.projects.locations.agents.sessions.entityTypes.delete", // "parameterOrder": [ - // "parent" + // "name" // ], // "parameters": { - // "pageSize": { - // "description": "The maximum number of items to return in a single page. By default 20 and at most 100.", - // "format": "int32", - // "location": "query", - // "type": "integer" - // }, - // "pageToken": { - // "description": "The next_page_token value returned from a previous list request.", - // "location": "query", - // "type": "string" - // }, - // "parent": { - // "description": "Required. The Flow to list all versions for. Format: `projects//locations//agents//flows/`.", + // "name": { + // "description": "Required. The name of the session entity type to delete. Format: `projects//locations//agents//sessions//entityTypes/` or `projects//locations//agents//environments//sessions//entityTypes/`. If `Environment ID` is not specified, we assume default 'draft' environment.", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/sessions/[^/]+/entityTypes/[^/]+$", // "required": true, // "type": "string" // } // }, - // "path": "v3/{+parent}/versions", + // "path": "v3/{+name}", // "response": { - // "$ref": "GoogleCloudDialogflowCxV3ListVersionsResponse" + // "$ref": "GoogleProtobufEmpty" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -18243,89 +23525,75 @@ func (c *ProjectsLocationsAgentsFlowsVersionsListCall) Do(opts ...googleapi.Call } -// Pages invokes f for each page of results. -// A non-nil error returned from f will halt the iteration. -// The provided context supersedes any context provided to the Context method. -func (c *ProjectsLocationsAgentsFlowsVersionsListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowCxV3ListVersionsResponse) error) error { - c.ctx_ = ctx - defer c.PageToken(c.urlParams_.Get("pageToken")) // reset paging to original point - for { - x, err := c.Do() - if err != nil { - return err - } - if err := f(x); err != nil { - return err - } - if x.NextPageToken == "" { - return nil - } - c.PageToken(x.NextPageToken) - } -} - -// method id "dialogflow.projects.locations.agents.flows.versions.load": +// method id "dialogflow.projects.locations.agents.sessions.entityTypes.get": -type ProjectsLocationsAgentsFlowsVersionsLoadCall struct { - s *Service - name string - googleclouddialogflowcxv3loadversionrequest *GoogleCloudDialogflowCxV3LoadVersionRequest - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header +type ProjectsLocationsAgentsSessionsEntityTypesGetCall struct { + s *Service + name string + urlParams_ gensupport.URLParams + ifNoneMatch_ string + ctx_ context.Context + header_ http.Header } -// Load: Loads a specified version to draft version. -func (r *ProjectsLocationsAgentsFlowsVersionsService) Load(name string, googleclouddialogflowcxv3loadversionrequest *GoogleCloudDialogflowCxV3LoadVersionRequest) *ProjectsLocationsAgentsFlowsVersionsLoadCall { - c := &ProjectsLocationsAgentsFlowsVersionsLoadCall{s: r.s, urlParams_: make(gensupport.URLParams)} +// Get: Retrieves the specified session entity type. +func (r *ProjectsLocationsAgentsSessionsEntityTypesService) Get(name string) *ProjectsLocationsAgentsSessionsEntityTypesGetCall { + c := &ProjectsLocationsAgentsSessionsEntityTypesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name - c.googleclouddialogflowcxv3loadversionrequest = googleclouddialogflowcxv3loadversionrequest return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsFlowsVersionsLoadCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsVersionsLoadCall { +func (c *ProjectsLocationsAgentsSessionsEntityTypesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsSessionsEntityTypesGetCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } +// IfNoneMatch sets the optional parameter which makes the operation +// fail if the object's ETag matches the given value. This is useful for +// getting updates only after the object has changed since the last +// request. Use googleapi.IsNotModified to check whether the response +// error from Do is the result of In-None-Match. +func (c *ProjectsLocationsAgentsSessionsEntityTypesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsSessionsEntityTypesGetCall { + c.ifNoneMatch_ = entityTag + return c +} + // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsFlowsVersionsLoadCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsVersionsLoadCall { +func (c *ProjectsLocationsAgentsSessionsEntityTypesGetCall) Context(ctx context.Context) *ProjectsLocationsAgentsSessionsEntityTypesGetCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsFlowsVersionsLoadCall) Header() http.Header { +func (c *ProjectsLocationsAgentsSessionsEntityTypesGetCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsFlowsVersionsLoadCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsSessionsEntityTypesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } reqHeaders.Set("User-Agent", c.s.userAgent()) - var body io.Reader = nil - body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3loadversionrequest) - if err != nil { - return nil, err + if c.ifNoneMatch_ != "" { + reqHeaders.Set("If-None-Match", c.ifNoneMatch_) } - reqHeaders.Set("Content-Type", "application/json") + var body io.Reader = nil c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}:load") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}") urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("POST", urls, body) + req, err := http.NewRequest("GET", urls, body) if err != nil { return nil, err } @@ -18336,14 +23604,16 @@ func (c *ProjectsLocationsAgentsFlowsVersionsLoadCall) doRequest(alt string) (*h return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.flows.versions.load" call. -// Exactly one of *GoogleLongrunningOperation or error will be non-nil. -// Any non-2xx status code is an error. Response headers are in either -// *GoogleLongrunningOperation.ServerResponse.Header or (if a response -// was returned at all) in error.(*googleapi.Error).Header. Use -// googleapi.IsNotModified to check whether the returned error was -// because http.StatusNotModified was returned. -func (c *ProjectsLocationsAgentsFlowsVersionsLoadCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error) { +// Do executes the "dialogflow.projects.locations.agents.sessions.entityTypes.get" call. +// Exactly one of *GoogleCloudDialogflowCxV3SessionEntityType or error +// will be non-nil. Any non-2xx status code is an error. Response +// headers are in either +// *GoogleCloudDialogflowCxV3SessionEntityType.ServerResponse.Header or +// (if a response was returned at all) in +// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check +// whether the returned error was because http.StatusNotModified was +// returned. +func (c *ProjectsLocationsAgentsSessionsEntityTypesGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3SessionEntityType, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -18362,7 +23632,7 @@ func (c *ProjectsLocationsAgentsFlowsVersionsLoadCall) Do(opts ...googleapi.Call if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleLongrunningOperation{ + ret := &GoogleCloudDialogflowCxV3SessionEntityType{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -18374,28 +23644,25 @@ func (c *ProjectsLocationsAgentsFlowsVersionsLoadCall) Do(opts ...googleapi.Call } return ret, nil // { - // "description": "Loads a specified version to draft version.", - // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/versions/{versionsId}:load", - // "httpMethod": "POST", - // "id": "dialogflow.projects.locations.agents.flows.versions.load", + // "description": "Retrieves the specified session entity type.", + // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/sessions/{sessionsId}/entityTypes/{entityTypesId}", + // "httpMethod": "GET", + // "id": "dialogflow.projects.locations.agents.sessions.entityTypes.get", // "parameterOrder": [ // "name" // ], // "parameters": { // "name": { - // "description": "Required. The Version to be loaded to draft version. Format: `projects//locations//agents//flows//versions/`.", + // "description": "Required. The name of the session entity type. Format: `projects//locations//agents//sessions//entityTypes/` or `projects//locations//agents//environments//sessions//entityTypes/`. If `Environment ID` is not specified, we assume default 'draft' environment.", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+/versions/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/sessions/[^/]+/entityTypes/[^/]+$", // "required": true, // "type": "string" // } // }, - // "path": "v3/{+name}:load", - // "request": { - // "$ref": "GoogleCloudDialogflowCxV3LoadVersionRequest" - // }, + // "path": "v3/{+name}", // "response": { - // "$ref": "GoogleLongrunningOperation" + // "$ref": "GoogleCloudDialogflowCxV3SessionEntityType" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -18405,94 +23672,111 @@ func (c *ProjectsLocationsAgentsFlowsVersionsLoadCall) Do(opts ...googleapi.Call } -// method id "dialogflow.projects.locations.agents.flows.versions.patch": +// method id "dialogflow.projects.locations.agents.sessions.entityTypes.list": -type ProjectsLocationsAgentsFlowsVersionsPatchCall struct { - s *Service - name string - googleclouddialogflowcxv3version *GoogleCloudDialogflowCxV3Version - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header +type ProjectsLocationsAgentsSessionsEntityTypesListCall struct { + s *Service + parent string + urlParams_ gensupport.URLParams + ifNoneMatch_ string + ctx_ context.Context + header_ http.Header } -// Patch: Updates the specified Version. -func (r *ProjectsLocationsAgentsFlowsVersionsService) Patch(name string, googleclouddialogflowcxv3version *GoogleCloudDialogflowCxV3Version) *ProjectsLocationsAgentsFlowsVersionsPatchCall { - c := &ProjectsLocationsAgentsFlowsVersionsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.name = name - c.googleclouddialogflowcxv3version = googleclouddialogflowcxv3version +// List: Returns the list of all session entity types in the specified +// session. +func (r *ProjectsLocationsAgentsSessionsEntityTypesService) List(parent string) *ProjectsLocationsAgentsSessionsEntityTypesListCall { + c := &ProjectsLocationsAgentsSessionsEntityTypesListCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.parent = parent return c } -// UpdateMask sets the optional parameter "updateMask": Required. The -// mask to control which fields get updated. Currently only -// `description` and `display_name` can be updated. -func (c *ProjectsLocationsAgentsFlowsVersionsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsAgentsFlowsVersionsPatchCall { - c.urlParams_.Set("updateMask", updateMask) +// PageSize sets the optional parameter "pageSize": The maximum number +// of items to return in a single page. By default 100 and at most 1000. +func (c *ProjectsLocationsAgentsSessionsEntityTypesListCall) PageSize(pageSize int64) *ProjectsLocationsAgentsSessionsEntityTypesListCall { + c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) + return c +} + +// PageToken sets the optional parameter "pageToken": The +// next_page_token value returned from a previous list request. +func (c *ProjectsLocationsAgentsSessionsEntityTypesListCall) PageToken(pageToken string) *ProjectsLocationsAgentsSessionsEntityTypesListCall { + c.urlParams_.Set("pageToken", pageToken) return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsFlowsVersionsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsVersionsPatchCall { +func (c *ProjectsLocationsAgentsSessionsEntityTypesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsSessionsEntityTypesListCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } +// IfNoneMatch sets the optional parameter which makes the operation +// fail if the object's ETag matches the given value. This is useful for +// getting updates only after the object has changed since the last +// request. Use googleapi.IsNotModified to check whether the response +// error from Do is the result of In-None-Match. +func (c *ProjectsLocationsAgentsSessionsEntityTypesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsSessionsEntityTypesListCall { + c.ifNoneMatch_ = entityTag + return c +} + // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsFlowsVersionsPatchCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsVersionsPatchCall { +func (c *ProjectsLocationsAgentsSessionsEntityTypesListCall) Context(ctx context.Context) *ProjectsLocationsAgentsSessionsEntityTypesListCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsFlowsVersionsPatchCall) Header() http.Header { +func (c *ProjectsLocationsAgentsSessionsEntityTypesListCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsFlowsVersionsPatchCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsSessionsEntityTypesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } reqHeaders.Set("User-Agent", c.s.userAgent()) - var body io.Reader = nil - body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3version) - if err != nil { - return nil, err + if c.ifNoneMatch_ != "" { + reqHeaders.Set("If-None-Match", c.ifNoneMatch_) } - reqHeaders.Set("Content-Type", "application/json") + var body io.Reader = nil c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+parent}/entityTypes") urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("PATCH", urls, body) + req, err := http.NewRequest("GET", urls, body) if err != nil { return nil, err } req.Header = reqHeaders googleapi.Expand(req.URL, map[string]string{ - "name": c.name, + "parent": c.parent, }) return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.flows.versions.patch" call. -// Exactly one of *GoogleCloudDialogflowCxV3Version or error will be -// non-nil. Any non-2xx status code is an error. Response headers are in -// either *GoogleCloudDialogflowCxV3Version.ServerResponse.Header or (if -// a response was returned at all) in error.(*googleapi.Error).Header. -// Use googleapi.IsNotModified to check whether the returned error was -// because http.StatusNotModified was returned. -func (c *ProjectsLocationsAgentsFlowsVersionsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3Version, error) { +// Do executes the "dialogflow.projects.locations.agents.sessions.entityTypes.list" call. +// Exactly one of +// *GoogleCloudDialogflowCxV3ListSessionEntityTypesResponse or error +// will be non-nil. Any non-2xx status code is an error. Response +// headers are in either +// *GoogleCloudDialogflowCxV3ListSessionEntityTypesResponse.ServerRespons +// e.Header or (if a response was returned at all) in +// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check +// whether the returned error was because http.StatusNotModified was +// returned. +func (c *ProjectsLocationsAgentsSessionsEntityTypesListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3ListSessionEntityTypesResponse, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -18511,7 +23795,7 @@ func (c *ProjectsLocationsAgentsFlowsVersionsPatchCall) Do(opts ...googleapi.Cal if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleCloudDialogflowCxV3Version{ + ret := &GoogleCloudDialogflowCxV3ListSessionEntityTypesResponse{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -18523,34 +23807,36 @@ func (c *ProjectsLocationsAgentsFlowsVersionsPatchCall) Do(opts ...googleapi.Cal } return ret, nil // { - // "description": "Updates the specified Version.", - // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/versions/{versionsId}", - // "httpMethod": "PATCH", - // "id": "dialogflow.projects.locations.agents.flows.versions.patch", + // "description": "Returns the list of all session entity types in the specified session.", + // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/sessions/{sessionsId}/entityTypes", + // "httpMethod": "GET", + // "id": "dialogflow.projects.locations.agents.sessions.entityTypes.list", // "parameterOrder": [ - // "name" + // "parent" // ], // "parameters": { - // "name": { - // "description": "Format: projects//locations//agents//flows//versions/. Version ID is a self-increasing number generated by Dialogflow upon version creation.", - // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+/versions/[^/]+$", - // "required": true, - // "type": "string" + // "pageSize": { + // "description": "The maximum number of items to return in a single page. By default 100 and at most 1000.", + // "format": "int32", + // "location": "query", + // "type": "integer" // }, - // "updateMask": { - // "description": "Required. The mask to control which fields get updated. Currently only `description` and `display_name` can be updated.", - // "format": "google-fieldmask", + // "pageToken": { + // "description": "The next_page_token value returned from a previous list request.", // "location": "query", // "type": "string" + // }, + // "parent": { + // "description": "Required. The session to list all session entity types from. Format: `projects//locations//agents//sessions/` or `projects//locations//agents//environments//sessions/`. If `Environment ID` is not specified, we assume default 'draft' environment.", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/sessions/[^/]+$", + // "required": true, + // "type": "string" // } // }, - // "path": "v3/{+name}", - // "request": { - // "$ref": "GoogleCloudDialogflowCxV3Version" - // }, + // "path": "v3/{+parent}/entityTypes", // "response": { - // "$ref": "GoogleCloudDialogflowCxV3Version" + // "$ref": "GoogleCloudDialogflowCxV3ListSessionEntityTypesResponse" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -18560,41 +23846,57 @@ func (c *ProjectsLocationsAgentsFlowsVersionsPatchCall) Do(opts ...googleapi.Cal } -// method id "dialogflow.projects.locations.agents.intents.create": +// Pages invokes f for each page of results. +// A non-nil error returned from f will halt the iteration. +// The provided context supersedes any context provided to the Context method. +func (c *ProjectsLocationsAgentsSessionsEntityTypesListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowCxV3ListSessionEntityTypesResponse) error) error { + c.ctx_ = ctx + defer c.PageToken(c.urlParams_.Get("pageToken")) // reset paging to original point + for { + x, err := c.Do() + if err != nil { + return err + } + if err := f(x); err != nil { + return err + } + if x.NextPageToken == "" { + return nil + } + c.PageToken(x.NextPageToken) + } +} -type ProjectsLocationsAgentsIntentsCreateCall struct { - s *Service - parent string - googleclouddialogflowcxv3intent *GoogleCloudDialogflowCxV3Intent - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header +// method id "dialogflow.projects.locations.agents.sessions.entityTypes.patch": + +type ProjectsLocationsAgentsSessionsEntityTypesPatchCall struct { + s *Service + nameid string + googleclouddialogflowcxv3sessionentitytype *GoogleCloudDialogflowCxV3SessionEntityType + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header } -// Create: Creates an intent in the specified agent. -func (r *ProjectsLocationsAgentsIntentsService) Create(parent string, googleclouddialogflowcxv3intent *GoogleCloudDialogflowCxV3Intent) *ProjectsLocationsAgentsIntentsCreateCall { - c := &ProjectsLocationsAgentsIntentsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.parent = parent - c.googleclouddialogflowcxv3intent = googleclouddialogflowcxv3intent +// Patch: Updates the specified session entity type. +func (r *ProjectsLocationsAgentsSessionsEntityTypesService) Patch(nameid string, googleclouddialogflowcxv3sessionentitytype *GoogleCloudDialogflowCxV3SessionEntityType) *ProjectsLocationsAgentsSessionsEntityTypesPatchCall { + c := &ProjectsLocationsAgentsSessionsEntityTypesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.nameid = nameid + c.googleclouddialogflowcxv3sessionentitytype = googleclouddialogflowcxv3sessionentitytype return c } -// LanguageCode sets the optional parameter "languageCode": The language -// of the following fields in `intent`: * -// `Intent.training_phrases.parts.text` If not specified, the agent's -// default language is used. [Many -// languages](https://cloud.google.com/dialogflow/docs/reference/language -// ) are supported. Note: languages must be enabled in the agent before -// they can be used. -func (c *ProjectsLocationsAgentsIntentsCreateCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsIntentsCreateCall { - c.urlParams_.Set("languageCode", languageCode) +// UpdateMask sets the optional parameter "updateMask": The mask to +// control which fields get updated. +func (c *ProjectsLocationsAgentsSessionsEntityTypesPatchCall) UpdateMask(updateMask string) *ProjectsLocationsAgentsSessionsEntityTypesPatchCall { + c.urlParams_.Set("updateMask", updateMask) return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsIntentsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsIntentsCreateCall { +func (c *ProjectsLocationsAgentsSessionsEntityTypesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsSessionsEntityTypesPatchCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -18602,56 +23904,58 @@ func (c *ProjectsLocationsAgentsIntentsCreateCall) Fields(s ...googleapi.Field) // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsIntentsCreateCall) Context(ctx context.Context) *ProjectsLocationsAgentsIntentsCreateCall { +func (c *ProjectsLocationsAgentsSessionsEntityTypesPatchCall) Context(ctx context.Context) *ProjectsLocationsAgentsSessionsEntityTypesPatchCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsIntentsCreateCall) Header() http.Header { +func (c *ProjectsLocationsAgentsSessionsEntityTypesPatchCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsIntentsCreateCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsSessionsEntityTypesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } reqHeaders.Set("User-Agent", c.s.userAgent()) var body io.Reader = nil - body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3intent) + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3sessionentitytype) if err != nil { return nil, err } reqHeaders.Set("Content-Type", "application/json") c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+parent}/intents") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}") urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("POST", urls, body) + req, err := http.NewRequest("PATCH", urls, body) if err != nil { return nil, err } req.Header = reqHeaders googleapi.Expand(req.URL, map[string]string{ - "parent": c.parent, + "name": c.nameid, }) return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.intents.create" call. -// Exactly one of *GoogleCloudDialogflowCxV3Intent or error will be -// non-nil. Any non-2xx status code is an error. Response headers are in -// either *GoogleCloudDialogflowCxV3Intent.ServerResponse.Header or (if -// a response was returned at all) in error.(*googleapi.Error).Header. -// Use googleapi.IsNotModified to check whether the returned error was -// because http.StatusNotModified was returned. -func (c *ProjectsLocationsAgentsIntentsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3Intent, error) { +// Do executes the "dialogflow.projects.locations.agents.sessions.entityTypes.patch" call. +// Exactly one of *GoogleCloudDialogflowCxV3SessionEntityType or error +// will be non-nil. Any non-2xx status code is an error. Response +// headers are in either +// *GoogleCloudDialogflowCxV3SessionEntityType.ServerResponse.Header or +// (if a response was returned at all) in +// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check +// whether the returned error was because http.StatusNotModified was +// returned. +func (c *ProjectsLocationsAgentsSessionsEntityTypesPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3SessionEntityType, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -18670,7 +23974,7 @@ func (c *ProjectsLocationsAgentsIntentsCreateCall) Do(opts ...googleapi.CallOpti if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleCloudDialogflowCxV3Intent{ + ret := &GoogleCloudDialogflowCxV3SessionEntityType{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -18682,33 +23986,34 @@ func (c *ProjectsLocationsAgentsIntentsCreateCall) Do(opts ...googleapi.CallOpti } return ret, nil // { - // "description": "Creates an intent in the specified agent.", - // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/intents", - // "httpMethod": "POST", - // "id": "dialogflow.projects.locations.agents.intents.create", + // "description": "Updates the specified session entity type.", + // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/sessions/{sessionsId}/entityTypes/{entityTypesId}", + // "httpMethod": "PATCH", + // "id": "dialogflow.projects.locations.agents.sessions.entityTypes.patch", // "parameterOrder": [ - // "parent" + // "name" // ], // "parameters": { - // "languageCode": { - // "description": "The language of the following fields in `intent`: * `Intent.training_phrases.parts.text` If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", - // "location": "query", - // "type": "string" - // }, - // "parent": { - // "description": "Required. The agent to create an intent for. Format: `projects//locations//agents/`.", + // "name": { + // "description": "Required. The unique identifier of the session entity type. Format: `projects//locations//agents//sessions//entityTypes/` or `projects//locations//agents//environments//sessions//entityTypes/`. If `Environment ID` is not specified, we assume default 'draft' environment.", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/sessions/[^/]+/entityTypes/[^/]+$", // "required": true, // "type": "string" + // }, + // "updateMask": { + // "description": "The mask to control which fields get updated.", + // "format": "google-fieldmask", + // "location": "query", + // "type": "string" // } // }, - // "path": "v3/{+parent}/intents", + // "path": "v3/{+name}", // "request": { - // "$ref": "GoogleCloudDialogflowCxV3Intent" + // "$ref": "GoogleCloudDialogflowCxV3SessionEntityType" // }, // "response": { - // "$ref": "GoogleCloudDialogflowCxV3Intent" + // "$ref": "GoogleCloudDialogflowCxV3SessionEntityType" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -18718,27 +24023,29 @@ func (c *ProjectsLocationsAgentsIntentsCreateCall) Do(opts ...googleapi.CallOpti } -// method id "dialogflow.projects.locations.agents.intents.delete": +// method id "dialogflow.projects.locations.agents.testCases.batchDelete": -type ProjectsLocationsAgentsIntentsDeleteCall struct { - s *Service - name string - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header +type ProjectsLocationsAgentsTestCasesBatchDeleteCall struct { + s *Service + parent string + googleclouddialogflowcxv3batchdeletetestcasesrequest *GoogleCloudDialogflowCxV3BatchDeleteTestCasesRequest + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header } -// Delete: Deletes the specified intent. -func (r *ProjectsLocationsAgentsIntentsService) Delete(name string) *ProjectsLocationsAgentsIntentsDeleteCall { - c := &ProjectsLocationsAgentsIntentsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.name = name +// BatchDelete: Batch deletes test cases. +func (r *ProjectsLocationsAgentsTestCasesService) BatchDelete(parent string, googleclouddialogflowcxv3batchdeletetestcasesrequest *GoogleCloudDialogflowCxV3BatchDeleteTestCasesRequest) *ProjectsLocationsAgentsTestCasesBatchDeleteCall { + c := &ProjectsLocationsAgentsTestCasesBatchDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.parent = parent + c.googleclouddialogflowcxv3batchdeletetestcasesrequest = googleclouddialogflowcxv3batchdeletetestcasesrequest return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsIntentsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsIntentsDeleteCall { +func (c *ProjectsLocationsAgentsTestCasesBatchDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsTestCasesBatchDeleteCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -18746,51 +24053,56 @@ func (c *ProjectsLocationsAgentsIntentsDeleteCall) Fields(s ...googleapi.Field) // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsIntentsDeleteCall) Context(ctx context.Context) *ProjectsLocationsAgentsIntentsDeleteCall { +func (c *ProjectsLocationsAgentsTestCasesBatchDeleteCall) Context(ctx context.Context) *ProjectsLocationsAgentsTestCasesBatchDeleteCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsIntentsDeleteCall) Header() http.Header { +func (c *ProjectsLocationsAgentsTestCasesBatchDeleteCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsIntentsDeleteCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsTestCasesBatchDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } reqHeaders.Set("User-Agent", c.s.userAgent()) var body io.Reader = nil + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3batchdeletetestcasesrequest) + if err != nil { + return nil, err + } + reqHeaders.Set("Content-Type", "application/json") c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+parent}/testCases:batchDelete") urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("DELETE", urls, body) + req, err := http.NewRequest("POST", urls, body) if err != nil { return nil, err } req.Header = reqHeaders googleapi.Expand(req.URL, map[string]string{ - "name": c.name, + "parent": c.parent, }) return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.intents.delete" call. +// Do executes the "dialogflow.projects.locations.agents.testCases.batchDelete" call. // Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any // non-2xx status code is an error. Response headers are in either // *GoogleProtobufEmpty.ServerResponse.Header or (if a response was // returned at all) in error.(*googleapi.Error).Header. Use // googleapi.IsNotModified to check whether the returned error was // because http.StatusNotModified was returned. -func (c *ProjectsLocationsAgentsIntentsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error) { +func (c *ProjectsLocationsAgentsTestCasesBatchDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -18821,23 +24133,26 @@ func (c *ProjectsLocationsAgentsIntentsDeleteCall) Do(opts ...googleapi.CallOpti } return ret, nil // { - // "description": "Deletes the specified intent.", - // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/intents/{intentsId}", - // "httpMethod": "DELETE", - // "id": "dialogflow.projects.locations.agents.intents.delete", + // "description": "Batch deletes test cases.", + // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/testCases:batchDelete", + // "httpMethod": "POST", + // "id": "dialogflow.projects.locations.agents.testCases.batchDelete", // "parameterOrder": [ - // "name" + // "parent" // ], // "parameters": { - // "name": { - // "description": "Required. The name of the intent to delete. Format: `projects//locations//agents//intents/`.", + // "parent": { + // "description": "Required. The agent to delete test cases from. Format: `projects//locations//agents/`.", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/intents/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", // "required": true, // "type": "string" // } // }, - // "path": "v3/{+name}", + // "path": "v3/{+parent}/testCases:batchDelete", + // "request": { + // "$ref": "GoogleCloudDialogflowCxV3BatchDeleteTestCasesRequest" + // }, // "response": { // "$ref": "GoogleProtobufEmpty" // }, @@ -18849,105 +24164,86 @@ func (c *ProjectsLocationsAgentsIntentsDeleteCall) Do(opts ...googleapi.CallOpti } -// method id "dialogflow.projects.locations.agents.intents.get": - -type ProjectsLocationsAgentsIntentsGetCall struct { - s *Service - name string - urlParams_ gensupport.URLParams - ifNoneMatch_ string - ctx_ context.Context - header_ http.Header -} +// method id "dialogflow.projects.locations.agents.testCases.batchRun": -// Get: Retrieves the specified intent. -func (r *ProjectsLocationsAgentsIntentsService) Get(name string) *ProjectsLocationsAgentsIntentsGetCall { - c := &ProjectsLocationsAgentsIntentsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.name = name - return c +type ProjectsLocationsAgentsTestCasesBatchRunCall struct { + s *Service + parent string + googleclouddialogflowcxv3batchruntestcasesrequest *GoogleCloudDialogflowCxV3BatchRunTestCasesRequest + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header } -// LanguageCode sets the optional parameter "languageCode": The language -// to retrieve the intent for. The following fields are language -// dependent: * `Intent.training_phrases.parts.text` If not specified, -// the agent's default language is used. [Many -// languages](https://cloud.google.com/dialogflow/docs/reference/language -// ) are supported. Note: languages must be enabled in the agent before -// they can be used. -func (c *ProjectsLocationsAgentsIntentsGetCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsIntentsGetCall { - c.urlParams_.Set("languageCode", languageCode) +// BatchRun: Kicks off a batch run of test cases. +func (r *ProjectsLocationsAgentsTestCasesService) BatchRun(parent string, googleclouddialogflowcxv3batchruntestcasesrequest *GoogleCloudDialogflowCxV3BatchRunTestCasesRequest) *ProjectsLocationsAgentsTestCasesBatchRunCall { + c := &ProjectsLocationsAgentsTestCasesBatchRunCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.parent = parent + c.googleclouddialogflowcxv3batchruntestcasesrequest = googleclouddialogflowcxv3batchruntestcasesrequest return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsIntentsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsIntentsGetCall { +func (c *ProjectsLocationsAgentsTestCasesBatchRunCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsTestCasesBatchRunCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } -// IfNoneMatch sets the optional parameter which makes the operation -// fail if the object's ETag matches the given value. This is useful for -// getting updates only after the object has changed since the last -// request. Use googleapi.IsNotModified to check whether the response -// error from Do is the result of In-None-Match. -func (c *ProjectsLocationsAgentsIntentsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsIntentsGetCall { - c.ifNoneMatch_ = entityTag - return c -} - // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsIntentsGetCall) Context(ctx context.Context) *ProjectsLocationsAgentsIntentsGetCall { +func (c *ProjectsLocationsAgentsTestCasesBatchRunCall) Context(ctx context.Context) *ProjectsLocationsAgentsTestCasesBatchRunCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsIntentsGetCall) Header() http.Header { +func (c *ProjectsLocationsAgentsTestCasesBatchRunCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsIntentsGetCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsTestCasesBatchRunCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } reqHeaders.Set("User-Agent", c.s.userAgent()) - if c.ifNoneMatch_ != "" { - reqHeaders.Set("If-None-Match", c.ifNoneMatch_) - } var body io.Reader = nil + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3batchruntestcasesrequest) + if err != nil { + return nil, err + } + reqHeaders.Set("Content-Type", "application/json") c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+parent}/testCases:batchRun") urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("GET", urls, body) + req, err := http.NewRequest("POST", urls, body) if err != nil { return nil, err } req.Header = reqHeaders googleapi.Expand(req.URL, map[string]string{ - "name": c.name, + "parent": c.parent, }) return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.intents.get" call. -// Exactly one of *GoogleCloudDialogflowCxV3Intent or error will be -// non-nil. Any non-2xx status code is an error. Response headers are in -// either *GoogleCloudDialogflowCxV3Intent.ServerResponse.Header or (if -// a response was returned at all) in error.(*googleapi.Error).Header. -// Use googleapi.IsNotModified to check whether the returned error was +// Do executes the "dialogflow.projects.locations.agents.testCases.batchRun" call. +// Exactly one of *GoogleLongrunningOperation or error will be non-nil. +// Any non-2xx status code is an error. Response headers are in either +// *GoogleLongrunningOperation.ServerResponse.Header or (if a response +// was returned at all) in error.(*googleapi.Error).Header. Use +// googleapi.IsNotModified to check whether the returned error was // because http.StatusNotModified was returned. -func (c *ProjectsLocationsAgentsIntentsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3Intent, error) { +func (c *ProjectsLocationsAgentsTestCasesBatchRunCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -18966,7 +24262,7 @@ func (c *ProjectsLocationsAgentsIntentsGetCall) Do(opts ...googleapi.CallOption) if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleCloudDialogflowCxV3Intent{ + ret := &GoogleLongrunningOperation{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -18978,30 +24274,28 @@ func (c *ProjectsLocationsAgentsIntentsGetCall) Do(opts ...googleapi.CallOption) } return ret, nil // { - // "description": "Retrieves the specified intent.", - // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/intents/{intentsId}", - // "httpMethod": "GET", - // "id": "dialogflow.projects.locations.agents.intents.get", + // "description": "Kicks off a batch run of test cases.", + // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/testCases:batchRun", + // "httpMethod": "POST", + // "id": "dialogflow.projects.locations.agents.testCases.batchRun", // "parameterOrder": [ - // "name" + // "parent" // ], // "parameters": { - // "languageCode": { - // "description": "The language to retrieve the intent for. The following fields are language dependent: * `Intent.training_phrases.parts.text` If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", - // "location": "query", - // "type": "string" - // }, - // "name": { - // "description": "Required. The name of the intent. Format: `projects//locations//agents//intents/`.", + // "parent": { + // "description": "Required. Agent name. Format: `projects//locations//agents/ `.", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/intents/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", // "required": true, // "type": "string" // } // }, - // "path": "v3/{+name}", + // "path": "v3/{+parent}/testCases:batchRun", + // "request": { + // "$ref": "GoogleCloudDialogflowCxV3BatchRunTestCasesRequest" + // }, // "response": { - // "$ref": "GoogleCloudDialogflowCxV3Intent" + // "$ref": "GoogleLongrunningOperation" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -19011,68 +24305,40 @@ func (c *ProjectsLocationsAgentsIntentsGetCall) Do(opts ...googleapi.CallOption) } -// method id "dialogflow.projects.locations.agents.intents.list": +// method id "dialogflow.projects.locations.agents.testCases.calculateCoverage": -type ProjectsLocationsAgentsIntentsListCall struct { +type ProjectsLocationsAgentsTestCasesCalculateCoverageCall struct { s *Service - parent string + agent string urlParams_ gensupport.URLParams ifNoneMatch_ string ctx_ context.Context header_ http.Header } -// List: Returns the list of all intents in the specified agent. -func (r *ProjectsLocationsAgentsIntentsService) List(parent string) *ProjectsLocationsAgentsIntentsListCall { - c := &ProjectsLocationsAgentsIntentsListCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.parent = parent +// CalculateCoverage: Calculates the test coverage for an agent. +func (r *ProjectsLocationsAgentsTestCasesService) CalculateCoverage(agent string) *ProjectsLocationsAgentsTestCasesCalculateCoverageCall { + c := &ProjectsLocationsAgentsTestCasesCalculateCoverageCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.agent = agent return c } -// IntentView sets the optional parameter "intentView": The resource -// view to apply to the returned intent. +// Type sets the optional parameter "type": Required. The type of +// coverage requested. // // Possible values: -// "INTENT_VIEW_UNSPECIFIED" - Not specified. Treated as -// INTENT_VIEW_FULL. -// "INTENT_VIEW_PARTIAL" - Training phrases field is not populated in -// the response. -// "INTENT_VIEW_FULL" - All fields are populated. -func (c *ProjectsLocationsAgentsIntentsListCall) IntentView(intentView string) *ProjectsLocationsAgentsIntentsListCall { - c.urlParams_.Set("intentView", intentView) - return c -} - -// LanguageCode sets the optional parameter "languageCode": The language -// to list intents for. The following fields are language dependent: * -// `Intent.training_phrases.parts.text` If not specified, the agent's -// default language is used. [Many -// languages](https://cloud.google.com/dialogflow/docs/reference/language -// ) are supported. Note: languages must be enabled in the agent before -// they can be used. -func (c *ProjectsLocationsAgentsIntentsListCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsIntentsListCall { - c.urlParams_.Set("languageCode", languageCode) - return c -} - -// PageSize sets the optional parameter "pageSize": The maximum number -// of items to return in a single page. By default 100 and at most 1000. -func (c *ProjectsLocationsAgentsIntentsListCall) PageSize(pageSize int64) *ProjectsLocationsAgentsIntentsListCall { - c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) - return c -} - -// PageToken sets the optional parameter "pageToken": The -// next_page_token value returned from a previous list request. -func (c *ProjectsLocationsAgentsIntentsListCall) PageToken(pageToken string) *ProjectsLocationsAgentsIntentsListCall { - c.urlParams_.Set("pageToken", pageToken) +// "COVERAGE_TYPE_UNSPECIFIED" - Should never be used. +// "INTENT" - Intent coverage. +// "PAGE_TRANSITION" - Page transition coverage +func (c *ProjectsLocationsAgentsTestCasesCalculateCoverageCall) Type(type_ string) *ProjectsLocationsAgentsTestCasesCalculateCoverageCall { + c.urlParams_.Set("type", type_) return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsIntentsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsIntentsListCall { +func (c *ProjectsLocationsAgentsTestCasesCalculateCoverageCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsTestCasesCalculateCoverageCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -19082,7 +24348,7 @@ func (c *ProjectsLocationsAgentsIntentsListCall) Fields(s ...googleapi.Field) *P // getting updates only after the object has changed since the last // request. Use googleapi.IsNotModified to check whether the response // error from Do is the result of In-None-Match. -func (c *ProjectsLocationsAgentsIntentsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsIntentsListCall { +func (c *ProjectsLocationsAgentsTestCasesCalculateCoverageCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsTestCasesCalculateCoverageCall { c.ifNoneMatch_ = entityTag return c } @@ -19090,23 +24356,23 @@ func (c *ProjectsLocationsAgentsIntentsListCall) IfNoneMatch(entityTag string) * // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsIntentsListCall) Context(ctx context.Context) *ProjectsLocationsAgentsIntentsListCall { +func (c *ProjectsLocationsAgentsTestCasesCalculateCoverageCall) Context(ctx context.Context) *ProjectsLocationsAgentsTestCasesCalculateCoverageCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsIntentsListCall) Header() http.Header { +func (c *ProjectsLocationsAgentsTestCasesCalculateCoverageCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsIntentsListCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsTestCasesCalculateCoverageCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19117,7 +24383,7 @@ func (c *ProjectsLocationsAgentsIntentsListCall) doRequest(alt string) (*http.Re var body io.Reader = nil c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+parent}/intents") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+agent}/testCases:calculateCoverage") urls += "?" + c.urlParams_.Encode() req, err := http.NewRequest("GET", urls, body) if err != nil { @@ -19125,21 +24391,21 @@ func (c *ProjectsLocationsAgentsIntentsListCall) doRequest(alt string) (*http.Re } req.Header = reqHeaders googleapi.Expand(req.URL, map[string]string{ - "parent": c.parent, + "agent": c.agent, }) return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.intents.list" call. -// Exactly one of *GoogleCloudDialogflowCxV3ListIntentsResponse or error -// will be non-nil. Any non-2xx status code is an error. Response +// Do executes the "dialogflow.projects.locations.agents.testCases.calculateCoverage" call. +// Exactly one of *GoogleCloudDialogflowCxV3CalculateCoverageResponse or +// error will be non-nil. Any non-2xx status code is an error. Response // headers are in either -// *GoogleCloudDialogflowCxV3ListIntentsResponse.ServerResponse.Header -// or (if a response was returned at all) in +// *GoogleCloudDialogflowCxV3CalculateCoverageResponse.ServerResponse.Hea +// der or (if a response was returned at all) in // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check // whether the returned error was because http.StatusNotModified was // returned. -func (c *ProjectsLocationsAgentsIntentsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3ListIntentsResponse, error) { +func (c *ProjectsLocationsAgentsTestCasesCalculateCoverageCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3CalculateCoverageResponse, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -19158,7 +24424,7 @@ func (c *ProjectsLocationsAgentsIntentsListCall) Do(opts ...googleapi.CallOption if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleCloudDialogflowCxV3ListIntentsResponse{ + ret := &GoogleCloudDialogflowCxV3CalculateCoverageResponse{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -19170,56 +24436,40 @@ func (c *ProjectsLocationsAgentsIntentsListCall) Do(opts ...googleapi.CallOption } return ret, nil // { - // "description": "Returns the list of all intents in the specified agent.", - // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/intents", + // "description": "Calculates the test coverage for an agent.", + // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/testCases:calculateCoverage", // "httpMethod": "GET", - // "id": "dialogflow.projects.locations.agents.intents.list", + // "id": "dialogflow.projects.locations.agents.testCases.calculateCoverage", // "parameterOrder": [ - // "parent" + // "agent" // ], // "parameters": { - // "intentView": { - // "description": "The resource view to apply to the returned intent.", - // "enum": [ - // "INTENT_VIEW_UNSPECIFIED", - // "INTENT_VIEW_PARTIAL", - // "INTENT_VIEW_FULL" - // ], - // "enumDescriptions": [ - // "Not specified. Treated as INTENT_VIEW_FULL.", - // "Training phrases field is not populated in the response.", - // "All fields are populated." - // ], - // "location": "query", - // "type": "string" - // }, - // "languageCode": { - // "description": "The language to list intents for. The following fields are language dependent: * `Intent.training_phrases.parts.text` If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", - // "location": "query", - // "type": "string" - // }, - // "pageSize": { - // "description": "The maximum number of items to return in a single page. By default 100 and at most 1000.", - // "format": "int32", - // "location": "query", - // "type": "integer" - // }, - // "pageToken": { - // "description": "The next_page_token value returned from a previous list request.", - // "location": "query", - // "type": "string" - // }, - // "parent": { - // "description": "Required. The agent to list all intents for. Format: `projects//locations//agents/`.", + // "agent": { + // "description": "Required. The agent to calculate coverage for. Format: `projects//locations//agents/`.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", // "required": true, // "type": "string" + // }, + // "type": { + // "description": "Required. The type of coverage requested.", + // "enum": [ + // "COVERAGE_TYPE_UNSPECIFIED", + // "INTENT", + // "PAGE_TRANSITION" + // ], + // "enumDescriptions": [ + // "Should never be used.", + // "Intent coverage.", + // "Page transition coverage" + // ], + // "location": "query", + // "type": "string" // } // }, - // "path": "v3/{+parent}/intents", + // "path": "v3/{+agent}/testCases:calculateCoverage", // "response": { - // "$ref": "GoogleCloudDialogflowCxV3ListIntentsResponse" + // "$ref": "GoogleCloudDialogflowCxV3CalculateCoverageResponse" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -19229,70 +24479,29 @@ func (c *ProjectsLocationsAgentsIntentsListCall) Do(opts ...googleapi.CallOption } -// Pages invokes f for each page of results. -// A non-nil error returned from f will halt the iteration. -// The provided context supersedes any context provided to the Context method. -func (c *ProjectsLocationsAgentsIntentsListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowCxV3ListIntentsResponse) error) error { - c.ctx_ = ctx - defer c.PageToken(c.urlParams_.Get("pageToken")) // reset paging to original point - for { - x, err := c.Do() - if err != nil { - return err - } - if err := f(x); err != nil { - return err - } - if x.NextPageToken == "" { - return nil - } - c.PageToken(x.NextPageToken) - } -} - -// method id "dialogflow.projects.locations.agents.intents.patch": - -type ProjectsLocationsAgentsIntentsPatchCall struct { - s *Service - nameid string - googleclouddialogflowcxv3intent *GoogleCloudDialogflowCxV3Intent - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header -} - -// Patch: Updates the specified intent. -func (r *ProjectsLocationsAgentsIntentsService) Patch(nameid string, googleclouddialogflowcxv3intent *GoogleCloudDialogflowCxV3Intent) *ProjectsLocationsAgentsIntentsPatchCall { - c := &ProjectsLocationsAgentsIntentsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.nameid = nameid - c.googleclouddialogflowcxv3intent = googleclouddialogflowcxv3intent - return c -} +// method id "dialogflow.projects.locations.agents.testCases.create": -// LanguageCode sets the optional parameter "languageCode": The language -// of the following fields in `intent`: * -// `Intent.training_phrases.parts.text` If not specified, the agent's -// default language is used. [Many -// languages](https://cloud.google.com/dialogflow/docs/reference/language -// ) are supported. Note: languages must be enabled in the agent before -// they can be used. -func (c *ProjectsLocationsAgentsIntentsPatchCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsIntentsPatchCall { - c.urlParams_.Set("languageCode", languageCode) - return c +type ProjectsLocationsAgentsTestCasesCreateCall struct { + s *Service + parent string + googleclouddialogflowcxv3testcase *GoogleCloudDialogflowCxV3TestCase + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header } -// UpdateMask sets the optional parameter "updateMask": The mask to -// control which fields get updated. If the mask is not present, all -// fields will be updated. -func (c *ProjectsLocationsAgentsIntentsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsAgentsIntentsPatchCall { - c.urlParams_.Set("updateMask", updateMask) +// Create: Creates a test case for the given agent. +func (r *ProjectsLocationsAgentsTestCasesService) Create(parent string, googleclouddialogflowcxv3testcase *GoogleCloudDialogflowCxV3TestCase) *ProjectsLocationsAgentsTestCasesCreateCall { + c := &ProjectsLocationsAgentsTestCasesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.parent = parent + c.googleclouddialogflowcxv3testcase = googleclouddialogflowcxv3testcase return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsIntentsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsIntentsPatchCall { +func (c *ProjectsLocationsAgentsTestCasesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsTestCasesCreateCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -19300,56 +24509,57 @@ func (c *ProjectsLocationsAgentsIntentsPatchCall) Fields(s ...googleapi.Field) * // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsIntentsPatchCall) Context(ctx context.Context) *ProjectsLocationsAgentsIntentsPatchCall { +func (c *ProjectsLocationsAgentsTestCasesCreateCall) Context(ctx context.Context) *ProjectsLocationsAgentsTestCasesCreateCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsIntentsPatchCall) Header() http.Header { +func (c *ProjectsLocationsAgentsTestCasesCreateCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsIntentsPatchCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsTestCasesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } reqHeaders.Set("User-Agent", c.s.userAgent()) var body io.Reader = nil - body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3intent) + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3testcase) if err != nil { return nil, err } reqHeaders.Set("Content-Type", "application/json") c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+parent}/testCases") urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("PATCH", urls, body) + req, err := http.NewRequest("POST", urls, body) if err != nil { return nil, err } req.Header = reqHeaders googleapi.Expand(req.URL, map[string]string{ - "name": c.nameid, + "parent": c.parent, }) return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.intents.patch" call. -// Exactly one of *GoogleCloudDialogflowCxV3Intent or error will be +// Do executes the "dialogflow.projects.locations.agents.testCases.create" call. +// Exactly one of *GoogleCloudDialogflowCxV3TestCase or error will be // non-nil. Any non-2xx status code is an error. Response headers are in -// either *GoogleCloudDialogflowCxV3Intent.ServerResponse.Header or (if -// a response was returned at all) in error.(*googleapi.Error).Header. -// Use googleapi.IsNotModified to check whether the returned error was -// because http.StatusNotModified was returned. -func (c *ProjectsLocationsAgentsIntentsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3Intent, error) { +// either *GoogleCloudDialogflowCxV3TestCase.ServerResponse.Header or +// (if a response was returned at all) in +// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check +// whether the returned error was because http.StatusNotModified was +// returned. +func (c *ProjectsLocationsAgentsTestCasesCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3TestCase, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -19368,7 +24578,7 @@ func (c *ProjectsLocationsAgentsIntentsPatchCall) Do(opts ...googleapi.CallOptio if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleCloudDialogflowCxV3Intent{ + ret := &GoogleCloudDialogflowCxV3TestCase{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -19380,39 +24590,28 @@ func (c *ProjectsLocationsAgentsIntentsPatchCall) Do(opts ...googleapi.CallOptio } return ret, nil // { - // "description": "Updates the specified intent.", - // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/intents/{intentsId}", - // "httpMethod": "PATCH", - // "id": "dialogflow.projects.locations.agents.intents.patch", + // "description": "Creates a test case for the given agent.", + // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/testCases", + // "httpMethod": "POST", + // "id": "dialogflow.projects.locations.agents.testCases.create", // "parameterOrder": [ - // "name" + // "parent" // ], // "parameters": { - // "languageCode": { - // "description": "The language of the following fields in `intent`: * `Intent.training_phrases.parts.text` If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", - // "location": "query", - // "type": "string" - // }, - // "name": { - // "description": "The unique identifier of the intent. Required for the Intents.UpdateIntent method. Intents.CreateIntent populates the name automatically. Format: `projects//locations//agents//intents/`.", + // "parent": { + // "description": "Required. The agent to create the test case for. Format: `projects//locations//agents/`.", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/intents/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", // "required": true, // "type": "string" - // }, - // "updateMask": { - // "description": "The mask to control which fields get updated. If the mask is not present, all fields will be updated.", - // "format": "google-fieldmask", - // "location": "query", - // "type": "string" // } // }, - // "path": "v3/{+name}", + // "path": "v3/{+parent}/testCases", // "request": { - // "$ref": "GoogleCloudDialogflowCxV3Intent" + // "$ref": "GoogleCloudDialogflowCxV3TestCase" // }, // "response": { - // "$ref": "GoogleCloudDialogflowCxV3Intent" + // "$ref": "GoogleCloudDialogflowCxV3TestCase" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -19422,35 +24621,31 @@ func (c *ProjectsLocationsAgentsIntentsPatchCall) Do(opts ...googleapi.CallOptio } -// method id "dialogflow.projects.locations.agents.sessions.detectIntent": +// method id "dialogflow.projects.locations.agents.testCases.export": -type ProjectsLocationsAgentsSessionsDetectIntentCall struct { - s *Service - sessionid string - googleclouddialogflowcxv3detectintentrequest *GoogleCloudDialogflowCxV3DetectIntentRequest - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header +type ProjectsLocationsAgentsTestCasesExportCall struct { + s *Service + parent string + googleclouddialogflowcxv3exporttestcasesrequest *GoogleCloudDialogflowCxV3ExportTestCasesRequest + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header } -// DetectIntent: Processes a natural language query and returns -// structured, actionable data as a result. This method is not -// idempotent, because it may cause session entity types to be updated, -// which in turn might affect results of future queries. Note: Always -// use agent versions for production traffic. See [Versions and -// environments](https://cloud.google.com/dialogflow/cx/docs/concept/vers -// ion). -func (r *ProjectsLocationsAgentsSessionsService) DetectIntent(sessionid string, googleclouddialogflowcxv3detectintentrequest *GoogleCloudDialogflowCxV3DetectIntentRequest) *ProjectsLocationsAgentsSessionsDetectIntentCall { - c := &ProjectsLocationsAgentsSessionsDetectIntentCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.sessionid = sessionid - c.googleclouddialogflowcxv3detectintentrequest = googleclouddialogflowcxv3detectintentrequest +// Export: Exports the test cases under the agent to a Cloud Storage +// bucket or a local file. Filter can be applied to export a subset of +// test cases. +func (r *ProjectsLocationsAgentsTestCasesService) Export(parent string, googleclouddialogflowcxv3exporttestcasesrequest *GoogleCloudDialogflowCxV3ExportTestCasesRequest) *ProjectsLocationsAgentsTestCasesExportCall { + c := &ProjectsLocationsAgentsTestCasesExportCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.parent = parent + c.googleclouddialogflowcxv3exporttestcasesrequest = googleclouddialogflowcxv3exporttestcasesrequest return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsSessionsDetectIntentCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsSessionsDetectIntentCall { +func (c *ProjectsLocationsAgentsTestCasesExportCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsTestCasesExportCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -19458,36 +24653,36 @@ func (c *ProjectsLocationsAgentsSessionsDetectIntentCall) Fields(s ...googleapi. // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsSessionsDetectIntentCall) Context(ctx context.Context) *ProjectsLocationsAgentsSessionsDetectIntentCall { +func (c *ProjectsLocationsAgentsTestCasesExportCall) Context(ctx context.Context) *ProjectsLocationsAgentsTestCasesExportCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsSessionsDetectIntentCall) Header() http.Header { +func (c *ProjectsLocationsAgentsTestCasesExportCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsSessionsDetectIntentCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsTestCasesExportCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } reqHeaders.Set("User-Agent", c.s.userAgent()) var body io.Reader = nil - body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3detectintentrequest) + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3exporttestcasesrequest) if err != nil { return nil, err } reqHeaders.Set("Content-Type", "application/json") c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+session}:detectIntent") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+parent}/testCases:export") urls += "?" + c.urlParams_.Encode() req, err := http.NewRequest("POST", urls, body) if err != nil { @@ -19495,21 +24690,19 @@ func (c *ProjectsLocationsAgentsSessionsDetectIntentCall) doRequest(alt string) } req.Header = reqHeaders googleapi.Expand(req.URL, map[string]string{ - "session": c.sessionid, + "parent": c.parent, }) return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.sessions.detectIntent" call. -// Exactly one of *GoogleCloudDialogflowCxV3DetectIntentResponse or -// error will be non-nil. Any non-2xx status code is an error. Response -// headers are in either -// *GoogleCloudDialogflowCxV3DetectIntentResponse.ServerResponse.Header -// or (if a response was returned at all) in -// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check -// whether the returned error was because http.StatusNotModified was -// returned. -func (c *ProjectsLocationsAgentsSessionsDetectIntentCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3DetectIntentResponse, error) { +// Do executes the "dialogflow.projects.locations.agents.testCases.export" call. +// Exactly one of *GoogleLongrunningOperation or error will be non-nil. +// Any non-2xx status code is an error. Response headers are in either +// *GoogleLongrunningOperation.ServerResponse.Header or (if a response +// was returned at all) in error.(*googleapi.Error).Header. Use +// googleapi.IsNotModified to check whether the returned error was +// because http.StatusNotModified was returned. +func (c *ProjectsLocationsAgentsTestCasesExportCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -19528,7 +24721,7 @@ func (c *ProjectsLocationsAgentsSessionsDetectIntentCall) Do(opts ...googleapi.C if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleCloudDialogflowCxV3DetectIntentResponse{ + ret := &GoogleLongrunningOperation{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -19540,28 +24733,28 @@ func (c *ProjectsLocationsAgentsSessionsDetectIntentCall) Do(opts ...googleapi.C } return ret, nil // { - // "description": "Processes a natural language query and returns structured, actionable data as a result. This method is not idempotent, because it may cause session entity types to be updated, which in turn might affect results of future queries. Note: Always use agent versions for production traffic. See [Versions and environments](https://cloud.google.com/dialogflow/cx/docs/concept/version).", - // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/sessions/{sessionsId}:detectIntent", + // "description": "Exports the test cases under the agent to a Cloud Storage bucket or a local file. Filter can be applied to export a subset of test cases.", + // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/testCases:export", // "httpMethod": "POST", - // "id": "dialogflow.projects.locations.agents.sessions.detectIntent", + // "id": "dialogflow.projects.locations.agents.testCases.export", // "parameterOrder": [ - // "session" + // "parent" // ], // "parameters": { - // "session": { - // "description": "Required. The name of the session this query is sent to. Format: `projects//locations//agents//sessions/` or `projects//locations//agents//environments//sessions/`. If `Environment ID` is not specified, we assume default 'draft' environment. It's up to the API caller to choose an appropriate `Session ID`. It can be a random number or some type of session identifiers (preferably hashed). The length of the `Session ID` must not exceed 36 characters. For more information, see the [sessions guide](https://cloud.google.com/dialogflow/cx/docs/concept/session). Note: Always use agent versions for production traffic. See [Versions and environments](https://cloud.google.com/dialogflow/cx/docs/concept/version).", + // "parent": { + // "description": "Required. The agent where to export test cases from. Format: `projects//locations//agents/`.", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/sessions/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", // "required": true, // "type": "string" // } // }, - // "path": "v3/{+session}:detectIntent", + // "path": "v3/{+parent}/testCases:export", // "request": { - // "$ref": "GoogleCloudDialogflowCxV3DetectIntentRequest" + // "$ref": "GoogleCloudDialogflowCxV3ExportTestCasesRequest" // }, // "response": { - // "$ref": "GoogleCloudDialogflowCxV3DetectIntentResponse" + // "$ref": "GoogleLongrunningOperation" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -19571,90 +24764,94 @@ func (c *ProjectsLocationsAgentsSessionsDetectIntentCall) Do(opts ...googleapi.C } -// method id "dialogflow.projects.locations.agents.sessions.fulfillIntent": +// method id "dialogflow.projects.locations.agents.testCases.get": -type ProjectsLocationsAgentsSessionsFulfillIntentCall struct { - s *Service - sessionid string - googleclouddialogflowcxv3fulfillintentrequest *GoogleCloudDialogflowCxV3FulfillIntentRequest - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header +type ProjectsLocationsAgentsTestCasesGetCall struct { + s *Service + name string + urlParams_ gensupport.URLParams + ifNoneMatch_ string + ctx_ context.Context + header_ http.Header } -// FulfillIntent: Fulfills a matched intent returned by MatchIntent. -// Must be called after MatchIntent, with input from -// MatchIntentResponse. Otherwise, the behavior is undefined. -func (r *ProjectsLocationsAgentsSessionsService) FulfillIntent(sessionid string, googleclouddialogflowcxv3fulfillintentrequest *GoogleCloudDialogflowCxV3FulfillIntentRequest) *ProjectsLocationsAgentsSessionsFulfillIntentCall { - c := &ProjectsLocationsAgentsSessionsFulfillIntentCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.sessionid = sessionid - c.googleclouddialogflowcxv3fulfillintentrequest = googleclouddialogflowcxv3fulfillintentrequest +// Get: Gets a test case. +func (r *ProjectsLocationsAgentsTestCasesService) Get(name string) *ProjectsLocationsAgentsTestCasesGetCall { + c := &ProjectsLocationsAgentsTestCasesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsSessionsFulfillIntentCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsSessionsFulfillIntentCall { +func (c *ProjectsLocationsAgentsTestCasesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsTestCasesGetCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } +// IfNoneMatch sets the optional parameter which makes the operation +// fail if the object's ETag matches the given value. This is useful for +// getting updates only after the object has changed since the last +// request. Use googleapi.IsNotModified to check whether the response +// error from Do is the result of In-None-Match. +func (c *ProjectsLocationsAgentsTestCasesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsTestCasesGetCall { + c.ifNoneMatch_ = entityTag + return c +} + // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsSessionsFulfillIntentCall) Context(ctx context.Context) *ProjectsLocationsAgentsSessionsFulfillIntentCall { +func (c *ProjectsLocationsAgentsTestCasesGetCall) Context(ctx context.Context) *ProjectsLocationsAgentsTestCasesGetCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsSessionsFulfillIntentCall) Header() http.Header { +func (c *ProjectsLocationsAgentsTestCasesGetCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsSessionsFulfillIntentCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsTestCasesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } reqHeaders.Set("User-Agent", c.s.userAgent()) - var body io.Reader = nil - body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3fulfillintentrequest) - if err != nil { - return nil, err + if c.ifNoneMatch_ != "" { + reqHeaders.Set("If-None-Match", c.ifNoneMatch_) } - reqHeaders.Set("Content-Type", "application/json") + var body io.Reader = nil c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+session}:fulfillIntent") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}") urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("POST", urls, body) + req, err := http.NewRequest("GET", urls, body) if err != nil { return nil, err } req.Header = reqHeaders googleapi.Expand(req.URL, map[string]string{ - "session": c.sessionid, + "name": c.name, }) return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.sessions.fulfillIntent" call. -// Exactly one of *GoogleCloudDialogflowCxV3FulfillIntentResponse or -// error will be non-nil. Any non-2xx status code is an error. Response -// headers are in either -// *GoogleCloudDialogflowCxV3FulfillIntentResponse.ServerResponse.Header -// or (if a response was returned at all) in +// Do executes the "dialogflow.projects.locations.agents.testCases.get" call. +// Exactly one of *GoogleCloudDialogflowCxV3TestCase or error will be +// non-nil. Any non-2xx status code is an error. Response headers are in +// either *GoogleCloudDialogflowCxV3TestCase.ServerResponse.Header or +// (if a response was returned at all) in // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check // whether the returned error was because http.StatusNotModified was // returned. -func (c *ProjectsLocationsAgentsSessionsFulfillIntentCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3FulfillIntentResponse, error) { +func (c *ProjectsLocationsAgentsTestCasesGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3TestCase, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -19673,7 +24870,7 @@ func (c *ProjectsLocationsAgentsSessionsFulfillIntentCall) Do(opts ...googleapi. if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleCloudDialogflowCxV3FulfillIntentResponse{ + ret := &GoogleCloudDialogflowCxV3TestCase{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -19685,28 +24882,25 @@ func (c *ProjectsLocationsAgentsSessionsFulfillIntentCall) Do(opts ...googleapi. } return ret, nil // { - // "description": "Fulfills a matched intent returned by MatchIntent. Must be called after MatchIntent, with input from MatchIntentResponse. Otherwise, the behavior is undefined.", - // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/sessions/{sessionsId}:fulfillIntent", - // "httpMethod": "POST", - // "id": "dialogflow.projects.locations.agents.sessions.fulfillIntent", + // "description": "Gets a test case.", + // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/testCases/{testCasesId}", + // "httpMethod": "GET", + // "id": "dialogflow.projects.locations.agents.testCases.get", // "parameterOrder": [ - // "session" + // "name" // ], // "parameters": { - // "session": { - // "description": "Required. The name of the session this query is sent to. Format: `projects//locations//agents//sessions/` or `projects//locations//agents//environments//sessions/`. If `Environment ID` is not specified, we assume default 'draft' environment. It's up to the API caller to choose an appropriate `Session ID`. It can be a random number or some type of session identifiers (preferably hashed). The length of the `Session ID` must not exceed 36 characters. For more information, see the [sessions guide](https://cloud.google.com/dialogflow/cx/docs/concept/session).", + // "name": { + // "description": "Required. The name of the testcase. Format: `projects//locations//agents//testCases/`.", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/sessions/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/testCases/[^/]+$", // "required": true, // "type": "string" // } // }, - // "path": "v3/{+session}:fulfillIntent", - // "request": { - // "$ref": "GoogleCloudDialogflowCxV3FulfillIntentRequest" - // }, + // "path": "v3/{+name}", // "response": { - // "$ref": "GoogleCloudDialogflowCxV3FulfillIntentResponse" + // "$ref": "GoogleCloudDialogflowCxV3TestCase" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -19716,30 +24910,32 @@ func (c *ProjectsLocationsAgentsSessionsFulfillIntentCall) Do(opts ...googleapi. } -// method id "dialogflow.projects.locations.agents.sessions.matchIntent": +// method id "dialogflow.projects.locations.agents.testCases.import": -type ProjectsLocationsAgentsSessionsMatchIntentCall struct { - s *Service - sessionid string - googleclouddialogflowcxv3matchintentrequest *GoogleCloudDialogflowCxV3MatchIntentRequest - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header +type ProjectsLocationsAgentsTestCasesImportCall struct { + s *Service + parent string + googleclouddialogflowcxv3importtestcasesrequest *GoogleCloudDialogflowCxV3ImportTestCasesRequest + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header } -// MatchIntent: Returns preliminary intent match results, doesn't change -// the session status. -func (r *ProjectsLocationsAgentsSessionsService) MatchIntent(sessionid string, googleclouddialogflowcxv3matchintentrequest *GoogleCloudDialogflowCxV3MatchIntentRequest) *ProjectsLocationsAgentsSessionsMatchIntentCall { - c := &ProjectsLocationsAgentsSessionsMatchIntentCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.sessionid = sessionid - c.googleclouddialogflowcxv3matchintentrequest = googleclouddialogflowcxv3matchintentrequest +// Import: Imports the test cases from a Cloud Storage bucket or a local +// file. It always creates new test cases and won't overwite any +// existing ones. The provided ID in the imported test case is +// neglected. +func (r *ProjectsLocationsAgentsTestCasesService) Import(parent string, googleclouddialogflowcxv3importtestcasesrequest *GoogleCloudDialogflowCxV3ImportTestCasesRequest) *ProjectsLocationsAgentsTestCasesImportCall { + c := &ProjectsLocationsAgentsTestCasesImportCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.parent = parent + c.googleclouddialogflowcxv3importtestcasesrequest = googleclouddialogflowcxv3importtestcasesrequest return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsSessionsMatchIntentCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsSessionsMatchIntentCall { +func (c *ProjectsLocationsAgentsTestCasesImportCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsTestCasesImportCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -19747,36 +24943,36 @@ func (c *ProjectsLocationsAgentsSessionsMatchIntentCall) Fields(s ...googleapi.F // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsSessionsMatchIntentCall) Context(ctx context.Context) *ProjectsLocationsAgentsSessionsMatchIntentCall { +func (c *ProjectsLocationsAgentsTestCasesImportCall) Context(ctx context.Context) *ProjectsLocationsAgentsTestCasesImportCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsSessionsMatchIntentCall) Header() http.Header { +func (c *ProjectsLocationsAgentsTestCasesImportCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsSessionsMatchIntentCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsTestCasesImportCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } reqHeaders.Set("User-Agent", c.s.userAgent()) var body io.Reader = nil - body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3matchintentrequest) + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3importtestcasesrequest) if err != nil { return nil, err } reqHeaders.Set("Content-Type", "application/json") c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+session}:matchIntent") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+parent}/testCases:import") urls += "?" + c.urlParams_.Encode() req, err := http.NewRequest("POST", urls, body) if err != nil { @@ -19784,21 +24980,19 @@ func (c *ProjectsLocationsAgentsSessionsMatchIntentCall) doRequest(alt string) ( } req.Header = reqHeaders googleapi.Expand(req.URL, map[string]string{ - "session": c.sessionid, + "parent": c.parent, }) return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.sessions.matchIntent" call. -// Exactly one of *GoogleCloudDialogflowCxV3MatchIntentResponse or error -// will be non-nil. Any non-2xx status code is an error. Response -// headers are in either -// *GoogleCloudDialogflowCxV3MatchIntentResponse.ServerResponse.Header -// or (if a response was returned at all) in -// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check -// whether the returned error was because http.StatusNotModified was -// returned. -func (c *ProjectsLocationsAgentsSessionsMatchIntentCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3MatchIntentResponse, error) { +// Do executes the "dialogflow.projects.locations.agents.testCases.import" call. +// Exactly one of *GoogleLongrunningOperation or error will be non-nil. +// Any non-2xx status code is an error. Response headers are in either +// *GoogleLongrunningOperation.ServerResponse.Header or (if a response +// was returned at all) in error.(*googleapi.Error).Header. Use +// googleapi.IsNotModified to check whether the returned error was +// because http.StatusNotModified was returned. +func (c *ProjectsLocationsAgentsTestCasesImportCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -19817,7 +25011,7 @@ func (c *ProjectsLocationsAgentsSessionsMatchIntentCall) Do(opts ...googleapi.Ca if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleCloudDialogflowCxV3MatchIntentResponse{ + ret := &GoogleLongrunningOperation{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -19829,28 +25023,28 @@ func (c *ProjectsLocationsAgentsSessionsMatchIntentCall) Do(opts ...googleapi.Ca } return ret, nil // { - // "description": "Returns preliminary intent match results, doesn't change the session status.", - // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/sessions/{sessionsId}:matchIntent", + // "description": "Imports the test cases from a Cloud Storage bucket or a local file. It always creates new test cases and won't overwite any existing ones. The provided ID in the imported test case is neglected.", + // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/testCases:import", // "httpMethod": "POST", - // "id": "dialogflow.projects.locations.agents.sessions.matchIntent", + // "id": "dialogflow.projects.locations.agents.testCases.import", // "parameterOrder": [ - // "session" + // "parent" // ], // "parameters": { - // "session": { - // "description": "Required. The name of the session this query is sent to. Format: `projects//locations//agents//sessions/` or `projects//locations//agents//environments//sessions/`. If `Environment ID` is not specified, we assume default 'draft' environment. It's up to the API caller to choose an appropriate `Session ID`. It can be a random number or some type of session identifiers (preferably hashed). The length of the `Session ID` must not exceed 36 characters. For more information, see the [sessions guide](https://cloud.google.com/dialogflow/cx/docs/concept/session).", + // "parent": { + // "description": "Required. The agent to import test cases to. Format: `projects//locations//agents/`.", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/sessions/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", // "required": true, // "type": "string" // } // }, - // "path": "v3/{+session}:matchIntent", + // "path": "v3/{+parent}/testCases:import", // "request": { - // "$ref": "GoogleCloudDialogflowCxV3MatchIntentRequest" + // "$ref": "GoogleCloudDialogflowCxV3ImportTestCasesRequest" // }, // "response": { - // "$ref": "GoogleCloudDialogflowCxV3MatchIntentResponse" + // "$ref": "GoogleLongrunningOperation" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -19860,69 +25054,105 @@ func (c *ProjectsLocationsAgentsSessionsMatchIntentCall) Do(opts ...googleapi.Ca } -// method id "dialogflow.projects.locations.agents.sessions.entityTypes.create": +// method id "dialogflow.projects.locations.agents.testCases.list": -type ProjectsLocationsAgentsSessionsEntityTypesCreateCall struct { - s *Service - parent string - googleclouddialogflowcxv3sessionentitytype *GoogleCloudDialogflowCxV3SessionEntityType - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header +type ProjectsLocationsAgentsTestCasesListCall struct { + s *Service + parent string + urlParams_ gensupport.URLParams + ifNoneMatch_ string + ctx_ context.Context + header_ http.Header } -// Create: Creates a session entity type. If the specified session -// entity type already exists, overrides the session entity type. -func (r *ProjectsLocationsAgentsSessionsEntityTypesService) Create(parent string, googleclouddialogflowcxv3sessionentitytype *GoogleCloudDialogflowCxV3SessionEntityType) *ProjectsLocationsAgentsSessionsEntityTypesCreateCall { - c := &ProjectsLocationsAgentsSessionsEntityTypesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)} +// List: Fetches a list of test cases for a given agent. +func (r *ProjectsLocationsAgentsTestCasesService) List(parent string) *ProjectsLocationsAgentsTestCasesListCall { + c := &ProjectsLocationsAgentsTestCasesListCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.parent = parent - c.googleclouddialogflowcxv3sessionentitytype = googleclouddialogflowcxv3sessionentitytype + return c +} + +// PageSize sets the optional parameter "pageSize": The maximum number +// of items to return in a single page. By default 20. Note that when +// TestCaseView = FULL, the maximum page size allowed is 20. When +// TestCaseView = BASIC, the maximum page size allowed is 500. +func (c *ProjectsLocationsAgentsTestCasesListCall) PageSize(pageSize int64) *ProjectsLocationsAgentsTestCasesListCall { + c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) + return c +} + +// PageToken sets the optional parameter "pageToken": The +// next_page_token value returned from a previous list request. +func (c *ProjectsLocationsAgentsTestCasesListCall) PageToken(pageToken string) *ProjectsLocationsAgentsTestCasesListCall { + c.urlParams_.Set("pageToken", pageToken) + return c +} + +// View sets the optional parameter "view": Specifies whether response +// should include all fields or just the metadata. +// +// Possible values: +// "TEST_CASE_VIEW_UNSPECIFIED" - The default / unset value. The API +// will default to the BASIC view. +// "BASIC" - Include basic metadata about the test case, but not the +// conversation turns. This is the default value. +// "FULL" - Include everything. +func (c *ProjectsLocationsAgentsTestCasesListCall) View(view string) *ProjectsLocationsAgentsTestCasesListCall { + c.urlParams_.Set("view", view) return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsSessionsEntityTypesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsSessionsEntityTypesCreateCall { +func (c *ProjectsLocationsAgentsTestCasesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsTestCasesListCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } +// IfNoneMatch sets the optional parameter which makes the operation +// fail if the object's ETag matches the given value. This is useful for +// getting updates only after the object has changed since the last +// request. Use googleapi.IsNotModified to check whether the response +// error from Do is the result of In-None-Match. +func (c *ProjectsLocationsAgentsTestCasesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsTestCasesListCall { + c.ifNoneMatch_ = entityTag + return c +} + // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsSessionsEntityTypesCreateCall) Context(ctx context.Context) *ProjectsLocationsAgentsSessionsEntityTypesCreateCall { +func (c *ProjectsLocationsAgentsTestCasesListCall) Context(ctx context.Context) *ProjectsLocationsAgentsTestCasesListCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsSessionsEntityTypesCreateCall) Header() http.Header { +func (c *ProjectsLocationsAgentsTestCasesListCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsSessionsEntityTypesCreateCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsTestCasesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } reqHeaders.Set("User-Agent", c.s.userAgent()) - var body io.Reader = nil - body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3sessionentitytype) - if err != nil { - return nil, err + if c.ifNoneMatch_ != "" { + reqHeaders.Set("If-None-Match", c.ifNoneMatch_) } - reqHeaders.Set("Content-Type", "application/json") + var body io.Reader = nil c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+parent}/entityTypes") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+parent}/testCases") urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("POST", urls, body) + req, err := http.NewRequest("GET", urls, body) if err != nil { return nil, err } @@ -19933,16 +25163,16 @@ func (c *ProjectsLocationsAgentsSessionsEntityTypesCreateCall) doRequest(alt str return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.sessions.entityTypes.create" call. -// Exactly one of *GoogleCloudDialogflowCxV3SessionEntityType or error -// will be non-nil. Any non-2xx status code is an error. Response +// Do executes the "dialogflow.projects.locations.agents.testCases.list" call. +// Exactly one of *GoogleCloudDialogflowCxV3ListTestCasesResponse or +// error will be non-nil. Any non-2xx status code is an error. Response // headers are in either -// *GoogleCloudDialogflowCxV3SessionEntityType.ServerResponse.Header or -// (if a response was returned at all) in +// *GoogleCloudDialogflowCxV3ListTestCasesResponse.ServerResponse.Header +// or (if a response was returned at all) in // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check // whether the returned error was because http.StatusNotModified was // returned. -func (c *ProjectsLocationsAgentsSessionsEntityTypesCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3SessionEntityType, error) { +func (c *ProjectsLocationsAgentsTestCasesListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3ListTestCasesResponse, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -19961,7 +25191,7 @@ func (c *ProjectsLocationsAgentsSessionsEntityTypesCreateCall) Do(opts ...google if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleCloudDialogflowCxV3SessionEntityType{ + ret := &GoogleCloudDialogflowCxV3ListTestCasesResponse{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -19973,28 +25203,51 @@ func (c *ProjectsLocationsAgentsSessionsEntityTypesCreateCall) Do(opts ...google } return ret, nil // { - // "description": "Creates a session entity type. If the specified session entity type already exists, overrides the session entity type.", - // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/sessions/{sessionsId}/entityTypes", - // "httpMethod": "POST", - // "id": "dialogflow.projects.locations.agents.sessions.entityTypes.create", + // "description": "Fetches a list of test cases for a given agent.", + // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/testCases", + // "httpMethod": "GET", + // "id": "dialogflow.projects.locations.agents.testCases.list", // "parameterOrder": [ // "parent" // ], // "parameters": { + // "pageSize": { + // "description": "The maximum number of items to return in a single page. By default 20. Note that when TestCaseView = FULL, the maximum page size allowed is 20. When TestCaseView = BASIC, the maximum page size allowed is 500.", + // "format": "int32", + // "location": "query", + // "type": "integer" + // }, + // "pageToken": { + // "description": "The next_page_token value returned from a previous list request.", + // "location": "query", + // "type": "string" + // }, // "parent": { - // "description": "Required. The session to create a session entity type for. Format: `projects//locations//agents//sessions/` or `projects//locations//agents//environments//sessions/`. If `Environment ID` is not specified, we assume default 'draft' environment.", + // "description": "Required. The agent to list all pages for. Format: `projects//locations//agents/`.", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/sessions/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", // "required": true, // "type": "string" + // }, + // "view": { + // "description": "Specifies whether response should include all fields or just the metadata.", + // "enum": [ + // "TEST_CASE_VIEW_UNSPECIFIED", + // "BASIC", + // "FULL" + // ], + // "enumDescriptions": [ + // "The default / unset value. The API will default to the BASIC view.", + // "Include basic metadata about the test case, but not the conversation turns. This is the default value.", + // "Include everything." + // ], + // "location": "query", + // "type": "string" // } // }, - // "path": "v3/{+parent}/entityTypes", - // "request": { - // "$ref": "GoogleCloudDialogflowCxV3SessionEntityType" - // }, + // "path": "v3/{+parent}/testCases", // "response": { - // "$ref": "GoogleCloudDialogflowCxV3SessionEntityType" + // "$ref": "GoogleCloudDialogflowCxV3ListTestCasesResponse" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -20004,27 +25257,59 @@ func (c *ProjectsLocationsAgentsSessionsEntityTypesCreateCall) Do(opts ...google } -// method id "dialogflow.projects.locations.agents.sessions.entityTypes.delete": +// Pages invokes f for each page of results. +// A non-nil error returned from f will halt the iteration. +// The provided context supersedes any context provided to the Context method. +func (c *ProjectsLocationsAgentsTestCasesListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowCxV3ListTestCasesResponse) error) error { + c.ctx_ = ctx + defer c.PageToken(c.urlParams_.Get("pageToken")) // reset paging to original point + for { + x, err := c.Do() + if err != nil { + return err + } + if err := f(x); err != nil { + return err + } + if x.NextPageToken == "" { + return nil + } + c.PageToken(x.NextPageToken) + } +} -type ProjectsLocationsAgentsSessionsEntityTypesDeleteCall struct { - s *Service - name string - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header +// method id "dialogflow.projects.locations.agents.testCases.patch": + +type ProjectsLocationsAgentsTestCasesPatchCall struct { + s *Service + nameid string + googleclouddialogflowcxv3testcase *GoogleCloudDialogflowCxV3TestCase + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header } -// Delete: Deletes the specified session entity type. -func (r *ProjectsLocationsAgentsSessionsEntityTypesService) Delete(name string) *ProjectsLocationsAgentsSessionsEntityTypesDeleteCall { - c := &ProjectsLocationsAgentsSessionsEntityTypesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.name = name +// Patch: Updates the specified test case. +func (r *ProjectsLocationsAgentsTestCasesService) Patch(nameid string, googleclouddialogflowcxv3testcase *GoogleCloudDialogflowCxV3TestCase) *ProjectsLocationsAgentsTestCasesPatchCall { + c := &ProjectsLocationsAgentsTestCasesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.nameid = nameid + c.googleclouddialogflowcxv3testcase = googleclouddialogflowcxv3testcase + return c +} + +// UpdateMask sets the optional parameter "updateMask": Required. The +// mask to specify which fields should be updated. Only a test case's +// metadata and replayed_conversation_turns may be updated. The original +// test_case_conversation_turns may not be updated. +func (c *ProjectsLocationsAgentsTestCasesPatchCall) UpdateMask(updateMask string) *ProjectsLocationsAgentsTestCasesPatchCall { + c.urlParams_.Set("updateMask", updateMask) return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsSessionsEntityTypesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsSessionsEntityTypesDeleteCall { +func (c *ProjectsLocationsAgentsTestCasesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsTestCasesPatchCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -20032,51 +25317,57 @@ func (c *ProjectsLocationsAgentsSessionsEntityTypesDeleteCall) Fields(s ...googl // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsSessionsEntityTypesDeleteCall) Context(ctx context.Context) *ProjectsLocationsAgentsSessionsEntityTypesDeleteCall { +func (c *ProjectsLocationsAgentsTestCasesPatchCall) Context(ctx context.Context) *ProjectsLocationsAgentsTestCasesPatchCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsSessionsEntityTypesDeleteCall) Header() http.Header { +func (c *ProjectsLocationsAgentsTestCasesPatchCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsSessionsEntityTypesDeleteCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsTestCasesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } reqHeaders.Set("User-Agent", c.s.userAgent()) var body io.Reader = nil + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3testcase) + if err != nil { + return nil, err + } + reqHeaders.Set("Content-Type", "application/json") c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}") urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("DELETE", urls, body) + req, err := http.NewRequest("PATCH", urls, body) if err != nil { return nil, err } req.Header = reqHeaders googleapi.Expand(req.URL, map[string]string{ - "name": c.name, + "name": c.nameid, }) return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.sessions.entityTypes.delete" call. -// Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any -// non-2xx status code is an error. Response headers are in either -// *GoogleProtobufEmpty.ServerResponse.Header or (if a response was -// returned at all) in error.(*googleapi.Error).Header. Use -// googleapi.IsNotModified to check whether the returned error was -// because http.StatusNotModified was returned. -func (c *ProjectsLocationsAgentsSessionsEntityTypesDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error) { +// Do executes the "dialogflow.projects.locations.agents.testCases.patch" call. +// Exactly one of *GoogleCloudDialogflowCxV3TestCase or error will be +// non-nil. Any non-2xx status code is an error. Response headers are in +// either *GoogleCloudDialogflowCxV3TestCase.ServerResponse.Header or +// (if a response was returned at all) in +// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check +// whether the returned error was because http.StatusNotModified was +// returned. +func (c *ProjectsLocationsAgentsTestCasesPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3TestCase, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -20095,7 +25386,7 @@ func (c *ProjectsLocationsAgentsSessionsEntityTypesDeleteCall) Do(opts ...google if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleProtobufEmpty{ + ret := &GoogleCloudDialogflowCxV3TestCase{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -20107,25 +25398,34 @@ func (c *ProjectsLocationsAgentsSessionsEntityTypesDeleteCall) Do(opts ...google } return ret, nil // { - // "description": "Deletes the specified session entity type.", - // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/sessions/{sessionsId}/entityTypes/{entityTypesId}", - // "httpMethod": "DELETE", - // "id": "dialogflow.projects.locations.agents.sessions.entityTypes.delete", + // "description": "Updates the specified test case.", + // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/testCases/{testCasesId}", + // "httpMethod": "PATCH", + // "id": "dialogflow.projects.locations.agents.testCases.patch", // "parameterOrder": [ // "name" // ], // "parameters": { // "name": { - // "description": "Required. The name of the session entity type to delete. Format: `projects//locations//agents//sessions//entityTypes/` or `projects//locations//agents//environments//sessions//entityTypes/`. If `Environment ID` is not specified, we assume default 'draft' environment.", + // "description": "The unique identifier of the test case. TestCases.CreateTestCase will populate the name automatically. Otherwise use format: `projects//locations//agents/ /testCases/`.", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/sessions/[^/]+/entityTypes/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/testCases/[^/]+$", // "required": true, // "type": "string" + // }, + // "updateMask": { + // "description": "Required. The mask to specify which fields should be updated. Only a test case's metadata and replayed_conversation_turns may be updated. The original test_case_conversation_turns may not be updated.", + // "format": "google-fieldmask", + // "location": "query", + // "type": "string" // } // }, // "path": "v3/{+name}", + // "request": { + // "$ref": "GoogleCloudDialogflowCxV3TestCase" + // }, // "response": { - // "$ref": "GoogleProtobufEmpty" + // "$ref": "GoogleCloudDialogflowCxV3TestCase" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -20135,95 +25435,92 @@ func (c *ProjectsLocationsAgentsSessionsEntityTypesDeleteCall) Do(opts ...google } -// method id "dialogflow.projects.locations.agents.sessions.entityTypes.get": - -type ProjectsLocationsAgentsSessionsEntityTypesGetCall struct { - s *Service - name string - urlParams_ gensupport.URLParams - ifNoneMatch_ string - ctx_ context.Context - header_ http.Header -} +// method id "dialogflow.projects.locations.agents.testCases.run": -// Get: Retrieves the specified session entity type. -func (r *ProjectsLocationsAgentsSessionsEntityTypesService) Get(name string) *ProjectsLocationsAgentsSessionsEntityTypesGetCall { - c := &ProjectsLocationsAgentsSessionsEntityTypesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.name = name - return c +type ProjectsLocationsAgentsTestCasesRunCall struct { + s *Service + projectsId string + locationsId string + agentsId string + googleclouddialogflowcxv3runtestcaserequest *GoogleCloudDialogflowCxV3RunTestCaseRequest + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header } -// Fields allows partial responses to be retrieved. See -// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse -// for more information. -func (c *ProjectsLocationsAgentsSessionsEntityTypesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsSessionsEntityTypesGetCall { - c.urlParams_.Set("fields", googleapi.CombineFields(s)) +// Run: Kicks off a test case run. +func (r *ProjectsLocationsAgentsTestCasesService) Run(projectsId string, locationsId string, agentsId string, googleclouddialogflowcxv3runtestcaserequest *GoogleCloudDialogflowCxV3RunTestCaseRequest) *ProjectsLocationsAgentsTestCasesRunCall { + c := &ProjectsLocationsAgentsTestCasesRunCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.projectsId = projectsId + c.locationsId = locationsId + c.agentsId = agentsId + c.googleclouddialogflowcxv3runtestcaserequest = googleclouddialogflowcxv3runtestcaserequest return c -} - -// IfNoneMatch sets the optional parameter which makes the operation -// fail if the object's ETag matches the given value. This is useful for -// getting updates only after the object has changed since the last -// request. Use googleapi.IsNotModified to check whether the response -// error from Do is the result of In-None-Match. -func (c *ProjectsLocationsAgentsSessionsEntityTypesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsSessionsEntityTypesGetCall { - c.ifNoneMatch_ = entityTag +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsAgentsTestCasesRunCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsTestCasesRunCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsSessionsEntityTypesGetCall) Context(ctx context.Context) *ProjectsLocationsAgentsSessionsEntityTypesGetCall { +func (c *ProjectsLocationsAgentsTestCasesRunCall) Context(ctx context.Context) *ProjectsLocationsAgentsTestCasesRunCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsSessionsEntityTypesGetCall) Header() http.Header { +func (c *ProjectsLocationsAgentsTestCasesRunCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsSessionsEntityTypesGetCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsTestCasesRunCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } reqHeaders.Set("User-Agent", c.s.userAgent()) - if c.ifNoneMatch_ != "" { - reqHeaders.Set("If-None-Match", c.ifNoneMatch_) - } var body io.Reader = nil + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3runtestcaserequest) + if err != nil { + return nil, err + } + reqHeaders.Set("Content-Type", "application/json") c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/testCases:run") urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("GET", urls, body) + req, err := http.NewRequest("POST", urls, body) if err != nil { return nil, err } req.Header = reqHeaders googleapi.Expand(req.URL, map[string]string{ - "name": c.name, + "projectsId": c.projectsId, + "locationsId": c.locationsId, + "agentsId": c.agentsId, }) return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.sessions.entityTypes.get" call. -// Exactly one of *GoogleCloudDialogflowCxV3SessionEntityType or error -// will be non-nil. Any non-2xx status code is an error. Response -// headers are in either -// *GoogleCloudDialogflowCxV3SessionEntityType.ServerResponse.Header or -// (if a response was returned at all) in -// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check -// whether the returned error was because http.StatusNotModified was -// returned. -func (c *ProjectsLocationsAgentsSessionsEntityTypesGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3SessionEntityType, error) { +// Do executes the "dialogflow.projects.locations.agents.testCases.run" call. +// Exactly one of *GoogleLongrunningOperation or error will be non-nil. +// Any non-2xx status code is an error. Response headers are in either +// *GoogleLongrunningOperation.ServerResponse.Header or (if a response +// was returned at all) in error.(*googleapi.Error).Header. Use +// googleapi.IsNotModified to check whether the returned error was +// because http.StatusNotModified was returned. +func (c *ProjectsLocationsAgentsTestCasesRunCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -20242,7 +25539,7 @@ func (c *ProjectsLocationsAgentsSessionsEntityTypesGetCall) Do(opts ...googleapi if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleCloudDialogflowCxV3SessionEntityType{ + ret := &GoogleLongrunningOperation{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -20254,25 +25551,38 @@ func (c *ProjectsLocationsAgentsSessionsEntityTypesGetCall) Do(opts ...googleapi } return ret, nil // { - // "description": "Retrieves the specified session entity type.", - // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/sessions/{sessionsId}/entityTypes/{entityTypesId}", - // "httpMethod": "GET", - // "id": "dialogflow.projects.locations.agents.sessions.entityTypes.get", + // "description": "Kicks off a test case run.", + // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/testCases:run", + // "httpMethod": "POST", + // "id": "dialogflow.projects.locations.agents.testCases.run", // "parameterOrder": [ - // "name" + // "projectsId", + // "locationsId", + // "agentsId" // ], // "parameters": { - // "name": { - // "description": "Required. The name of the session entity type. Format: `projects//locations//agents//sessions//entityTypes/` or `projects//locations//agents//environments//sessions//entityTypes/`. If `Environment ID` is not specified, we assume default 'draft' environment.", + // "agentsId": { + // "location": "path", + // "required": true, + // "type": "string" + // }, + // "locationsId": { + // "location": "path", + // "required": true, + // "type": "string" + // }, + // "projectsId": { // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/sessions/[^/]+/entityTypes/[^/]+$", // "required": true, // "type": "string" // } // }, - // "path": "v3/{+name}", + // "path": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/testCases:run", + // "request": { + // "$ref": "GoogleCloudDialogflowCxV3RunTestCaseRequest" + // }, // "response": { - // "$ref": "GoogleCloudDialogflowCxV3SessionEntityType" + // "$ref": "GoogleLongrunningOperation" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -20282,9 +25592,9 @@ func (c *ProjectsLocationsAgentsSessionsEntityTypesGetCall) Do(opts ...googleapi } -// method id "dialogflow.projects.locations.agents.sessions.entityTypes.list": +// method id "dialogflow.projects.locations.agents.testCases.results.list": -type ProjectsLocationsAgentsSessionsEntityTypesListCall struct { +type ProjectsLocationsAgentsTestCasesResultsListCall struct { s *Service parent string urlParams_ gensupport.URLParams @@ -20293,24 +25603,42 @@ type ProjectsLocationsAgentsSessionsEntityTypesListCall struct { header_ http.Header } -// List: Returns the list of all session entity types in the specified -// session. -func (r *ProjectsLocationsAgentsSessionsEntityTypesService) List(parent string) *ProjectsLocationsAgentsSessionsEntityTypesListCall { - c := &ProjectsLocationsAgentsSessionsEntityTypesListCall{s: r.s, urlParams_: make(gensupport.URLParams)} +// List: Fetches a list of results for a given test case. +func (r *ProjectsLocationsAgentsTestCasesResultsService) List(parent string) *ProjectsLocationsAgentsTestCasesResultsListCall { + c := &ProjectsLocationsAgentsTestCasesResultsListCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.parent = parent return c } +// Filter sets the optional parameter "filter": The filter expression +// used to filter test case results. See [API +// Filtering](https://aip.dev/160). The expression is case insensitive. +// Only 'AND' is supported for logical operators. The supported syntax +// is listed below in detail: [AND ] ... [AND latest] The supported +// fields and operators are: field operator `environment` `=`, `IN` (Use +// value `draft` for draft environment) `test_time` `>`, `<` `latest` +// only returns the latest test result in all results for each test +// case. Examples: * "environment=draft AND latest" matches the latest +// test result for each test case in the draft environment. * +// "environment IN (e1,e2)" matches any test case results with an +// environment resource name of either "e1" or "e2". * "test_time > +// 1602540713" matches any test case results with test time later than a +// unix timestamp in seconds 1602540713. +func (c *ProjectsLocationsAgentsTestCasesResultsListCall) Filter(filter string) *ProjectsLocationsAgentsTestCasesResultsListCall { + c.urlParams_.Set("filter", filter) + return c +} + // PageSize sets the optional parameter "pageSize": The maximum number // of items to return in a single page. By default 100 and at most 1000. -func (c *ProjectsLocationsAgentsSessionsEntityTypesListCall) PageSize(pageSize int64) *ProjectsLocationsAgentsSessionsEntityTypesListCall { +func (c *ProjectsLocationsAgentsTestCasesResultsListCall) PageSize(pageSize int64) *ProjectsLocationsAgentsTestCasesResultsListCall { c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) return c } // PageToken sets the optional parameter "pageToken": The // next_page_token value returned from a previous list request. -func (c *ProjectsLocationsAgentsSessionsEntityTypesListCall) PageToken(pageToken string) *ProjectsLocationsAgentsSessionsEntityTypesListCall { +func (c *ProjectsLocationsAgentsTestCasesResultsListCall) PageToken(pageToken string) *ProjectsLocationsAgentsTestCasesResultsListCall { c.urlParams_.Set("pageToken", pageToken) return c } @@ -20318,7 +25646,7 @@ func (c *ProjectsLocationsAgentsSessionsEntityTypesListCall) PageToken(pageToken // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsSessionsEntityTypesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsSessionsEntityTypesListCall { +func (c *ProjectsLocationsAgentsTestCasesResultsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsTestCasesResultsListCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -20328,7 +25656,7 @@ func (c *ProjectsLocationsAgentsSessionsEntityTypesListCall) Fields(s ...googlea // getting updates only after the object has changed since the last // request. Use googleapi.IsNotModified to check whether the response // error from Do is the result of In-None-Match. -func (c *ProjectsLocationsAgentsSessionsEntityTypesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsSessionsEntityTypesListCall { +func (c *ProjectsLocationsAgentsTestCasesResultsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsTestCasesResultsListCall { c.ifNoneMatch_ = entityTag return c } @@ -20336,23 +25664,23 @@ func (c *ProjectsLocationsAgentsSessionsEntityTypesListCall) IfNoneMatch(entityT // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsSessionsEntityTypesListCall) Context(ctx context.Context) *ProjectsLocationsAgentsSessionsEntityTypesListCall { +func (c *ProjectsLocationsAgentsTestCasesResultsListCall) Context(ctx context.Context) *ProjectsLocationsAgentsTestCasesResultsListCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsSessionsEntityTypesListCall) Header() http.Header { +func (c *ProjectsLocationsAgentsTestCasesResultsListCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsSessionsEntityTypesListCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsTestCasesResultsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -20363,7 +25691,7 @@ func (c *ProjectsLocationsAgentsSessionsEntityTypesListCall) doRequest(alt strin var body io.Reader = nil c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+parent}/entityTypes") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+parent}/results") urls += "?" + c.urlParams_.Encode() req, err := http.NewRequest("GET", urls, body) if err != nil { @@ -20376,17 +25704,16 @@ func (c *ProjectsLocationsAgentsSessionsEntityTypesListCall) doRequest(alt strin return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.sessions.entityTypes.list" call. -// Exactly one of -// *GoogleCloudDialogflowCxV3ListSessionEntityTypesResponse or error -// will be non-nil. Any non-2xx status code is an error. Response -// headers are in either -// *GoogleCloudDialogflowCxV3ListSessionEntityTypesResponse.ServerRespons -// e.Header or (if a response was returned at all) in +// Do executes the "dialogflow.projects.locations.agents.testCases.results.list" call. +// Exactly one of *GoogleCloudDialogflowCxV3ListTestCaseResultsResponse +// or error will be non-nil. Any non-2xx status code is an error. +// Response headers are in either +// *GoogleCloudDialogflowCxV3ListTestCaseResultsResponse.ServerResponse.H +// eader or (if a response was returned at all) in // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check // whether the returned error was because http.StatusNotModified was // returned. -func (c *ProjectsLocationsAgentsSessionsEntityTypesListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3ListSessionEntityTypesResponse, error) { +func (c *ProjectsLocationsAgentsTestCasesResultsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3ListTestCaseResultsResponse, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -20405,7 +25732,7 @@ func (c *ProjectsLocationsAgentsSessionsEntityTypesListCall) Do(opts ...googleap if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleCloudDialogflowCxV3ListSessionEntityTypesResponse{ + ret := &GoogleCloudDialogflowCxV3ListTestCaseResultsResponse{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -20417,14 +25744,19 @@ func (c *ProjectsLocationsAgentsSessionsEntityTypesListCall) Do(opts ...googleap } return ret, nil // { - // "description": "Returns the list of all session entity types in the specified session.", - // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/sessions/{sessionsId}/entityTypes", + // "description": "Fetches a list of results for a given test case.", + // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/testCases/{testCasesId}/results", // "httpMethod": "GET", - // "id": "dialogflow.projects.locations.agents.sessions.entityTypes.list", + // "id": "dialogflow.projects.locations.agents.testCases.results.list", // "parameterOrder": [ // "parent" // ], // "parameters": { + // "filter": { + // "description": "The filter expression used to filter test case results. See [API Filtering](https://aip.dev/160). The expression is case insensitive. Only 'AND' is supported for logical operators. The supported syntax is listed below in detail: [AND ] ... [AND latest] The supported fields and operators are: field operator `environment` `=`, `IN` (Use value `draft` for draft environment) `test_time` `\u003e`, `\u003c` `latest` only returns the latest test result in all results for each test case. Examples: * \"environment=draft AND latest\" matches the latest test result for each test case in the draft environment. * \"environment IN (e1,e2)\" matches any test case results with an environment resource name of either \"e1\" or \"e2\". * \"test_time \u003e 1602540713\" matches any test case results with test time later than a unix timestamp in seconds 1602540713.", + // "location": "query", + // "type": "string" + // }, // "pageSize": { // "description": "The maximum number of items to return in a single page. By default 100 and at most 1000.", // "format": "int32", @@ -20437,16 +25769,16 @@ func (c *ProjectsLocationsAgentsSessionsEntityTypesListCall) Do(opts ...googleap // "type": "string" // }, // "parent": { - // "description": "Required. The session to list all session entity types from. Format: `projects//locations//agents//sessions/` or `projects//locations//agents//environments//sessions/`. If `Environment ID` is not specified, we assume default 'draft' environment.", + // "description": "Required. The test case to list results for. Format: `projects//locations//agents// testCases/`. Specify a `-` as a wildcard for TestCase ID to list results across multiple test cases.", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/sessions/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/testCases/[^/]+$", // "required": true, // "type": "string" // } // }, - // "path": "v3/{+parent}/entityTypes", + // "path": "v3/{+parent}/results", // "response": { - // "$ref": "GoogleCloudDialogflowCxV3ListSessionEntityTypesResponse" + // "$ref": "GoogleCloudDialogflowCxV3ListTestCaseResultsResponse" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -20459,7 +25791,7 @@ func (c *ProjectsLocationsAgentsSessionsEntityTypesListCall) Do(opts ...googleap // Pages invokes f for each page of results. // A non-nil error returned from f will halt the iteration. // The provided context supersedes any context provided to the Context method. -func (c *ProjectsLocationsAgentsSessionsEntityTypesListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowCxV3ListSessionEntityTypesResponse) error) error { +func (c *ProjectsLocationsAgentsTestCasesResultsListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowCxV3ListTestCaseResultsResponse) error) error { c.ctx_ = ctx defer c.PageToken(c.urlParams_.Get("pageToken")) // reset paging to original point for { @@ -20477,162 +25809,6 @@ func (c *ProjectsLocationsAgentsSessionsEntityTypesListCall) Pages(ctx context.C } } -// method id "dialogflow.projects.locations.agents.sessions.entityTypes.patch": - -type ProjectsLocationsAgentsSessionsEntityTypesPatchCall struct { - s *Service - nameid string - googleclouddialogflowcxv3sessionentitytype *GoogleCloudDialogflowCxV3SessionEntityType - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header -} - -// Patch: Updates the specified session entity type. -func (r *ProjectsLocationsAgentsSessionsEntityTypesService) Patch(nameid string, googleclouddialogflowcxv3sessionentitytype *GoogleCloudDialogflowCxV3SessionEntityType) *ProjectsLocationsAgentsSessionsEntityTypesPatchCall { - c := &ProjectsLocationsAgentsSessionsEntityTypesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.nameid = nameid - c.googleclouddialogflowcxv3sessionentitytype = googleclouddialogflowcxv3sessionentitytype - return c -} - -// UpdateMask sets the optional parameter "updateMask": The mask to -// control which fields get updated. -func (c *ProjectsLocationsAgentsSessionsEntityTypesPatchCall) UpdateMask(updateMask string) *ProjectsLocationsAgentsSessionsEntityTypesPatchCall { - c.urlParams_.Set("updateMask", updateMask) - return c -} - -// Fields allows partial responses to be retrieved. See -// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse -// for more information. -func (c *ProjectsLocationsAgentsSessionsEntityTypesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsSessionsEntityTypesPatchCall { - c.urlParams_.Set("fields", googleapi.CombineFields(s)) - return c -} - -// Context sets the context to be used in this call's Do method. Any -// pending HTTP request will be aborted if the provided context is -// canceled. -func (c *ProjectsLocationsAgentsSessionsEntityTypesPatchCall) Context(ctx context.Context) *ProjectsLocationsAgentsSessionsEntityTypesPatchCall { - c.ctx_ = ctx - return c -} - -// Header returns an http.Header that can be modified by the caller to -// add HTTP headers to the request. -func (c *ProjectsLocationsAgentsSessionsEntityTypesPatchCall) Header() http.Header { - if c.header_ == nil { - c.header_ = make(http.Header) - } - return c.header_ -} - -func (c *ProjectsLocationsAgentsSessionsEntityTypesPatchCall) doRequest(alt string) (*http.Response, error) { - reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") - for k, v := range c.header_ { - reqHeaders[k] = v - } - reqHeaders.Set("User-Agent", c.s.userAgent()) - var body io.Reader = nil - body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3sessionentitytype) - if err != nil { - return nil, err - } - reqHeaders.Set("Content-Type", "application/json") - c.urlParams_.Set("alt", alt) - c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}") - urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("PATCH", urls, body) - if err != nil { - return nil, err - } - req.Header = reqHeaders - googleapi.Expand(req.URL, map[string]string{ - "name": c.nameid, - }) - return gensupport.SendRequest(c.ctx_, c.s.client, req) -} - -// Do executes the "dialogflow.projects.locations.agents.sessions.entityTypes.patch" call. -// Exactly one of *GoogleCloudDialogflowCxV3SessionEntityType or error -// will be non-nil. Any non-2xx status code is an error. Response -// headers are in either -// *GoogleCloudDialogflowCxV3SessionEntityType.ServerResponse.Header or -// (if a response was returned at all) in -// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check -// whether the returned error was because http.StatusNotModified was -// returned. -func (c *ProjectsLocationsAgentsSessionsEntityTypesPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3SessionEntityType, error) { - gensupport.SetOptions(c.urlParams_, opts...) - res, err := c.doRequest("json") - if res != nil && res.StatusCode == http.StatusNotModified { - if res.Body != nil { - res.Body.Close() - } - return nil, &googleapi.Error{ - Code: res.StatusCode, - Header: res.Header, - } - } - if err != nil { - return nil, err - } - defer googleapi.CloseBody(res) - if err := googleapi.CheckResponse(res); err != nil { - return nil, err - } - ret := &GoogleCloudDialogflowCxV3SessionEntityType{ - ServerResponse: googleapi.ServerResponse{ - Header: res.Header, - HTTPStatusCode: res.StatusCode, - }, - } - target := &ret - if err := gensupport.DecodeResponse(target, res); err != nil { - return nil, err - } - return ret, nil - // { - // "description": "Updates the specified session entity type.", - // "flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/sessions/{sessionsId}/entityTypes/{entityTypesId}", - // "httpMethod": "PATCH", - // "id": "dialogflow.projects.locations.agents.sessions.entityTypes.patch", - // "parameterOrder": [ - // "name" - // ], - // "parameters": { - // "name": { - // "description": "Required. The unique identifier of the session entity type. Format: `projects//locations//agents//sessions//entityTypes/` or `projects//locations//agents//environments//sessions//entityTypes/`. If `Environment ID` is not specified, we assume default 'draft' environment.", - // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/sessions/[^/]+/entityTypes/[^/]+$", - // "required": true, - // "type": "string" - // }, - // "updateMask": { - // "description": "The mask to control which fields get updated.", - // "format": "google-fieldmask", - // "location": "query", - // "type": "string" - // } - // }, - // "path": "v3/{+name}", - // "request": { - // "$ref": "GoogleCloudDialogflowCxV3SessionEntityType" - // }, - // "response": { - // "$ref": "GoogleCloudDialogflowCxV3SessionEntityType" - // }, - // "scopes": [ - // "https://www.googleapis.com/auth/cloud-platform", - // "https://www.googleapis.com/auth/dialogflow" - // ] - // } - -} - // method id "dialogflow.projects.locations.agents.webhooks.create": type ProjectsLocationsAgentsWebhooksCreateCall struct { @@ -20679,7 +25855,7 @@ func (c *ProjectsLocationsAgentsWebhooksCreateCall) Header() http.Header { func (c *ProjectsLocationsAgentsWebhooksCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -20830,7 +26006,7 @@ func (c *ProjectsLocationsAgentsWebhooksDeleteCall) Header() http.Header { func (c *ProjectsLocationsAgentsWebhooksDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -20977,7 +26153,7 @@ func (c *ProjectsLocationsAgentsWebhooksGetCall) Header() http.Header { func (c *ProjectsLocationsAgentsWebhooksGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21136,7 +26312,7 @@ func (c *ProjectsLocationsAgentsWebhooksListCall) Header() http.Header { func (c *ProjectsLocationsAgentsWebhooksListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21314,7 +26490,7 @@ func (c *ProjectsLocationsAgentsWebhooksPatchCall) Header() http.Header { func (c *ProjectsLocationsAgentsWebhooksPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21468,7 +26644,7 @@ func (c *ProjectsLocationsOperationsCancelCall) Header() http.Header { func (c *ProjectsLocationsOperationsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21612,7 +26788,7 @@ func (c *ProjectsLocationsOperationsGetCall) Header() http.Header { func (c *ProjectsLocationsOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21787,7 +26963,7 @@ func (c *ProjectsLocationsOperationsListCall) Header() http.Header { func (c *ProjectsLocationsOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21961,7 +27137,7 @@ func (c *ProjectsLocationsSecuritySettingsCreateCall) Header() http.Header { func (c *ProjectsLocationsSecuritySettingsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -22102,7 +27278,7 @@ func (c *ProjectsLocationsSecuritySettingsDeleteCall) Header() http.Header { func (c *ProjectsLocationsSecuritySettingsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -22245,7 +27421,7 @@ func (c *ProjectsLocationsSecuritySettingsGetCall) Header() http.Header { func (c *ProjectsLocationsSecuritySettingsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -22407,7 +27583,7 @@ func (c *ProjectsLocationsSecuritySettingsListCall) Header() http.Header { func (c *ProjectsLocationsSecuritySettingsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -22585,7 +27761,7 @@ func (c *ProjectsLocationsSecuritySettingsPatchCall) Header() http.Header { func (c *ProjectsLocationsSecuritySettingsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -22741,7 +27917,7 @@ func (c *ProjectsOperationsCancelCall) Header() http.Header { func (c *ProjectsOperationsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -22885,7 +28061,7 @@ func (c *ProjectsOperationsGetCall) Header() http.Header { func (c *ProjectsOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -23060,7 +28236,7 @@ func (c *ProjectsOperationsListCall) Header() http.Header { func (c *ProjectsOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/dialogflow/v3beta1/dialogflow-api.json b/dialogflow/v3beta1/dialogflow-api.json index 09d73b011c3..7ecdff61113 100644 --- a/dialogflow/v3beta1/dialogflow-api.json +++ b/dialogflow/v3beta1/dialogflow-api.json @@ -2160,62 +2160,159 @@ } } }, - "webhooks": { + "testCases": { "methods": { - "create": { - "description": "Creates a webhook in the specified agent.", - "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/webhooks", + "batchDelete": { + "description": "Batch deletes test cases.", + "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/testCases:batchDelete", "httpMethod": "POST", - "id": "dialogflow.projects.locations.agents.webhooks.create", + "id": "dialogflow.projects.locations.agents.testCases.batchDelete", "parameterOrder": [ "parent" ], "parameters": { "parent": { - "description": "Required. The agent to create a webhook for. Format: `projects//locations//agents/`.", + "description": "Required. The agent to delete test cases from. Format: `projects//locations//agents/`.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", "required": true, "type": "string" } }, - "path": "v3beta1/{+parent}/webhooks", + "path": "v3beta1/{+parent}/testCases:batchDelete", "request": { - "$ref": "GoogleCloudDialogflowCxV3beta1Webhook" + "$ref": "GoogleCloudDialogflowCxV3beta1BatchDeleteTestCasesRequest" }, "response": { - "$ref": "GoogleCloudDialogflowCxV3beta1Webhook" + "$ref": "GoogleProtobufEmpty" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/dialogflow" ] }, - "delete": { - "description": "Deletes the specified webhook.", - "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/webhooks/{webhooksId}", - "httpMethod": "DELETE", - "id": "dialogflow.projects.locations.agents.webhooks.delete", + "batchRun": { + "description": "Kicks off a batch run of test cases.", + "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/testCases:batchRun", + "httpMethod": "POST", + "id": "dialogflow.projects.locations.agents.testCases.batchRun", "parameterOrder": [ - "name" + "parent" ], "parameters": { - "force": { - "description": "This field has no effect for webhook not being used. For webhooks that are used by pages/flows/transition route groups: * If `force` is set to false, an error will be returned with message indicating the referenced resources. * If `force` is set to true, Dialogflow will remove the webhook, as well as any references to the webhook (i.e. Webhook and tagin fulfillments that point to this webhook will be removed).", - "location": "query", - "type": "boolean" + "parent": { + "description": "Required. Agent name. Format: `projects//locations//agents/ `.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v3beta1/{+parent}/testCases:batchRun", + "request": { + "$ref": "GoogleCloudDialogflowCxV3beta1BatchRunTestCasesRequest" + }, + "response": { + "$ref": "GoogleLongrunningOperation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + }, + "calculateCoverage": { + "description": "Calculates the test coverage for an agent.", + "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/testCases:calculateCoverage", + "httpMethod": "GET", + "id": "dialogflow.projects.locations.agents.testCases.calculateCoverage", + "parameterOrder": [ + "agent" + ], + "parameters": { + "agent": { + "description": "Required. The agent to calculate coverage for. Format: `projects//locations//agents/`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", + "required": true, + "type": "string" }, - "name": { - "description": "Required. The name of the webhook to delete. Format: `projects//locations//agents//webhooks/`.", + "type": { + "description": "Required. The type of coverage requested.", + "enum": [ + "COVERAGE_TYPE_UNSPECIFIED", + "INTENT", + "PAGE_TRANSITION" + ], + "enumDescriptions": [ + "Should never be used.", + "Intent coverage.", + "Page transition coverage" + ], + "location": "query", + "type": "string" + } + }, + "path": "v3beta1/{+agent}/testCases:calculateCoverage", + "response": { + "$ref": "GoogleCloudDialogflowCxV3beta1CalculateCoverageResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + }, + "create": { + "description": "Creates a test case for the given agent.", + "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/testCases", + "httpMethod": "POST", + "id": "dialogflow.projects.locations.agents.testCases.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. The agent to create the test case for. Format: `projects//locations//agents/`.", "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/webhooks/[^/]+$", + "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", "required": true, "type": "string" } }, - "path": "v3beta1/{+name}", + "path": "v3beta1/{+parent}/testCases", + "request": { + "$ref": "GoogleCloudDialogflowCxV3beta1TestCase" + }, "response": { - "$ref": "GoogleProtobufEmpty" + "$ref": "GoogleCloudDialogflowCxV3beta1TestCase" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + }, + "export": { + "description": "Exports the test cases under the agent to a Cloud Storage bucket or a local file. Filter can be applied to export a subset of test cases.", + "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/testCases:export", + "httpMethod": "POST", + "id": "dialogflow.projects.locations.agents.testCases.export", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. The agent where to export test cases from. Format: `projects//locations//agents/`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v3beta1/{+parent}/testCases:export", + "request": { + "$ref": "GoogleCloudDialogflowCxV3beta1ExportTestCasesRequest" + }, + "response": { + "$ref": "GoogleLongrunningOperation" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", @@ -2223,25 +2320,54 @@ ] }, "get": { - "description": "Retrieves the specified webhook.", - "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/webhooks/{webhooksId}", + "description": "Gets a test case.", + "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/testCases/{testCasesId}", "httpMethod": "GET", - "id": "dialogflow.projects.locations.agents.webhooks.get", + "id": "dialogflow.projects.locations.agents.testCases.get", "parameterOrder": [ "name" ], "parameters": { "name": { - "description": "Required. The name of the webhook. Format: `projects//locations//agents//webhooks/`.", + "description": "Required. The name of the testcase. Format: `projects//locations//agents//testCases/`.", "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/webhooks/[^/]+$", + "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/testCases/[^/]+$", "required": true, "type": "string" } }, "path": "v3beta1/{+name}", "response": { - "$ref": "GoogleCloudDialogflowCxV3beta1Webhook" + "$ref": "GoogleCloudDialogflowCxV3beta1TestCase" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + }, + "import": { + "description": "Imports the test cases from a Cloud Storage bucket or a local file. It always creates new test cases and won't overwite any existing ones. The provided ID in the imported test case is neglected.", + "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/testCases:import", + "httpMethod": "POST", + "id": "dialogflow.projects.locations.agents.testCases.import", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. The agent to import test cases to. Format: `projects//locations//agents/`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v3beta1/{+parent}/testCases:import", + "request": { + "$ref": "GoogleCloudDialogflowCxV3beta1ImportTestCasesRequest" + }, + "response": { + "$ref": "GoogleLongrunningOperation" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", @@ -2249,16 +2375,16 @@ ] }, "list": { - "description": "Returns the list of all webhooks in the specified agent.", - "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/webhooks", + "description": "Fetches a list of test cases for a given agent.", + "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/testCases", "httpMethod": "GET", - "id": "dialogflow.projects.locations.agents.webhooks.list", + "id": "dialogflow.projects.locations.agents.testCases.list", "parameterOrder": [ "parent" ], "parameters": { "pageSize": { - "description": "The maximum number of items to return in a single page. By default 100 and at most 1000.", + "description": "The maximum number of items to return in a single page. By default 20. Note that when TestCaseView = FULL, the maximum page size allowed is 20. When TestCaseView = BASIC, the maximum page size allowed is 500.", "format": "int32", "location": "query", "type": "integer" @@ -2269,16 +2395,31 @@ "type": "string" }, "parent": { - "description": "Required. The agent to list all webhooks for. Format: `projects//locations//agents/`.", + "description": "Required. The agent to list all pages for. Format: `projects//locations//agents/`.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", "required": true, "type": "string" + }, + "view": { + "description": "Specifies whether response should include all fields or just the metadata.", + "enum": [ + "TEST_CASE_VIEW_UNSPECIFIED", + "BASIC", + "FULL" + ], + "enumDescriptions": [ + "The default / unset value. The API will default to the BASIC view.", + "Include basic metadata about the test case, but not the conversation turns. This is the default value.", + "Include everything." + ], + "location": "query", + "type": "string" } }, - "path": "v3beta1/{+parent}/webhooks", + "path": "v3beta1/{+parent}/testCases", "response": { - "$ref": "GoogleCloudDialogflowCxV3beta1ListWebhooksResponse" + "$ref": "GoogleCloudDialogflowCxV3beta1ListTestCasesResponse" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", @@ -2286,23 +2427,23 @@ ] }, "patch": { - "description": "Updates the specified webhook.", - "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/webhooks/{webhooksId}", + "description": "Updates the specified test case.", + "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/testCases/{testCasesId}", "httpMethod": "PATCH", - "id": "dialogflow.projects.locations.agents.webhooks.patch", + "id": "dialogflow.projects.locations.agents.testCases.patch", "parameterOrder": [ "name" ], "parameters": { "name": { - "description": "The unique identifier of the webhook. Required for the Webhooks.UpdateWebhook method. Webhooks.CreateWebhook populates the name automatically. Format: `projects//locations//agents//webhooks/`.", + "description": "The unique identifier of the test case. TestCases.CreateTestCase will populate the name automatically. Otherwise use format: `projects//locations//agents/ /testCases/`.", "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/webhooks/[^/]+$", + "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/testCases/[^/]+$", "required": true, "type": "string" }, "updateMask": { - "description": "The mask to control which fields get updated. If the mask is not present, all fields will be updated.", + "description": "Required. The mask to specify which fields should be updated. Only a test case's metadata and replayed_conversation_turns may be updated. The original test_case_conversation_turns may not be updated.", "format": "google-fieldmask", "location": "query", "type": "string" @@ -2310,60 +2451,309 @@ }, "path": "v3beta1/{+name}", "request": { - "$ref": "GoogleCloudDialogflowCxV3beta1Webhook" + "$ref": "GoogleCloudDialogflowCxV3beta1TestCase" }, "response": { - "$ref": "GoogleCloudDialogflowCxV3beta1Webhook" + "$ref": "GoogleCloudDialogflowCxV3beta1TestCase" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + }, + "run": { + "description": "Kicks off a test case run.", + "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/testCases:run", + "httpMethod": "POST", + "id": "dialogflow.projects.locations.agents.testCases.run", + "parameterOrder": [ + "projectsId", + "locationsId", + "agentsId" + ], + "parameters": { + "agentsId": { + "location": "path", + "required": true, + "type": "string" + }, + "locationsId": { + "location": "path", + "required": true, + "type": "string" + }, + "projectsId": { + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/testCases:run", + "request": { + "$ref": "GoogleCloudDialogflowCxV3beta1RunTestCaseRequest" + }, + "response": { + "$ref": "GoogleLongrunningOperation" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/dialogflow" ] } - } - } - } - }, - "operations": { - "methods": { - "cancel": { - "description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", - "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel", - "httpMethod": "POST", - "id": "dialogflow.projects.locations.operations.cancel", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "The name of the operation resource to be cancelled.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v3beta1/{+name}:cancel", - "response": { - "$ref": "GoogleProtobufEmpty" }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/dialogflow" - ] + "resources": { + "results": { + "methods": { + "list": { + "description": "Fetches a list of results for a given test case.", + "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/testCases/{testCasesId}/results", + "httpMethod": "GET", + "id": "dialogflow.projects.locations.agents.testCases.results.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "filter": { + "description": "The filter expression used to filter test case results. See [API Filtering](https://aip.dev/160). The expression is case insensitive. Only 'AND' is supported for logical operators. The supported syntax is listed below in detail: [AND ] ... [AND latest] The supported fields and operators are: field operator `environment` `=`, `IN` (Use value `draft` for draft environment) `test_time` `\u003e`, `\u003c` `latest` only returns the latest test result in all results for each test case. Examples: * \"environment=draft AND latest\" matches the latest test result for each test case in the draft environment. * \"environment IN (e1,e2)\" matches any test case results with an environment resource name of either \"e1\" or \"e2\". * \"test_time \u003e 1602540713\" matches any test case results with test time later than a unix timestamp in seconds 1602540713.", + "location": "query", + "type": "string" + }, + "pageSize": { + "description": "The maximum number of items to return in a single page. By default 100 and at most 1000.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "The next_page_token value returned from a previous list request.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The test case to list results for. Format: `projects//locations//agents// testCases/`. Specify a `-` as a wildcard for TestCase ID to list results across multiple test cases.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/testCases/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v3beta1/{+parent}/results", + "response": { + "$ref": "GoogleCloudDialogflowCxV3beta1ListTestCaseResultsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + } + } + } + } }, - "get": { - "description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", - "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", - "httpMethod": "GET", - "id": "dialogflow.projects.locations.operations.get", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "The name of the operation resource.", - "location": "path", + "webhooks": { + "methods": { + "create": { + "description": "Creates a webhook in the specified agent.", + "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/webhooks", + "httpMethod": "POST", + "id": "dialogflow.projects.locations.agents.webhooks.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. The agent to create a webhook for. Format: `projects//locations//agents/`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v3beta1/{+parent}/webhooks", + "request": { + "$ref": "GoogleCloudDialogflowCxV3beta1Webhook" + }, + "response": { + "$ref": "GoogleCloudDialogflowCxV3beta1Webhook" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + }, + "delete": { + "description": "Deletes the specified webhook.", + "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/webhooks/{webhooksId}", + "httpMethod": "DELETE", + "id": "dialogflow.projects.locations.agents.webhooks.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "force": { + "description": "This field has no effect for webhook not being used. For webhooks that are used by pages/flows/transition route groups: * If `force` is set to false, an error will be returned with message indicating the referenced resources. * If `force` is set to true, Dialogflow will remove the webhook, as well as any references to the webhook (i.e. Webhook and tagin fulfillments that point to this webhook will be removed).", + "location": "query", + "type": "boolean" + }, + "name": { + "description": "Required. The name of the webhook to delete. Format: `projects//locations//agents//webhooks/`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/webhooks/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v3beta1/{+name}", + "response": { + "$ref": "GoogleProtobufEmpty" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + }, + "get": { + "description": "Retrieves the specified webhook.", + "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/webhooks/{webhooksId}", + "httpMethod": "GET", + "id": "dialogflow.projects.locations.agents.webhooks.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the webhook. Format: `projects//locations//agents//webhooks/`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/webhooks/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v3beta1/{+name}", + "response": { + "$ref": "GoogleCloudDialogflowCxV3beta1Webhook" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + }, + "list": { + "description": "Returns the list of all webhooks in the specified agent.", + "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/webhooks", + "httpMethod": "GET", + "id": "dialogflow.projects.locations.agents.webhooks.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "pageSize": { + "description": "The maximum number of items to return in a single page. By default 100 and at most 1000.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "The next_page_token value returned from a previous list request.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The agent to list all webhooks for. Format: `projects//locations//agents/`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v3beta1/{+parent}/webhooks", + "response": { + "$ref": "GoogleCloudDialogflowCxV3beta1ListWebhooksResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + }, + "patch": { + "description": "Updates the specified webhook.", + "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/webhooks/{webhooksId}", + "httpMethod": "PATCH", + "id": "dialogflow.projects.locations.agents.webhooks.patch", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "The unique identifier of the webhook. Required for the Webhooks.UpdateWebhook method. Webhooks.CreateWebhook populates the name automatically. Format: `projects//locations//agents//webhooks/`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/webhooks/[^/]+$", + "required": true, + "type": "string" + }, + "updateMask": { + "description": "The mask to control which fields get updated. If the mask is not present, all fields will be updated.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "v3beta1/{+name}", + "request": { + "$ref": "GoogleCloudDialogflowCxV3beta1Webhook" + }, + "response": { + "$ref": "GoogleCloudDialogflowCxV3beta1Webhook" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + } + } + } + } + }, + "operations": { + "methods": { + "cancel": { + "description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", + "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel", + "httpMethod": "POST", + "id": "dialogflow.projects.locations.operations.cancel", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "The name of the operation resource to be cancelled.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v3beta1/{+name}:cancel", + "response": { + "$ref": "GoogleProtobufEmpty" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + }, + "get": { + "description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", + "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", + "httpMethod": "GET", + "id": "dialogflow.projects.locations.operations.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "The name of the operation resource.", + "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", "required": true, "type": "string" @@ -2679,35 +3069,743 @@ } } } - } - } - }, - "revision": "20201207", - "rootUrl": "https://dialogflow.googleapis.com/", - "schemas": { - "GoogleCloudDialogflowCxV3CreateVersionOperationMetadata": { - "description": "Metadata associated with the long running operation for Versions.CreateVersion.", - "id": "GoogleCloudDialogflowCxV3CreateVersionOperationMetadata", + } + } + }, + "revision": "20201213", + "rootUrl": "https://dialogflow.googleapis.com/", + "schemas": { + "GoogleCloudDialogflowCxV3AudioInput": { + "description": "Represents the natural speech audio to be processed.", + "id": "GoogleCloudDialogflowCxV3AudioInput", + "properties": { + "audio": { + "description": "The natural language speech audio to be processed. A single request can contain up to 1 minute of speech audio data. The transcribed text cannot contain more than 256 bytes. For non-streaming audio detect intent, both `config` and `audio` must be provided. For streaming audio detect intent, `config` must be provided in the first request and `audio` must be provided in all following requests.", + "format": "byte", + "type": "string" + }, + "config": { + "$ref": "GoogleCloudDialogflowCxV3InputAudioConfig", + "description": "Required. Instructs the speech recognizer how to process the speech audio." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3BatchRunTestCasesMetadata": { + "description": "Metadata returned for the TestCases.BatchRunTestCases long running operation.", + "id": "GoogleCloudDialogflowCxV3BatchRunTestCasesMetadata", + "properties": { + "errors": { + "description": "The test errors.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3TestError" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3BatchRunTestCasesResponse": { + "description": "The response message for TestCases.BatchRunTestCases.", + "id": "GoogleCloudDialogflowCxV3BatchRunTestCasesResponse", + "properties": { + "results": { + "description": "The test case results. The detailed conversation turns are empty in this response.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3TestCaseResult" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3ConversationTurn": { + "description": "One interaction between a human and virtual agent. The human provides some input and the virtual agent provides a response.", + "id": "GoogleCloudDialogflowCxV3ConversationTurn", + "properties": { + "userInput": { + "$ref": "GoogleCloudDialogflowCxV3ConversationTurnUserInput", + "description": "The user input." + }, + "virtualAgentOutput": { + "$ref": "GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput", + "description": "The virtual agent output." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3ConversationTurnUserInput": { + "description": "The input from the human user.", + "id": "GoogleCloudDialogflowCxV3ConversationTurnUserInput", + "properties": { + "injectedParameters": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "Parameters that need to be injected into the conversation during intent detection.", + "type": "object" + }, + "input": { + "$ref": "GoogleCloudDialogflowCxV3QueryInput", + "description": "Supports text input, event input, dtmf input in the test case." + }, + "isWebhookEnabled": { + "description": "If webhooks should be allowed to trigger in response to the user utterance. Often if parameters are injected, webhooks should not be enabled.", + "type": "boolean" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput": { + "description": "The output from the virtual agent.", + "id": "GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput", + "properties": { + "currentPage": { + "$ref": "GoogleCloudDialogflowCxV3Page", + "description": "The Page on which the utterance was spoken. Only some fields such as name and displayname will be set." + }, + "diagnosticInfo": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "Required. Input only. The diagnostic info output for the turn.", + "type": "object" + }, + "differences": { + "description": "Output only. If this is part of a result conversation turn, the list of differences between the original run and the replay for this output, if any.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3TestRunDifference" + }, + "readOnly": true, + "type": "array" + }, + "sessionParameters": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "The session parameters available to the bot at this point.", + "type": "object" + }, + "status": { + "$ref": "GoogleRpcStatus", + "description": "Response error from the agent in the test result. If set, other output is empty." + }, + "textResponses": { + "description": "The text responses from the agent for the turn.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3ResponseMessageText" + }, + "type": "array" + }, + "triggeredIntent": { + "$ref": "GoogleCloudDialogflowCxV3Intent", + "description": "The Intent that triggered the response. Only some fields such as name and displayname will be set." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3CreateDocumentOperationMetadata": { + "description": "Metadata for CreateDocument operation.", + "id": "GoogleCloudDialogflowCxV3CreateDocumentOperationMetadata", + "properties": { + "genericMetadata": { + "$ref": "GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata", + "description": "The generic information of the operation." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3CreateVersionOperationMetadata": { + "description": "Metadata associated with the long running operation for Versions.CreateVersion.", + "id": "GoogleCloudDialogflowCxV3CreateVersionOperationMetadata", + "properties": { + "version": { + "description": "Name of the created version. Format: `projects//locations//agents//flows//versions/`.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3DeleteDocumentOperationMetadata": { + "description": "Metadata for DeleteDocument operation.", + "id": "GoogleCloudDialogflowCxV3DeleteDocumentOperationMetadata", + "properties": { + "genericMetadata": { + "$ref": "GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata", + "description": "The generic information of the operation." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3DtmfInput": { + "description": "Represents the input for dtmf event.", + "id": "GoogleCloudDialogflowCxV3DtmfInput", + "properties": { + "digits": { + "description": "The dtmf digits.", + "type": "string" + }, + "finishDigit": { + "description": "The finish digit (if any).", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3EventHandler": { + "description": "An event handler specifies an event that can be handled during a session. When the specified event happens, the following actions are taken in order: * If there is a `trigger_fulfillment` associated with the event, it will be called. * If there is a `target_page` associated with the event, the session will transition into the specified page. * If there is a `target_flow` associated with the event, the session will transition into the specified flow.", + "id": "GoogleCloudDialogflowCxV3EventHandler", + "properties": { + "event": { + "description": "Required. The name of the event to handle.", + "type": "string" + }, + "name": { + "description": "Output only. The unique identifier of this event handler.", + "readOnly": true, + "type": "string" + }, + "targetFlow": { + "description": "The target flow to transition to. Format: `projects//locations//agents//flows/`.", + "type": "string" + }, + "targetPage": { + "description": "The target page to transition to. Format: `projects//locations//agents//flows//pages/`.", + "type": "string" + }, + "triggerFulfillment": { + "$ref": "GoogleCloudDialogflowCxV3Fulfillment", + "description": "The fulfillment to call when the event occurs. Handling webhook errors with a fulfillment enabled with webhook could cause infinite loop. It is invalid to specify such fulfillment for a handler handling webhooks." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3EventInput": { + "description": "Represents the event to trigger.", + "id": "GoogleCloudDialogflowCxV3EventInput", + "properties": { + "event": { + "description": "Name of the event.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3ExportAgentResponse": { + "description": "The response message for Agents.ExportAgent.", + "id": "GoogleCloudDialogflowCxV3ExportAgentResponse", + "properties": { + "agentContent": { + "description": "Uncompressed raw byte content for agent.", + "format": "byte", + "type": "string" + }, + "agentUri": { + "description": "The URI to a file containing the exported agent. This field is populated only if `agent_uri` is specified in ExportAgentRequest.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3ExportTestCasesMetadata": { + "description": "Metadata returned for the TestCases.ExportTestCases long running operation.", + "id": "GoogleCloudDialogflowCxV3ExportTestCasesMetadata", + "properties": {}, + "type": "object" + }, + "GoogleCloudDialogflowCxV3ExportTestCasesResponse": { + "description": "The response message for TestCases.ExportTestCases.", + "id": "GoogleCloudDialogflowCxV3ExportTestCasesResponse", + "properties": { + "content": { + "description": "Uncompressed raw byte content for test cases.", + "format": "byte", + "type": "string" + }, + "gcsUri": { + "description": "The URI to a file containing the exported test cases. This field is populated only if `gcs_uri` is specified in ExportTestCasesRequest.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3Form": { + "description": "A form is a data model that groups related parameters that can be collected from the user. The process in which the agent prompts the user and collects parameter values from the user is called form filling. A form can be added to a page. When form filling is done, the filled parameters will be written to the session.", + "id": "GoogleCloudDialogflowCxV3Form", + "properties": { + "parameters": { + "description": "Parameters to collect from the user.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3FormParameter" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3FormParameter": { + "description": "Represents a form parameter.", + "id": "GoogleCloudDialogflowCxV3FormParameter", + "properties": { + "defaultValue": { + "description": "The default value of an optional parameter. If the parameter is required, the default value will be ignored.", + "type": "any" + }, + "displayName": { + "description": "Required. The human-readable name of the parameter, unique within the form.", + "type": "string" + }, + "entityType": { + "description": "Required. The entity type of the parameter. Format: `projects/-/locations/-/agents/-/entityTypes/` for system entity types (for example, `projects/-/locations/-/agents/-/entityTypes/sys.date`), or `projects//locations//agents//entityTypes/` for developer entity types.", + "type": "string" + }, + "fillBehavior": { + "$ref": "GoogleCloudDialogflowCxV3FormParameterFillBehavior", + "description": "Required. Defines fill behavior for the parameter." + }, + "isList": { + "description": "Indicates whether the parameter represents a list of values.", + "type": "boolean" + }, + "redact": { + "description": "Indicates whether the parameter content is logged in text and audio. If it is set to true, the parameter content will be replaced to parameter name in both request and response. The default value is false.", + "type": "boolean" + }, + "required": { + "description": "Indicates whether the parameter is required. Optional parameters will not trigger prompts; however, they are filled if the user specifies them. Required parameters must be filled before form filling concludes.", + "type": "boolean" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3FormParameterFillBehavior": { + "description": "Configuration for how the filling of a parameter should be handled.", + "id": "GoogleCloudDialogflowCxV3FormParameterFillBehavior", + "properties": { + "initialPromptFulfillment": { + "$ref": "GoogleCloudDialogflowCxV3Fulfillment", + "description": "Required. The fulfillment to provide the initial prompt that the agent can present to the user in order to fill the parameter." + }, + "repromptEventHandlers": { + "description": "The handlers for parameter-level events, used to provide reprompt for the parameter or transition to a different page/flow. The supported events are: * `sys.no-match-`, where N can be from 1 to 6 * `sys.no-match-default` * `sys.no-input-`, where N can be from 1 to 6 * `sys.no-input-default` * `sys.invalid-parameter` `initial_prompt_fulfillment` provides the first prompt for the parameter. If the user's response does not fill the parameter, a no-match/no-input event will be triggered, and the fulfillment associated with the `sys.no-match-1`/`sys.no-input-1` handler (if defined) will be called to provide a prompt. The `sys.no-match-2`/`sys.no-input-2` handler (if defined) will respond to the next no-match/no-input event, and so on. A `sys.no-match-default` or `sys.no-input-default` handler will be used to handle all following no-match/no-input events after all numbered no-match/no-input handlers for the parameter are consumed. A `sys.invalid-parameter` handler can be defined to handle the case where the parameter values have been `invalidated` by webhook. For example, if the user's response fill the parameter, however the parameter was invalidated by webhook, the fulfillment associated with the `sys.invalid-parameter` handler (if defined) will be called to provide a prompt. If the event handler for the corresponding event can't be found on the parameter, `initial_prompt_fulfillment` will be re-prompted.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3EventHandler" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3Fulfillment": { + "description": "A fulfillment can do one or more of the following actions at the same time: * Generate rich message responses. * Set parameter values. * Call the webhook. Fulfillments can be called at various stages in the Page or Form lifecycle. For example, when a DetectIntentRequest drives a session to enter a new page, the page's entry fulfillment can add a static response to the QueryResult in the returning DetectIntentResponse, call the webhook (for example, to load user data from a database), or both.", + "id": "GoogleCloudDialogflowCxV3Fulfillment", + "properties": { + "conditionalCases": { + "description": "Conditional cases for this fulfillment.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3FulfillmentConditionalCases" + }, + "type": "array" + }, + "messages": { + "description": "The list of rich message responses to present to the user.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3ResponseMessage" + }, + "type": "array" + }, + "setParameterActions": { + "description": "Set parameter values before executing the webhook.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3FulfillmentSetParameterAction" + }, + "type": "array" + }, + "tag": { + "description": "The tag used by the webhook to identify which fulfillment is being called. This field is required if `webhook` is specified.", + "type": "string" + }, + "webhook": { + "description": "The webhook to call. Format: `projects//locations//agents//webhooks/`.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3FulfillmentConditionalCases": { + "description": "A list of cascading if-else conditions. Cases are mutually exclusive. The first one with a matching condition is selected, all the rest ignored.", + "id": "GoogleCloudDialogflowCxV3FulfillmentConditionalCases", + "properties": { + "cases": { + "description": "A list of cascading if-else conditions.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCase" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCase": { + "description": "Each case has a Boolean condition. When it is evaluated to be True, the corresponding messages will be selected and evaluated recursively.", + "id": "GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCase", + "properties": { + "caseContent": { + "description": "A list of case content.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseCaseContent" + }, + "type": "array" + }, + "condition": { + "description": "The condition to activate and select this case. Empty means the condition is always true. The condition is evaluated against form parameters or session parameters. See the [conditions reference](https://cloud.google.com/dialogflow/cx/docs/reference/condition).", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseCaseContent": { + "description": "The list of messages or conditional cases to activate for this case.", + "id": "GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseCaseContent", + "properties": { + "additionalCases": { + "$ref": "GoogleCloudDialogflowCxV3FulfillmentConditionalCases", + "description": "Additional cases to be evaluated." + }, + "message": { + "$ref": "GoogleCloudDialogflowCxV3ResponseMessage", + "description": "Returned message." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3FulfillmentSetParameterAction": { + "description": "Setting a parameter value.", + "id": "GoogleCloudDialogflowCxV3FulfillmentSetParameterAction", + "properties": { + "parameter": { + "description": "Display name of the parameter.", + "type": "string" + }, + "value": { + "description": "The new value of the parameter. A null value clears the parameter.", + "type": "any" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata": { + "description": "Metadata in google::longrunning::Operation for Knowledge operations.", + "id": "GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata", + "properties": { + "state": { + "description": "Required. Output only. The current state of this operation.", + "enum": [ + "STATE_UNSPECIFIED", + "PENDING", + "RUNNING", + "DONE" + ], + "enumDescriptions": [ + "State unspecified.", + "The operation has been created.", + "The operation is currently running.", + "The operation is done, either cancelled or completed." + ], + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3ImportDocumentsOperationMetadata": { + "description": "Metadata for ImportDocuments operation.", + "id": "GoogleCloudDialogflowCxV3ImportDocumentsOperationMetadata", + "properties": { + "genericMetadata": { + "$ref": "GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata", + "description": "The generic information of the operation." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3ImportDocumentsResponse": { + "description": "Response message for Documents.ImportDocuments.", + "id": "GoogleCloudDialogflowCxV3ImportDocumentsResponse", + "properties": { + "warnings": { + "description": "Includes details about skipped documents or any other warnings.", + "items": { + "$ref": "GoogleRpcStatus" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3ImportTestCasesMetadata": { + "description": "Metadata returned for the TestCases.ImportTestCases long running operation.", + "id": "GoogleCloudDialogflowCxV3ImportTestCasesMetadata", + "properties": { + "errors": { + "description": "Errors for failed test cases.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3TestCaseError" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3ImportTestCasesResponse": { + "description": "The response message for TestCases.ImportTestCases.", + "id": "GoogleCloudDialogflowCxV3ImportTestCasesResponse", + "properties": { + "names": { + "description": "The unique identifiers of the new test cases. Format: `projects//locations//agents//testCases/`.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3InputAudioConfig": { + "description": "Instructs the speech recognizer on how to process the audio content.", + "id": "GoogleCloudDialogflowCxV3InputAudioConfig", + "properties": { + "audioEncoding": { + "description": "Required. Audio encoding of the audio content to process.", + "enum": [ + "AUDIO_ENCODING_UNSPECIFIED", + "AUDIO_ENCODING_LINEAR_16", + "AUDIO_ENCODING_FLAC", + "AUDIO_ENCODING_MULAW", + "AUDIO_ENCODING_AMR", + "AUDIO_ENCODING_AMR_WB", + "AUDIO_ENCODING_OGG_OPUS", + "AUDIO_ENCODING_SPEEX_WITH_HEADER_BYTE" + ], + "enumDescriptions": [ + "Not specified.", + "Uncompressed 16-bit signed little-endian samples (Linear PCM).", + "[`FLAC`](https://xiph.org/flac/documentation.html) (Free Lossless Audio Codec) is the recommended encoding because it is lossless (therefore recognition is not compromised) and requires only about half the bandwidth of `LINEAR16`. `FLAC` stream encoding supports 16-bit and 24-bit samples, however, not all fields in `STREAMINFO` are supported.", + "8-bit samples that compand 14-bit audio samples using G.711 PCMU/mu-law.", + "Adaptive Multi-Rate Narrowband codec. `sample_rate_hertz` must be 8000.", + "Adaptive Multi-Rate Wideband codec. `sample_rate_hertz` must be 16000.", + "Opus encoded audio frames in Ogg container ([OggOpus](https://wiki.xiph.org/OggOpus)). `sample_rate_hertz` must be 16000.", + "Although the use of lossy encodings is not recommended, if a very low bitrate encoding is required, `OGG_OPUS` is highly preferred over Speex encoding. The [Speex](https://speex.org/) encoding supported by Dialogflow API has a header byte in each block, as in MIME type `audio/x-speex-with-header-byte`. It is a variant of the RTP Speex encoding defined in [RFC 5574](https://tools.ietf.org/html/rfc5574). The stream is a sequence of blocks, one block per RTP packet. Each block starts with a byte containing the length of the block, in bytes, followed by one or more frames of Speex data, padded to an integral number of bytes (octets) as specified in RFC 5574. In other words, each RTP header is replaced with a single byte containing the block length. Only Speex wideband is supported. `sample_rate_hertz` must be 16000." + ], + "type": "string" + }, + "enableWordInfo": { + "description": "Optional. If `true`, Dialogflow returns SpeechWordInfo in StreamingRecognitionResult with information about the recognized speech words, e.g. start and end time offsets. If false or unspecified, Speech doesn't return any word-level information.", + "type": "boolean" + }, + "model": { + "description": "Optional. Which Speech model to select for the given request. Select the model best suited to your domain to get best results. If a model is not explicitly specified, then we auto-select a model based on the parameters in the InputAudioConfig. If enhanced speech model is enabled for the agent and an enhanced version of the specified model for the language does not exist, then the speech is recognized using the standard version of the specified model. Refer to [Cloud Speech API documentation](https://cloud.google.com/speech-to-text/docs/basics#select-model) for more details.", + "type": "string" + }, + "modelVariant": { + "description": "Optional. Which variant of the Speech model to use.", + "enum": [ + "SPEECH_MODEL_VARIANT_UNSPECIFIED", + "USE_BEST_AVAILABLE", + "USE_STANDARD", + "USE_ENHANCED" + ], + "enumDescriptions": [ + "No model variant specified. In this case Dialogflow defaults to USE_BEST_AVAILABLE.", + "Use the best available variant of the Speech model that the caller is eligible for. Please see the [Dialogflow docs](https://cloud.google.com/dialogflow/docs/data-logging) for how to make your project eligible for enhanced models.", + "Use standard model variant even if an enhanced model is available. See the [Cloud Speech documentation](https://cloud.google.com/speech-to-text/docs/enhanced-models) for details about enhanced models.", + "Use an enhanced model variant: * If an enhanced variant does not exist for the given model and request language, Dialogflow falls back to the standard variant. The [Cloud Speech documentation](https://cloud.google.com/speech-to-text/docs/enhanced-models) describes which models have enhanced variants. * If the API caller isn't eligible for enhanced models, Dialogflow returns an error. Please see the [Dialogflow docs](https://cloud.google.com/dialogflow/docs/data-logging) for how to make your project eligible." + ], + "type": "string" + }, + "phraseHints": { + "description": "Optional. A list of strings containing words and phrases that the speech recognizer should recognize with higher likelihood. See [the Cloud Speech documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-hints) for more details.", + "items": { + "type": "string" + }, + "type": "array" + }, + "sampleRateHertz": { + "description": "Sample rate (in Hertz) of the audio content sent in the query. Refer to [Cloud Speech API documentation](https://cloud.google.com/speech-to-text/docs/basics) for more details.", + "format": "int32", + "type": "integer" + }, + "singleUtterance": { + "description": "Optional. If `false` (default), recognition does not cease until the client closes the stream. If `true`, the recognizer will detect a single spoken utterance in input audio. Recognition ceases when it detects the audio's voice has stopped or paused. In this case, once a detected intent is received, the client should close the stream and start a new request with a new stream as needed. Note: This setting is relevant only for streaming methods.", + "type": "boolean" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3Intent": { + "description": "An intent represents a user's intent to interact with a conversational agent. You can provide information for the Dialogflow API to use to match user input to an intent by adding training phrases (i.e., examples of user input) to your intent.", + "id": "GoogleCloudDialogflowCxV3Intent", + "properties": { + "description": { + "description": "Optional. Human readable description for better understanding an intent like its scope, content, result etc. Maximum character limit: 140 characters.", + "type": "string" + }, + "displayName": { + "description": "Required. The human-readable name of the intent, unique within the agent.", + "type": "string" + }, + "isFallback": { + "description": "Indicates whether this is a fallback intent. Currently only default fallback intent is allowed in the agent, which is added upon agent creation. Adding training phrases to fallback intent is useful in the case of requests that are mistakenly matched, since training phrases assigned to fallback intents act as negative examples that triggers no-match event.", + "type": "boolean" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "description": "Optional. The key/value metadata to label an intent. Labels can contain lowercase letters, digits and the symbols '-' and '_'. International characters are allowed, including letters from unicase alphabets. Keys must start with a letter. Keys and values can be no longer than 63 characters and no more than 128 bytes. Prefix \"sys.\" is reserved for Dialogflow defined labels. Currently allowed Dialogflow defined labels include: * sys.head * sys.contextual The above labels do not require value. \"sys.head\" means the intent is a head intent. \"sys.contextual\" means the intent is a contextual intent.", + "type": "object" + }, + "name": { + "description": "The unique identifier of the intent. Required for the Intents.UpdateIntent method. Intents.CreateIntent populates the name automatically. Format: `projects//locations//agents//intents/`.", + "type": "string" + }, + "parameters": { + "description": "The collection of parameters associated with the intent.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3IntentParameter" + }, + "type": "array" + }, + "priority": { + "description": "The priority of this intent. Higher numbers represent higher priorities. - If the supplied value is unspecified or 0, the service translates the value to 500,000, which corresponds to the `Normal` priority in the console. - If the supplied value is negative, the intent is ignored in runtime detect intent requests.", + "format": "int32", + "type": "integer" + }, + "trainingPhrases": { + "description": "The collection of training phrases the agent is trained on to identify the intent.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3IntentTrainingPhrase" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3IntentInput": { + "description": "Represents the intent to trigger programmatically rather than as a result of natural language processing.", + "id": "GoogleCloudDialogflowCxV3IntentInput", + "properties": { + "intent": { + "description": "Required. The unique identifier of the intent. Format: `projects//locations//agents//intents/`.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3IntentParameter": { + "description": "Represents an intent parameter.", + "id": "GoogleCloudDialogflowCxV3IntentParameter", + "properties": { + "entityType": { + "description": "Required. The entity type of the parameter. Format: `projects/-/locations/-/agents/-/entityTypes/` for system entity types (for example, `projects/-/locations/-/agents/-/entityTypes/sys.date`), or `projects//locations//agents//entityTypes/` for developer entity types.", + "type": "string" + }, + "id": { + "description": "Required. The unique identifier of the parameter. This field is used by training phrases to annotate their parts.", + "type": "string" + }, + "isList": { + "description": "Indicates whether the parameter represents a list of values.", + "type": "boolean" + }, + "redact": { + "description": "Indicates whether the parameter content is logged in text and audio. If it is set to true, the parameter content will be replaced to parameter id in both request and response. The default value is false.", + "type": "boolean" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3IntentTrainingPhrase": { + "description": "Represents an example that the agent is trained on to identify the intent.", + "id": "GoogleCloudDialogflowCxV3IntentTrainingPhrase", + "properties": { + "id": { + "description": "Output only. The unique identifier of the training phrase.", + "type": "string" + }, + "parts": { + "description": "Required. The ordered list of training phrase parts. The parts are concatenated in order to form the training phrase. Note: The API does not automatically annotate training phrases like the Dialogflow Console does. Note: Do not forget to include whitespace at part boundaries, so the training phrase is well formatted when the parts are concatenated. If the training phrase does not need to be annotated with parameters, you just need a single part with only the Part.text field set. If you want to annotate the training phrase, you must create multiple parts, where the fields of each part are populated in one of two ways: - `Part.text` is set to a part of the phrase that has no parameters. - `Part.text` is set to a part of the phrase that you want to annotate, and the `parameter_id` field is set.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3IntentTrainingPhrasePart" + }, + "type": "array" + }, + "repeatCount": { + "description": "Indicates how many times this example was added to the intent.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3IntentTrainingPhrasePart": { + "description": "Represents a part of a training phrase.", + "id": "GoogleCloudDialogflowCxV3IntentTrainingPhrasePart", "properties": { - "version": { - "description": "Name of the created version. Format: `projects//locations//agents//flows//versions/`.", + "parameterId": { + "description": "The parameter used to annotate this part of the training phrase. This field is required for annotated parts of the training phrase.", + "type": "string" + }, + "text": { + "description": "Required. The text for this part.", "type": "string" } }, "type": "object" }, - "GoogleCloudDialogflowCxV3ExportAgentResponse": { - "description": "The response message for Agents.ExportAgent.", - "id": "GoogleCloudDialogflowCxV3ExportAgentResponse", + "GoogleCloudDialogflowCxV3Page": { + "description": "A Dialogflow CX conversation (session) can be described and visualized as a state machine. The states of a CX session are represented by pages. For each flow, you define many pages, where your combined pages can handle a complete conversation on the topics the flow is designed for. At any given moment, exactly one page is the current page, the current page is considered active, and the flow associated with that page is considered active. Every flow has a special start page. When a flow initially becomes active, the start page page becomes the current page. For each conversational turn, the current page will either stay the same or transition to another page. You configure each page to collect information from the end-user that is relevant for the conversational state represented by the page. For more information, see the [Page guide](https://cloud.google.com/dialogflow/cx/docs/concept/page).", + "id": "GoogleCloudDialogflowCxV3Page", "properties": { - "agentContent": { - "description": "Uncompressed raw byte content for agent.", - "format": "byte", + "displayName": { + "description": "Required. The human-readable name of the page, unique within the agent.", "type": "string" }, - "agentUri": { - "description": "The URI to a file containing the exported agent. This field is populated only if `agent_uri` is specified in ExportAgentRequest.", + "entryFulfillment": { + "$ref": "GoogleCloudDialogflowCxV3Fulfillment", + "description": "The fulfillment to call when the session is entering the page." + }, + "eventHandlers": { + "description": "Handlers associated with the page to handle events such as webhook errors, no match or no input.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3EventHandler" + }, + "type": "array" + }, + "form": { + "$ref": "GoogleCloudDialogflowCxV3Form", + "description": "The form associated with the page, used for collecting parameters relevant to the page." + }, + "name": { + "description": "The unique identifier of the page. Required for the Pages.UpdatePage method. Pages.CreatePage populates the name automatically. Format: `projects//locations//agents//flows//pages/`.", "type": "string" + }, + "transitionRouteGroups": { + "description": "Ordered list of `TransitionRouteGroups` associated with the page. Transition route groups must be unique within a page. * If multiple transition routes within a page scope refer to the same intent, then the precedence order is: page's transition route -\u003e page's transition route group -\u003e flow's transition routes. * If multiple transition route groups within a page contain the same intent, then the first group in the ordered list takes precedence. Format:`projects//locations//agents//flows//transitionRouteGroups/`.", + "items": { + "type": "string" + }, + "type": "array" + }, + "transitionRoutes": { + "description": "A list of transitions for the transition rules of this page. They route the conversation to another page in the same flow, or another flow. When we are in a certain page, the TransitionRoutes are evalauted in the following order: * TransitionRoutes defined in the page with intent specified. * TransitionRoutes defined in the transition route groups. * TransitionRoutes defined in flow with intent specified. * TransitionRoutes defined in the page with only condition specified.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3TransitionRoute" + }, + "type": "array" } }, "type": "object" @@ -2780,6 +3878,48 @@ }, "type": "object" }, + "GoogleCloudDialogflowCxV3QueryInput": { + "description": "Represents the query input. It can contain one of: 1. A conversational query in the form of text. 2. An intent query that specifies which intent to trigger. 3. Natural language speech audio to be processed. 4. An event to be triggered. ", + "id": "GoogleCloudDialogflowCxV3QueryInput", + "properties": { + "audio": { + "$ref": "GoogleCloudDialogflowCxV3AudioInput", + "description": "The natural language speech audio to be processed." + }, + "dtmf": { + "$ref": "GoogleCloudDialogflowCxV3DtmfInput", + "description": "The DTMF event to be handled." + }, + "event": { + "$ref": "GoogleCloudDialogflowCxV3EventInput", + "description": "The event to be triggered." + }, + "intent": { + "$ref": "GoogleCloudDialogflowCxV3IntentInput", + "description": "The intent to be triggered." + }, + "languageCode": { + "description": "Required. The language of the input. See [Language Support](https://cloud.google.com/dialogflow/docs/reference/language) for a list of the currently supported language codes. Note that queries in the same session do not necessarily need to specify the same language.", + "type": "string" + }, + "text": { + "$ref": "GoogleCloudDialogflowCxV3TextInput", + "description": "The natural language text to be processed." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3ReloadDocumentOperationMetadata": { + "description": "Metadata for ReloadDocument operation.", + "id": "GoogleCloudDialogflowCxV3ReloadDocumentOperationMetadata", + "properties": { + "genericMetadata": { + "$ref": "GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata", + "description": "The generic information of the operation." + } + }, + "type": "object" + }, "GoogleCloudDialogflowCxV3ResponseMessage": { "description": "Represents a response message that can be returned by a conversational agent. Response messages are also used for output audio synthesis. The approach is as follows: * If at least one OutputAudioText response is present, then all OutputAudioText responses are linearly concatenated, and the result is used for output audio synthesis. * If the OutputAudioText responses are a mixture of text and SSML, then the concatenated result is treated as SSML; otherwise, the result is treated as either text or SSML as appropriate. The agent designer should ideally use either text or SSML consistently throughout the bot design. * Otherwise, all Text responses are linearly concatenated, and the result is used for output audio synthesis. This approach allows for more sophisticated user experience scenarios, where the text displayed to the user may differ from what is heard.", "id": "GoogleCloudDialogflowCxV3ResponseMessage", @@ -2916,55 +4056,296 @@ }, "type": "object" }, - "GoogleCloudDialogflowCxV3ResponseMessagePlayAudio": { - "description": "Specifies an audio clip to be played by the client as part of the response.", - "id": "GoogleCloudDialogflowCxV3ResponseMessagePlayAudio", + "GoogleCloudDialogflowCxV3ResponseMessagePlayAudio": { + "description": "Specifies an audio clip to be played by the client as part of the response.", + "id": "GoogleCloudDialogflowCxV3ResponseMessagePlayAudio", + "properties": { + "allowPlaybackInterruption": { + "description": "Output only. Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request.", + "readOnly": true, + "type": "boolean" + }, + "audioUri": { + "description": "Required. URI of the audio clip. Dialogflow does not impose any validation on this value. It is specific to the client that reads it.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3ResponseMessageText": { + "description": "The text response message.", + "id": "GoogleCloudDialogflowCxV3ResponseMessageText", + "properties": { + "allowPlaybackInterruption": { + "description": "Output only. Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request.", + "readOnly": true, + "type": "boolean" + }, + "text": { + "description": "Required. A collection of text responses.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3RunTestCaseMetadata": { + "description": "Metadata returned for the TestCases.RunTestCase long running operation.", + "id": "GoogleCloudDialogflowCxV3RunTestCaseMetadata", + "properties": {}, + "type": "object" + }, + "GoogleCloudDialogflowCxV3RunTestCaseResponse": { + "description": "The response message for TestCases.RunTestCase.", + "id": "GoogleCloudDialogflowCxV3RunTestCaseResponse", + "properties": { + "result": { + "$ref": "GoogleCloudDialogflowCxV3TestCaseResult", + "description": "The result." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3SessionInfo": { + "description": "Represents session information communicated to and from the webhook.", + "id": "GoogleCloudDialogflowCxV3SessionInfo", + "properties": { + "parameters": { + "additionalProperties": { + "type": "any" + }, + "description": "Optional for WebhookRequest. Optional for WebhookResponse. All parameters collected from forms and intents during the session. Parameters can be created, updated, or removed by the webhook. To remove a parameter from the session, the webhook should explicitly set the parameter value to null in WebhookResponse. The map is keyed by parameters' display names.", + "type": "object" + }, + "session": { + "description": "Always present for WebhookRequest. Ignored for WebhookResponse. The unique identifier of the session. This field can be used by the webhook to identify a user. Format: `projects//locations//agents//sessions/`.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3TestCase": { + "description": "Represents a test case.", + "id": "GoogleCloudDialogflowCxV3TestCase", + "properties": { + "creationTime": { + "description": "Output only. When the test was created.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "displayName": { + "description": "Required. The human-readable name of the test case, unique within the agent. Limit of 200 characters.", + "type": "string" + }, + "lastTestResult": { + "$ref": "GoogleCloudDialogflowCxV3TestCaseResult", + "description": "The latest test result." + }, + "name": { + "description": "The unique identifier of the test case. TestCases.CreateTestCase will populate the name automatically. Otherwise use format: `projects//locations//agents/ /testCases/`.", + "type": "string" + }, + "notes": { + "description": "Additional freeform notes about the test case. Limit of 400 characters.", + "type": "string" + }, + "tags": { + "description": "Tags are short descriptions that users may apply to test cases for organizational and filtering purposes. Each tag should start with \"#\" and has a limit of 30 characters.", + "items": { + "type": "string" + }, + "type": "array" + }, + "testCaseConversationTurns": { + "description": "The conversation turns uttered when the test case was created, in chronological order. These include the canonical set of agent utterances that should occur when the agent is working properly.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3ConversationTurn" + }, + "type": "array" + }, + "testConfig": { + "$ref": "GoogleCloudDialogflowCxV3TestConfig", + "description": "Config for the test case." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3TestCaseError": { + "description": "Error info for importing a test.", + "id": "GoogleCloudDialogflowCxV3TestCaseError", + "properties": { + "status": { + "$ref": "GoogleRpcStatus", + "description": "The status associated with the test case." + }, + "testCase": { + "$ref": "GoogleCloudDialogflowCxV3TestCase", + "description": "The test case." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3TestCaseResult": { + "description": "Represents a result from running a test case in an agent environment.", + "id": "GoogleCloudDialogflowCxV3TestCaseResult", + "properties": { + "conversationTurns": { + "description": "The conversation turns uttered during the test case replay in chronological order.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3ConversationTurn" + }, + "type": "array" + }, + "environment": { + "description": "Optional. Environment where the test was run. If not set, it indicates the draft environment.", + "type": "string" + }, + "name": { + "description": "The resource name for the test case result. Format: `projects//locations//agents//testCases/ /results/`.", + "type": "string" + }, + "testResult": { + "description": "Whether the test case passed in the agent environment.", + "enum": [ + "TEST_RESULT_UNSPECIFIED", + "PASSED", + "FAILED" + ], + "enumDescriptions": [ + "Not specified. Should never be used.", + "The test passed.", + "The test did not pass." + ], + "type": "string" + }, + "testTime": { + "description": "The time that the test was run.", + "format": "google-datetime", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3TestConfig": { + "description": "Represents configurations for a test case.", + "id": "GoogleCloudDialogflowCxV3TestConfig", + "properties": { + "flow": { + "description": "Flow name. If not set, default start flow is assumed. Format: `projects//locations//agents//flows/`.", + "type": "string" + }, + "trackingParameters": { + "description": "Session parameters to be compared when calculating differences.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3TestError": { + "description": "Error info for running a test.", + "id": "GoogleCloudDialogflowCxV3TestError", + "properties": { + "status": { + "$ref": "GoogleRpcStatus", + "description": "The status associated with the test." + }, + "testCase": { + "description": "The test case resource name.", + "type": "string" + }, + "testTime": { + "description": "The timestamp when the test was completed.", + "format": "google-datetime", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3TestRunDifference": { + "description": "The description of differences between original and replayed agent output.", + "id": "GoogleCloudDialogflowCxV3TestRunDifference", + "properties": { + "description": { + "description": "A description of the diff, showing the actual output vs expected output.", + "type": "string" + }, + "type": { + "description": "The type of diff.", + "enum": [ + "DIFF_TYPE_UNSPECIFIED", + "INTENT", + "PAGE", + "PARAMETERS", + "UTTERANCE" + ], + "enumDescriptions": [ + "Should never be used.", + "The intent.", + "The page.", + "The parameters.", + "The message utterance." + ], + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3TextInput": { + "description": "Represents the natural language text to be processed.", + "id": "GoogleCloudDialogflowCxV3TextInput", "properties": { - "allowPlaybackInterruption": { - "description": "Output only. Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request.", - "readOnly": true, - "type": "boolean" - }, - "audioUri": { - "description": "Required. URI of the audio clip. Dialogflow does not impose any validation on this value. It is specific to the client that reads it.", + "text": { + "description": "Required. The UTF-8 encoded natural language text to be processed. Text length must not exceed 256 characters.", "type": "string" } }, "type": "object" }, - "GoogleCloudDialogflowCxV3ResponseMessageText": { - "description": "The text response message.", - "id": "GoogleCloudDialogflowCxV3ResponseMessageText", + "GoogleCloudDialogflowCxV3TransitionRoute": { + "description": "A transition route specifies a intent that can be matched and/or a data condition that can be evaluated during a session. When a specified transition is matched, the following actions are taken in order: * If there is a `trigger_fulfillment` associated with the transition, it will be called. * If there is a `target_page` associated with the transition, the session will transition into the specified page. * If there is a `target_flow` associated with the transition, the session will transition into the specified flow.", + "id": "GoogleCloudDialogflowCxV3TransitionRoute", "properties": { - "allowPlaybackInterruption": { - "description": "Output only. Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request.", + "condition": { + "description": "The condition to evaluate against form parameters or session parameters. See the [conditions reference](https://cloud.google.com/dialogflow/cx/docs/reference/condition). At least one of `intent` or `condition` must be specified. When both `intent` and `condition` are specified, the transition can only happen when both are fulfilled.", + "type": "string" + }, + "intent": { + "description": "The unique identifier of an Intent. Format: `projects//locations//agents//intents/`. Indicates that the transition can only happen when the given intent is matched. At least one of `intent` or `condition` must be specified. When both `intent` and `condition` are specified, the transition can only happen when both are fulfilled.", + "type": "string" + }, + "name": { + "description": "Output only. The unique identifier of this transition route.", "readOnly": true, - "type": "boolean" + "type": "string" }, - "text": { - "description": "Required. A collection of text responses.", - "items": { - "type": "string" - }, - "type": "array" + "targetFlow": { + "description": "The target flow to transition to. Format: `projects//locations//agents//flows/`.", + "type": "string" + }, + "targetPage": { + "description": "The target page to transition to. Format: `projects//locations//agents//flows//pages/`.", + "type": "string" + }, + "triggerFulfillment": { + "$ref": "GoogleCloudDialogflowCxV3Fulfillment", + "description": "The fulfillment to call when the condition is satisfied. At least one of `trigger_fulfillment` and `target` must be specified. When both are defined, `trigger_fulfillment` is executed first." } }, "type": "object" }, - "GoogleCloudDialogflowCxV3SessionInfo": { - "description": "Represents session information communicated to and from the webhook.", - "id": "GoogleCloudDialogflowCxV3SessionInfo", + "GoogleCloudDialogflowCxV3UpdateDocumentOperationMetadata": { + "description": "Metadata for UpdateDocument operation.", + "id": "GoogleCloudDialogflowCxV3UpdateDocumentOperationMetadata", "properties": { - "parameters": { - "additionalProperties": { - "type": "any" - }, - "description": "Optional for WebhookRequest. Optional for WebhookResponse. All parameters collected from forms and intents during the session. Parameters can be created, updated, or removed by the webhook. To remove a parameter from the session, the webhook should explicitly set the parameter value to null in WebhookResponse. The map is keyed by parameters' display names.", - "type": "object" - }, - "session": { - "description": "Always present for WebhookRequest. Ignored for WebhookResponse. The unique identifier of the session. This field can be used by the webhook to identify a user. Format: `projects//locations//agents//sessions/`.", - "type": "string" + "genericMetadata": { + "$ref": "GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata", + "description": "The generic information of the operation." } }, "type": "object" @@ -3181,6 +4562,184 @@ }, "type": "object" }, + "GoogleCloudDialogflowCxV3beta1BatchDeleteTestCasesRequest": { + "description": "The request message for TestCases.BatchDeleteTestCases.", + "id": "GoogleCloudDialogflowCxV3beta1BatchDeleteTestCasesRequest", + "properties": { + "names": { + "description": "Required. Format of test case names: `projects//locations/ /agents//testCases/`.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1BatchRunTestCasesMetadata": { + "description": "Metadata returned for the TestCases.BatchRunTestCases long running operation.", + "id": "GoogleCloudDialogflowCxV3beta1BatchRunTestCasesMetadata", + "properties": { + "errors": { + "description": "The test errors.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3beta1TestError" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1BatchRunTestCasesRequest": { + "description": "The request message for TestCases.BatchRunTestCases.", + "id": "GoogleCloudDialogflowCxV3beta1BatchRunTestCasesRequest", + "properties": { + "environment": { + "description": "Optional. If not set, draft environment is assumed. Format: `projects//locations//agents//environments/`.", + "type": "string" + }, + "testCases": { + "description": "Required. Format: `projects//locations//agents//testCases/`.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1BatchRunTestCasesResponse": { + "description": "The response message for TestCases.BatchRunTestCases.", + "id": "GoogleCloudDialogflowCxV3beta1BatchRunTestCasesResponse", + "properties": { + "results": { + "description": "The test case results. The detailed conversation turns are empty in this response.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3beta1TestCaseResult" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1CalculateCoverageResponse": { + "description": "The response message for TestCases.CalculateCoverage.", + "id": "GoogleCloudDialogflowCxV3beta1CalculateCoverageResponse", + "properties": { + "agent": { + "description": "The agent to calculate coverage for. Format: `projects//locations//agents/`.", + "type": "string" + }, + "intentCoverage": { + "$ref": "GoogleCloudDialogflowCxV3beta1IntentCoverage", + "description": "Intent coverage." + }, + "transitionCoverage": { + "$ref": "GoogleCloudDialogflowCxV3beta1TransitionCoverage", + "description": "Transition coverage." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1ConversationTurn": { + "description": "One interaction between a human and virtual agent. The human provides some input and the virtual agent provides a response.", + "id": "GoogleCloudDialogflowCxV3beta1ConversationTurn", + "properties": { + "userInput": { + "$ref": "GoogleCloudDialogflowCxV3beta1ConversationTurnUserInput", + "description": "The user input." + }, + "virtualAgentOutput": { + "$ref": "GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput", + "description": "The virtual agent output." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1ConversationTurnUserInput": { + "description": "The input from the human user.", + "id": "GoogleCloudDialogflowCxV3beta1ConversationTurnUserInput", + "properties": { + "injectedParameters": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "Parameters that need to be injected into the conversation during intent detection.", + "type": "object" + }, + "input": { + "$ref": "GoogleCloudDialogflowCxV3beta1QueryInput", + "description": "Supports text input, event input, dtmf input in the test case." + }, + "isWebhookEnabled": { + "description": "If webhooks should be allowed to trigger in response to the user utterance. Often if parameters are injected, webhooks should not be enabled.", + "type": "boolean" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput": { + "description": "The output from the virtual agent.", + "id": "GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput", + "properties": { + "currentPage": { + "$ref": "GoogleCloudDialogflowCxV3beta1Page", + "description": "The Page on which the utterance was spoken. Only some fields such as name and displayname will be set." + }, + "diagnosticInfo": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "Required. Input only. The diagnostic info output for the turn.", + "type": "object" + }, + "differences": { + "description": "Output only. If this is part of a result conversation turn, the list of differences between the original run and the replay for this output, if any.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3beta1TestRunDifference" + }, + "readOnly": true, + "type": "array" + }, + "sessionParameters": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "The session parameters available to the bot at this point.", + "type": "object" + }, + "status": { + "$ref": "GoogleRpcStatus", + "description": "Response error from the agent in the test result. If set, other output is empty." + }, + "textResponses": { + "description": "The text responses from the agent for the turn.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3beta1ResponseMessageText" + }, + "type": "array" + }, + "triggeredIntent": { + "$ref": "GoogleCloudDialogflowCxV3beta1Intent", + "description": "The Intent that triggered the response. Only some fields such as name and displayname will be set." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1CreateDocumentOperationMetadata": { + "description": "Metadata for CreateDocument operation.", + "id": "GoogleCloudDialogflowCxV3beta1CreateDocumentOperationMetadata", + "properties": { + "genericMetadata": { + "$ref": "GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata", + "description": "The generic information of the operation." + } + }, + "type": "object" + }, "GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata": { "description": "Metadata associated with the long running operation for Versions.CreateVersion.", "id": "GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata", @@ -3192,6 +4751,17 @@ }, "type": "object" }, + "GoogleCloudDialogflowCxV3beta1DeleteDocumentOperationMetadata": { + "description": "Metadata for DeleteDocument operation.", + "id": "GoogleCloudDialogflowCxV3beta1DeleteDocumentOperationMetadata", + "properties": { + "genericMetadata": { + "$ref": "GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata", + "description": "The generic information of the operation." + } + }, + "type": "object" + }, "GoogleCloudDialogflowCxV3beta1DetectIntentRequest": { "description": "The request to detect user's intent.", "id": "GoogleCloudDialogflowCxV3beta1DetectIntentRequest", @@ -3449,6 +5019,57 @@ }, "type": "object" }, + "GoogleCloudDialogflowCxV3beta1ExportTestCasesMetadata": { + "description": "Metadata returned for the TestCases.ExportTestCases long running operation.", + "id": "GoogleCloudDialogflowCxV3beta1ExportTestCasesMetadata", + "properties": {}, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1ExportTestCasesRequest": { + "description": "The request message for TestCases.ExportTestCases.", + "id": "GoogleCloudDialogflowCxV3beta1ExportTestCasesRequest", + "properties": { + "dataFormat": { + "description": "The data format of the exported test cases. If not specified, `BLOB` is assumed.", + "enum": [ + "DATA_FORMAT_UNSPECIFIED", + "BLOB", + "JSON" + ], + "enumDescriptions": [ + "Unspecified format.", + "Raw bytes.", + "JSON format." + ], + "type": "string" + }, + "filter": { + "description": "The filter expression used to filter exported test cases, see [API Filtering](https://aip.dev/160). The expression is case insensitive and supports the following syntax: name = [OR name = ] ... For example: * \"name = t1 OR name = t2\" matches the test case with the exact resource name \"t1\" or \"t2\".", + "type": "string" + }, + "gcsUri": { + "description": "The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to export the test cases to. The format of this URI must be `gs:///`. If unspecified, the serialized test cases is returned inline.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1ExportTestCasesResponse": { + "description": "The response message for TestCases.ExportTestCases.", + "id": "GoogleCloudDialogflowCxV3beta1ExportTestCasesResponse", + "properties": { + "content": { + "description": "Uncompressed raw byte content for test cases.", + "format": "byte", + "type": "string" + }, + "gcsUri": { + "description": "The URI to a file containing the exported test cases. This field is populated only if `gcs_uri` is specified in ExportTestCasesRequest.", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudDialogflowCxV3beta1Flow": { "description": "Flows represents the conversation flows when you build your chatbot agent. A flow consists of many pages connected by the transition routes. Conversations always start with the built-in Start Flow (with an all-0 ID). Transition routes can direct the conversation session from the current flow (parent flow) to another flow (sub flow). When the sub flow is finished, Dialogflow will bring the session back to the parent flow, where the sub flow is started. Usually, when a transition route is followed by a matched intent, the intent will be \"consumed\". This means the intent won't activate more transition routes. However, when the followed transition route moves the conversation session into a different flow, the matched intent can be carried over and to be consumed in the target flow.", "id": "GoogleCloudDialogflowCxV3beta1Flow", @@ -3694,6 +5315,99 @@ }, "type": "object" }, + "GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata": { + "description": "Metadata in google::longrunning::Operation for Knowledge operations.", + "id": "GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata", + "properties": { + "state": { + "description": "Required. Output only. The current state of this operation.", + "enum": [ + "STATE_UNSPECIFIED", + "PENDING", + "RUNNING", + "DONE" + ], + "enumDescriptions": [ + "State unspecified.", + "The operation has been created.", + "The operation is currently running.", + "The operation is done, either cancelled or completed." + ], + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1ImportDocumentsOperationMetadata": { + "description": "Metadata for ImportDocuments operation.", + "id": "GoogleCloudDialogflowCxV3beta1ImportDocumentsOperationMetadata", + "properties": { + "genericMetadata": { + "$ref": "GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata", + "description": "The generic information of the operation." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1ImportDocumentsResponse": { + "description": "Response message for Documents.ImportDocuments.", + "id": "GoogleCloudDialogflowCxV3beta1ImportDocumentsResponse", + "properties": { + "warnings": { + "description": "Includes details about skipped documents or any other warnings.", + "items": { + "$ref": "GoogleRpcStatus" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1ImportTestCasesMetadata": { + "description": "Metadata returned for the TestCases.ImportTestCases long running operation.", + "id": "GoogleCloudDialogflowCxV3beta1ImportTestCasesMetadata", + "properties": { + "errors": { + "description": "Errors for failed test cases.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3beta1TestCaseError" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1ImportTestCasesRequest": { + "description": "The request message for TestCases.ImportTestCases.", + "id": "GoogleCloudDialogflowCxV3beta1ImportTestCasesRequest", + "properties": { + "content": { + "description": "Uncompressed raw byte content for test cases.", + "format": "byte", + "type": "string" + }, + "gcsUri": { + "description": "The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to import test cases from. The format of this URI must be `gs:///`.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1ImportTestCasesResponse": { + "description": "The response message for TestCases.ImportTestCases.", + "id": "GoogleCloudDialogflowCxV3beta1ImportTestCasesResponse", + "properties": { + "names": { + "description": "The unique identifiers of the new test cases. Format: `projects//locations//agents//testCases/`.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, "GoogleCloudDialogflowCxV3beta1InputAudioConfig": { "description": "Instructs the speech recognizer on how to process the audio content.", "id": "GoogleCloudDialogflowCxV3beta1InputAudioConfig", @@ -3814,6 +5528,40 @@ }, "type": "object" }, + "GoogleCloudDialogflowCxV3beta1IntentCoverage": { + "description": "Intent coverage represents the percentage of all possible intents in the agent that are triggered in any of a parent's test cases.", + "id": "GoogleCloudDialogflowCxV3beta1IntentCoverage", + "properties": { + "coverageScore": { + "description": "The percent of intents in the agent that are covered.", + "format": "float", + "type": "number" + }, + "intents": { + "description": "The list of Intents present in the agent", + "items": { + "$ref": "GoogleCloudDialogflowCxV3beta1IntentCoverageIntent" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1IntentCoverageIntent": { + "description": "The agent's intent.", + "id": "GoogleCloudDialogflowCxV3beta1IntentCoverageIntent", + "properties": { + "covered": { + "description": "Whether or not the intent is covered by at least one of the agent's test cases.", + "type": "boolean" + }, + "intent": { + "description": "The intent full resource name", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudDialogflowCxV3beta1IntentInput": { "description": "Represents the intent to trigger programmatically rather than as a result of natural language processing.", "id": "GoogleCloudDialogflowCxV3beta1IntentInput", @@ -4030,6 +5778,42 @@ }, "type": "object" }, + "GoogleCloudDialogflowCxV3beta1ListTestCaseResultsResponse": { + "description": "The response message for TestCases.ListTestCaseResults.", + "id": "GoogleCloudDialogflowCxV3beta1ListTestCaseResultsResponse", + "properties": { + "nextPageToken": { + "description": "Token to retrieve the next page of results, or empty if there are no more results in the list.", + "type": "string" + }, + "testCaseResults": { + "description": "The list of test case results.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3beta1TestCaseResult" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1ListTestCasesResponse": { + "description": "The response message for TestCases.ListTestCases.", + "id": "GoogleCloudDialogflowCxV3beta1ListTestCasesResponse", + "properties": { + "nextPageToken": { + "description": "Token to retrieve the next page of results, or empty if there are no more results in the list.", + "type": "string" + }, + "testCases": { + "description": "The list of test cases. There will be a maximum number of items returned based on the page_size field in the request.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3beta1TestCase" + }, + "type": "array" + } + }, + "type": "object" + }, "GoogleCloudDialogflowCxV3beta1ListTransitionRouteGroupsResponse": { "description": "The response message for TransitionRouteGroups.ListTransitionRouteGroups.", "id": "GoogleCloudDialogflowCxV3beta1ListTransitionRouteGroupsResponse", @@ -4573,6 +6357,17 @@ }, "type": "object" }, + "GoogleCloudDialogflowCxV3beta1ReloadDocumentOperationMetadata": { + "description": "Metadata for ReloadDocument operation.", + "id": "GoogleCloudDialogflowCxV3beta1ReloadDocumentOperationMetadata", + "properties": { + "genericMetadata": { + "$ref": "GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata", + "description": "The generic information of the operation." + } + }, + "type": "object" + }, "GoogleCloudDialogflowCxV3beta1ResponseMessage": { "description": "Represents a response message that can be returned by a conversational agent. Response messages are also used for output audio synthesis. The approach is as follows: * If at least one OutputAudioText response is present, then all OutputAudioText responses are linearly concatenated, and the result is used for output audio synthesis. * If the OutputAudioText responses are a mixture of text and SSML, then the concatenated result is treated as SSML; otherwise, the result is treated as either text or SSML as appropriate. The agent designer should ideally use either text or SSML consistently throughout the bot design. * Otherwise, all Text responses are linearly concatenated, and the result is used for output audio synthesis. This approach allows for more sophisticated user experience scenarios, where the text displayed to the user may differ from what is heard.", "id": "GoogleCloudDialogflowCxV3beta1ResponseMessage", @@ -4760,6 +6555,38 @@ }, "type": "object" }, + "GoogleCloudDialogflowCxV3beta1RunTestCaseMetadata": { + "description": "Metadata returned for the TestCases.RunTestCase long running operation.", + "id": "GoogleCloudDialogflowCxV3beta1RunTestCaseMetadata", + "properties": {}, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1RunTestCaseRequest": { + "description": "The request message for TestCases.RunTestCase.", + "id": "GoogleCloudDialogflowCxV3beta1RunTestCaseRequest", + "properties": { + "environment": { + "description": "Optional. Environment name. If not set, draft environment is assumed. Format: `projects//locations//agents//environments/`.", + "type": "string" + }, + "name": { + "description": "Required. Format of test case name to run: `projects//locations/ /agents//testCases/`.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1RunTestCaseResponse": { + "description": "The response message for TestCases.RunTestCase.", + "id": "GoogleCloudDialogflowCxV3beta1RunTestCaseResponse", + "properties": { + "result": { + "$ref": "GoogleCloudDialogflowCxV3beta1TestCaseResult", + "description": "The result." + } + }, + "type": "object" + }, "GoogleCloudDialogflowCxV3beta1SecuritySettings": { "description": "Represents the settings related to security issues, such as data redaction and data retention. It may take hours for updates on the settings to propagate to all the related components and take effect.", "id": "GoogleCloudDialogflowCxV3beta1SecuritySettings", @@ -4934,6 +6761,176 @@ }, "type": "object" }, + "GoogleCloudDialogflowCxV3beta1TestCase": { + "description": "Represents a test case.", + "id": "GoogleCloudDialogflowCxV3beta1TestCase", + "properties": { + "creationTime": { + "description": "Output only. When the test was created.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "displayName": { + "description": "Required. The human-readable name of the test case, unique within the agent. Limit of 200 characters.", + "type": "string" + }, + "lastTestResult": { + "$ref": "GoogleCloudDialogflowCxV3beta1TestCaseResult", + "description": "The latest test result." + }, + "name": { + "description": "The unique identifier of the test case. TestCases.CreateTestCase will populate the name automatically. Otherwise use format: `projects//locations//agents/ /testCases/`.", + "type": "string" + }, + "notes": { + "description": "Additional freeform notes about the test case. Limit of 400 characters.", + "type": "string" + }, + "tags": { + "description": "Tags are short descriptions that users may apply to test cases for organizational and filtering purposes. Each tag should start with \"#\" and has a limit of 30 characters.", + "items": { + "type": "string" + }, + "type": "array" + }, + "testCaseConversationTurns": { + "description": "The conversation turns uttered when the test case was created, in chronological order. These include the canonical set of agent utterances that should occur when the agent is working properly.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3beta1ConversationTurn" + }, + "type": "array" + }, + "testConfig": { + "$ref": "GoogleCloudDialogflowCxV3beta1TestConfig", + "description": "Config for the test case." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1TestCaseError": { + "description": "Error info for importing a test.", + "id": "GoogleCloudDialogflowCxV3beta1TestCaseError", + "properties": { + "status": { + "$ref": "GoogleRpcStatus", + "description": "The status associated with the test case." + }, + "testCase": { + "$ref": "GoogleCloudDialogflowCxV3beta1TestCase", + "description": "The test case." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1TestCaseResult": { + "description": "Represents a result from running a test case in an agent environment.", + "id": "GoogleCloudDialogflowCxV3beta1TestCaseResult", + "properties": { + "conversationTurns": { + "description": "The conversation turns uttered during the test case replay in chronological order.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3beta1ConversationTurn" + }, + "type": "array" + }, + "environment": { + "description": "Optional. Environment where the test was run. If not set, it indicates the draft environment.", + "type": "string" + }, + "name": { + "description": "The resource name for the test case result. Format: `projects//locations//agents//testCases/ /results/`.", + "type": "string" + }, + "testResult": { + "description": "Whether the test case passed in the agent environment.", + "enum": [ + "TEST_RESULT_UNSPECIFIED", + "PASSED", + "FAILED" + ], + "enumDescriptions": [ + "Not specified. Should never be used.", + "The test passed.", + "The test did not pass." + ], + "type": "string" + }, + "testTime": { + "description": "The time that the test was run.", + "format": "google-datetime", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1TestConfig": { + "description": "Represents configurations for a test case.", + "id": "GoogleCloudDialogflowCxV3beta1TestConfig", + "properties": { + "flow": { + "description": "Flow name. If not set, default start flow is assumed. Format: `projects//locations//agents//flows/`.", + "type": "string" + }, + "trackingParameters": { + "description": "Session parameters to be compared when calculating differences.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1TestError": { + "description": "Error info for running a test.", + "id": "GoogleCloudDialogflowCxV3beta1TestError", + "properties": { + "status": { + "$ref": "GoogleRpcStatus", + "description": "The status associated with the test." + }, + "testCase": { + "description": "The test case resource name.", + "type": "string" + }, + "testTime": { + "description": "The timestamp when the test was completed.", + "format": "google-datetime", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1TestRunDifference": { + "description": "The description of differences between original and replayed agent output.", + "id": "GoogleCloudDialogflowCxV3beta1TestRunDifference", + "properties": { + "description": { + "description": "A description of the diff, showing the actual output vs expected output.", + "type": "string" + }, + "type": { + "description": "The type of diff.", + "enum": [ + "DIFF_TYPE_UNSPECIFIED", + "INTENT", + "PAGE", + "PARAMETERS", + "UTTERANCE" + ], + "enumDescriptions": [ + "Should never be used.", + "The intent.", + "The page.", + "The parameters.", + "The message utterance." + ], + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudDialogflowCxV3beta1TextInput": { "description": "Represents the natural language text to be processed.", "id": "GoogleCloudDialogflowCxV3beta1TextInput", @@ -4951,6 +6948,72 @@ "properties": {}, "type": "object" }, + "GoogleCloudDialogflowCxV3beta1TransitionCoverage": { + "description": "Transition coverage represents the percentage of all possible transitions present within any of a parent's test cases.", + "id": "GoogleCloudDialogflowCxV3beta1TransitionCoverage", + "properties": { + "coverageScore": { + "description": "The percent of transitions in the agent that are covered.", + "format": "float", + "type": "number" + }, + "transitions": { + "description": "The list of Transitions present in the agent.", + "items": { + "$ref": "GoogleCloudDialogflowCxV3beta1TransitionCoverageTransition" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1TransitionCoverageTransition": { + "description": "A transition in the agent's graph.", + "id": "GoogleCloudDialogflowCxV3beta1TransitionCoverageTransition", + "properties": { + "covered": { + "description": "Whether or not the transition is covered by at least one of the agent's test cases.", + "type": "boolean" + }, + "eventHandler": { + "$ref": "GoogleCloudDialogflowCxV3beta1EventHandler", + "description": "Event handler." + }, + "index": { + "description": "The index of a transition in the transition list. Starting from 0.", + "format": "int32", + "type": "integer" + }, + "source": { + "$ref": "GoogleCloudDialogflowCxV3beta1TransitionCoverageTransitionNode", + "description": "The start node of a transition." + }, + "target": { + "$ref": "GoogleCloudDialogflowCxV3beta1TransitionCoverageTransitionNode", + "description": "The end node of a transition." + }, + "transitionRoute": { + "$ref": "GoogleCloudDialogflowCxV3beta1TransitionRoute", + "description": "Intent route or condition route." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1TransitionCoverageTransitionNode": { + "description": "The source or target of a transition.", + "id": "GoogleCloudDialogflowCxV3beta1TransitionCoverageTransitionNode", + "properties": { + "flow": { + "$ref": "GoogleCloudDialogflowCxV3beta1Flow", + "description": "Indicates a transition to a Flow. Only some fields such as name and displayname will be set." + }, + "page": { + "$ref": "GoogleCloudDialogflowCxV3beta1Page", + "description": "Indicates a transition to a Page. Only some fields such as name and displayname will be set." + } + }, + "type": "object" + }, "GoogleCloudDialogflowCxV3beta1TransitionRoute": { "description": "A transition route specifies a intent that can be matched and/or a data condition that can be evaluated during a session. When a specified transition is matched, the following actions are taken in order: * If there is a `trigger_fulfillment` associated with the transition, it will be called. * If there is a `target_page` associated with the transition, the session will transition into the specified page. * If there is a `target_flow` associated with the transition, the session will transition into the specified flow.", "id": "GoogleCloudDialogflowCxV3beta1TransitionRoute", @@ -5005,6 +7068,17 @@ }, "type": "object" }, + "GoogleCloudDialogflowCxV3beta1UpdateDocumentOperationMetadata": { + "description": "Metadata for UpdateDocument operation.", + "id": "GoogleCloudDialogflowCxV3beta1UpdateDocumentOperationMetadata", + "properties": { + "genericMetadata": { + "$ref": "GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata", + "description": "The generic information of the operation." + } + }, + "type": "object" + }, "GoogleCloudDialogflowCxV3beta1Version": { "description": "Represents a version of a flow.", "id": "GoogleCloudDialogflowCxV3beta1Version", @@ -8413,6 +10487,99 @@ }, "type": "object" }, + "GoogleCloudDialogflowV3alpha1CreateDocumentOperationMetadata": { + "description": "Metadata for CreateDocument operation.", + "id": "GoogleCloudDialogflowV3alpha1CreateDocumentOperationMetadata", + "properties": { + "genericMetadata": { + "$ref": "GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata", + "description": "The generic information of the operation." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV3alpha1DeleteDocumentOperationMetadata": { + "description": "Metadata for DeleteDocument operation.", + "id": "GoogleCloudDialogflowV3alpha1DeleteDocumentOperationMetadata", + "properties": { + "genericMetadata": { + "$ref": "GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata", + "description": "The generic information of the operation." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata": { + "description": "Metadata in google::longrunning::Operation for Knowledge operations.", + "id": "GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata", + "properties": { + "state": { + "description": "Required. Output only. The current state of this operation.", + "enum": [ + "STATE_UNSPECIFIED", + "PENDING", + "RUNNING", + "DONE" + ], + "enumDescriptions": [ + "State unspecified.", + "The operation has been created.", + "The operation is currently running.", + "The operation is done, either cancelled or completed." + ], + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV3alpha1ImportDocumentsOperationMetadata": { + "description": "Metadata for ImportDocuments operation.", + "id": "GoogleCloudDialogflowV3alpha1ImportDocumentsOperationMetadata", + "properties": { + "genericMetadata": { + "$ref": "GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata", + "description": "The generic information of the operation." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV3alpha1ImportDocumentsResponse": { + "description": "Response message for Documents.ImportDocuments.", + "id": "GoogleCloudDialogflowV3alpha1ImportDocumentsResponse", + "properties": { + "warnings": { + "description": "Includes details about skipped documents or any other warnings.", + "items": { + "$ref": "GoogleRpcStatus" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV3alpha1ReloadDocumentOperationMetadata": { + "description": "Metadata for ReloadDocument operation.", + "id": "GoogleCloudDialogflowV3alpha1ReloadDocumentOperationMetadata", + "properties": { + "genericMetadata": { + "$ref": "GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata", + "description": "The generic information of the operation." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV3alpha1UpdateDocumentOperationMetadata": { + "description": "Metadata for UpdateDocument operation.", + "id": "GoogleCloudDialogflowV3alpha1UpdateDocumentOperationMetadata", + "properties": { + "genericMetadata": { + "$ref": "GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata", + "description": "The generic information of the operation." + } + }, + "type": "object" + }, "GoogleLongrunningListOperationsResponse": { "description": "The response message for Operations.ListOperations.", "id": "GoogleLongrunningListOperationsResponse", diff --git a/dialogflow/v3beta1/dialogflow-gen.go b/dialogflow/v3beta1/dialogflow-gen.go index b83c5ef9f1d..c93489335e3 100644 --- a/dialogflow/v3beta1/dialogflow-gen.go +++ b/dialogflow/v3beta1/dialogflow-gen.go @@ -185,6 +185,7 @@ func NewProjectsLocationsAgentsService(s *Service) *ProjectsLocationsAgentsServi rs.Flows = NewProjectsLocationsAgentsFlowsService(s) rs.Intents = NewProjectsLocationsAgentsIntentsService(s) rs.Sessions = NewProjectsLocationsAgentsSessionsService(s) + rs.TestCases = NewProjectsLocationsAgentsTestCasesService(s) rs.Webhooks = NewProjectsLocationsAgentsWebhooksService(s) return rs } @@ -202,6 +203,8 @@ type ProjectsLocationsAgentsService struct { Sessions *ProjectsLocationsAgentsSessionsService + TestCases *ProjectsLocationsAgentsTestCasesService + Webhooks *ProjectsLocationsAgentsWebhooksService } @@ -322,6 +325,27 @@ type ProjectsLocationsAgentsSessionsEntityTypesService struct { s *Service } +func NewProjectsLocationsAgentsTestCasesService(s *Service) *ProjectsLocationsAgentsTestCasesService { + rs := &ProjectsLocationsAgentsTestCasesService{s: s} + rs.Results = NewProjectsLocationsAgentsTestCasesResultsService(s) + return rs +} + +type ProjectsLocationsAgentsTestCasesService struct { + s *Service + + Results *ProjectsLocationsAgentsTestCasesResultsService +} + +func NewProjectsLocationsAgentsTestCasesResultsService(s *Service) *ProjectsLocationsAgentsTestCasesResultsService { + rs := &ProjectsLocationsAgentsTestCasesResultsService{s: s} + return rs +} + +type ProjectsLocationsAgentsTestCasesResultsService struct { + s *Service +} + func NewProjectsLocationsAgentsWebhooksService(s *Service) *ProjectsLocationsAgentsWebhooksService { rs := &ProjectsLocationsAgentsWebhooksService{s: s} return rs @@ -358,15 +382,23 @@ type ProjectsOperationsService struct { s *Service } -// GoogleCloudDialogflowCxV3CreateVersionOperationMetadata: Metadata -// associated with the long running operation for -// Versions.CreateVersion. -type GoogleCloudDialogflowCxV3CreateVersionOperationMetadata struct { - // Version: Name of the created version. Format: - // `projects//locations//agents//flows//versions/`. - Version string `json:"version,omitempty"` +// GoogleCloudDialogflowCxV3AudioInput: Represents the natural speech +// audio to be processed. +type GoogleCloudDialogflowCxV3AudioInput struct { + // Audio: The natural language speech audio to be processed. A single + // request can contain up to 1 minute of speech audio data. The + // transcribed text cannot contain more than 256 bytes. For + // non-streaming audio detect intent, both `config` and `audio` must be + // provided. For streaming audio detect intent, `config` must be + // provided in the first request and `audio` must be provided in all + // following requests. + Audio string `json:"audio,omitempty"` - // ForceSendFields is a list of field names (e.g. "Version") to + // Config: Required. Instructs the speech recognizer how to process the + // speech audio. + Config *GoogleCloudDialogflowCxV3InputAudioConfig `json:"config,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Audio") 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 @@ -374,8 +406,8 @@ type GoogleCloudDialogflowCxV3CreateVersionOperationMetadata struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Version") to include in - // API requests with the JSON null value. By default, fields with empty + // NullFields is a list of field names (e.g. "Audio") 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. @@ -383,23 +415,19 @@ type GoogleCloudDialogflowCxV3CreateVersionOperationMetadata struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3CreateVersionOperationMetadata) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3CreateVersionOperationMetadata +func (s *GoogleCloudDialogflowCxV3AudioInput) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3AudioInput raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3ExportAgentResponse: The response message -// for Agents.ExportAgent. -type GoogleCloudDialogflowCxV3ExportAgentResponse struct { - // AgentContent: Uncompressed raw byte content for agent. - AgentContent string `json:"agentContent,omitempty"` - - // AgentUri: The URI to a file containing the exported agent. This field - // is populated only if `agent_uri` is specified in ExportAgentRequest. - AgentUri string `json:"agentUri,omitempty"` +// GoogleCloudDialogflowCxV3BatchRunTestCasesMetadata: Metadata returned +// for the TestCases.BatchRunTestCases long running operation. +type GoogleCloudDialogflowCxV3BatchRunTestCasesMetadata struct { + // Errors: The test errors. + Errors []*GoogleCloudDialogflowCxV3TestError `json:"errors,omitempty"` - // ForceSendFields is a list of field names (e.g. "AgentContent") to + // ForceSendFields is a list of field names (e.g. "Errors") 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 @@ -407,34 +435,29 @@ type GoogleCloudDialogflowCxV3ExportAgentResponse struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "AgentContent") 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 + // NullFields is a list of field names (e.g. "Errors") 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 *GoogleCloudDialogflowCxV3ExportAgentResponse) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3ExportAgentResponse +func (s *GoogleCloudDialogflowCxV3BatchRunTestCasesMetadata) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3BatchRunTestCasesMetadata raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3PageInfo: Represents page information -// communicated to and from the webhook. -type GoogleCloudDialogflowCxV3PageInfo struct { - // CurrentPage: Always present for WebhookRequest. Ignored for - // WebhookResponse. The unique identifier of the current page. Format: - // `projects//locations//agents//flows//pages/`. - CurrentPage string `json:"currentPage,omitempty"` - - // FormInfo: Optional for both WebhookRequest and WebhookResponse. - // Information about the form. - FormInfo *GoogleCloudDialogflowCxV3PageInfoFormInfo `json:"formInfo,omitempty"` +// GoogleCloudDialogflowCxV3BatchRunTestCasesResponse: The response +// message for TestCases.BatchRunTestCases. +type GoogleCloudDialogflowCxV3BatchRunTestCasesResponse struct { + // Results: The test case results. The detailed conversation turns are + // empty in this response. + Results []*GoogleCloudDialogflowCxV3TestCaseResult `json:"results,omitempty"` - // ForceSendFields is a list of field names (e.g. "CurrentPage") to + // 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 @@ -442,30 +465,32 @@ type GoogleCloudDialogflowCxV3PageInfo struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "CurrentPage") 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 + // 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 *GoogleCloudDialogflowCxV3PageInfo) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3PageInfo +func (s *GoogleCloudDialogflowCxV3BatchRunTestCasesResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3BatchRunTestCasesResponse raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3PageInfoFormInfo: Represents form -// information. -type GoogleCloudDialogflowCxV3PageInfoFormInfo struct { - // ParameterInfo: Optional for both WebhookRequest and WebhookResponse. - // The parameters contained in the form. Note that the webhook cannot - // add or remove any form parameter. - ParameterInfo []*GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo `json:"parameterInfo,omitempty"` +// GoogleCloudDialogflowCxV3ConversationTurn: One interaction between a +// human and virtual agent. The human provides some input and the +// virtual agent provides a response. +type GoogleCloudDialogflowCxV3ConversationTurn struct { + // UserInput: The user input. + UserInput *GoogleCloudDialogflowCxV3ConversationTurnUserInput `json:"userInput,omitempty"` - // ForceSendFields is a list of field names (e.g. "ParameterInfo") to + // VirtualAgentOutput: The virtual agent output. + VirtualAgentOutput *GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput `json:"virtualAgentOutput,omitempty"` + + // ForceSendFields is a list of field names (e.g. "UserInput") 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 @@ -473,62 +498,92 @@ type GoogleCloudDialogflowCxV3PageInfoFormInfo struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "ParameterInfo") 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 + // NullFields is a list of field names (e.g. "UserInput") 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 *GoogleCloudDialogflowCxV3PageInfoFormInfo) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3PageInfoFormInfo +func (s *GoogleCloudDialogflowCxV3ConversationTurn) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3ConversationTurn raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo: Represents -// parameter information. -type GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo struct { - // DisplayName: Always present for WebhookRequest. Required for - // WebhookResponse. The human-readable name of the parameter, unique - // within the form. This field cannot be modified by the webhook. - DisplayName string `json:"displayName,omitempty"` +// GoogleCloudDialogflowCxV3ConversationTurnUserInput: The input from +// the human user. +type GoogleCloudDialogflowCxV3ConversationTurnUserInput struct { + // InjectedParameters: Parameters that need to be injected into the + // conversation during intent detection. + InjectedParameters googleapi.RawMessage `json:"injectedParameters,omitempty"` - // JustCollected: Optional for WebhookRequest. Ignored for - // WebhookResponse. Indicates if the parameter value was just collected - // on the last conversation turn. - JustCollected bool `json:"justCollected,omitempty"` + // Input: Supports text input, event input, dtmf input in the test case. + Input *GoogleCloudDialogflowCxV3QueryInput `json:"input,omitempty"` - // Required: Optional for both WebhookRequest and WebhookResponse. - // Indicates whether the parameter is required. Optional parameters will - // not trigger prompts; however, they are filled if the user specifies - // them. Required parameters must be filled before form filling - // concludes. - Required bool `json:"required,omitempty"` + // IsWebhookEnabled: If webhooks should be allowed to trigger in + // response to the user utterance. Often if parameters are injected, + // webhooks should not be enabled. + IsWebhookEnabled bool `json:"isWebhookEnabled,omitempty"` - // State: Always present for WebhookRequest. Required for - // WebhookResponse. The state of the parameter. This field can be set to - // INVALID by the webhook to invalidate the parameter; other values set - // by the webhook will be ignored. - // - // Possible values: - // "PARAMETER_STATE_UNSPECIFIED" - Not specified. This value should be - // never used. - // "EMPTY" - Indicates that the parameter does not have a value. - // "INVALID" - Indicates that the parameter value is invalid. This - // field can be used by the webhook to invalidate the parameter and ask - // the server to collect it from the user again. - // "FILLED" - Indicates that the parameter has a value. - State string `json:"state,omitempty"` + // ForceSendFields is a list of field names (e.g. "InjectedParameters") + // 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:"-"` - // Value: Optional for both WebhookRequest and WebhookResponse. The - // value of the parameter. This field can be set by the webhook to - // change the parameter value. - Value interface{} `json:"value,omitempty"` + // NullFields is a list of field names (e.g. "InjectedParameters") 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:"-"` +} - // ForceSendFields is a list of field names (e.g. "DisplayName") to +func (s *GoogleCloudDialogflowCxV3ConversationTurnUserInput) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3ConversationTurnUserInput + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput: The +// output from the virtual agent. +type GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput struct { + // CurrentPage: The Page on which the utterance was spoken. Only some + // fields such as name and displayname will be set. + CurrentPage *GoogleCloudDialogflowCxV3Page `json:"currentPage,omitempty"` + + // DiagnosticInfo: Required. Input only. The diagnostic info output for + // the turn. + DiagnosticInfo googleapi.RawMessage `json:"diagnosticInfo,omitempty"` + + // Differences: Output only. If this is part of a result conversation + // turn, the list of differences between the original run and the replay + // for this output, if any. + Differences []*GoogleCloudDialogflowCxV3TestRunDifference `json:"differences,omitempty"` + + // SessionParameters: The session parameters available to the bot at + // this point. + SessionParameters googleapi.RawMessage `json:"sessionParameters,omitempty"` + + // Status: Response error from the agent in the test result. If set, + // other output is empty. + Status *GoogleRpcStatus `json:"status,omitempty"` + + // TextResponses: The text responses from the agent for the turn. + TextResponses []*GoogleCloudDialogflowCxV3ResponseMessageText `json:"textResponses,omitempty"` + + // TriggeredIntent: The Intent that triggered the response. Only some + // fields such as name and displayname will be set. + TriggeredIntent *GoogleCloudDialogflowCxV3Intent `json:"triggeredIntent,omitempty"` + + // ForceSendFields is a list of field names (e.g. "CurrentPage") 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 @@ -536,7 +591,7 @@ type GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "DisplayName") to include + // NullFields is a list of field names (e.g. "CurrentPage") 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 @@ -545,73 +600,27 @@ type GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo +func (s *GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3ResponseMessage: Represents a response -// message that can be returned by a conversational agent. Response -// messages are also used for output audio synthesis. The approach is as -// follows: * If at least one OutputAudioText response is present, then -// all OutputAudioText responses are linearly concatenated, and the -// result is used for output audio synthesis. * If the OutputAudioText -// responses are a mixture of text and SSML, then the concatenated -// result is treated as SSML; otherwise, the result is treated as either -// text or SSML as appropriate. The agent designer should ideally use -// either text or SSML consistently throughout the bot design. * -// Otherwise, all Text responses are linearly concatenated, and the -// result is used for output audio synthesis. This approach allows for -// more sophisticated user experience scenarios, where the text -// displayed to the user may differ from what is heard. -type GoogleCloudDialogflowCxV3ResponseMessage struct { - // ConversationSuccess: Indicates that the conversation succeeded. - ConversationSuccess *GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess `json:"conversationSuccess,omitempty"` - - // EndInteraction: Output only. A signal that indicates the interaction - // with the Dialogflow agent has ended. This message is generated by - // Dialogflow only when the conversation reaches `END_SESSION` or - // `END_PAGE` page. It is not supposed to be defined by the user. It's - // guaranteed that there is at most one such message in each response. - EndInteraction *GoogleCloudDialogflowCxV3ResponseMessageEndInteraction `json:"endInteraction,omitempty"` - - // LiveAgentHandoff: Hands off conversation to a human agent. - LiveAgentHandoff *GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff `json:"liveAgentHandoff,omitempty"` - - // MixedAudio: Output only. An audio response message composed of both - // the synthesized Dialogflow agent responses and responses defined via - // play_audio. This message is generated by Dialogflow only and not - // supposed to be defined by the user. - MixedAudio *GoogleCloudDialogflowCxV3ResponseMessageMixedAudio `json:"mixedAudio,omitempty"` - - // OutputAudioText: A text or ssml response that is preferentially used - // for TTS output audio synthesis, as described in the comment on the - // ResponseMessage message. - OutputAudioText *GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText `json:"outputAudioText,omitempty"` - - // Payload: Returns a response containing a custom, platform-specific - // payload. - Payload googleapi.RawMessage `json:"payload,omitempty"` - - // PlayAudio: Signal that the client should play an audio clip hosted at - // a client-specific URI. Dialogflow uses this to construct mixed_audio. - // However, Dialogflow itself does not try to read or process the URI in - // any way. - PlayAudio *GoogleCloudDialogflowCxV3ResponseMessagePlayAudio `json:"playAudio,omitempty"` - - // Text: Returns a text response. - Text *GoogleCloudDialogflowCxV3ResponseMessageText `json:"text,omitempty"` +// GoogleCloudDialogflowCxV3CreateDocumentOperationMetadata: Metadata +// for CreateDocument operation. +type GoogleCloudDialogflowCxV3CreateDocumentOperationMetadata struct { + // GenericMetadata: The generic information of the operation. + GenericMetadata *GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata `json:"genericMetadata,omitempty"` - // ForceSendFields is a list of field names (e.g. "ConversationSuccess") - // to unconditionally include in API requests. By default, fields with + // ForceSendFields is a list of field names (e.g. "GenericMetadata") 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. "ConversationSuccess") to + // NullFields is a list of field names (e.g. "GenericMetadata") 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 @@ -621,29 +630,21 @@ type GoogleCloudDialogflowCxV3ResponseMessage struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3ResponseMessage) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3ResponseMessage +func (s *GoogleCloudDialogflowCxV3CreateDocumentOperationMetadata) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3CreateDocumentOperationMetadata raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess: -// Indicates that the conversation succeeded, i.e., the bot handled the -// issue that the customer talked to it about. Dialogflow only uses this -// to determine which conversations should be counted as successful and -// doesn't process the metadata in this message in any way. Note that -// Dialogflow also considers conversations that get to the conversation -// end page as successful even if they don't return ConversationSuccess. -// You may set this, for example: * In the entry_fulfillment of a Page -// if entering the page indicates that the conversation succeeded. * In -// a webhook response when you determine that you handled the customer -// issue. -type GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess struct { - // Metadata: Custom metadata. Dialogflow doesn't impose any structure on - // this. - Metadata googleapi.RawMessage `json:"metadata,omitempty"` +// GoogleCloudDialogflowCxV3CreateVersionOperationMetadata: Metadata +// associated with the long running operation for +// Versions.CreateVersion. +type GoogleCloudDialogflowCxV3CreateVersionOperationMetadata struct { + // Version: Name of the created version. Format: + // `projects//locations//agents//flows//versions/`. + Version string `json:"version,omitempty"` - // ForceSendFields is a list of field names (e.g. "Metadata") to + // ForceSendFields is a list of field names (e.g. "Version") 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 @@ -651,7 +652,7 @@ type GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Metadata") to include in + // NullFields is a list of field names (e.g. "Version") 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 @@ -660,34 +661,19 @@ type GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess +func (s *GoogleCloudDialogflowCxV3CreateVersionOperationMetadata) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3CreateVersionOperationMetadata raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3ResponseMessageEndInteraction: Indicates -// that interaction with the Dialogflow agent has ended. This message is -// generated by Dialogflow only and not supposed to be defined by the -// user. -type GoogleCloudDialogflowCxV3ResponseMessageEndInteraction struct { -} - -// GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff: Indicates -// that the conversation should be handed off to a live agent. -// Dialogflow only uses this to determine which conversations were -// handed off to a human agent for measurement purposes. What else to do -// with this signal is up to you and your handoff procedures. You may -// set this, for example: * In the entry_fulfillment of a Page if -// entering the page indicates something went extremely wrong in the -// conversation. * In a webhook response when you determine that the -// customer issue can only be handled by a human. -type GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff struct { - // Metadata: Custom metadata for your handoff procedure. Dialogflow - // doesn't impose any structure on this. - Metadata googleapi.RawMessage `json:"metadata,omitempty"` +// GoogleCloudDialogflowCxV3DeleteDocumentOperationMetadata: Metadata +// for DeleteDocument operation. +type GoogleCloudDialogflowCxV3DeleteDocumentOperationMetadata struct { + // GenericMetadata: The generic information of the operation. + GenericMetadata *GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata `json:"genericMetadata,omitempty"` - // ForceSendFields is a list of field names (e.g. "Metadata") to + // ForceSendFields is a list of field names (e.g. "GenericMetadata") 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 @@ -695,32 +681,32 @@ type GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Metadata") 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. "GenericMetadata") 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 *GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff +func (s *GoogleCloudDialogflowCxV3DeleteDocumentOperationMetadata) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3DeleteDocumentOperationMetadata raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3ResponseMessageMixedAudio: Represents an -// audio message that is composed of both segments synthesized from the -// Dialogflow agent prompts and ones hosted externally at the specified -// URIs. The external URIs are specified via play_audio. This message is -// generated by Dialogflow only and not supposed to be defined by the -// user. -type GoogleCloudDialogflowCxV3ResponseMessageMixedAudio struct { - // Segments: Segments this audio response is composed of. - Segments []*GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment `json:"segments,omitempty"` +// GoogleCloudDialogflowCxV3DtmfInput: Represents the input for dtmf +// event. +type GoogleCloudDialogflowCxV3DtmfInput struct { + // Digits: The dtmf digits. + Digits string `json:"digits,omitempty"` - // ForceSendFields is a list of field names (e.g. "Segments") to + // FinishDigit: The finish digit (if any). + FinishDigit string `json:"finishDigit,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Digits") 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 @@ -728,8 +714,8 @@ type GoogleCloudDialogflowCxV3ResponseMessageMixedAudio struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Segments") to include in - // API requests with the JSON null value. By default, fields with empty + // NullFields is a list of field names (e.g. "Digits") 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. @@ -737,185 +723,173 @@ type GoogleCloudDialogflowCxV3ResponseMessageMixedAudio struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3ResponseMessageMixedAudio) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3ResponseMessageMixedAudio +func (s *GoogleCloudDialogflowCxV3DtmfInput) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3DtmfInput raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment: Represents -// one segment of audio. -type GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment struct { - // AllowPlaybackInterruption: Output only. Whether the playback of this - // segment can be interrupted by the end user's speech and the client - // should then start the next Dialogflow request. - AllowPlaybackInterruption bool `json:"allowPlaybackInterruption,omitempty"` +// GoogleCloudDialogflowCxV3EventHandler: An event handler specifies an +// event that can be handled during a session. When the specified event +// happens, the following actions are taken in order: * If there is a +// `trigger_fulfillment` associated with the event, it will be called. * +// If there is a `target_page` associated with the event, the session +// will transition into the specified page. * If there is a +// `target_flow` associated with the event, the session will transition +// into the specified flow. +type GoogleCloudDialogflowCxV3EventHandler struct { + // Event: Required. The name of the event to handle. + Event string `json:"event,omitempty"` - // Audio: Raw audio synthesized from the Dialogflow agent's response - // using the output config specified in the request. - Audio string `json:"audio,omitempty"` + // Name: Output only. The unique identifier of this event handler. + Name string `json:"name,omitempty"` - // Uri: Client-specific URI that points to an audio clip accessible to - // the client. Dialogflow does not impose any validation on it. - Uri string `json:"uri,omitempty"` + // TargetFlow: The target flow to transition to. Format: + // `projects//locations//agents//flows/`. + TargetFlow string `json:"targetFlow,omitempty"` - // ForceSendFields is a list of field names (e.g. - // "AllowPlaybackInterruption") 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. + // TargetPage: The target page to transition to. Format: + // `projects//locations//agents//flows//pages/`. + TargetPage string `json:"targetPage,omitempty"` + + // TriggerFulfillment: The fulfillment to call when the event occurs. + // Handling webhook errors with a fulfillment enabled with webhook could + // cause infinite loop. It is invalid to specify such fulfillment for a + // handler handling webhooks. + TriggerFulfillment *GoogleCloudDialogflowCxV3Fulfillment `json:"triggerFulfillment,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Event") 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. - // "AllowPlaybackInterruption") 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. "Event") 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 *GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment +func (s *GoogleCloudDialogflowCxV3EventHandler) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3EventHandler raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText: A text or -// ssml response that is preferentially used for TTS output audio -// synthesis, as described in the comment on the ResponseMessage -// message. -type GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText struct { - // AllowPlaybackInterruption: Output only. Whether the playback of this - // message can be interrupted by the end user's speech and the client - // can then starts the next Dialogflow request. - AllowPlaybackInterruption bool `json:"allowPlaybackInterruption,omitempty"` - - // Ssml: The SSML text to be synthesized. For more information, see - // [SSML](/speech/text-to-speech/docs/ssml). - Ssml string `json:"ssml,omitempty"` - - // Text: The raw text to be synthesized. - Text string `json:"text,omitempty"` +// GoogleCloudDialogflowCxV3EventInput: Represents the event to trigger. +type GoogleCloudDialogflowCxV3EventInput struct { + // Event: Name of the event. + Event string `json:"event,omitempty"` - // ForceSendFields is a list of field names (e.g. - // "AllowPlaybackInterruption") 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. "Event") 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. - // "AllowPlaybackInterruption") 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. "Event") 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 *GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText +func (s *GoogleCloudDialogflowCxV3EventInput) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3EventInput raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3ResponseMessagePlayAudio: Specifies an audio -// clip to be played by the client as part of the response. -type GoogleCloudDialogflowCxV3ResponseMessagePlayAudio struct { - // AllowPlaybackInterruption: Output only. Whether the playback of this - // message can be interrupted by the end user's speech and the client - // can then starts the next Dialogflow request. - AllowPlaybackInterruption bool `json:"allowPlaybackInterruption,omitempty"` +// GoogleCloudDialogflowCxV3ExportAgentResponse: The response message +// for Agents.ExportAgent. +type GoogleCloudDialogflowCxV3ExportAgentResponse struct { + // AgentContent: Uncompressed raw byte content for agent. + AgentContent string `json:"agentContent,omitempty"` - // AudioUri: Required. URI of the audio clip. Dialogflow does not impose - // any validation on this value. It is specific to the client that reads - // it. - AudioUri string `json:"audioUri,omitempty"` + // AgentUri: The URI to a file containing the exported agent. This field + // is populated only if `agent_uri` is specified in ExportAgentRequest. + AgentUri string `json:"agentUri,omitempty"` - // ForceSendFields is a list of field names (e.g. - // "AllowPlaybackInterruption") 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. "AgentContent") 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. - // "AllowPlaybackInterruption") 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. "AgentContent") 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 *GoogleCloudDialogflowCxV3ResponseMessagePlayAudio) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3ResponseMessagePlayAudio +func (s *GoogleCloudDialogflowCxV3ExportAgentResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3ExportAgentResponse raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3ResponseMessageText: The text response -// message. -type GoogleCloudDialogflowCxV3ResponseMessageText struct { - // AllowPlaybackInterruption: Output only. Whether the playback of this - // message can be interrupted by the end user's speech and the client - // can then starts the next Dialogflow request. - AllowPlaybackInterruption bool `json:"allowPlaybackInterruption,omitempty"` +// GoogleCloudDialogflowCxV3ExportTestCasesMetadata: Metadata returned +// for the TestCases.ExportTestCases long running operation. +type GoogleCloudDialogflowCxV3ExportTestCasesMetadata struct { +} - // Text: Required. A collection of text responses. - Text []string `json:"text,omitempty"` +// GoogleCloudDialogflowCxV3ExportTestCasesResponse: The response +// message for TestCases.ExportTestCases. +type GoogleCloudDialogflowCxV3ExportTestCasesResponse struct { + // Content: Uncompressed raw byte content for test cases. + Content string `json:"content,omitempty"` - // ForceSendFields is a list of field names (e.g. - // "AllowPlaybackInterruption") 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. + // GcsUri: The URI to a file containing the exported test cases. This + // field is populated only if `gcs_uri` is specified in + // ExportTestCasesRequest. + GcsUri string `json:"gcsUri,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Content") 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. - // "AllowPlaybackInterruption") 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. "Content") 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 *GoogleCloudDialogflowCxV3ResponseMessageText) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3ResponseMessageText +func (s *GoogleCloudDialogflowCxV3ExportTestCasesResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3ExportTestCasesResponse raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3SessionInfo: Represents session information -// communicated to and from the webhook. -type GoogleCloudDialogflowCxV3SessionInfo struct { - // Parameters: Optional for WebhookRequest. Optional for - // WebhookResponse. All parameters collected from forms and intents - // during the session. Parameters can be created, updated, or removed by - // the webhook. To remove a parameter from the session, the webhook - // should explicitly set the parameter value to null in WebhookResponse. - // The map is keyed by parameters' display names. - Parameters googleapi.RawMessage `json:"parameters,omitempty"` - - // Session: Always present for WebhookRequest. Ignored for - // WebhookResponse. The unique identifier of the session. This field can - // be used by the webhook to identify a user. Format: - // `projects//locations//agents//sessions/`. - Session string `json:"session,omitempty"` +// GoogleCloudDialogflowCxV3Form: A form is a data model that groups +// related parameters that can be collected from the user. The process +// in which the agent prompts the user and collects parameter values +// from the user is called form filling. A form can be added to a page. +// When form filling is done, the filled parameters will be written to +// the session. +type GoogleCloudDialogflowCxV3Form struct { + // Parameters: Parameters to collect from the user. + Parameters []*GoogleCloudDialogflowCxV3FormParameter `json:"parameters,omitempty"` // ForceSendFields is a list of field names (e.g. "Parameters") to // unconditionally include in API requests. By default, fields with @@ -934,50 +908,114 @@ type GoogleCloudDialogflowCxV3SessionInfo struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3SessionInfo) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3SessionInfo +func (s *GoogleCloudDialogflowCxV3Form) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3Form raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3WebhookRequest: The request message for a -// webhook call. -type GoogleCloudDialogflowCxV3WebhookRequest struct { - // DetectIntentResponseId: Always present. The unique identifier of the - // DetectIntentResponse that will be returned to the API caller. - DetectIntentResponseId string `json:"detectIntentResponseId,omitempty"` +// GoogleCloudDialogflowCxV3FormParameter: Represents a form parameter. +type GoogleCloudDialogflowCxV3FormParameter struct { + // DefaultValue: The default value of an optional parameter. If the + // parameter is required, the default value will be ignored. + DefaultValue interface{} `json:"defaultValue,omitempty"` - // FulfillmentInfo: Always present. Information about the fulfillment - // that triggered this webhook call. - FulfillmentInfo *GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo `json:"fulfillmentInfo,omitempty"` + // DisplayName: Required. The human-readable name of the parameter, + // unique within the form. + DisplayName string `json:"displayName,omitempty"` - // IntentInfo: Information about the last matched intent. - IntentInfo *GoogleCloudDialogflowCxV3WebhookRequestIntentInfo `json:"intentInfo,omitempty"` + // EntityType: Required. The entity type of the parameter. Format: + // `projects/-/locations/-/agents/-/entityTypes/` for system entity + // types (for example, + // `projects/-/locations/-/agents/-/entityTypes/sys.date`), or + // `projects//locations//agents//entityTypes/` for developer entity + // types. + EntityType string `json:"entityType,omitempty"` - // Messages: The list of rich message responses to present to the user. - // Webhook can choose to append or replace this list in - // WebhookResponse.fulfillment_response; - Messages []*GoogleCloudDialogflowCxV3ResponseMessage `json:"messages,omitempty"` + // FillBehavior: Required. Defines fill behavior for the parameter. + FillBehavior *GoogleCloudDialogflowCxV3FormParameterFillBehavior `json:"fillBehavior,omitempty"` - // PageInfo: Information about page status. - PageInfo *GoogleCloudDialogflowCxV3PageInfo `json:"pageInfo,omitempty"` + // IsList: Indicates whether the parameter represents a list of values. + IsList bool `json:"isList,omitempty"` - // Payload: Custom data set in QueryParameters.payload. - Payload googleapi.RawMessage `json:"payload,omitempty"` + // Redact: Indicates whether the parameter content is logged in text and + // audio. If it is set to true, the parameter content will be replaced + // to parameter name in both request and response. The default value is + // false. + Redact bool `json:"redact,omitempty"` - // SessionInfo: Information about session status. - SessionInfo *GoogleCloudDialogflowCxV3SessionInfo `json:"sessionInfo,omitempty"` + // Required: Indicates whether the parameter is required. Optional + // parameters will not trigger prompts; however, they are filled if the + // user specifies them. Required parameters must be filled before form + // filling concludes. + Required bool `json:"required,omitempty"` + + // ForceSendFields is a list of field names (e.g. "DefaultValue") 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. "DefaultValue") 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 *GoogleCloudDialogflowCxV3FormParameter) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3FormParameter + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3FormParameterFillBehavior: Configuration for +// how the filling of a parameter should be handled. +type GoogleCloudDialogflowCxV3FormParameterFillBehavior struct { + // InitialPromptFulfillment: Required. The fulfillment to provide the + // initial prompt that the agent can present to the user in order to + // fill the parameter. + InitialPromptFulfillment *GoogleCloudDialogflowCxV3Fulfillment `json:"initialPromptFulfillment,omitempty"` + + // RepromptEventHandlers: The handlers for parameter-level events, used + // to provide reprompt for the parameter or transition to a different + // page/flow. The supported events are: * `sys.no-match-`, where N can + // be from 1 to 6 * `sys.no-match-default` * `sys.no-input-`, where N + // can be from 1 to 6 * `sys.no-input-default` * `sys.invalid-parameter` + // `initial_prompt_fulfillment` provides the first prompt for the + // parameter. If the user's response does not fill the parameter, a + // no-match/no-input event will be triggered, and the fulfillment + // associated with the `sys.no-match-1`/`sys.no-input-1` handler (if + // defined) will be called to provide a prompt. The + // `sys.no-match-2`/`sys.no-input-2` handler (if defined) will respond + // to the next no-match/no-input event, and so on. A + // `sys.no-match-default` or `sys.no-input-default` handler will be used + // to handle all following no-match/no-input events after all numbered + // no-match/no-input handlers for the parameter are consumed. A + // `sys.invalid-parameter` handler can be defined to handle the case + // where the parameter values have been `invalidated` by webhook. For + // example, if the user's response fill the parameter, however the + // parameter was invalidated by webhook, the fulfillment associated with + // the `sys.invalid-parameter` handler (if defined) will be called to + // provide a prompt. If the event handler for the corresponding event + // can't be found on the parameter, `initial_prompt_fulfillment` will be + // re-prompted. + RepromptEventHandlers []*GoogleCloudDialogflowCxV3EventHandler `json:"repromptEventHandlers,omitempty"` // ForceSendFields is a list of field names (e.g. - // "DetectIntentResponseId") 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 + // "InitialPromptFulfillment") 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. "DetectIntentResponseId") + // NullFields is a list of field names (e.g. "InitialPromptFulfillment") // 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 @@ -987,20 +1025,41 @@ type GoogleCloudDialogflowCxV3WebhookRequest struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3WebhookRequest) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3WebhookRequest +func (s *GoogleCloudDialogflowCxV3FormParameterFillBehavior) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3FormParameterFillBehavior raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo: Represents -// fulfillment information communicated to the webhook. -type GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo struct { - // Tag: Always present. The tag used to identify which fulfillment is - // being called. +// GoogleCloudDialogflowCxV3Fulfillment: A fulfillment can do one or +// more of the following actions at the same time: * Generate rich +// message responses. * Set parameter values. * Call the webhook. +// Fulfillments can be called at various stages in the Page or Form +// lifecycle. For example, when a DetectIntentRequest drives a session +// to enter a new page, the page's entry fulfillment can add a static +// response to the QueryResult in the returning DetectIntentResponse, +// call the webhook (for example, to load user data from a database), or +// both. +type GoogleCloudDialogflowCxV3Fulfillment struct { + // ConditionalCases: Conditional cases for this fulfillment. + ConditionalCases []*GoogleCloudDialogflowCxV3FulfillmentConditionalCases `json:"conditionalCases,omitempty"` + + // Messages: The list of rich message responses to present to the user. + Messages []*GoogleCloudDialogflowCxV3ResponseMessage `json:"messages,omitempty"` + + // SetParameterActions: Set parameter values before executing the + // webhook. + SetParameterActions []*GoogleCloudDialogflowCxV3FulfillmentSetParameterAction `json:"setParameterActions,omitempty"` + + // Tag: The tag used by the webhook to identify which fulfillment is + // being called. This field is required if `webhook` is specified. Tag string `json:"tag,omitempty"` - // ForceSendFields is a list of field names (e.g. "Tag") to + // Webhook: The webhook to call. Format: + // `projects//locations//agents//webhooks/`. + Webhook string `json:"webhook,omitempty"` + + // ForceSendFields is a list of field names (e.g. "ConditionalCases") 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 @@ -1008,71 +1067,67 @@ type GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Tag") 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. "ConditionalCases") 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 *GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo +func (s *GoogleCloudDialogflowCxV3Fulfillment) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3Fulfillment raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3WebhookRequestIntentInfo: Represents intent -// information communicated to the webhook. -type GoogleCloudDialogflowCxV3WebhookRequestIntentInfo struct { - // LastMatchedIntent: Always present. The unique identifier of the last - // matched intent. Format: `projects//locations//agents//intents/`. - LastMatchedIntent string `json:"lastMatchedIntent,omitempty"` - - // Parameters: Parameters identified as a result of intent matching. - // This is a map of the name of the identified parameter to the value of - // the parameter identified from the user's utterance. All parameters - // defined in the matched intent that are identified will be surfaced - // here. - Parameters map[string]GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue `json:"parameters,omitempty"` +// GoogleCloudDialogflowCxV3FulfillmentConditionalCases: A list of +// cascading if-else conditions. Cases are mutually exclusive. The first +// one with a matching condition is selected, all the rest ignored. +type GoogleCloudDialogflowCxV3FulfillmentConditionalCases struct { + // Cases: A list of cascading if-else conditions. + Cases []*GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCase `json:"cases,omitempty"` - // ForceSendFields is a list of field names (e.g. "LastMatchedIntent") - // to unconditionally include in API requests. By default, fields with + // ForceSendFields is a list of field names (e.g. "Cases") 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. "LastMatchedIntent") 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. "Cases") 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 *GoogleCloudDialogflowCxV3WebhookRequestIntentInfo) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3WebhookRequestIntentInfo +func (s *GoogleCloudDialogflowCxV3FulfillmentConditionalCases) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3FulfillmentConditionalCases raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue: -// Represents a value for an intent parameter. -type GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue struct { - // OriginalValue: Always present. Original text value extracted from - // user utterance. - OriginalValue string `json:"originalValue,omitempty"` +// GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCase: Each case +// has a Boolean condition. When it is evaluated to be True, the +// corresponding messages will be selected and evaluated recursively. +type GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCase struct { + // CaseContent: A list of case content. + CaseContent []*GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseCaseContent `json:"caseContent,omitempty"` - // ResolvedValue: Always present. Structured value for the parameter - // extracted from user utterance. - ResolvedValue interface{} `json:"resolvedValue,omitempty"` + // Condition: The condition to activate and select this case. Empty + // means the condition is always true. The condition is evaluated + // against form parameters or session parameters. See the [conditions + // reference](https://cloud.google.com/dialogflow/cx/docs/reference/condi + // tion). + Condition string `json:"condition,omitempty"` - // ForceSendFields is a list of field names (e.g. "OriginalValue") to + // ForceSendFields is a list of field names (e.g. "CaseContent") 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 @@ -1080,7 +1135,7 @@ type GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue struc // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "OriginalValue") to include + // NullFields is a list of field names (e.g. "CaseContent") 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 @@ -1089,49 +1144,30 @@ type GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue struc NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue +func (s *GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCase) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCase raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3WebhookResponse: The response message for a -// webhook call. -type GoogleCloudDialogflowCxV3WebhookResponse struct { - // FulfillmentResponse: The fulfillment response to send to the user. - // This field can be omitted by the webhook if it does not intend to - // send any response to the user. - FulfillmentResponse *GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse `json:"fulfillmentResponse,omitempty"` - - // PageInfo: Information about page status. This field can be omitted by - // the webhook if it does not intend to modify page status. - PageInfo *GoogleCloudDialogflowCxV3PageInfo `json:"pageInfo,omitempty"` - - // Payload: Value to append directly to QueryResult.webhook_payloads. - Payload googleapi.RawMessage `json:"payload,omitempty"` - - // SessionInfo: Information about session status. This field can be - // omitted by the webhook if it does not intend to modify session - // status. - SessionInfo *GoogleCloudDialogflowCxV3SessionInfo `json:"sessionInfo,omitempty"` - - // TargetFlow: The target flow to transition to. Format: - // `projects//locations//agents//flows/`. - TargetFlow string `json:"targetFlow,omitempty"` +// GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseCaseContent: +// The list of messages or conditional cases to activate for this case. +type GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseCaseContent struct { + // AdditionalCases: Additional cases to be evaluated. + AdditionalCases *GoogleCloudDialogflowCxV3FulfillmentConditionalCases `json:"additionalCases,omitempty"` - // TargetPage: The target page to transition to. Format: - // `projects//locations//agents//flows//pages/`. - TargetPage string `json:"targetPage,omitempty"` + // Message: Returned message. + Message *GoogleCloudDialogflowCxV3ResponseMessage `json:"message,omitempty"` - // ForceSendFields is a list of field names (e.g. "FulfillmentResponse") - // to unconditionally include in API requests. By default, fields with + // ForceSendFields is a list of field names (e.g. "AdditionalCases") 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. "FulfillmentResponse") to + // NullFields is a list of field names (e.g. "AdditionalCases") 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 @@ -1141,30 +1177,23 @@ type GoogleCloudDialogflowCxV3WebhookResponse struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3WebhookResponse) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3WebhookResponse +func (s *GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseCaseContent) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseCaseContent raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse: -// Represents a fulfillment response to the user. -type GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse struct { - // MergeBehavior: Merge behavior for `messages`. - // - // Possible values: - // "MERGE_BEHAVIOR_UNSPECIFIED" - Not specified. `APPEND` will be - // used. - // "APPEND" - `messages` will be appended to the list of messages - // waiting to be sent to the user. - // "REPLACE" - `messages` will replace the list of messages waiting to - // be sent to the user. - MergeBehavior string `json:"mergeBehavior,omitempty"` +// GoogleCloudDialogflowCxV3FulfillmentSetParameterAction: Setting a +// parameter value. +type GoogleCloudDialogflowCxV3FulfillmentSetParameterAction struct { + // Parameter: Display name of the parameter. + Parameter string `json:"parameter,omitempty"` - // Messages: The list of rich message responses to present to the user. - Messages []*GoogleCloudDialogflowCxV3ResponseMessage `json:"messages,omitempty"` + // Value: The new value of the parameter. A null value clears the + // parameter. + Value interface{} `json:"value,omitempty"` - // ForceSendFields is a list of field names (e.g. "MergeBehavior") to + // ForceSendFields is a list of field names (e.g. "Parameter") 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 @@ -1172,82 +1201,34 @@ type GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "MergeBehavior") 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 + // NullFields is a list of field names (e.g. "Parameter") 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 *GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse +func (s *GoogleCloudDialogflowCxV3FulfillmentSetParameterAction) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3FulfillmentSetParameterAction raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1Agent: Agents are best described as -// Natural Language Understanding (NLU) modules that transform user -// requests into actionable data. You can include agents in your app, -// product, or service to determine user intent and respond to the user -// in a natural way. After you create an agent, you can add Intents, -// Entity Types, Flows, Fulfillments, Webhooks, and so on to manage the -// conversation flows.. -type GoogleCloudDialogflowCxV3beta1Agent struct { - // AvatarUri: The URI of the agent's avatar. Avatars are used throughout - // the Dialogflow console and in the self-hosted [Web - // Demo](https://cloud.google.com/dialogflow/docs/integrations/web-demo) - // integration. - AvatarUri string `json:"avatarUri,omitempty"` - - // DefaultLanguageCode: Immutable. The default language of the agent as - // a language tag. See [Language - // Support](https://cloud.google.com/dialogflow/docs/reference/language) - // for a list of the currently supported language codes. This field - // cannot be set by the Agents.UpdateAgent method. - DefaultLanguageCode string `json:"defaultLanguageCode,omitempty"` - - // Description: The description of the agent. The maximum length is 500 - // characters. If exceeded, the request is rejected. - Description string `json:"description,omitempty"` - - // DisplayName: Required. The human-readable name of the agent, unique - // within the location. - DisplayName string `json:"displayName,omitempty"` - - // EnableSpellCorrection: Indicates if automatic spell correction is - // enabled in detect intent requests. - EnableSpellCorrection bool `json:"enableSpellCorrection,omitempty"` - - // EnableStackdriverLogging: Indicates if stackdriver logging is enabled - // for the agent. - EnableStackdriverLogging bool `json:"enableStackdriverLogging,omitempty"` - - // Name: The unique identifier of the agent. Required for the - // Agents.UpdateAgent method. Agents.CreateAgent populates the name - // automatically. Format: `projects//locations//agents/`. - Name string `json:"name,omitempty"` - - // SpeechToTextSettings: Speech recognition related settings. - SpeechToTextSettings *GoogleCloudDialogflowCxV3beta1SpeechToTextSettings `json:"speechToTextSettings,omitempty"` - - // StartFlow: Immutable. Name of the start flow in this agent. A start - // flow will be automatically created when the agent is created, and can - // only be deleted by deleting the agent. Format: - // `projects//locations//agents//flows/`. - StartFlow string `json:"startFlow,omitempty"` - - // TimeZone: Required. The time zone of the agent from the [time zone - // database](https://www.iana.org/time-zones), e.g., America/New_York, - // Europe/Paris. - TimeZone string `json:"timeZone,omitempty"` - - // ServerResponse contains the HTTP response code and headers from the - // server. - googleapi.ServerResponse `json:"-"` +// GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata: Metadata +// in google::longrunning::Operation for Knowledge operations. +type GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata struct { + // State: Required. Output only. The current state of this operation. + // + // Possible values: + // "STATE_UNSPECIFIED" - State unspecified. + // "PENDING" - The operation has been created. + // "RUNNING" - The operation is currently running. + // "DONE" - The operation is done, either cancelled or completed. + State string `json:"state,omitempty"` - // ForceSendFields is a list of field names (e.g. "AvatarUri") to + // ForceSendFields is a list of field names (e.g. "State") 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 @@ -1255,8 +1236,8 @@ type GoogleCloudDialogflowCxV3beta1Agent struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "AvatarUri") to include in - // API requests with the JSON null value. By default, fields with empty + // NullFields is a list of field names (e.g. "State") 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. @@ -1264,29 +1245,19 @@ type GoogleCloudDialogflowCxV3beta1Agent struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3beta1Agent) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1Agent +func (s *GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1AudioInput: Represents the natural -// speech audio to be processed. -type GoogleCloudDialogflowCxV3beta1AudioInput struct { - // Audio: The natural language speech audio to be processed. A single - // request can contain up to 1 minute of speech audio data. The - // transcribed text cannot contain more than 256 bytes. For - // non-streaming audio detect intent, both `config` and `audio` must be - // provided. For streaming audio detect intent, `config` must be - // provided in the first request and `audio` must be provided in all - // following requests. - Audio string `json:"audio,omitempty"` - - // Config: Required. Instructs the speech recognizer how to process the - // speech audio. - Config *GoogleCloudDialogflowCxV3beta1InputAudioConfig `json:"config,omitempty"` +// GoogleCloudDialogflowCxV3ImportDocumentsOperationMetadata: Metadata +// for ImportDocuments operation. +type GoogleCloudDialogflowCxV3ImportDocumentsOperationMetadata struct { + // GenericMetadata: The generic information of the operation. + GenericMetadata *GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata `json:"genericMetadata,omitempty"` - // ForceSendFields is a list of field names (e.g. "Audio") to + // ForceSendFields is a list of field names (e.g. "GenericMetadata") 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 @@ -1294,30 +1265,30 @@ type GoogleCloudDialogflowCxV3beta1AudioInput struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Audio") 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. "GenericMetadata") 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 *GoogleCloudDialogflowCxV3beta1AudioInput) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1AudioInput +func (s *GoogleCloudDialogflowCxV3ImportDocumentsOperationMetadata) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3ImportDocumentsOperationMetadata raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata: -// Metadata associated with the long running operation for -// Versions.CreateVersion. -type GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata struct { - // Version: Name of the created version. Format: - // `projects//locations//agents//flows//versions/`. - Version string `json:"version,omitempty"` +// GoogleCloudDialogflowCxV3ImportDocumentsResponse: Response message +// for Documents.ImportDocuments. +type GoogleCloudDialogflowCxV3ImportDocumentsResponse struct { + // Warnings: Includes details about skipped documents or any other + // warnings. + Warnings []*GoogleRpcStatus `json:"warnings,omitempty"` - // ForceSendFields is a list of field names (e.g. "Version") to + // ForceSendFields is a list of field names (e.g. "Warnings") 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 @@ -1325,7 +1296,7 @@ type GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Version") to include in + // NullFields is a list of field names (e.g. "Warnings") 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 @@ -1334,80 +1305,19 @@ type GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// GoogleCloudDialogflowCxV3beta1DetectIntentRequest: The request to -// detect user's intent. -type GoogleCloudDialogflowCxV3beta1DetectIntentRequest struct { - // OutputAudioConfig: Instructs the speech synthesizer how to generate - // the output audio. - OutputAudioConfig *GoogleCloudDialogflowCxV3beta1OutputAudioConfig `json:"outputAudioConfig,omitempty"` - - // QueryInput: Required. The input specification. - QueryInput *GoogleCloudDialogflowCxV3beta1QueryInput `json:"queryInput,omitempty"` - - // QueryParams: The parameters of this query. - QueryParams *GoogleCloudDialogflowCxV3beta1QueryParameters `json:"queryParams,omitempty"` - - // ForceSendFields is a list of field names (e.g. "OutputAudioConfig") - // 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. "OutputAudioConfig") 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 *GoogleCloudDialogflowCxV3beta1DetectIntentRequest) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1DetectIntentRequest +func (s *GoogleCloudDialogflowCxV3ImportDocumentsResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3ImportDocumentsResponse raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1DetectIntentResponse: The message -// returned from the DetectIntent method. -type GoogleCloudDialogflowCxV3beta1DetectIntentResponse struct { - // OutputAudio: The audio data bytes encoded as specified in the - // request. Note: The output audio is generated based on the values of - // default platform text responses found in the - // `query_result.response_messages` field. If multiple default text - // responses exist, they will be concatenated when generating audio. If - // no default platform text responses exist, the generated audio content - // will be empty. In some scenarios, multiple output audio fields may be - // present in the response structure. In these cases, only the - // top-most-level audio output has content. - OutputAudio string `json:"outputAudio,omitempty"` - - // OutputAudioConfig: The config used by the speech synthesizer to - // generate the output audio. - OutputAudioConfig *GoogleCloudDialogflowCxV3beta1OutputAudioConfig `json:"outputAudioConfig,omitempty"` - - // QueryResult: The result of the conversational query. - QueryResult *GoogleCloudDialogflowCxV3beta1QueryResult `json:"queryResult,omitempty"` - - // ResponseId: Output only. The unique identifier of the response. It - // can be used to locate a response in the training example set or for - // reporting issues. - ResponseId string `json:"responseId,omitempty"` - - // ServerResponse contains the HTTP response code and headers from the - // server. - googleapi.ServerResponse `json:"-"` +// GoogleCloudDialogflowCxV3ImportTestCasesMetadata: Metadata returned +// for the TestCases.ImportTestCases long running operation. +type GoogleCloudDialogflowCxV3ImportTestCasesMetadata struct { + // Errors: Errors for failed test cases. + Errors []*GoogleCloudDialogflowCxV3TestCaseError `json:"errors,omitempty"` - // ForceSendFields is a list of field names (e.g. "OutputAudio") to + // ForceSendFields is a list of field names (e.g. "Errors") 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 @@ -1415,31 +1325,29 @@ type GoogleCloudDialogflowCxV3beta1DetectIntentResponse struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "OutputAudio") 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 + // NullFields is a list of field names (e.g. "Errors") 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 *GoogleCloudDialogflowCxV3beta1DetectIntentResponse) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1DetectIntentResponse +func (s *GoogleCloudDialogflowCxV3ImportTestCasesMetadata) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3ImportTestCasesMetadata raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1DtmfInput: Represents the input for -// dtmf event. -type GoogleCloudDialogflowCxV3beta1DtmfInput struct { - // Digits: The dtmf digits. - Digits string `json:"digits,omitempty"` - - // FinishDigit: The finish digit (if any). - FinishDigit string `json:"finishDigit,omitempty"` +// GoogleCloudDialogflowCxV3ImportTestCasesResponse: The response +// message for TestCases.ImportTestCases. +type GoogleCloudDialogflowCxV3ImportTestCasesResponse struct { + // Names: The unique identifiers of the new test cases. Format: + // `projects//locations//agents//testCases/`. + Names []string `json:"names,omitempty"` - // ForceSendFields is a list of field names (e.g. "Digits") to + // 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 @@ -1447,7 +1355,7 @@ type GoogleCloudDialogflowCxV3beta1DtmfInput struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Digits") to include in API + // 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 @@ -1456,130 +1364,197 @@ type GoogleCloudDialogflowCxV3beta1DtmfInput struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3beta1DtmfInput) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1DtmfInput +func (s *GoogleCloudDialogflowCxV3ImportTestCasesResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3ImportTestCasesResponse raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1EntityType: Entities are extracted from -// user input and represent parameters that are meaningful to your -// application. For example, a date range, a proper name such as a -// geographic location or landmark, and so on. Entities represent -// actionable data for your application. When you define an entity, you -// can also include synonyms that all map to that entity. For example, -// "soft drink", "soda", "pop", and so on. There are three types of -// entities: * **System** - entities that are defined by the Dialogflow -// API for common data types such as date, time, currency, and so on. A -// system entity is represented by the `EntityType` type. * **Custom** - -// entities that are defined by you that represent actionable data that -// is meaningful to your application. For example, you could define a -// `pizza.sauce` entity for red or white pizza sauce, a `pizza.cheese` -// entity for the different types of cheese on a pizza, a -// `pizza.topping` entity for different toppings, and so on. A custom -// entity is represented by the `EntityType` type. * **User** - entities -// that are built for an individual user such as favorites, preferences, -// playlists, and so on. A user entity is represented by the -// SessionEntityType type. For more information about entity types, see -// the [Dialogflow -// documentation](https://cloud.google.com/dialogflow/docs/entities-overv -// iew). -type GoogleCloudDialogflowCxV3beta1EntityType struct { - // AutoExpansionMode: Indicates whether the entity type can be - // automatically expanded. +// GoogleCloudDialogflowCxV3InputAudioConfig: Instructs the speech +// recognizer on how to process the audio content. +type GoogleCloudDialogflowCxV3InputAudioConfig struct { + // AudioEncoding: Required. Audio encoding of the audio content to + // process. // // Possible values: - // "AUTO_EXPANSION_MODE_UNSPECIFIED" - Auto expansion disabled for the - // entity. - // "AUTO_EXPANSION_MODE_DEFAULT" - Allows an agent to recognize values - // that have not been explicitly listed in the entity. - AutoExpansionMode string `json:"autoExpansionMode,omitempty"` - - // DisplayName: Required. The human-readable name of the entity type, - // unique within the agent. - DisplayName string `json:"displayName,omitempty"` - - // EnableFuzzyExtraction: Enables fuzzy entity extraction during - // classification. - EnableFuzzyExtraction bool `json:"enableFuzzyExtraction,omitempty"` + // "AUDIO_ENCODING_UNSPECIFIED" - Not specified. + // "AUDIO_ENCODING_LINEAR_16" - Uncompressed 16-bit signed + // little-endian samples (Linear PCM). + // "AUDIO_ENCODING_FLAC" - + // [`FLAC`](https://xiph.org/flac/documentation.html) (Free Lossless + // Audio Codec) is the recommended encoding because it is lossless + // (therefore recognition is not compromised) and requires only about + // half the bandwidth of `LINEAR16`. `FLAC` stream encoding supports + // 16-bit and 24-bit samples, however, not all fields in `STREAMINFO` + // are supported. + // "AUDIO_ENCODING_MULAW" - 8-bit samples that compand 14-bit audio + // samples using G.711 PCMU/mu-law. + // "AUDIO_ENCODING_AMR" - Adaptive Multi-Rate Narrowband codec. + // `sample_rate_hertz` must be 8000. + // "AUDIO_ENCODING_AMR_WB" - Adaptive Multi-Rate Wideband codec. + // `sample_rate_hertz` must be 16000. + // "AUDIO_ENCODING_OGG_OPUS" - Opus encoded audio frames in Ogg + // container ([OggOpus](https://wiki.xiph.org/OggOpus)). + // `sample_rate_hertz` must be 16000. + // "AUDIO_ENCODING_SPEEX_WITH_HEADER_BYTE" - Although the use of lossy + // encodings is not recommended, if a very low bitrate encoding is + // required, `OGG_OPUS` is highly preferred over Speex encoding. The + // [Speex](https://speex.org/) encoding supported by Dialogflow API has + // a header byte in each block, as in MIME type + // `audio/x-speex-with-header-byte`. It is a variant of the RTP Speex + // encoding defined in [RFC 5574](https://tools.ietf.org/html/rfc5574). + // The stream is a sequence of blocks, one block per RTP packet. Each + // block starts with a byte containing the length of the block, in + // bytes, followed by one or more frames of Speex data, padded to an + // integral number of bytes (octets) as specified in RFC 5574. In other + // words, each RTP header is replaced with a single byte containing the + // block length. Only Speex wideband is supported. `sample_rate_hertz` + // must be 16000. + AudioEncoding string `json:"audioEncoding,omitempty"` - // Entities: The collection of entity entries associated with the entity - // type. - Entities []*GoogleCloudDialogflowCxV3beta1EntityTypeEntity `json:"entities,omitempty"` + // EnableWordInfo: Optional. If `true`, Dialogflow returns + // SpeechWordInfo in StreamingRecognitionResult with information about + // the recognized speech words, e.g. start and end time offsets. If + // false or unspecified, Speech doesn't return any word-level + // information. + EnableWordInfo bool `json:"enableWordInfo,omitempty"` - // ExcludedPhrases: Collection of exceptional words and phrases that - // shouldn't be matched. For example, if you have a size entity type - // with entry `giant`(an adjective), you might consider adding - // `giants`(a noun) as an exclusion. If the kind of entity type is - // `KIND_MAP`, then the phrases specified by entities and excluded - // phrases should be mutually exclusive. - ExcludedPhrases []*GoogleCloudDialogflowCxV3beta1EntityTypeExcludedPhrase `json:"excludedPhrases,omitempty"` + // Model: Optional. Which Speech model to select for the given request. + // Select the model best suited to your domain to get best results. If a + // model is not explicitly specified, then we auto-select a model based + // on the parameters in the InputAudioConfig. If enhanced speech model + // is enabled for the agent and an enhanced version of the specified + // model for the language does not exist, then the speech is recognized + // using the standard version of the specified model. Refer to [Cloud + // Speech API + // documentation](https://cloud.google.com/speech-to-text/docs/basics#sel + // ect-model) for more details. + Model string `json:"model,omitempty"` - // Kind: Required. Indicates the kind of entity type. + // ModelVariant: Optional. Which variant of the Speech model to use. // // Possible values: - // "KIND_UNSPECIFIED" - Not specified. This value should be never - // used. - // "KIND_MAP" - Map entity types allow mapping of a group of synonyms - // to a canonical value. - // "KIND_LIST" - List entity types contain a set of entries that do - // not map to canonical values. However, list entity types can contain - // references to other entity types (with or without aliases). - // "KIND_REGEXP" - Regexp entity types allow to specify regular - // expressions in entries values. - Kind string `json:"kind,omitempty"` + // "SPEECH_MODEL_VARIANT_UNSPECIFIED" - No model variant specified. In + // this case Dialogflow defaults to USE_BEST_AVAILABLE. + // "USE_BEST_AVAILABLE" - Use the best available variant of the Speech + // model that the caller is eligible for. Please see the [Dialogflow + // docs](https://cloud.google.com/dialogflow/docs/data-logging) for how + // to make your project eligible for enhanced models. + // "USE_STANDARD" - Use standard model variant even if an enhanced + // model is available. See the [Cloud Speech + // documentation](https://cloud.google.com/speech-to-text/docs/enhanced-m + // odels) for details about enhanced models. + // "USE_ENHANCED" - Use an enhanced model variant: * If an enhanced + // variant does not exist for the given model and request language, + // Dialogflow falls back to the standard variant. The [Cloud Speech + // documentation](https://cloud.google.com/speech-to-text/docs/enhanced-m + // odels) describes which models have enhanced variants. * If the API + // caller isn't eligible for enhanced models, Dialogflow returns an + // error. Please see the [Dialogflow + // docs](https://cloud.google.com/dialogflow/docs/data-logging) for how + // to make your project eligible. + ModelVariant string `json:"modelVariant,omitempty"` - // Name: The unique identifier of the entity type. Required for - // EntityTypes.UpdateEntityType. Format: - // `projects//locations//agents//entityTypes/`. - Name string `json:"name,omitempty"` + // PhraseHints: Optional. A list of strings containing words and phrases + // that the speech recognizer should recognize with higher likelihood. + // See [the Cloud Speech + // documentation](https://cloud.google.com/speech-to-text/docs/basics#phr + // ase-hints) for more details. + PhraseHints []string `json:"phraseHints,omitempty"` - // ServerResponse contains the HTTP response code and headers from the - // server. - googleapi.ServerResponse `json:"-"` + // SampleRateHertz: Sample rate (in Hertz) of the audio content sent in + // the query. Refer to [Cloud Speech API + // documentation](https://cloud.google.com/speech-to-text/docs/basics) + // for more details. + SampleRateHertz int64 `json:"sampleRateHertz,omitempty"` - // ForceSendFields is a list of field names (e.g. "AutoExpansionMode") - // to unconditionally include in API requests. By default, fields with + // SingleUtterance: Optional. If `false` (default), recognition does not + // cease until the client closes the stream. If `true`, the recognizer + // will detect a single spoken utterance in input audio. Recognition + // ceases when it detects the audio's voice has stopped or paused. In + // this case, once a detected intent is received, the client should + // close the stream and start a new request with a new stream as needed. + // Note: This setting is relevant only for streaming methods. + SingleUtterance bool `json:"singleUtterance,omitempty"` + + // ForceSendFields is a list of field names (e.g. "AudioEncoding") 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. "AutoExpansionMode") 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. "AudioEncoding") 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 *GoogleCloudDialogflowCxV3beta1EntityType) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1EntityType +func (s *GoogleCloudDialogflowCxV3InputAudioConfig) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3InputAudioConfig raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1EntityTypeEntity: An **entity entry** -// for an associated entity type. Next Id = 8 -type GoogleCloudDialogflowCxV3beta1EntityTypeEntity struct { - // Synonyms: Required. A collection of value synonyms. For example, if - // the entity type is *vegetable*, and `value` is *scallions*, a synonym - // could be *green onions*. For `KIND_LIST` entity types: * This - // collection must contain exactly one synonym equal to `value`. - Synonyms []string `json:"synonyms,omitempty"` +// GoogleCloudDialogflowCxV3Intent: An intent represents a user's intent +// to interact with a conversational agent. You can provide information +// for the Dialogflow API to use to match user input to an intent by +// adding training phrases (i.e., examples of user input) to your +// intent. +type GoogleCloudDialogflowCxV3Intent struct { + // Description: Optional. Human readable description for better + // understanding an intent like its scope, content, result etc. Maximum + // character limit: 140 characters. + Description string `json:"description,omitempty"` - // Value: Required. The primary value associated with this entity entry. - // For example, if the entity type is *vegetable*, the value could be - // *scallions*. For `KIND_MAP` entity types: * A canonical value to be - // used in place of synonyms. For `KIND_LIST` entity types: * A string - // that can contain references to other entity types (with or without - // aliases). - Value string `json:"value,omitempty"` + // DisplayName: Required. The human-readable name of the intent, unique + // within the agent. + DisplayName string `json:"displayName,omitempty"` - // ForceSendFields is a list of field names (e.g. "Synonyms") to + // IsFallback: Indicates whether this is a fallback intent. Currently + // only default fallback intent is allowed in the agent, which is added + // upon agent creation. Adding training phrases to fallback intent is + // useful in the case of requests that are mistakenly matched, since + // training phrases assigned to fallback intents act as negative + // examples that triggers no-match event. + IsFallback bool `json:"isFallback,omitempty"` + + // Labels: Optional. The key/value metadata to label an intent. Labels + // can contain lowercase letters, digits and the symbols '-' and '_'. + // International characters are allowed, including letters from unicase + // alphabets. Keys must start with a letter. Keys and values can be no + // longer than 63 characters and no more than 128 bytes. Prefix "sys." + // is reserved for Dialogflow defined labels. Currently allowed + // Dialogflow defined labels include: * sys.head * sys.contextual The + // above labels do not require value. "sys.head" means the intent is a + // head intent. "sys.contextual" means the intent is a contextual + // intent. + Labels map[string]string `json:"labels,omitempty"` + + // Name: The unique identifier of the intent. Required for the + // Intents.UpdateIntent method. Intents.CreateIntent populates the name + // automatically. Format: `projects//locations//agents//intents/`. + Name string `json:"name,omitempty"` + + // Parameters: The collection of parameters associated with the intent. + Parameters []*GoogleCloudDialogflowCxV3IntentParameter `json:"parameters,omitempty"` + + // Priority: The priority of this intent. Higher numbers represent + // higher priorities. - If the supplied value is unspecified or 0, the + // service translates the value to 500,000, which corresponds to the + // `Normal` priority in the console. - If the supplied value is + // negative, the intent is ignored in runtime detect intent requests. + Priority int64 `json:"priority,omitempty"` + + // TrainingPhrases: The collection of training phrases the agent is + // trained on to identify the intent. + TrainingPhrases []*GoogleCloudDialogflowCxV3IntentTrainingPhrase `json:"trainingPhrases,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 @@ -1587,28 +1562,30 @@ type GoogleCloudDialogflowCxV3beta1EntityTypeEntity struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Synonyms") 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 + // 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 *GoogleCloudDialogflowCxV3beta1EntityTypeEntity) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1EntityTypeEntity +func (s *GoogleCloudDialogflowCxV3Intent) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3Intent raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1EntityTypeExcludedPhrase: An excluded -// entity phrase that should not be matched. -type GoogleCloudDialogflowCxV3beta1EntityTypeExcludedPhrase struct { - // Value: Required. The word or phrase to be excluded. - Value string `json:"value,omitempty"` +// GoogleCloudDialogflowCxV3IntentInput: Represents the intent to +// trigger programmatically rather than as a result of natural language +// processing. +type GoogleCloudDialogflowCxV3IntentInput struct { + // Intent: Required. The unique identifier of the intent. Format: + // `projects//locations//agents//intents/`. + Intent string `json:"intent,omitempty"` - // ForceSendFields is a list of field names (e.g. "Value") to + // ForceSendFields is a list of field names (e.g. "Intent") 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 @@ -1616,7 +1593,7 @@ type GoogleCloudDialogflowCxV3beta1EntityTypeExcludedPhrase struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Value") to include in API + // NullFields is a list of field names (e.g. "Intent") 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 @@ -1625,48 +1602,37 @@ type GoogleCloudDialogflowCxV3beta1EntityTypeExcludedPhrase struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3beta1EntityTypeExcludedPhrase) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1EntityTypeExcludedPhrase +func (s *GoogleCloudDialogflowCxV3IntentInput) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3IntentInput raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1Environment: Represents an environment -// for an agent. You can create multiple versions of your agent and -// publish them to separate environments. When you edit an agent, you -// are editing the draft agent. At any point, you can save the draft -// agent as an agent version, which is an immutable snapshot of your -// agent. When you save the draft agent, it is published to the default -// environment. When you create agent versions, you can publish them to -// custom environments. You can create a variety of custom environments -// for testing, development, production, etc. -type GoogleCloudDialogflowCxV3beta1Environment struct { - // Description: The human-readable description of the environment. The - // maximum length is 500 characters. If exceeded, the request is - // rejected. - Description string `json:"description,omitempty"` - - // DisplayName: Required. The human-readable name of the environment - // (unique in an agent). Limit of 64 characters. - DisplayName string `json:"displayName,omitempty"` - - // Name: The name of the environment. Format: - // `projects//locations//agents//environments/`. - Name string `json:"name,omitempty"` +// GoogleCloudDialogflowCxV3IntentParameter: Represents an intent +// parameter. +type GoogleCloudDialogflowCxV3IntentParameter struct { + // EntityType: Required. The entity type of the parameter. Format: + // `projects/-/locations/-/agents/-/entityTypes/` for system entity + // types (for example, + // `projects/-/locations/-/agents/-/entityTypes/sys.date`), or + // `projects//locations//agents//entityTypes/` for developer entity + // types. + EntityType string `json:"entityType,omitempty"` - // UpdateTime: Output only. Update time of this environment. - UpdateTime string `json:"updateTime,omitempty"` + // Id: Required. The unique identifier of the parameter. This field is + // used by training phrases to annotate their parts. + Id string `json:"id,omitempty"` - // VersionConfigs: Required. A list of configurations for flow versions. - // You should include version configs for all flows that are reachable - // from `Start Flow` in the agent. Otherwise, an error will be returned. - VersionConfigs []*GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig `json:"versionConfigs,omitempty"` + // IsList: Indicates whether the parameter represents a list of values. + IsList bool `json:"isList,omitempty"` - // ServerResponse contains the HTTP response code and headers from the - // server. - googleapi.ServerResponse `json:"-"` + // Redact: Indicates whether the parameter content is logged in text and + // audio. If it is set to true, the parameter content will be replaced + // to parameter id in both request and response. The default value is + // false. + Redact bool `json:"redact,omitempty"` - // ForceSendFields is a list of field names (e.g. "Description") to + // ForceSendFields is a list of field names (e.g. "EntityType") 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 @@ -1674,29 +1640,47 @@ type GoogleCloudDialogflowCxV3beta1Environment struct { // 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 + // NullFields is a list of field names (e.g. "EntityType") 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 *GoogleCloudDialogflowCxV3beta1Environment) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1Environment +func (s *GoogleCloudDialogflowCxV3IntentParameter) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3IntentParameter raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig: Configuration -// for the version. -type GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig struct { - // Version: Required. Format: - // projects//locations//agents//flows//versions/. - Version string `json:"version,omitempty"` +// GoogleCloudDialogflowCxV3IntentTrainingPhrase: Represents an example +// that the agent is trained on to identify the intent. +type GoogleCloudDialogflowCxV3IntentTrainingPhrase struct { + // Id: Output only. The unique identifier of the training phrase. + Id string `json:"id,omitempty"` - // ForceSendFields is a list of field names (e.g. "Version") to + // Parts: Required. The ordered list of training phrase parts. The parts + // are concatenated in order to form the training phrase. Note: The API + // does not automatically annotate training phrases like the Dialogflow + // Console does. Note: Do not forget to include whitespace at part + // boundaries, so the training phrase is well formatted when the parts + // are concatenated. If the training phrase does not need to be + // annotated with parameters, you just need a single part with only the + // Part.text field set. If you want to annotate the training phrase, you + // must create multiple parts, where the fields of each part are + // populated in one of two ways: - `Part.text` is set to a part of the + // phrase that has no parameters. - `Part.text` is set to a part of the + // phrase that you want to annotate, and the `parameter_id` field is + // set. + Parts []*GoogleCloudDialogflowCxV3IntentTrainingPhrasePart `json:"parts,omitempty"` + + // RepeatCount: Indicates how many times this example was added to the + // intent. + RepeatCount int64 `json:"repeatCount,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Id") 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 @@ -1704,8 +1688,8 @@ type GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Version") to include in - // API requests with the JSON null value. By default, fields with empty + // NullFields is a list of field names (e.g. "Id") 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. @@ -1713,42 +1697,24 @@ type GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig +func (s *GoogleCloudDialogflowCxV3IntentTrainingPhrase) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3IntentTrainingPhrase raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1EventHandler: An event handler -// specifies an event that can be handled during a session. When the -// specified event happens, the following actions are taken in order: * -// If there is a `trigger_fulfillment` associated with the event, it -// will be called. * If there is a `target_page` associated with the -// event, the session will transition into the specified page. * If -// there is a `target_flow` associated with the event, the session will -// transition into the specified flow. -type GoogleCloudDialogflowCxV3beta1EventHandler struct { - // Event: Required. The name of the event to handle. - Event string `json:"event,omitempty"` - - // Name: Output only. The unique identifier of this event handler. - Name string `json:"name,omitempty"` - - // TargetFlow: The target flow to transition to. Format: - // `projects//locations//agents//flows/`. - TargetFlow string `json:"targetFlow,omitempty"` - - // TargetPage: The target page to transition to. Format: - // `projects//locations//agents//flows//pages/`. - TargetPage string `json:"targetPage,omitempty"` +// GoogleCloudDialogflowCxV3IntentTrainingPhrasePart: Represents a part +// of a training phrase. +type GoogleCloudDialogflowCxV3IntentTrainingPhrasePart struct { + // ParameterId: The parameter used to annotate this part of the training + // phrase. This field is required for annotated parts of the training + // phrase. + ParameterId string `json:"parameterId,omitempty"` - // TriggerFulfillment: The fulfillment to call when the event occurs. - // Handling webhook errors with a fulfillment enabled with webhook could - // cause infinite loop. It is invalid to specify such fulfillment for a - // handler handling webhooks. - TriggerFulfillment *GoogleCloudDialogflowCxV3beta1Fulfillment `json:"triggerFulfillment,omitempty"` + // Text: Required. The text for this part. + Text string `json:"text,omitempty"` - // ForceSendFields is a list of field names (e.g. "Event") to + // ForceSendFields is a list of field names (e.g. "ParameterId") 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 @@ -1756,28 +1722,79 @@ type GoogleCloudDialogflowCxV3beta1EventHandler struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Event") 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 + // NullFields is a list of field names (e.g. "ParameterId") 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 *GoogleCloudDialogflowCxV3beta1EventHandler) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1EventHandler +func (s *GoogleCloudDialogflowCxV3IntentTrainingPhrasePart) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3IntentTrainingPhrasePart raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1EventInput: Represents the event to -// trigger. -type GoogleCloudDialogflowCxV3beta1EventInput struct { - // Event: Name of the event. - Event string `json:"event,omitempty"` +// GoogleCloudDialogflowCxV3Page: A Dialogflow CX conversation (session) +// can be described and visualized as a state machine. The states of a +// CX session are represented by pages. For each flow, you define many +// pages, where your combined pages can handle a complete conversation +// on the topics the flow is designed for. At any given moment, exactly +// one page is the current page, the current page is considered active, +// and the flow associated with that page is considered active. Every +// flow has a special start page. When a flow initially becomes active, +// the start page page becomes the current page. For each conversational +// turn, the current page will either stay the same or transition to +// another page. You configure each page to collect information from the +// end-user that is relevant for the conversational state represented by +// the page. For more information, see the [Page +// guide](https://cloud.google.com/dialogflow/cx/docs/concept/page). +type GoogleCloudDialogflowCxV3Page struct { + // DisplayName: Required. The human-readable name of the page, unique + // within the agent. + DisplayName string `json:"displayName,omitempty"` - // ForceSendFields is a list of field names (e.g. "Event") to + // EntryFulfillment: The fulfillment to call when the session is + // entering the page. + EntryFulfillment *GoogleCloudDialogflowCxV3Fulfillment `json:"entryFulfillment,omitempty"` + + // EventHandlers: Handlers associated with the page to handle events + // such as webhook errors, no match or no input. + EventHandlers []*GoogleCloudDialogflowCxV3EventHandler `json:"eventHandlers,omitempty"` + + // Form: The form associated with the page, used for collecting + // parameters relevant to the page. + Form *GoogleCloudDialogflowCxV3Form `json:"form,omitempty"` + + // Name: The unique identifier of the page. Required for the + // Pages.UpdatePage method. Pages.CreatePage populates the name + // automatically. Format: `projects//locations//agents//flows//pages/`. + Name string `json:"name,omitempty"` + + // TransitionRouteGroups: Ordered list of `TransitionRouteGroups` + // associated with the page. Transition route groups must be unique + // within a page. * If multiple transition routes within a page scope + // refer to the same intent, then the precedence order is: page's + // transition route -> page's transition route group -> flow's + // transition routes. * If multiple transition route groups within a + // page contain the same intent, then the first group in the ordered + // list takes precedence. + // Format:`projects//locations//agents//flows//transitionRouteGroups/`. + TransitionRouteGroups []string `json:"transitionRouteGroups,omitempty"` + + // TransitionRoutes: A list of transitions for the transition rules of + // this page. They route the conversation to another page in the same + // flow, or another flow. When we are in a certain page, the + // TransitionRoutes are evalauted in the following order: * + // TransitionRoutes defined in the page with intent specified. * + // TransitionRoutes defined in the transition route groups. * + // TransitionRoutes defined in flow with intent specified. * + // TransitionRoutes defined in the page with only condition specified. + TransitionRoutes []*GoogleCloudDialogflowCxV3TransitionRoute `json:"transitionRoutes,omitempty"` + + // ForceSendFields is a list of field names (e.g. "DisplayName") 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 @@ -1785,31 +1802,34 @@ type GoogleCloudDialogflowCxV3beta1EventInput struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Event") 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 + // NullFields is a list of field names (e.g. "DisplayName") 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 *GoogleCloudDialogflowCxV3beta1EventInput) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1EventInput +func (s *GoogleCloudDialogflowCxV3Page) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3Page raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1ExportAgentRequest: The request message -// for Agents.ExportAgent. -type GoogleCloudDialogflowCxV3beta1ExportAgentRequest struct { - // AgentUri: Optional. The [Google Cloud - // Storage](https://cloud.google.com/storage/docs/) URI to export the - // agent to. The format of this URI must be `gs:///`. If left - // unspecified, the serialized agent is returned inline. - AgentUri string `json:"agentUri,omitempty"` +// GoogleCloudDialogflowCxV3PageInfo: Represents page information +// communicated to and from the webhook. +type GoogleCloudDialogflowCxV3PageInfo struct { + // CurrentPage: Always present for WebhookRequest. Ignored for + // WebhookResponse. The unique identifier of the current page. Format: + // `projects//locations//agents//flows//pages/`. + CurrentPage string `json:"currentPage,omitempty"` - // ForceSendFields is a list of field names (e.g. "AgentUri") to + // FormInfo: Optional for both WebhookRequest and WebhookResponse. + // Information about the form. + FormInfo *GoogleCloudDialogflowCxV3PageInfoFormInfo `json:"formInfo,omitempty"` + + // ForceSendFields is a list of field names (e.g. "CurrentPage") 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 @@ -1817,32 +1837,30 @@ type GoogleCloudDialogflowCxV3beta1ExportAgentRequest struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "AgentUri") 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 + // NullFields is a list of field names (e.g. "CurrentPage") 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 *GoogleCloudDialogflowCxV3beta1ExportAgentRequest) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1ExportAgentRequest +func (s *GoogleCloudDialogflowCxV3PageInfo) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3PageInfo raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1ExportAgentResponse: The response -// message for Agents.ExportAgent. -type GoogleCloudDialogflowCxV3beta1ExportAgentResponse struct { - // AgentContent: Uncompressed raw byte content for agent. - AgentContent string `json:"agentContent,omitempty"` - - // AgentUri: The URI to a file containing the exported agent. This field - // is populated only if `agent_uri` is specified in ExportAgentRequest. - AgentUri string `json:"agentUri,omitempty"` +// GoogleCloudDialogflowCxV3PageInfoFormInfo: Represents form +// information. +type GoogleCloudDialogflowCxV3PageInfoFormInfo struct { + // ParameterInfo: Optional for both WebhookRequest and WebhookResponse. + // The parameters contained in the form. Note that the webhook cannot + // add or remove any form parameter. + ParameterInfo []*GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo `json:"parameterInfo,omitempty"` - // ForceSendFields is a list of field names (e.g. "AgentContent") to + // ForceSendFields is a list of field names (e.g. "ParameterInfo") 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 @@ -1850,7 +1868,7 @@ type GoogleCloudDialogflowCxV3beta1ExportAgentResponse struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "AgentContent") to include + // NullFields is a list of field names (e.g. "ParameterInfo") 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 @@ -1859,68 +1877,53 @@ type GoogleCloudDialogflowCxV3beta1ExportAgentResponse struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3beta1ExportAgentResponse) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1ExportAgentResponse +func (s *GoogleCloudDialogflowCxV3PageInfoFormInfo) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3PageInfoFormInfo raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1Flow: Flows represents the conversation -// flows when you build your chatbot agent. A flow consists of many -// pages connected by the transition routes. Conversations always start -// with the built-in Start Flow (with an all-0 ID). Transition routes -// can direct the conversation session from the current flow (parent -// flow) to another flow (sub flow). When the sub flow is finished, -// Dialogflow will bring the session back to the parent flow, where the -// sub flow is started. Usually, when a transition route is followed by -// a matched intent, the intent will be "consumed". This means the -// intent won't activate more transition routes. However, when the -// followed transition route moves the conversation session into a -// different flow, the matched intent can be carried over and to be -// consumed in the target flow. -type GoogleCloudDialogflowCxV3beta1Flow struct { - // Description: The description of the flow. The maximum length is 500 - // characters. If exceeded, the request is rejected. - Description string `json:"description,omitempty"` - - // DisplayName: Required. The human-readable name of the flow. - DisplayName string `json:"displayName,omitempty"` - - // EventHandlers: A flow's event handlers serve two purposes: * They are - // responsible for handling events (e.g. no match, webhook errors) in - // the flow. * They are inherited by every page's event handlers, which - // can be used to handle common events regardless of the current page. - // Event handlers defined in the page have higher priority than those - // defined in the flow. Unlike transition_routes, these handlers are - // evaluated on a first-match basis. The first one that matches the - // event get executed, with the rest being ignored. - EventHandlers []*GoogleCloudDialogflowCxV3beta1EventHandler `json:"eventHandlers,omitempty"` +// GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo: Represents +// parameter information. +type GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo struct { + // DisplayName: Always present for WebhookRequest. Required for + // WebhookResponse. The human-readable name of the parameter, unique + // within the form. This field cannot be modified by the webhook. + DisplayName string `json:"displayName,omitempty"` - // Name: The unique identifier of the flow. Format: - // `projects//locations//agents//flows/`. - Name string `json:"name,omitempty"` + // JustCollected: Optional for WebhookRequest. Ignored for + // WebhookResponse. Indicates if the parameter value was just collected + // on the last conversation turn. + JustCollected bool `json:"justCollected,omitempty"` - // NluSettings: NLU related settings of the flow. - NluSettings *GoogleCloudDialogflowCxV3beta1NluSettings `json:"nluSettings,omitempty"` + // Required: Optional for both WebhookRequest and WebhookResponse. + // Indicates whether the parameter is required. Optional parameters will + // not trigger prompts; however, they are filled if the user specifies + // them. Required parameters must be filled before form filling + // concludes. + Required bool `json:"required,omitempty"` - // TransitionRoutes: A flow's transition routes serve two purposes: * - // They are responsible for matching the user's first utterances in the - // flow. * They are inherited by every page's transition routes and can - // support use cases such as the user saying "help" or "can I talk to a - // human?", which can be handled in a common way regardless of the - // current page. Transition routes defined in the page have higher - // priority than those defined in the flow. TransitionRoutes are - // evalauted in the following order: * TransitionRoutes with intent - // specified.. * TransitionRoutes with only condition specified. - // TransitionRoutes with intent specified are inherited by pages in the - // flow. - TransitionRoutes []*GoogleCloudDialogflowCxV3beta1TransitionRoute `json:"transitionRoutes,omitempty"` + // State: Always present for WebhookRequest. Required for + // WebhookResponse. The state of the parameter. This field can be set to + // INVALID by the webhook to invalidate the parameter; other values set + // by the webhook will be ignored. + // + // Possible values: + // "PARAMETER_STATE_UNSPECIFIED" - Not specified. This value should be + // never used. + // "EMPTY" - Indicates that the parameter does not have a value. + // "INVALID" - Indicates that the parameter value is invalid. This + // field can be used by the webhook to invalidate the parameter and ask + // the server to collect it from the user again. + // "FILLED" - Indicates that the parameter has a value. + State string `json:"state,omitempty"` - // ServerResponse contains the HTTP response code and headers from the - // server. - googleapi.ServerResponse `json:"-"` + // Value: Optional for both WebhookRequest and WebhookResponse. The + // value of the parameter. This field can be set by the webhook to + // change the parameter value. + Value interface{} `json:"value,omitempty"` - // ForceSendFields is a list of field names (e.g. "Description") to + // ForceSendFields is a list of field names (e.g. "DisplayName") 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 @@ -1928,7 +1931,7 @@ type GoogleCloudDialogflowCxV3beta1Flow struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Description") to include + // NullFields is a list of field names (e.g. "DisplayName") 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 @@ -1937,23 +1940,40 @@ type GoogleCloudDialogflowCxV3beta1Flow struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3beta1Flow) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1Flow +func (s *GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1Form: A form is a data model that -// groups related parameters that can be collected from the user. The -// process in which the agent prompts the user and collects parameter -// values from the user is called form filling. A form can be added to a -// page. When form filling is done, the filled parameters will be -// written to the session. -type GoogleCloudDialogflowCxV3beta1Form struct { - // Parameters: Parameters to collect from the user. - Parameters []*GoogleCloudDialogflowCxV3beta1FormParameter `json:"parameters,omitempty"` +// GoogleCloudDialogflowCxV3QueryInput: Represents the query input. It +// can contain one of: 1. A conversational query in the form of text. 2. +// An intent query that specifies which intent to trigger. 3. Natural +// language speech audio to be processed. 4. An event to be triggered. +type GoogleCloudDialogflowCxV3QueryInput struct { + // Audio: The natural language speech audio to be processed. + Audio *GoogleCloudDialogflowCxV3AudioInput `json:"audio,omitempty"` - // ForceSendFields is a list of field names (e.g. "Parameters") to + // Dtmf: The DTMF event to be handled. + Dtmf *GoogleCloudDialogflowCxV3DtmfInput `json:"dtmf,omitempty"` + + // Event: The event to be triggered. + Event *GoogleCloudDialogflowCxV3EventInput `json:"event,omitempty"` + + // Intent: The intent to be triggered. + Intent *GoogleCloudDialogflowCxV3IntentInput `json:"intent,omitempty"` + + // LanguageCode: Required. The language of the input. See [Language + // Support](https://cloud.google.com/dialogflow/docs/reference/language) + // for a list of the currently supported language codes. Note that + // queries in the same session do not necessarily need to specify the + // same language. + LanguageCode string `json:"languageCode,omitempty"` + + // Text: The natural language text to be processed. + Text *GoogleCloudDialogflowCxV3TextInput `json:"text,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Audio") 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 @@ -1961,8 +1981,8 @@ type GoogleCloudDialogflowCxV3beta1Form struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Parameters") to include in - // API requests with the JSON null value. By default, fields with empty + // NullFields is a list of field names (e.g. "Audio") 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. @@ -1970,50 +1990,135 @@ type GoogleCloudDialogflowCxV3beta1Form struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3beta1Form) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1Form +func (s *GoogleCloudDialogflowCxV3QueryInput) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3QueryInput raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1FormParameter: Represents a form -// parameter. -type GoogleCloudDialogflowCxV3beta1FormParameter struct { - // DefaultValue: The default value of an optional parameter. If the - // parameter is required, the default value will be ignored. - DefaultValue interface{} `json:"defaultValue,omitempty"` +// GoogleCloudDialogflowCxV3ReloadDocumentOperationMetadata: Metadata +// for ReloadDocument operation. +type GoogleCloudDialogflowCxV3ReloadDocumentOperationMetadata struct { + // GenericMetadata: The generic information of the operation. + GenericMetadata *GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata `json:"genericMetadata,omitempty"` - // DisplayName: Required. The human-readable name of the parameter, - // unique within the form. - DisplayName string `json:"displayName,omitempty"` + // ForceSendFields is a list of field names (e.g. "GenericMetadata") 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:"-"` - // EntityType: Required. The entity type of the parameter. Format: - // `projects/-/locations/-/agents/-/entityTypes/` for system entity - // types (for example, - // `projects/-/locations/-/agents/-/entityTypes/sys.date`), or - // `projects//locations//agents//entityTypes/` for developer entity - // types. - EntityType string `json:"entityType,omitempty"` + // NullFields is a list of field names (e.g. "GenericMetadata") 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:"-"` +} - // FillBehavior: Required. Defines fill behavior for the parameter. - FillBehavior *GoogleCloudDialogflowCxV3beta1FormParameterFillBehavior `json:"fillBehavior,omitempty"` +func (s *GoogleCloudDialogflowCxV3ReloadDocumentOperationMetadata) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3ReloadDocumentOperationMetadata + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} - // IsList: Indicates whether the parameter represents a list of values. - IsList bool `json:"isList,omitempty"` +// GoogleCloudDialogflowCxV3ResponseMessage: Represents a response +// message that can be returned by a conversational agent. Response +// messages are also used for output audio synthesis. The approach is as +// follows: * If at least one OutputAudioText response is present, then +// all OutputAudioText responses are linearly concatenated, and the +// result is used for output audio synthesis. * If the OutputAudioText +// responses are a mixture of text and SSML, then the concatenated +// result is treated as SSML; otherwise, the result is treated as either +// text or SSML as appropriate. The agent designer should ideally use +// either text or SSML consistently throughout the bot design. * +// Otherwise, all Text responses are linearly concatenated, and the +// result is used for output audio synthesis. This approach allows for +// more sophisticated user experience scenarios, where the text +// displayed to the user may differ from what is heard. +type GoogleCloudDialogflowCxV3ResponseMessage struct { + // ConversationSuccess: Indicates that the conversation succeeded. + ConversationSuccess *GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess `json:"conversationSuccess,omitempty"` - // Redact: Indicates whether the parameter content is logged in text and - // audio. If it is set to true, the parameter content will be replaced - // to parameter name in both request and response. The default value is - // false. - Redact bool `json:"redact,omitempty"` + // EndInteraction: Output only. A signal that indicates the interaction + // with the Dialogflow agent has ended. This message is generated by + // Dialogflow only when the conversation reaches `END_SESSION` or + // `END_PAGE` page. It is not supposed to be defined by the user. It's + // guaranteed that there is at most one such message in each response. + EndInteraction *GoogleCloudDialogflowCxV3ResponseMessageEndInteraction `json:"endInteraction,omitempty"` - // Required: Indicates whether the parameter is required. Optional - // parameters will not trigger prompts; however, they are filled if the - // user specifies them. Required parameters must be filled before form - // filling concludes. - Required bool `json:"required,omitempty"` + // LiveAgentHandoff: Hands off conversation to a human agent. + LiveAgentHandoff *GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff `json:"liveAgentHandoff,omitempty"` - // ForceSendFields is a list of field names (e.g. "DefaultValue") to + // MixedAudio: Output only. An audio response message composed of both + // the synthesized Dialogflow agent responses and responses defined via + // play_audio. This message is generated by Dialogflow only and not + // supposed to be defined by the user. + MixedAudio *GoogleCloudDialogflowCxV3ResponseMessageMixedAudio `json:"mixedAudio,omitempty"` + + // OutputAudioText: A text or ssml response that is preferentially used + // for TTS output audio synthesis, as described in the comment on the + // ResponseMessage message. + OutputAudioText *GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText `json:"outputAudioText,omitempty"` + + // Payload: Returns a response containing a custom, platform-specific + // payload. + Payload googleapi.RawMessage `json:"payload,omitempty"` + + // PlayAudio: Signal that the client should play an audio clip hosted at + // a client-specific URI. Dialogflow uses this to construct mixed_audio. + // However, Dialogflow itself does not try to read or process the URI in + // any way. + PlayAudio *GoogleCloudDialogflowCxV3ResponseMessagePlayAudio `json:"playAudio,omitempty"` + + // Text: Returns a text response. + Text *GoogleCloudDialogflowCxV3ResponseMessageText `json:"text,omitempty"` + + // ForceSendFields is a list of field names (e.g. "ConversationSuccess") + // 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. "ConversationSuccess") 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 *GoogleCloudDialogflowCxV3ResponseMessage) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3ResponseMessage + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess: +// Indicates that the conversation succeeded, i.e., the bot handled the +// issue that the customer talked to it about. Dialogflow only uses this +// to determine which conversations should be counted as successful and +// doesn't process the metadata in this message in any way. Note that +// Dialogflow also considers conversations that get to the conversation +// end page as successful even if they don't return ConversationSuccess. +// You may set this, for example: * In the entry_fulfillment of a Page +// if entering the page indicates that the conversation succeeded. * In +// a webhook response when you determine that you handled the customer +// issue. +type GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess struct { + // Metadata: Custom metadata. Dialogflow doesn't impose any structure on + // this. + Metadata googleapi.RawMessage `json:"metadata,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Metadata") 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 @@ -2021,94 +2126,76 @@ type GoogleCloudDialogflowCxV3beta1FormParameter struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "DefaultValue") 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 + // NullFields is a list of field names (e.g. "Metadata") 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 *GoogleCloudDialogflowCxV3beta1FormParameter) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1FormParameter +func (s *GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1FormParameterFillBehavior: -// Configuration for how the filling of a parameter should be handled. -type GoogleCloudDialogflowCxV3beta1FormParameterFillBehavior struct { - // InitialPromptFulfillment: Required. The fulfillment to provide the - // initial prompt that the agent can present to the user in order to - // fill the parameter. - InitialPromptFulfillment *GoogleCloudDialogflowCxV3beta1Fulfillment `json:"initialPromptFulfillment,omitempty"` +// GoogleCloudDialogflowCxV3ResponseMessageEndInteraction: Indicates +// that interaction with the Dialogflow agent has ended. This message is +// generated by Dialogflow only and not supposed to be defined by the +// user. +type GoogleCloudDialogflowCxV3ResponseMessageEndInteraction struct { +} - // RepromptEventHandlers: The handlers for parameter-level events, used - // to provide reprompt for the parameter or transition to a different - // page/flow. The supported events are: * `sys.no-match-`, where N can - // be from 1 to 6 * `sys.no-match-default` * `sys.no-input-`, where N - // can be from 1 to 6 * `sys.no-input-default` * `sys.invalid-parameter` - // `initial_prompt_fulfillment` provides the first prompt for the - // parameter. If the user's response does not fill the parameter, a - // no-match/no-input event will be triggered, and the fulfillment - // associated with the `sys.no-match-1`/`sys.no-input-1` handler (if - // defined) will be called to provide a prompt. The - // `sys.no-match-2`/`sys.no-input-2` handler (if defined) will respond - // to the next no-match/no-input event, and so on. A - // `sys.no-match-default` or `sys.no-input-default` handler will be used - // to handle all following no-match/no-input events after all numbered - // no-match/no-input handlers for the parameter are consumed. A - // `sys.invalid-parameter` handler can be defined to handle the case - // where the parameter values have been `invalidated` by webhook. For - // example, if the user's response fill the parameter, however the - // parameter was invalidated by webhook, the fulfillment associated with - // the `sys.invalid-parameter` handler (if defined) will be called to - // provide a prompt. If the event handler for the corresponding event - // can't be found on the parameter, `initial_prompt_fulfillment` will be - // re-prompted. - RepromptEventHandlers []*GoogleCloudDialogflowCxV3beta1EventHandler `json:"repromptEventHandlers,omitempty"` +// GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff: Indicates +// that the conversation should be handed off to a live agent. +// Dialogflow only uses this to determine which conversations were +// handed off to a human agent for measurement purposes. What else to do +// with this signal is up to you and your handoff procedures. You may +// set this, for example: * In the entry_fulfillment of a Page if +// entering the page indicates something went extremely wrong in the +// conversation. * In a webhook response when you determine that the +// customer issue can only be handled by a human. +type GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff struct { + // Metadata: Custom metadata for your handoff procedure. Dialogflow + // doesn't impose any structure on this. + Metadata googleapi.RawMessage `json:"metadata,omitempty"` - // ForceSendFields is a list of field names (e.g. - // "InitialPromptFulfillment") 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. "Metadata") 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. "InitialPromptFulfillment") - // 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. "Metadata") 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 *GoogleCloudDialogflowCxV3beta1FormParameterFillBehavior) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1FormParameterFillBehavior +func (s *GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1FulfillIntentRequest: Request of -// FulfillIntent -type GoogleCloudDialogflowCxV3beta1FulfillIntentRequest struct { - // Match: The matched intent/event to fulfill. - Match *GoogleCloudDialogflowCxV3beta1Match `json:"match,omitempty"` - - // MatchIntentRequest: Must be same as the corresponding MatchIntent - // request, otherwise the behavior is undefined. - MatchIntentRequest *GoogleCloudDialogflowCxV3beta1MatchIntentRequest `json:"matchIntentRequest,omitempty"` - - // OutputAudioConfig: Instructs the speech synthesizer how to generate - // output audio. - OutputAudioConfig *GoogleCloudDialogflowCxV3beta1OutputAudioConfig `json:"outputAudioConfig,omitempty"` +// GoogleCloudDialogflowCxV3ResponseMessageMixedAudio: Represents an +// audio message that is composed of both segments synthesized from the +// Dialogflow agent prompts and ones hosted externally at the specified +// URIs. The external URIs are specified via play_audio. This message is +// generated by Dialogflow only and not supposed to be defined by the +// user. +type GoogleCloudDialogflowCxV3ResponseMessageMixedAudio struct { + // Segments: Segments this audio response is composed of. + Segments []*GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment `json:"segments,omitempty"` - // ForceSendFields is a list of field names (e.g. "Match") to + // ForceSendFields is a list of field names (e.g. "Segments") 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 @@ -2116,8 +2203,8 @@ type GoogleCloudDialogflowCxV3beta1FulfillIntentRequest struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Match") to include in API - // requests with the JSON null value. By default, fields with empty + // NullFields is a list of field names (e.g. "Segments") 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. @@ -2125,125 +2212,181 @@ type GoogleCloudDialogflowCxV3beta1FulfillIntentRequest struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3beta1FulfillIntentRequest) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1FulfillIntentRequest +func (s *GoogleCloudDialogflowCxV3ResponseMessageMixedAudio) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3ResponseMessageMixedAudio raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1FulfillIntentResponse: Response of -// FulfillIntent -type GoogleCloudDialogflowCxV3beta1FulfillIntentResponse struct { - // OutputAudio: The audio data bytes encoded as specified in the - // request. Note: The output audio is generated based on the values of - // default platform text responses found in the - // `query_result.response_messages` field. If multiple default text - // responses exist, they will be concatenated when generating audio. If - // no default platform text responses exist, the generated audio content - // will be empty. In some scenarios, multiple output audio fields may be - // present in the response structure. In these cases, only the - // top-most-level audio output has content. - OutputAudio string `json:"outputAudio,omitempty"` - - // OutputAudioConfig: The config used by the speech synthesizer to - // generate the output audio. - OutputAudioConfig *GoogleCloudDialogflowCxV3beta1OutputAudioConfig `json:"outputAudioConfig,omitempty"` - - // QueryResult: The result of the conversational query. - QueryResult *GoogleCloudDialogflowCxV3beta1QueryResult `json:"queryResult,omitempty"` +// GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment: Represents +// one segment of audio. +type GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment struct { + // AllowPlaybackInterruption: Output only. Whether the playback of this + // segment can be interrupted by the end user's speech and the client + // should then start the next Dialogflow request. + AllowPlaybackInterruption bool `json:"allowPlaybackInterruption,omitempty"` - // ResponseId: Output only. The unique identifier of the response. It - // can be used to locate a response in the training example set or for - // reporting issues. - ResponseId string `json:"responseId,omitempty"` + // Audio: Raw audio synthesized from the Dialogflow agent's response + // using the output config specified in the request. + Audio string `json:"audio,omitempty"` - // ServerResponse contains the HTTP response code and headers from the - // server. - googleapi.ServerResponse `json:"-"` + // Uri: Client-specific URI that points to an audio clip accessible to + // the client. Dialogflow does not impose any validation on it. + Uri string `json:"uri,omitempty"` - // ForceSendFields is a list of field names (e.g. "OutputAudio") 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. + // "AllowPlaybackInterruption") 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. "OutputAudio") 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. + // "AllowPlaybackInterruption") 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 *GoogleCloudDialogflowCxV3beta1FulfillIntentResponse) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1FulfillIntentResponse +func (s *GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1Fulfillment: A fulfillment can do one -// or more of the following actions at the same time: * Generate rich -// message responses. * Set parameter values. * Call the webhook. -// Fulfillments can be called at various stages in the Page or Form -// lifecycle. For example, when a DetectIntentRequest drives a session -// to enter a new page, the page's entry fulfillment can add a static -// response to the QueryResult in the returning DetectIntentResponse, -// call the webhook (for example, to load user data from a database), or -// both. -type GoogleCloudDialogflowCxV3beta1Fulfillment struct { - // ConditionalCases: Conditional cases for this fulfillment. - ConditionalCases []*GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases `json:"conditionalCases,omitempty"` - - // Messages: The list of rich message responses to present to the user. - Messages []*GoogleCloudDialogflowCxV3beta1ResponseMessage `json:"messages,omitempty"` - - // SetParameterActions: Set parameter values before executing the - // webhook. - SetParameterActions []*GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction `json:"setParameterActions,omitempty"` +// GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText: A text or +// ssml response that is preferentially used for TTS output audio +// synthesis, as described in the comment on the ResponseMessage +// message. +type GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText struct { + // AllowPlaybackInterruption: Output only. Whether the playback of this + // message can be interrupted by the end user's speech and the client + // can then starts the next Dialogflow request. + AllowPlaybackInterruption bool `json:"allowPlaybackInterruption,omitempty"` - // Tag: The tag used by the webhook to identify which fulfillment is - // being called. This field is required if `webhook` is specified. - Tag string `json:"tag,omitempty"` + // Ssml: The SSML text to be synthesized. For more information, see + // [SSML](/speech/text-to-speech/docs/ssml). + Ssml string `json:"ssml,omitempty"` - // Webhook: The webhook to call. Format: - // `projects//locations//agents//webhooks/`. - Webhook string `json:"webhook,omitempty"` + // Text: The raw text to be synthesized. + Text string `json:"text,omitempty"` - // ForceSendFields is a list of field names (e.g. "ConditionalCases") 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. + // "AllowPlaybackInterruption") 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. "ConditionalCases") 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. + // "AllowPlaybackInterruption") 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 *GoogleCloudDialogflowCxV3beta1Fulfillment) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1Fulfillment +func (s *GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases: A list of -// cascading if-else conditions. Cases are mutually exclusive. The first -// one with a matching condition is selected, all the rest ignored. -type GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases struct { - // Cases: A list of cascading if-else conditions. - Cases []*GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase `json:"cases,omitempty"` +// GoogleCloudDialogflowCxV3ResponseMessagePlayAudio: Specifies an audio +// clip to be played by the client as part of the response. +type GoogleCloudDialogflowCxV3ResponseMessagePlayAudio struct { + // AllowPlaybackInterruption: Output only. Whether the playback of this + // message can be interrupted by the end user's speech and the client + // can then starts the next Dialogflow request. + AllowPlaybackInterruption bool `json:"allowPlaybackInterruption,omitempty"` - // ForceSendFields is a list of field names (e.g. "Cases") to + // AudioUri: Required. URI of the audio clip. Dialogflow does not impose + // any validation on this value. It is specific to the client that reads + // it. + AudioUri string `json:"audioUri,omitempty"` + + // ForceSendFields is a list of field names (e.g. + // "AllowPlaybackInterruption") 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. + // "AllowPlaybackInterruption") 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 *GoogleCloudDialogflowCxV3ResponseMessagePlayAudio) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3ResponseMessagePlayAudio + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3ResponseMessageText: The text response +// message. +type GoogleCloudDialogflowCxV3ResponseMessageText struct { + // AllowPlaybackInterruption: Output only. Whether the playback of this + // message can be interrupted by the end user's speech and the client + // can then starts the next Dialogflow request. + AllowPlaybackInterruption bool `json:"allowPlaybackInterruption,omitempty"` + + // Text: Required. A collection of text responses. + Text []string `json:"text,omitempty"` + + // ForceSendFields is a list of field names (e.g. + // "AllowPlaybackInterruption") 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. + // "AllowPlaybackInterruption") 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 *GoogleCloudDialogflowCxV3ResponseMessageText) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3ResponseMessageText + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3RunTestCaseMetadata: Metadata returned for +// the TestCases.RunTestCase long running operation. +type GoogleCloudDialogflowCxV3RunTestCaseMetadata struct { +} + +// GoogleCloudDialogflowCxV3RunTestCaseResponse: The response message +// for TestCases.RunTestCase. +type GoogleCloudDialogflowCxV3RunTestCaseResponse struct { + // Result: The result. + Result *GoogleCloudDialogflowCxV3TestCaseResult `json:"result,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Result") 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 @@ -2251,7 +2394,7 @@ type GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Cases") to include in API + // NullFields is a list of field names (e.g. "Result") 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 @@ -2260,27 +2403,30 @@ type GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases +func (s *GoogleCloudDialogflowCxV3RunTestCaseResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3RunTestCaseResponse raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase: Each -// case has a Boolean condition. When it is evaluated to be True, the -// corresponding messages will be selected and evaluated recursively. -type GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase struct { - // CaseContent: A list of case content. - CaseContent []*GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContent `json:"caseContent,omitempty"` +// GoogleCloudDialogflowCxV3SessionInfo: Represents session information +// communicated to and from the webhook. +type GoogleCloudDialogflowCxV3SessionInfo struct { + // Parameters: Optional for WebhookRequest. Optional for + // WebhookResponse. All parameters collected from forms and intents + // during the session. Parameters can be created, updated, or removed by + // the webhook. To remove a parameter from the session, the webhook + // should explicitly set the parameter value to null in WebhookResponse. + // The map is keyed by parameters' display names. + Parameters googleapi.RawMessage `json:"parameters,omitempty"` - // Condition: The condition to activate and select this case. Empty - // means the condition is always true. The condition is evaluated - // against form parameters or session parameters. See the [conditions - // reference](https://cloud.google.com/dialogflow/cx/docs/reference/condi - // tion). - Condition string `json:"condition,omitempty"` + // Session: Always present for WebhookRequest. Ignored for + // WebhookResponse. The unique identifier of the session. This field can + // be used by the webhook to identify a user. Format: + // `projects//locations//agents//sessions/`. + Session string `json:"session,omitempty"` - // ForceSendFields is a list of field names (e.g. "CaseContent") to + // ForceSendFields is a list of field names (e.g. "Parameters") 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 @@ -2288,7 +2434,65 @@ type GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "CaseContent") to include + // NullFields is a list of field names (e.g. "Parameters") 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 *GoogleCloudDialogflowCxV3SessionInfo) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3SessionInfo + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3TestCase: Represents a test case. +type GoogleCloudDialogflowCxV3TestCase struct { + // CreationTime: Output only. When the test was created. + CreationTime string `json:"creationTime,omitempty"` + + // DisplayName: Required. The human-readable name of the test case, + // unique within the agent. Limit of 200 characters. + DisplayName string `json:"displayName,omitempty"` + + // LastTestResult: The latest test result. + LastTestResult *GoogleCloudDialogflowCxV3TestCaseResult `json:"lastTestResult,omitempty"` + + // Name: The unique identifier of the test case. + // TestCases.CreateTestCase will populate the name automatically. + // Otherwise use format: `projects//locations//agents/ /testCases/`. + Name string `json:"name,omitempty"` + + // Notes: Additional freeform notes about the test case. Limit of 400 + // characters. + Notes string `json:"notes,omitempty"` + + // Tags: Tags are short descriptions that users may apply to test cases + // for organizational and filtering purposes. Each tag should start with + // "#" and has a limit of 30 characters. + Tags []string `json:"tags,omitempty"` + + // TestCaseConversationTurns: The conversation turns uttered when the + // test case was created, in chronological order. These include the + // canonical set of agent utterances that should occur when the agent is + // working properly. + TestCaseConversationTurns []*GoogleCloudDialogflowCxV3ConversationTurn `json:"testCaseConversationTurns,omitempty"` + + // TestConfig: Config for the test case. + TestConfig *GoogleCloudDialogflowCxV3TestConfig `json:"testConfig,omitempty"` + + // ForceSendFields is a list of field names (e.g. "CreationTime") 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. "CreationTime") 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 @@ -2297,23 +2501,22 @@ type GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase +func (s *GoogleCloudDialogflowCxV3TestCase) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3TestCase raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseConte -// nt: The list of messages or conditional cases to activate for this -// case. -type GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContent struct { - // AdditionalCases: Additional cases to be evaluated. - AdditionalCases *GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases `json:"additionalCases,omitempty"` +// GoogleCloudDialogflowCxV3TestCaseError: Error info for importing a +// test. +type GoogleCloudDialogflowCxV3TestCaseError struct { + // Status: The status associated with the test case. + Status *GoogleRpcStatus `json:"status,omitempty"` - // Message: Returned message. - Message *GoogleCloudDialogflowCxV3beta1ResponseMessage `json:"message,omitempty"` + // TestCase: The test case. + TestCase *GoogleCloudDialogflowCxV3TestCase `json:"testCase,omitempty"` - // ForceSendFields is a list of field names (e.g. "AdditionalCases") to + // ForceSendFields is a list of field names (e.g. "Status") 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 @@ -2321,7 +2524,56 @@ type GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContent st // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "AdditionalCases") to + // NullFields is a list of field names (e.g. "Status") 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 *GoogleCloudDialogflowCxV3TestCaseError) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3TestCaseError + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3TestCaseResult: Represents a result from +// running a test case in an agent environment. +type GoogleCloudDialogflowCxV3TestCaseResult struct { + // ConversationTurns: The conversation turns uttered during the test + // case replay in chronological order. + ConversationTurns []*GoogleCloudDialogflowCxV3ConversationTurn `json:"conversationTurns,omitempty"` + + // Environment: Optional. Environment where the test was run. If not + // set, it indicates the draft environment. + Environment string `json:"environment,omitempty"` + + // Name: The resource name for the test case result. Format: + // `projects//locations//agents//testCases/ /results/`. + Name string `json:"name,omitempty"` + + // TestResult: Whether the test case passed in the agent environment. + // + // Possible values: + // "TEST_RESULT_UNSPECIFIED" - Not specified. Should never be used. + // "PASSED" - The test passed. + // "FAILED" - The test did not pass. + TestResult string `json:"testResult,omitempty"` + + // TestTime: The time that the test was run. + TestTime string `json:"testTime,omitempty"` + + // ForceSendFields is a list of field names (e.g. "ConversationTurns") + // 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. "ConversationTurns") 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 @@ -2331,23 +2583,24 @@ type GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContent st NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContent) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContent +func (s *GoogleCloudDialogflowCxV3TestCaseResult) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3TestCaseResult raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction: Setting -// a parameter value. -type GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction struct { - // Parameter: Display name of the parameter. - Parameter string `json:"parameter,omitempty"` +// GoogleCloudDialogflowCxV3TestConfig: Represents configurations for a +// test case. +type GoogleCloudDialogflowCxV3TestConfig struct { + // Flow: Flow name. If not set, default start flow is assumed. Format: + // `projects//locations//agents//flows/`. + Flow string `json:"flow,omitempty"` - // Value: The new value of the parameter. A null value clears the - // parameter. - Value interface{} `json:"value,omitempty"` + // TrackingParameters: Session parameters to be compared when + // calculating differences. + TrackingParameters []string `json:"trackingParameters,omitempty"` - // ForceSendFields is a list of field names (e.g. "Parameter") to + // ForceSendFields is a list of field names (e.g. "Flow") 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 @@ -2355,8 +2608,8 @@ type GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Parameter") to include in - // API requests with the JSON null value. By default, fields with empty + // NullFields is a list of field names (e.g. "Flow") 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. @@ -2364,120 +2617,24 @@ type GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction +func (s *GoogleCloudDialogflowCxV3TestConfig) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3TestConfig raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1InputAudioConfig: Instructs the speech -// recognizer on how to process the audio content. -type GoogleCloudDialogflowCxV3beta1InputAudioConfig struct { - // AudioEncoding: Required. Audio encoding of the audio content to - // process. - // - // Possible values: - // "AUDIO_ENCODING_UNSPECIFIED" - Not specified. - // "AUDIO_ENCODING_LINEAR_16" - Uncompressed 16-bit signed - // little-endian samples (Linear PCM). - // "AUDIO_ENCODING_FLAC" - - // [`FLAC`](https://xiph.org/flac/documentation.html) (Free Lossless - // Audio Codec) is the recommended encoding because it is lossless - // (therefore recognition is not compromised) and requires only about - // half the bandwidth of `LINEAR16`. `FLAC` stream encoding supports - // 16-bit and 24-bit samples, however, not all fields in `STREAMINFO` - // are supported. - // "AUDIO_ENCODING_MULAW" - 8-bit samples that compand 14-bit audio - // samples using G.711 PCMU/mu-law. - // "AUDIO_ENCODING_AMR" - Adaptive Multi-Rate Narrowband codec. - // `sample_rate_hertz` must be 8000. - // "AUDIO_ENCODING_AMR_WB" - Adaptive Multi-Rate Wideband codec. - // `sample_rate_hertz` must be 16000. - // "AUDIO_ENCODING_OGG_OPUS" - Opus encoded audio frames in Ogg - // container ([OggOpus](https://wiki.xiph.org/OggOpus)). - // `sample_rate_hertz` must be 16000. - // "AUDIO_ENCODING_SPEEX_WITH_HEADER_BYTE" - Although the use of lossy - // encodings is not recommended, if a very low bitrate encoding is - // required, `OGG_OPUS` is highly preferred over Speex encoding. The - // [Speex](https://speex.org/) encoding supported by Dialogflow API has - // a header byte in each block, as in MIME type - // `audio/x-speex-with-header-byte`. It is a variant of the RTP Speex - // encoding defined in [RFC 5574](https://tools.ietf.org/html/rfc5574). - // The stream is a sequence of blocks, one block per RTP packet. Each - // block starts with a byte containing the length of the block, in - // bytes, followed by one or more frames of Speex data, padded to an - // integral number of bytes (octets) as specified in RFC 5574. In other - // words, each RTP header is replaced with a single byte containing the - // block length. Only Speex wideband is supported. `sample_rate_hertz` - // must be 16000. - AudioEncoding string `json:"audioEncoding,omitempty"` +// GoogleCloudDialogflowCxV3TestError: Error info for running a test. +type GoogleCloudDialogflowCxV3TestError struct { + // Status: The status associated with the test. + Status *GoogleRpcStatus `json:"status,omitempty"` - // EnableWordInfo: Optional. If `true`, Dialogflow returns - // SpeechWordInfo in StreamingRecognitionResult with information about - // the recognized speech words, e.g. start and end time offsets. If - // false or unspecified, Speech doesn't return any word-level - // information. - EnableWordInfo bool `json:"enableWordInfo,omitempty"` + // TestCase: The test case resource name. + TestCase string `json:"testCase,omitempty"` - // Model: Optional. Which Speech model to select for the given request. - // Select the model best suited to your domain to get best results. If a - // model is not explicitly specified, then we auto-select a model based - // on the parameters in the InputAudioConfig. If enhanced speech model - // is enabled for the agent and an enhanced version of the specified - // model for the language does not exist, then the speech is recognized - // using the standard version of the specified model. Refer to [Cloud - // Speech API - // documentation](https://cloud.google.com/speech-to-text/docs/basics#sel - // ect-model) for more details. - Model string `json:"model,omitempty"` - - // ModelVariant: Optional. Which variant of the Speech model to use. - // - // Possible values: - // "SPEECH_MODEL_VARIANT_UNSPECIFIED" - No model variant specified. In - // this case Dialogflow defaults to USE_BEST_AVAILABLE. - // "USE_BEST_AVAILABLE" - Use the best available variant of the Speech - // model that the caller is eligible for. Please see the [Dialogflow - // docs](https://cloud.google.com/dialogflow/docs/data-logging) for how - // to make your project eligible for enhanced models. - // "USE_STANDARD" - Use standard model variant even if an enhanced - // model is available. See the [Cloud Speech - // documentation](https://cloud.google.com/speech-to-text/docs/enhanced-m - // odels) for details about enhanced models. - // "USE_ENHANCED" - Use an enhanced model variant: * If an enhanced - // variant does not exist for the given model and request language, - // Dialogflow falls back to the standard variant. The [Cloud Speech - // documentation](https://cloud.google.com/speech-to-text/docs/enhanced-m - // odels) describes which models have enhanced variants. * If the API - // caller isn't eligible for enhanced models, Dialogflow returns an - // error. Please see the [Dialogflow - // docs](https://cloud.google.com/dialogflow/docs/data-logging) for how - // to make your project eligible. - ModelVariant string `json:"modelVariant,omitempty"` - - // PhraseHints: Optional. A list of strings containing words and phrases - // that the speech recognizer should recognize with higher likelihood. - // See [the Cloud Speech - // documentation](https://cloud.google.com/speech-to-text/docs/basics#phr - // ase-hints) for more details. - PhraseHints []string `json:"phraseHints,omitempty"` + // TestTime: The timestamp when the test was completed. + TestTime string `json:"testTime,omitempty"` - // SampleRateHertz: Sample rate (in Hertz) of the audio content sent in - // the query. Refer to [Cloud Speech API - // documentation](https://cloud.google.com/speech-to-text/docs/basics) - // for more details. - SampleRateHertz int64 `json:"sampleRateHertz,omitempty"` - - // SingleUtterance: Optional. If `false` (default), recognition does not - // cease until the client closes the stream. If `true`, the recognizer - // will detect a single spoken utterance in input audio. Recognition - // ceases when it detects the audio's voice has stopped or paused. In - // this case, once a detected intent is received, the client should - // close the stream and start a new request with a new stream as needed. - // Note: This setting is relevant only for streaming methods. - SingleUtterance bool `json:"singleUtterance,omitempty"` - - // ForceSendFields is a list of field names (e.g. "AudioEncoding") to + // ForceSendFields is a list of field names (e.g. "Status") 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 @@ -2485,78 +2642,37 @@ type GoogleCloudDialogflowCxV3beta1InputAudioConfig struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "AudioEncoding") 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 + // NullFields is a list of field names (e.g. "Status") 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 *GoogleCloudDialogflowCxV3beta1InputAudioConfig) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1InputAudioConfig +func (s *GoogleCloudDialogflowCxV3TestError) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3TestError raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1Intent: An intent represents a user's -// intent to interact with a conversational agent. You can provide -// information for the Dialogflow API to use to match user input to an -// intent by adding training phrases (i.e., examples of user input) to -// your intent. -type GoogleCloudDialogflowCxV3beta1Intent struct { - // Description: Optional. Human readable description for better - // understanding an intent like its scope, content, result etc. Maximum - // character limit: 140 characters. +// GoogleCloudDialogflowCxV3TestRunDifference: The description of +// differences between original and replayed agent output. +type GoogleCloudDialogflowCxV3TestRunDifference struct { + // Description: A description of the diff, showing the actual output vs + // expected output. Description string `json:"description,omitempty"` - // DisplayName: Required. The human-readable name of the intent, unique - // within the agent. - DisplayName string `json:"displayName,omitempty"` - - // IsFallback: Indicates whether this is a fallback intent. Currently - // only default fallback intent is allowed in the agent, which is added - // upon agent creation. Adding training phrases to fallback intent is - // useful in the case of requests that are mistakenly matched, since - // training phrases assigned to fallback intents act as negative - // examples that triggers no-match event. - IsFallback bool `json:"isFallback,omitempty"` - - // Labels: Optional. The key/value metadata to label an intent. Labels - // can contain lowercase letters, digits and the symbols '-' and '_'. - // International characters are allowed, including letters from unicase - // alphabets. Keys must start with a letter. Keys and values can be no - // longer than 63 characters and no more than 128 bytes. Prefix "sys-" - // is reserved for Dialogflow defined labels. Currently allowed - // Dialogflow defined labels include: * sys-head * sys-contextual The - // above labels do not require value. "sys-head" means the intent is a - // head intent. "sys-contextual" means the intent is a contextual - // intent. - Labels map[string]string `json:"labels,omitempty"` - - // Name: The unique identifier of the intent. Required for the - // Intents.UpdateIntent method. Intents.CreateIntent populates the name - // automatically. Format: `projects//locations//agents//intents/`. - Name string `json:"name,omitempty"` - - // Parameters: The collection of parameters associated with the intent. - Parameters []*GoogleCloudDialogflowCxV3beta1IntentParameter `json:"parameters,omitempty"` - - // Priority: The priority of this intent. Higher numbers represent - // higher priorities. - If the supplied value is unspecified or 0, the - // service translates the value to 500,000, which corresponds to the - // `Normal` priority in the console. - If the supplied value is - // negative, the intent is ignored in runtime detect intent requests. - Priority int64 `json:"priority,omitempty"` - - // TrainingPhrases: The collection of training phrases the agent is - // trained on to identify the intent. - TrainingPhrases []*GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase `json:"trainingPhrases,omitempty"` - - // ServerResponse contains the HTTP response code and headers from the - // server. - googleapi.ServerResponse `json:"-"` + // Type: The type of diff. + // + // Possible values: + // "DIFF_TYPE_UNSPECIFIED" - Should never be used. + // "INTENT" - The intent. + // "PAGE" - The page. + // "PARAMETERS" - The parameters. + // "UTTERANCE" - The message utterance. + Type string `json:"type,omitempty"` // ForceSendFields is a list of field names (e.g. "Description") to // unconditionally include in API requests. By default, fields with @@ -2575,21 +2691,20 @@ type GoogleCloudDialogflowCxV3beta1Intent struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3beta1Intent) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1Intent +func (s *GoogleCloudDialogflowCxV3TestRunDifference) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3TestRunDifference raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1IntentInput: Represents the intent to -// trigger programmatically rather than as a result of natural language -// processing. -type GoogleCloudDialogflowCxV3beta1IntentInput struct { - // Intent: Required. The unique identifier of the intent. Format: - // `projects//locations//agents//intents/`. - Intent string `json:"intent,omitempty"` +// GoogleCloudDialogflowCxV3TextInput: Represents the natural language +// text to be processed. +type GoogleCloudDialogflowCxV3TextInput struct { + // Text: Required. The UTF-8 encoded natural language text to be + // processed. Text length must not exceed 256 characters. + Text string `json:"text,omitempty"` - // ForceSendFields is a list of field names (e.g. "Intent") to + // ForceSendFields is a list of field names (e.g. "Text") 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 @@ -2597,7 +2712,7 @@ type GoogleCloudDialogflowCxV3beta1IntentInput struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Intent") to include in API + // NullFields is a list of field names (e.g. "Text") 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 @@ -2606,37 +2721,56 @@ type GoogleCloudDialogflowCxV3beta1IntentInput struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3beta1IntentInput) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1IntentInput +func (s *GoogleCloudDialogflowCxV3TextInput) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3TextInput raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1IntentParameter: Represents an intent -// parameter. -type GoogleCloudDialogflowCxV3beta1IntentParameter struct { - // EntityType: Required. The entity type of the parameter. Format: - // `projects/-/locations/-/agents/-/entityTypes/` for system entity - // types (for example, - // `projects/-/locations/-/agents/-/entityTypes/sys.date`), or - // `projects//locations//agents//entityTypes/` for developer entity - // types. - EntityType string `json:"entityType,omitempty"` +// GoogleCloudDialogflowCxV3TransitionRoute: A transition route +// specifies a intent that can be matched and/or a data condition that +// can be evaluated during a session. When a specified transition is +// matched, the following actions are taken in order: * If there is a +// `trigger_fulfillment` associated with the transition, it will be +// called. * If there is a `target_page` associated with the transition, +// the session will transition into the specified page. * If there is a +// `target_flow` associated with the transition, the session will +// transition into the specified flow. +type GoogleCloudDialogflowCxV3TransitionRoute struct { + // Condition: The condition to evaluate against form parameters or + // session parameters. See the [conditions + // reference](https://cloud.google.com/dialogflow/cx/docs/reference/condi + // tion). At least one of `intent` or `condition` must be specified. + // When both `intent` and `condition` are specified, the transition can + // only happen when both are fulfilled. + Condition string `json:"condition,omitempty"` - // Id: Required. The unique identifier of the parameter. This field is - // used by training phrases to annotate their parts. - Id string `json:"id,omitempty"` + // Intent: The unique identifier of an Intent. Format: + // `projects//locations//agents//intents/`. Indicates that the + // transition can only happen when the given intent is matched. At least + // one of `intent` or `condition` must be specified. When both `intent` + // and `condition` are specified, the transition can only happen when + // both are fulfilled. + Intent string `json:"intent,omitempty"` - // IsList: Indicates whether the parameter represents a list of values. - IsList bool `json:"isList,omitempty"` + // Name: Output only. The unique identifier of this transition route. + Name string `json:"name,omitempty"` - // Redact: Indicates whether the parameter content is logged in text and - // audio. If it is set to true, the parameter content will be replaced - // to parameter id in both request and response. The default value is - // false. - Redact bool `json:"redact,omitempty"` + // TargetFlow: The target flow to transition to. Format: + // `projects//locations//agents//flows/`. + TargetFlow string `json:"targetFlow,omitempty"` - // ForceSendFields is a list of field names (e.g. "EntityType") to + // TargetPage: The target page to transition to. Format: + // `projects//locations//agents//flows//pages/`. + TargetPage string `json:"targetPage,omitempty"` + + // TriggerFulfillment: The fulfillment to call when the condition is + // satisfied. At least one of `trigger_fulfillment` and `target` must be + // specified. When both are defined, `trigger_fulfillment` is executed + // first. + TriggerFulfillment *GoogleCloudDialogflowCxV3Fulfillment `json:"triggerFulfillment,omitempty"` + + // 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 @@ -2644,7 +2778,7 @@ type GoogleCloudDialogflowCxV3beta1IntentParameter struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "EntityType") 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 @@ -2653,38 +2787,19 @@ type GoogleCloudDialogflowCxV3beta1IntentParameter struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3beta1IntentParameter) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1IntentParameter +func (s *GoogleCloudDialogflowCxV3TransitionRoute) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3TransitionRoute raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase: Represents an -// example that the agent is trained on to identify the intent. -type GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase struct { - // Id: Output only. The unique identifier of the training phrase. - Id string `json:"id,omitempty"` - - // Parts: Required. The ordered list of training phrase parts. The parts - // are concatenated in order to form the training phrase. Note: The API - // does not automatically annotate training phrases like the Dialogflow - // Console does. Note: Do not forget to include whitespace at part - // boundaries, so the training phrase is well formatted when the parts - // are concatenated. If the training phrase does not need to be - // annotated with parameters, you just need a single part with only the - // Part.text field set. If you want to annotate the training phrase, you - // must create multiple parts, where the fields of each part are - // populated in one of two ways: - `Part.text` is set to a part of the - // phrase that has no parameters. - `Part.text` is set to a part of the - // phrase that you want to annotate, and the `parameter_id` field is - // set. - Parts []*GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePart `json:"parts,omitempty"` - - // RepeatCount: Indicates how many times this example was added to the - // intent. - RepeatCount int64 `json:"repeatCount,omitempty"` +// GoogleCloudDialogflowCxV3UpdateDocumentOperationMetadata: Metadata +// for UpdateDocument operation. +type GoogleCloudDialogflowCxV3UpdateDocumentOperationMetadata struct { + // GenericMetadata: The generic information of the operation. + GenericMetadata *GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata `json:"genericMetadata,omitempty"` - // ForceSendFields is a list of field names (e.g. "Id") to + // ForceSendFields is a list of field names (e.g. "GenericMetadata") 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 @@ -2692,71 +2807,83 @@ type GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Id") 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. "GenericMetadata") 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 *GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase +func (s *GoogleCloudDialogflowCxV3UpdateDocumentOperationMetadata) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3UpdateDocumentOperationMetadata raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePart: Represents a -// part of a training phrase. -type GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePart struct { - // ParameterId: The parameter used to annotate this part of the training - // phrase. This field is required for annotated parts of the training - // phrase. - ParameterId string `json:"parameterId,omitempty"` +// GoogleCloudDialogflowCxV3WebhookRequest: The request message for a +// webhook call. +type GoogleCloudDialogflowCxV3WebhookRequest struct { + // DetectIntentResponseId: Always present. The unique identifier of the + // DetectIntentResponse that will be returned to the API caller. + DetectIntentResponseId string `json:"detectIntentResponseId,omitempty"` - // Text: Required. The text for this part. - Text string `json:"text,omitempty"` + // FulfillmentInfo: Always present. Information about the fulfillment + // that triggered this webhook call. + FulfillmentInfo *GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo `json:"fulfillmentInfo,omitempty"` - // ForceSendFields is a list of field names (e.g. "ParameterId") 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. + // IntentInfo: Information about the last matched intent. + IntentInfo *GoogleCloudDialogflowCxV3WebhookRequestIntentInfo `json:"intentInfo,omitempty"` + + // Messages: The list of rich message responses to present to the user. + // Webhook can choose to append or replace this list in + // WebhookResponse.fulfillment_response; + Messages []*GoogleCloudDialogflowCxV3ResponseMessage `json:"messages,omitempty"` + + // PageInfo: Information about page status. + PageInfo *GoogleCloudDialogflowCxV3PageInfo `json:"pageInfo,omitempty"` + + // Payload: Custom data set in QueryParameters.payload. + Payload googleapi.RawMessage `json:"payload,omitempty"` + + // SessionInfo: Information about session status. + SessionInfo *GoogleCloudDialogflowCxV3SessionInfo `json:"sessionInfo,omitempty"` + + // ForceSendFields is a list of field names (e.g. + // "DetectIntentResponseId") 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. "ParameterId") 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. "DetectIntentResponseId") + // 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 *GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePart) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePart +func (s *GoogleCloudDialogflowCxV3WebhookRequest) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3WebhookRequest raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1ListAgentsResponse: The response -// message for Agents.ListAgents. -type GoogleCloudDialogflowCxV3beta1ListAgentsResponse struct { - // Agents: The list of agents. There will be a maximum number of items - // returned based on the page_size field in the request. - Agents []*GoogleCloudDialogflowCxV3beta1Agent `json:"agents,omitempty"` - - // NextPageToken: Token to retrieve the next page of results, or empty - // if there are no more results in the list. - NextPageToken string `json:"nextPageToken,omitempty"` - - // ServerResponse contains the HTTP response code and headers from the - // server. - googleapi.ServerResponse `json:"-"` +// GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo: Represents +// fulfillment information communicated to the webhook. +type GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo struct { + // Tag: Always present. The tag used to identify which fulfillment is + // being called. + Tag string `json:"tag,omitempty"` - // ForceSendFields is a list of field names (e.g. "Agents") to + // ForceSendFields is a list of field names (e.g. "Tag") 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 @@ -2764,7 +2891,7 @@ type GoogleCloudDialogflowCxV3beta1ListAgentsResponse struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Agents") to include in API + // NullFields is a list of field names (e.g. "Tag") 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 @@ -2773,68 +2900,62 @@ type GoogleCloudDialogflowCxV3beta1ListAgentsResponse struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3beta1ListAgentsResponse) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1ListAgentsResponse +func (s *GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1ListEntityTypesResponse: The response -// message for EntityTypes.ListEntityTypes. -type GoogleCloudDialogflowCxV3beta1ListEntityTypesResponse struct { - // EntityTypes: The list of entity types. There will be a maximum number - // of items returned based on the page_size field in the request. - EntityTypes []*GoogleCloudDialogflowCxV3beta1EntityType `json:"entityTypes,omitempty"` - - // NextPageToken: Token to retrieve the next page of results, or empty - // if there are no more results in the list. - NextPageToken string `json:"nextPageToken,omitempty"` +// GoogleCloudDialogflowCxV3WebhookRequestIntentInfo: Represents intent +// information communicated to the webhook. +type GoogleCloudDialogflowCxV3WebhookRequestIntentInfo struct { + // LastMatchedIntent: Always present. The unique identifier of the last + // matched intent. Format: `projects//locations//agents//intents/`. + LastMatchedIntent string `json:"lastMatchedIntent,omitempty"` - // ServerResponse contains the HTTP response code and headers from the - // server. - googleapi.ServerResponse `json:"-"` + // Parameters: Parameters identified as a result of intent matching. + // This is a map of the name of the identified parameter to the value of + // the parameter identified from the user's utterance. All parameters + // defined in the matched intent that are identified will be surfaced + // here. + Parameters map[string]GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue `json:"parameters,omitempty"` - // ForceSendFields is a list of field names (e.g. "EntityTypes") to - // unconditionally include in API requests. By default, fields with + // ForceSendFields is a list of field names (e.g. "LastMatchedIntent") + // 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. "EntityTypes") 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. "LastMatchedIntent") 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 *GoogleCloudDialogflowCxV3beta1ListEntityTypesResponse) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1ListEntityTypesResponse +func (s *GoogleCloudDialogflowCxV3WebhookRequestIntentInfo) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3WebhookRequestIntentInfo raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1ListEnvironmentsResponse: The response -// message for Environments.ListEnvironments. -type GoogleCloudDialogflowCxV3beta1ListEnvironmentsResponse struct { - // Environments: The list of environments. There will be a maximum - // number of items returned based on the page_size field in the request. - // The list may in some cases be empty or contain fewer entries than - // page_size even if this isn't the last page. - Environments []*GoogleCloudDialogflowCxV3beta1Environment `json:"environments,omitempty"` - - // NextPageToken: Token to retrieve the next page of results, or empty - // if there are no more results in the list. - NextPageToken string `json:"nextPageToken,omitempty"` +// GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue: +// Represents a value for an intent parameter. +type GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue struct { + // OriginalValue: Always present. Original text value extracted from + // user utterance. + OriginalValue string `json:"originalValue,omitempty"` - // ServerResponse contains the HTTP response code and headers from the - // server. - googleapi.ServerResponse `json:"-"` + // ResolvedValue: Always present. Structured value for the parameter + // extracted from user utterance. + ResolvedValue interface{} `json:"resolvedValue,omitempty"` - // ForceSendFields is a list of field names (e.g. "Environments") to + // ForceSendFields is a list of field names (e.g. "OriginalValue") 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 @@ -2842,7 +2963,7 @@ type GoogleCloudDialogflowCxV3beta1ListEnvironmentsResponse struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Environments") to include + // NullFields is a list of field names (e.g. "OriginalValue") 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 @@ -2851,66 +2972,82 @@ type GoogleCloudDialogflowCxV3beta1ListEnvironmentsResponse struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3beta1ListEnvironmentsResponse) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1ListEnvironmentsResponse +func (s *GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1ListFlowsResponse: The response message -// for Flows.ListFlows. -type GoogleCloudDialogflowCxV3beta1ListFlowsResponse struct { - // Flows: The list of flows. There will be a maximum number of items - // returned based on the page_size field in the request. - Flows []*GoogleCloudDialogflowCxV3beta1Flow `json:"flows,omitempty"` +// GoogleCloudDialogflowCxV3WebhookResponse: The response message for a +// webhook call. +type GoogleCloudDialogflowCxV3WebhookResponse struct { + // FulfillmentResponse: The fulfillment response to send to the user. + // This field can be omitted by the webhook if it does not intend to + // send any response to the user. + FulfillmentResponse *GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse `json:"fulfillmentResponse,omitempty"` - // NextPageToken: Token to retrieve the next page of results, or empty - // if there are no more results in the list. - NextPageToken string `json:"nextPageToken,omitempty"` + // PageInfo: Information about page status. This field can be omitted by + // the webhook if it does not intend to modify page status. + PageInfo *GoogleCloudDialogflowCxV3PageInfo `json:"pageInfo,omitempty"` - // ServerResponse contains the HTTP response code and headers from the - // server. - googleapi.ServerResponse `json:"-"` + // Payload: Value to append directly to QueryResult.webhook_payloads. + Payload googleapi.RawMessage `json:"payload,omitempty"` - // ForceSendFields is a list of field names (e.g. "Flows") to - // unconditionally include in API requests. By default, fields with + // SessionInfo: Information about session status. This field can be + // omitted by the webhook if it does not intend to modify session + // status. + SessionInfo *GoogleCloudDialogflowCxV3SessionInfo `json:"sessionInfo,omitempty"` + + // TargetFlow: The target flow to transition to. Format: + // `projects//locations//agents//flows/`. + TargetFlow string `json:"targetFlow,omitempty"` + + // TargetPage: The target page to transition to. Format: + // `projects//locations//agents//flows//pages/`. + TargetPage string `json:"targetPage,omitempty"` + + // ForceSendFields is a list of field names (e.g. "FulfillmentResponse") + // 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. "Flows") 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. "FulfillmentResponse") 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 *GoogleCloudDialogflowCxV3beta1ListFlowsResponse) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1ListFlowsResponse +func (s *GoogleCloudDialogflowCxV3WebhookResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3WebhookResponse raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1ListIntentsResponse: The response -// message for Intents.ListIntents. -type GoogleCloudDialogflowCxV3beta1ListIntentsResponse struct { - // Intents: The list of intents. There will be a maximum number of items - // returned based on the page_size field in the request. - Intents []*GoogleCloudDialogflowCxV3beta1Intent `json:"intents,omitempty"` - - // NextPageToken: Token to retrieve the next page of results, or empty - // if there are no more results in the list. - NextPageToken string `json:"nextPageToken,omitempty"` +// GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse: +// Represents a fulfillment response to the user. +type GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse struct { + // MergeBehavior: Merge behavior for `messages`. + // + // Possible values: + // "MERGE_BEHAVIOR_UNSPECIFIED" - Not specified. `APPEND` will be + // used. + // "APPEND" - `messages` will be appended to the list of messages + // waiting to be sent to the user. + // "REPLACE" - `messages` will replace the list of messages waiting to + // be sent to the user. + MergeBehavior string `json:"mergeBehavior,omitempty"` - // ServerResponse contains the HTTP response code and headers from the - // server. - googleapi.ServerResponse `json:"-"` + // Messages: The list of rich message responses to present to the user. + Messages []*GoogleCloudDialogflowCxV3ResponseMessage `json:"messages,omitempty"` - // ForceSendFields is a list of field names (e.g. "Intents") to + // ForceSendFields is a list of field names (e.g. "MergeBehavior") 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 @@ -2918,37 +3055,82 @@ type GoogleCloudDialogflowCxV3beta1ListIntentsResponse struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Intents") 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 + // NullFields is a list of field names (e.g. "MergeBehavior") 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 *GoogleCloudDialogflowCxV3beta1ListIntentsResponse) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1ListIntentsResponse +func (s *GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1ListPagesResponse: The response message -// for Pages.ListPages. -type GoogleCloudDialogflowCxV3beta1ListPagesResponse struct { - // NextPageToken: Token to retrieve the next page of results, or empty - // if there are no more results in the list. - NextPageToken string `json:"nextPageToken,omitempty"` - - // Pages: The list of pages. There will be a maximum number of items - // returned based on the page_size field in the request. - Pages []*GoogleCloudDialogflowCxV3beta1Page `json:"pages,omitempty"` +// GoogleCloudDialogflowCxV3beta1Agent: Agents are best described as +// Natural Language Understanding (NLU) modules that transform user +// requests into actionable data. You can include agents in your app, +// product, or service to determine user intent and respond to the user +// in a natural way. After you create an agent, you can add Intents, +// Entity Types, Flows, Fulfillments, Webhooks, and so on to manage the +// conversation flows.. +type GoogleCloudDialogflowCxV3beta1Agent struct { + // AvatarUri: The URI of the agent's avatar. Avatars are used throughout + // the Dialogflow console and in the self-hosted [Web + // Demo](https://cloud.google.com/dialogflow/docs/integrations/web-demo) + // integration. + AvatarUri string `json:"avatarUri,omitempty"` + + // DefaultLanguageCode: Immutable. The default language of the agent as + // a language tag. See [Language + // Support](https://cloud.google.com/dialogflow/docs/reference/language) + // for a list of the currently supported language codes. This field + // cannot be set by the Agents.UpdateAgent method. + DefaultLanguageCode string `json:"defaultLanguageCode,omitempty"` + + // Description: The description of the agent. The maximum length is 500 + // characters. If exceeded, the request is rejected. + Description string `json:"description,omitempty"` + + // DisplayName: Required. The human-readable name of the agent, unique + // within the location. + DisplayName string `json:"displayName,omitempty"` + + // EnableSpellCorrection: Indicates if automatic spell correction is + // enabled in detect intent requests. + EnableSpellCorrection bool `json:"enableSpellCorrection,omitempty"` + + // EnableStackdriverLogging: Indicates if stackdriver logging is enabled + // for the agent. + EnableStackdriverLogging bool `json:"enableStackdriverLogging,omitempty"` + + // Name: The unique identifier of the agent. Required for the + // Agents.UpdateAgent method. Agents.CreateAgent populates the name + // automatically. Format: `projects//locations//agents/`. + Name string `json:"name,omitempty"` + + // SpeechToTextSettings: Speech recognition related settings. + SpeechToTextSettings *GoogleCloudDialogflowCxV3beta1SpeechToTextSettings `json:"speechToTextSettings,omitempty"` + + // StartFlow: Immutable. Name of the start flow in this agent. A start + // flow will be automatically created when the agent is created, and can + // only be deleted by deleting the agent. Format: + // `projects//locations//agents//flows/`. + StartFlow string `json:"startFlow,omitempty"` + + // TimeZone: Required. The time zone of the agent from the [time zone + // database](https://www.iana.org/time-zones), e.g., America/New_York, + // Europe/Paris. + TimeZone string `json:"timeZone,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` - // ForceSendFields is a list of field names (e.g. "NextPageToken") to + // ForceSendFields is a list of field names (e.g. "AvatarUri") 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 @@ -2956,36 +3138,38 @@ type GoogleCloudDialogflowCxV3beta1ListPagesResponse struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "NextPageToken") 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 + // NullFields is a list of field names (e.g. "AvatarUri") 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 *GoogleCloudDialogflowCxV3beta1ListPagesResponse) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1ListPagesResponse +func (s *GoogleCloudDialogflowCxV3beta1Agent) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1Agent raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1ListSecuritySettingsResponse: The -// response message for SecuritySettings.ListSecuritySettings. -type GoogleCloudDialogflowCxV3beta1ListSecuritySettingsResponse struct { - // NextPageToken: Token to retrieve the next page of results, or empty - // if there are no more results in the list. - NextPageToken string `json:"nextPageToken,omitempty"` - - // SecuritySettings: The list of security settings. - SecuritySettings []*GoogleCloudDialogflowCxV3beta1SecuritySettings `json:"securitySettings,omitempty"` +// GoogleCloudDialogflowCxV3beta1AudioInput: Represents the natural +// speech audio to be processed. +type GoogleCloudDialogflowCxV3beta1AudioInput struct { + // Audio: The natural language speech audio to be processed. A single + // request can contain up to 1 minute of speech audio data. The + // transcribed text cannot contain more than 256 bytes. For + // non-streaming audio detect intent, both `config` and `audio` must be + // provided. For streaming audio detect intent, `config` must be + // provided in the first request and `audio` must be provided in all + // following requests. + Audio string `json:"audio,omitempty"` - // ServerResponse contains the HTTP response code and headers from the - // server. - googleapi.ServerResponse `json:"-"` + // Config: Required. Instructs the speech recognizer how to process the + // speech audio. + Config *GoogleCloudDialogflowCxV3beta1InputAudioConfig `json:"config,omitempty"` - // ForceSendFields is a list of field names (e.g. "NextPageToken") to + // ForceSendFields is a list of field names (e.g. "Audio") 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 @@ -2993,38 +3177,58 @@ type GoogleCloudDialogflowCxV3beta1ListSecuritySettingsResponse struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "NextPageToken") 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 + // NullFields is a list of field names (e.g. "Audio") 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 *GoogleCloudDialogflowCxV3beta1ListSecuritySettingsResponse) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1ListSecuritySettingsResponse +func (s *GoogleCloudDialogflowCxV3beta1AudioInput) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1AudioInput raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1ListSessionEntityTypesResponse: The -// response message for SessionEntityTypes.ListSessionEntityTypes. -type GoogleCloudDialogflowCxV3beta1ListSessionEntityTypesResponse struct { - // NextPageToken: Token to retrieve the next page of results, or empty - // if there are no more results in the list. - NextPageToken string `json:"nextPageToken,omitempty"` +// GoogleCloudDialogflowCxV3beta1BatchDeleteTestCasesRequest: The +// request message for TestCases.BatchDeleteTestCases. +type GoogleCloudDialogflowCxV3beta1BatchDeleteTestCasesRequest struct { + // Names: Required. Format of test case names: `projects//locations/ + // /agents//testCases/`. + Names []string `json:"names,omitempty"` - // SessionEntityTypes: The list of session entity types. There will be a - // maximum number of items returned based on the page_size field in the - // request. - SessionEntityTypes []*GoogleCloudDialogflowCxV3beta1SessionEntityType `json:"sessionEntityTypes,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:"-"` - // ServerResponse contains the HTTP response code and headers from the - // server. - googleapi.ServerResponse `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:"-"` +} - // ForceSendFields is a list of field names (e.g. "NextPageToken") to +func (s *GoogleCloudDialogflowCxV3beta1BatchDeleteTestCasesRequest) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1BatchDeleteTestCasesRequest + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3beta1BatchRunTestCasesMetadata: Metadata +// returned for the TestCases.BatchRunTestCases long running operation. +type GoogleCloudDialogflowCxV3beta1BatchRunTestCasesMetadata struct { + // Errors: The test errors. + Errors []*GoogleCloudDialogflowCxV3beta1TestError `json:"errors,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Errors") 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 @@ -3032,39 +3236,33 @@ type GoogleCloudDialogflowCxV3beta1ListSessionEntityTypesResponse struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "NextPageToken") 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 + // NullFields is a list of field names (e.g. "Errors") 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 *GoogleCloudDialogflowCxV3beta1ListSessionEntityTypesResponse) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1ListSessionEntityTypesResponse +func (s *GoogleCloudDialogflowCxV3beta1BatchRunTestCasesMetadata) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1BatchRunTestCasesMetadata raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1ListTransitionRouteGroupsResponse: The -// response message for TransitionRouteGroups.ListTransitionRouteGroups. -type GoogleCloudDialogflowCxV3beta1ListTransitionRouteGroupsResponse struct { - // NextPageToken: Token to retrieve the next page of results, or empty - // if there are no more results in the list. - NextPageToken string `json:"nextPageToken,omitempty"` - - // TransitionRouteGroups: The list of transition route groups. There - // will be a maximum number of items returned based on the page_size - // field in the request. The list may in some cases be empty or contain - // fewer entries than page_size even if this isn't the last page. - TransitionRouteGroups []*GoogleCloudDialogflowCxV3beta1TransitionRouteGroup `json:"transitionRouteGroups,omitempty"` +// GoogleCloudDialogflowCxV3beta1BatchRunTestCasesRequest: The request +// message for TestCases.BatchRunTestCases. +type GoogleCloudDialogflowCxV3beta1BatchRunTestCasesRequest struct { + // Environment: Optional. If not set, draft environment is assumed. + // Format: `projects//locations//agents//environments/`. + Environment string `json:"environment,omitempty"` - // ServerResponse contains the HTTP response code and headers from the - // server. - googleapi.ServerResponse `json:"-"` + // TestCases: Required. Format: + // `projects//locations//agents//testCases/`. + TestCases []string `json:"testCases,omitempty"` - // ForceSendFields is a list of field names (e.g. "NextPageToken") to + // ForceSendFields is a list of field names (e.g. "Environment") 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 @@ -3072,7 +3270,7 @@ type GoogleCloudDialogflowCxV3beta1ListTransitionRouteGroupsResponse struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "NextPageToken") to include + // NullFields is a list of field names (e.g. "Environment") 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 @@ -3081,30 +3279,20 @@ type GoogleCloudDialogflowCxV3beta1ListTransitionRouteGroupsResponse struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3beta1ListTransitionRouteGroupsResponse) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1ListTransitionRouteGroupsResponse +func (s *GoogleCloudDialogflowCxV3beta1BatchRunTestCasesRequest) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1BatchRunTestCasesRequest raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1ListVersionsResponse: The response -// message for Versions.ListVersions. -type GoogleCloudDialogflowCxV3beta1ListVersionsResponse struct { - // NextPageToken: Token to retrieve the next page of results, or empty - // if there are no more results in the list. - NextPageToken string `json:"nextPageToken,omitempty"` - - // Versions: A list of versions. There will be a maximum number of items - // returned based on the page_size field in the request. The list may in - // some cases be empty or contain fewer entries than page_size even if - // this isn't the last page. - Versions []*GoogleCloudDialogflowCxV3beta1Version `json:"versions,omitempty"` - - // ServerResponse contains the HTTP response code and headers from the - // server. - googleapi.ServerResponse `json:"-"` +// GoogleCloudDialogflowCxV3beta1BatchRunTestCasesResponse: The response +// message for TestCases.BatchRunTestCases. +type GoogleCloudDialogflowCxV3beta1BatchRunTestCasesResponse struct { + // Results: The test case results. The detailed conversation turns are + // empty in this response. + Results []*GoogleCloudDialogflowCxV3beta1TestCaseResult `json:"results,omitempty"` - // ForceSendFields is a list of field names (e.g. "NextPageToken") to + // 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 @@ -3112,37 +3300,39 @@ type GoogleCloudDialogflowCxV3beta1ListVersionsResponse struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "NextPageToken") 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 + // 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 *GoogleCloudDialogflowCxV3beta1ListVersionsResponse) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1ListVersionsResponse +func (s *GoogleCloudDialogflowCxV3beta1BatchRunTestCasesResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1BatchRunTestCasesResponse raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1ListWebhooksResponse: The response -// message for Webhooks.ListWebhooks. -type GoogleCloudDialogflowCxV3beta1ListWebhooksResponse struct { - // NextPageToken: Token to retrieve the next page of results, or empty - // if there are no more results in the list. - NextPageToken string `json:"nextPageToken,omitempty"` +// GoogleCloudDialogflowCxV3beta1CalculateCoverageResponse: The response +// message for TestCases.CalculateCoverage. +type GoogleCloudDialogflowCxV3beta1CalculateCoverageResponse struct { + // Agent: The agent to calculate coverage for. Format: + // `projects//locations//agents/`. + Agent string `json:"agent,omitempty"` - // Webhooks: The list of webhooks. There will be a maximum number of - // items returned based on the page_size field in the request. - Webhooks []*GoogleCloudDialogflowCxV3beta1Webhook `json:"webhooks,omitempty"` + // IntentCoverage: Intent coverage. + IntentCoverage *GoogleCloudDialogflowCxV3beta1IntentCoverage `json:"intentCoverage,omitempty"` + + // TransitionCoverage: Transition coverage. + TransitionCoverage *GoogleCloudDialogflowCxV3beta1TransitionCoverage `json:"transitionCoverage,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` - // ForceSendFields is a list of field names (e.g. "NextPageToken") to + // ForceSendFields is a list of field names (e.g. "Agent") 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 @@ -3150,72 +3340,125 @@ type GoogleCloudDialogflowCxV3beta1ListWebhooksResponse struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "NextPageToken") 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 + // NullFields is a list of field names (e.g. "Agent") 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 *GoogleCloudDialogflowCxV3beta1ListWebhooksResponse) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1ListWebhooksResponse +func (s *GoogleCloudDialogflowCxV3beta1CalculateCoverageResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1CalculateCoverageResponse raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1LoadVersionRequest: The request message -// for Versions.LoadVersion. -type GoogleCloudDialogflowCxV3beta1LoadVersionRequest struct { - // AllowOverrideAgentResources: This field is used to prevent accidental - // overwrite of other agent resources in the draft version, which can - // potentially impact other flow's behavior. If - // `allow_override_agent_resources` is false, conflicted agent-level - // resources will not be overridden (i.e. intents, entities, webhooks). - AllowOverrideAgentResources bool `json:"allowOverrideAgentResources,omitempty"` +// GoogleCloudDialogflowCxV3beta1ConversationTurn: One interaction +// between a human and virtual agent. The human provides some input and +// the virtual agent provides a response. +type GoogleCloudDialogflowCxV3beta1ConversationTurn struct { + // UserInput: The user input. + UserInput *GoogleCloudDialogflowCxV3beta1ConversationTurnUserInput `json:"userInput,omitempty"` - // ForceSendFields is a list of field names (e.g. - // "AllowOverrideAgentResources") 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. + // VirtualAgentOutput: The virtual agent output. + VirtualAgentOutput *GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput `json:"virtualAgentOutput,omitempty"` + + // ForceSendFields is a list of field names (e.g. "UserInput") 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. - // "AllowOverrideAgentResources") 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. "UserInput") 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 *GoogleCloudDialogflowCxV3beta1LoadVersionRequest) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1LoadVersionRequest +func (s *GoogleCloudDialogflowCxV3beta1ConversationTurn) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1ConversationTurn raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1LookupEnvironmentHistoryResponse: The -// response message for Environments.LookupEnvironmentHistory. -type GoogleCloudDialogflowCxV3beta1LookupEnvironmentHistoryResponse struct { - // Environments: Represents a list of snapshots for an environment. Time - // of the snapshots is stored in `update_time`. - Environments []*GoogleCloudDialogflowCxV3beta1Environment `json:"environments,omitempty"` +// GoogleCloudDialogflowCxV3beta1ConversationTurnUserInput: The input +// from the human user. +type GoogleCloudDialogflowCxV3beta1ConversationTurnUserInput struct { + // InjectedParameters: Parameters that need to be injected into the + // conversation during intent detection. + InjectedParameters googleapi.RawMessage `json:"injectedParameters,omitempty"` - // NextPageToken: Token to retrieve the next page of results, or empty - // if there are no more results in the list. - NextPageToken string `json:"nextPageToken,omitempty"` + // Input: Supports text input, event input, dtmf input in the test case. + Input *GoogleCloudDialogflowCxV3beta1QueryInput `json:"input,omitempty"` - // ServerResponse contains the HTTP response code and headers from the - // server. - googleapi.ServerResponse `json:"-"` + // IsWebhookEnabled: If webhooks should be allowed to trigger in + // response to the user utterance. Often if parameters are injected, + // webhooks should not be enabled. + IsWebhookEnabled bool `json:"isWebhookEnabled,omitempty"` - // ForceSendFields is a list of field names (e.g. "Environments") to + // ForceSendFields is a list of field names (e.g. "InjectedParameters") + // 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. "InjectedParameters") 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 *GoogleCloudDialogflowCxV3beta1ConversationTurnUserInput) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1ConversationTurnUserInput + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput: The +// output from the virtual agent. +type GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput struct { + // CurrentPage: The Page on which the utterance was spoken. Only some + // fields such as name and displayname will be set. + CurrentPage *GoogleCloudDialogflowCxV3beta1Page `json:"currentPage,omitempty"` + + // DiagnosticInfo: Required. Input only. The diagnostic info output for + // the turn. + DiagnosticInfo googleapi.RawMessage `json:"diagnosticInfo,omitempty"` + + // Differences: Output only. If this is part of a result conversation + // turn, the list of differences between the original run and the replay + // for this output, if any. + Differences []*GoogleCloudDialogflowCxV3beta1TestRunDifference `json:"differences,omitempty"` + + // SessionParameters: The session parameters available to the bot at + // this point. + SessionParameters googleapi.RawMessage `json:"sessionParameters,omitempty"` + + // Status: Response error from the agent in the test result. If set, + // other output is empty. + Status *GoogleRpcStatus `json:"status,omitempty"` + + // TextResponses: The text responses from the agent for the turn. + TextResponses []*GoogleCloudDialogflowCxV3beta1ResponseMessageText `json:"textResponses,omitempty"` + + // TriggeredIntent: The Intent that triggered the response. Only some + // fields such as name and displayname will be set. + TriggeredIntent *GoogleCloudDialogflowCxV3beta1Intent `json:"triggeredIntent,omitempty"` + + // ForceSendFields is a list of field names (e.g. "CurrentPage") 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 @@ -3223,7 +3466,7 @@ type GoogleCloudDialogflowCxV3beta1LookupEnvironmentHistoryResponse struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Environments") to include + // NullFields is a list of field names (e.g. "CurrentPage") 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 @@ -3232,61 +3475,51 @@ type GoogleCloudDialogflowCxV3beta1LookupEnvironmentHistoryResponse struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3beta1LookupEnvironmentHistoryResponse) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1LookupEnvironmentHistoryResponse +func (s *GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1Match: Represents one match result of -// MatchIntent. -type GoogleCloudDialogflowCxV3beta1Match struct { - // Confidence: The confidence of this match. Values range from 0.0 - // (completely uncertain) to 1.0 (completely certain). This value is for - // informational purpose only and is only used to help match the best - // intent within the classification threshold. This value may change for - // the same end-user expression at any time due to a model retraining or - // change in implementation. - Confidence float64 `json:"confidence,omitempty"` - - // Event: The event that matched the query. Only filled for `EVENT` - // match type. - Event string `json:"event,omitempty"` +// GoogleCloudDialogflowCxV3beta1CreateDocumentOperationMetadata: +// Metadata for CreateDocument operation. +type GoogleCloudDialogflowCxV3beta1CreateDocumentOperationMetadata struct { + // GenericMetadata: The generic information of the operation. + GenericMetadata *GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata `json:"genericMetadata,omitempty"` - // Intent: The Intent that matched the query. Some, not all fields are - // filled in this message, including but not limited to: `name` and - // `display_name`. Only filled for `INTENT` match type. - Intent *GoogleCloudDialogflowCxV3beta1Intent `json:"intent,omitempty"` + // ForceSendFields is a list of field names (e.g. "GenericMetadata") 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:"-"` - // MatchType: Type of this Match. - // - // Possible values: - // "MATCH_TYPE_UNSPECIFIED" - Not specified. Should never be used. - // "INTENT" - The query was matched to an intent. - // "DIRECT_INTENT" - The query directly triggered an intent. - // "PARAMETER_FILLING" - The query was used for parameter filling. - // "NO_MATCH" - No match was found for the query. - // "NO_INPUT" - Indicates an empty query. - // "EVENT" - The query directly triggered an event. - MatchType string `json:"matchType,omitempty"` + // NullFields is a list of field names (e.g. "GenericMetadata") 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:"-"` +} - // Parameters: The collection of parameters extracted from the query. - // Depending on your protocol or client library language, this is a map, - // associative array, symbol table, dictionary, or JSON object composed - // of a collection of (MapKey, MapValue) pairs: - MapKey type: string - - // MapKey value: parameter name - MapValue type: - If parameter's entity - // type is a composite entity: map - Else: string or number, depending - // on parameter value type - MapValue value: - If parameter's entity - // type is a composite entity: map from composite entity property names - // to property values - Else: parameter value - Parameters googleapi.RawMessage `json:"parameters,omitempty"` +func (s *GoogleCloudDialogflowCxV3beta1CreateDocumentOperationMetadata) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1CreateDocumentOperationMetadata + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} - // ResolvedInput: Final text input which was matched during MatchIntent. - // This value can be different from original input sent in request - // because of spelling correction or other processing. - ResolvedInput string `json:"resolvedInput,omitempty"` +// GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata: +// Metadata associated with the long running operation for +// Versions.CreateVersion. +type GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata struct { + // Version: Name of the created version. Format: + // `projects//locations//agents//flows//versions/`. + Version string `json:"version,omitempty"` - // ForceSendFields is a list of field names (e.g. "Confidence") to + // ForceSendFields is a list of field names (e.g. "Version") 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 @@ -3294,7 +3527,7 @@ type GoogleCloudDialogflowCxV3beta1Match struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Confidence") to include in + // NullFields is a list of field names (e.g. "Version") 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 @@ -3303,90 +3536,110 @@ type GoogleCloudDialogflowCxV3beta1Match struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3beta1Match) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1Match +func (s *GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -func (s *GoogleCloudDialogflowCxV3beta1Match) UnmarshalJSON(data []byte) error { - type NoMethod GoogleCloudDialogflowCxV3beta1Match - var s1 struct { - Confidence gensupport.JSONFloat64 `json:"confidence"` - *NoMethod - } - s1.NoMethod = (*NoMethod)(s) - if err := json.Unmarshal(data, &s1); err != nil { - return err - } - s.Confidence = float64(s1.Confidence) - return nil +// GoogleCloudDialogflowCxV3beta1DeleteDocumentOperationMetadata: +// Metadata for DeleteDocument operation. +type GoogleCloudDialogflowCxV3beta1DeleteDocumentOperationMetadata struct { + // GenericMetadata: The generic information of the operation. + GenericMetadata *GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata `json:"genericMetadata,omitempty"` + + // ForceSendFields is a list of field names (e.g. "GenericMetadata") 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. "GenericMetadata") 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:"-"` } -// GoogleCloudDialogflowCxV3beta1MatchIntentRequest: Request of -// MatchIntent. -type GoogleCloudDialogflowCxV3beta1MatchIntentRequest struct { +func (s *GoogleCloudDialogflowCxV3beta1DeleteDocumentOperationMetadata) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1DeleteDocumentOperationMetadata + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3beta1DetectIntentRequest: The request to +// detect user's intent. +type GoogleCloudDialogflowCxV3beta1DetectIntentRequest struct { + // OutputAudioConfig: Instructs the speech synthesizer how to generate + // the output audio. + OutputAudioConfig *GoogleCloudDialogflowCxV3beta1OutputAudioConfig `json:"outputAudioConfig,omitempty"` + // QueryInput: Required. The input specification. QueryInput *GoogleCloudDialogflowCxV3beta1QueryInput `json:"queryInput,omitempty"` // QueryParams: The parameters of this query. QueryParams *GoogleCloudDialogflowCxV3beta1QueryParameters `json:"queryParams,omitempty"` - // ForceSendFields is a list of field names (e.g. "QueryInput") to - // unconditionally include in API requests. By default, fields with + // ForceSendFields is a list of field names (e.g. "OutputAudioConfig") + // 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. "QueryInput") 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. "OutputAudioConfig") 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 *GoogleCloudDialogflowCxV3beta1MatchIntentRequest) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1MatchIntentRequest +func (s *GoogleCloudDialogflowCxV3beta1DetectIntentRequest) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1DetectIntentRequest raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1MatchIntentResponse: Response of -// MatchIntent. -type GoogleCloudDialogflowCxV3beta1MatchIntentResponse struct { - // CurrentPage: The current Page. Some, not all fields are filled in - // this message, including but not limited to `name` and `display_name`. - CurrentPage *GoogleCloudDialogflowCxV3beta1Page `json:"currentPage,omitempty"` - - // Matches: Match results, if more than one, ordered descendingly by the - // confidence we have that the particular intent matches the query. - Matches []*GoogleCloudDialogflowCxV3beta1Match `json:"matches,omitempty"` - - // Text: If natural language text was provided as input, this field will - // contain a copy of the text. - Text string `json:"text,omitempty"` +// GoogleCloudDialogflowCxV3beta1DetectIntentResponse: The message +// returned from the DetectIntent method. +type GoogleCloudDialogflowCxV3beta1DetectIntentResponse struct { + // OutputAudio: The audio data bytes encoded as specified in the + // request. Note: The output audio is generated based on the values of + // default platform text responses found in the + // `query_result.response_messages` field. If multiple default text + // responses exist, they will be concatenated when generating audio. If + // no default platform text responses exist, the generated audio content + // will be empty. In some scenarios, multiple output audio fields may be + // present in the response structure. In these cases, only the + // top-most-level audio output has content. + OutputAudio string `json:"outputAudio,omitempty"` - // Transcript: If natural language speech audio was provided as input, - // this field will contain the trascript for the audio. - Transcript string `json:"transcript,omitempty"` + // OutputAudioConfig: The config used by the speech synthesizer to + // generate the output audio. + OutputAudioConfig *GoogleCloudDialogflowCxV3beta1OutputAudioConfig `json:"outputAudioConfig,omitempty"` - // TriggerEvent: If an event was provided as input, this field will - // contain a copy of the event name. - TriggerEvent string `json:"triggerEvent,omitempty"` + // QueryResult: The result of the conversational query. + QueryResult *GoogleCloudDialogflowCxV3beta1QueryResult `json:"queryResult,omitempty"` - // TriggerIntent: If an intent was provided as input, this field will - // contain a copy of the intent identifier. - TriggerIntent string `json:"triggerIntent,omitempty"` + // ResponseId: Output only. The unique identifier of the response. It + // can be used to locate a response in the training example set or for + // reporting issues. + ResponseId string `json:"responseId,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` - // ForceSendFields is a list of field names (e.g. "CurrentPage") to + // ForceSendFields is a list of field names (e.g. "OutputAudio") 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 @@ -3394,7 +3647,7 @@ type GoogleCloudDialogflowCxV3beta1MatchIntentResponse struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "CurrentPage") to include + // NullFields is a list of field names (e.g. "OutputAudio") 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 @@ -3403,119 +3656,22 @@ type GoogleCloudDialogflowCxV3beta1MatchIntentResponse struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3beta1MatchIntentResponse) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1MatchIntentResponse +func (s *GoogleCloudDialogflowCxV3beta1DetectIntentResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1DetectIntentResponse raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1NluSettings: Settings related to NLU. -type GoogleCloudDialogflowCxV3beta1NluSettings struct { - // ClassificationThreshold: To filter out false positive results and - // still get variety in matched natural language inputs for your agent, - // you can tune the machine learning classification threshold. If the - // returned score value is less than the threshold value, then a - // no-match event will be triggered. The score values range from 0.0 - // (completely uncertain) to 1.0 (completely certain). If set to 0.0, - // the default of 0.3 is used. - ClassificationThreshold float64 `json:"classificationThreshold,omitempty"` +// GoogleCloudDialogflowCxV3beta1DtmfInput: Represents the input for +// dtmf event. +type GoogleCloudDialogflowCxV3beta1DtmfInput struct { + // Digits: The dtmf digits. + Digits string `json:"digits,omitempty"` - // ModelTrainingMode: Indicates NLU model training mode. - // - // Possible values: - // "MODEL_TRAINING_MODE_UNSPECIFIED" - Not specified. - // `MODEL_TRAINING_MODE_AUTOMATIC` will be used. - // "MODEL_TRAINING_MODE_AUTOMATIC" - NLU model training is - // automatically triggered when a flow gets modified. User can also - // manually trigger model training in this mode. - // "MODEL_TRAINING_MODE_MANUAL" - User needs to manually trigger NLU - // model training. Best for large flows whose models take long time to - // train. - ModelTrainingMode string `json:"modelTrainingMode,omitempty"` - - // ModelType: Indicates the type of NLU model. - // - // Possible values: - // "MODEL_TYPE_UNSPECIFIED" - Not specified. `MODEL_TYPE_STANDARD` - // will be used. - // "MODEL_TYPE_STANDARD" - Use standard NLU model. - // "MODEL_TYPE_ADVANCED" - Use advanced NLU model. - ModelType string `json:"modelType,omitempty"` - - // ForceSendFields is a list of field names (e.g. - // "ClassificationThreshold") 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. "ClassificationThreshold") - // 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 *GoogleCloudDialogflowCxV3beta1NluSettings) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1NluSettings - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -func (s *GoogleCloudDialogflowCxV3beta1NluSettings) UnmarshalJSON(data []byte) error { - type NoMethod GoogleCloudDialogflowCxV3beta1NluSettings - var s1 struct { - ClassificationThreshold gensupport.JSONFloat64 `json:"classificationThreshold"` - *NoMethod - } - s1.NoMethod = (*NoMethod)(s) - if err := json.Unmarshal(data, &s1); err != nil { - return err - } - s.ClassificationThreshold = float64(s1.ClassificationThreshold) - return nil -} - -// GoogleCloudDialogflowCxV3beta1OutputAudioConfig: Instructs the speech -// synthesizer how to generate the output audio content. -type GoogleCloudDialogflowCxV3beta1OutputAudioConfig struct { - // AudioEncoding: Required. Audio encoding of the synthesized audio - // content. - // - // Possible values: - // "OUTPUT_AUDIO_ENCODING_UNSPECIFIED" - Not specified. - // "OUTPUT_AUDIO_ENCODING_LINEAR_16" - Uncompressed 16-bit signed - // little-endian samples (Linear PCM). Audio content returned as - // LINEAR16 also contains a WAV header. - // "OUTPUT_AUDIO_ENCODING_MP3" - MP3 audio at 32kbps. - // "OUTPUT_AUDIO_ENCODING_MP3_64_KBPS" - MP3 audio at 64kbps. - // "OUTPUT_AUDIO_ENCODING_OGG_OPUS" - Opus encoded audio wrapped in an - // ogg container. The result will be a file which can be played natively - // on Android, and in browsers (at least Chrome and Firefox). The - // quality of the encoding is considerably higher than MP3 while using - // approximately the same bitrate. - // "OUTPUT_AUDIO_ENCODING_MULAW" - 8-bit samples that compand 14-bit - // audio samples using G.711 PCMU/mu-law. - AudioEncoding string `json:"audioEncoding,omitempty"` - - // SampleRateHertz: Optional. The synthesis sample rate (in hertz) for - // this audio. If not provided, then the synthesizer will use the - // default sample rate based on the audio encoding. If this is different - // from the voice's natural sample rate, then the synthesizer will honor - // this request by converting to the desired sample rate (which might - // result in worse audio quality). - SampleRateHertz int64 `json:"sampleRateHertz,omitempty"` - - // SynthesizeSpeechConfig: Optional. Configuration of how speech should - // be synthesized. - SynthesizeSpeechConfig *GoogleCloudDialogflowCxV3beta1SynthesizeSpeechConfig `json:"synthesizeSpeechConfig,omitempty"` + // FinishDigit: The finish digit (if any). + FinishDigit string `json:"finishDigit,omitempty"` - // ForceSendFields is a list of field names (e.g. "AudioEncoding") to + // ForceSendFields is a list of field names (e.g. "Digits") 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 @@ -3523,119 +3679,139 @@ type GoogleCloudDialogflowCxV3beta1OutputAudioConfig struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "AudioEncoding") 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 + // NullFields is a list of field names (e.g. "Digits") 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 *GoogleCloudDialogflowCxV3beta1OutputAudioConfig) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1OutputAudioConfig +func (s *GoogleCloudDialogflowCxV3beta1DtmfInput) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1DtmfInput raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1Page: A Dialogflow CX conversation -// (session) can be described and visualized as a state machine. The -// states of a CX session are represented by pages. For each flow, you -// define many pages, where your combined pages can handle a complete -// conversation on the topics the flow is designed for. At any given -// moment, exactly one page is the current page, the current page is -// considered active, and the flow associated with that page is -// considered active. Every flow has a special start page. When a flow -// initially becomes active, the start page page becomes the current -// page. For each conversational turn, the current page will either stay -// the same or transition to another page. You configure each page to -// collect information from the end-user that is relevant for the -// conversational state represented by the page. For more information, -// see the [Page -// guide](https://cloud.google.com/dialogflow/cx/docs/concept/page). -type GoogleCloudDialogflowCxV3beta1Page struct { - // DisplayName: Required. The human-readable name of the page, unique - // within the agent. - DisplayName string `json:"displayName,omitempty"` +// GoogleCloudDialogflowCxV3beta1EntityType: Entities are extracted from +// user input and represent parameters that are meaningful to your +// application. For example, a date range, a proper name such as a +// geographic location or landmark, and so on. Entities represent +// actionable data for your application. When you define an entity, you +// can also include synonyms that all map to that entity. For example, +// "soft drink", "soda", "pop", and so on. There are three types of +// entities: * **System** - entities that are defined by the Dialogflow +// API for common data types such as date, time, currency, and so on. A +// system entity is represented by the `EntityType` type. * **Custom** - +// entities that are defined by you that represent actionable data that +// is meaningful to your application. For example, you could define a +// `pizza.sauce` entity for red or white pizza sauce, a `pizza.cheese` +// entity for the different types of cheese on a pizza, a +// `pizza.topping` entity for different toppings, and so on. A custom +// entity is represented by the `EntityType` type. * **User** - entities +// that are built for an individual user such as favorites, preferences, +// playlists, and so on. A user entity is represented by the +// SessionEntityType type. For more information about entity types, see +// the [Dialogflow +// documentation](https://cloud.google.com/dialogflow/docs/entities-overv +// iew). +type GoogleCloudDialogflowCxV3beta1EntityType struct { + // AutoExpansionMode: Indicates whether the entity type can be + // automatically expanded. + // + // Possible values: + // "AUTO_EXPANSION_MODE_UNSPECIFIED" - Auto expansion disabled for the + // entity. + // "AUTO_EXPANSION_MODE_DEFAULT" - Allows an agent to recognize values + // that have not been explicitly listed in the entity. + AutoExpansionMode string `json:"autoExpansionMode,omitempty"` - // EntryFulfillment: The fulfillment to call when the session is - // entering the page. - EntryFulfillment *GoogleCloudDialogflowCxV3beta1Fulfillment `json:"entryFulfillment,omitempty"` + // DisplayName: Required. The human-readable name of the entity type, + // unique within the agent. + DisplayName string `json:"displayName,omitempty"` - // EventHandlers: Handlers associated with the page to handle events - // such as webhook errors, no match or no input. - EventHandlers []*GoogleCloudDialogflowCxV3beta1EventHandler `json:"eventHandlers,omitempty"` + // EnableFuzzyExtraction: Enables fuzzy entity extraction during + // classification. + EnableFuzzyExtraction bool `json:"enableFuzzyExtraction,omitempty"` - // Form: The form associated with the page, used for collecting - // parameters relevant to the page. - Form *GoogleCloudDialogflowCxV3beta1Form `json:"form,omitempty"` + // Entities: The collection of entity entries associated with the entity + // type. + Entities []*GoogleCloudDialogflowCxV3beta1EntityTypeEntity `json:"entities,omitempty"` - // Name: The unique identifier of the page. Required for the - // Pages.UpdatePage method. Pages.CreatePage populates the name - // automatically. Format: `projects//locations//agents//flows//pages/`. - Name string `json:"name,omitempty"` + // ExcludedPhrases: Collection of exceptional words and phrases that + // shouldn't be matched. For example, if you have a size entity type + // with entry `giant`(an adjective), you might consider adding + // `giants`(a noun) as an exclusion. If the kind of entity type is + // `KIND_MAP`, then the phrases specified by entities and excluded + // phrases should be mutually exclusive. + ExcludedPhrases []*GoogleCloudDialogflowCxV3beta1EntityTypeExcludedPhrase `json:"excludedPhrases,omitempty"` - // TransitionRouteGroups: Ordered list of `TransitionRouteGroups` - // associated with the page. Transition route groups must be unique - // within a page. * If multiple transition routes within a page scope - // refer to the same intent, then the precedence order is: page's - // transition route -> page's transition route group -> flow's - // transition routes. * If multiple transition route groups within a - // page contain the same intent, then the first group in the ordered - // list takes precedence. - // Format:`projects//locations//agents//flows//transitionRouteGroups/`. - TransitionRouteGroups []string `json:"transitionRouteGroups,omitempty"` + // Kind: Required. Indicates the kind of entity type. + // + // Possible values: + // "KIND_UNSPECIFIED" - Not specified. This value should be never + // used. + // "KIND_MAP" - Map entity types allow mapping of a group of synonyms + // to a canonical value. + // "KIND_LIST" - List entity types contain a set of entries that do + // not map to canonical values. However, list entity types can contain + // references to other entity types (with or without aliases). + // "KIND_REGEXP" - Regexp entity types allow to specify regular + // expressions in entries values. + Kind string `json:"kind,omitempty"` - // TransitionRoutes: A list of transitions for the transition rules of - // this page. They route the conversation to another page in the same - // flow, or another flow. When we are in a certain page, the - // TransitionRoutes are evalauted in the following order: * - // TransitionRoutes defined in the page with intent specified. * - // TransitionRoutes defined in the transition route groups. * - // TransitionRoutes defined in flow with intent specified. * - // TransitionRoutes defined in the page with only condition specified. - TransitionRoutes []*GoogleCloudDialogflowCxV3beta1TransitionRoute `json:"transitionRoutes,omitempty"` + // Name: The unique identifier of the entity type. Required for + // EntityTypes.UpdateEntityType. Format: + // `projects//locations//agents//entityTypes/`. + Name string `json:"name,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` - // ForceSendFields is a list of field names (e.g. "DisplayName") to - // unconditionally include in API requests. By default, fields with + // ForceSendFields is a list of field names (e.g. "AutoExpansionMode") + // 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. "DisplayName") 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. "AutoExpansionMode") 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 *GoogleCloudDialogflowCxV3beta1Page) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1Page +func (s *GoogleCloudDialogflowCxV3beta1EntityType) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1EntityType raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1PageInfo: Represents page information -// communicated to and from the webhook. -type GoogleCloudDialogflowCxV3beta1PageInfo struct { - // CurrentPage: Always present for WebhookRequest. Ignored for - // WebhookResponse. The unique identifier of the current page. Format: - // `projects//locations//agents//flows//pages/`. - CurrentPage string `json:"currentPage,omitempty"` +// GoogleCloudDialogflowCxV3beta1EntityTypeEntity: An **entity entry** +// for an associated entity type. Next Id = 8 +type GoogleCloudDialogflowCxV3beta1EntityTypeEntity struct { + // Synonyms: Required. A collection of value synonyms. For example, if + // the entity type is *vegetable*, and `value` is *scallions*, a synonym + // could be *green onions*. For `KIND_LIST` entity types: * This + // collection must contain exactly one synonym equal to `value`. + Synonyms []string `json:"synonyms,omitempty"` - // FormInfo: Optional for both WebhookRequest and WebhookResponse. - // Information about the form. - FormInfo *GoogleCloudDialogflowCxV3beta1PageInfoFormInfo `json:"formInfo,omitempty"` + // Value: Required. The primary value associated with this entity entry. + // For example, if the entity type is *vegetable*, the value could be + // *scallions*. For `KIND_MAP` entity types: * A canonical value to be + // used in place of synonyms. For `KIND_LIST` entity types: * A string + // that can contain references to other entity types (with or without + // aliases). + Value string `json:"value,omitempty"` - // ForceSendFields is a list of field names (e.g. "CurrentPage") to + // ForceSendFields is a list of field names (e.g. "Synonyms") 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 @@ -3643,30 +3819,28 @@ type GoogleCloudDialogflowCxV3beta1PageInfo struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "CurrentPage") 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 + // NullFields is a list of field names (e.g. "Synonyms") 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 *GoogleCloudDialogflowCxV3beta1PageInfo) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1PageInfo +func (s *GoogleCloudDialogflowCxV3beta1EntityTypeEntity) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1EntityTypeEntity raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1PageInfoFormInfo: Represents form -// information. -type GoogleCloudDialogflowCxV3beta1PageInfoFormInfo struct { - // ParameterInfo: Optional for both WebhookRequest and WebhookResponse. - // The parameters contained in the form. Note that the webhook cannot - // add or remove any form parameter. - ParameterInfo []*GoogleCloudDialogflowCxV3beta1PageInfoFormInfoParameterInfo `json:"parameterInfo,omitempty"` +// GoogleCloudDialogflowCxV3beta1EntityTypeExcludedPhrase: An excluded +// entity phrase that should not be matched. +type GoogleCloudDialogflowCxV3beta1EntityTypeExcludedPhrase struct { + // Value: Required. The word or phrase to be excluded. + Value string `json:"value,omitempty"` - // ForceSendFields is a list of field names (e.g. "ParameterInfo") to + // ForceSendFields is a list of field names (e.g. "Value") 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 @@ -3674,62 +3848,57 @@ type GoogleCloudDialogflowCxV3beta1PageInfoFormInfo struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "ParameterInfo") 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 + // NullFields is a list of field names (e.g. "Value") 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 *GoogleCloudDialogflowCxV3beta1PageInfoFormInfo) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1PageInfoFormInfo +func (s *GoogleCloudDialogflowCxV3beta1EntityTypeExcludedPhrase) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1EntityTypeExcludedPhrase raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1PageInfoFormInfoParameterInfo: -// Represents parameter information. -type GoogleCloudDialogflowCxV3beta1PageInfoFormInfoParameterInfo struct { - // DisplayName: Always present for WebhookRequest. Required for - // WebhookResponse. The human-readable name of the parameter, unique - // within the form. This field cannot be modified by the webhook. +// GoogleCloudDialogflowCxV3beta1Environment: Represents an environment +// for an agent. You can create multiple versions of your agent and +// publish them to separate environments. When you edit an agent, you +// are editing the draft agent. At any point, you can save the draft +// agent as an agent version, which is an immutable snapshot of your +// agent. When you save the draft agent, it is published to the default +// environment. When you create agent versions, you can publish them to +// custom environments. You can create a variety of custom environments +// for testing, development, production, etc. +type GoogleCloudDialogflowCxV3beta1Environment struct { + // Description: The human-readable description of the environment. The + // maximum length is 500 characters. If exceeded, the request is + // rejected. + Description string `json:"description,omitempty"` + + // DisplayName: Required. The human-readable name of the environment + // (unique in an agent). Limit of 64 characters. DisplayName string `json:"displayName,omitempty"` - // JustCollected: Optional for WebhookRequest. Ignored for - // WebhookResponse. Indicates if the parameter value was just collected - // on the last conversation turn. - JustCollected bool `json:"justCollected,omitempty"` + // Name: The name of the environment. Format: + // `projects//locations//agents//environments/`. + Name string `json:"name,omitempty"` - // Required: Optional for both WebhookRequest and WebhookResponse. - // Indicates whether the parameter is required. Optional parameters will - // not trigger prompts; however, they are filled if the user specifies - // them. Required parameters must be filled before form filling - // concludes. - Required bool `json:"required,omitempty"` + // UpdateTime: Output only. Update time of this environment. + UpdateTime string `json:"updateTime,omitempty"` - // State: Always present for WebhookRequest. Required for - // WebhookResponse. The state of the parameter. This field can be set to - // INVALID by the webhook to invalidate the parameter; other values set - // by the webhook will be ignored. - // - // Possible values: - // "PARAMETER_STATE_UNSPECIFIED" - Not specified. This value should be - // never used. - // "EMPTY" - Indicates that the parameter does not have a value. - // "INVALID" - Indicates that the parameter value is invalid. This - // field can be used by the webhook to invalidate the parameter and ask - // the server to collect it from the user again. - // "FILLED" - Indicates that the parameter has a value. - State string `json:"state,omitempty"` + // VersionConfigs: Required. A list of configurations for flow versions. + // You should include version configs for all flows that are reachable + // from `Start Flow` in the agent. Otherwise, an error will be returned. + VersionConfigs []*GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig `json:"versionConfigs,omitempty"` - // Value: Optional for both WebhookRequest and WebhookResponse. The - // value of the parameter. This field can be set by the webhook to - // change the parameter value. - Value interface{} `json:"value,omitempty"` + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` - // ForceSendFields is a list of field names (e.g. "DisplayName") to + // 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 @@ -3737,7 +3906,7 @@ type GoogleCloudDialogflowCxV3beta1PageInfoFormInfoParameterInfo struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "DisplayName") to include + // 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 @@ -3746,40 +3915,72 @@ type GoogleCloudDialogflowCxV3beta1PageInfoFormInfoParameterInfo struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3beta1PageInfoFormInfoParameterInfo) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1PageInfoFormInfoParameterInfo +func (s *GoogleCloudDialogflowCxV3beta1Environment) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1Environment raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1QueryInput: Represents the query input. -// It can contain one of: 1. A conversational query in the form of text. -// 2. An intent query that specifies which intent to trigger. 3. Natural -// language speech audio to be processed. 4. An event to be triggered. -type GoogleCloudDialogflowCxV3beta1QueryInput struct { - // Audio: The natural language speech audio to be processed. - Audio *GoogleCloudDialogflowCxV3beta1AudioInput `json:"audio,omitempty"` +// GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig: Configuration +// for the version. +type GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig struct { + // Version: Required. Format: + // projects//locations//agents//flows//versions/. + Version string `json:"version,omitempty"` - // Dtmf: The DTMF event to be handled. - Dtmf *GoogleCloudDialogflowCxV3beta1DtmfInput `json:"dtmf,omitempty"` + // ForceSendFields is a list of field names (e.g. "Version") 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:"-"` - // Event: The event to be triggered. - Event *GoogleCloudDialogflowCxV3beta1EventInput `json:"event,omitempty"` + // NullFields is a list of field names (e.g. "Version") 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:"-"` +} - // Intent: The intent to be triggered. - Intent *GoogleCloudDialogflowCxV3beta1IntentInput `json:"intent,omitempty"` +func (s *GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} - // LanguageCode: Required. The language of the input. See [Language - // Support](https://cloud.google.com/dialogflow/docs/reference/language) - // for a list of the currently supported language codes. Note that - // queries in the same session do not necessarily need to specify the - // same language. - LanguageCode string `json:"languageCode,omitempty"` +// GoogleCloudDialogflowCxV3beta1EventHandler: An event handler +// specifies an event that can be handled during a session. When the +// specified event happens, the following actions are taken in order: * +// If there is a `trigger_fulfillment` associated with the event, it +// will be called. * If there is a `target_page` associated with the +// event, the session will transition into the specified page. * If +// there is a `target_flow` associated with the event, the session will +// transition into the specified flow. +type GoogleCloudDialogflowCxV3beta1EventHandler struct { + // Event: Required. The name of the event to handle. + Event string `json:"event,omitempty"` - // Text: The natural language text to be processed. - Text *GoogleCloudDialogflowCxV3beta1TextInput `json:"text,omitempty"` + // Name: Output only. The unique identifier of this event handler. + Name string `json:"name,omitempty"` - // ForceSendFields is a list of field names (e.g. "Audio") to + // TargetFlow: The target flow to transition to. Format: + // `projects//locations//agents//flows/`. + TargetFlow string `json:"targetFlow,omitempty"` + + // TargetPage: The target page to transition to. Format: + // `projects//locations//agents//flows//pages/`. + TargetPage string `json:"targetPage,omitempty"` + + // TriggerFulfillment: The fulfillment to call when the event occurs. + // Handling webhook errors with a fulfillment enabled with webhook could + // cause infinite loop. It is invalid to specify such fulfillment for a + // handler handling webhooks. + TriggerFulfillment *GoogleCloudDialogflowCxV3beta1Fulfillment `json:"triggerFulfillment,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Event") 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 @@ -3787,7 +3988,7 @@ type GoogleCloudDialogflowCxV3beta1QueryInput struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Audio") to include in API + // NullFields is a list of field names (e.g. "Event") 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 @@ -3796,170 +3997,84 @@ type GoogleCloudDialogflowCxV3beta1QueryInput struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3beta1QueryInput) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1QueryInput +func (s *GoogleCloudDialogflowCxV3beta1EventHandler) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1EventHandler raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1QueryParameters: Represents the -// parameters of a conversational query. -type GoogleCloudDialogflowCxV3beta1QueryParameters struct { - // AnalyzeQueryTextSentiment: Configures whether sentiment analysis - // should be performed. If not provided, sentiment analysis is not - // performed. - AnalyzeQueryTextSentiment bool `json:"analyzeQueryTextSentiment,omitempty"` +// GoogleCloudDialogflowCxV3beta1EventInput: Represents the event to +// trigger. +type GoogleCloudDialogflowCxV3beta1EventInput struct { + // Event: Name of the event. + Event string `json:"event,omitempty"` - // GeoLocation: The geo location of this conversational query. - GeoLocation *GoogleTypeLatLng `json:"geoLocation,omitempty"` + // ForceSendFields is a list of field names (e.g. "Event") 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:"-"` - // Parameters: Additional parameters to be put into session parameters. - // To remove a parameter from the session, clients should explicitly set - // the parameter value to null. Depending on your protocol or client - // library language, this is a map, associative array, symbol table, - // dictionary, or JSON object composed of a collection of (MapKey, - // MapValue) pairs: - MapKey type: string - MapKey value: parameter name - // - MapValue type: - If parameter's entity type is a composite entity: - // map - Else: string or number, depending on parameter value type - - // MapValue value: - If parameter's entity type is a composite entity: - // map from composite entity property names to property values - Else: - // parameter value - Parameters googleapi.RawMessage `json:"parameters,omitempty"` + // NullFields is a list of field names (e.g. "Event") 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:"-"` +} - // Payload: This field can be used to pass custom data into the webhook - // associated with the agent. Arbitrary JSON objects are supported. - Payload googleapi.RawMessage `json:"payload,omitempty"` +func (s *GoogleCloudDialogflowCxV3beta1EventInput) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1EventInput + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} - // SessionEntityTypes: Additional session entity types to replace or - // extend developer entity types with. The entity synonyms apply to all - // languages and persist for the session of this query. - SessionEntityTypes []*GoogleCloudDialogflowCxV3beta1SessionEntityType `json:"sessionEntityTypes,omitempty"` - - // TimeZone: The time zone of this conversational query from the [time - // zone database](https://www.iana.org/time-zones), e.g., - // America/New_York, Europe/Paris. If not provided, the time zone - // specified in the agent is used. - TimeZone string `json:"timeZone,omitempty"` - - // WebhookHeaders: This field can be used to pass HTTP headers for a - // webhook call. These headers will be sent to webhook along with the - // headers that have been configured through Dialogflow web console. The - // headers defined within this field will overwrite the headers - // configured through Dialogflow console if there is a conflict. Header - // names are case-insensitive. Google's specified headers are not - // allowed. Including: "Host", "Content-Length", "Connection", "From", - // "User-Agent", "Accept-Encoding", "If-Modified-Since", - // "If-None-Match", "X-Forwarded-For", etc. - WebhookHeaders map[string]string `json:"webhookHeaders,omitempty"` +// GoogleCloudDialogflowCxV3beta1ExportAgentRequest: The request message +// for Agents.ExportAgent. +type GoogleCloudDialogflowCxV3beta1ExportAgentRequest struct { + // AgentUri: Optional. The [Google Cloud + // Storage](https://cloud.google.com/storage/docs/) URI to export the + // agent to. The format of this URI must be `gs:///`. If left + // unspecified, the serialized agent is returned inline. + AgentUri string `json:"agentUri,omitempty"` - // ForceSendFields is a list of field names (e.g. - // "AnalyzeQueryTextSentiment") 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. "AgentUri") 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. - // "AnalyzeQueryTextSentiment") 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. "AgentUri") 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 *GoogleCloudDialogflowCxV3beta1QueryParameters) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1QueryParameters +func (s *GoogleCloudDialogflowCxV3beta1ExportAgentRequest) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1ExportAgentRequest raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1QueryResult: Represents the result of a -// conversational query. -type GoogleCloudDialogflowCxV3beta1QueryResult struct { - // CurrentPage: The current Page. Some, not all fields are filled in - // this message, including but not limited to `name` and `display_name`. - CurrentPage *GoogleCloudDialogflowCxV3beta1Page `json:"currentPage,omitempty"` - - // DiagnosticInfo: The free-form diagnostic info. For example, this - // field could contain webhook call latency. The string keys of the - // Struct's fields map can change without notice. - DiagnosticInfo googleapi.RawMessage `json:"diagnosticInfo,omitempty"` - - // Intent: The Intent that matched the conversational query. Some, not - // all fields are filled in this message, including but not limited to: - // `name` and `display_name`. This field is deprecated, please use - // QueryResult.match instead. - Intent *GoogleCloudDialogflowCxV3beta1Intent `json:"intent,omitempty"` - - // IntentDetectionConfidence: The intent detection confidence. Values - // range from 0.0 (completely uncertain) to 1.0 (completely certain). - // This value is for informational purpose only and is only used to help - // match the best intent within the classification threshold. This value - // may change for the same end-user expression at any time due to a - // model retraining or change in implementation. This field is - // deprecated, please use QueryResult.match instead. - IntentDetectionConfidence float64 `json:"intentDetectionConfidence,omitempty"` - - // LanguageCode: The language that was triggered during intent - // detection. See [Language - // Support](https://cloud.google.com/dialogflow/docs/reference/language) - // for a list of the currently supported language codes. - LanguageCode string `json:"languageCode,omitempty"` - - // Match: Intent match result, could be an intent or an event. - Match *GoogleCloudDialogflowCxV3beta1Match `json:"match,omitempty"` - - // Parameters: The collected session parameters. Depending on your - // protocol or client library language, this is a map, associative - // array, symbol table, dictionary, or JSON object composed of a - // collection of (MapKey, MapValue) pairs: - MapKey type: string - - // MapKey value: parameter name - MapValue type: - If parameter's entity - // type is a composite entity: map - Else: string or number, depending - // on parameter value type - MapValue value: - If parameter's entity - // type is a composite entity: map from composite entity property names - // to property values - Else: parameter value - Parameters googleapi.RawMessage `json:"parameters,omitempty"` - - // ResponseMessages: The list of rich messages returned to the client. - // Responses vary from simple text messages to more sophisticated, - // structured payloads used to drive complex logic. - ResponseMessages []*GoogleCloudDialogflowCxV3beta1ResponseMessage `json:"responseMessages,omitempty"` - - // SentimentAnalysisResult: The sentiment analyss result, which depends - // on `analyze_query_text_sentiment`, specified in the request. - SentimentAnalysisResult *GoogleCloudDialogflowCxV3beta1SentimentAnalysisResult `json:"sentimentAnalysisResult,omitempty"` - - // Text: If natural language text was provided as input, this field will - // contain a copy of the text. - Text string `json:"text,omitempty"` - - // Transcript: If natural language speech audio was provided as input, - // this field will contain the trascript for the audio. - Transcript string `json:"transcript,omitempty"` - - // TriggerEvent: If an event was provided as input, this field will - // contain the name of the event. - TriggerEvent string `json:"triggerEvent,omitempty"` - - // TriggerIntent: If an intent was provided as input, this field will - // contain a copy of the intent identifier. - TriggerIntent string `json:"triggerIntent,omitempty"` - - // WebhookPayloads: The list of webhook payload in - // WebhookResponse.payload, in the order of call sequence. If some - // webhook call fails or doesn't return any payload, an empty `Struct` - // would be used instead. - WebhookPayloads []googleapi.RawMessage `json:"webhookPayloads,omitempty"` +// GoogleCloudDialogflowCxV3beta1ExportAgentResponse: The response +// message for Agents.ExportAgent. +type GoogleCloudDialogflowCxV3beta1ExportAgentResponse struct { + // AgentContent: Uncompressed raw byte content for agent. + AgentContent string `json:"agentContent,omitempty"` - // WebhookStatuses: The list of webhook call status in the order of call - // sequence. - WebhookStatuses []*GoogleRpcStatus `json:"webhookStatuses,omitempty"` + // AgentUri: The URI to a file containing the exported agent. This field + // is populated only if `agent_uri` is specified in ExportAgentRequest. + AgentUri string `json:"agentUri,omitempty"` - // ForceSendFields is a list of field names (e.g. "CurrentPage") to + // ForceSendFields is a list of field names (e.g. "AgentContent") 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 @@ -3967,7 +4082,7 @@ type GoogleCloudDialogflowCxV3beta1QueryResult struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "CurrentPage") to include + // NullFields is a list of field names (e.g. "AgentContent") 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 @@ -3976,119 +4091,77 @@ type GoogleCloudDialogflowCxV3beta1QueryResult struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3beta1QueryResult) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1QueryResult +func (s *GoogleCloudDialogflowCxV3beta1ExportAgentResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1ExportAgentResponse raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -func (s *GoogleCloudDialogflowCxV3beta1QueryResult) UnmarshalJSON(data []byte) error { - type NoMethod GoogleCloudDialogflowCxV3beta1QueryResult - var s1 struct { - IntentDetectionConfidence gensupport.JSONFloat64 `json:"intentDetectionConfidence"` - *NoMethod - } - s1.NoMethod = (*NoMethod)(s) - if err := json.Unmarshal(data, &s1); err != nil { - return err - } - s.IntentDetectionConfidence = float64(s1.IntentDetectionConfidence) - return nil +// GoogleCloudDialogflowCxV3beta1ExportTestCasesMetadata: Metadata +// returned for the TestCases.ExportTestCases long running operation. +type GoogleCloudDialogflowCxV3beta1ExportTestCasesMetadata struct { } -// GoogleCloudDialogflowCxV3beta1ResponseMessage: Represents a response -// message that can be returned by a conversational agent. Response -// messages are also used for output audio synthesis. The approach is as -// follows: * If at least one OutputAudioText response is present, then -// all OutputAudioText responses are linearly concatenated, and the -// result is used for output audio synthesis. * If the OutputAudioText -// responses are a mixture of text and SSML, then the concatenated -// result is treated as SSML; otherwise, the result is treated as either -// text or SSML as appropriate. The agent designer should ideally use -// either text or SSML consistently throughout the bot design. * -// Otherwise, all Text responses are linearly concatenated, and the -// result is used for output audio synthesis. This approach allows for -// more sophisticated user experience scenarios, where the text -// displayed to the user may differ from what is heard. -type GoogleCloudDialogflowCxV3beta1ResponseMessage struct { - // ConversationSuccess: Indicates that the conversation succeeded. - ConversationSuccess *GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess `json:"conversationSuccess,omitempty"` - - // EndInteraction: Output only. A signal that indicates the interaction - // with the Dialogflow agent has ended. This message is generated by - // Dialogflow only when the conversation reaches `END_SESSION` or - // `END_PAGE` page. It is not supposed to be defined by the user. It's - // guaranteed that there is at most one such message in each response. - EndInteraction *GoogleCloudDialogflowCxV3beta1ResponseMessageEndInteraction `json:"endInteraction,omitempty"` - - // LiveAgentHandoff: Hands off conversation to a human agent. - LiveAgentHandoff *GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff `json:"liveAgentHandoff,omitempty"` - - // MixedAudio: Output only. An audio response message composed of both - // the synthesized Dialogflow agent responses and responses defined via - // play_audio. This message is generated by Dialogflow only and not - // supposed to be defined by the user. - MixedAudio *GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio `json:"mixedAudio,omitempty"` - - // OutputAudioText: A text or ssml response that is preferentially used - // for TTS output audio synthesis, as described in the comment on the - // ResponseMessage message. - OutputAudioText *GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText `json:"outputAudioText,omitempty"` - - // Payload: Returns a response containing a custom, platform-specific - // payload. - Payload googleapi.RawMessage `json:"payload,omitempty"` - - // PlayAudio: Signal that the client should play an audio clip hosted at - // a client-specific URI. Dialogflow uses this to construct mixed_audio. - // However, Dialogflow itself does not try to read or process the URI in - // any way. - PlayAudio *GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio `json:"playAudio,omitempty"` - - // Text: Returns a text response. - Text *GoogleCloudDialogflowCxV3beta1ResponseMessageText `json:"text,omitempty"` +// GoogleCloudDialogflowCxV3beta1ExportTestCasesRequest: The request +// message for TestCases.ExportTestCases. +type GoogleCloudDialogflowCxV3beta1ExportTestCasesRequest struct { + // DataFormat: The data format of the exported test cases. If not + // specified, `BLOB` is assumed. + // + // Possible values: + // "DATA_FORMAT_UNSPECIFIED" - Unspecified format. + // "BLOB" - Raw bytes. + // "JSON" - JSON format. + DataFormat string `json:"dataFormat,omitempty"` + + // Filter: The filter expression used to filter exported test cases, see + // [API Filtering](https://aip.dev/160). The expression is case + // insensitive and supports the following syntax: name = [OR name = ] + // ... For example: * "name = t1 OR name = t2" matches the test case + // with the exact resource name "t1" or "t2". + Filter string `json:"filter,omitempty"` + + // GcsUri: The [Google Cloud + // Storage](https://cloud.google.com/storage/docs/) URI to export the + // test cases to. The format of this URI must be `gs:///`. If + // unspecified, the serialized test cases is returned inline. + GcsUri string `json:"gcsUri,omitempty"` - // ForceSendFields is a list of field names (e.g. "ConversationSuccess") - // to unconditionally include in API requests. By default, fields with + // ForceSendFields is a list of field names (e.g. "DataFormat") 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. "ConversationSuccess") 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. "DataFormat") 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 *GoogleCloudDialogflowCxV3beta1ResponseMessage) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1ResponseMessage +func (s *GoogleCloudDialogflowCxV3beta1ExportTestCasesRequest) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1ExportTestCasesRequest raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess: -// Indicates that the conversation succeeded, i.e., the bot handled the -// issue that the customer talked to it about. Dialogflow only uses this -// to determine which conversations should be counted as successful and -// doesn't process the metadata in this message in any way. Note that -// Dialogflow also considers conversations that get to the conversation -// end page as successful even if they don't return ConversationSuccess. -// You may set this, for example: * In the entry_fulfillment of a Page -// if entering the page indicates that the conversation succeeded. * In -// a webhook response when you determine that you handled the customer -// issue. -type GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess struct { - // Metadata: Custom metadata. Dialogflow doesn't impose any structure on - // this. - Metadata googleapi.RawMessage `json:"metadata,omitempty"` +// GoogleCloudDialogflowCxV3beta1ExportTestCasesResponse: The response +// message for TestCases.ExportTestCases. +type GoogleCloudDialogflowCxV3beta1ExportTestCasesResponse struct { + // Content: Uncompressed raw byte content for test cases. + Content string `json:"content,omitempty"` - // ForceSendFields is a list of field names (e.g. "Metadata") to + // GcsUri: The URI to a file containing the exported test cases. This + // field is populated only if `gcs_uri` is specified in + // ExportTestCasesRequest. + GcsUri string `json:"gcsUri,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Content") 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 @@ -4096,7 +4169,7 @@ type GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Metadata") to include in + // NullFields is a list of field names (e.g. "Content") 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 @@ -4105,34 +4178,68 @@ type GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess +func (s *GoogleCloudDialogflowCxV3beta1ExportTestCasesResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1ExportTestCasesResponse raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1ResponseMessageEndInteraction: -// Indicates that interaction with the Dialogflow agent has ended. This -// message is generated by Dialogflow only and not supposed to be -// defined by the user. -type GoogleCloudDialogflowCxV3beta1ResponseMessageEndInteraction struct { -} +// GoogleCloudDialogflowCxV3beta1Flow: Flows represents the conversation +// flows when you build your chatbot agent. A flow consists of many +// pages connected by the transition routes. Conversations always start +// with the built-in Start Flow (with an all-0 ID). Transition routes +// can direct the conversation session from the current flow (parent +// flow) to another flow (sub flow). When the sub flow is finished, +// Dialogflow will bring the session back to the parent flow, where the +// sub flow is started. Usually, when a transition route is followed by +// a matched intent, the intent will be "consumed". This means the +// intent won't activate more transition routes. However, when the +// followed transition route moves the conversation session into a +// different flow, the matched intent can be carried over and to be +// consumed in the target flow. +type GoogleCloudDialogflowCxV3beta1Flow struct { + // Description: The description of the flow. The maximum length is 500 + // characters. If exceeded, the request is rejected. + Description string `json:"description,omitempty"` -// GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff: -// Indicates that the conversation should be handed off to a live agent. -// Dialogflow only uses this to determine which conversations were -// handed off to a human agent for measurement purposes. What else to do -// with this signal is up to you and your handoff procedures. You may -// set this, for example: * In the entry_fulfillment of a Page if -// entering the page indicates something went extremely wrong in the -// conversation. * In a webhook response when you determine that the -// customer issue can only be handled by a human. -type GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff struct { - // Metadata: Custom metadata for your handoff procedure. Dialogflow - // doesn't impose any structure on this. - Metadata googleapi.RawMessage `json:"metadata,omitempty"` + // DisplayName: Required. The human-readable name of the flow. + DisplayName string `json:"displayName,omitempty"` - // ForceSendFields is a list of field names (e.g. "Metadata") to + // EventHandlers: A flow's event handlers serve two purposes: * They are + // responsible for handling events (e.g. no match, webhook errors) in + // the flow. * They are inherited by every page's event handlers, which + // can be used to handle common events regardless of the current page. + // Event handlers defined in the page have higher priority than those + // defined in the flow. Unlike transition_routes, these handlers are + // evaluated on a first-match basis. The first one that matches the + // event get executed, with the rest being ignored. + EventHandlers []*GoogleCloudDialogflowCxV3beta1EventHandler `json:"eventHandlers,omitempty"` + + // Name: The unique identifier of the flow. Format: + // `projects//locations//agents//flows/`. + Name string `json:"name,omitempty"` + + // NluSettings: NLU related settings of the flow. + NluSettings *GoogleCloudDialogflowCxV3beta1NluSettings `json:"nluSettings,omitempty"` + + // TransitionRoutes: A flow's transition routes serve two purposes: * + // They are responsible for matching the user's first utterances in the + // flow. * They are inherited by every page's transition routes and can + // support use cases such as the user saying "help" or "can I talk to a + // human?", which can be handled in a common way regardless of the + // current page. Transition routes defined in the page have higher + // priority than those defined in the flow. TransitionRoutes are + // evalauted in the following order: * TransitionRoutes with intent + // specified.. * TransitionRoutes with only condition specified. + // TransitionRoutes with intent specified are inherited by pages in the + // flow. + TransitionRoutes []*GoogleCloudDialogflowCxV3beta1TransitionRoute `json:"transitionRoutes,omitempty"` + + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` + + // 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 @@ -4140,32 +4247,32 @@ type GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Metadata") 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 + // 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 *GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff +func (s *GoogleCloudDialogflowCxV3beta1Flow) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1Flow raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio: Represents -// an audio message that is composed of both segments synthesized from -// the Dialogflow agent prompts and ones hosted externally at the -// specified URIs. The external URIs are specified via play_audio. This -// message is generated by Dialogflow only and not supposed to be -// defined by the user. -type GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio struct { - // Segments: Segments this audio response is composed of. - Segments []*GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment `json:"segments,omitempty"` +// GoogleCloudDialogflowCxV3beta1Form: A form is a data model that +// groups related parameters that can be collected from the user. The +// process in which the agent prompts the user and collects parameter +// values from the user is called form filling. A form can be added to a +// page. When form filling is done, the filled parameters will be +// written to the session. +type GoogleCloudDialogflowCxV3beta1Form struct { + // Parameters: Parameters to collect from the user. + Parameters []*GoogleCloudDialogflowCxV3beta1FormParameter `json:"parameters,omitempty"` - // ForceSendFields is a list of field names (e.g. "Segments") to + // ForceSendFields is a list of field names (e.g. "Parameters") 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 @@ -4173,7 +4280,7 @@ type GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Segments") to include in + // NullFields is a list of field names (e.g. "Parameters") 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 @@ -4182,72 +4289,107 @@ type GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio +func (s *GoogleCloudDialogflowCxV3beta1Form) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1Form raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment: -// Represents one segment of audio. -type GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment struct { - // AllowPlaybackInterruption: Output only. Whether the playback of this - // segment can be interrupted by the end user's speech and the client - // should then start the next Dialogflow request. - AllowPlaybackInterruption bool `json:"allowPlaybackInterruption,omitempty"` +// GoogleCloudDialogflowCxV3beta1FormParameter: Represents a form +// parameter. +type GoogleCloudDialogflowCxV3beta1FormParameter struct { + // DefaultValue: The default value of an optional parameter. If the + // parameter is required, the default value will be ignored. + DefaultValue interface{} `json:"defaultValue,omitempty"` - // Audio: Raw audio synthesized from the Dialogflow agent's response - // using the output config specified in the request. - Audio string `json:"audio,omitempty"` + // DisplayName: Required. The human-readable name of the parameter, + // unique within the form. + DisplayName string `json:"displayName,omitempty"` - // Uri: Client-specific URI that points to an audio clip accessible to - // the client. Dialogflow does not impose any validation on it. - Uri string `json:"uri,omitempty"` + // EntityType: Required. The entity type of the parameter. Format: + // `projects/-/locations/-/agents/-/entityTypes/` for system entity + // types (for example, + // `projects/-/locations/-/agents/-/entityTypes/sys.date`), or + // `projects//locations//agents//entityTypes/` for developer entity + // types. + EntityType string `json:"entityType,omitempty"` - // ForceSendFields is a list of field names (e.g. - // "AllowPlaybackInterruption") 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. + // FillBehavior: Required. Defines fill behavior for the parameter. + FillBehavior *GoogleCloudDialogflowCxV3beta1FormParameterFillBehavior `json:"fillBehavior,omitempty"` + + // IsList: Indicates whether the parameter represents a list of values. + IsList bool `json:"isList,omitempty"` + + // Redact: Indicates whether the parameter content is logged in text and + // audio. If it is set to true, the parameter content will be replaced + // to parameter name in both request and response. The default value is + // false. + Redact bool `json:"redact,omitempty"` + + // Required: Indicates whether the parameter is required. Optional + // parameters will not trigger prompts; however, they are filled if the + // user specifies them. Required parameters must be filled before form + // filling concludes. + Required bool `json:"required,omitempty"` + + // ForceSendFields is a list of field names (e.g. "DefaultValue") 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. - // "AllowPlaybackInterruption") 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. "DefaultValue") 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 *GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment +func (s *GoogleCloudDialogflowCxV3beta1FormParameter) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1FormParameter raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText: A text -// or ssml response that is preferentially used for TTS output audio -// synthesis, as described in the comment on the ResponseMessage -// message. -type GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText struct { - // AllowPlaybackInterruption: Output only. Whether the playback of this - // message can be interrupted by the end user's speech and the client - // can then starts the next Dialogflow request. - AllowPlaybackInterruption bool `json:"allowPlaybackInterruption,omitempty"` - - // Ssml: The SSML text to be synthesized. For more information, see - // [SSML](/speech/text-to-speech/docs/ssml). - Ssml string `json:"ssml,omitempty"` +// GoogleCloudDialogflowCxV3beta1FormParameterFillBehavior: +// Configuration for how the filling of a parameter should be handled. +type GoogleCloudDialogflowCxV3beta1FormParameterFillBehavior struct { + // InitialPromptFulfillment: Required. The fulfillment to provide the + // initial prompt that the agent can present to the user in order to + // fill the parameter. + InitialPromptFulfillment *GoogleCloudDialogflowCxV3beta1Fulfillment `json:"initialPromptFulfillment,omitempty"` - // Text: The raw text to be synthesized. - Text string `json:"text,omitempty"` + // RepromptEventHandlers: The handlers for parameter-level events, used + // to provide reprompt for the parameter or transition to a different + // page/flow. The supported events are: * `sys.no-match-`, where N can + // be from 1 to 6 * `sys.no-match-default` * `sys.no-input-`, where N + // can be from 1 to 6 * `sys.no-input-default` * `sys.invalid-parameter` + // `initial_prompt_fulfillment` provides the first prompt for the + // parameter. If the user's response does not fill the parameter, a + // no-match/no-input event will be triggered, and the fulfillment + // associated with the `sys.no-match-1`/`sys.no-input-1` handler (if + // defined) will be called to provide a prompt. The + // `sys.no-match-2`/`sys.no-input-2` handler (if defined) will respond + // to the next no-match/no-input event, and so on. A + // `sys.no-match-default` or `sys.no-input-default` handler will be used + // to handle all following no-match/no-input events after all numbered + // no-match/no-input handlers for the parameter are consumed. A + // `sys.invalid-parameter` handler can be defined to handle the case + // where the parameter values have been `invalidated` by webhook. For + // example, if the user's response fill the parameter, however the + // parameter was invalidated by webhook, the fulfillment associated with + // the `sys.invalid-parameter` handler (if defined) will be called to + // provide a prompt. If the event handler for the corresponding event + // can't be found on the parameter, `initial_prompt_fulfillment` will be + // re-prompted. + RepromptEventHandlers []*GoogleCloudDialogflowCxV3beta1EventHandler `json:"repromptEventHandlers,omitempty"` // ForceSendFields is a list of field names (e.g. - // "AllowPlaybackInterruption") to unconditionally include in API + // "InitialPromptFulfillment") 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 @@ -4255,108 +4397,90 @@ type GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText struct { // Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. - // "AllowPlaybackInterruption") 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. "InitialPromptFulfillment") + // 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 *GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText +func (s *GoogleCloudDialogflowCxV3beta1FormParameterFillBehavior) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1FormParameterFillBehavior raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio: Specifies an -// audio clip to be played by the client as part of the response. -type GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio struct { - // AllowPlaybackInterruption: Output only. Whether the playback of this - // message can be interrupted by the end user's speech and the client - // can then starts the next Dialogflow request. - AllowPlaybackInterruption bool `json:"allowPlaybackInterruption,omitempty"` +// GoogleCloudDialogflowCxV3beta1FulfillIntentRequest: Request of +// FulfillIntent +type GoogleCloudDialogflowCxV3beta1FulfillIntentRequest struct { + // Match: The matched intent/event to fulfill. + Match *GoogleCloudDialogflowCxV3beta1Match `json:"match,omitempty"` - // AudioUri: Required. URI of the audio clip. Dialogflow does not impose - // any validation on this value. It is specific to the client that reads - // it. - AudioUri string `json:"audioUri,omitempty"` + // MatchIntentRequest: Must be same as the corresponding MatchIntent + // request, otherwise the behavior is undefined. + MatchIntentRequest *GoogleCloudDialogflowCxV3beta1MatchIntentRequest `json:"matchIntentRequest,omitempty"` - // ForceSendFields is a list of field names (e.g. - // "AllowPlaybackInterruption") 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. + // OutputAudioConfig: Instructs the speech synthesizer how to generate + // output audio. + OutputAudioConfig *GoogleCloudDialogflowCxV3beta1OutputAudioConfig `json:"outputAudioConfig,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Match") 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. - // "AllowPlaybackInterruption") 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. "Match") 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 *GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio +func (s *GoogleCloudDialogflowCxV3beta1FulfillIntentRequest) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1FulfillIntentRequest raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1ResponseMessageText: The text response -// message. -type GoogleCloudDialogflowCxV3beta1ResponseMessageText struct { - // AllowPlaybackInterruption: Output only. Whether the playback of this - // message can be interrupted by the end user's speech and the client - // can then starts the next Dialogflow request. - AllowPlaybackInterruption bool `json:"allowPlaybackInterruption,omitempty"` - - // Text: Required. A collection of text responses. - Text []string `json:"text,omitempty"` - - // ForceSendFields is a list of field names (e.g. - // "AllowPlaybackInterruption") 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:"-"` +// GoogleCloudDialogflowCxV3beta1FulfillIntentResponse: Response of +// FulfillIntent +type GoogleCloudDialogflowCxV3beta1FulfillIntentResponse struct { + // OutputAudio: The audio data bytes encoded as specified in the + // request. Note: The output audio is generated based on the values of + // default platform text responses found in the + // `query_result.response_messages` field. If multiple default text + // responses exist, they will be concatenated when generating audio. If + // no default platform text responses exist, the generated audio content + // will be empty. In some scenarios, multiple output audio fields may be + // present in the response structure. In these cases, only the + // top-most-level audio output has content. + OutputAudio string `json:"outputAudio,omitempty"` - // NullFields is a list of field names (e.g. - // "AllowPlaybackInterruption") 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:"-"` -} + // OutputAudioConfig: The config used by the speech synthesizer to + // generate the output audio. + OutputAudioConfig *GoogleCloudDialogflowCxV3beta1OutputAudioConfig `json:"outputAudioConfig,omitempty"` -func (s *GoogleCloudDialogflowCxV3beta1ResponseMessageText) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1ResponseMessageText - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} + // QueryResult: The result of the conversational query. + QueryResult *GoogleCloudDialogflowCxV3beta1QueryResult `json:"queryResult,omitempty"` -// GoogleCloudDialogflowCxV3beta1RestoreAgentRequest: The request -// message for Agents.RestoreAgent. -type GoogleCloudDialogflowCxV3beta1RestoreAgentRequest struct { - // AgentContent: Uncompressed raw byte content for agent. - AgentContent string `json:"agentContent,omitempty"` + // ResponseId: Output only. The unique identifier of the response. It + // can be used to locate a response in the training example set or for + // reporting issues. + ResponseId string `json:"responseId,omitempty"` - // AgentUri: The [Google Cloud - // Storage](https://cloud.google.com/storage/docs/) URI to restore agent - // from. The format of this URI must be `gs:///`. - AgentUri string `json:"agentUri,omitempty"` + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` - // ForceSendFields is a list of field names (e.g. "AgentContent") to + // ForceSendFields is a list of field names (e.g. "OutputAudio") 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 @@ -4364,7 +4488,7 @@ type GoogleCloudDialogflowCxV3beta1RestoreAgentRequest struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "AgentContent") to include + // NullFields is a list of field names (e.g. "OutputAudio") 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 @@ -4373,71 +4497,41 @@ type GoogleCloudDialogflowCxV3beta1RestoreAgentRequest struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3beta1RestoreAgentRequest) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1RestoreAgentRequest +func (s *GoogleCloudDialogflowCxV3beta1FulfillIntentResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1FulfillIntentResponse raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1SecuritySettings: Represents the -// settings related to security issues, such as data redaction and data -// retention. It may take hours for updates on the settings to propagate -// to all the related components and take effect. -type GoogleCloudDialogflowCxV3beta1SecuritySettings struct { - // DisplayName: Required. The human-readable name of the security - // settings, unique within the location. - DisplayName string `json:"displayName,omitempty"` - - // InspectTemplate: DLP inspect template name. Use this template to - // define inspect base settings. If empty, we use the default DLP - // inspect config. The template name will have one of the following - // formats: `projects/PROJECT_ID/inspectTemplates/TEMPLATE_ID` OR - // `organizations/ORGANIZATION_ID/inspectTemplates/TEMPLATE_ID` - InspectTemplate string `json:"inspectTemplate,omitempty"` - - // Name: Required. Resource name of the settings. Format: - // `projects//locations//securitySettings/`. - Name string `json:"name,omitempty"` - - // PurgeDataTypes: List of types of data to remove when retention - // settings triggers purge. - // - // Possible values: - // "PURGE_DATA_TYPE_UNSPECIFIED" - Unspecified. Do not use. - // "DIALOGFLOW_HISTORY" - Dialogflow history. This does not include - // Stackdriver log, which is owned by the user not Dialogflow. - PurgeDataTypes []string `json:"purgeDataTypes,omitempty"` +// GoogleCloudDialogflowCxV3beta1Fulfillment: A fulfillment can do one +// or more of the following actions at the same time: * Generate rich +// message responses. * Set parameter values. * Call the webhook. +// Fulfillments can be called at various stages in the Page or Form +// lifecycle. For example, when a DetectIntentRequest drives a session +// to enter a new page, the page's entry fulfillment can add a static +// response to the QueryResult in the returning DetectIntentResponse, +// call the webhook (for example, to load user data from a database), or +// both. +type GoogleCloudDialogflowCxV3beta1Fulfillment struct { + // ConditionalCases: Conditional cases for this fulfillment. + ConditionalCases []*GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases `json:"conditionalCases,omitempty"` - // RedactionScope: Defines on what data we apply redaction. Note that we - // don't redact data to which we don't have access, e.g., Stackdriver - // logs. - // - // Possible values: - // "REDACTION_SCOPE_UNSPECIFIED" - Don't redact any kind of data. - // "REDACT_DISK_STORAGE" - On data to be written to disk or similar - // devices that are capable of holding data even if power is - // disconnected. This includes data that are temporarily saved on disk. - RedactionScope string `json:"redactionScope,omitempty"` + // Messages: The list of rich message responses to present to the user. + Messages []*GoogleCloudDialogflowCxV3beta1ResponseMessage `json:"messages,omitempty"` - // RedactionStrategy: Strategy that defines how we do redaction. - // - // Possible values: - // "REDACTION_STRATEGY_UNSPECIFIED" - Do not redact. - // "REDACT_WITH_SERVICE" - Call redaction service to clean up the data - // to be persisted. - RedactionStrategy string `json:"redactionStrategy,omitempty"` + // SetParameterActions: Set parameter values before executing the + // webhook. + SetParameterActions []*GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction `json:"setParameterActions,omitempty"` - // RetentionWindowDays: Retains the data for the specified number of - // days. User must Set a value lower than Dialogflow's default 30d TTL. - // Setting a value higher than that has no effect. A missing value or - // setting to 0 also means we use Dialogflow's default TTL. - RetentionWindowDays int64 `json:"retentionWindowDays,omitempty"` + // Tag: The tag used by the webhook to identify which fulfillment is + // being called. This field is required if `webhook` is specified. + Tag string `json:"tag,omitempty"` - // ServerResponse contains the HTTP response code and headers from the - // server. - googleapi.ServerResponse `json:"-"` + // Webhook: The webhook to call. Format: + // `projects//locations//agents//webhooks/`. + Webhook string `json:"webhook,omitempty"` - // ForceSendFields is a list of field names (e.g. "DisplayName") to + // ForceSendFields is a list of field names (e.g. "ConditionalCases") 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 @@ -4445,36 +4539,30 @@ type GoogleCloudDialogflowCxV3beta1SecuritySettings struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "DisplayName") 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. "ConditionalCases") 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 *GoogleCloudDialogflowCxV3beta1SecuritySettings) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1SecuritySettings +func (s *GoogleCloudDialogflowCxV3beta1Fulfillment) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1Fulfillment raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1SentimentAnalysisResult: The result of -// sentiment analysis. Sentiment analysis inspects user input and -// identifies the prevailing subjective opinion, especially to determine -// a user's attitude as positive, negative, or neutral. -type GoogleCloudDialogflowCxV3beta1SentimentAnalysisResult struct { - // Magnitude: A non-negative number in the [0, +inf) range, which - // represents the absolute magnitude of sentiment, regardless of score - // (positive or negative). - Magnitude float64 `json:"magnitude,omitempty"` - - // Score: Sentiment score between -1.0 (negative sentiment) and 1.0 - // (positive sentiment). - Score float64 `json:"score,omitempty"` +// GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases: A list of +// cascading if-else conditions. Cases are mutually exclusive. The first +// one with a matching condition is selected, all the rest ignored. +type GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases struct { + // Cases: A list of cascading if-else conditions. + Cases []*GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase `json:"cases,omitempty"` - // ForceSendFields is a list of field names (e.g. "Magnitude") to + // ForceSendFields is a list of field names (e.g. "Cases") 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 @@ -4482,8 +4570,8 @@ type GoogleCloudDialogflowCxV3beta1SentimentAnalysisResult struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Magnitude") to include in - // API requests with the JSON null value. By default, fields with empty + // NullFields is a list of field names (e.g. "Cases") 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. @@ -4491,75 +4579,60 @@ type GoogleCloudDialogflowCxV3beta1SentimentAnalysisResult struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3beta1SentimentAnalysisResult) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1SentimentAnalysisResult +func (s *GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -func (s *GoogleCloudDialogflowCxV3beta1SentimentAnalysisResult) UnmarshalJSON(data []byte) error { - type NoMethod GoogleCloudDialogflowCxV3beta1SentimentAnalysisResult - var s1 struct { - Magnitude gensupport.JSONFloat64 `json:"magnitude"` - Score gensupport.JSONFloat64 `json:"score"` - *NoMethod - } - s1.NoMethod = (*NoMethod)(s) - if err := json.Unmarshal(data, &s1); err != nil { - return err - } - s.Magnitude = float64(s1.Magnitude) - s.Score = float64(s1.Score) - return nil -} +// GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase: Each +// case has a Boolean condition. When it is evaluated to be True, the +// corresponding messages will be selected and evaluated recursively. +type GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase struct { + // CaseContent: A list of case content. + CaseContent []*GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContent `json:"caseContent,omitempty"` -// GoogleCloudDialogflowCxV3beta1SessionEntityType: Session entity types -// are referred to as **User** entity types and are entities that are -// built for an individual user such as favorites, preferences, -// playlists, and so on. You can redefine a session entity type at the -// session level to extend or replace a custom entity type at the user -// session level (we refer to the entity types defined at the agent -// level as "custom entity types"). Note: session entity types apply to -// all queries, regardless of the language. For more information about -// entity types, see the [Dialogflow -// documentation](https://cloud.google.com/dialogflow/docs/entities-overv -// iew). -type GoogleCloudDialogflowCxV3beta1SessionEntityType struct { - // Entities: Required. The collection of entities to override or - // supplement the custom entity type. - Entities []*GoogleCloudDialogflowCxV3beta1EntityTypeEntity `json:"entities,omitempty"` + // Condition: The condition to activate and select this case. Empty + // means the condition is always true. The condition is evaluated + // against form parameters or session parameters. See the [conditions + // reference](https://cloud.google.com/dialogflow/cx/docs/reference/condi + // tion). + Condition string `json:"condition,omitempty"` - // EntityOverrideMode: Required. Indicates whether the additional data - // should override or supplement the custom entity type definition. - // - // Possible values: - // "ENTITY_OVERRIDE_MODE_UNSPECIFIED" - Not specified. This value - // should be never used. - // "ENTITY_OVERRIDE_MODE_OVERRIDE" - The collection of session - // entities overrides the collection of entities in the corresponding - // custom entity type. - // "ENTITY_OVERRIDE_MODE_SUPPLEMENT" - The collection of session - // entities extends the collection of entities in the corresponding - // custom entity type. Note: Even in this override mode calls to - // `ListSessionEntityTypes`, `GetSessionEntityType`, - // `CreateSessionEntityType` and `UpdateSessionEntityType` only return - // the additional entities added in this session entity type. If you - // want to get the supplemented list, please call - // EntityTypes.GetEntityType on the custom entity type and merge. - EntityOverrideMode string `json:"entityOverrideMode,omitempty"` + // ForceSendFields is a list of field names (e.g. "CaseContent") 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:"-"` - // Name: Required. The unique identifier of the session entity type. - // Format: `projects//locations//agents//sessions//entityTypes/` or - // `projects//locations//agents//environments//sessions//entityTypes/`. - // If `Environment ID` is not specified, we assume default 'draft' - // environment. - Name string `json:"name,omitempty"` + // NullFields is a list of field names (e.g. "CaseContent") 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:"-"` +} - // ServerResponse contains the HTTP response code and headers from the - // server. - googleapi.ServerResponse `json:"-"` +func (s *GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} - // ForceSendFields is a list of field names (e.g. "Entities") to +// GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseConte +// nt: The list of messages or conditional cases to activate for this +// case. +type GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContent struct { + // AdditionalCases: Additional cases to be evaluated. + AdditionalCases *GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases `json:"additionalCases,omitempty"` + + // Message: Returned message. + Message *GoogleCloudDialogflowCxV3beta1ResponseMessage `json:"message,omitempty"` + + // ForceSendFields is a list of field names (e.g. "AdditionalCases") 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 @@ -4567,39 +4640,33 @@ type GoogleCloudDialogflowCxV3beta1SessionEntityType struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Entities") 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. "AdditionalCases") 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 *GoogleCloudDialogflowCxV3beta1SessionEntityType) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1SessionEntityType +func (s *GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContent) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContent raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1SessionInfo: Represents session -// information communicated to and from the webhook. -type GoogleCloudDialogflowCxV3beta1SessionInfo struct { - // Parameters: Optional for WebhookRequest. Optional for - // WebhookResponse. All parameters collected from forms and intents - // during the session. Parameters can be created, updated, or removed by - // the webhook. To remove a parameter from the session, the webhook - // should explicitly set the parameter value to null in WebhookResponse. - // The map is keyed by parameters' display names. - Parameters googleapi.RawMessage `json:"parameters,omitempty"` +// GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction: Setting +// a parameter value. +type GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction struct { + // Parameter: Display name of the parameter. + Parameter string `json:"parameter,omitempty"` - // Session: Always present for WebhookRequest. Ignored for - // WebhookResponse. The unique identifier of the session. This field can - // be used by the webhook to identify a user. Format: - // `projects//locations//agents//sessions/`. - Session string `json:"session,omitempty"` + // Value: The new value of the parameter. A null value clears the + // parameter. + Value interface{} `json:"value,omitempty"` - // ForceSendFields is a list of field names (e.g. "Parameters") to + // ForceSendFields is a list of field names (e.g. "Parameter") 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 @@ -4607,7 +4674,7 @@ type GoogleCloudDialogflowCxV3beta1SessionInfo struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Parameters") to include in + // NullFields is a list of field names (e.g. "Parameter") 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 @@ -4616,80 +4683,54 @@ type GoogleCloudDialogflowCxV3beta1SessionInfo struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3beta1SessionInfo) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1SessionInfo +func (s *GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1SpeechToTextSettings: Settings related -// to speech recognition. -type GoogleCloudDialogflowCxV3beta1SpeechToTextSettings struct { - // EnableSpeechAdaptation: Whether to use speech adaptation for speech - // recognition. - EnableSpeechAdaptation bool `json:"enableSpeechAdaptation,omitempty"` +// GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata: +// Metadata in google::longrunning::Operation for Knowledge operations. +type GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata struct { + // State: Required. Output only. The current state of this operation. + // + // Possible values: + // "STATE_UNSPECIFIED" - State unspecified. + // "PENDING" - The operation has been created. + // "RUNNING" - The operation is currently running. + // "DONE" - The operation is done, either cancelled or completed. + State string `json:"state,omitempty"` - // ForceSendFields is a list of field names (e.g. - // "EnableSpeechAdaptation") 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. "State") 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. "EnableSpeechAdaptation") - // 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. "State") 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 *GoogleCloudDialogflowCxV3beta1SpeechToTextSettings) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1SpeechToTextSettings +func (s *GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1SynthesizeSpeechConfig: Configuration -// of how speech should be synthesized. -type GoogleCloudDialogflowCxV3beta1SynthesizeSpeechConfig struct { - // EffectsProfileId: Optional. An identifier which selects 'audio - // effects' profiles that are applied on (post synthesized) text to - // speech. Effects are applied on top of each other in the order they - // are given. - EffectsProfileId []string `json:"effectsProfileId,omitempty"` - - // Pitch: Optional. Speaking pitch, in the range [-20.0, 20.0]. 20 means - // increase 20 semitones from the original pitch. -20 means decrease 20 - // semitones from the original pitch. - Pitch float64 `json:"pitch,omitempty"` - - // SpeakingRate: Optional. Speaking rate/speed, in the range [0.25, - // 4.0]. 1.0 is the normal native speed supported by the specific voice. - // 2.0 is twice as fast, and 0.5 is half as fast. If unset(0.0), - // defaults to the native 1.0 speed. Any other values < 0.25 or > 4.0 - // will return an error. - SpeakingRate float64 `json:"speakingRate,omitempty"` - - // Voice: Optional. The desired voice of the synthesized audio. - Voice *GoogleCloudDialogflowCxV3beta1VoiceSelectionParams `json:"voice,omitempty"` - - // VolumeGainDb: Optional. Volume gain (in dB) of the normal native - // volume supported by the specific voice, in the range [-96.0, 16.0]. - // If unset, or set to a value of 0.0 (dB), will play at normal native - // signal amplitude. A value of -6.0 (dB) will play at approximately - // half the amplitude of the normal native signal amplitude. A value of - // +6.0 (dB) will play at approximately twice the amplitude of the - // normal native signal amplitude. We strongly recommend not to exceed - // +10 (dB) as there's usually no effective increase in loudness for any - // value greater than that. - VolumeGainDb float64 `json:"volumeGainDb,omitempty"` +// GoogleCloudDialogflowCxV3beta1ImportDocumentsOperationMetadata: +// Metadata for ImportDocuments operation. +type GoogleCloudDialogflowCxV3beta1ImportDocumentsOperationMetadata struct { + // GenericMetadata: The generic information of the operation. + GenericMetadata *GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata `json:"genericMetadata,omitempty"` - // ForceSendFields is a list of field names (e.g. "EffectsProfileId") to + // ForceSendFields is a list of field names (e.g. "GenericMetadata") 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 @@ -4697,7 +4738,7 @@ type GoogleCloudDialogflowCxV3beta1SynthesizeSpeechConfig struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "EffectsProfileId") to + // NullFields is a list of field names (e.g. "GenericMetadata") 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 @@ -4707,38 +4748,20 @@ type GoogleCloudDialogflowCxV3beta1SynthesizeSpeechConfig struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3beta1SynthesizeSpeechConfig) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1SynthesizeSpeechConfig +func (s *GoogleCloudDialogflowCxV3beta1ImportDocumentsOperationMetadata) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1ImportDocumentsOperationMetadata raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -func (s *GoogleCloudDialogflowCxV3beta1SynthesizeSpeechConfig) UnmarshalJSON(data []byte) error { - type NoMethod GoogleCloudDialogflowCxV3beta1SynthesizeSpeechConfig - var s1 struct { - Pitch gensupport.JSONFloat64 `json:"pitch"` - SpeakingRate gensupport.JSONFloat64 `json:"speakingRate"` - VolumeGainDb gensupport.JSONFloat64 `json:"volumeGainDb"` - *NoMethod - } - s1.NoMethod = (*NoMethod)(s) - if err := json.Unmarshal(data, &s1); err != nil { - return err - } - s.Pitch = float64(s1.Pitch) - s.SpeakingRate = float64(s1.SpeakingRate) - s.VolumeGainDb = float64(s1.VolumeGainDb) - return nil -} - -// GoogleCloudDialogflowCxV3beta1TextInput: Represents the natural -// language text to be processed. -type GoogleCloudDialogflowCxV3beta1TextInput struct { - // Text: Required. The UTF-8 encoded natural language text to be - // processed. Text length must not exceed 256 characters. - Text string `json:"text,omitempty"` +// GoogleCloudDialogflowCxV3beta1ImportDocumentsResponse: Response +// message for Documents.ImportDocuments. +type GoogleCloudDialogflowCxV3beta1ImportDocumentsResponse struct { + // Warnings: Includes details about skipped documents or any other + // warnings. + Warnings []*GoogleRpcStatus `json:"warnings,omitempty"` - // ForceSendFields is a list of field names (e.g. "Text") to + // ForceSendFields is a list of field names (e.g. "Warnings") 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 @@ -4746,8 +4769,8 @@ type GoogleCloudDialogflowCxV3beta1TextInput struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Text") to include in API - // requests with the JSON null value. By default, fields with empty + // NullFields is a list of field names (e.g. "Warnings") 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. @@ -4755,61 +4778,53 @@ type GoogleCloudDialogflowCxV3beta1TextInput struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3beta1TextInput) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1TextInput +func (s *GoogleCloudDialogflowCxV3beta1ImportDocumentsResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1ImportDocumentsResponse raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1TrainFlowRequest: The request message -// for Flows.TrainFlow. -type GoogleCloudDialogflowCxV3beta1TrainFlowRequest struct { -} - -// GoogleCloudDialogflowCxV3beta1TransitionRoute: A transition route -// specifies a intent that can be matched and/or a data condition that -// can be evaluated during a session. When a specified transition is -// matched, the following actions are taken in order: * If there is a -// `trigger_fulfillment` associated with the transition, it will be -// called. * If there is a `target_page` associated with the transition, -// the session will transition into the specified page. * If there is a -// `target_flow` associated with the transition, the session will -// transition into the specified flow. -type GoogleCloudDialogflowCxV3beta1TransitionRoute struct { - // Condition: The condition to evaluate against form parameters or - // session parameters. See the [conditions - // reference](https://cloud.google.com/dialogflow/cx/docs/reference/condi - // tion). At least one of `intent` or `condition` must be specified. - // When both `intent` and `condition` are specified, the transition can - // only happen when both are fulfilled. - Condition string `json:"condition,omitempty"` +// GoogleCloudDialogflowCxV3beta1ImportTestCasesMetadata: Metadata +// returned for the TestCases.ImportTestCases long running operation. +type GoogleCloudDialogflowCxV3beta1ImportTestCasesMetadata struct { + // Errors: Errors for failed test cases. + Errors []*GoogleCloudDialogflowCxV3beta1TestCaseError `json:"errors,omitempty"` - // Intent: The unique identifier of an Intent. Format: - // `projects//locations//agents//intents/`. Indicates that the - // transition can only happen when the given intent is matched. At least - // one of `intent` or `condition` must be specified. When both `intent` - // and `condition` are specified, the transition can only happen when - // both are fulfilled. - Intent string `json:"intent,omitempty"` + // ForceSendFields is a list of field names (e.g. "Errors") 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:"-"` - // Name: Output only. The unique identifier of this transition route. - Name string `json:"name,omitempty"` + // NullFields is a list of field names (e.g. "Errors") 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:"-"` +} - // TargetFlow: The target flow to transition to. Format: - // `projects//locations//agents//flows/`. - TargetFlow string `json:"targetFlow,omitempty"` +func (s *GoogleCloudDialogflowCxV3beta1ImportTestCasesMetadata) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1ImportTestCasesMetadata + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} - // TargetPage: The target page to transition to. Format: - // `projects//locations//agents//flows//pages/`. - TargetPage string `json:"targetPage,omitempty"` +// GoogleCloudDialogflowCxV3beta1ImportTestCasesRequest: The request +// message for TestCases.ImportTestCases. +type GoogleCloudDialogflowCxV3beta1ImportTestCasesRequest struct { + // Content: Uncompressed raw byte content for test cases. + Content string `json:"content,omitempty"` - // TriggerFulfillment: The fulfillment to call when the condition is - // satisfied. At least one of `trigger_fulfillment` and `target` must be - // specified. When both are defined, `trigger_fulfillment` is executed - // first. - TriggerFulfillment *GoogleCloudDialogflowCxV3beta1Fulfillment `json:"triggerFulfillment,omitempty"` + // GcsUri: The [Google Cloud + // Storage](https://cloud.google.com/storage/docs/) URI to import test + // cases from. The format of this URI must be `gs:///`. + GcsUri string `json:"gcsUri,omitempty"` - // ForceSendFields is a list of field names (e.g. "Condition") to + // ForceSendFields is a list of field names (e.g. "Content") 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 @@ -4817,7 +4832,7 @@ type GoogleCloudDialogflowCxV3beta1TransitionRoute struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Condition") to include in + // NullFields is a list of field names (e.g. "Content") 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 @@ -4826,38 +4841,20 @@ type GoogleCloudDialogflowCxV3beta1TransitionRoute struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3beta1TransitionRoute) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1TransitionRoute +func (s *GoogleCloudDialogflowCxV3beta1ImportTestCasesRequest) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1ImportTestCasesRequest raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1TransitionRouteGroup: An -// TransitionRouteGroup represents a group of `TransitionRoutes` to be -// used by a Page. -type GoogleCloudDialogflowCxV3beta1TransitionRouteGroup struct { - // DisplayName: Required. The human-readable name of the transition - // route group, unique within the Agent. The display name can be no - // longer than 30 characters. - DisplayName string `json:"displayName,omitempty"` - - // Name: The unique identifier of the transition route group. - // TransitionRouteGroups.CreateTransitionRouteGroup populates the name - // automatically. Format: - // `projects//locations//agents//flows//transitionRouteGroups/`. - Name string `json:"name,omitempty"` - - // TransitionRoutes: Transition routes associated with the - // TransitionRouteGroup. Duplicate transition routes (i.e. using the - // same `intent`) are not allowed. Note that the `name` field is not - // used in the transition route group scope. - TransitionRoutes []*GoogleCloudDialogflowCxV3beta1TransitionRoute `json:"transitionRoutes,omitempty"` - - // ServerResponse contains the HTTP response code and headers from the - // server. - googleapi.ServerResponse `json:"-"` +// GoogleCloudDialogflowCxV3beta1ImportTestCasesResponse: The response +// message for TestCases.ImportTestCases. +type GoogleCloudDialogflowCxV3beta1ImportTestCasesResponse struct { + // Names: The unique identifiers of the new test cases. Format: + // `projects//locations//agents//testCases/`. + Names []string `json:"names,omitempty"` - // ForceSendFields is a list of field names (e.g. "DisplayName") to + // 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 @@ -4865,61 +4862,129 @@ type GoogleCloudDialogflowCxV3beta1TransitionRouteGroup struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "DisplayName") 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 + // 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 *GoogleCloudDialogflowCxV3beta1TransitionRouteGroup) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1TransitionRouteGroup +func (s *GoogleCloudDialogflowCxV3beta1ImportTestCasesResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1ImportTestCasesResponse raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1Version: Represents a version of a -// flow. -type GoogleCloudDialogflowCxV3beta1Version struct { - // CreateTime: Output only. Create time of the version. - CreateTime string `json:"createTime,omitempty"` - - // Description: The description of the version. The maximum length is - // 500 characters. If exceeded, the request is rejected. - Description string `json:"description,omitempty"` - - // DisplayName: Required. The human-readable name of the version. Limit - // of 64 characters. - DisplayName string `json:"displayName,omitempty"` +// GoogleCloudDialogflowCxV3beta1InputAudioConfig: Instructs the speech +// recognizer on how to process the audio content. +type GoogleCloudDialogflowCxV3beta1InputAudioConfig struct { + // AudioEncoding: Required. Audio encoding of the audio content to + // process. + // + // Possible values: + // "AUDIO_ENCODING_UNSPECIFIED" - Not specified. + // "AUDIO_ENCODING_LINEAR_16" - Uncompressed 16-bit signed + // little-endian samples (Linear PCM). + // "AUDIO_ENCODING_FLAC" - + // [`FLAC`](https://xiph.org/flac/documentation.html) (Free Lossless + // Audio Codec) is the recommended encoding because it is lossless + // (therefore recognition is not compromised) and requires only about + // half the bandwidth of `LINEAR16`. `FLAC` stream encoding supports + // 16-bit and 24-bit samples, however, not all fields in `STREAMINFO` + // are supported. + // "AUDIO_ENCODING_MULAW" - 8-bit samples that compand 14-bit audio + // samples using G.711 PCMU/mu-law. + // "AUDIO_ENCODING_AMR" - Adaptive Multi-Rate Narrowband codec. + // `sample_rate_hertz` must be 8000. + // "AUDIO_ENCODING_AMR_WB" - Adaptive Multi-Rate Wideband codec. + // `sample_rate_hertz` must be 16000. + // "AUDIO_ENCODING_OGG_OPUS" - Opus encoded audio frames in Ogg + // container ([OggOpus](https://wiki.xiph.org/OggOpus)). + // `sample_rate_hertz` must be 16000. + // "AUDIO_ENCODING_SPEEX_WITH_HEADER_BYTE" - Although the use of lossy + // encodings is not recommended, if a very low bitrate encoding is + // required, `OGG_OPUS` is highly preferred over Speex encoding. The + // [Speex](https://speex.org/) encoding supported by Dialogflow API has + // a header byte in each block, as in MIME type + // `audio/x-speex-with-header-byte`. It is a variant of the RTP Speex + // encoding defined in [RFC 5574](https://tools.ietf.org/html/rfc5574). + // The stream is a sequence of blocks, one block per RTP packet. Each + // block starts with a byte containing the length of the block, in + // bytes, followed by one or more frames of Speex data, padded to an + // integral number of bytes (octets) as specified in RFC 5574. In other + // words, each RTP header is replaced with a single byte containing the + // block length. Only Speex wideband is supported. `sample_rate_hertz` + // must be 16000. + AudioEncoding string `json:"audioEncoding,omitempty"` - // Name: Format: projects//locations//agents//flows//versions/. Version - // ID is a self-increasing number generated by Dialogflow upon version - // creation. - Name string `json:"name,omitempty"` + // EnableWordInfo: Optional. If `true`, Dialogflow returns + // SpeechWordInfo in StreamingRecognitionResult with information about + // the recognized speech words, e.g. start and end time offsets. If + // false or unspecified, Speech doesn't return any word-level + // information. + EnableWordInfo bool `json:"enableWordInfo,omitempty"` - // NluSettings: Output only. The NLU settings of the flow at version - // creation. - NluSettings *GoogleCloudDialogflowCxV3beta1NluSettings `json:"nluSettings,omitempty"` + // Model: Optional. Which Speech model to select for the given request. + // Select the model best suited to your domain to get best results. If a + // model is not explicitly specified, then we auto-select a model based + // on the parameters in the InputAudioConfig. If enhanced speech model + // is enabled for the agent and an enhanced version of the specified + // model for the language does not exist, then the speech is recognized + // using the standard version of the specified model. Refer to [Cloud + // Speech API + // documentation](https://cloud.google.com/speech-to-text/docs/basics#sel + // ect-model) for more details. + Model string `json:"model,omitempty"` - // State: Output only. The state of this version. This field is - // read-only and cannot be set by create and update methods. + // ModelVariant: Optional. Which variant of the Speech model to use. // // Possible values: - // "STATE_UNSPECIFIED" - Not specified. This value is not used. - // "RUNNING" - Version is not ready to serve (e.g. training is - // running). - // "SUCCEEDED" - Training has succeeded and this version is ready to - // serve. - // "FAILED" - Version training failed. - State string `json:"state,omitempty"` + // "SPEECH_MODEL_VARIANT_UNSPECIFIED" - No model variant specified. In + // this case Dialogflow defaults to USE_BEST_AVAILABLE. + // "USE_BEST_AVAILABLE" - Use the best available variant of the Speech + // model that the caller is eligible for. Please see the [Dialogflow + // docs](https://cloud.google.com/dialogflow/docs/data-logging) for how + // to make your project eligible for enhanced models. + // "USE_STANDARD" - Use standard model variant even if an enhanced + // model is available. See the [Cloud Speech + // documentation](https://cloud.google.com/speech-to-text/docs/enhanced-m + // odels) for details about enhanced models. + // "USE_ENHANCED" - Use an enhanced model variant: * If an enhanced + // variant does not exist for the given model and request language, + // Dialogflow falls back to the standard variant. The [Cloud Speech + // documentation](https://cloud.google.com/speech-to-text/docs/enhanced-m + // odels) describes which models have enhanced variants. * If the API + // caller isn't eligible for enhanced models, Dialogflow returns an + // error. Please see the [Dialogflow + // docs](https://cloud.google.com/dialogflow/docs/data-logging) for how + // to make your project eligible. + ModelVariant string `json:"modelVariant,omitempty"` - // ServerResponse contains the HTTP response code and headers from the - // server. - googleapi.ServerResponse `json:"-"` + // PhraseHints: Optional. A list of strings containing words and phrases + // that the speech recognizer should recognize with higher likelihood. + // See [the Cloud Speech + // documentation](https://cloud.google.com/speech-to-text/docs/basics#phr + // ase-hints) for more details. + PhraseHints []string `json:"phraseHints,omitempty"` - // ForceSendFields is a list of field names (e.g. "CreateTime") to + // SampleRateHertz: Sample rate (in Hertz) of the audio content sent in + // the query. Refer to [Cloud Speech API + // documentation](https://cloud.google.com/speech-to-text/docs/basics) + // for more details. + SampleRateHertz int64 `json:"sampleRateHertz,omitempty"` + + // SingleUtterance: Optional. If `false` (default), recognition does not + // cease until the client closes the stream. If `true`, the recognizer + // will detect a single spoken utterance in input audio. Recognition + // ceases when it detects the audio's voice has stopped or paused. In + // this case, once a detected intent is received, the client should + // close the stream and start a new request with a new stream as needed. + // Note: This setting is relevant only for streaming methods. + SingleUtterance bool `json:"singleUtterance,omitempty"` + + // ForceSendFields is a list of field names (e.g. "AudioEncoding") 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 @@ -4927,46 +4992,80 @@ type GoogleCloudDialogflowCxV3beta1Version struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "CreateTime") 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 + // NullFields is a list of field names (e.g. "AudioEncoding") 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 *GoogleCloudDialogflowCxV3beta1Version) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1Version +func (s *GoogleCloudDialogflowCxV3beta1InputAudioConfig) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1InputAudioConfig raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1VoiceSelectionParams: Description of -// which voice to use for speech synthesis. -type GoogleCloudDialogflowCxV3beta1VoiceSelectionParams struct { - // Name: Optional. The name of the voice. If not set, the service will - // choose a voice based on the other parameters such as language_code - // and ssml_gender. - Name string `json:"name,omitempty"` - - // SsmlGender: Optional. The preferred gender of the voice. If not set, - // the service will choose a voice based on the other parameters such as - // language_code and name. Note that this is only a preference, not - // requirement. If a voice of the appropriate gender is not available, - // the synthesizer should substitute a voice with a different gender - // rather than failing the request. - // - // Possible values: - // "SSML_VOICE_GENDER_UNSPECIFIED" - An unspecified gender, which - // means that the client doesn't care which gender the selected voice - // will have. - // "SSML_VOICE_GENDER_MALE" - A male voice. - // "SSML_VOICE_GENDER_FEMALE" - A female voice. - // "SSML_VOICE_GENDER_NEUTRAL" - A gender-neutral voice. - SsmlGender string `json:"ssmlGender,omitempty"` +// GoogleCloudDialogflowCxV3beta1Intent: An intent represents a user's +// intent to interact with a conversational agent. You can provide +// information for the Dialogflow API to use to match user input to an +// intent by adding training phrases (i.e., examples of user input) to +// your intent. +type GoogleCloudDialogflowCxV3beta1Intent struct { + // Description: Optional. Human readable description for better + // understanding an intent like its scope, content, result etc. Maximum + // character limit: 140 characters. + Description string `json:"description,omitempty"` - // ForceSendFields is a list of field names (e.g. "Name") to + // DisplayName: Required. The human-readable name of the intent, unique + // within the agent. + DisplayName string `json:"displayName,omitempty"` + + // IsFallback: Indicates whether this is a fallback intent. Currently + // only default fallback intent is allowed in the agent, which is added + // upon agent creation. Adding training phrases to fallback intent is + // useful in the case of requests that are mistakenly matched, since + // training phrases assigned to fallback intents act as negative + // examples that triggers no-match event. + IsFallback bool `json:"isFallback,omitempty"` + + // Labels: Optional. The key/value metadata to label an intent. Labels + // can contain lowercase letters, digits and the symbols '-' and '_'. + // International characters are allowed, including letters from unicase + // alphabets. Keys must start with a letter. Keys and values can be no + // longer than 63 characters and no more than 128 bytes. Prefix "sys-" + // is reserved for Dialogflow defined labels. Currently allowed + // Dialogflow defined labels include: * sys-head * sys-contextual The + // above labels do not require value. "sys-head" means the intent is a + // head intent. "sys-contextual" means the intent is a contextual + // intent. + Labels map[string]string `json:"labels,omitempty"` + + // Name: The unique identifier of the intent. Required for the + // Intents.UpdateIntent method. Intents.CreateIntent populates the name + // automatically. Format: `projects//locations//agents//intents/`. + Name string `json:"name,omitempty"` + + // Parameters: The collection of parameters associated with the intent. + Parameters []*GoogleCloudDialogflowCxV3beta1IntentParameter `json:"parameters,omitempty"` + + // Priority: The priority of this intent. Higher numbers represent + // higher priorities. - If the supplied value is unspecified or 0, the + // service translates the value to 500,000, which corresponds to the + // `Normal` priority in the console. - If the supplied value is + // negative, the intent is ignored in runtime detect intent requests. + Priority int64 `json:"priority,omitempty"` + + // TrainingPhrases: The collection of training phrases the agent is + // trained on to identify the intent. + TrainingPhrases []*GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase `json:"trainingPhrases,omitempty"` + + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` + + // 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 @@ -4974,53 +5073,32 @@ type GoogleCloudDialogflowCxV3beta1VoiceSelectionParams struct { // 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 + // 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 *GoogleCloudDialogflowCxV3beta1VoiceSelectionParams) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1VoiceSelectionParams +func (s *GoogleCloudDialogflowCxV3beta1Intent) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1Intent raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1Webhook: Webhooks host the developer's -// business logic. During a session, webhooks allow the developer to use -// the data extracted by Dialogflow's natural language processing to -// generate dynamic responses, validate collected data, or trigger -// actions on the backend. -type GoogleCloudDialogflowCxV3beta1Webhook struct { - // Disabled: Indicates whether the webhook is disabled. - Disabled bool `json:"disabled,omitempty"` - - // DisplayName: Required. The human-readable name of the webhook, unique - // within the agent. - DisplayName string `json:"displayName,omitempty"` - - // GenericWebService: Configuration for a generic web service. - GenericWebService *GoogleCloudDialogflowCxV3beta1WebhookGenericWebService `json:"genericWebService,omitempty"` - - // Name: The unique identifier of the webhook. Required for the - // Webhooks.UpdateWebhook method. Webhooks.CreateWebhook populates the - // name automatically. Format: `projects//locations//agents//webhooks/`. - Name string `json:"name,omitempty"` - - // Timeout: Webhook execution timeout. Execution is considered failed if - // Dialogflow doesn't receive a response from webhook at the end of the - // timeout period. Defaults to 5 seconds, maximum allowed timeout is 30 - // seconds. - Timeout string `json:"timeout,omitempty"` +// GoogleCloudDialogflowCxV3beta1IntentCoverage: Intent coverage +// represents the percentage of all possible intents in the agent that +// are triggered in any of a parent's test cases. +type GoogleCloudDialogflowCxV3beta1IntentCoverage struct { + // CoverageScore: The percent of intents in the agent that are covered. + CoverageScore float64 `json:"coverageScore,omitempty"` - // ServerResponse contains the HTTP response code and headers from the - // server. - googleapi.ServerResponse `json:"-"` + // Intents: The list of Intents present in the agent + Intents []*GoogleCloudDialogflowCxV3beta1IntentCoverageIntent `json:"intents,omitempty"` - // ForceSendFields is a list of field names (e.g. "Disabled") to + // ForceSendFields is a list of field names (e.g. "CoverageScore") 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 @@ -5028,39 +5106,46 @@ type GoogleCloudDialogflowCxV3beta1Webhook struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Disabled") 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 + // NullFields is a list of field names (e.g. "CoverageScore") 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 *GoogleCloudDialogflowCxV3beta1Webhook) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1Webhook +func (s *GoogleCloudDialogflowCxV3beta1IntentCoverage) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1IntentCoverage raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1WebhookGenericWebService: Represents -// configuration for a generic web service. -type GoogleCloudDialogflowCxV3beta1WebhookGenericWebService struct { - // Password: The password for HTTP Basic authentication. - Password string `json:"password,omitempty"` - - // RequestHeaders: The HTTP request headers to send together with - // webhook requests. - RequestHeaders map[string]string `json:"requestHeaders,omitempty"` +func (s *GoogleCloudDialogflowCxV3beta1IntentCoverage) UnmarshalJSON(data []byte) error { + type NoMethod GoogleCloudDialogflowCxV3beta1IntentCoverage + var s1 struct { + CoverageScore gensupport.JSONFloat64 `json:"coverageScore"` + *NoMethod + } + s1.NoMethod = (*NoMethod)(s) + if err := json.Unmarshal(data, &s1); err != nil { + return err + } + s.CoverageScore = float64(s1.CoverageScore) + return nil +} - // Uri: Required. The webhook URI for receiving POST requests. It must - // use https protocol. - Uri string `json:"uri,omitempty"` +// GoogleCloudDialogflowCxV3beta1IntentCoverageIntent: The agent's +// intent. +type GoogleCloudDialogflowCxV3beta1IntentCoverageIntent struct { + // Covered: Whether or not the intent is covered by at least one of the + // agent's test cases. + Covered bool `json:"covered,omitempty"` - // Username: The user name for HTTP Basic authentication. - Username string `json:"username,omitempty"` + // Intent: The intent full resource name + Intent string `json:"intent,omitempty"` - // ForceSendFields is a list of field names (e.g. "Password") to + // ForceSendFields is a list of field names (e.g. "Covered") 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 @@ -5068,7 +5153,7 @@ type GoogleCloudDialogflowCxV3beta1WebhookGenericWebService struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Password") to include in + // NullFields is a list of field names (e.g. "Covered") 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 @@ -5077,73 +5162,68 @@ type GoogleCloudDialogflowCxV3beta1WebhookGenericWebService struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3beta1WebhookGenericWebService) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1WebhookGenericWebService +func (s *GoogleCloudDialogflowCxV3beta1IntentCoverageIntent) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1IntentCoverageIntent raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1WebhookRequest: The request message for -// a webhook call. -type GoogleCloudDialogflowCxV3beta1WebhookRequest struct { - // DetectIntentResponseId: Always present. The unique identifier of the - // DetectIntentResponse that will be returned to the API caller. - DetectIntentResponseId string `json:"detectIntentResponseId,omitempty"` - - // FulfillmentInfo: Always present. Information about the fulfillment - // that triggered this webhook call. - FulfillmentInfo *GoogleCloudDialogflowCxV3beta1WebhookRequestFulfillmentInfo `json:"fulfillmentInfo,omitempty"` - - // IntentInfo: Information about the last matched intent. - IntentInfo *GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo `json:"intentInfo,omitempty"` - - // Messages: The list of rich message responses to present to the user. - // Webhook can choose to append or replace this list in - // WebhookResponse.fulfillment_response; - Messages []*GoogleCloudDialogflowCxV3beta1ResponseMessage `json:"messages,omitempty"` - - // PageInfo: Information about page status. - PageInfo *GoogleCloudDialogflowCxV3beta1PageInfo `json:"pageInfo,omitempty"` - - // Payload: Custom data set in QueryParameters.payload. - Payload googleapi.RawMessage `json:"payload,omitempty"` - - // SessionInfo: Information about session status. - SessionInfo *GoogleCloudDialogflowCxV3beta1SessionInfo `json:"sessionInfo,omitempty"` +// GoogleCloudDialogflowCxV3beta1IntentInput: Represents the intent to +// trigger programmatically rather than as a result of natural language +// processing. +type GoogleCloudDialogflowCxV3beta1IntentInput struct { + // Intent: Required. The unique identifier of the intent. Format: + // `projects//locations//agents//intents/`. + Intent string `json:"intent,omitempty"` - // ForceSendFields is a list of field names (e.g. - // "DetectIntentResponseId") 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. "Intent") 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. "DetectIntentResponseId") - // 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. "Intent") 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 *GoogleCloudDialogflowCxV3beta1WebhookRequest) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1WebhookRequest +func (s *GoogleCloudDialogflowCxV3beta1IntentInput) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1IntentInput raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1WebhookRequestFulfillmentInfo: -// Represents fulfillment information communicated to the webhook. -type GoogleCloudDialogflowCxV3beta1WebhookRequestFulfillmentInfo struct { - // Tag: Always present. The tag used to identify which fulfillment is - // being called. - Tag string `json:"tag,omitempty"` +// GoogleCloudDialogflowCxV3beta1IntentParameter: Represents an intent +// parameter. +type GoogleCloudDialogflowCxV3beta1IntentParameter struct { + // EntityType: Required. The entity type of the parameter. Format: + // `projects/-/locations/-/agents/-/entityTypes/` for system entity + // types (for example, + // `projects/-/locations/-/agents/-/entityTypes/sys.date`), or + // `projects//locations//agents//entityTypes/` for developer entity + // types. + EntityType string `json:"entityType,omitempty"` - // ForceSendFields is a list of field names (e.g. "Tag") to + // Id: Required. The unique identifier of the parameter. This field is + // used by training phrases to annotate their parts. + Id string `json:"id,omitempty"` + + // IsList: Indicates whether the parameter represents a list of values. + IsList bool `json:"isList,omitempty"` + + // Redact: Indicates whether the parameter content is logged in text and + // audio. If it is set to true, the parameter content will be replaced + // to parameter id in both request and response. The default value is + // false. + Redact bool `json:"redact,omitempty"` + + // ForceSendFields is a list of field names (e.g. "EntityType") 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 @@ -5151,8 +5231,8 @@ type GoogleCloudDialogflowCxV3beta1WebhookRequestFulfillmentInfo struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Tag") to include in API - // requests with the JSON null value. By default, fields with empty + // NullFields is a list of field names (e.g. "EntityType") 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. @@ -5160,62 +5240,72 @@ type GoogleCloudDialogflowCxV3beta1WebhookRequestFulfillmentInfo struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3beta1WebhookRequestFulfillmentInfo) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1WebhookRequestFulfillmentInfo +func (s *GoogleCloudDialogflowCxV3beta1IntentParameter) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1IntentParameter raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo: Represents -// intent information communicated to the webhook. -type GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo struct { - // LastMatchedIntent: Always present. The unique identifier of the last - // matched intent. Format: `projects//locations//agents//intents/`. - LastMatchedIntent string `json:"lastMatchedIntent,omitempty"` +// GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase: Represents an +// example that the agent is trained on to identify the intent. +type GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase struct { + // Id: Output only. The unique identifier of the training phrase. + Id string `json:"id,omitempty"` - // Parameters: Parameters identified as a result of intent matching. - // This is a map of the name of the identified parameter to the value of - // the parameter identified from the user's utterance. All parameters - // defined in the matched intent that are identified will be surfaced - // here. - Parameters map[string]GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfoIntentParameterValue `json:"parameters,omitempty"` + // Parts: Required. The ordered list of training phrase parts. The parts + // are concatenated in order to form the training phrase. Note: The API + // does not automatically annotate training phrases like the Dialogflow + // Console does. Note: Do not forget to include whitespace at part + // boundaries, so the training phrase is well formatted when the parts + // are concatenated. If the training phrase does not need to be + // annotated with parameters, you just need a single part with only the + // Part.text field set. If you want to annotate the training phrase, you + // must create multiple parts, where the fields of each part are + // populated in one of two ways: - `Part.text` is set to a part of the + // phrase that has no parameters. - `Part.text` is set to a part of the + // phrase that you want to annotate, and the `parameter_id` field is + // set. + Parts []*GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePart `json:"parts,omitempty"` - // ForceSendFields is a list of field names (e.g. "LastMatchedIntent") - // to unconditionally include in API requests. By default, fields with + // RepeatCount: Indicates how many times this example was added to the + // intent. + RepeatCount int64 `json:"repeatCount,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Id") 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. "LastMatchedIntent") 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. "Id") 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 *GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo +func (s *GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfoIntentParameterV -// alue: Represents a value for an intent parameter. -type GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfoIntentParameterValue struct { - // OriginalValue: Always present. Original text value extracted from - // user utterance. - OriginalValue string `json:"originalValue,omitempty"` +// GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePart: Represents a +// part of a training phrase. +type GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePart struct { + // ParameterId: The parameter used to annotate this part of the training + // phrase. This field is required for annotated parts of the training + // phrase. + ParameterId string `json:"parameterId,omitempty"` - // ResolvedValue: Always present. Structured value for the parameter - // extracted from user utterance. - ResolvedValue interface{} `json:"resolvedValue,omitempty"` + // Text: Required. The text for this part. + Text string `json:"text,omitempty"` - // ForceSendFields is a list of field names (e.g. "OriginalValue") to + // ForceSendFields is a list of field names (e.g. "ParameterId") 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 @@ -5223,7 +5313,7 @@ type GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfoIntentParameterValue // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "OriginalValue") to include + // NullFields is a list of field names (e.g. "ParameterId") 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 @@ -5232,82 +5322,66 @@ type GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfoIntentParameterValue NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfoIntentParameterValue) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfoIntentParameterValue +func (s *GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePart) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePart raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1WebhookResponse: The response message -// for a webhook call. -type GoogleCloudDialogflowCxV3beta1WebhookResponse struct { - // FulfillmentResponse: The fulfillment response to send to the user. - // This field can be omitted by the webhook if it does not intend to - // send any response to the user. - FulfillmentResponse *GoogleCloudDialogflowCxV3beta1WebhookResponseFulfillmentResponse `json:"fulfillmentResponse,omitempty"` - - // PageInfo: Information about page status. This field can be omitted by - // the webhook if it does not intend to modify page status. - PageInfo *GoogleCloudDialogflowCxV3beta1PageInfo `json:"pageInfo,omitempty"` - - // Payload: Value to append directly to QueryResult.webhook_payloads. - Payload googleapi.RawMessage `json:"payload,omitempty"` - - // SessionInfo: Information about session status. This field can be - // omitted by the webhook if it does not intend to modify session - // status. - SessionInfo *GoogleCloudDialogflowCxV3beta1SessionInfo `json:"sessionInfo,omitempty"` +// GoogleCloudDialogflowCxV3beta1ListAgentsResponse: The response +// message for Agents.ListAgents. +type GoogleCloudDialogflowCxV3beta1ListAgentsResponse struct { + // Agents: The list of agents. There will be a maximum number of items + // returned based on the page_size field in the request. + Agents []*GoogleCloudDialogflowCxV3beta1Agent `json:"agents,omitempty"` - // TargetFlow: The target flow to transition to. Format: - // `projects//locations//agents//flows/`. - TargetFlow string `json:"targetFlow,omitempty"` + // NextPageToken: Token to retrieve the next page of results, or empty + // if there are no more results in the list. + NextPageToken string `json:"nextPageToken,omitempty"` - // TargetPage: The target page to transition to. Format: - // `projects//locations//agents//flows//pages/`. - TargetPage string `json:"targetPage,omitempty"` + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` - // ForceSendFields is a list of field names (e.g. "FulfillmentResponse") - // to unconditionally include in API requests. By default, fields with + // ForceSendFields is a list of field names (e.g. "Agents") 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. "FulfillmentResponse") 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. "Agents") 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 *GoogleCloudDialogflowCxV3beta1WebhookResponse) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1WebhookResponse +func (s *GoogleCloudDialogflowCxV3beta1ListAgentsResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1ListAgentsResponse raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowCxV3beta1WebhookResponseFulfillmentResponse: -// Represents a fulfillment response to the user. -type GoogleCloudDialogflowCxV3beta1WebhookResponseFulfillmentResponse struct { - // MergeBehavior: Merge behavior for `messages`. - // - // Possible values: - // "MERGE_BEHAVIOR_UNSPECIFIED" - Not specified. `APPEND` will be - // used. - // "APPEND" - `messages` will be appended to the list of messages - // waiting to be sent to the user. - // "REPLACE" - `messages` will replace the list of messages waiting to - // be sent to the user. - MergeBehavior string `json:"mergeBehavior,omitempty"` +// GoogleCloudDialogflowCxV3beta1ListEntityTypesResponse: The response +// message for EntityTypes.ListEntityTypes. +type GoogleCloudDialogflowCxV3beta1ListEntityTypesResponse struct { + // EntityTypes: The list of entity types. There will be a maximum number + // of items returned based on the page_size field in the request. + EntityTypes []*GoogleCloudDialogflowCxV3beta1EntityType `json:"entityTypes,omitempty"` - // Messages: The list of rich message responses to present to the user. - Messages []*GoogleCloudDialogflowCxV3beta1ResponseMessage `json:"messages,omitempty"` + // NextPageToken: Token to retrieve the next page of results, or empty + // if there are no more results in the list. + NextPageToken string `json:"nextPageToken,omitempty"` - // ForceSendFields is a list of field names (e.g. "MergeBehavior") to + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` + + // ForceSendFields is a list of field names (e.g. "EntityTypes") 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 @@ -5315,7 +5389,7 @@ type GoogleCloudDialogflowCxV3beta1WebhookResponseFulfillmentResponse struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "MergeBehavior") to include + // NullFields is a list of field names (e.g. "EntityTypes") 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 @@ -5324,34 +5398,30 @@ type GoogleCloudDialogflowCxV3beta1WebhookResponseFulfillmentResponse struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowCxV3beta1WebhookResponseFulfillmentResponse) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowCxV3beta1WebhookResponseFulfillmentResponse +func (s *GoogleCloudDialogflowCxV3beta1ListEntityTypesResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1ListEntityTypesResponse raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2AnnotatedMessagePart: Represents a part of a -// message possibly annotated with an entity. The part can be an entity -// or purely a part of the message between two entities or message -// start/end. -type GoogleCloudDialogflowV2AnnotatedMessagePart struct { - // EntityType: The [Dialogflow system entity - // type](https://cloud.google.com/dialogflow/docs/reference/system-entiti - // es) of this message part. If this is empty, Dialogflow could not - // annotate the phrase part with a system entity. - EntityType string `json:"entityType,omitempty"` +// GoogleCloudDialogflowCxV3beta1ListEnvironmentsResponse: The response +// message for Environments.ListEnvironments. +type GoogleCloudDialogflowCxV3beta1ListEnvironmentsResponse struct { + // Environments: The list of environments. There will be a maximum + // number of items returned based on the page_size field in the request. + // The list may in some cases be empty or contain fewer entries than + // page_size even if this isn't the last page. + Environments []*GoogleCloudDialogflowCxV3beta1Environment `json:"environments,omitempty"` - // FormattedValue: The [Dialogflow system entity formatted value - // ](https://cloud.google.com/dialogflow/docs/reference/system-entities) - // of this message part. For example for a system entity of type - // `@sys.unit-currency`, this may contain: { "amount": 5, "currency": - // "USD" } - FormattedValue interface{} `json:"formattedValue,omitempty"` + // NextPageToken: Token to retrieve the next page of results, or empty + // if there are no more results in the list. + NextPageToken string `json:"nextPageToken,omitempty"` - // Text: A part of a message possibly annotated with an entity. - Text string `json:"text,omitempty"` + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` - // ForceSendFields is a list of field names (e.g. "EntityType") to + // ForceSendFields is a list of field names (e.g. "Environments") 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 @@ -5359,28 +5429,37 @@ type GoogleCloudDialogflowV2AnnotatedMessagePart struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "EntityType") 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 + // NullFields is a list of field names (e.g. "Environments") 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 *GoogleCloudDialogflowV2AnnotatedMessagePart) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2AnnotatedMessagePart +func (s *GoogleCloudDialogflowCxV3beta1ListEnvironmentsResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1ListEnvironmentsResponse raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2BatchUpdateEntityTypesResponse: The response -// message for EntityTypes.BatchUpdateEntityTypes. -type GoogleCloudDialogflowV2BatchUpdateEntityTypesResponse struct { - // EntityTypes: The collection of updated or created entity types. - EntityTypes []*GoogleCloudDialogflowV2EntityType `json:"entityTypes,omitempty"` +// GoogleCloudDialogflowCxV3beta1ListFlowsResponse: The response message +// for Flows.ListFlows. +type GoogleCloudDialogflowCxV3beta1ListFlowsResponse struct { + // Flows: The list of flows. There will be a maximum number of items + // returned based on the page_size field in the request. + Flows []*GoogleCloudDialogflowCxV3beta1Flow `json:"flows,omitempty"` - // ForceSendFields is a list of field names (e.g. "EntityTypes") to + // NextPageToken: Token to retrieve the next page of results, or empty + // if there are no more results in the list. + NextPageToken string `json:"nextPageToken,omitempty"` + + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` + + // ForceSendFields is a list of field names (e.g. "Flows") 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 @@ -5388,26 +5467,35 @@ type GoogleCloudDialogflowV2BatchUpdateEntityTypesResponse struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "EntityTypes") 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 + // NullFields is a list of field names (e.g. "Flows") 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 *GoogleCloudDialogflowV2BatchUpdateEntityTypesResponse) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2BatchUpdateEntityTypesResponse +func (s *GoogleCloudDialogflowCxV3beta1ListFlowsResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1ListFlowsResponse raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2BatchUpdateIntentsResponse: The response -// message for Intents.BatchUpdateIntents. -type GoogleCloudDialogflowV2BatchUpdateIntentsResponse struct { - // Intents: The collection of updated or created intents. - Intents []*GoogleCloudDialogflowV2Intent `json:"intents,omitempty"` +// GoogleCloudDialogflowCxV3beta1ListIntentsResponse: The response +// message for Intents.ListIntents. +type GoogleCloudDialogflowCxV3beta1ListIntentsResponse struct { + // Intents: The list of intents. There will be a maximum number of items + // returned based on the page_size field in the request. + Intents []*GoogleCloudDialogflowCxV3beta1Intent `json:"intents,omitempty"` + + // NextPageToken: Token to retrieve the next page of results, or empty + // if there are no more results in the list. + NextPageToken string `json:"nextPageToken,omitempty"` + + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Intents") to // unconditionally include in API requests. By default, fields with @@ -5426,58 +5514,28 @@ type GoogleCloudDialogflowV2BatchUpdateIntentsResponse struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2BatchUpdateIntentsResponse) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2BatchUpdateIntentsResponse +func (s *GoogleCloudDialogflowCxV3beta1ListIntentsResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1ListIntentsResponse raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2Context: Dialogflow contexts are similar to -// natural language context. If a person says to you "they are orange", -// you need context in order to understand what "they" is referring to. -// Similarly, for Dialogflow to handle an end-user expression like that, -// it needs to be provided with context in order to correctly match an -// intent. Using contexts, you can control the flow of a conversation. -// You can configure contexts for an intent by setting input and output -// contexts, which are identified by string names. When an intent is -// matched, any configured output contexts for that intent become -// active. While any contexts are active, Dialogflow is more likely to -// match intents that are configured with input contexts that correspond -// to the currently active contexts. For more information about context, -// see the [Contexts -// guide](https://cloud.google.com/dialogflow/docs/contexts-overview). -type GoogleCloudDialogflowV2Context struct { - // LifespanCount: Optional. The number of conversational query requests - // after which the context expires. The default is `0`. If set to `0`, - // the context expires immediately. Contexts expire automatically after - // 20 minutes if there are no matching queries. - LifespanCount int64 `json:"lifespanCount,omitempty"` +// GoogleCloudDialogflowCxV3beta1ListPagesResponse: The response message +// for Pages.ListPages. +type GoogleCloudDialogflowCxV3beta1ListPagesResponse struct { + // NextPageToken: Token to retrieve the next page of results, or empty + // if there are no more results in the list. + NextPageToken string `json:"nextPageToken,omitempty"` - // Name: Required. The unique identifier of the context. Format: - // `projects//agent/sessions//contexts/`, or - // `projects//agent/environments//users//sessions//contexts/`. The - // `Context ID` is always converted to lowercase, may only contain - // characters in a-zA-Z0-9_-% and may be at most 250 bytes long. If - // `Environment ID` is not specified, we assume default 'draft' - // environment. If `User ID` is not specified, we assume default '-' - // user. The following context names are reserved for internal use by - // Dialogflow. You should not use these contexts or create contexts with - // these names: * `__system_counters__` * `*_id_dialog_context` * - // `*_dialog_params_size` - Name string `json:"name,omitempty"` + // Pages: The list of pages. There will be a maximum number of items + // returned based on the page_size field in the request. + Pages []*GoogleCloudDialogflowCxV3beta1Page `json:"pages,omitempty"` - // Parameters: Optional. The collection of parameters associated with - // this context. Depending on your protocol or client library language, - // this is a map, associative array, symbol table, dictionary, or JSON - // object composed of a collection of (MapKey, MapValue) pairs: - MapKey - // type: string - MapKey value: parameter name - MapValue type: - If - // parameter's entity type is a composite entity: map - Else: string or - // number, depending on parameter value type - MapValue value: - If - // parameter's entity type is a composite entity: map from composite - // entity property names to property values - Else: parameter value - Parameters googleapi.RawMessage `json:"parameters,omitempty"` + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` - // ForceSendFields is a list of field names (e.g. "LifespanCount") to + // ForceSendFields is a list of field names (e.g. "NextPageToken") 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 @@ -5485,7 +5543,7 @@ type GoogleCloudDialogflowV2Context struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "LifespanCount") to include + // NullFields is a list of field names (e.g. "NextPageToken") 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 @@ -5494,50 +5552,27 @@ type GoogleCloudDialogflowV2Context struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2Context) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2Context +func (s *GoogleCloudDialogflowCxV3beta1ListPagesResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1ListPagesResponse raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2ConversationEvent: Represents a notification -// sent to Pub/Sub subscribers for conversation lifecycle events. -type GoogleCloudDialogflowV2ConversationEvent struct { - // Conversation: The unique identifier of the conversation this - // notification refers to. Format: `projects//conversations/`. - Conversation string `json:"conversation,omitempty"` - - // ErrorStatus: More detailed information about an error. Only set for - // type UNRECOVERABLE_ERROR_IN_PHONE_CALL. - ErrorStatus *GoogleRpcStatus `json:"errorStatus,omitempty"` +// GoogleCloudDialogflowCxV3beta1ListSecuritySettingsResponse: The +// response message for SecuritySettings.ListSecuritySettings. +type GoogleCloudDialogflowCxV3beta1ListSecuritySettingsResponse struct { + // NextPageToken: Token to retrieve the next page of results, or empty + // if there are no more results in the list. + NextPageToken string `json:"nextPageToken,omitempty"` - // NewMessagePayload: Payload of NEW_MESSAGE event. - NewMessagePayload *GoogleCloudDialogflowV2Message `json:"newMessagePayload,omitempty"` + // SecuritySettings: The list of security settings. + SecuritySettings []*GoogleCloudDialogflowCxV3beta1SecuritySettings `json:"securitySettings,omitempty"` - // Type: The type of the event that this notification refers to. - // - // Possible values: - // "TYPE_UNSPECIFIED" - Type not set. - // "CONVERSATION_STARTED" - A new conversation has been opened. This - // is fired when a telephone call is answered, or a conversation is - // created via the API. - // "CONVERSATION_FINISHED" - An existing conversation has closed. This - // is fired when a telephone call is terminated, or a conversation is - // closed via the API. - // "HUMAN_INTERVENTION_NEEDED" - An existing conversation has received - // notification from Dialogflow that human intervention is required. - // "NEW_MESSAGE" - An existing conversation has received a new - // message, either from API or telephony. It is configured in - // ConversationProfile.new_message_event_notification_config - // "UNRECOVERABLE_ERROR" - Unrecoverable error during a telephone - // call. In general non-recoverable errors only occur if something was - // misconfigured in the ConversationProfile corresponding to the call. - // After a non-recoverable error, Dialogflow may stop responding. We - // don't fire this event: * in an API call because we can directly - // return the error, or, * when we can recover from an error. - Type string `json:"type,omitempty"` + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` - // ForceSendFields is a list of field names (e.g. "Conversation") to + // ForceSendFields is a list of field names (e.g. "NextPageToken") 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 @@ -5545,7 +5580,7 @@ type GoogleCloudDialogflowV2ConversationEvent struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Conversation") to include + // NullFields is a list of field names (e.g. "NextPageToken") 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 @@ -5554,106 +5589,66 @@ type GoogleCloudDialogflowV2ConversationEvent struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2ConversationEvent) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2ConversationEvent +func (s *GoogleCloudDialogflowCxV3beta1ListSecuritySettingsResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1ListSecuritySettingsResponse raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2EntityType: Each intent parameter has a type, -// called the entity type, which dictates exactly how data from an -// end-user expression is extracted. Dialogflow provides predefined -// system entities that can match many common types of data. For -// example, there are system entities for matching dates, times, colors, -// email addresses, and so on. You can also create your own custom -// entities for matching custom data. For example, you could define a -// vegetable entity that can match the types of vegetables available for -// purchase with a grocery store agent. For more information, see the -// [Entity -// guide](https://cloud.google.com/dialogflow/docs/entities-overview). -type GoogleCloudDialogflowV2EntityType struct { - // AutoExpansionMode: Optional. Indicates whether the entity type can be - // automatically expanded. - // - // Possible values: - // "AUTO_EXPANSION_MODE_UNSPECIFIED" - Auto expansion disabled for the - // entity. - // "AUTO_EXPANSION_MODE_DEFAULT" - Allows an agent to recognize values - // that have not been explicitly listed in the entity. - AutoExpansionMode string `json:"autoExpansionMode,omitempty"` - - // DisplayName: Required. The name of the entity type. - DisplayName string `json:"displayName,omitempty"` - - // EnableFuzzyExtraction: Optional. Enables fuzzy entity extraction - // during classification. - EnableFuzzyExtraction bool `json:"enableFuzzyExtraction,omitempty"` - - // Entities: Optional. The collection of entity entries associated with - // the entity type. - Entities []*GoogleCloudDialogflowV2EntityTypeEntity `json:"entities,omitempty"` +// GoogleCloudDialogflowCxV3beta1ListSessionEntityTypesResponse: The +// response message for SessionEntityTypes.ListSessionEntityTypes. +type GoogleCloudDialogflowCxV3beta1ListSessionEntityTypesResponse struct { + // NextPageToken: Token to retrieve the next page of results, or empty + // if there are no more results in the list. + NextPageToken string `json:"nextPageToken,omitempty"` - // Kind: Required. Indicates the kind of entity type. - // - // Possible values: - // "KIND_UNSPECIFIED" - Not specified. This value should be never - // used. - // "KIND_MAP" - Map entity types allow mapping of a group of synonyms - // to a reference value. - // "KIND_LIST" - List entity types contain a set of entries that do - // not map to reference values. However, list entity types can contain - // references to other entity types (with or without aliases). - // "KIND_REGEXP" - Regexp entity types allow to specify regular - // expressions in entries values. - Kind string `json:"kind,omitempty"` + // SessionEntityTypes: The list of session entity types. There will be a + // maximum number of items returned based on the page_size field in the + // request. + SessionEntityTypes []*GoogleCloudDialogflowCxV3beta1SessionEntityType `json:"sessionEntityTypes,omitempty"` - // Name: The unique identifier of the entity type. Required for - // EntityTypes.UpdateEntityType and EntityTypes.BatchUpdateEntityTypes - // methods. Format: `projects//agent/entityTypes/`. - Name string `json:"name,omitempty"` + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` - // ForceSendFields is a list of field names (e.g. "AutoExpansionMode") - // to unconditionally include in API requests. By default, fields with + // ForceSendFields is a list of field names (e.g. "NextPageToken") 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. "AutoExpansionMode") 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. "NextPageToken") 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 *GoogleCloudDialogflowV2EntityType) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2EntityType +func (s *GoogleCloudDialogflowCxV3beta1ListSessionEntityTypesResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1ListSessionEntityTypesResponse raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2EntityTypeEntity: An **entity entry** for an -// associated entity type. -type GoogleCloudDialogflowV2EntityTypeEntity struct { - // Synonyms: Required. A collection of value synonyms. For example, if - // the entity type is *vegetable*, and `value` is *scallions*, a synonym - // could be *green onions*. For `KIND_LIST` entity types: * This - // collection must contain exactly one synonym equal to `value`. - Synonyms []string `json:"synonyms,omitempty"` +// GoogleCloudDialogflowCxV3beta1ListTestCaseResultsResponse: The +// response message for TestCases.ListTestCaseResults. +type GoogleCloudDialogflowCxV3beta1ListTestCaseResultsResponse struct { + // NextPageToken: Token to retrieve the next page of results, or empty + // if there are no more results in the list. + NextPageToken string `json:"nextPageToken,omitempty"` - // Value: Required. The primary value associated with this entity entry. - // For example, if the entity type is *vegetable*, the value could be - // *scallions*. For `KIND_MAP` entity types: * A reference value to be - // used in place of synonyms. For `KIND_LIST` entity types: * A string - // that can contain references to other entity types (with or without - // aliases). - Value string `json:"value,omitempty"` + // TestCaseResults: The list of test case results. + TestCaseResults []*GoogleCloudDialogflowCxV3beta1TestCaseResult `json:"testCaseResults,omitempty"` - // ForceSendFields is a list of field names (e.g. "Synonyms") to + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` + + // ForceSendFields is a list of field names (e.g. "NextPageToken") 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 @@ -5661,49 +5656,37 @@ type GoogleCloudDialogflowV2EntityTypeEntity struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Synonyms") 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 + // NullFields is a list of field names (e.g. "NextPageToken") 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 *GoogleCloudDialogflowV2EntityTypeEntity) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2EntityTypeEntity +func (s *GoogleCloudDialogflowCxV3beta1ListTestCaseResultsResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1ListTestCaseResultsResponse raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2EventInput: Events allow for matching intents -// by event name instead of the natural language input. For instance, -// input `` can trigger a personalized welcome response. The parameter -// `name` may be used by the agent in the response: "Hello -// #welcome_event.name! What can I do for you today?". -type GoogleCloudDialogflowV2EventInput struct { - // LanguageCode: Required. The language of this query. See [Language - // Support](https://cloud.google.com/dialogflow/docs/reference/language) - // for a list of the currently supported language codes. Note that - // queries in the same session do not necessarily need to specify the - // same language. - LanguageCode string `json:"languageCode,omitempty"` +// GoogleCloudDialogflowCxV3beta1ListTestCasesResponse: The response +// message for TestCases.ListTestCases. +type GoogleCloudDialogflowCxV3beta1ListTestCasesResponse struct { + // NextPageToken: Token to retrieve the next page of results, or empty + // if there are no more results in the list. + NextPageToken string `json:"nextPageToken,omitempty"` - // Name: Required. The unique identifier of the event. - Name string `json:"name,omitempty"` + // TestCases: The list of test cases. There will be a maximum number of + // items returned based on the page_size field in the request. + TestCases []*GoogleCloudDialogflowCxV3beta1TestCase `json:"testCases,omitempty"` - // Parameters: The collection of parameters associated with the event. - // Depending on your protocol or client library language, this is a map, - // associative array, symbol table, dictionary, or JSON object composed - // of a collection of (MapKey, MapValue) pairs: - MapKey type: string - - // MapKey value: parameter name - MapValue type: - If parameter's entity - // type is a composite entity: map - Else: string or number, depending - // on parameter value type - MapValue value: - If parameter's entity - // type is a composite entity: map from composite entity property names - // to property values - Else: parameter value - Parameters googleapi.RawMessage `json:"parameters,omitempty"` + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` - // ForceSendFields is a list of field names (e.g. "LanguageCode") to + // ForceSendFields is a list of field names (e.g. "NextPageToken") 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 @@ -5711,7 +5694,7 @@ type GoogleCloudDialogflowV2EventInput struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "LanguageCode") to include + // NullFields is a list of field names (e.g. "NextPageToken") 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 @@ -5720,24 +5703,30 @@ type GoogleCloudDialogflowV2EventInput struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2EventInput) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2EventInput +func (s *GoogleCloudDialogflowCxV3beta1ListTestCasesResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1ListTestCasesResponse raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2ExportAgentResponse: The response message for -// Agents.ExportAgent. -type GoogleCloudDialogflowV2ExportAgentResponse struct { - // AgentContent: Zip compressed raw byte content for agent. - AgentContent string `json:"agentContent,omitempty"` +// GoogleCloudDialogflowCxV3beta1ListTransitionRouteGroupsResponse: The +// response message for TransitionRouteGroups.ListTransitionRouteGroups. +type GoogleCloudDialogflowCxV3beta1ListTransitionRouteGroupsResponse struct { + // NextPageToken: Token to retrieve the next page of results, or empty + // if there are no more results in the list. + NextPageToken string `json:"nextPageToken,omitempty"` - // AgentUri: The URI to a file containing the exported agent. This field - // is populated only if `agent_uri` is specified in - // `ExportAgentRequest`. - AgentUri string `json:"agentUri,omitempty"` + // TransitionRouteGroups: The list of transition route groups. There + // will be a maximum number of items returned based on the page_size + // field in the request. The list may in some cases be empty or contain + // fewer entries than page_size even if this isn't the last page. + TransitionRouteGroups []*GoogleCloudDialogflowCxV3beta1TransitionRouteGroup `json:"transitionRouteGroups,omitempty"` - // ForceSendFields is a list of field names (e.g. "AgentContent") to + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` + + // ForceSendFields is a list of field names (e.g. "NextPageToken") 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 @@ -5745,7 +5734,7 @@ type GoogleCloudDialogflowV2ExportAgentResponse struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "AgentContent") to include + // NullFields is a list of field names (e.g. "NextPageToken") 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 @@ -5754,136 +5743,30 @@ type GoogleCloudDialogflowV2ExportAgentResponse struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2ExportAgentResponse) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2ExportAgentResponse +func (s *GoogleCloudDialogflowCxV3beta1ListTransitionRouteGroupsResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1ListTransitionRouteGroupsResponse raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2Intent: An intent categorizes an end-user's -// intention for one conversation turn. For each agent, you define many -// intents, where your combined intents can handle a complete -// conversation. When an end-user writes or says something, referred to -// as an end-user expression or end-user input, Dialogflow matches the -// end-user input to the best intent in your agent. Matching an intent -// is also known as intent classification. For more information, see the -// [intent -// guide](https://cloud.google.com/dialogflow/docs/intents-overview). -type GoogleCloudDialogflowV2Intent struct { - // Action: Optional. The name of the action associated with the intent. - // Note: The action name must not contain whitespaces. - Action string `json:"action,omitempty"` - - // DefaultResponsePlatforms: Optional. The list of platforms for which - // the first responses will be copied from the messages in - // PLATFORM_UNSPECIFIED (i.e. default platform). - // - // Possible values: - // "PLATFORM_UNSPECIFIED" - Default platform. - // "FACEBOOK" - Facebook. - // "SLACK" - Slack. - // "TELEGRAM" - Telegram. - // "KIK" - Kik. - // "SKYPE" - Skype. - // "LINE" - Line. - // "VIBER" - Viber. - // "ACTIONS_ON_GOOGLE" - Google Assistant See [Dialogflow webhook - // format](https://developers.google.com/assistant/actions/build/json/dia - // logflow-webhook-json) - // "GOOGLE_HANGOUTS" - Google Hangouts. - DefaultResponsePlatforms []string `json:"defaultResponsePlatforms,omitempty"` - - // DisplayName: Required. The name of this intent. - DisplayName string `json:"displayName,omitempty"` - - // Events: Optional. The collection of event names that trigger the - // intent. If the collection of input contexts is not empty, all of the - // contexts must be present in the active user session for an event to - // trigger this intent. Event names are limited to 150 characters. - Events []string `json:"events,omitempty"` - - // FollowupIntentInfo: Read-only. Information about all followup intents - // that have this intent as a direct or indirect parent. We populate - // this field only in the output. - FollowupIntentInfo []*GoogleCloudDialogflowV2IntentFollowupIntentInfo `json:"followupIntentInfo,omitempty"` - - // InputContextNames: Optional. The list of context names required for - // this intent to be triggered. Format: - // `projects//agent/sessions/-/contexts/`. - InputContextNames []string `json:"inputContextNames,omitempty"` - - // IsFallback: Optional. Indicates whether this is a fallback intent. - IsFallback bool `json:"isFallback,omitempty"` - - // Messages: Optional. The collection of rich messages corresponding to - // the `Response` field in the Dialogflow console. - Messages []*GoogleCloudDialogflowV2IntentMessage `json:"messages,omitempty"` - - // MlDisabled: Optional. Indicates whether Machine Learning is disabled - // for the intent. Note: If `ml_disabled` setting is set to true, then - // this intent is not taken into account during inference in `ML ONLY` - // match mode. Also, auto-markup in the UI is turned off. - MlDisabled bool `json:"mlDisabled,omitempty"` - - // Name: Optional. The unique identifier of this intent. Required for - // Intents.UpdateIntent and Intents.BatchUpdateIntents methods. Format: - // `projects//agent/intents/`. - Name string `json:"name,omitempty"` - - // OutputContexts: Optional. The collection of contexts that are - // activated when the intent is matched. Context messages in this - // collection should not set the parameters field. Setting the - // `lifespan_count` to 0 will reset the context when the intent is - // matched. Format: `projects//agent/sessions/-/contexts/`. - OutputContexts []*GoogleCloudDialogflowV2Context `json:"outputContexts,omitempty"` - - // Parameters: Optional. The collection of parameters associated with - // the intent. - Parameters []*GoogleCloudDialogflowV2IntentParameter `json:"parameters,omitempty"` - - // ParentFollowupIntentName: Read-only after creation. The unique - // identifier of the parent intent in the chain of followup intents. You - // can set this field when creating an intent, for example with - // CreateIntent or BatchUpdateIntents, in order to make this intent a - // followup intent. It identifies the parent followup intent. Format: - // `projects//agent/intents/`. - ParentFollowupIntentName string `json:"parentFollowupIntentName,omitempty"` - - // Priority: Optional. The priority of this intent. Higher numbers - // represent higher priorities. - If the supplied value is unspecified - // or 0, the service translates the value to 500,000, which corresponds - // to the `Normal` priority in the console. - If the supplied value is - // negative, the intent is ignored in runtime detect intent requests. - Priority int64 `json:"priority,omitempty"` - - // ResetContexts: Optional. Indicates whether to delete all contexts in - // the current session when this intent is matched. - ResetContexts bool `json:"resetContexts,omitempty"` - - // RootFollowupIntentName: Read-only. The unique identifier of the root - // intent in the chain of followup intents. It identifies the correct - // followup intents chain for this intent. We populate this field only - // in the output. Format: `projects//agent/intents/`. - RootFollowupIntentName string `json:"rootFollowupIntentName,omitempty"` +// GoogleCloudDialogflowCxV3beta1ListVersionsResponse: The response +// message for Versions.ListVersions. +type GoogleCloudDialogflowCxV3beta1ListVersionsResponse struct { + // NextPageToken: Token to retrieve the next page of results, or empty + // if there are no more results in the list. + NextPageToken string `json:"nextPageToken,omitempty"` - // TrainingPhrases: Optional. The collection of examples that the agent - // is trained on. - TrainingPhrases []*GoogleCloudDialogflowV2IntentTrainingPhrase `json:"trainingPhrases,omitempty"` + // Versions: A list of versions. There will be a maximum number of items + // returned based on the page_size field in the request. The list may in + // some cases be empty or contain fewer entries than page_size even if + // this isn't the last page. + Versions []*GoogleCloudDialogflowCxV3beta1Version `json:"versions,omitempty"` - // WebhookState: Optional. Indicates whether webhooks are enabled for - // the intent. - // - // Possible values: - // "WEBHOOK_STATE_UNSPECIFIED" - Webhook is disabled in the agent and - // in the intent. - // "WEBHOOK_STATE_ENABLED" - Webhook is enabled in the agent and in - // the intent. - // "WEBHOOK_STATE_ENABLED_FOR_SLOT_FILLING" - Webhook is enabled in - // the agent and in the intent. Also, each slot filling prompt is - // forwarded to the webhook. - WebhookState string `json:"webhookState,omitempty"` + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` - // ForceSendFields is a list of field names (e.g. "Action") to + // ForceSendFields is a list of field names (e.g. "NextPageToken") 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 @@ -5891,124 +5774,181 @@ type GoogleCloudDialogflowV2Intent struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Action") 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 + // NullFields is a list of field names (e.g. "NextPageToken") 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 *GoogleCloudDialogflowV2Intent) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2Intent +func (s *GoogleCloudDialogflowCxV3beta1ListVersionsResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1ListVersionsResponse raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2IntentFollowupIntentInfo: Represents a single -// followup intent in the chain. -type GoogleCloudDialogflowV2IntentFollowupIntentInfo struct { - // FollowupIntentName: The unique identifier of the followup intent. - // Format: `projects//agent/intents/`. - FollowupIntentName string `json:"followupIntentName,omitempty"` +// GoogleCloudDialogflowCxV3beta1ListWebhooksResponse: The response +// message for Webhooks.ListWebhooks. +type GoogleCloudDialogflowCxV3beta1ListWebhooksResponse struct { + // NextPageToken: Token to retrieve the next page of results, or empty + // if there are no more results in the list. + NextPageToken string `json:"nextPageToken,omitempty"` - // ParentFollowupIntentName: The unique identifier of the followup - // intent's parent. Format: `projects//agent/intents/`. - ParentFollowupIntentName string `json:"parentFollowupIntentName,omitempty"` + // Webhooks: The list of webhooks. There will be a maximum number of + // items returned based on the page_size field in the request. + Webhooks []*GoogleCloudDialogflowCxV3beta1Webhook `json:"webhooks,omitempty"` - // ForceSendFields is a list of field names (e.g. "FollowupIntentName") - // to unconditionally include in API requests. By default, fields with + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` + + // ForceSendFields is a list of field names (e.g. "NextPageToken") 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. "FollowupIntentName") 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. "NextPageToken") 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 *GoogleCloudDialogflowV2IntentFollowupIntentInfo) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2IntentFollowupIntentInfo +func (s *GoogleCloudDialogflowCxV3beta1ListWebhooksResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1ListWebhooksResponse raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2IntentMessage: A rich response message. -// Corresponds to the intent `Response` field in the Dialogflow console. -// For more information, see [Rich response -// messages](https://cloud.google.com/dialogflow/docs/intents-rich-messag -// es). -type GoogleCloudDialogflowV2IntentMessage struct { - // BasicCard: The basic card response for Actions on Google. - BasicCard *GoogleCloudDialogflowV2IntentMessageBasicCard `json:"basicCard,omitempty"` +// GoogleCloudDialogflowCxV3beta1LoadVersionRequest: The request message +// for Versions.LoadVersion. +type GoogleCloudDialogflowCxV3beta1LoadVersionRequest struct { + // AllowOverrideAgentResources: This field is used to prevent accidental + // overwrite of other agent resources in the draft version, which can + // potentially impact other flow's behavior. If + // `allow_override_agent_resources` is false, conflicted agent-level + // resources will not be overridden (i.e. intents, entities, webhooks). + AllowOverrideAgentResources bool `json:"allowOverrideAgentResources,omitempty"` - // BrowseCarouselCard: Browse carousel card for Actions on Google. - BrowseCarouselCard *GoogleCloudDialogflowV2IntentMessageBrowseCarouselCard `json:"browseCarouselCard,omitempty"` + // ForceSendFields is a list of field names (e.g. + // "AllowOverrideAgentResources") 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:"-"` - // Card: The card response. - Card *GoogleCloudDialogflowV2IntentMessageCard `json:"card,omitempty"` + // NullFields is a list of field names (e.g. + // "AllowOverrideAgentResources") 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:"-"` +} - // CarouselSelect: The carousel card response for Actions on Google. - CarouselSelect *GoogleCloudDialogflowV2IntentMessageCarouselSelect `json:"carouselSelect,omitempty"` +func (s *GoogleCloudDialogflowCxV3beta1LoadVersionRequest) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1LoadVersionRequest + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} - // Image: The image response. - Image *GoogleCloudDialogflowV2IntentMessageImage `json:"image,omitempty"` +// GoogleCloudDialogflowCxV3beta1LookupEnvironmentHistoryResponse: The +// response message for Environments.LookupEnvironmentHistory. +type GoogleCloudDialogflowCxV3beta1LookupEnvironmentHistoryResponse struct { + // Environments: Represents a list of snapshots for an environment. Time + // of the snapshots is stored in `update_time`. + Environments []*GoogleCloudDialogflowCxV3beta1Environment `json:"environments,omitempty"` - // LinkOutSuggestion: The link out suggestion chip for Actions on - // Google. - LinkOutSuggestion *GoogleCloudDialogflowV2IntentMessageLinkOutSuggestion `json:"linkOutSuggestion,omitempty"` + // NextPageToken: Token to retrieve the next page of results, or empty + // if there are no more results in the list. + NextPageToken string `json:"nextPageToken,omitempty"` - // ListSelect: The list card response for Actions on Google. - ListSelect *GoogleCloudDialogflowV2IntentMessageListSelect `json:"listSelect,omitempty"` + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` - // MediaContent: The media content card for Actions on Google. - MediaContent *GoogleCloudDialogflowV2IntentMessageMediaContent `json:"mediaContent,omitempty"` + // ForceSendFields is a list of field names (e.g. "Environments") 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:"-"` - // Payload: A custom platform-specific response. - Payload googleapi.RawMessage `json:"payload,omitempty"` + // NullFields is a list of field names (e.g. "Environments") 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:"-"` +} - // Platform: Optional. The platform that this message is intended for. - // - // Possible values: - // "PLATFORM_UNSPECIFIED" - Default platform. - // "FACEBOOK" - Facebook. - // "SLACK" - Slack. - // "TELEGRAM" - Telegram. - // "KIK" - Kik. - // "SKYPE" - Skype. - // "LINE" - Line. - // "VIBER" - Viber. - // "ACTIONS_ON_GOOGLE" - Google Assistant See [Dialogflow webhook - // format](https://developers.google.com/assistant/actions/build/json/dia - // logflow-webhook-json) - // "GOOGLE_HANGOUTS" - Google Hangouts. - Platform string `json:"platform,omitempty"` +func (s *GoogleCloudDialogflowCxV3beta1LookupEnvironmentHistoryResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1LookupEnvironmentHistoryResponse + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} - // QuickReplies: The quick replies response. - QuickReplies *GoogleCloudDialogflowV2IntentMessageQuickReplies `json:"quickReplies,omitempty"` +// GoogleCloudDialogflowCxV3beta1Match: Represents one match result of +// MatchIntent. +type GoogleCloudDialogflowCxV3beta1Match struct { + // Confidence: The confidence of this match. Values range from 0.0 + // (completely uncertain) to 1.0 (completely certain). This value is for + // informational purpose only and is only used to help match the best + // intent within the classification threshold. This value may change for + // the same end-user expression at any time due to a model retraining or + // change in implementation. + Confidence float64 `json:"confidence,omitempty"` - // SimpleResponses: The voice and text-only responses for Actions on - // Google. - SimpleResponses *GoogleCloudDialogflowV2IntentMessageSimpleResponses `json:"simpleResponses,omitempty"` + // Event: The event that matched the query. Only filled for `EVENT` + // match type. + Event string `json:"event,omitempty"` - // Suggestions: The suggestion chips for Actions on Google. - Suggestions *GoogleCloudDialogflowV2IntentMessageSuggestions `json:"suggestions,omitempty"` + // Intent: The Intent that matched the query. Some, not all fields are + // filled in this message, including but not limited to: `name` and + // `display_name`. Only filled for `INTENT` match type. + Intent *GoogleCloudDialogflowCxV3beta1Intent `json:"intent,omitempty"` - // TableCard: Table card for Actions on Google. - TableCard *GoogleCloudDialogflowV2IntentMessageTableCard `json:"tableCard,omitempty"` + // MatchType: Type of this Match. + // + // Possible values: + // "MATCH_TYPE_UNSPECIFIED" - Not specified. Should never be used. + // "INTENT" - The query was matched to an intent. + // "DIRECT_INTENT" - The query directly triggered an intent. + // "PARAMETER_FILLING" - The query was used for parameter filling. + // "NO_MATCH" - No match was found for the query. + // "NO_INPUT" - Indicates an empty query. + // "EVENT" - The query directly triggered an event. + MatchType string `json:"matchType,omitempty"` - // Text: The text response. - Text *GoogleCloudDialogflowV2IntentMessageText `json:"text,omitempty"` + // Parameters: The collection of parameters extracted from the query. + // Depending on your protocol or client library language, this is a map, + // associative array, symbol table, dictionary, or JSON object composed + // of a collection of (MapKey, MapValue) pairs: - MapKey type: string - + // MapKey value: parameter name - MapValue type: - If parameter's entity + // type is a composite entity: map - Else: string or number, depending + // on parameter value type - MapValue value: - If parameter's entity + // type is a composite entity: map from composite entity property names + // to property values - Else: parameter value + Parameters googleapi.RawMessage `json:"parameters,omitempty"` - // ForceSendFields is a list of field names (e.g. "BasicCard") to + // ResolvedInput: Final text input which was matched during MatchIntent. + // This value can be different from original input sent in request + // because of spelling correction or other processing. + ResolvedInput string `json:"resolvedInput,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Confidence") 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 @@ -6016,7 +5956,7 @@ type GoogleCloudDialogflowV2IntentMessage struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "BasicCard") to include in + // NullFields is a list of field names (e.g. "Confidence") 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 @@ -6025,32 +5965,36 @@ type GoogleCloudDialogflowV2IntentMessage struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2IntentMessage) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2IntentMessage +func (s *GoogleCloudDialogflowCxV3beta1Match) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1Match raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2IntentMessageBasicCard: The basic card -// message. Useful for displaying information. -type GoogleCloudDialogflowV2IntentMessageBasicCard struct { - // Buttons: Optional. The collection of card buttons. - Buttons []*GoogleCloudDialogflowV2IntentMessageBasicCardButton `json:"buttons,omitempty"` - - // FormattedText: Required, unless image is present. The body text of - // the card. - FormattedText string `json:"formattedText,omitempty"` - - // Image: Optional. The image for the card. - Image *GoogleCloudDialogflowV2IntentMessageImage `json:"image,omitempty"` +func (s *GoogleCloudDialogflowCxV3beta1Match) UnmarshalJSON(data []byte) error { + type NoMethod GoogleCloudDialogflowCxV3beta1Match + var s1 struct { + Confidence gensupport.JSONFloat64 `json:"confidence"` + *NoMethod + } + s1.NoMethod = (*NoMethod)(s) + if err := json.Unmarshal(data, &s1); err != nil { + return err + } + s.Confidence = float64(s1.Confidence) + return nil +} - // Subtitle: Optional. The subtitle of the card. - Subtitle string `json:"subtitle,omitempty"` +// GoogleCloudDialogflowCxV3beta1MatchIntentRequest: Request of +// MatchIntent. +type GoogleCloudDialogflowCxV3beta1MatchIntentRequest struct { + // QueryInput: Required. The input specification. + QueryInput *GoogleCloudDialogflowCxV3beta1QueryInput `json:"queryInput,omitempty"` - // Title: Optional. The title of the card. - Title string `json:"title,omitempty"` + // QueryParams: The parameters of this query. + QueryParams *GoogleCloudDialogflowCxV3beta1QueryParameters `json:"queryParams,omitempty"` - // ForceSendFields is a list of field names (e.g. "Buttons") to + // ForceSendFields is a list of field names (e.g. "QueryInput") 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 @@ -6058,7 +6002,7 @@ type GoogleCloudDialogflowV2IntentMessageBasicCard struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Buttons") to include in + // NullFields is a list of field names (e.g. "QueryInput") 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 @@ -6067,23 +6011,44 @@ type GoogleCloudDialogflowV2IntentMessageBasicCard struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2IntentMessageBasicCard) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2IntentMessageBasicCard +func (s *GoogleCloudDialogflowCxV3beta1MatchIntentRequest) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1MatchIntentRequest raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2IntentMessageBasicCardButton: The button -// object that appears at the bottom of a card. -type GoogleCloudDialogflowV2IntentMessageBasicCardButton struct { - // OpenUriAction: Required. Action to take when a user taps on the - // button. - OpenUriAction *GoogleCloudDialogflowV2IntentMessageBasicCardButtonOpenUriAction `json:"openUriAction,omitempty"` +// GoogleCloudDialogflowCxV3beta1MatchIntentResponse: Response of +// MatchIntent. +type GoogleCloudDialogflowCxV3beta1MatchIntentResponse struct { + // CurrentPage: The current Page. Some, not all fields are filled in + // this message, including but not limited to `name` and `display_name`. + CurrentPage *GoogleCloudDialogflowCxV3beta1Page `json:"currentPage,omitempty"` - // Title: Required. The title of the button. - Title string `json:"title,omitempty"` + // Matches: Match results, if more than one, ordered descendingly by the + // confidence we have that the particular intent matches the query. + Matches []*GoogleCloudDialogflowCxV3beta1Match `json:"matches,omitempty"` - // ForceSendFields is a list of field names (e.g. "OpenUriAction") to + // Text: If natural language text was provided as input, this field will + // contain a copy of the text. + Text string `json:"text,omitempty"` + + // Transcript: If natural language speech audio was provided as input, + // this field will contain the trascript for the audio. + Transcript string `json:"transcript,omitempty"` + + // TriggerEvent: If an event was provided as input, this field will + // contain a copy of the event name. + TriggerEvent string `json:"triggerEvent,omitempty"` + + // TriggerIntent: If an intent was provided as input, this field will + // contain a copy of the intent identifier. + TriggerIntent string `json:"triggerIntent,omitempty"` + + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` + + // ForceSendFields is a list of field names (e.g. "CurrentPage") 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 @@ -6091,7 +6056,7 @@ type GoogleCloudDialogflowV2IntentMessageBasicCardButton struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "OpenUriAction") to include + // NullFields is a list of field names (e.g. "CurrentPage") 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 @@ -6100,115 +6065,119 @@ type GoogleCloudDialogflowV2IntentMessageBasicCardButton struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2IntentMessageBasicCardButton) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2IntentMessageBasicCardButton +func (s *GoogleCloudDialogflowCxV3beta1MatchIntentResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1MatchIntentResponse raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2IntentMessageBasicCardButtonOpenUriAction: -// Opens the given URI. -type GoogleCloudDialogflowV2IntentMessageBasicCardButtonOpenUriAction struct { - // Uri: Required. The HTTP or HTTPS scheme URI. - Uri string `json:"uri,omitempty"` - - // ForceSendFields is a list of field names (e.g. "Uri") 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. "Uri") 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 *GoogleCloudDialogflowV2IntentMessageBasicCardButtonOpenUriAction) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2IntentMessageBasicCardButtonOpenUriAction - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} +// GoogleCloudDialogflowCxV3beta1NluSettings: Settings related to NLU. +type GoogleCloudDialogflowCxV3beta1NluSettings struct { + // ClassificationThreshold: To filter out false positive results and + // still get variety in matched natural language inputs for your agent, + // you can tune the machine learning classification threshold. If the + // returned score value is less than the threshold value, then a + // no-match event will be triggered. The score values range from 0.0 + // (completely uncertain) to 1.0 (completely certain). If set to 0.0, + // the default of 0.3 is used. + ClassificationThreshold float64 `json:"classificationThreshold,omitempty"` -// GoogleCloudDialogflowV2IntentMessageBrowseCarouselCard: Browse -// Carousel Card for Actions on Google. -// https://developers.google.com/actions/assistant/responses#browsing_carousel -type GoogleCloudDialogflowV2IntentMessageBrowseCarouselCard struct { - // ImageDisplayOptions: Optional. Settings for displaying the image. - // Applies to every image in items. + // ModelTrainingMode: Indicates NLU model training mode. // // Possible values: - // "IMAGE_DISPLAY_OPTIONS_UNSPECIFIED" - Fill the gaps between the - // image and the image container with gray bars. - // "GRAY" - Fill the gaps between the image and the image container - // with gray bars. - // "WHITE" - Fill the gaps between the image and the image container - // with white bars. - // "CROPPED" - Image is scaled such that the image width and height - // match or exceed the container dimensions. This may crop the top and - // bottom of the image if the scaled image height is greater than the - // container height, or crop the left and right of the image if the - // scaled image width is greater than the container width. This is - // similar to "Zoom Mode" on a widescreen TV when playing a 4:3 video. - // "BLURRED_BACKGROUND" - Pad the gaps between image and image frame - // with a blurred copy of the same image. - ImageDisplayOptions string `json:"imageDisplayOptions,omitempty"` + // "MODEL_TRAINING_MODE_UNSPECIFIED" - Not specified. + // `MODEL_TRAINING_MODE_AUTOMATIC` will be used. + // "MODEL_TRAINING_MODE_AUTOMATIC" - NLU model training is + // automatically triggered when a flow gets modified. User can also + // manually trigger model training in this mode. + // "MODEL_TRAINING_MODE_MANUAL" - User needs to manually trigger NLU + // model training. Best for large flows whose models take long time to + // train. + ModelTrainingMode string `json:"modelTrainingMode,omitempty"` - // Items: Required. List of items in the Browse Carousel Card. Minimum - // of two items, maximum of ten. - Items []*GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItem `json:"items,omitempty"` + // ModelType: Indicates the type of NLU model. + // + // Possible values: + // "MODEL_TYPE_UNSPECIFIED" - Not specified. `MODEL_TYPE_STANDARD` + // will be used. + // "MODEL_TYPE_STANDARD" - Use standard NLU model. + // "MODEL_TYPE_ADVANCED" - Use advanced NLU model. + ModelType string `json:"modelType,omitempty"` - // ForceSendFields is a list of field names (e.g. "ImageDisplayOptions") - // 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. + // "ClassificationThreshold") 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. "ImageDisplayOptions") 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 + // NullFields is a list of field names (e.g. "ClassificationThreshold") + // 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 *GoogleCloudDialogflowV2IntentMessageBrowseCarouselCard) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2IntentMessageBrowseCarouselCard +func (s *GoogleCloudDialogflowCxV3beta1NluSettings) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1NluSettings raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCa -// rdItem: Browsing carousel tile -type GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItem struct { - // Description: Optional. Description of the carousel item. Maximum of - // four lines of text. - Description string `json:"description,omitempty"` - - // Footer: Optional. Text that appears at the bottom of the Browse - // Carousel Card. Maximum of one line of text. - Footer string `json:"footer,omitempty"` +func (s *GoogleCloudDialogflowCxV3beta1NluSettings) UnmarshalJSON(data []byte) error { + type NoMethod GoogleCloudDialogflowCxV3beta1NluSettings + var s1 struct { + ClassificationThreshold gensupport.JSONFloat64 `json:"classificationThreshold"` + *NoMethod + } + s1.NoMethod = (*NoMethod)(s) + if err := json.Unmarshal(data, &s1); err != nil { + return err + } + s.ClassificationThreshold = float64(s1.ClassificationThreshold) + return nil +} - // Image: Optional. Hero image for the carousel item. - Image *GoogleCloudDialogflowV2IntentMessageImage `json:"image,omitempty"` +// GoogleCloudDialogflowCxV3beta1OutputAudioConfig: Instructs the speech +// synthesizer how to generate the output audio content. +type GoogleCloudDialogflowCxV3beta1OutputAudioConfig struct { + // AudioEncoding: Required. Audio encoding of the synthesized audio + // content. + // + // Possible values: + // "OUTPUT_AUDIO_ENCODING_UNSPECIFIED" - Not specified. + // "OUTPUT_AUDIO_ENCODING_LINEAR_16" - Uncompressed 16-bit signed + // little-endian samples (Linear PCM). Audio content returned as + // LINEAR16 also contains a WAV header. + // "OUTPUT_AUDIO_ENCODING_MP3" - MP3 audio at 32kbps. + // "OUTPUT_AUDIO_ENCODING_MP3_64_KBPS" - MP3 audio at 64kbps. + // "OUTPUT_AUDIO_ENCODING_OGG_OPUS" - Opus encoded audio wrapped in an + // ogg container. The result will be a file which can be played natively + // on Android, and in browsers (at least Chrome and Firefox). The + // quality of the encoding is considerably higher than MP3 while using + // approximately the same bitrate. + // "OUTPUT_AUDIO_ENCODING_MULAW" - 8-bit samples that compand 14-bit + // audio samples using G.711 PCMU/mu-law. + AudioEncoding string `json:"audioEncoding,omitempty"` - // OpenUriAction: Required. Action to present to the user. - OpenUriAction *GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction `json:"openUriAction,omitempty"` + // SampleRateHertz: Optional. The synthesis sample rate (in hertz) for + // this audio. If not provided, then the synthesizer will use the + // default sample rate based on the audio encoding. If this is different + // from the voice's natural sample rate, then the synthesizer will honor + // this request by converting to the desired sample rate (which might + // result in worse audio quality). + SampleRateHertz int64 `json:"sampleRateHertz,omitempty"` - // Title: Required. Title of the carousel item. Maximum of two lines of - // text. - Title string `json:"title,omitempty"` + // SynthesizeSpeechConfig: Optional. Configuration of how speech should + // be synthesized. + SynthesizeSpeechConfig *GoogleCloudDialogflowCxV3beta1SynthesizeSpeechConfig `json:"synthesizeSpeechConfig,omitempty"` - // ForceSendFields is a list of field names (e.g. "Description") to + // ForceSendFields is a list of field names (e.g. "AudioEncoding") 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 @@ -6216,7 +6185,7 @@ type GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardIte // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Description") to include + // NullFields is a list of field names (e.g. "AudioEncoding") 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 @@ -6225,29 +6194,75 @@ type GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardIte NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItem) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItem +func (s *GoogleCloudDialogflowCxV3beta1OutputAudioConfig) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1OutputAudioConfig raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCa -// rdItemOpenUrlAction: Actions on Google action to open a given url. -type GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction struct { - // Url: Required. URL - Url string `json:"url,omitempty"` +// GoogleCloudDialogflowCxV3beta1Page: A Dialogflow CX conversation +// (session) can be described and visualized as a state machine. The +// states of a CX session are represented by pages. For each flow, you +// define many pages, where your combined pages can handle a complete +// conversation on the topics the flow is designed for. At any given +// moment, exactly one page is the current page, the current page is +// considered active, and the flow associated with that page is +// considered active. Every flow has a special start page. When a flow +// initially becomes active, the start page page becomes the current +// page. For each conversational turn, the current page will either stay +// the same or transition to another page. You configure each page to +// collect information from the end-user that is relevant for the +// conversational state represented by the page. For more information, +// see the [Page +// guide](https://cloud.google.com/dialogflow/cx/docs/concept/page). +type GoogleCloudDialogflowCxV3beta1Page struct { + // DisplayName: Required. The human-readable name of the page, unique + // within the agent. + DisplayName string `json:"displayName,omitempty"` - // UrlTypeHint: Optional. Specifies the type of viewer that is used when - // opening the URL. Defaults to opening via web browser. - // - // Possible values: - // "URL_TYPE_HINT_UNSPECIFIED" - Unspecified - // "AMP_ACTION" - Url would be an amp action - // "AMP_CONTENT" - URL that points directly to AMP content, or to a - // canonical URL which refers to AMP content via . - UrlTypeHint string `json:"urlTypeHint,omitempty"` + // EntryFulfillment: The fulfillment to call when the session is + // entering the page. + EntryFulfillment *GoogleCloudDialogflowCxV3beta1Fulfillment `json:"entryFulfillment,omitempty"` - // ForceSendFields is a list of field names (e.g. "Url") to + // EventHandlers: Handlers associated with the page to handle events + // such as webhook errors, no match or no input. + EventHandlers []*GoogleCloudDialogflowCxV3beta1EventHandler `json:"eventHandlers,omitempty"` + + // Form: The form associated with the page, used for collecting + // parameters relevant to the page. + Form *GoogleCloudDialogflowCxV3beta1Form `json:"form,omitempty"` + + // Name: The unique identifier of the page. Required for the + // Pages.UpdatePage method. Pages.CreatePage populates the name + // automatically. Format: `projects//locations//agents//flows//pages/`. + Name string `json:"name,omitempty"` + + // TransitionRouteGroups: Ordered list of `TransitionRouteGroups` + // associated with the page. Transition route groups must be unique + // within a page. * If multiple transition routes within a page scope + // refer to the same intent, then the precedence order is: page's + // transition route -> page's transition route group -> flow's + // transition routes. * If multiple transition route groups within a + // page contain the same intent, then the first group in the ordered + // list takes precedence. + // Format:`projects//locations//agents//flows//transitionRouteGroups/`. + TransitionRouteGroups []string `json:"transitionRouteGroups,omitempty"` + + // TransitionRoutes: A list of transitions for the transition rules of + // this page. They route the conversation to another page in the same + // flow, or another flow. When we are in a certain page, the + // TransitionRoutes are evalauted in the following order: * + // TransitionRoutes defined in the page with intent specified. * + // TransitionRoutes defined in the transition route groups. * + // TransitionRoutes defined in flow with intent specified. * + // TransitionRoutes defined in the page with only condition specified. + TransitionRoutes []*GoogleCloudDialogflowCxV3beta1TransitionRoute `json:"transitionRoutes,omitempty"` + + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` + + // ForceSendFields is a list of field names (e.g. "DisplayName") 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 @@ -6255,36 +6270,34 @@ type GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardIte // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Url") 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 + // NullFields is a list of field names (e.g. "DisplayName") 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 *GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction +func (s *GoogleCloudDialogflowCxV3beta1Page) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1Page raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2IntentMessageCard: The card response message. -type GoogleCloudDialogflowV2IntentMessageCard struct { - // Buttons: Optional. The collection of card buttons. - Buttons []*GoogleCloudDialogflowV2IntentMessageCardButton `json:"buttons,omitempty"` - - // ImageUri: Optional. The public URI to an image file for the card. - ImageUri string `json:"imageUri,omitempty"` - - // Subtitle: Optional. The subtitle of the card. - Subtitle string `json:"subtitle,omitempty"` +// GoogleCloudDialogflowCxV3beta1PageInfo: Represents page information +// communicated to and from the webhook. +type GoogleCloudDialogflowCxV3beta1PageInfo struct { + // CurrentPage: Always present for WebhookRequest. Ignored for + // WebhookResponse. The unique identifier of the current page. Format: + // `projects//locations//agents//flows//pages/`. + CurrentPage string `json:"currentPage,omitempty"` - // Title: Optional. The title of the card. - Title string `json:"title,omitempty"` + // FormInfo: Optional for both WebhookRequest and WebhookResponse. + // Information about the form. + FormInfo *GoogleCloudDialogflowCxV3beta1PageInfoFormInfo `json:"formInfo,omitempty"` - // ForceSendFields is a list of field names (e.g. "Buttons") to + // ForceSendFields is a list of field names (e.g. "CurrentPage") 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 @@ -6292,32 +6305,30 @@ type GoogleCloudDialogflowV2IntentMessageCard struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Buttons") 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 + // NullFields is a list of field names (e.g. "CurrentPage") 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 *GoogleCloudDialogflowV2IntentMessageCard) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2IntentMessageCard +func (s *GoogleCloudDialogflowCxV3beta1PageInfo) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1PageInfo raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2IntentMessageCardButton: Contains information -// about a button. -type GoogleCloudDialogflowV2IntentMessageCardButton struct { - // Postback: Optional. The text to send back to the Dialogflow API or a - // URI to open. - Postback string `json:"postback,omitempty"` - - // Text: Optional. The text to show on the button. - Text string `json:"text,omitempty"` +// GoogleCloudDialogflowCxV3beta1PageInfoFormInfo: Represents form +// information. +type GoogleCloudDialogflowCxV3beta1PageInfoFormInfo struct { + // ParameterInfo: Optional for both WebhookRequest and WebhookResponse. + // The parameters contained in the form. Note that the webhook cannot + // add or remove any form parameter. + ParameterInfo []*GoogleCloudDialogflowCxV3beta1PageInfoFormInfoParameterInfo `json:"parameterInfo,omitempty"` - // ForceSendFields is a list of field names (e.g. "Postback") to + // ForceSendFields is a list of field names (e.g. "ParameterInfo") 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 @@ -6325,66 +6336,62 @@ type GoogleCloudDialogflowV2IntentMessageCardButton struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Postback") 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 + // NullFields is a list of field names (e.g. "ParameterInfo") 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 *GoogleCloudDialogflowV2IntentMessageCardButton) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2IntentMessageCardButton +func (s *GoogleCloudDialogflowCxV3beta1PageInfoFormInfo) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1PageInfoFormInfo raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2IntentMessageCarouselSelect: The card for -// presenting a carousel of options to select from. -type GoogleCloudDialogflowV2IntentMessageCarouselSelect struct { - // Items: Required. Carousel items. - Items []*GoogleCloudDialogflowV2IntentMessageCarouselSelectItem `json:"items,omitempty"` - - // ForceSendFields is a list of field names (e.g. "Items") 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. "Items") 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 *GoogleCloudDialogflowV2IntentMessageCarouselSelect) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2IntentMessageCarouselSelect - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} +// GoogleCloudDialogflowCxV3beta1PageInfoFormInfoParameterInfo: +// Represents parameter information. +type GoogleCloudDialogflowCxV3beta1PageInfoFormInfoParameterInfo struct { + // DisplayName: Always present for WebhookRequest. Required for + // WebhookResponse. The human-readable name of the parameter, unique + // within the form. This field cannot be modified by the webhook. + DisplayName string `json:"displayName,omitempty"` -// GoogleCloudDialogflowV2IntentMessageCarouselSelectItem: An item in -// the carousel. -type GoogleCloudDialogflowV2IntentMessageCarouselSelectItem struct { - // Description: Optional. The body text of the card. - Description string `json:"description,omitempty"` + // JustCollected: Optional for WebhookRequest. Ignored for + // WebhookResponse. Indicates if the parameter value was just collected + // on the last conversation turn. + JustCollected bool `json:"justCollected,omitempty"` - // Image: Optional. The image to display. - Image *GoogleCloudDialogflowV2IntentMessageImage `json:"image,omitempty"` + // Required: Optional for both WebhookRequest and WebhookResponse. + // Indicates whether the parameter is required. Optional parameters will + // not trigger prompts; however, they are filled if the user specifies + // them. Required parameters must be filled before form filling + // concludes. + Required bool `json:"required,omitempty"` - // Info: Required. Additional info about the option item. - Info *GoogleCloudDialogflowV2IntentMessageSelectItemInfo `json:"info,omitempty"` + // State: Always present for WebhookRequest. Required for + // WebhookResponse. The state of the parameter. This field can be set to + // INVALID by the webhook to invalidate the parameter; other values set + // by the webhook will be ignored. + // + // Possible values: + // "PARAMETER_STATE_UNSPECIFIED" - Not specified. This value should be + // never used. + // "EMPTY" - Indicates that the parameter does not have a value. + // "INVALID" - Indicates that the parameter value is invalid. This + // field can be used by the webhook to invalidate the parameter and ask + // the server to collect it from the user again. + // "FILLED" - Indicates that the parameter has a value. + State string `json:"state,omitempty"` - // Title: Required. Title of the carousel item. - Title string `json:"title,omitempty"` + // Value: Optional for both WebhookRequest and WebhookResponse. The + // value of the parameter. This field can be set by the webhook to + // change the parameter value. + Value interface{} `json:"value,omitempty"` - // ForceSendFields is a list of field names (e.g. "Description") to + // ForceSendFields is a list of field names (e.g. "DisplayName") 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 @@ -6392,7 +6399,7 @@ type GoogleCloudDialogflowV2IntentMessageCarouselSelectItem struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Description") to include + // NullFields is a list of field names (e.g. "DisplayName") 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 @@ -6401,30 +6408,40 @@ type GoogleCloudDialogflowV2IntentMessageCarouselSelectItem struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2IntentMessageCarouselSelectItem) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2IntentMessageCarouselSelectItem +func (s *GoogleCloudDialogflowCxV3beta1PageInfoFormInfoParameterInfo) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1PageInfoFormInfoParameterInfo raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2IntentMessageColumnProperties: Column -// properties for TableCard. -type GoogleCloudDialogflowV2IntentMessageColumnProperties struct { - // Header: Required. Column heading. - Header string `json:"header,omitempty"` +// GoogleCloudDialogflowCxV3beta1QueryInput: Represents the query input. +// It can contain one of: 1. A conversational query in the form of text. +// 2. An intent query that specifies which intent to trigger. 3. Natural +// language speech audio to be processed. 4. An event to be triggered. +type GoogleCloudDialogflowCxV3beta1QueryInput struct { + // Audio: The natural language speech audio to be processed. + Audio *GoogleCloudDialogflowCxV3beta1AudioInput `json:"audio,omitempty"` - // HorizontalAlignment: Optional. Defines text alignment for all cells - // in this column. - // - // Possible values: - // "HORIZONTAL_ALIGNMENT_UNSPECIFIED" - Text is aligned to the leading - // edge of the column. - // "LEADING" - Text is aligned to the leading edge of the column. - // "CENTER" - Text is centered in the column. - // "TRAILING" - Text is aligned to the trailing edge of the column. - HorizontalAlignment string `json:"horizontalAlignment,omitempty"` + // Dtmf: The DTMF event to be handled. + Dtmf *GoogleCloudDialogflowCxV3beta1DtmfInput `json:"dtmf,omitempty"` - // ForceSendFields is a list of field names (e.g. "Header") to + // Event: The event to be triggered. + Event *GoogleCloudDialogflowCxV3beta1EventInput `json:"event,omitempty"` + + // Intent: The intent to be triggered. + Intent *GoogleCloudDialogflowCxV3beta1IntentInput `json:"intent,omitempty"` + + // LanguageCode: Required. The language of the input. See [Language + // Support](https://cloud.google.com/dialogflow/docs/reference/language) + // for a list of the currently supported language codes. Note that + // queries in the same session do not necessarily need to specify the + // same language. + LanguageCode string `json:"languageCode,omitempty"` + + // Text: The natural language text to be processed. + Text *GoogleCloudDialogflowCxV3beta1TextInput `json:"text,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Audio") 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 @@ -6432,7 +6449,7 @@ type GoogleCloudDialogflowV2IntentMessageColumnProperties struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Header") to include in API + // NullFields is a list of field names (e.g. "Audio") 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 @@ -6441,169 +6458,170 @@ type GoogleCloudDialogflowV2IntentMessageColumnProperties struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2IntentMessageColumnProperties) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2IntentMessageColumnProperties +func (s *GoogleCloudDialogflowCxV3beta1QueryInput) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1QueryInput raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2IntentMessageImage: The image response -// message. -type GoogleCloudDialogflowV2IntentMessageImage struct { - // AccessibilityText: Optional. A text description of the image to be - // used for accessibility, e.g., screen readers. - AccessibilityText string `json:"accessibilityText,omitempty"` +// GoogleCloudDialogflowCxV3beta1QueryParameters: Represents the +// parameters of a conversational query. +type GoogleCloudDialogflowCxV3beta1QueryParameters struct { + // AnalyzeQueryTextSentiment: Configures whether sentiment analysis + // should be performed. If not provided, sentiment analysis is not + // performed. + AnalyzeQueryTextSentiment bool `json:"analyzeQueryTextSentiment,omitempty"` - // ImageUri: Optional. The public URI to an image file. - ImageUri string `json:"imageUri,omitempty"` + // GeoLocation: The geo location of this conversational query. + GeoLocation *GoogleTypeLatLng `json:"geoLocation,omitempty"` - // ForceSendFields is a list of field names (e.g. "AccessibilityText") - // 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:"-"` + // Parameters: Additional parameters to be put into session parameters. + // To remove a parameter from the session, clients should explicitly set + // the parameter value to null. Depending on your protocol or client + // library language, this is a map, associative array, symbol table, + // dictionary, or JSON object composed of a collection of (MapKey, + // MapValue) pairs: - MapKey type: string - MapKey value: parameter name + // - MapValue type: - If parameter's entity type is a composite entity: + // map - Else: string or number, depending on parameter value type - + // MapValue value: - If parameter's entity type is a composite entity: + // map from composite entity property names to property values - Else: + // parameter value + Parameters googleapi.RawMessage `json:"parameters,omitempty"` - // NullFields is a list of field names (e.g. "AccessibilityText") 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:"-"` -} + // Payload: This field can be used to pass custom data into the webhook + // associated with the agent. Arbitrary JSON objects are supported. + Payload googleapi.RawMessage `json:"payload,omitempty"` -func (s *GoogleCloudDialogflowV2IntentMessageImage) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2IntentMessageImage - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} + // SessionEntityTypes: Additional session entity types to replace or + // extend developer entity types with. The entity synonyms apply to all + // languages and persist for the session of this query. + SessionEntityTypes []*GoogleCloudDialogflowCxV3beta1SessionEntityType `json:"sessionEntityTypes,omitempty"` -// GoogleCloudDialogflowV2IntentMessageLinkOutSuggestion: The suggestion -// chip message that allows the user to jump out to the app or website -// associated with this agent. -type GoogleCloudDialogflowV2IntentMessageLinkOutSuggestion struct { - // DestinationName: Required. The name of the app or site this chip is - // linking to. - DestinationName string `json:"destinationName,omitempty"` + // TimeZone: The time zone of this conversational query from the [time + // zone database](https://www.iana.org/time-zones), e.g., + // America/New_York, Europe/Paris. If not provided, the time zone + // specified in the agent is used. + TimeZone string `json:"timeZone,omitempty"` - // Uri: Required. The URI of the app or site to open when the user taps - // the suggestion chip. - Uri string `json:"uri,omitempty"` + // WebhookHeaders: This field can be used to pass HTTP headers for a + // webhook call. These headers will be sent to webhook along with the + // headers that have been configured through Dialogflow web console. The + // headers defined within this field will overwrite the headers + // configured through Dialogflow console if there is a conflict. Header + // names are case-insensitive. Google's specified headers are not + // allowed. Including: "Host", "Content-Length", "Connection", "From", + // "User-Agent", "Accept-Encoding", "If-Modified-Since", + // "If-None-Match", "X-Forwarded-For", etc. + WebhookHeaders map[string]string `json:"webhookHeaders,omitempty"` - // ForceSendFields is a list of field names (e.g. "DestinationName") 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. + // "AnalyzeQueryTextSentiment") 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. "DestinationName") 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. + // "AnalyzeQueryTextSentiment") 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 *GoogleCloudDialogflowV2IntentMessageLinkOutSuggestion) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2IntentMessageLinkOutSuggestion +func (s *GoogleCloudDialogflowCxV3beta1QueryParameters) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1QueryParameters raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2IntentMessageListSelect: The card for -// presenting a list of options to select from. -type GoogleCloudDialogflowV2IntentMessageListSelect struct { - // Items: Required. List items. - Items []*GoogleCloudDialogflowV2IntentMessageListSelectItem `json:"items,omitempty"` +// GoogleCloudDialogflowCxV3beta1QueryResult: Represents the result of a +// conversational query. +type GoogleCloudDialogflowCxV3beta1QueryResult struct { + // CurrentPage: The current Page. Some, not all fields are filled in + // this message, including but not limited to `name` and `display_name`. + CurrentPage *GoogleCloudDialogflowCxV3beta1Page `json:"currentPage,omitempty"` - // Subtitle: Optional. Subtitle of the list. - Subtitle string `json:"subtitle,omitempty"` + // DiagnosticInfo: The free-form diagnostic info. For example, this + // field could contain webhook call latency. The string keys of the + // Struct's fields map can change without notice. + DiagnosticInfo googleapi.RawMessage `json:"diagnosticInfo,omitempty"` - // Title: Optional. The overall title of the list. - Title string `json:"title,omitempty"` + // Intent: The Intent that matched the conversational query. Some, not + // all fields are filled in this message, including but not limited to: + // `name` and `display_name`. This field is deprecated, please use + // QueryResult.match instead. + Intent *GoogleCloudDialogflowCxV3beta1Intent `json:"intent,omitempty"` - // ForceSendFields is a list of field names (e.g. "Items") 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:"-"` + // IntentDetectionConfidence: The intent detection confidence. Values + // range from 0.0 (completely uncertain) to 1.0 (completely certain). + // This value is for informational purpose only and is only used to help + // match the best intent within the classification threshold. This value + // may change for the same end-user expression at any time due to a + // model retraining or change in implementation. This field is + // deprecated, please use QueryResult.match instead. + IntentDetectionConfidence float64 `json:"intentDetectionConfidence,omitempty"` - // NullFields is a list of field names (e.g. "Items") 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:"-"` -} + // LanguageCode: The language that was triggered during intent + // detection. See [Language + // Support](https://cloud.google.com/dialogflow/docs/reference/language) + // for a list of the currently supported language codes. + LanguageCode string `json:"languageCode,omitempty"` -func (s *GoogleCloudDialogflowV2IntentMessageListSelect) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2IntentMessageListSelect - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} + // Match: Intent match result, could be an intent or an event. + Match *GoogleCloudDialogflowCxV3beta1Match `json:"match,omitempty"` -// GoogleCloudDialogflowV2IntentMessageListSelectItem: An item in the -// list. -type GoogleCloudDialogflowV2IntentMessageListSelectItem struct { - // Description: Optional. The main text describing the item. - Description string `json:"description,omitempty"` + // Parameters: The collected session parameters. Depending on your + // protocol or client library language, this is a map, associative + // array, symbol table, dictionary, or JSON object composed of a + // collection of (MapKey, MapValue) pairs: - MapKey type: string - + // MapKey value: parameter name - MapValue type: - If parameter's entity + // type is a composite entity: map - Else: string or number, depending + // on parameter value type - MapValue value: - If parameter's entity + // type is a composite entity: map from composite entity property names + // to property values - Else: parameter value + Parameters googleapi.RawMessage `json:"parameters,omitempty"` - // Image: Optional. The image to display. - Image *GoogleCloudDialogflowV2IntentMessageImage `json:"image,omitempty"` + // ResponseMessages: The list of rich messages returned to the client. + // Responses vary from simple text messages to more sophisticated, + // structured payloads used to drive complex logic. + ResponseMessages []*GoogleCloudDialogflowCxV3beta1ResponseMessage `json:"responseMessages,omitempty"` - // Info: Required. Additional information about this option. - Info *GoogleCloudDialogflowV2IntentMessageSelectItemInfo `json:"info,omitempty"` + // SentimentAnalysisResult: The sentiment analyss result, which depends + // on `analyze_query_text_sentiment`, specified in the request. + SentimentAnalysisResult *GoogleCloudDialogflowCxV3beta1SentimentAnalysisResult `json:"sentimentAnalysisResult,omitempty"` - // Title: Required. The title of the list item. - Title string `json:"title,omitempty"` + // Text: If natural language text was provided as input, this field will + // contain a copy of the text. + Text string `json:"text,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:"-"` + // Transcript: If natural language speech audio was provided as input, + // this field will contain the trascript for the audio. + Transcript string `json:"transcript,omitempty"` - // 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:"-"` -} + // TriggerEvent: If an event was provided as input, this field will + // contain the name of the event. + TriggerEvent string `json:"triggerEvent,omitempty"` -func (s *GoogleCloudDialogflowV2IntentMessageListSelectItem) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2IntentMessageListSelectItem - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} + // TriggerIntent: If an intent was provided as input, this field will + // contain a copy of the intent identifier. + TriggerIntent string `json:"triggerIntent,omitempty"` -// GoogleCloudDialogflowV2IntentMessageMediaContent: The media content -// card for Actions on Google. -type GoogleCloudDialogflowV2IntentMessageMediaContent struct { - // MediaObjects: Required. List of media objects. - MediaObjects []*GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject `json:"mediaObjects,omitempty"` + // WebhookPayloads: The list of webhook payload in + // WebhookResponse.payload, in the order of call sequence. If some + // webhook call fails or doesn't return any payload, an empty `Struct` + // would be used instead. + WebhookPayloads []googleapi.RawMessage `json:"webhookPayloads,omitempty"` - // MediaType: Optional. What type of media is the content (ie "audio"). - // - // Possible values: - // "RESPONSE_MEDIA_TYPE_UNSPECIFIED" - Unspecified. - // "AUDIO" - Response media type is audio. - MediaType string `json:"mediaType,omitempty"` + // WebhookStatuses: The list of webhook call status in the order of call + // sequence. + WebhookStatuses []*GoogleRpcStatus `json:"webhookStatuses,omitempty"` - // ForceSendFields is a list of field names (e.g. "MediaObjects") to + // ForceSendFields is a list of field names (e.g. "CurrentPage") 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 @@ -6611,7 +6629,7 @@ type GoogleCloudDialogflowV2IntentMessageMediaContent struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "MediaObjects") to include + // NullFields is a list of field names (e.g. "CurrentPage") 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 @@ -6620,31 +6638,33 @@ type GoogleCloudDialogflowV2IntentMessageMediaContent struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2IntentMessageMediaContent) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2IntentMessageMediaContent +func (s *GoogleCloudDialogflowCxV3beta1QueryResult) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1QueryResult raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject: -// Response media object for media content card. -type GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject struct { - // ContentUrl: Required. Url where the media is stored. - ContentUrl string `json:"contentUrl,omitempty"` - - // Description: Optional. Description of media card. - Description string `json:"description,omitempty"` - - // Icon: Optional. Icon to display above media content. - Icon *GoogleCloudDialogflowV2IntentMessageImage `json:"icon,omitempty"` - - // LargeImage: Optional. Image to display above media content. - LargeImage *GoogleCloudDialogflowV2IntentMessageImage `json:"largeImage,omitempty"` +func (s *GoogleCloudDialogflowCxV3beta1QueryResult) UnmarshalJSON(data []byte) error { + type NoMethod GoogleCloudDialogflowCxV3beta1QueryResult + var s1 struct { + IntentDetectionConfidence gensupport.JSONFloat64 `json:"intentDetectionConfidence"` + *NoMethod + } + s1.NoMethod = (*NoMethod)(s) + if err := json.Unmarshal(data, &s1); err != nil { + return err + } + s.IntentDetectionConfidence = float64(s1.IntentDetectionConfidence) + return nil +} - // Name: Required. Name of media card. - Name string `json:"name,omitempty"` +// GoogleCloudDialogflowCxV3beta1ReloadDocumentOperationMetadata: +// Metadata for ReloadDocument operation. +type GoogleCloudDialogflowCxV3beta1ReloadDocumentOperationMetadata struct { + // GenericMetadata: The generic information of the operation. + GenericMetadata *GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata `json:"genericMetadata,omitempty"` - // ForceSendFields is a list of field names (e.g. "ContentUrl") to + // ForceSendFields is a list of field names (e.g. "GenericMetadata") 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 @@ -6652,143 +6672,83 @@ type GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject struct // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "ContentUrl") 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. "GenericMetadata") 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 *GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject +func (s *GoogleCloudDialogflowCxV3beta1ReloadDocumentOperationMetadata) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1ReloadDocumentOperationMetadata raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2IntentMessageQuickReplies: The quick replies -// response message. -type GoogleCloudDialogflowV2IntentMessageQuickReplies struct { - // QuickReplies: Optional. The collection of quick replies. - QuickReplies []string `json:"quickReplies,omitempty"` - - // Title: Optional. The title of the collection of quick replies. - Title string `json:"title,omitempty"` - - // ForceSendFields is a list of field names (e.g. "QuickReplies") 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. "QuickReplies") 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 *GoogleCloudDialogflowV2IntentMessageQuickReplies) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2IntentMessageQuickReplies - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// GoogleCloudDialogflowV2IntentMessageSelectItemInfo: Additional info -// about the select item for when it is triggered in a dialog. -type GoogleCloudDialogflowV2IntentMessageSelectItemInfo struct { - // Key: Required. A unique key that will be sent back to the agent if - // this response is given. - Key string `json:"key,omitempty"` - - // Synonyms: Optional. A list of synonyms that can also be used to - // trigger this item in dialog. - Synonyms []string `json:"synonyms,omitempty"` - - // ForceSendFields is a list of field names (e.g. "Key") 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. "Key") 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 *GoogleCloudDialogflowV2IntentMessageSelectItemInfo) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2IntentMessageSelectItemInfo - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} +// GoogleCloudDialogflowCxV3beta1ResponseMessage: Represents a response +// message that can be returned by a conversational agent. Response +// messages are also used for output audio synthesis. The approach is as +// follows: * If at least one OutputAudioText response is present, then +// all OutputAudioText responses are linearly concatenated, and the +// result is used for output audio synthesis. * If the OutputAudioText +// responses are a mixture of text and SSML, then the concatenated +// result is treated as SSML; otherwise, the result is treated as either +// text or SSML as appropriate. The agent designer should ideally use +// either text or SSML consistently throughout the bot design. * +// Otherwise, all Text responses are linearly concatenated, and the +// result is used for output audio synthesis. This approach allows for +// more sophisticated user experience scenarios, where the text +// displayed to the user may differ from what is heard. +type GoogleCloudDialogflowCxV3beta1ResponseMessage struct { + // ConversationSuccess: Indicates that the conversation succeeded. + ConversationSuccess *GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess `json:"conversationSuccess,omitempty"` -// GoogleCloudDialogflowV2IntentMessageSimpleResponse: The simple -// response message containing speech or text. -type GoogleCloudDialogflowV2IntentMessageSimpleResponse struct { - // DisplayText: Optional. The text to display. - DisplayText string `json:"displayText,omitempty"` + // EndInteraction: Output only. A signal that indicates the interaction + // with the Dialogflow agent has ended. This message is generated by + // Dialogflow only when the conversation reaches `END_SESSION` or + // `END_PAGE` page. It is not supposed to be defined by the user. It's + // guaranteed that there is at most one such message in each response. + EndInteraction *GoogleCloudDialogflowCxV3beta1ResponseMessageEndInteraction `json:"endInteraction,omitempty"` - // Ssml: One of text_to_speech or ssml must be provided. Structured - // spoken response to the user in the SSML format. Mutually exclusive - // with text_to_speech. - Ssml string `json:"ssml,omitempty"` + // LiveAgentHandoff: Hands off conversation to a human agent. + LiveAgentHandoff *GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff `json:"liveAgentHandoff,omitempty"` - // TextToSpeech: One of text_to_speech or ssml must be provided. The - // plain text of the speech output. Mutually exclusive with ssml. - TextToSpeech string `json:"textToSpeech,omitempty"` + // MixedAudio: Output only. An audio response message composed of both + // the synthesized Dialogflow agent responses and responses defined via + // play_audio. This message is generated by Dialogflow only and not + // supposed to be defined by the user. + MixedAudio *GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio `json:"mixedAudio,omitempty"` - // ForceSendFields is a list of field names (e.g. "DisplayText") 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:"-"` + // OutputAudioText: A text or ssml response that is preferentially used + // for TTS output audio synthesis, as described in the comment on the + // ResponseMessage message. + OutputAudioText *GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText `json:"outputAudioText,omitempty"` - // NullFields is a list of field names (e.g. "DisplayText") 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:"-"` -} + // Payload: Returns a response containing a custom, platform-specific + // payload. + Payload googleapi.RawMessage `json:"payload,omitempty"` -func (s *GoogleCloudDialogflowV2IntentMessageSimpleResponse) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2IntentMessageSimpleResponse - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} + // PlayAudio: Signal that the client should play an audio clip hosted at + // a client-specific URI. Dialogflow uses this to construct mixed_audio. + // However, Dialogflow itself does not try to read or process the URI in + // any way. + PlayAudio *GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio `json:"playAudio,omitempty"` -// GoogleCloudDialogflowV2IntentMessageSimpleResponses: The collection -// of simple response candidates. This message in -// `QueryResult.fulfillment_messages` and -// `WebhookResponse.fulfillment_messages` should contain only one -// `SimpleResponse`. -type GoogleCloudDialogflowV2IntentMessageSimpleResponses struct { - // SimpleResponses: Required. The list of simple responses. - SimpleResponses []*GoogleCloudDialogflowV2IntentMessageSimpleResponse `json:"simpleResponses,omitempty"` + // Text: Returns a text response. + Text *GoogleCloudDialogflowCxV3beta1ResponseMessageText `json:"text,omitempty"` - // ForceSendFields is a list of field names (e.g. "SimpleResponses") to - // unconditionally include in API requests. By default, fields with + // ForceSendFields is a list of field names (e.g. "ConversationSuccess") + // 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. "SimpleResponses") to + // NullFields is a list of field names (e.g. "ConversationSuccess") 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 @@ -6798,20 +6758,29 @@ type GoogleCloudDialogflowV2IntentMessageSimpleResponses struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2IntentMessageSimpleResponses) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2IntentMessageSimpleResponses +func (s *GoogleCloudDialogflowCxV3beta1ResponseMessage) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1ResponseMessage raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2IntentMessageSuggestion: The suggestion chip -// message that the user can tap to quickly post a reply to the -// conversation. -type GoogleCloudDialogflowV2IntentMessageSuggestion struct { - // Title: Required. The text shown the in the suggestion chip. - Title string `json:"title,omitempty"` +// GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess: +// Indicates that the conversation succeeded, i.e., the bot handled the +// issue that the customer talked to it about. Dialogflow only uses this +// to determine which conversations should be counted as successful and +// doesn't process the metadata in this message in any way. Note that +// Dialogflow also considers conversations that get to the conversation +// end page as successful even if they don't return ConversationSuccess. +// You may set this, for example: * In the entry_fulfillment of a Page +// if entering the page indicates that the conversation succeeded. * In +// a webhook response when you determine that you handled the customer +// issue. +type GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess struct { + // Metadata: Custom metadata. Dialogflow doesn't impose any structure on + // this. + Metadata googleapi.RawMessage `json:"metadata,omitempty"` - // ForceSendFields is a list of field names (e.g. "Title") to + // ForceSendFields is a list of field names (e.g. "Metadata") 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 @@ -6819,8 +6788,8 @@ type GoogleCloudDialogflowV2IntentMessageSuggestion struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Title") to include in API - // requests with the JSON null value. By default, fields with empty + // NullFields is a list of field names (e.g. "Metadata") 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. @@ -6828,19 +6797,34 @@ type GoogleCloudDialogflowV2IntentMessageSuggestion struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2IntentMessageSuggestion) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2IntentMessageSuggestion +func (s *GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2IntentMessageSuggestions: The collection of -// suggestions. -type GoogleCloudDialogflowV2IntentMessageSuggestions struct { - // Suggestions: Required. The list of suggested replies. - Suggestions []*GoogleCloudDialogflowV2IntentMessageSuggestion `json:"suggestions,omitempty"` +// GoogleCloudDialogflowCxV3beta1ResponseMessageEndInteraction: +// Indicates that interaction with the Dialogflow agent has ended. This +// message is generated by Dialogflow only and not supposed to be +// defined by the user. +type GoogleCloudDialogflowCxV3beta1ResponseMessageEndInteraction struct { +} - // ForceSendFields is a list of field names (e.g. "Suggestions") to +// GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff: +// Indicates that the conversation should be handed off to a live agent. +// Dialogflow only uses this to determine which conversations were +// handed off to a human agent for measurement purposes. What else to do +// with this signal is up to you and your handoff procedures. You may +// set this, for example: * In the entry_fulfillment of a Page if +// entering the page indicates something went extremely wrong in the +// conversation. * In a webhook response when you determine that the +// customer issue can only be handled by a human. +type GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff struct { + // Metadata: Custom metadata for your handoff procedure. Dialogflow + // doesn't impose any structure on this. + Metadata googleapi.RawMessage `json:"metadata,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Metadata") 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 @@ -6848,44 +6832,32 @@ type GoogleCloudDialogflowV2IntentMessageSuggestions struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Suggestions") 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 + // NullFields is a list of field names (e.g. "Metadata") 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 *GoogleCloudDialogflowV2IntentMessageSuggestions) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2IntentMessageSuggestions +func (s *GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2IntentMessageTableCard: Table card for Actions -// on Google. -type GoogleCloudDialogflowV2IntentMessageTableCard struct { - // Buttons: Optional. List of buttons for the card. - Buttons []*GoogleCloudDialogflowV2IntentMessageBasicCardButton `json:"buttons,omitempty"` - - // ColumnProperties: Optional. Display properties for the columns in - // this table. - ColumnProperties []*GoogleCloudDialogflowV2IntentMessageColumnProperties `json:"columnProperties,omitempty"` - - // Image: Optional. Image which should be displayed on the card. - Image *GoogleCloudDialogflowV2IntentMessageImage `json:"image,omitempty"` - - // Rows: Optional. Rows in this table of data. - Rows []*GoogleCloudDialogflowV2IntentMessageTableCardRow `json:"rows,omitempty"` - - // Subtitle: Optional. Subtitle to the title. - Subtitle string `json:"subtitle,omitempty"` - - // Title: Required. Title of the card. - Title string `json:"title,omitempty"` +// GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio: Represents +// an audio message that is composed of both segments synthesized from +// the Dialogflow agent prompts and ones hosted externally at the +// specified URIs. The external URIs are specified via play_audio. This +// message is generated by Dialogflow only and not supposed to be +// defined by the user. +type GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio struct { + // Segments: Segments this audio response is composed of. + Segments []*GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment `json:"segments,omitempty"` - // ForceSendFields is a list of field names (e.g. "Buttons") to + // ForceSendFields is a list of field names (e.g. "Segments") 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 @@ -6893,7 +6865,7 @@ type GoogleCloudDialogflowV2IntentMessageTableCard struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Buttons") to include in + // NullFields is a list of field names (e.g. "Segments") 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 @@ -6902,79 +6874,181 @@ type GoogleCloudDialogflowV2IntentMessageTableCard struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2IntentMessageTableCard) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2IntentMessageTableCard - raw := NoMethod(*s) +func (s *GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2IntentMessageTableCardCell: Cell of -// TableCardRow. -type GoogleCloudDialogflowV2IntentMessageTableCardCell struct { - // Text: Required. Text in this cell. +// GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment: +// Represents one segment of audio. +type GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment struct { + // AllowPlaybackInterruption: Output only. Whether the playback of this + // segment can be interrupted by the end user's speech and the client + // should then start the next Dialogflow request. + AllowPlaybackInterruption bool `json:"allowPlaybackInterruption,omitempty"` + + // Audio: Raw audio synthesized from the Dialogflow agent's response + // using the output config specified in the request. + Audio string `json:"audio,omitempty"` + + // Uri: Client-specific URI that points to an audio clip accessible to + // the client. Dialogflow does not impose any validation on it. + Uri string `json:"uri,omitempty"` + + // ForceSendFields is a list of field names (e.g. + // "AllowPlaybackInterruption") 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. + // "AllowPlaybackInterruption") 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 *GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText: A text +// or ssml response that is preferentially used for TTS output audio +// synthesis, as described in the comment on the ResponseMessage +// message. +type GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText struct { + // AllowPlaybackInterruption: Output only. Whether the playback of this + // message can be interrupted by the end user's speech and the client + // can then starts the next Dialogflow request. + AllowPlaybackInterruption bool `json:"allowPlaybackInterruption,omitempty"` + + // Ssml: The SSML text to be synthesized. For more information, see + // [SSML](/speech/text-to-speech/docs/ssml). + Ssml string `json:"ssml,omitempty"` + + // Text: The raw text to be synthesized. Text string `json:"text,omitempty"` - // ForceSendFields is a list of field names (e.g. "Text") 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. + // "AllowPlaybackInterruption") 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. "Text") 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. + // "AllowPlaybackInterruption") 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 *GoogleCloudDialogflowV2IntentMessageTableCardCell) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2IntentMessageTableCardCell +func (s *GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2IntentMessageTableCardRow: Row of TableCard. -type GoogleCloudDialogflowV2IntentMessageTableCardRow struct { - // Cells: Optional. List of cells that make up this row. - Cells []*GoogleCloudDialogflowV2IntentMessageTableCardCell `json:"cells,omitempty"` +// GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio: Specifies an +// audio clip to be played by the client as part of the response. +type GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio struct { + // AllowPlaybackInterruption: Output only. Whether the playback of this + // message can be interrupted by the end user's speech and the client + // can then starts the next Dialogflow request. + AllowPlaybackInterruption bool `json:"allowPlaybackInterruption,omitempty"` - // DividerAfter: Optional. Whether to add a visual divider after this - // row. - DividerAfter bool `json:"dividerAfter,omitempty"` + // AudioUri: Required. URI of the audio clip. Dialogflow does not impose + // any validation on this value. It is specific to the client that reads + // it. + AudioUri string `json:"audioUri,omitempty"` - // ForceSendFields is a list of field names (e.g. "Cells") 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. + // "AllowPlaybackInterruption") 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. "Cells") 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. + // "AllowPlaybackInterruption") 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 *GoogleCloudDialogflowV2IntentMessageTableCardRow) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2IntentMessageTableCardRow +func (s *GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2IntentMessageText: The text response message. -type GoogleCloudDialogflowV2IntentMessageText struct { - // Text: Optional. The collection of the agent's responses. +// GoogleCloudDialogflowCxV3beta1ResponseMessageText: The text response +// message. +type GoogleCloudDialogflowCxV3beta1ResponseMessageText struct { + // AllowPlaybackInterruption: Output only. Whether the playback of this + // message can be interrupted by the end user's speech and the client + // can then starts the next Dialogflow request. + AllowPlaybackInterruption bool `json:"allowPlaybackInterruption,omitempty"` + + // Text: Required. A collection of text responses. Text []string `json:"text,omitempty"` - // ForceSendFields is a list of field names (e.g. "Text") to + // ForceSendFields is a list of field names (e.g. + // "AllowPlaybackInterruption") 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. + // "AllowPlaybackInterruption") 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 *GoogleCloudDialogflowCxV3beta1ResponseMessageText) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1ResponseMessageText + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3beta1RestoreAgentRequest: The request +// message for Agents.RestoreAgent. +type GoogleCloudDialogflowCxV3beta1RestoreAgentRequest struct { + // AgentContent: Uncompressed raw byte content for agent. + AgentContent string `json:"agentContent,omitempty"` + + // AgentUri: The [Google Cloud + // Storage](https://cloud.google.com/storage/docs/) URI to restore agent + // from. The format of this URI must be `gs:///`. + AgentUri string `json:"agentUri,omitempty"` + + // ForceSendFields is a list of field names (e.g. "AgentContent") 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 @@ -6982,60 +7056,39 @@ type GoogleCloudDialogflowV2IntentMessageText struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Text") 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 + // NullFields is a list of field names (e.g. "AgentContent") 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 *GoogleCloudDialogflowV2IntentMessageText) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2IntentMessageText +func (s *GoogleCloudDialogflowCxV3beta1RestoreAgentRequest) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1RestoreAgentRequest raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2IntentParameter: Represents intent parameters. -type GoogleCloudDialogflowV2IntentParameter struct { - // DefaultValue: Optional. The default value to use when the `value` - // yields an empty result. Default values can be extracted from contexts - // by using the following syntax: `#context_name.parameter_name`. - DefaultValue string `json:"defaultValue,omitempty"` - - // DisplayName: Required. The name of the parameter. - DisplayName string `json:"displayName,omitempty"` - - // EntityTypeDisplayName: Optional. The name of the entity type, - // prefixed with `@`, that describes values of the parameter. If the - // parameter is required, this must be provided. - EntityTypeDisplayName string `json:"entityTypeDisplayName,omitempty"` - - // IsList: Optional. Indicates whether the parameter represents a list - // of values. - IsList bool `json:"isList,omitempty"` +// GoogleCloudDialogflowCxV3beta1RunTestCaseMetadata: Metadata returned +// for the TestCases.RunTestCase long running operation. +type GoogleCloudDialogflowCxV3beta1RunTestCaseMetadata struct { +} - // Mandatory: Optional. Indicates whether the parameter is required. - // That is, whether the intent cannot be completed without collecting - // the parameter value. - Mandatory bool `json:"mandatory,omitempty"` +// GoogleCloudDialogflowCxV3beta1RunTestCaseRequest: The request message +// for TestCases.RunTestCase. +type GoogleCloudDialogflowCxV3beta1RunTestCaseRequest struct { + // Environment: Optional. Environment name. If not set, draft + // environment is assumed. Format: + // `projects//locations//agents//environments/`. + Environment string `json:"environment,omitempty"` - // Name: The unique identifier of this parameter. + // Name: Required. Format of test case name to run: + // `projects//locations/ /agents//testCases/`. Name string `json:"name,omitempty"` - // Prompts: Optional. The collection of prompts that the agent can - // present to the user in order to collect a value for the parameter. - Prompts []string `json:"prompts,omitempty"` - - // Value: Optional. The definition of the parameter value. It can be: - - // a constant string, - a parameter value defined as `$parameter_name`, - // - an original parameter value defined as `$parameter_name.original`, - // - a parameter value from some context defined as - // `#context_name.parameter_name`. - Value string `json:"value,omitempty"` - - // ForceSendFields is a list of field names (e.g. "DefaultValue") to + // ForceSendFields is a list of field names (e.g. "Environment") 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 @@ -7043,7 +7096,7 @@ type GoogleCloudDialogflowV2IntentParameter struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "DefaultValue") to include + // NullFields is a list of field names (e.g. "Environment") 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 @@ -7052,53 +7105,19 @@ type GoogleCloudDialogflowV2IntentParameter struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2IntentParameter) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2IntentParameter +func (s *GoogleCloudDialogflowCxV3beta1RunTestCaseRequest) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1RunTestCaseRequest raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2IntentTrainingPhrase: Represents an example -// that the agent is trained on. -type GoogleCloudDialogflowV2IntentTrainingPhrase struct { - // Name: Output only. The unique identifier of this training phrase. - Name string `json:"name,omitempty"` +// GoogleCloudDialogflowCxV3beta1RunTestCaseResponse: The response +// message for TestCases.RunTestCase. +type GoogleCloudDialogflowCxV3beta1RunTestCaseResponse struct { + // Result: The result. + Result *GoogleCloudDialogflowCxV3beta1TestCaseResult `json:"result,omitempty"` - // Parts: Required. The ordered list of training phrase parts. The parts - // are concatenated in order to form the training phrase. Note: The API - // does not automatically annotate training phrases like the Dialogflow - // Console does. Note: Do not forget to include whitespace at part - // boundaries, so the training phrase is well formatted when the parts - // are concatenated. If the training phrase does not need to be - // annotated with parameters, you just need a single part with only the - // Part.text field set. If you want to annotate the training phrase, you - // must create multiple parts, where the fields of each part are - // populated in one of two ways: - `Part.text` is set to a part of the - // phrase that has no parameters. - `Part.text` is set to a part of the - // phrase that you want to annotate, and the `entity_type`, `alias`, and - // `user_defined` fields are all set. - Parts []*GoogleCloudDialogflowV2IntentTrainingPhrasePart `json:"parts,omitempty"` - - // TimesAddedCount: Optional. Indicates how many times this example was - // added to the intent. Each time a developer adds an existing sample by - // editing an intent or training, this counter is increased. - TimesAddedCount int64 `json:"timesAddedCount,omitempty"` - - // Type: Required. The type of the training phrase. - // - // Possible values: - // "TYPE_UNSPECIFIED" - Not specified. This value should never be - // used. - // "EXAMPLE" - Examples do not contain @-prefixed entity type names, - // but example parts can be annotated with entity types. - // "TEMPLATE" - Templates are not annotated with entity types, but - // they can contain @-prefixed entity type names as substrings. Template - // mode has been deprecated. Example mode is the only supported way to - // create new training phrases. If you have existing training phrases - // that you've created in template mode, those will continue to work. - Type string `json:"type,omitempty"` - - // ForceSendFields is a list of field names (e.g. "Name") to + // ForceSendFields is a list of field names (e.g. "Result") 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 @@ -7106,7 +7125,7 @@ type GoogleCloudDialogflowV2IntentTrainingPhrase struct { // 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 + // NullFields is a list of field names (e.g. "Result") 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 @@ -7115,34 +7134,71 @@ type GoogleCloudDialogflowV2IntentTrainingPhrase struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2IntentTrainingPhrase) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2IntentTrainingPhrase +func (s *GoogleCloudDialogflowCxV3beta1RunTestCaseResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1RunTestCaseResponse raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2IntentTrainingPhrasePart: Represents a part of -// a training phrase. -type GoogleCloudDialogflowV2IntentTrainingPhrasePart struct { - // Alias: Optional. The parameter name for the value extracted from the - // annotated part of the example. This field is required for annotated - // parts of the training phrase. - Alias string `json:"alias,omitempty"` +// GoogleCloudDialogflowCxV3beta1SecuritySettings: Represents the +// settings related to security issues, such as data redaction and data +// retention. It may take hours for updates on the settings to propagate +// to all the related components and take effect. +type GoogleCloudDialogflowCxV3beta1SecuritySettings struct { + // DisplayName: Required. The human-readable name of the security + // settings, unique within the location. + DisplayName string `json:"displayName,omitempty"` - // EntityType: Optional. The entity type name prefixed with `@`. This - // field is required for annotated parts of the training phrase. - EntityType string `json:"entityType,omitempty"` + // InspectTemplate: DLP inspect template name. Use this template to + // define inspect base settings. If empty, we use the default DLP + // inspect config. The template name will have one of the following + // formats: `projects/PROJECT_ID/inspectTemplates/TEMPLATE_ID` OR + // `organizations/ORGANIZATION_ID/inspectTemplates/TEMPLATE_ID` + InspectTemplate string `json:"inspectTemplate,omitempty"` - // Text: Required. The text for this part. - Text string `json:"text,omitempty"` + // Name: Required. Resource name of the settings. Format: + // `projects//locations//securitySettings/`. + Name string `json:"name,omitempty"` - // UserDefined: Optional. Indicates whether the text was manually - // annotated. This field is set to true when the Dialogflow Console is - // used to manually annotate the part. When creating an annotated part - // with the API, you must set this to true. - UserDefined bool `json:"userDefined,omitempty"` + // PurgeDataTypes: List of types of data to remove when retention + // settings triggers purge. + // + // Possible values: + // "PURGE_DATA_TYPE_UNSPECIFIED" - Unspecified. Do not use. + // "DIALOGFLOW_HISTORY" - Dialogflow history. This does not include + // Stackdriver log, which is owned by the user not Dialogflow. + PurgeDataTypes []string `json:"purgeDataTypes,omitempty"` - // ForceSendFields is a list of field names (e.g. "Alias") to + // RedactionScope: Defines on what data we apply redaction. Note that we + // don't redact data to which we don't have access, e.g., Stackdriver + // logs. + // + // Possible values: + // "REDACTION_SCOPE_UNSPECIFIED" - Don't redact any kind of data. + // "REDACT_DISK_STORAGE" - On data to be written to disk or similar + // devices that are capable of holding data even if power is + // disconnected. This includes data that are temporarily saved on disk. + RedactionScope string `json:"redactionScope,omitempty"` + + // RedactionStrategy: Strategy that defines how we do redaction. + // + // Possible values: + // "REDACTION_STRATEGY_UNSPECIFIED" - Do not redact. + // "REDACT_WITH_SERVICE" - Call redaction service to clean up the data + // to be persisted. + RedactionStrategy string `json:"redactionStrategy,omitempty"` + + // RetentionWindowDays: Retains the data for the specified number of + // days. User must Set a value lower than Dialogflow's default 30d TTL. + // Setting a value higher than that has no effect. A missing value or + // setting to 0 also means we use Dialogflow's default TTL. + RetentionWindowDays int64 `json:"retentionWindowDays,omitempty"` + + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` + + // ForceSendFields is a list of field names (e.g. "DisplayName") 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 @@ -7150,57 +7206,36 @@ type GoogleCloudDialogflowV2IntentTrainingPhrasePart struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Alias") 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 + // NullFields is a list of field names (e.g. "DisplayName") 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 *GoogleCloudDialogflowV2IntentTrainingPhrasePart) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2IntentTrainingPhrasePart +func (s *GoogleCloudDialogflowCxV3beta1SecuritySettings) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1SecuritySettings raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2Message: Represents a message posted into a -// conversation. -type GoogleCloudDialogflowV2Message struct { - // Content: Required. The message content. - Content string `json:"content,omitempty"` - - // CreateTime: Output only. The time when the message was created. - CreateTime string `json:"createTime,omitempty"` - - // LanguageCode: Optional. The message language. This should be a - // [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. - // Example: "en-US". - LanguageCode string `json:"languageCode,omitempty"` - - // MessageAnnotation: Output only. The annotation for the message. - MessageAnnotation *GoogleCloudDialogflowV2MessageAnnotation `json:"messageAnnotation,omitempty"` - - // Name: The unique identifier of the message. Format: - // `projects//locations//conversations//messages/`. - Name string `json:"name,omitempty"` - - // Participant: Output only. The participant that sends this message. - Participant string `json:"participant,omitempty"` +// GoogleCloudDialogflowCxV3beta1SentimentAnalysisResult: The result of +// sentiment analysis. Sentiment analysis inspects user input and +// identifies the prevailing subjective opinion, especially to determine +// a user's attitude as positive, negative, or neutral. +type GoogleCloudDialogflowCxV3beta1SentimentAnalysisResult struct { + // Magnitude: A non-negative number in the [0, +inf) range, which + // represents the absolute magnitude of sentiment, regardless of score + // (positive or negative). + Magnitude float64 `json:"magnitude,omitempty"` - // ParticipantRole: Output only. The role of the participant. - // - // Possible values: - // "ROLE_UNSPECIFIED" - Participant role not set. - // "HUMAN_AGENT" - Participant is a human agent. - // "AUTOMATED_AGENT" - Participant is an automated agent, such as a - // Dialogflow agent. - // "END_USER" - Participant is an end user that has called or chatted - // with Dialogflow services. - ParticipantRole string `json:"participantRole,omitempty"` + // Score: Sentiment score between -1.0 (negative sentiment) and 1.0 + // (positive sentiment). + Score float64 `json:"score,omitempty"` - // ForceSendFields is a list of field names (e.g. "Content") to + // ForceSendFields is a list of field names (e.g. "Magnitude") 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 @@ -7208,7 +7243,7 @@ type GoogleCloudDialogflowV2Message struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Content") to include in + // NullFields is a list of field names (e.g. "Magnitude") 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 @@ -7217,25 +7252,75 @@ type GoogleCloudDialogflowV2Message struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2Message) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2Message +func (s *GoogleCloudDialogflowCxV3beta1SentimentAnalysisResult) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1SentimentAnalysisResult raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2MessageAnnotation: Represents the result of -// annotation for the message. -type GoogleCloudDialogflowV2MessageAnnotation struct { - // ContainEntities: Indicates whether the text message contains - // entities. - ContainEntities bool `json:"containEntities,omitempty"` +func (s *GoogleCloudDialogflowCxV3beta1SentimentAnalysisResult) UnmarshalJSON(data []byte) error { + type NoMethod GoogleCloudDialogflowCxV3beta1SentimentAnalysisResult + var s1 struct { + Magnitude gensupport.JSONFloat64 `json:"magnitude"` + Score gensupport.JSONFloat64 `json:"score"` + *NoMethod + } + s1.NoMethod = (*NoMethod)(s) + if err := json.Unmarshal(data, &s1); err != nil { + return err + } + s.Magnitude = float64(s1.Magnitude) + s.Score = float64(s1.Score) + return nil +} - // Parts: The collection of annotated message parts ordered by their - // position in the message. You can recover the annotated message by - // concatenating [AnnotatedMessagePart.text]. - Parts []*GoogleCloudDialogflowV2AnnotatedMessagePart `json:"parts,omitempty"` +// GoogleCloudDialogflowCxV3beta1SessionEntityType: Session entity types +// are referred to as **User** entity types and are entities that are +// built for an individual user such as favorites, preferences, +// playlists, and so on. You can redefine a session entity type at the +// session level to extend or replace a custom entity type at the user +// session level (we refer to the entity types defined at the agent +// level as "custom entity types"). Note: session entity types apply to +// all queries, regardless of the language. For more information about +// entity types, see the [Dialogflow +// documentation](https://cloud.google.com/dialogflow/docs/entities-overv +// iew). +type GoogleCloudDialogflowCxV3beta1SessionEntityType struct { + // Entities: Required. The collection of entities to override or + // supplement the custom entity type. + Entities []*GoogleCloudDialogflowCxV3beta1EntityTypeEntity `json:"entities,omitempty"` - // ForceSendFields is a list of field names (e.g. "ContainEntities") to + // EntityOverrideMode: Required. Indicates whether the additional data + // should override or supplement the custom entity type definition. + // + // Possible values: + // "ENTITY_OVERRIDE_MODE_UNSPECIFIED" - Not specified. This value + // should be never used. + // "ENTITY_OVERRIDE_MODE_OVERRIDE" - The collection of session + // entities overrides the collection of entities in the corresponding + // custom entity type. + // "ENTITY_OVERRIDE_MODE_SUPPLEMENT" - The collection of session + // entities extends the collection of entities in the corresponding + // custom entity type. Note: Even in this override mode calls to + // `ListSessionEntityTypes`, `GetSessionEntityType`, + // `CreateSessionEntityType` and `UpdateSessionEntityType` only return + // the additional entities added in this session entity type. If you + // want to get the supplemented list, please call + // EntityTypes.GetEntityType on the custom entity type and merge. + EntityOverrideMode string `json:"entityOverrideMode,omitempty"` + + // Name: Required. The unique identifier of the session entity type. + // Format: `projects//locations//agents//sessions//entityTypes/` or + // `projects//locations//agents//environments//sessions//entityTypes/`. + // If `Environment ID` is not specified, we assume default 'draft' + // environment. + Name string `json:"name,omitempty"` + + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` + + // ForceSendFields is a list of field names (e.g. "Entities") 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 @@ -7243,47 +7328,39 @@ type GoogleCloudDialogflowV2MessageAnnotation struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "ContainEntities") 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. "Entities") 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 *GoogleCloudDialogflowV2MessageAnnotation) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2MessageAnnotation - raw := NoMethod(*s) +func (s *GoogleCloudDialogflowCxV3beta1SessionEntityType) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1SessionEntityType + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2OriginalDetectIntentRequest: Represents the -// contents of the original request that was passed to the -// `[Streaming]DetectIntent` call. -type GoogleCloudDialogflowV2OriginalDetectIntentRequest struct { - // Payload: Optional. This field is set to the value of the - // `QueryParameters.payload` field passed in the request. Some - // integrations that query a Dialogflow agent may provide additional - // information in the payload. In particular, for the Dialogflow Phone - // Gateway integration, this field has the form: { "telephony": { - // "caller_id": "+18558363987" } } Note: The caller ID field - // (`caller_id`) will be redacted for Trial Edition agents and populated - // with the caller ID in [E.164 - // format](https://en.wikipedia.org/wiki/E.164) for Essentials Edition - // agents. - Payload googleapi.RawMessage `json:"payload,omitempty"` - - // Source: The source of this request, e.g., `google`, `facebook`, - // `slack`. It is set by Dialogflow-owned servers. - Source string `json:"source,omitempty"` +// GoogleCloudDialogflowCxV3beta1SessionInfo: Represents session +// information communicated to and from the webhook. +type GoogleCloudDialogflowCxV3beta1SessionInfo struct { + // Parameters: Optional for WebhookRequest. Optional for + // WebhookResponse. All parameters collected from forms and intents + // during the session. Parameters can be created, updated, or removed by + // the webhook. To remove a parameter from the session, the webhook + // should explicitly set the parameter value to null in WebhookResponse. + // The map is keyed by parameters' display names. + Parameters googleapi.RawMessage `json:"parameters,omitempty"` - // Version: Optional. The version of the protocol used for this request. - // This field is AoG-specific. - Version string `json:"version,omitempty"` + // Session: Always present for WebhookRequest. Ignored for + // WebhookResponse. The unique identifier of the session. This field can + // be used by the webhook to identify a user. Format: + // `projects//locations//agents//sessions/`. + Session string `json:"session,omitempty"` - // ForceSendFields is a list of field names (e.g. "Payload") to + // ForceSendFields is a list of field names (e.g. "Parameters") 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 @@ -7291,7 +7368,7 @@ type GoogleCloudDialogflowV2OriginalDetectIntentRequest struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Payload") to include in + // NullFields is a list of field names (e.g. "Parameters") 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 @@ -7300,111 +7377,80 @@ type GoogleCloudDialogflowV2OriginalDetectIntentRequest struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2OriginalDetectIntentRequest) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2OriginalDetectIntentRequest +func (s *GoogleCloudDialogflowCxV3beta1SessionInfo) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1SessionInfo raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2QueryResult: Represents the result of -// conversational query or event processing. -type GoogleCloudDialogflowV2QueryResult struct { - // Action: The action name from the matched intent. - Action string `json:"action,omitempty"` - - // AllRequiredParamsPresent: This field is set to: - `false` if the - // matched intent has required parameters and not all of the required - // parameter values have been collected. - `true` if all required - // parameter values have been collected, or if the matched intent - // doesn't contain any required parameters. - AllRequiredParamsPresent bool `json:"allRequiredParamsPresent,omitempty"` - - // DiagnosticInfo: Free-form diagnostic information for the associated - // detect intent request. The fields of this data can change without - // notice, so you should not write code that depends on its structure. - // The data may contain: - webhook call latency - webhook errors - DiagnosticInfo googleapi.RawMessage `json:"diagnosticInfo,omitempty"` - - // FulfillmentMessages: The collection of rich messages to present to - // the user. - FulfillmentMessages []*GoogleCloudDialogflowV2IntentMessage `json:"fulfillmentMessages,omitempty"` - - // FulfillmentText: The text to be pronounced to the user or shown on - // the screen. Note: This is a legacy field, `fulfillment_messages` - // should be preferred. - FulfillmentText string `json:"fulfillmentText,omitempty"` - - // Intent: The intent that matched the conversational query. Some, not - // all fields are filled in this message, including but not limited to: - // `name`, `display_name`, `end_interaction` and `is_fallback`. - Intent *GoogleCloudDialogflowV2Intent `json:"intent,omitempty"` - - // IntentDetectionConfidence: The intent detection confidence. Values - // range from 0.0 (completely uncertain) to 1.0 (completely certain). - // This value is for informational purpose only and is only used to help - // match the best intent within the classification threshold. This value - // may change for the same end-user expression at any time due to a - // model retraining or change in implementation. If there are `multiple - // knowledge_answers` messages, this value is set to the greatest - // `knowledgeAnswers.match_confidence` value in the list. - IntentDetectionConfidence float64 `json:"intentDetectionConfidence,omitempty"` +// GoogleCloudDialogflowCxV3beta1SpeechToTextSettings: Settings related +// to speech recognition. +type GoogleCloudDialogflowCxV3beta1SpeechToTextSettings struct { + // EnableSpeechAdaptation: Whether to use speech adaptation for speech + // recognition. + EnableSpeechAdaptation bool `json:"enableSpeechAdaptation,omitempty"` - // LanguageCode: The language that was triggered during intent - // detection. See [Language - // Support](https://cloud.google.com/dialogflow/docs/reference/language) - // for a list of the currently supported language codes. - LanguageCode string `json:"languageCode,omitempty"` + // ForceSendFields is a list of field names (e.g. + // "EnableSpeechAdaptation") 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:"-"` - // OutputContexts: The collection of output contexts. If applicable, - // `output_contexts.parameters` contains entries with name `.original` - // containing the original parameter values before the query. - OutputContexts []*GoogleCloudDialogflowV2Context `json:"outputContexts,omitempty"` + // NullFields is a list of field names (e.g. "EnableSpeechAdaptation") + // 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:"-"` +} - // Parameters: The collection of extracted parameters. Depending on your - // protocol or client library language, this is a map, associative - // array, symbol table, dictionary, or JSON object composed of a - // collection of (MapKey, MapValue) pairs: - MapKey type: string - - // MapKey value: parameter name - MapValue type: - If parameter's entity - // type is a composite entity: map - Else: string or number, depending - // on parameter value type - MapValue value: - If parameter's entity - // type is a composite entity: map from composite entity property names - // to property values - Else: parameter value - Parameters googleapi.RawMessage `json:"parameters,omitempty"` +func (s *GoogleCloudDialogflowCxV3beta1SpeechToTextSettings) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1SpeechToTextSettings + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} - // QueryText: The original conversational query text: - If natural - // language text was provided as input, `query_text` contains a copy of - // the input. - If natural language speech audio was provided as input, - // `query_text` contains the speech recognition result. If speech - // recognizer produced multiple alternatives, a particular one is - // picked. - If automatic spell correction is enabled, `query_text` will - // contain the corrected user input. - QueryText string `json:"queryText,omitempty"` +// GoogleCloudDialogflowCxV3beta1SynthesizeSpeechConfig: Configuration +// of how speech should be synthesized. +type GoogleCloudDialogflowCxV3beta1SynthesizeSpeechConfig struct { + // EffectsProfileId: Optional. An identifier which selects 'audio + // effects' profiles that are applied on (post synthesized) text to + // speech. Effects are applied on top of each other in the order they + // are given. + EffectsProfileId []string `json:"effectsProfileId,omitempty"` - // SentimentAnalysisResult: The sentiment analysis result, which depends - // on the `sentiment_analysis_request_config` specified in the request. - SentimentAnalysisResult *GoogleCloudDialogflowV2SentimentAnalysisResult `json:"sentimentAnalysisResult,omitempty"` + // Pitch: Optional. Speaking pitch, in the range [-20.0, 20.0]. 20 means + // increase 20 semitones from the original pitch. -20 means decrease 20 + // semitones from the original pitch. + Pitch float64 `json:"pitch,omitempty"` - // SpeechRecognitionConfidence: The Speech recognition confidence - // between 0.0 and 1.0. A higher number indicates an estimated greater - // likelihood that the recognized words are correct. The default of 0.0 - // is a sentinel value indicating that confidence was not set. This - // field is not guaranteed to be accurate or set. In particular this - // field isn't set for StreamingDetectIntent since the streaming - // endpoint has separate confidence estimates per portion of the audio - // in StreamingRecognitionResult. - SpeechRecognitionConfidence float64 `json:"speechRecognitionConfidence,omitempty"` + // SpeakingRate: Optional. Speaking rate/speed, in the range [0.25, + // 4.0]. 1.0 is the normal native speed supported by the specific voice. + // 2.0 is twice as fast, and 0.5 is half as fast. If unset(0.0), + // defaults to the native 1.0 speed. Any other values < 0.25 or > 4.0 + // will return an error. + SpeakingRate float64 `json:"speakingRate,omitempty"` - // WebhookPayload: If the query was fulfilled by a webhook call, this - // field is set to the value of the `payload` field returned in the - // webhook response. - WebhookPayload googleapi.RawMessage `json:"webhookPayload,omitempty"` + // Voice: Optional. The desired voice of the synthesized audio. + Voice *GoogleCloudDialogflowCxV3beta1VoiceSelectionParams `json:"voice,omitempty"` - // WebhookSource: If the query was fulfilled by a webhook call, this - // field is set to the value of the `source` field returned in the - // webhook response. - WebhookSource string `json:"webhookSource,omitempty"` + // VolumeGainDb: Optional. Volume gain (in dB) of the normal native + // volume supported by the specific voice, in the range [-96.0, 16.0]. + // If unset, or set to a value of 0.0 (dB), will play at normal native + // signal amplitude. A value of -6.0 (dB) will play at approximately + // half the amplitude of the normal native signal amplitude. A value of + // +6.0 (dB) will play at approximately twice the amplitude of the + // normal native signal amplitude. We strongly recommend not to exceed + // +10 (dB) as there's usually no effective increase in loudness for any + // value greater than that. + VolumeGainDb float64 `json:"volumeGainDb,omitempty"` - // ForceSendFields is a list of field names (e.g. "Action") to + // ForceSendFields is a list of field names (e.g. "EffectsProfileId") 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 @@ -7412,51 +7458,80 @@ type GoogleCloudDialogflowV2QueryResult struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Action") 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. "EffectsProfileId") 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 *GoogleCloudDialogflowV2QueryResult) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2QueryResult +func (s *GoogleCloudDialogflowCxV3beta1SynthesizeSpeechConfig) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1SynthesizeSpeechConfig raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -func (s *GoogleCloudDialogflowV2QueryResult) UnmarshalJSON(data []byte) error { - type NoMethod GoogleCloudDialogflowV2QueryResult +func (s *GoogleCloudDialogflowCxV3beta1SynthesizeSpeechConfig) UnmarshalJSON(data []byte) error { + type NoMethod GoogleCloudDialogflowCxV3beta1SynthesizeSpeechConfig var s1 struct { - IntentDetectionConfidence gensupport.JSONFloat64 `json:"intentDetectionConfidence"` - SpeechRecognitionConfidence gensupport.JSONFloat64 `json:"speechRecognitionConfidence"` + Pitch gensupport.JSONFloat64 `json:"pitch"` + SpeakingRate gensupport.JSONFloat64 `json:"speakingRate"` + VolumeGainDb gensupport.JSONFloat64 `json:"volumeGainDb"` *NoMethod } s1.NoMethod = (*NoMethod)(s) if err := json.Unmarshal(data, &s1); err != nil { return err } - s.IntentDetectionConfidence = float64(s1.IntentDetectionConfidence) - s.SpeechRecognitionConfidence = float64(s1.SpeechRecognitionConfidence) + s.Pitch = float64(s1.Pitch) + s.SpeakingRate = float64(s1.SpeakingRate) + s.VolumeGainDb = float64(s1.VolumeGainDb) return nil } -// GoogleCloudDialogflowV2Sentiment: The sentiment, such as -// positive/negative feeling or association, for a unit of analysis, -// such as the query text. -type GoogleCloudDialogflowV2Sentiment struct { - // Magnitude: A non-negative number in the [0, +inf) range, which - // represents the absolute magnitude of sentiment, regardless of score - // (positive or negative). - Magnitude float64 `json:"magnitude,omitempty"` +// GoogleCloudDialogflowCxV3beta1TestCase: Represents a test case. +type GoogleCloudDialogflowCxV3beta1TestCase struct { + // CreationTime: Output only. When the test was created. + CreationTime string `json:"creationTime,omitempty"` - // Score: Sentiment score between -1.0 (negative sentiment) and 1.0 - // (positive sentiment). - Score float64 `json:"score,omitempty"` + // DisplayName: Required. The human-readable name of the test case, + // unique within the agent. Limit of 200 characters. + DisplayName string `json:"displayName,omitempty"` - // ForceSendFields is a list of field names (e.g. "Magnitude") to + // LastTestResult: The latest test result. + LastTestResult *GoogleCloudDialogflowCxV3beta1TestCaseResult `json:"lastTestResult,omitempty"` + + // Name: The unique identifier of the test case. + // TestCases.CreateTestCase will populate the name automatically. + // Otherwise use format: `projects//locations//agents/ /testCases/`. + Name string `json:"name,omitempty"` + + // Notes: Additional freeform notes about the test case. Limit of 400 + // characters. + Notes string `json:"notes,omitempty"` + + // Tags: Tags are short descriptions that users may apply to test cases + // for organizational and filtering purposes. Each tag should start with + // "#" and has a limit of 30 characters. + Tags []string `json:"tags,omitempty"` + + // TestCaseConversationTurns: The conversation turns uttered when the + // test case was created, in chronological order. These include the + // canonical set of agent utterances that should occur when the agent is + // working properly. + TestCaseConversationTurns []*GoogleCloudDialogflowCxV3beta1ConversationTurn `json:"testCaseConversationTurns,omitempty"` + + // TestConfig: Config for the test case. + TestConfig *GoogleCloudDialogflowCxV3beta1TestConfig `json:"testConfig,omitempty"` + + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` + + // ForceSendFields is a list of field names (e.g. "CreationTime") 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 @@ -7464,118 +7539,31 @@ type GoogleCloudDialogflowV2Sentiment struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Magnitude") 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 + // NullFields is a list of field names (e.g. "CreationTime") 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 *GoogleCloudDialogflowV2Sentiment) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2Sentiment - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -func (s *GoogleCloudDialogflowV2Sentiment) UnmarshalJSON(data []byte) error { - type NoMethod GoogleCloudDialogflowV2Sentiment - var s1 struct { - Magnitude gensupport.JSONFloat64 `json:"magnitude"` - Score gensupport.JSONFloat64 `json:"score"` - *NoMethod - } - s1.NoMethod = (*NoMethod)(s) - if err := json.Unmarshal(data, &s1); err != nil { - return err - } - s.Magnitude = float64(s1.Magnitude) - s.Score = float64(s1.Score) - return nil -} - -// GoogleCloudDialogflowV2SentimentAnalysisResult: The result of -// sentiment analysis. Sentiment analysis inspects user input and -// identifies the prevailing subjective opinion, especially to determine -// a user's attitude as positive, negative, or neutral. For -// Participants.DetectIntent, it needs to be configured in -// DetectIntentRequest.query_params. For -// Participants.StreamingDetectIntent, it needs to be configured in -// StreamingDetectIntentRequest.query_params. And for -// Participants.AnalyzeContent and Participants.StreamingAnalyzeContent, -// it needs to be configured in -// ConversationProfile.human_agent_assistant_config -type GoogleCloudDialogflowV2SentimentAnalysisResult struct { - // QueryTextSentiment: The sentiment analysis result for `query_text`. - QueryTextSentiment *GoogleCloudDialogflowV2Sentiment `json:"queryTextSentiment,omitempty"` - - // ForceSendFields is a list of field names (e.g. "QueryTextSentiment") - // 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. "QueryTextSentiment") 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 *GoogleCloudDialogflowV2SentimentAnalysisResult) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2SentimentAnalysisResult +func (s *GoogleCloudDialogflowCxV3beta1TestCase) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1TestCase raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2SessionEntityType: A session represents a -// conversation between a Dialogflow agent and an end-user. You can -// create special entities, called session entities, during a session. -// Session entities can extend or replace custom entity types and only -// exist during the session that they were created for. All session -// data, including session entities, is stored by Dialogflow for 20 -// minutes. For more information, see the [session entity -// guide](https://cloud.google.com/dialogflow/docs/entities-session). -type GoogleCloudDialogflowV2SessionEntityType struct { - // Entities: Required. The collection of entities associated with this - // session entity type. - Entities []*GoogleCloudDialogflowV2EntityTypeEntity `json:"entities,omitempty"` - - // EntityOverrideMode: Required. Indicates whether the additional data - // should override or supplement the custom entity type definition. - // - // Possible values: - // "ENTITY_OVERRIDE_MODE_UNSPECIFIED" - Not specified. This value - // should be never used. - // "ENTITY_OVERRIDE_MODE_OVERRIDE" - The collection of session - // entities overrides the collection of entities in the corresponding - // custom entity type. - // "ENTITY_OVERRIDE_MODE_SUPPLEMENT" - The collection of session - // entities extends the collection of entities in the corresponding - // custom entity type. Note: Even in this override mode calls to - // `ListSessionEntityTypes`, `GetSessionEntityType`, - // `CreateSessionEntityType` and `UpdateSessionEntityType` only return - // the additional entities added in this session entity type. If you - // want to get the supplemented list, please call - // EntityTypes.GetEntityType on the custom entity type and merge. - EntityOverrideMode string `json:"entityOverrideMode,omitempty"` +// GoogleCloudDialogflowCxV3beta1TestCaseError: Error info for importing +// a test. +type GoogleCloudDialogflowCxV3beta1TestCaseError struct { + // Status: The status associated with the test case. + Status *GoogleRpcStatus `json:"status,omitempty"` - // Name: Required. The unique identifier of this session entity type. - // Format: `projects//agent/sessions//entityTypes/`, or - // `projects//agent/environments//users//sessions//entityTypes/`. If - // `Environment ID` is not specified, we assume default 'draft' - // environment. If `User ID` is not specified, we assume default '-' - // user. `` must be the display name of an existing entity type in the - // same agent that will be overridden or supplemented. - Name string `json:"name,omitempty"` + // TestCase: The test case. + TestCase *GoogleCloudDialogflowCxV3beta1TestCase `json:"testCase,omitempty"` - // ForceSendFields is a list of field names (e.g. "Entities") to + // ForceSendFields is a list of field names (e.g. "Status") 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 @@ -7583,8 +7571,8 @@ type GoogleCloudDialogflowV2SessionEntityType struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Entities") to include in - // API requests with the JSON null value. By default, fields with empty + // NullFields is a list of field names (e.g. "Status") 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. @@ -7592,121 +7580,39 @@ type GoogleCloudDialogflowV2SessionEntityType struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2SessionEntityType) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2SessionEntityType - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// GoogleCloudDialogflowV2WebhookRequest: The request message for a -// webhook call. -type GoogleCloudDialogflowV2WebhookRequest struct { - // OriginalDetectIntentRequest: Optional. The contents of the original - // request that was passed to `[Streaming]DetectIntent` call. - OriginalDetectIntentRequest *GoogleCloudDialogflowV2OriginalDetectIntentRequest `json:"originalDetectIntentRequest,omitempty"` - - // QueryResult: The result of the conversational query or event - // processing. Contains the same value as - // `[Streaming]DetectIntentResponse.query_result`. - QueryResult *GoogleCloudDialogflowV2QueryResult `json:"queryResult,omitempty"` - - // ResponseId: The unique identifier of the response. Contains the same - // value as `[Streaming]DetectIntentResponse.response_id`. - ResponseId string `json:"responseId,omitempty"` - - // Session: The unique identifier of detectIntent request session. Can - // be used to identify end-user inside webhook implementation. Format: - // `projects//agent/sessions/`, or - // `projects//agent/environments//users//sessions/`. - Session string `json:"session,omitempty"` - - // ForceSendFields is a list of field names (e.g. - // "OriginalDetectIntentRequest") 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. - // "OriginalDetectIntentRequest") 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 *GoogleCloudDialogflowV2WebhookRequest) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2WebhookRequest +func (s *GoogleCloudDialogflowCxV3beta1TestCaseError) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1TestCaseError raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2WebhookResponse: The response message for a -// webhook call. This response is validated by the Dialogflow server. If -// validation fails, an error will be returned in the -// QueryResult.diagnostic_info field. Setting JSON fields to an empty -// value with the wrong type is a common error. To avoid this error: - -// Use "" for empty strings - Use `{}` or `null` for empty objects - -// Use `[]` or `null` for empty arrays For more information, see the -// [Protocol Buffers Language -// Guide](https://developers.google.com/protocol-buffers/docs/proto3#json -// ). -type GoogleCloudDialogflowV2WebhookResponse struct { - // FollowupEventInput: Optional. Invokes the supplied events. When this - // field is set, Dialogflow ignores the `fulfillment_text`, - // `fulfillment_messages`, and `payload` fields. - FollowupEventInput *GoogleCloudDialogflowV2EventInput `json:"followupEventInput,omitempty"` - - // FulfillmentMessages: Optional. The rich response messages intended - // for the end-user. When provided, Dialogflow uses this field to - // populate QueryResult.fulfillment_messages sent to the integration or - // API caller. - FulfillmentMessages []*GoogleCloudDialogflowV2IntentMessage `json:"fulfillmentMessages,omitempty"` - - // FulfillmentText: Optional. The text response message intended for the - // end-user. It is recommended to use - // `fulfillment_messages.text.text[0]` instead. When provided, - // Dialogflow uses this field to populate QueryResult.fulfillment_text - // sent to the integration or API caller. - FulfillmentText string `json:"fulfillmentText,omitempty"` +// GoogleCloudDialogflowCxV3beta1TestCaseResult: Represents a result +// from running a test case in an agent environment. +type GoogleCloudDialogflowCxV3beta1TestCaseResult struct { + // ConversationTurns: The conversation turns uttered during the test + // case replay in chronological order. + ConversationTurns []*GoogleCloudDialogflowCxV3beta1ConversationTurn `json:"conversationTurns,omitempty"` - // OutputContexts: Optional. The collection of output contexts that will - // overwrite currently active contexts for the session and reset their - // lifespans. When provided, Dialogflow uses this field to populate - // QueryResult.output_contexts sent to the integration or API caller. - OutputContexts []*GoogleCloudDialogflowV2Context `json:"outputContexts,omitempty"` + // Environment: Optional. Environment where the test was run. If not + // set, it indicates the draft environment. + Environment string `json:"environment,omitempty"` - // Payload: Optional. This field can be used to pass custom data from - // your webhook to the integration or API caller. Arbitrary JSON objects - // are supported. When provided, Dialogflow uses this field to populate - // QueryResult.webhook_payload sent to the integration or API caller. - // This field is also used by the [Google Assistant - // integration](https://cloud.google.com/dialogflow/docs/integrations/aog - // ) for rich response messages. See the format definition at [Google - // Assistant Dialogflow webhook - // format](https://developers.google.com/assistant/actions/build/json/dia - // logflow-webhook-json) - Payload googleapi.RawMessage `json:"payload,omitempty"` + // Name: The resource name for the test case result. Format: + // `projects//locations//agents//testCases/ /results/`. + Name string `json:"name,omitempty"` - // SessionEntityTypes: Optional. Additional session entity types to - // replace or extend developer entity types with. The entity synonyms - // apply to all languages and persist for the session. Setting this data - // from a webhook overwrites the session entity types that have been set - // using `detectIntent`, `streamingDetectIntent` or SessionEntityType - // management methods. - SessionEntityTypes []*GoogleCloudDialogflowV2SessionEntityType `json:"sessionEntityTypes,omitempty"` + // TestResult: Whether the test case passed in the agent environment. + // + // Possible values: + // "TEST_RESULT_UNSPECIFIED" - Not specified. Should never be used. + // "PASSED" - The test passed. + // "FAILED" - The test did not pass. + TestResult string `json:"testResult,omitempty"` - // Source: Optional. A custom field used to identify the webhook source. - // Arbitrary strings are supported. When provided, Dialogflow uses this - // field to populate QueryResult.webhook_source sent to the integration - // or API caller. - Source string `json:"source,omitempty"` + // TestTime: The time that the test was run. + TestTime string `json:"testTime,omitempty"` - // ForceSendFields is a list of field names (e.g. "FollowupEventInput") + // ForceSendFields is a list of field names (e.g. "ConversationTurns") // 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 @@ -7714,7 +7620,7 @@ type GoogleCloudDialogflowV2WebhookResponse struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "FollowupEventInput") to + // NullFields is a list of field names (e.g. "ConversationTurns") 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 @@ -7724,19 +7630,24 @@ type GoogleCloudDialogflowV2WebhookResponse struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2WebhookResponse) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2WebhookResponse +func (s *GoogleCloudDialogflowCxV3beta1TestCaseResult) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1TestCaseResult raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1BatchUpdateEntityTypesResponse: The -// response message for EntityTypes.BatchUpdateEntityTypes. -type GoogleCloudDialogflowV2beta1BatchUpdateEntityTypesResponse struct { - // EntityTypes: The collection of updated or created entity types. - EntityTypes []*GoogleCloudDialogflowV2beta1EntityType `json:"entityTypes,omitempty"` +// GoogleCloudDialogflowCxV3beta1TestConfig: Represents configurations +// for a test case. +type GoogleCloudDialogflowCxV3beta1TestConfig struct { + // Flow: Flow name. If not set, default start flow is assumed. Format: + // `projects//locations//agents//flows/`. + Flow string `json:"flow,omitempty"` - // ForceSendFields is a list of field names (e.g. "EntityTypes") to + // TrackingParameters: Session parameters to be compared when + // calculating differences. + TrackingParameters []string `json:"trackingParameters,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Flow") 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 @@ -7744,28 +7655,34 @@ type GoogleCloudDialogflowV2beta1BatchUpdateEntityTypesResponse struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "EntityTypes") 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 + // NullFields is a list of field names (e.g. "Flow") 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 *GoogleCloudDialogflowV2beta1BatchUpdateEntityTypesResponse) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1BatchUpdateEntityTypesResponse +func (s *GoogleCloudDialogflowCxV3beta1TestConfig) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1TestConfig raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1BatchUpdateIntentsResponse: The response -// message for Intents.BatchUpdateIntents. -type GoogleCloudDialogflowV2beta1BatchUpdateIntentsResponse struct { - // Intents: The collection of updated or created intents. - Intents []*GoogleCloudDialogflowV2beta1Intent `json:"intents,omitempty"` +// GoogleCloudDialogflowCxV3beta1TestError: Error info for running a +// test. +type GoogleCloudDialogflowCxV3beta1TestError struct { + // Status: The status associated with the test. + Status *GoogleRpcStatus `json:"status,omitempty"` - // ForceSendFields is a list of field names (e.g. "Intents") to + // TestCase: The test case resource name. + TestCase string `json:"testCase,omitempty"` + + // TestTime: The timestamp when the test was completed. + TestTime string `json:"testTime,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Status") 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 @@ -7773,8 +7690,8 @@ type GoogleCloudDialogflowV2beta1BatchUpdateIntentsResponse struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Intents") to include in - // API requests with the JSON null value. By default, fields with empty + // NullFields is a list of field names (e.g. "Status") 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. @@ -7782,60 +7699,30 @@ type GoogleCloudDialogflowV2beta1BatchUpdateIntentsResponse struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1BatchUpdateIntentsResponse) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1BatchUpdateIntentsResponse +func (s *GoogleCloudDialogflowCxV3beta1TestError) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1TestError raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1Context: Dialogflow contexts are similar -// to natural language context. If a person says to you "they are -// orange", you need context in order to understand what "they" is -// referring to. Similarly, for Dialogflow to handle an end-user -// expression like that, it needs to be provided with context in order -// to correctly match an intent. Using contexts, you can control the -// flow of a conversation. You can configure contexts for an intent by -// setting input and output contexts, which are identified by string -// names. When an intent is matched, any configured output contexts for -// that intent become active. While any contexts are active, Dialogflow -// is more likely to match intents that are configured with input -// contexts that correspond to the currently active contexts. For more -// information about context, see the [Contexts -// guide](https://cloud.google.com/dialogflow/docs/contexts-overview). -type GoogleCloudDialogflowV2beta1Context struct { - // LifespanCount: Optional. The number of conversational query requests - // after which the context expires. The default is `0`. If set to `0`, - // the context expires immediately. Contexts expire automatically after - // 20 minutes if there are no matching queries. - LifespanCount int64 `json:"lifespanCount,omitempty"` - - // Name: Required. The unique identifier of the context. Supported - // formats: - `projects//agent/sessions//contexts/`, - - // `projects//locations//agent/sessions//contexts/`, - - // `projects//agent/environments//users//sessions//contexts/`, - - // `projects//locations//agent/environments//users//sessions//contexts/`, - // The `Context ID` is always converted to lowercase, may only contain - // characters in a-zA-Z0-9_-% and may be at most 250 bytes long. If - // `Environment ID` is not specified, we assume default 'draft' - // environment. If `User ID` is not specified, we assume default '-' - // user. The following context names are reserved for internal use by - // Dialogflow. You should not use these contexts or create contexts with - // these names: * `__system_counters__` * `*_id_dialog_context` * - // `*_dialog_params_size` - Name string `json:"name,omitempty"` +// GoogleCloudDialogflowCxV3beta1TestRunDifference: The description of +// differences between original and replayed agent output. +type GoogleCloudDialogflowCxV3beta1TestRunDifference struct { + // Description: A description of the diff, showing the actual output vs + // expected output. + Description string `json:"description,omitempty"` - // Parameters: Optional. The collection of parameters associated with - // this context. Depending on your protocol or client library language, - // this is a map, associative array, symbol table, dictionary, or JSON - // object composed of a collection of (MapKey, MapValue) pairs: - MapKey - // type: string - MapKey value: parameter name - MapValue type: - If - // parameter's entity type is a composite entity: map - Else: string or - // number, depending on parameter value type - MapValue value: - If - // parameter's entity type is a composite entity: map from composite - // entity property names to property values - Else: parameter value - Parameters googleapi.RawMessage `json:"parameters,omitempty"` + // Type: The type of diff. + // + // Possible values: + // "DIFF_TYPE_UNSPECIFIED" - Should never be used. + // "INTENT" - The intent. + // "PAGE" - The page. + // "PARAMETERS" - The parameters. + // "UTTERANCE" - The message utterance. + Type string `json:"type,omitempty"` - // ForceSendFields is a list of field names (e.g. "LifespanCount") to + // 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 @@ -7843,7 +7730,7 @@ type GoogleCloudDialogflowV2beta1Context struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "LifespanCount") to include + // 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 @@ -7852,107 +7739,59 @@ type GoogleCloudDialogflowV2beta1Context struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1Context) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1Context +func (s *GoogleCloudDialogflowCxV3beta1TestRunDifference) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1TestRunDifference raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1EntityType: Each intent parameter has a -// type, called the entity type, which dictates exactly how data from an -// end-user expression is extracted. Dialogflow provides predefined -// system entities that can match many common types of data. For -// example, there are system entities for matching dates, times, colors, -// email addresses, and so on. You can also create your own custom -// entities for matching custom data. For example, you could define a -// vegetable entity that can match the types of vegetables available for -// purchase with a grocery store agent. For more information, see the -// [Entity -// guide](https://cloud.google.com/dialogflow/docs/entities-overview). -type GoogleCloudDialogflowV2beta1EntityType struct { - // AutoExpansionMode: Optional. Indicates whether the entity type can be - // automatically expanded. - // - // Possible values: - // "AUTO_EXPANSION_MODE_UNSPECIFIED" - Auto expansion disabled for the - // entity. - // "AUTO_EXPANSION_MODE_DEFAULT" - Allows an agent to recognize values - // that have not been explicitly listed in the entity. - AutoExpansionMode string `json:"autoExpansionMode,omitempty"` - - // DisplayName: Required. The name of the entity type. - DisplayName string `json:"displayName,omitempty"` - - // EnableFuzzyExtraction: Optional. Enables fuzzy entity extraction - // during classification. - EnableFuzzyExtraction bool `json:"enableFuzzyExtraction,omitempty"` - - // Entities: Optional. The collection of entity entries associated with - // the entity type. - Entities []*GoogleCloudDialogflowV2beta1EntityTypeEntity `json:"entities,omitempty"` - - // Kind: Required. Indicates the kind of entity type. - // - // Possible values: - // "KIND_UNSPECIFIED" - Not specified. This value should be never - // used. - // "KIND_MAP" - Map entity types allow mapping of a group of synonyms - // to a reference value. - // "KIND_LIST" - List entity types contain a set of entries that do - // not map to reference values. However, list entity types can contain - // references to other entity types (with or without aliases). - // "KIND_REGEXP" - Regexp entity types allow to specify regular - // expressions in entries values. - Kind string `json:"kind,omitempty"` - - // Name: The unique identifier of the entity type. Required for - // EntityTypes.UpdateEntityType and EntityTypes.BatchUpdateEntityTypes - // methods. Supported formats: - `projects//agent/entityTypes/` - - // `projects//locations//agent/entityTypes/` - Name string `json:"name,omitempty"` +// GoogleCloudDialogflowCxV3beta1TextInput: Represents the natural +// language text to be processed. +type GoogleCloudDialogflowCxV3beta1TextInput struct { + // Text: Required. The UTF-8 encoded natural language text to be + // processed. Text length must not exceed 256 characters. + Text string `json:"text,omitempty"` - // ForceSendFields is a list of field names (e.g. "AutoExpansionMode") - // to unconditionally include in API requests. By default, fields with + // ForceSendFields is a list of field names (e.g. "Text") 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. "AutoExpansionMode") 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. "Text") 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 *GoogleCloudDialogflowV2beta1EntityType) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1EntityType +func (s *GoogleCloudDialogflowCxV3beta1TextInput) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1TextInput raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1EntityTypeEntity: An **entity entry** for -// an associated entity type. -type GoogleCloudDialogflowV2beta1EntityTypeEntity struct { - // Synonyms: Required. A collection of value synonyms. For example, if - // the entity type is *vegetable*, and `value` is *scallions*, a synonym - // could be *green onions*. For `KIND_LIST` entity types: * This - // collection must contain exactly one synonym equal to `value`. - Synonyms []string `json:"synonyms,omitempty"` +// GoogleCloudDialogflowCxV3beta1TrainFlowRequest: The request message +// for Flows.TrainFlow. +type GoogleCloudDialogflowCxV3beta1TrainFlowRequest struct { +} - // Value: Required. The primary value associated with this entity entry. - // For example, if the entity type is *vegetable*, the value could be - // *scallions*. For `KIND_MAP` entity types: * A reference value to be - // used in place of synonyms. For `KIND_LIST` entity types: * A string - // that can contain references to other entity types (with or without - // aliases). - Value string `json:"value,omitempty"` +// GoogleCloudDialogflowCxV3beta1TransitionCoverage: Transition coverage +// represents the percentage of all possible transitions present within +// any of a parent's test cases. +type GoogleCloudDialogflowCxV3beta1TransitionCoverage struct { + // CoverageScore: The percent of transitions in the agent that are + // covered. + CoverageScore float64 `json:"coverageScore,omitempty"` - // ForceSendFields is a list of field names (e.g. "Synonyms") to + // Transitions: The list of Transitions present in the agent. + Transitions []*GoogleCloudDialogflowCxV3beta1TransitionCoverageTransition `json:"transitions,omitempty"` + + // ForceSendFields is a list of field names (e.g. "CoverageScore") 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 @@ -7960,49 +7799,59 @@ type GoogleCloudDialogflowV2beta1EntityTypeEntity struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Synonyms") 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 + // NullFields is a list of field names (e.g. "CoverageScore") 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 *GoogleCloudDialogflowV2beta1EntityTypeEntity) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1EntityTypeEntity +func (s *GoogleCloudDialogflowCxV3beta1TransitionCoverage) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1TransitionCoverage raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1EventInput: Events allow for matching -// intents by event name instead of the natural language input. For -// instance, input `` can trigger a personalized welcome response. The -// parameter `name` may be used by the agent in the response: "Hello -// #welcome_event.name! What can I do for you today?". -type GoogleCloudDialogflowV2beta1EventInput struct { - // LanguageCode: Required. The language of this query. See [Language - // Support](https://cloud.google.com/dialogflow/docs/reference/language) - // for a list of the currently supported language codes. Note that - // queries in the same session do not necessarily need to specify the - // same language. - LanguageCode string `json:"languageCode,omitempty"` +func (s *GoogleCloudDialogflowCxV3beta1TransitionCoverage) UnmarshalJSON(data []byte) error { + type NoMethod GoogleCloudDialogflowCxV3beta1TransitionCoverage + var s1 struct { + CoverageScore gensupport.JSONFloat64 `json:"coverageScore"` + *NoMethod + } + s1.NoMethod = (*NoMethod)(s) + if err := json.Unmarshal(data, &s1); err != nil { + return err + } + s.CoverageScore = float64(s1.CoverageScore) + return nil +} - // Name: Required. The unique identifier of the event. - Name string `json:"name,omitempty"` +// GoogleCloudDialogflowCxV3beta1TransitionCoverageTransition: A +// transition in the agent's graph. +type GoogleCloudDialogflowCxV3beta1TransitionCoverageTransition struct { + // Covered: Whether or not the transition is covered by at least one of + // the agent's test cases. + Covered bool `json:"covered,omitempty"` - // Parameters: The collection of parameters associated with the event. - // Depending on your protocol or client library language, this is a map, - // associative array, symbol table, dictionary, or JSON object composed - // of a collection of (MapKey, MapValue) pairs: - MapKey type: string - - // MapKey value: parameter name - MapValue type: - If parameter's entity - // type is a composite entity: map - Else: string or number, depending - // on parameter value type - MapValue value: - If parameter's entity - // type is a composite entity: map from composite entity property names - // to property values - Else: parameter value - Parameters googleapi.RawMessage `json:"parameters,omitempty"` + // EventHandler: Event handler. + EventHandler *GoogleCloudDialogflowCxV3beta1EventHandler `json:"eventHandler,omitempty"` - // ForceSendFields is a list of field names (e.g. "LanguageCode") to + // Index: The index of a transition in the transition list. Starting + // from 0. + Index int64 `json:"index,omitempty"` + + // Source: The start node of a transition. + Source *GoogleCloudDialogflowCxV3beta1TransitionCoverageTransitionNode `json:"source,omitempty"` + + // Target: The end node of a transition. + Target *GoogleCloudDialogflowCxV3beta1TransitionCoverageTransitionNode `json:"target,omitempty"` + + // TransitionRoute: Intent route or condition route. + TransitionRoute *GoogleCloudDialogflowCxV3beta1TransitionRoute `json:"transitionRoute,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Covered") 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 @@ -8010,33 +7859,33 @@ type GoogleCloudDialogflowV2beta1EventInput struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "LanguageCode") 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 + // NullFields is a list of field names (e.g. "Covered") 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 *GoogleCloudDialogflowV2beta1EventInput) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1EventInput +func (s *GoogleCloudDialogflowCxV3beta1TransitionCoverageTransition) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1TransitionCoverageTransition raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1ExportAgentResponse: The response message -// for Agents.ExportAgent. -type GoogleCloudDialogflowV2beta1ExportAgentResponse struct { - // AgentContent: Zip compressed raw byte content for agent. - AgentContent string `json:"agentContent,omitempty"` +// GoogleCloudDialogflowCxV3beta1TransitionCoverageTransitionNode: The +// source or target of a transition. +type GoogleCloudDialogflowCxV3beta1TransitionCoverageTransitionNode struct { + // Flow: Indicates a transition to a Flow. Only some fields such as name + // and displayname will be set. + Flow *GoogleCloudDialogflowCxV3beta1Flow `json:"flow,omitempty"` - // AgentUri: The URI to a file containing the exported agent. This field - // is populated only if `agent_uri` is specified in - // `ExportAgentRequest`. - AgentUri string `json:"agentUri,omitempty"` + // Page: Indicates a transition to a Page. Only some fields such as name + // and displayname will be set. + Page *GoogleCloudDialogflowCxV3beta1Page `json:"page,omitempty"` - // ForceSendFields is a list of field names (e.g. "AgentContent") to + // ForceSendFields is a list of field names (e.g. "Flow") 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 @@ -8044,165 +7893,113 @@ type GoogleCloudDialogflowV2beta1ExportAgentResponse struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "AgentContent") 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 + // NullFields is a list of field names (e.g. "Flow") 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 *GoogleCloudDialogflowV2beta1ExportAgentResponse) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1ExportAgentResponse +func (s *GoogleCloudDialogflowCxV3beta1TransitionCoverageTransitionNode) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1TransitionCoverageTransitionNode raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1Intent: An intent categorizes an -// end-user's intention for one conversation turn. For each agent, you -// define many intents, where your combined intents can handle a -// complete conversation. When an end-user writes or says something, -// referred to as an end-user expression or end-user input, Dialogflow -// matches the end-user input to the best intent in your agent. Matching -// an intent is also known as intent classification. For more -// information, see the [intent -// guide](https://cloud.google.com/dialogflow/docs/intents-overview). -type GoogleCloudDialogflowV2beta1Intent struct { - // Action: Optional. The name of the action associated with the intent. - // Note: The action name must not contain whitespaces. - Action string `json:"action,omitempty"` +// GoogleCloudDialogflowCxV3beta1TransitionRoute: A transition route +// specifies a intent that can be matched and/or a data condition that +// can be evaluated during a session. When a specified transition is +// matched, the following actions are taken in order: * If there is a +// `trigger_fulfillment` associated with the transition, it will be +// called. * If there is a `target_page` associated with the transition, +// the session will transition into the specified page. * If there is a +// `target_flow` associated with the transition, the session will +// transition into the specified flow. +type GoogleCloudDialogflowCxV3beta1TransitionRoute struct { + // Condition: The condition to evaluate against form parameters or + // session parameters. See the [conditions + // reference](https://cloud.google.com/dialogflow/cx/docs/reference/condi + // tion). At least one of `intent` or `condition` must be specified. + // When both `intent` and `condition` are specified, the transition can + // only happen when both are fulfilled. + Condition string `json:"condition,omitempty"` - // DefaultResponsePlatforms: Optional. The list of platforms for which - // the first responses will be copied from the messages in - // PLATFORM_UNSPECIFIED (i.e. default platform). - // - // Possible values: - // "PLATFORM_UNSPECIFIED" - Not specified. - // "FACEBOOK" - Facebook. - // "SLACK" - Slack. - // "TELEGRAM" - Telegram. - // "KIK" - Kik. - // "SKYPE" - Skype. - // "LINE" - Line. - // "VIBER" - Viber. - // "ACTIONS_ON_GOOGLE" - Google Assistant See [Dialogflow webhook - // format](https://developers.google.com/assistant/actions/build/json/dia - // logflow-webhook-json) - // "TELEPHONY" - Telephony Gateway. - // "GOOGLE_HANGOUTS" - Google Hangouts. - DefaultResponsePlatforms []string `json:"defaultResponsePlatforms,omitempty"` - - // DisplayName: Required. The name of this intent. - DisplayName string `json:"displayName,omitempty"` + // Intent: The unique identifier of an Intent. Format: + // `projects//locations//agents//intents/`. Indicates that the + // transition can only happen when the given intent is matched. At least + // one of `intent` or `condition` must be specified. When both `intent` + // and `condition` are specified, the transition can only happen when + // both are fulfilled. + Intent string `json:"intent,omitempty"` - // EndInteraction: Optional. Indicates that this intent ends an - // interaction. Some integrations (e.g., Actions on Google or Dialogflow - // phone gateway) use this information to close interaction with an end - // user. Default is false. - EndInteraction bool `json:"endInteraction,omitempty"` + // Name: Output only. The unique identifier of this transition route. + Name string `json:"name,omitempty"` - // Events: Optional. The collection of event names that trigger the - // intent. If the collection of input contexts is not empty, all of the - // contexts must be present in the active user session for an event to - // trigger this intent. Event names are limited to 150 characters. - Events []string `json:"events,omitempty"` + // TargetFlow: The target flow to transition to. Format: + // `projects//locations//agents//flows/`. + TargetFlow string `json:"targetFlow,omitempty"` - // FollowupIntentInfo: Output only. Information about all followup - // intents that have this intent as a direct or indirect parent. We - // populate this field only in the output. - FollowupIntentInfo []*GoogleCloudDialogflowV2beta1IntentFollowupIntentInfo `json:"followupIntentInfo,omitempty"` + // TargetPage: The target page to transition to. Format: + // `projects//locations//agents//flows//pages/`. + TargetPage string `json:"targetPage,omitempty"` - // InputContextNames: Optional. The list of context names required for - // this intent to be triggered. Formats: - - // `projects//agent/sessions/-/contexts/` - - // `projects//locations//agent/sessions/-/contexts/` - InputContextNames []string `json:"inputContextNames,omitempty"` + // TriggerFulfillment: The fulfillment to call when the condition is + // satisfied. At least one of `trigger_fulfillment` and `target` must be + // specified. When both are defined, `trigger_fulfillment` is executed + // first. + TriggerFulfillment *GoogleCloudDialogflowCxV3beta1Fulfillment `json:"triggerFulfillment,omitempty"` - // IsFallback: Optional. Indicates whether this is a fallback intent. - IsFallback bool `json:"isFallback,omitempty"` + // 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 + // server regardless of whether the field is empty or not. This may be + // used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` - // Messages: Optional. The collection of rich messages corresponding to - // the `Response` field in the Dialogflow console. - Messages []*GoogleCloudDialogflowV2beta1IntentMessage `json:"messages,omitempty"` + // 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 + // 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:"-"` +} - // MlDisabled: Optional. Indicates whether Machine Learning is disabled - // for the intent. Note: If `ml_disabled` setting is set to true, then - // this intent is not taken into account during inference in `ML ONLY` - // match mode. Also, auto-markup in the UI is turned off. - MlDisabled bool `json:"mlDisabled,omitempty"` +func (s *GoogleCloudDialogflowCxV3beta1TransitionRoute) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1TransitionRoute + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} - // MlEnabled: Optional. Indicates whether Machine Learning is enabled - // for the intent. Note: If `ml_enabled` setting is set to false, then - // this intent is not taken into account during inference in `ML ONLY` - // match mode. Also, auto-markup in the UI is turned off. DEPRECATED! - // Please use `ml_disabled` field instead. NOTE: If both `ml_enabled` - // and `ml_disabled` are either not set or false, then the default value - // is determined as follows: - Before April 15th, 2018 the default is: - // ml_enabled = false / ml_disabled = true. - After April 15th, 2018 the - // default is: ml_enabled = true / ml_disabled = false. - MlEnabled bool `json:"mlEnabled,omitempty"` +// GoogleCloudDialogflowCxV3beta1TransitionRouteGroup: An +// TransitionRouteGroup represents a group of `TransitionRoutes` to be +// used by a Page. +type GoogleCloudDialogflowCxV3beta1TransitionRouteGroup struct { + // DisplayName: Required. The human-readable name of the transition + // route group, unique within the Agent. The display name can be no + // longer than 30 characters. + DisplayName string `json:"displayName,omitempty"` - // Name: Optional. The unique identifier of this intent. Required for - // Intents.UpdateIntent and Intents.BatchUpdateIntents methods. - // Supported formats: - `projects//agent/intents/` - - // `projects//locations//agent/intents/` + // Name: The unique identifier of the transition route group. + // TransitionRouteGroups.CreateTransitionRouteGroup populates the name + // automatically. Format: + // `projects//locations//agents//flows//transitionRouteGroups/`. Name string `json:"name,omitempty"` - // OutputContexts: Optional. The collection of contexts that are - // activated when the intent is matched. Context messages in this - // collection should not set the parameters field. Setting the - // `lifespan_count` to 0 will reset the context when the intent is - // matched. Format: `projects//agent/sessions/-/contexts/`. - OutputContexts []*GoogleCloudDialogflowV2beta1Context `json:"outputContexts,omitempty"` - - // Parameters: Optional. The collection of parameters associated with - // the intent. - Parameters []*GoogleCloudDialogflowV2beta1IntentParameter `json:"parameters,omitempty"` - - // ParentFollowupIntentName: Optional. The unique identifier of the - // parent intent in the chain of followup intents. You can set this - // field when creating an intent, for example with CreateIntent or - // BatchUpdateIntents, in order to make this intent a followup intent. - // It identifies the parent followup intent. Format: - // `projects//agent/intents/`. - ParentFollowupIntentName string `json:"parentFollowupIntentName,omitempty"` - - // Priority: Optional. The priority of this intent. Higher numbers - // represent higher priorities. - If the supplied value is unspecified - // or 0, the service translates the value to 500,000, which corresponds - // to the `Normal` priority in the console. - If the supplied value is - // negative, the intent is ignored in runtime detect intent requests. - Priority int64 `json:"priority,omitempty"` - - // ResetContexts: Optional. Indicates whether to delete all contexts in - // the current session when this intent is matched. - ResetContexts bool `json:"resetContexts,omitempty"` - - // RootFollowupIntentName: Output only. The unique identifier of the - // root intent in the chain of followup intents. It identifies the - // correct followup intents chain for this intent. Format: - // `projects//agent/intents/`. - RootFollowupIntentName string `json:"rootFollowupIntentName,omitempty"` - - // TrainingPhrases: Optional. The collection of examples that the agent - // is trained on. - TrainingPhrases []*GoogleCloudDialogflowV2beta1IntentTrainingPhrase `json:"trainingPhrases,omitempty"` + // TransitionRoutes: Transition routes associated with the + // TransitionRouteGroup. Duplicate transition routes (i.e. using the + // same `intent`) are not allowed. Note that the `name` field is not + // used in the transition route group scope. + TransitionRoutes []*GoogleCloudDialogflowCxV3beta1TransitionRoute `json:"transitionRoutes,omitempty"` - // WebhookState: Optional. Indicates whether webhooks are enabled for - // the intent. - // - // Possible values: - // "WEBHOOK_STATE_UNSPECIFIED" - Webhook is disabled in the agent and - // in the intent. - // "WEBHOOK_STATE_ENABLED" - Webhook is enabled in the agent and in - // the intent. - // "WEBHOOK_STATE_ENABLED_FOR_SLOT_FILLING" - Webhook is enabled in - // the agent and in the intent. Also, each slot filling prompt is - // forwarded to the webhook. - WebhookState string `json:"webhookState,omitempty"` + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` - // ForceSendFields is a list of field names (e.g. "Action") to + // ForceSendFields is a list of field names (e.g. "DisplayName") 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 @@ -8210,41 +8007,36 @@ type GoogleCloudDialogflowV2beta1Intent struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Action") 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 + // NullFields is a list of field names (e.g. "DisplayName") 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 *GoogleCloudDialogflowV2beta1Intent) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1Intent +func (s *GoogleCloudDialogflowCxV3beta1TransitionRouteGroup) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1TransitionRouteGroup raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentFollowupIntentInfo: Represents a -// single followup intent in the chain. -type GoogleCloudDialogflowV2beta1IntentFollowupIntentInfo struct { - // FollowupIntentName: The unique identifier of the followup intent. - // Format: `projects//agent/intents/`. - FollowupIntentName string `json:"followupIntentName,omitempty"` - - // ParentFollowupIntentName: The unique identifier of the followup - // intent's parent. Format: `projects//agent/intents/`. - ParentFollowupIntentName string `json:"parentFollowupIntentName,omitempty"` +// GoogleCloudDialogflowCxV3beta1UpdateDocumentOperationMetadata: +// Metadata for UpdateDocument operation. +type GoogleCloudDialogflowCxV3beta1UpdateDocumentOperationMetadata struct { + // GenericMetadata: The generic information of the operation. + GenericMetadata *GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata `json:"genericMetadata,omitempty"` - // ForceSendFields is a list of field names (e.g. "FollowupIntentName") - // to unconditionally include in API requests. By default, fields with + // ForceSendFields is a list of field names (e.g. "GenericMetadata") 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. "FollowupIntentName") to + // NullFields is a list of field names (e.g. "GenericMetadata") 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 @@ -8254,100 +8046,99 @@ type GoogleCloudDialogflowV2beta1IntentFollowupIntentInfo struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1IntentFollowupIntentInfo) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentFollowupIntentInfo +func (s *GoogleCloudDialogflowCxV3beta1UpdateDocumentOperationMetadata) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1UpdateDocumentOperationMetadata raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentMessage: Corresponds to the -// `Response` field in the Dialogflow console. -type GoogleCloudDialogflowV2beta1IntentMessage struct { - // BasicCard: Displays a basic card for Actions on Google. - BasicCard *GoogleCloudDialogflowV2beta1IntentMessageBasicCard `json:"basicCard,omitempty"` - - // BrowseCarouselCard: Browse carousel card for Actions on Google. - BrowseCarouselCard *GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCard `json:"browseCarouselCard,omitempty"` - - // Card: Displays a card. - Card *GoogleCloudDialogflowV2beta1IntentMessageCard `json:"card,omitempty"` - - // CarouselSelect: Displays a carousel card for Actions on Google. - CarouselSelect *GoogleCloudDialogflowV2beta1IntentMessageCarouselSelect `json:"carouselSelect,omitempty"` - - // Image: Displays an image. - Image *GoogleCloudDialogflowV2beta1IntentMessageImage `json:"image,omitempty"` +// GoogleCloudDialogflowCxV3beta1Version: Represents a version of a +// flow. +type GoogleCloudDialogflowCxV3beta1Version struct { + // CreateTime: Output only. Create time of the version. + CreateTime string `json:"createTime,omitempty"` - // LinkOutSuggestion: Displays a link out suggestion chip for Actions on - // Google. - LinkOutSuggestion *GoogleCloudDialogflowV2beta1IntentMessageLinkOutSuggestion `json:"linkOutSuggestion,omitempty"` + // Description: The description of the version. The maximum length is + // 500 characters. If exceeded, the request is rejected. + Description string `json:"description,omitempty"` - // ListSelect: Displays a list card for Actions on Google. - ListSelect *GoogleCloudDialogflowV2beta1IntentMessageListSelect `json:"listSelect,omitempty"` + // DisplayName: Required. The human-readable name of the version. Limit + // of 64 characters. + DisplayName string `json:"displayName,omitempty"` - // MediaContent: The media content card for Actions on Google. - MediaContent *GoogleCloudDialogflowV2beta1IntentMessageMediaContent `json:"mediaContent,omitempty"` + // Name: Format: projects//locations//agents//flows//versions/. Version + // ID is a self-increasing number generated by Dialogflow upon version + // creation. + Name string `json:"name,omitempty"` - // Payload: A custom platform-specific response. - Payload googleapi.RawMessage `json:"payload,omitempty"` + // NluSettings: Output only. The NLU settings of the flow at version + // creation. + NluSettings *GoogleCloudDialogflowCxV3beta1NluSettings `json:"nluSettings,omitempty"` - // Platform: Optional. The platform that this message is intended for. + // State: Output only. The state of this version. This field is + // read-only and cannot be set by create and update methods. // // Possible values: - // "PLATFORM_UNSPECIFIED" - Not specified. - // "FACEBOOK" - Facebook. - // "SLACK" - Slack. - // "TELEGRAM" - Telegram. - // "KIK" - Kik. - // "SKYPE" - Skype. - // "LINE" - Line. - // "VIBER" - Viber. - // "ACTIONS_ON_GOOGLE" - Google Assistant See [Dialogflow webhook - // format](https://developers.google.com/assistant/actions/build/json/dia - // logflow-webhook-json) - // "TELEPHONY" - Telephony Gateway. - // "GOOGLE_HANGOUTS" - Google Hangouts. - Platform string `json:"platform,omitempty"` - - // QuickReplies: Displays quick replies. - QuickReplies *GoogleCloudDialogflowV2beta1IntentMessageQuickReplies `json:"quickReplies,omitempty"` - - // RbmCarouselRichCard: Rich Business Messaging (RBM) carousel rich card - // response. - RbmCarouselRichCard *GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard `json:"rbmCarouselRichCard,omitempty"` - - // RbmStandaloneRichCard: Standalone Rich Business Messaging (RBM) rich - // card response. - RbmStandaloneRichCard *GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCard `json:"rbmStandaloneRichCard,omitempty"` - - // RbmText: Rich Business Messaging (RBM) text response. RBM allows - // businesses to send enriched and branded versions of SMS. See - // https://jibe.google.com/business-messaging. - RbmText *GoogleCloudDialogflowV2beta1IntentMessageRbmText `json:"rbmText,omitempty"` - - // SimpleResponses: Returns a voice or text-only response for Actions on - // Google. - SimpleResponses *GoogleCloudDialogflowV2beta1IntentMessageSimpleResponses `json:"simpleResponses,omitempty"` + // "STATE_UNSPECIFIED" - Not specified. This value is not used. + // "RUNNING" - Version is not ready to serve (e.g. training is + // running). + // "SUCCEEDED" - Training has succeeded and this version is ready to + // serve. + // "FAILED" - Version training failed. + State string `json:"state,omitempty"` - // Suggestions: Displays suggestion chips for Actions on Google. - Suggestions *GoogleCloudDialogflowV2beta1IntentMessageSuggestions `json:"suggestions,omitempty"` + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` - // TableCard: Table card for Actions on Google. - TableCard *GoogleCloudDialogflowV2beta1IntentMessageTableCard `json:"tableCard,omitempty"` + // ForceSendFields is a list of field names (e.g. "CreateTime") 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:"-"` - // TelephonyPlayAudio: Plays audio from a file in Telephony Gateway. - TelephonyPlayAudio *GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudio `json:"telephonyPlayAudio,omitempty"` + // NullFields is a list of field names (e.g. "CreateTime") 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:"-"` +} - // TelephonySynthesizeSpeech: Synthesizes speech in Telephony Gateway. - TelephonySynthesizeSpeech *GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeech `json:"telephonySynthesizeSpeech,omitempty"` +func (s *GoogleCloudDialogflowCxV3beta1Version) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1Version + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} - // TelephonyTransferCall: Transfers the call in Telephony Gateway. - TelephonyTransferCall *GoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCall `json:"telephonyTransferCall,omitempty"` +// GoogleCloudDialogflowCxV3beta1VoiceSelectionParams: Description of +// which voice to use for speech synthesis. +type GoogleCloudDialogflowCxV3beta1VoiceSelectionParams struct { + // Name: Optional. The name of the voice. If not set, the service will + // choose a voice based on the other parameters such as language_code + // and ssml_gender. + Name string `json:"name,omitempty"` - // Text: Returns a text response. - Text *GoogleCloudDialogflowV2beta1IntentMessageText `json:"text,omitempty"` + // SsmlGender: Optional. The preferred gender of the voice. If not set, + // the service will choose a voice based on the other parameters such as + // language_code and name. Note that this is only a preference, not + // requirement. If a voice of the appropriate gender is not available, + // the synthesizer should substitute a voice with a different gender + // rather than failing the request. + // + // Possible values: + // "SSML_VOICE_GENDER_UNSPECIFIED" - An unspecified gender, which + // means that the client doesn't care which gender the selected voice + // will have. + // "SSML_VOICE_GENDER_MALE" - A male voice. + // "SSML_VOICE_GENDER_FEMALE" - A female voice. + // "SSML_VOICE_GENDER_NEUTRAL" - A gender-neutral voice. + SsmlGender string `json:"ssmlGender,omitempty"` - // ForceSendFields is a list of field names (e.g. "BasicCard") to + // 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 @@ -8355,8 +8146,8 @@ type GoogleCloudDialogflowV2beta1IntentMessage struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "BasicCard") to include in - // API requests with the JSON null value. By default, fields with empty + // 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. @@ -8364,32 +8155,44 @@ type GoogleCloudDialogflowV2beta1IntentMessage struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1IntentMessage) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessage +func (s *GoogleCloudDialogflowCxV3beta1VoiceSelectionParams) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1VoiceSelectionParams raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentMessageBasicCard: The basic card -// message. Useful for displaying information. -type GoogleCloudDialogflowV2beta1IntentMessageBasicCard struct { - // Buttons: Optional. The collection of card buttons. - Buttons []*GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton `json:"buttons,omitempty"` +// GoogleCloudDialogflowCxV3beta1Webhook: Webhooks host the developer's +// business logic. During a session, webhooks allow the developer to use +// the data extracted by Dialogflow's natural language processing to +// generate dynamic responses, validate collected data, or trigger +// actions on the backend. +type GoogleCloudDialogflowCxV3beta1Webhook struct { + // Disabled: Indicates whether the webhook is disabled. + Disabled bool `json:"disabled,omitempty"` - // FormattedText: Required, unless image is present. The body text of - // the card. - FormattedText string `json:"formattedText,omitempty"` + // DisplayName: Required. The human-readable name of the webhook, unique + // within the agent. + DisplayName string `json:"displayName,omitempty"` - // Image: Optional. The image for the card. - Image *GoogleCloudDialogflowV2beta1IntentMessageImage `json:"image,omitempty"` + // GenericWebService: Configuration for a generic web service. + GenericWebService *GoogleCloudDialogflowCxV3beta1WebhookGenericWebService `json:"genericWebService,omitempty"` - // Subtitle: Optional. The subtitle of the card. - Subtitle string `json:"subtitle,omitempty"` + // Name: The unique identifier of the webhook. Required for the + // Webhooks.UpdateWebhook method. Webhooks.CreateWebhook populates the + // name automatically. Format: `projects//locations//agents//webhooks/`. + Name string `json:"name,omitempty"` - // Title: Optional. The title of the card. - Title string `json:"title,omitempty"` + // Timeout: Webhook execution timeout. Execution is considered failed if + // Dialogflow doesn't receive a response from webhook at the end of the + // timeout period. Defaults to 5 seconds, maximum allowed timeout is 30 + // seconds. + Timeout string `json:"timeout,omitempty"` - // ForceSendFields is a list of field names (e.g. "Buttons") to + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` + + // ForceSendFields is a list of field names (e.g. "Disabled") 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 @@ -8397,7 +8200,7 @@ type GoogleCloudDialogflowV2beta1IntentMessageBasicCard struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Buttons") to include in + // NullFields is a list of field names (e.g. "Disabled") 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 @@ -8406,23 +8209,30 @@ type GoogleCloudDialogflowV2beta1IntentMessageBasicCard struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1IntentMessageBasicCard) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageBasicCard +func (s *GoogleCloudDialogflowCxV3beta1Webhook) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1Webhook raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton: The button -// object that appears at the bottom of a card. -type GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton struct { - // OpenUriAction: Required. Action to take when a user taps on the - // button. - OpenUriAction *GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonOpenUriAction `json:"openUriAction,omitempty"` +// GoogleCloudDialogflowCxV3beta1WebhookGenericWebService: Represents +// configuration for a generic web service. +type GoogleCloudDialogflowCxV3beta1WebhookGenericWebService struct { + // Password: The password for HTTP Basic authentication. + Password string `json:"password,omitempty"` - // Title: Required. The title of the button. - Title string `json:"title,omitempty"` + // RequestHeaders: The HTTP request headers to send together with + // webhook requests. + RequestHeaders map[string]string `json:"requestHeaders,omitempty"` - // ForceSendFields is a list of field names (e.g. "OpenUriAction") to + // Uri: Required. The webhook URI for receiving POST requests. It must + // use https protocol. + Uri string `json:"uri,omitempty"` + + // Username: The user name for HTTP Basic authentication. + Username string `json:"username,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Password") 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 @@ -8430,28 +8240,82 @@ type GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "OpenUriAction") 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 + // NullFields is a list of field names (e.g. "Password") 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 *GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton +func (s *GoogleCloudDialogflowCxV3beta1WebhookGenericWebService) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1WebhookGenericWebService raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonOpenUriAction: -// Opens the given URI. -type GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonOpenUriAction struct { - // Uri: Required. The HTTP or HTTPS scheme URI. - Uri string `json:"uri,omitempty"` +// GoogleCloudDialogflowCxV3beta1WebhookRequest: The request message for +// a webhook call. +type GoogleCloudDialogflowCxV3beta1WebhookRequest struct { + // DetectIntentResponseId: Always present. The unique identifier of the + // DetectIntentResponse that will be returned to the API caller. + DetectIntentResponseId string `json:"detectIntentResponseId,omitempty"` - // ForceSendFields is a list of field names (e.g. "Uri") to + // FulfillmentInfo: Always present. Information about the fulfillment + // that triggered this webhook call. + FulfillmentInfo *GoogleCloudDialogflowCxV3beta1WebhookRequestFulfillmentInfo `json:"fulfillmentInfo,omitempty"` + + // IntentInfo: Information about the last matched intent. + IntentInfo *GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo `json:"intentInfo,omitempty"` + + // Messages: The list of rich message responses to present to the user. + // Webhook can choose to append or replace this list in + // WebhookResponse.fulfillment_response; + Messages []*GoogleCloudDialogflowCxV3beta1ResponseMessage `json:"messages,omitempty"` + + // PageInfo: Information about page status. + PageInfo *GoogleCloudDialogflowCxV3beta1PageInfo `json:"pageInfo,omitempty"` + + // Payload: Custom data set in QueryParameters.payload. + Payload googleapi.RawMessage `json:"payload,omitempty"` + + // SessionInfo: Information about session status. + SessionInfo *GoogleCloudDialogflowCxV3beta1SessionInfo `json:"sessionInfo,omitempty"` + + // ForceSendFields is a list of field names (e.g. + // "DetectIntentResponseId") 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. "DetectIntentResponseId") + // 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 *GoogleCloudDialogflowCxV3beta1WebhookRequest) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1WebhookRequest + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3beta1WebhookRequestFulfillmentInfo: +// Represents fulfillment information communicated to the webhook. +type GoogleCloudDialogflowCxV3beta1WebhookRequestFulfillmentInfo struct { + // Tag: Always present. The tag used to identify which fulfillment is + // being called. + Tag string `json:"tag,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Tag") 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 @@ -8459,7 +8323,7 @@ type GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonOpenUriAction struc // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Uri") to include in API + // NullFields is a list of field names (e.g. "Tag") 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 @@ -8468,41 +8332,27 @@ type GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonOpenUriAction struc NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonOpenUriAction) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonOpenUriAction +func (s *GoogleCloudDialogflowCxV3beta1WebhookRequestFulfillmentInfo) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1WebhookRequestFulfillmentInfo raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCard: Browse -// Carousel Card for Actions on Google. -// https://developers.google.com/actions/assistant/responses#browsing_carousel -type GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCard struct { - // ImageDisplayOptions: Optional. Settings for displaying the image. - // Applies to every image in items. - // - // Possible values: - // "IMAGE_DISPLAY_OPTIONS_UNSPECIFIED" - Fill the gaps between the - // image and the image container with gray bars. - // "GRAY" - Fill the gaps between the image and the image container - // with gray bars. - // "WHITE" - Fill the gaps between the image and the image container - // with white bars. - // "CROPPED" - Image is scaled such that the image width and height - // match or exceed the container dimensions. This may crop the top and - // bottom of the image if the scaled image height is greater than the - // container height, or crop the left and right of the image if the - // scaled image width is greater than the container width. This is - // similar to "Zoom Mode" on a widescreen TV when playing a 4:3 video. - // "BLURRED_BACKGROUND" - Pad the gaps between image and image frame - // with a blurred copy of the same image. - ImageDisplayOptions string `json:"imageDisplayOptions,omitempty"` +// GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo: Represents +// intent information communicated to the webhook. +type GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo struct { + // LastMatchedIntent: Always present. The unique identifier of the last + // matched intent. Format: `projects//locations//agents//intents/`. + LastMatchedIntent string `json:"lastMatchedIntent,omitempty"` - // Items: Required. List of items in the Browse Carousel Card. Minimum - // of two items, maximum of ten. - Items []*GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItem `json:"items,omitempty"` + // Parameters: Parameters identified as a result of intent matching. + // This is a map of the name of the identified parameter to the value of + // the parameter identified from the user's utterance. All parameters + // defined in the matched intent that are identified will be surfaced + // here. + Parameters map[string]GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfoIntentParameterValue `json:"parameters,omitempty"` - // ForceSendFields is a list of field names (e.g. "ImageDisplayOptions") + // ForceSendFields is a list of field names (e.g. "LastMatchedIntent") // 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 @@ -8510,7 +8360,7 @@ type GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCard struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "ImageDisplayOptions") to + // NullFields is a list of field names (e.g. "LastMatchedIntent") 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 @@ -8520,34 +8370,24 @@ type GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCard struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCard) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCard +func (s *GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarou -// selCardItem: Browsing carousel tile -type GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItem struct { - // Description: Optional. Description of the carousel item. Maximum of - // four lines of text. - Description string `json:"description,omitempty"` - - // Footer: Optional. Text that appears at the bottom of the Browse - // Carousel Card. Maximum of one line of text. - Footer string `json:"footer,omitempty"` - - // Image: Optional. Hero image for the carousel item. - Image *GoogleCloudDialogflowV2beta1IntentMessageImage `json:"image,omitempty"` - - // OpenUriAction: Required. Action to present to the user. - OpenUriAction *GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction `json:"openUriAction,omitempty"` +// GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfoIntentParameterV +// alue: Represents a value for an intent parameter. +type GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfoIntentParameterValue struct { + // OriginalValue: Always present. Original text value extracted from + // user utterance. + OriginalValue string `json:"originalValue,omitempty"` - // Title: Required. Title of the carousel item. Maximum of two lines of - // text. - Title string `json:"title,omitempty"` + // ResolvedValue: Always present. Structured value for the parameter + // extracted from user utterance. + ResolvedValue interface{} `json:"resolvedValue,omitempty"` - // ForceSendFields is a list of field names (e.g. "Description") to + // ForceSendFields is a list of field names (e.g. "OriginalValue") 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 @@ -8555,7 +8395,7 @@ type GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCa // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Description") to include + // NullFields is a list of field names (e.g. "OriginalValue") 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 @@ -8564,30 +8404,82 @@ type GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCa NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItem) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItem +func (s *GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfoIntentParameterValue) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfoIntentParameterValue raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarou -// selCardItemOpenUrlAction: Actions on Google action to open a given -// url. -type GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction struct { - // Url: Required. URL - Url string `json:"url,omitempty"` +// GoogleCloudDialogflowCxV3beta1WebhookResponse: The response message +// for a webhook call. +type GoogleCloudDialogflowCxV3beta1WebhookResponse struct { + // FulfillmentResponse: The fulfillment response to send to the user. + // This field can be omitted by the webhook if it does not intend to + // send any response to the user. + FulfillmentResponse *GoogleCloudDialogflowCxV3beta1WebhookResponseFulfillmentResponse `json:"fulfillmentResponse,omitempty"` - // UrlTypeHint: Optional. Specifies the type of viewer that is used when - // opening the URL. Defaults to opening via web browser. + // PageInfo: Information about page status. This field can be omitted by + // the webhook if it does not intend to modify page status. + PageInfo *GoogleCloudDialogflowCxV3beta1PageInfo `json:"pageInfo,omitempty"` + + // Payload: Value to append directly to QueryResult.webhook_payloads. + Payload googleapi.RawMessage `json:"payload,omitempty"` + + // SessionInfo: Information about session status. This field can be + // omitted by the webhook if it does not intend to modify session + // status. + SessionInfo *GoogleCloudDialogflowCxV3beta1SessionInfo `json:"sessionInfo,omitempty"` + + // TargetFlow: The target flow to transition to. Format: + // `projects//locations//agents//flows/`. + TargetFlow string `json:"targetFlow,omitempty"` + + // TargetPage: The target page to transition to. Format: + // `projects//locations//agents//flows//pages/`. + TargetPage string `json:"targetPage,omitempty"` + + // ForceSendFields is a list of field names (e.g. "FulfillmentResponse") + // 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. "FulfillmentResponse") 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 *GoogleCloudDialogflowCxV3beta1WebhookResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1WebhookResponse + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowCxV3beta1WebhookResponseFulfillmentResponse: +// Represents a fulfillment response to the user. +type GoogleCloudDialogflowCxV3beta1WebhookResponseFulfillmentResponse struct { + // MergeBehavior: Merge behavior for `messages`. // // Possible values: - // "URL_TYPE_HINT_UNSPECIFIED" - Unspecified - // "AMP_ACTION" - Url would be an amp action - // "AMP_CONTENT" - URL that points directly to AMP content, or to a - // canonical URL which refers to AMP content via . - UrlTypeHint string `json:"urlTypeHint,omitempty"` + // "MERGE_BEHAVIOR_UNSPECIFIED" - Not specified. `APPEND` will be + // used. + // "APPEND" - `messages` will be appended to the list of messages + // waiting to be sent to the user. + // "REPLACE" - `messages` will replace the list of messages waiting to + // be sent to the user. + MergeBehavior string `json:"mergeBehavior,omitempty"` - // ForceSendFields is a list of field names (e.g. "Url") to + // Messages: The list of rich message responses to present to the user. + Messages []*GoogleCloudDialogflowCxV3beta1ResponseMessage `json:"messages,omitempty"` + + // ForceSendFields is a list of field names (e.g. "MergeBehavior") 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 @@ -8595,37 +8487,43 @@ type GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCa // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Url") 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 + // NullFields is a list of field names (e.g. "MergeBehavior") 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 *GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction +func (s *GoogleCloudDialogflowCxV3beta1WebhookResponseFulfillmentResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowCxV3beta1WebhookResponseFulfillmentResponse raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentMessageCard: The card response -// message. -type GoogleCloudDialogflowV2beta1IntentMessageCard struct { - // Buttons: Optional. The collection of card buttons. - Buttons []*GoogleCloudDialogflowV2beta1IntentMessageCardButton `json:"buttons,omitempty"` - - // ImageUri: Optional. The public URI to an image file for the card. - ImageUri string `json:"imageUri,omitempty"` +// GoogleCloudDialogflowV2AnnotatedMessagePart: Represents a part of a +// message possibly annotated with an entity. The part can be an entity +// or purely a part of the message between two entities or message +// start/end. +type GoogleCloudDialogflowV2AnnotatedMessagePart struct { + // EntityType: The [Dialogflow system entity + // type](https://cloud.google.com/dialogflow/docs/reference/system-entiti + // es) of this message part. If this is empty, Dialogflow could not + // annotate the phrase part with a system entity. + EntityType string `json:"entityType,omitempty"` - // Subtitle: Optional. The subtitle of the card. - Subtitle string `json:"subtitle,omitempty"` + // FormattedValue: The [Dialogflow system entity formatted value + // ](https://cloud.google.com/dialogflow/docs/reference/system-entities) + // of this message part. For example for a system entity of type + // `@sys.unit-currency`, this may contain: { "amount": 5, "currency": + // "USD" } + FormattedValue interface{} `json:"formattedValue,omitempty"` - // Title: Optional. The title of the card. - Title string `json:"title,omitempty"` + // Text: A part of a message possibly annotated with an entity. + Text string `json:"text,omitempty"` - // ForceSendFields is a list of field names (e.g. "Buttons") to + // ForceSendFields is a list of field names (e.g. "EntityType") 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 @@ -8633,7 +8531,7 @@ type GoogleCloudDialogflowV2beta1IntentMessageCard struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Buttons") to include in + // NullFields is a list of field names (e.g. "EntityType") 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 @@ -8642,23 +8540,19 @@ type GoogleCloudDialogflowV2beta1IntentMessageCard struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1IntentMessageCard) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageCard +func (s *GoogleCloudDialogflowV2AnnotatedMessagePart) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2AnnotatedMessagePart raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentMessageCardButton: Optional. -// Contains information about a button. -type GoogleCloudDialogflowV2beta1IntentMessageCardButton struct { - // Postback: Optional. The text to send back to the Dialogflow API or a - // URI to open. - Postback string `json:"postback,omitempty"` - - // Text: Optional. The text to show on the button. - Text string `json:"text,omitempty"` +// GoogleCloudDialogflowV2BatchUpdateEntityTypesResponse: The response +// message for EntityTypes.BatchUpdateEntityTypes. +type GoogleCloudDialogflowV2BatchUpdateEntityTypesResponse struct { + // EntityTypes: The collection of updated or created entity types. + EntityTypes []*GoogleCloudDialogflowV2EntityType `json:"entityTypes,omitempty"` - // ForceSendFields is a list of field names (e.g. "Postback") to + // ForceSendFields is a list of field names (e.g. "EntityTypes") 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 @@ -8666,28 +8560,28 @@ type GoogleCloudDialogflowV2beta1IntentMessageCardButton struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Postback") 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 + // NullFields is a list of field names (e.g. "EntityTypes") 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 *GoogleCloudDialogflowV2beta1IntentMessageCardButton) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageCardButton +func (s *GoogleCloudDialogflowV2BatchUpdateEntityTypesResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2BatchUpdateEntityTypesResponse raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentMessageCarouselSelect: The card for -// presenting a carousel of options to select from. -type GoogleCloudDialogflowV2beta1IntentMessageCarouselSelect struct { - // Items: Required. Carousel items. - Items []*GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItem `json:"items,omitempty"` +// GoogleCloudDialogflowV2BatchUpdateIntentsResponse: The response +// message for Intents.BatchUpdateIntents. +type GoogleCloudDialogflowV2BatchUpdateIntentsResponse struct { + // Intents: The collection of updated or created intents. + Intents []*GoogleCloudDialogflowV2Intent `json:"intents,omitempty"` - // ForceSendFields is a list of field names (e.g. "Items") to + // ForceSendFields is a list of field names (e.g. "Intents") 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 @@ -8695,8 +8589,8 @@ type GoogleCloudDialogflowV2beta1IntentMessageCarouselSelect struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Items") to include in API - // requests with the JSON null value. By default, fields with empty + // NullFields is a list of field names (e.g. "Intents") 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. @@ -8704,28 +8598,58 @@ type GoogleCloudDialogflowV2beta1IntentMessageCarouselSelect struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1IntentMessageCarouselSelect) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageCarouselSelect +func (s *GoogleCloudDialogflowV2BatchUpdateIntentsResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2BatchUpdateIntentsResponse raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItem: An item -// in the carousel. -type GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItem struct { - // Description: Optional. The body text of the card. - Description string `json:"description,omitempty"` - - // Image: Optional. The image to display. - Image *GoogleCloudDialogflowV2beta1IntentMessageImage `json:"image,omitempty"` +// GoogleCloudDialogflowV2Context: Dialogflow contexts are similar to +// natural language context. If a person says to you "they are orange", +// you need context in order to understand what "they" is referring to. +// Similarly, for Dialogflow to handle an end-user expression like that, +// it needs to be provided with context in order to correctly match an +// intent. Using contexts, you can control the flow of a conversation. +// You can configure contexts for an intent by setting input and output +// contexts, which are identified by string names. When an intent is +// matched, any configured output contexts for that intent become +// active. While any contexts are active, Dialogflow is more likely to +// match intents that are configured with input contexts that correspond +// to the currently active contexts. For more information about context, +// see the [Contexts +// guide](https://cloud.google.com/dialogflow/docs/contexts-overview). +type GoogleCloudDialogflowV2Context struct { + // LifespanCount: Optional. The number of conversational query requests + // after which the context expires. The default is `0`. If set to `0`, + // the context expires immediately. Contexts expire automatically after + // 20 minutes if there are no matching queries. + LifespanCount int64 `json:"lifespanCount,omitempty"` - // Info: Required. Additional info about the option item. - Info *GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo `json:"info,omitempty"` + // Name: Required. The unique identifier of the context. Format: + // `projects//agent/sessions//contexts/`, or + // `projects//agent/environments//users//sessions//contexts/`. The + // `Context ID` is always converted to lowercase, may only contain + // characters in a-zA-Z0-9_-% and may be at most 250 bytes long. If + // `Environment ID` is not specified, we assume default 'draft' + // environment. If `User ID` is not specified, we assume default '-' + // user. The following context names are reserved for internal use by + // Dialogflow. You should not use these contexts or create contexts with + // these names: * `__system_counters__` * `*_id_dialog_context` * + // `*_dialog_params_size` + Name string `json:"name,omitempty"` - // Title: Required. Title of the carousel item. - Title string `json:"title,omitempty"` + // Parameters: Optional. The collection of parameters associated with + // this context. Depending on your protocol or client library language, + // this is a map, associative array, symbol table, dictionary, or JSON + // object composed of a collection of (MapKey, MapValue) pairs: - MapKey + // type: string - MapKey value: parameter name - MapValue type: - If + // parameter's entity type is a composite entity: map - Else: string or + // number, depending on parameter value type - MapValue value: - If + // parameter's entity type is a composite entity: map from composite + // entity property names to property values - Else: parameter value + Parameters googleapi.RawMessage `json:"parameters,omitempty"` - // ForceSendFields is a list of field names (e.g. "Description") to + // ForceSendFields is a list of field names (e.g. "LifespanCount") 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 @@ -8733,7 +8657,7 @@ type GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItem struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Description") to include + // NullFields is a list of field names (e.g. "LifespanCount") 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 @@ -8742,30 +8666,50 @@ type GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItem struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItem) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItem +func (s *GoogleCloudDialogflowV2Context) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2Context raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentMessageColumnProperties: Column -// properties for TableCard. -type GoogleCloudDialogflowV2beta1IntentMessageColumnProperties struct { - // Header: Required. Column heading. - Header string `json:"header,omitempty"` +// GoogleCloudDialogflowV2ConversationEvent: Represents a notification +// sent to Pub/Sub subscribers for conversation lifecycle events. +type GoogleCloudDialogflowV2ConversationEvent struct { + // Conversation: The unique identifier of the conversation this + // notification refers to. Format: `projects//conversations/`. + Conversation string `json:"conversation,omitempty"` - // HorizontalAlignment: Optional. Defines text alignment for all cells - // in this column. + // ErrorStatus: More detailed information about an error. Only set for + // type UNRECOVERABLE_ERROR_IN_PHONE_CALL. + ErrorStatus *GoogleRpcStatus `json:"errorStatus,omitempty"` + + // NewMessagePayload: Payload of NEW_MESSAGE event. + NewMessagePayload *GoogleCloudDialogflowV2Message `json:"newMessagePayload,omitempty"` + + // Type: The type of the event that this notification refers to. // // Possible values: - // "HORIZONTAL_ALIGNMENT_UNSPECIFIED" - Text is aligned to the leading - // edge of the column. - // "LEADING" - Text is aligned to the leading edge of the column. - // "CENTER" - Text is centered in the column. - // "TRAILING" - Text is aligned to the trailing edge of the column. - HorizontalAlignment string `json:"horizontalAlignment,omitempty"` + // "TYPE_UNSPECIFIED" - Type not set. + // "CONVERSATION_STARTED" - A new conversation has been opened. This + // is fired when a telephone call is answered, or a conversation is + // created via the API. + // "CONVERSATION_FINISHED" - An existing conversation has closed. This + // is fired when a telephone call is terminated, or a conversation is + // closed via the API. + // "HUMAN_INTERVENTION_NEEDED" - An existing conversation has received + // notification from Dialogflow that human intervention is required. + // "NEW_MESSAGE" - An existing conversation has received a new + // message, either from API or telephony. It is configured in + // ConversationProfile.new_message_event_notification_config + // "UNRECOVERABLE_ERROR" - Unrecoverable error during a telephone + // call. In general non-recoverable errors only occur if something was + // misconfigured in the ConversationProfile corresponding to the call. + // After a non-recoverable error, Dialogflow may stop responding. We + // don't fire this event: * in an API call because we can directly + // return the error, or, * when we can recover from an error. + Type string `json:"type,omitempty"` - // ForceSendFields is a list of field names (e.g. "Header") to + // ForceSendFields is a list of field names (e.g. "Conversation") 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 @@ -8773,77 +8717,82 @@ type GoogleCloudDialogflowV2beta1IntentMessageColumnProperties struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Header") 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 + // NullFields is a list of field names (e.g. "Conversation") 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 *GoogleCloudDialogflowV2beta1IntentMessageColumnProperties) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageColumnProperties +func (s *GoogleCloudDialogflowV2ConversationEvent) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2ConversationEvent raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentMessageImage: The image response -// message. -type GoogleCloudDialogflowV2beta1IntentMessageImage struct { - // AccessibilityText: A text description of the image to be used for - // accessibility, e.g., screen readers. Required if image_uri is set for - // CarouselSelect. - AccessibilityText string `json:"accessibilityText,omitempty"` - - // ImageUri: Optional. The public URI to an image file. - ImageUri string `json:"imageUri,omitempty"` +// GoogleCloudDialogflowV2EntityType: Each intent parameter has a type, +// called the entity type, which dictates exactly how data from an +// end-user expression is extracted. Dialogflow provides predefined +// system entities that can match many common types of data. For +// example, there are system entities for matching dates, times, colors, +// email addresses, and so on. You can also create your own custom +// entities for matching custom data. For example, you could define a +// vegetable entity that can match the types of vegetables available for +// purchase with a grocery store agent. For more information, see the +// [Entity +// guide](https://cloud.google.com/dialogflow/docs/entities-overview). +type GoogleCloudDialogflowV2EntityType struct { + // AutoExpansionMode: Optional. Indicates whether the entity type can be + // automatically expanded. + // + // Possible values: + // "AUTO_EXPANSION_MODE_UNSPECIFIED" - Auto expansion disabled for the + // entity. + // "AUTO_EXPANSION_MODE_DEFAULT" - Allows an agent to recognize values + // that have not been explicitly listed in the entity. + AutoExpansionMode string `json:"autoExpansionMode,omitempty"` - // ForceSendFields is a list of field names (e.g. "AccessibilityText") - // 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:"-"` + // DisplayName: Required. The name of the entity type. + DisplayName string `json:"displayName,omitempty"` - // NullFields is a list of field names (e.g. "AccessibilityText") 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:"-"` -} + // EnableFuzzyExtraction: Optional. Enables fuzzy entity extraction + // during classification. + EnableFuzzyExtraction bool `json:"enableFuzzyExtraction,omitempty"` -func (s *GoogleCloudDialogflowV2beta1IntentMessageImage) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageImage - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} + // Entities: Optional. The collection of entity entries associated with + // the entity type. + Entities []*GoogleCloudDialogflowV2EntityTypeEntity `json:"entities,omitempty"` -// GoogleCloudDialogflowV2beta1IntentMessageLinkOutSuggestion: The -// suggestion chip message that allows the user to jump out to the app -// or website associated with this agent. -type GoogleCloudDialogflowV2beta1IntentMessageLinkOutSuggestion struct { - // DestinationName: Required. The name of the app or site this chip is - // linking to. - DestinationName string `json:"destinationName,omitempty"` + // Kind: Required. Indicates the kind of entity type. + // + // Possible values: + // "KIND_UNSPECIFIED" - Not specified. This value should be never + // used. + // "KIND_MAP" - Map entity types allow mapping of a group of synonyms + // to a reference value. + // "KIND_LIST" - List entity types contain a set of entries that do + // not map to reference values. However, list entity types can contain + // references to other entity types (with or without aliases). + // "KIND_REGEXP" - Regexp entity types allow to specify regular + // expressions in entries values. + Kind string `json:"kind,omitempty"` - // Uri: Required. The URI of the app or site to open when the user taps - // the suggestion chip. - Uri string `json:"uri,omitempty"` + // Name: The unique identifier of the entity type. Required for + // EntityTypes.UpdateEntityType and EntityTypes.BatchUpdateEntityTypes + // methods. Format: `projects//agent/entityTypes/`. + Name string `json:"name,omitempty"` - // ForceSendFields is a list of field names (e.g. "DestinationName") to - // unconditionally include in API requests. By default, fields with + // ForceSendFields is a list of field names (e.g. "AutoExpansionMode") + // 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. "DestinationName") to + // NullFields is a list of field names (e.g. "AutoExpansionMode") 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 @@ -8853,25 +8802,30 @@ type GoogleCloudDialogflowV2beta1IntentMessageLinkOutSuggestion struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1IntentMessageLinkOutSuggestion) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageLinkOutSuggestion +func (s *GoogleCloudDialogflowV2EntityType) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2EntityType raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentMessageListSelect: The card for -// presenting a list of options to select from. -type GoogleCloudDialogflowV2beta1IntentMessageListSelect struct { - // Items: Required. List items. - Items []*GoogleCloudDialogflowV2beta1IntentMessageListSelectItem `json:"items,omitempty"` - - // Subtitle: Optional. Subtitle of the list. - Subtitle string `json:"subtitle,omitempty"` +// GoogleCloudDialogflowV2EntityTypeEntity: An **entity entry** for an +// associated entity type. +type GoogleCloudDialogflowV2EntityTypeEntity struct { + // Synonyms: Required. A collection of value synonyms. For example, if + // the entity type is *vegetable*, and `value` is *scallions*, a synonym + // could be *green onions*. For `KIND_LIST` entity types: * This + // collection must contain exactly one synonym equal to `value`. + Synonyms []string `json:"synonyms,omitempty"` - // Title: Optional. The overall title of the list. - Title string `json:"title,omitempty"` + // Value: Required. The primary value associated with this entity entry. + // For example, if the entity type is *vegetable*, the value could be + // *scallions*. For `KIND_MAP` entity types: * A reference value to be + // used in place of synonyms. For `KIND_LIST` entity types: * A string + // that can contain references to other entity types (with or without + // aliases). + Value string `json:"value,omitempty"` - // ForceSendFields is a list of field names (e.g. "Items") to + // ForceSendFields is a list of field names (e.g. "Synonyms") 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 @@ -8879,8 +8833,8 @@ type GoogleCloudDialogflowV2beta1IntentMessageListSelect struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Items") to include in API - // requests with the JSON null value. By default, fields with empty + // NullFields is a list of field names (e.g. "Synonyms") 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. @@ -8888,28 +8842,40 @@ type GoogleCloudDialogflowV2beta1IntentMessageListSelect struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1IntentMessageListSelect) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageListSelect - raw := NoMethod(*s) +func (s *GoogleCloudDialogflowV2EntityTypeEntity) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2EntityTypeEntity + raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentMessageListSelectItem: An item in -// the list. -type GoogleCloudDialogflowV2beta1IntentMessageListSelectItem struct { - // Description: Optional. The main text describing the item. - Description string `json:"description,omitempty"` - - // Image: Optional. The image to display. - Image *GoogleCloudDialogflowV2beta1IntentMessageImage `json:"image,omitempty"` +// GoogleCloudDialogflowV2EventInput: Events allow for matching intents +// by event name instead of the natural language input. For instance, +// input `` can trigger a personalized welcome response. The parameter +// `name` may be used by the agent in the response: "Hello +// #welcome_event.name! What can I do for you today?". +type GoogleCloudDialogflowV2EventInput struct { + // LanguageCode: Required. The language of this query. See [Language + // Support](https://cloud.google.com/dialogflow/docs/reference/language) + // for a list of the currently supported language codes. Note that + // queries in the same session do not necessarily need to specify the + // same language. + LanguageCode string `json:"languageCode,omitempty"` - // Info: Required. Additional information about this option. - Info *GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo `json:"info,omitempty"` + // Name: Required. The unique identifier of the event. + Name string `json:"name,omitempty"` - // Title: Required. The title of the list item. - Title string `json:"title,omitempty"` + // Parameters: The collection of parameters associated with the event. + // Depending on your protocol or client library language, this is a map, + // associative array, symbol table, dictionary, or JSON object composed + // of a collection of (MapKey, MapValue) pairs: - MapKey type: string - + // MapKey value: parameter name - MapValue type: - If parameter's entity + // type is a composite entity: map - Else: string or number, depending + // on parameter value type - MapValue value: - If parameter's entity + // type is a composite entity: map from composite entity property names + // to property values - Else: parameter value + Parameters googleapi.RawMessage `json:"parameters,omitempty"` - // ForceSendFields is a list of field names (e.g. "Description") to + // ForceSendFields is a list of field names (e.g. "LanguageCode") 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 @@ -8917,7 +8883,7 @@ type GoogleCloudDialogflowV2beta1IntentMessageListSelectItem struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Description") to include + // NullFields is a list of field names (e.g. "LanguageCode") 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 @@ -8926,26 +8892,24 @@ type GoogleCloudDialogflowV2beta1IntentMessageListSelectItem struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1IntentMessageListSelectItem) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageListSelectItem +func (s *GoogleCloudDialogflowV2EventInput) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2EventInput raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentMessageMediaContent: The media -// content card for Actions on Google. -type GoogleCloudDialogflowV2beta1IntentMessageMediaContent struct { - // MediaObjects: Required. List of media objects. - MediaObjects []*GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObject `json:"mediaObjects,omitempty"` +// GoogleCloudDialogflowV2ExportAgentResponse: The response message for +// Agents.ExportAgent. +type GoogleCloudDialogflowV2ExportAgentResponse struct { + // AgentContent: Zip compressed raw byte content for agent. + AgentContent string `json:"agentContent,omitempty"` - // MediaType: Optional. What type of media is the content (ie "audio"). - // - // Possible values: - // "RESPONSE_MEDIA_TYPE_UNSPECIFIED" - Unspecified. - // "AUDIO" - Response media type is audio. - MediaType string `json:"mediaType,omitempty"` + // AgentUri: The URI to a file containing the exported agent. This field + // is populated only if `agent_uri` is specified in + // `ExportAgentRequest`. + AgentUri string `json:"agentUri,omitempty"` - // ForceSendFields is a list of field names (e.g. "MediaObjects") to + // ForceSendFields is a list of field names (e.g. "AgentContent") 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 @@ -8953,7 +8917,7 @@ type GoogleCloudDialogflowV2beta1IntentMessageMediaContent struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "MediaObjects") to include + // NullFields is a list of field names (e.g. "AgentContent") 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 @@ -8962,31 +8926,136 @@ type GoogleCloudDialogflowV2beta1IntentMessageMediaContent struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1IntentMessageMediaContent) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageMediaContent +func (s *GoogleCloudDialogflowV2ExportAgentResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2ExportAgentResponse raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObje -// ct: Response media object for media content card. -type GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObject struct { - // ContentUrl: Required. Url where the media is stored. - ContentUrl string `json:"contentUrl,omitempty"` +// GoogleCloudDialogflowV2Intent: An intent categorizes an end-user's +// intention for one conversation turn. For each agent, you define many +// intents, where your combined intents can handle a complete +// conversation. When an end-user writes or says something, referred to +// as an end-user expression or end-user input, Dialogflow matches the +// end-user input to the best intent in your agent. Matching an intent +// is also known as intent classification. For more information, see the +// [intent +// guide](https://cloud.google.com/dialogflow/docs/intents-overview). +type GoogleCloudDialogflowV2Intent struct { + // Action: Optional. The name of the action associated with the intent. + // Note: The action name must not contain whitespaces. + Action string `json:"action,omitempty"` - // Description: Optional. Description of media card. - Description string `json:"description,omitempty"` + // DefaultResponsePlatforms: Optional. The list of platforms for which + // the first responses will be copied from the messages in + // PLATFORM_UNSPECIFIED (i.e. default platform). + // + // Possible values: + // "PLATFORM_UNSPECIFIED" - Default platform. + // "FACEBOOK" - Facebook. + // "SLACK" - Slack. + // "TELEGRAM" - Telegram. + // "KIK" - Kik. + // "SKYPE" - Skype. + // "LINE" - Line. + // "VIBER" - Viber. + // "ACTIONS_ON_GOOGLE" - Google Assistant See [Dialogflow webhook + // format](https://developers.google.com/assistant/actions/build/json/dia + // logflow-webhook-json) + // "GOOGLE_HANGOUTS" - Google Hangouts. + DefaultResponsePlatforms []string `json:"defaultResponsePlatforms,omitempty"` - // Icon: Optional. Icon to display above media content. - Icon *GoogleCloudDialogflowV2beta1IntentMessageImage `json:"icon,omitempty"` + // DisplayName: Required. The name of this intent. + DisplayName string `json:"displayName,omitempty"` - // LargeImage: Optional. Image to display above media content. - LargeImage *GoogleCloudDialogflowV2beta1IntentMessageImage `json:"largeImage,omitempty"` + // Events: Optional. The collection of event names that trigger the + // intent. If the collection of input contexts is not empty, all of the + // contexts must be present in the active user session for an event to + // trigger this intent. Event names are limited to 150 characters. + Events []string `json:"events,omitempty"` - // Name: Required. Name of media card. + // FollowupIntentInfo: Read-only. Information about all followup intents + // that have this intent as a direct or indirect parent. We populate + // this field only in the output. + FollowupIntentInfo []*GoogleCloudDialogflowV2IntentFollowupIntentInfo `json:"followupIntentInfo,omitempty"` + + // InputContextNames: Optional. The list of context names required for + // this intent to be triggered. Format: + // `projects//agent/sessions/-/contexts/`. + InputContextNames []string `json:"inputContextNames,omitempty"` + + // IsFallback: Optional. Indicates whether this is a fallback intent. + IsFallback bool `json:"isFallback,omitempty"` + + // Messages: Optional. The collection of rich messages corresponding to + // the `Response` field in the Dialogflow console. + Messages []*GoogleCloudDialogflowV2IntentMessage `json:"messages,omitempty"` + + // MlDisabled: Optional. Indicates whether Machine Learning is disabled + // for the intent. Note: If `ml_disabled` setting is set to true, then + // this intent is not taken into account during inference in `ML ONLY` + // match mode. Also, auto-markup in the UI is turned off. + MlDisabled bool `json:"mlDisabled,omitempty"` + + // Name: Optional. The unique identifier of this intent. Required for + // Intents.UpdateIntent and Intents.BatchUpdateIntents methods. Format: + // `projects//agent/intents/`. Name string `json:"name,omitempty"` - // ForceSendFields is a list of field names (e.g. "ContentUrl") to + // OutputContexts: Optional. The collection of contexts that are + // activated when the intent is matched. Context messages in this + // collection should not set the parameters field. Setting the + // `lifespan_count` to 0 will reset the context when the intent is + // matched. Format: `projects//agent/sessions/-/contexts/`. + OutputContexts []*GoogleCloudDialogflowV2Context `json:"outputContexts,omitempty"` + + // Parameters: Optional. The collection of parameters associated with + // the intent. + Parameters []*GoogleCloudDialogflowV2IntentParameter `json:"parameters,omitempty"` + + // ParentFollowupIntentName: Read-only after creation. The unique + // identifier of the parent intent in the chain of followup intents. You + // can set this field when creating an intent, for example with + // CreateIntent or BatchUpdateIntents, in order to make this intent a + // followup intent. It identifies the parent followup intent. Format: + // `projects//agent/intents/`. + ParentFollowupIntentName string `json:"parentFollowupIntentName,omitempty"` + + // Priority: Optional. The priority of this intent. Higher numbers + // represent higher priorities. - If the supplied value is unspecified + // or 0, the service translates the value to 500,000, which corresponds + // to the `Normal` priority in the console. - If the supplied value is + // negative, the intent is ignored in runtime detect intent requests. + Priority int64 `json:"priority,omitempty"` + + // ResetContexts: Optional. Indicates whether to delete all contexts in + // the current session when this intent is matched. + ResetContexts bool `json:"resetContexts,omitempty"` + + // RootFollowupIntentName: Read-only. The unique identifier of the root + // intent in the chain of followup intents. It identifies the correct + // followup intents chain for this intent. We populate this field only + // in the output. Format: `projects//agent/intents/`. + RootFollowupIntentName string `json:"rootFollowupIntentName,omitempty"` + + // TrainingPhrases: Optional. The collection of examples that the agent + // is trained on. + TrainingPhrases []*GoogleCloudDialogflowV2IntentTrainingPhrase `json:"trainingPhrases,omitempty"` + + // WebhookState: Optional. Indicates whether webhooks are enabled for + // the intent. + // + // Possible values: + // "WEBHOOK_STATE_UNSPECIFIED" - Webhook is disabled in the agent and + // in the intent. + // "WEBHOOK_STATE_ENABLED" - Webhook is enabled in the agent and in + // the intent. + // "WEBHOOK_STATE_ENABLED_FOR_SLOT_FILLING" - Webhook is enabled in + // the agent and in the intent. Also, each slot filling prompt is + // forwarded to the webhook. + WebhookState string `json:"webhookState,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Action") 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 @@ -8994,8 +9063,8 @@ type GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObject st // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "ContentUrl") to include in - // API requests with the JSON null value. By default, fields with empty + // NullFields is a list of field names (e.g. "Action") 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. @@ -9003,120 +9072,115 @@ type GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObject st NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObject) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObject +func (s *GoogleCloudDialogflowV2Intent) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2Intent raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentMessageQuickReplies: The quick -// replies response message. -type GoogleCloudDialogflowV2beta1IntentMessageQuickReplies struct { - // QuickReplies: Optional. The collection of quick replies. - QuickReplies []string `json:"quickReplies,omitempty"` +// GoogleCloudDialogflowV2IntentFollowupIntentInfo: Represents a single +// followup intent in the chain. +type GoogleCloudDialogflowV2IntentFollowupIntentInfo struct { + // FollowupIntentName: The unique identifier of the followup intent. + // Format: `projects//agent/intents/`. + FollowupIntentName string `json:"followupIntentName,omitempty"` - // Title: Optional. The title of the collection of quick replies. - Title string `json:"title,omitempty"` + // ParentFollowupIntentName: The unique identifier of the followup + // intent's parent. Format: `projects//agent/intents/`. + ParentFollowupIntentName string `json:"parentFollowupIntentName,omitempty"` - // ForceSendFields is a list of field names (e.g. "QuickReplies") to - // unconditionally include in API requests. By default, fields with + // ForceSendFields is a list of field names (e.g. "FollowupIntentName") + // 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. "QuickReplies") 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. "FollowupIntentName") 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 *GoogleCloudDialogflowV2beta1IntentMessageQuickReplies) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageQuickReplies +func (s *GoogleCloudDialogflowV2IntentFollowupIntentInfo) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2IntentFollowupIntentInfo raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent: Rich -// Business Messaging (RBM) Card content -type GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent struct { - // Description: Optional. Description of the card (at most 2000 bytes). - // At least one of the title, description or media must be set. - Description string `json:"description,omitempty"` +// GoogleCloudDialogflowV2IntentMessage: A rich response message. +// Corresponds to the intent `Response` field in the Dialogflow console. +// For more information, see [Rich response +// messages](https://cloud.google.com/dialogflow/docs/intents-rich-messag +// es). +type GoogleCloudDialogflowV2IntentMessage struct { + // BasicCard: The basic card response for Actions on Google. + BasicCard *GoogleCloudDialogflowV2IntentMessageBasicCard `json:"basicCard,omitempty"` - // Media: Optional. However at least one of the title, description or - // media must be set. Media (image, GIF or a video) to include in the - // card. - Media *GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMedia `json:"media,omitempty"` + // BrowseCarouselCard: Browse carousel card for Actions on Google. + BrowseCarouselCard *GoogleCloudDialogflowV2IntentMessageBrowseCarouselCard `json:"browseCarouselCard,omitempty"` - // Suggestions: Optional. List of suggestions to include in the card. - Suggestions []*GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion `json:"suggestions,omitempty"` + // Card: The card response. + Card *GoogleCloudDialogflowV2IntentMessageCard `json:"card,omitempty"` - // Title: Optional. Title of the card (at most 200 bytes). At least one - // of the title, description or media must be set. - Title string `json:"title,omitempty"` + // CarouselSelect: The carousel card response for Actions on Google. + CarouselSelect *GoogleCloudDialogflowV2IntentMessageCarouselSelect `json:"carouselSelect,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:"-"` + // Image: The image response. + Image *GoogleCloudDialogflowV2IntentMessageImage `json:"image,omitempty"` - // 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:"-"` -} + // LinkOutSuggestion: The link out suggestion chip for Actions on + // Google. + LinkOutSuggestion *GoogleCloudDialogflowV2IntentMessageLinkOutSuggestion `json:"linkOutSuggestion,omitempty"` -func (s *GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} + // ListSelect: The list card response for Actions on Google. + ListSelect *GoogleCloudDialogflowV2IntentMessageListSelect `json:"listSelect,omitempty"` -// GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMedia: Rich -// Business Messaging (RBM) Media displayed in Cards The following -// media-types are currently supported: Image Types * image/jpeg * -// image/jpg' * image/gif * image/png Video Types * video/h263 * -// video/m4v * video/mp4 * video/mpeg * video/mpeg4 * video/webm -type GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMedia struct { - // FileUri: Required. Publicly reachable URI of the file. The RBM - // platform determines the MIME type of the file from the content-type - // field in the HTTP headers when the platform fetches the file. The - // content-type field must be present and accurate in the HTTP response - // from the URL. - FileUri string `json:"fileUri,omitempty"` + // MediaContent: The media content card for Actions on Google. + MediaContent *GoogleCloudDialogflowV2IntentMessageMediaContent `json:"mediaContent,omitempty"` - // Height: Required for cards with vertical orientation. The height of - // the media within a rich card with a vertical layout. For a standalone - // card with horizontal layout, height is not customizable, and this - // field is ignored. + // Payload: A custom platform-specific response. + Payload googleapi.RawMessage `json:"payload,omitempty"` + + // Platform: Optional. The platform that this message is intended for. // // Possible values: - // "HEIGHT_UNSPECIFIED" - Not specified. - // "SHORT" - 112 DP. - // "MEDIUM" - 168 DP. - // "TALL" - 264 DP. Not available for rich card carousels when the - // card width is set to small. - Height string `json:"height,omitempty"` + // "PLATFORM_UNSPECIFIED" - Default platform. + // "FACEBOOK" - Facebook. + // "SLACK" - Slack. + // "TELEGRAM" - Telegram. + // "KIK" - Kik. + // "SKYPE" - Skype. + // "LINE" - Line. + // "VIBER" - Viber. + // "ACTIONS_ON_GOOGLE" - Google Assistant See [Dialogflow webhook + // format](https://developers.google.com/assistant/actions/build/json/dia + // logflow-webhook-json) + // "GOOGLE_HANGOUTS" - Google Hangouts. + Platform string `json:"platform,omitempty"` - // ThumbnailUri: Optional. Publicly reachable URI of the thumbnail.If - // you don't provide a thumbnail URI, the RBM platform displays a blank - // placeholder thumbnail until the user's device downloads the file. - // Depending on the user's setting, the file may not download - // automatically and may require the user to tap a download button. - ThumbnailUri string `json:"thumbnailUri,omitempty"` + // QuickReplies: The quick replies response. + QuickReplies *GoogleCloudDialogflowV2IntentMessageQuickReplies `json:"quickReplies,omitempty"` - // ForceSendFields is a list of field names (e.g. "FileUri") to + // SimpleResponses: The voice and text-only responses for Actions on + // Google. + SimpleResponses *GoogleCloudDialogflowV2IntentMessageSimpleResponses `json:"simpleResponses,omitempty"` + + // Suggestions: The suggestion chips for Actions on Google. + Suggestions *GoogleCloudDialogflowV2IntentMessageSuggestions `json:"suggestions,omitempty"` + + // TableCard: Table card for Actions on Google. + TableCard *GoogleCloudDialogflowV2IntentMessageTableCard `json:"tableCard,omitempty"` + + // Text: The text response. + Text *GoogleCloudDialogflowV2IntentMessageText `json:"text,omitempty"` + + // ForceSendFields is a list of field names (e.g. "BasicCard") 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 @@ -9124,7 +9188,7 @@ type GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMedia struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "FileUri") to include in + // NullFields is a list of field names (e.g. "BasicCard") 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 @@ -9133,31 +9197,32 @@ type GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMedia struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMedia) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMedia +func (s *GoogleCloudDialogflowV2IntentMessage) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2IntentMessage raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard: Carousel -// Rich Business Messaging (RBM) rich card. Rich cards allow you to -// respond to users with more vivid content, e.g. with media and -// suggestions. If you want to show a single card with more control over -// the layout, please use RbmStandaloneCard instead. -type GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard struct { - // CardContents: Required. The cards in the carousel. A carousel must - // have at least 2 cards and at most 10. - CardContents []*GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent `json:"cardContents,omitempty"` +// GoogleCloudDialogflowV2IntentMessageBasicCard: The basic card +// message. Useful for displaying information. +type GoogleCloudDialogflowV2IntentMessageBasicCard struct { + // Buttons: Optional. The collection of card buttons. + Buttons []*GoogleCloudDialogflowV2IntentMessageBasicCardButton `json:"buttons,omitempty"` - // CardWidth: Required. The width of the cards in the carousel. - // - // Possible values: - // "CARD_WIDTH_UNSPECIFIED" - Not specified. - // "SMALL" - 120 DP. Note that tall media cannot be used. - // "MEDIUM" - 232 DP. - CardWidth string `json:"cardWidth,omitempty"` + // FormattedText: Required, unless image is present. The body text of + // the card. + FormattedText string `json:"formattedText,omitempty"` - // ForceSendFields is a list of field names (e.g. "CardContents") to + // Image: Optional. The image for the card. + Image *GoogleCloudDialogflowV2IntentMessageImage `json:"image,omitempty"` + + // Subtitle: Optional. The subtitle of the card. + Subtitle string `json:"subtitle,omitempty"` + + // Title: Optional. The title of the card. + Title string `json:"title,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Buttons") 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 @@ -9165,49 +9230,32 @@ type GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "CardContents") 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 + // NullFields is a list of field names (e.g. "Buttons") 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 *GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard +func (s *GoogleCloudDialogflowV2IntentMessageBasicCard) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2IntentMessageBasicCard raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCard: -// Standalone Rich Business Messaging (RBM) rich card. Rich cards allow -// you to respond to users with more vivid content, e.g. with media and -// suggestions. You can group multiple rich cards into one using -// RbmCarouselCard but carousel cards will give you less control over -// the card layout. -type GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCard struct { - // CardContent: Required. Card content. - CardContent *GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent `json:"cardContent,omitempty"` - - // CardOrientation: Required. Orientation of the card. - // - // Possible values: - // "CARD_ORIENTATION_UNSPECIFIED" - Not specified. - // "HORIZONTAL" - Horizontal layout. - // "VERTICAL" - Vertical layout. - CardOrientation string `json:"cardOrientation,omitempty"` +// GoogleCloudDialogflowV2IntentMessageBasicCardButton: The button +// object that appears at the bottom of a card. +type GoogleCloudDialogflowV2IntentMessageBasicCardButton struct { + // OpenUriAction: Required. Action to take when a user taps on the + // button. + OpenUriAction *GoogleCloudDialogflowV2IntentMessageBasicCardButtonOpenUriAction `json:"openUriAction,omitempty"` - // ThumbnailImageAlignment: Required if orientation is horizontal. Image - // preview alignment for standalone cards with horizontal layout. - // - // Possible values: - // "THUMBNAIL_IMAGE_ALIGNMENT_UNSPECIFIED" - Not specified. - // "LEFT" - Thumbnail preview is left-aligned. - // "RIGHT" - Thumbnail preview is right-aligned. - ThumbnailImageAlignment string `json:"thumbnailImageAlignment,omitempty"` + // Title: Required. The title of the button. + Title string `json:"title,omitempty"` - // ForceSendFields is a list of field names (e.g. "CardContent") to + // ForceSendFields is a list of field names (e.g. "OpenUriAction") 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 @@ -9215,7 +9263,7 @@ type GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCard struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "CardContent") to include + // NullFields is a list of field names (e.g. "OpenUriAction") 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 @@ -9224,34 +9272,19 @@ type GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCard struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCard) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCard +func (s *GoogleCloudDialogflowV2IntentMessageBasicCardButton) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2IntentMessageBasicCardButton raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction: Rich -// Business Messaging (RBM) suggested client-side action that the user -// can choose from the card. -type GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction struct { - // Dial: Suggested client side action: Dial a phone number - Dial *GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDial `json:"dial,omitempty"` - - // OpenUrl: Suggested client side action: Open a URI on device - OpenUrl *GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionOpenUri `json:"openUrl,omitempty"` - - // PostbackData: Opaque payload that the Dialogflow receives in a user - // event when the user taps the suggested action. This data will be also - // forwarded to webhook to allow performing custom business logic. - PostbackData string `json:"postbackData,omitempty"` - - // ShareLocation: Suggested client side action: Share user location - ShareLocation *GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionShareLocation `json:"shareLocation,omitempty"` - - // Text: Text to display alongside the action. - Text string `json:"text,omitempty"` +// GoogleCloudDialogflowV2IntentMessageBasicCardButtonOpenUriAction: +// Opens the given URI. +type GoogleCloudDialogflowV2IntentMessageBasicCardButtonOpenUriAction struct { + // Uri: Required. The HTTP or HTTPS scheme URI. + Uri string `json:"uri,omitempty"` - // ForceSendFields is a list of field names (e.g. "Dial") to + // ForceSendFields is a list of field names (e.g. "Uri") 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 @@ -9259,7 +9292,7 @@ type GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Dial") to include in API + // NullFields is a list of field names (e.g. "Uri") 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 @@ -9268,55 +9301,86 @@ type GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction +func (s *GoogleCloudDialogflowV2IntentMessageBasicCardButtonOpenUriAction) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2IntentMessageBasicCardButtonOpenUriAction raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggeste -// dActionDial: Opens the user's default dialer app with the specified -// phone number but does not dial automatically. -type GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDial struct { - // PhoneNumber: Required. The phone number to fill in the default dialer - // app. This field should be in - // [E.164](https://en.wikipedia.org/wiki/E.164) format. An example of a - // correctly formatted phone number: +15556767888. - PhoneNumber string `json:"phoneNumber,omitempty"` - - // ForceSendFields is a list of field names (e.g. "PhoneNumber") 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 +// GoogleCloudDialogflowV2IntentMessageBrowseCarouselCard: Browse +// Carousel Card for Actions on Google. +// https://developers.google.com/actions/assistant/responses#browsing_carousel +type GoogleCloudDialogflowV2IntentMessageBrowseCarouselCard struct { + // ImageDisplayOptions: Optional. Settings for displaying the image. + // Applies to every image in items. + // + // Possible values: + // "IMAGE_DISPLAY_OPTIONS_UNSPECIFIED" - Fill the gaps between the + // image and the image container with gray bars. + // "GRAY" - Fill the gaps between the image and the image container + // with gray bars. + // "WHITE" - Fill the gaps between the image and the image container + // with white bars. + // "CROPPED" - Image is scaled such that the image width and height + // match or exceed the container dimensions. This may crop the top and + // bottom of the image if the scaled image height is greater than the + // container height, or crop the left and right of the image if the + // scaled image width is greater than the container width. This is + // similar to "Zoom Mode" on a widescreen TV when playing a 4:3 video. + // "BLURRED_BACKGROUND" - Pad the gaps between image and image frame + // with a blurred copy of the same image. + ImageDisplayOptions string `json:"imageDisplayOptions,omitempty"` + + // Items: Required. List of items in the Browse Carousel Card. Minimum + // of two items, maximum of ten. + Items []*GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItem `json:"items,omitempty"` + + // ForceSendFields is a list of field names (e.g. "ImageDisplayOptions") + // 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. "PhoneNumber") 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. "ImageDisplayOptions") 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 *GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDial) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDial +func (s *GoogleCloudDialogflowV2IntentMessageBrowseCarouselCard) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2IntentMessageBrowseCarouselCard raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggeste -// dActionOpenUri: Opens the user's default web browser app to the -// specified uri If the user has an app installed that is registered as -// the default handler for the URL, then this app will be opened -// instead, and its icon will be used in the suggested action UI. -type GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionOpenUri struct { - // Uri: Required. The uri to open on the user device - Uri string `json:"uri,omitempty"` +// GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCa +// rdItem: Browsing carousel tile +type GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItem struct { + // Description: Optional. Description of the carousel item. Maximum of + // four lines of text. + Description string `json:"description,omitempty"` - // ForceSendFields is a list of field names (e.g. "Uri") to + // Footer: Optional. Text that appears at the bottom of the Browse + // Carousel Card. Maximum of one line of text. + Footer string `json:"footer,omitempty"` + + // Image: Optional. Hero image for the carousel item. + Image *GoogleCloudDialogflowV2IntentMessageImage `json:"image,omitempty"` + + // OpenUriAction: Required. Action to present to the user. + OpenUriAction *GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction `json:"openUriAction,omitempty"` + + // Title: Required. Title of the carousel item. Maximum of two lines of + // text. + 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 @@ -9324,40 +9388,38 @@ type GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActi // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Uri") 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 + // 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 *GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionOpenUri) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionOpenUri +func (s *GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItem) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItem raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggeste -// dActionShareLocation: Opens the device's location chooser so the user -// can pick a location to send back to the agent. -type GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionShareLocation struct { -} - -// GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReply: Rich -// Business Messaging (RBM) suggested reply that the user can click -// instead of typing in their own response. -type GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReply struct { - // PostbackData: Opaque payload that the Dialogflow receives in a user - // event when the user taps the suggested reply. This data will be also - // forwarded to webhook to allow performing custom business logic. - PostbackData string `json:"postbackData,omitempty"` +// GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCa +// rdItemOpenUrlAction: Actions on Google action to open a given url. +type GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction struct { + // Url: Required. URL + Url string `json:"url,omitempty"` - // Text: Suggested reply text. - Text string `json:"text,omitempty"` + // UrlTypeHint: Optional. Specifies the type of viewer that is used when + // opening the URL. Defaults to opening via web browser. + // + // Possible values: + // "URL_TYPE_HINT_UNSPECIFIED" - Unspecified + // "AMP_ACTION" - Url would be an amp action + // "AMP_CONTENT" - URL that points directly to AMP content, or to a + // canonical URL which refers to AMP content via . + UrlTypeHint string `json:"urlTypeHint,omitempty"` - // ForceSendFields is a list of field names (e.g. "PostbackData") to + // ForceSendFields is a list of field names (e.g. "Url") 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 @@ -9365,33 +9427,36 @@ type GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReply struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "PostbackData") 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 + // NullFields is a list of field names (e.g. "Url") 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 *GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReply) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReply +func (s *GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion: Rich Business -// Messaging (RBM) suggestion. Suggestions allow user to easily -// select/click a predefined response or perform an action (like opening -// a web uri). -type GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion struct { - // Action: Predefined client side actions that user can choose - Action *GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction `json:"action,omitempty"` +// GoogleCloudDialogflowV2IntentMessageCard: The card response message. +type GoogleCloudDialogflowV2IntentMessageCard struct { + // Buttons: Optional. The collection of card buttons. + Buttons []*GoogleCloudDialogflowV2IntentMessageCardButton `json:"buttons,omitempty"` - // Reply: Predefined replies for user to select instead of typing - Reply *GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReply `json:"reply,omitempty"` + // ImageUri: Optional. The public URI to an image file for the card. + ImageUri string `json:"imageUri,omitempty"` - // ForceSendFields is a list of field names (e.g. "Action") to + // Subtitle: Optional. The subtitle of the card. + Subtitle string `json:"subtitle,omitempty"` + + // Title: Optional. The title of the card. + Title string `json:"title,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Buttons") 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 @@ -9399,8 +9464,8 @@ type GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Action") to include in API - // requests with the JSON null value. By default, fields with empty + // NullFields is a list of field names (e.g. "Buttons") 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. @@ -9408,22 +9473,23 @@ type GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion +func (s *GoogleCloudDialogflowV2IntentMessageCard) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2IntentMessageCard raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentMessageRbmText: Rich Business -// Messaging (RBM) text response with suggestions. -type GoogleCloudDialogflowV2beta1IntentMessageRbmText struct { - // RbmSuggestion: Optional. One or more suggestions to show to the user. - RbmSuggestion []*GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion `json:"rbmSuggestion,omitempty"` +// GoogleCloudDialogflowV2IntentMessageCardButton: Contains information +// about a button. +type GoogleCloudDialogflowV2IntentMessageCardButton struct { + // Postback: Optional. The text to send back to the Dialogflow API or a + // URI to open. + Postback string `json:"postback,omitempty"` - // Text: Required. Text sent and displayed to the user. + // Text: Optional. The text to show on the button. Text string `json:"text,omitempty"` - // ForceSendFields is a list of field names (e.g. "RbmSuggestion") to + // ForceSendFields is a list of field names (e.g. "Postback") 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 @@ -9431,33 +9497,28 @@ type GoogleCloudDialogflowV2beta1IntentMessageRbmText struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "RbmSuggestion") 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 + // NullFields is a list of field names (e.g. "Postback") 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 *GoogleCloudDialogflowV2beta1IntentMessageRbmText) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageRbmText +func (s *GoogleCloudDialogflowV2IntentMessageCardButton) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2IntentMessageCardButton raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo: Additional -// info about the select item for when it is triggered in a dialog. -type GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo struct { - // Key: Required. A unique key that will be sent back to the agent if - // this response is given. - Key string `json:"key,omitempty"` - - // Synonyms: Optional. A list of synonyms that can also be used to - // trigger this item in dialog. - Synonyms []string `json:"synonyms,omitempty"` +// GoogleCloudDialogflowV2IntentMessageCarouselSelect: The card for +// presenting a carousel of options to select from. +type GoogleCloudDialogflowV2IntentMessageCarouselSelect struct { + // Items: Required. Carousel items. + Items []*GoogleCloudDialogflowV2IntentMessageCarouselSelectItem `json:"items,omitempty"` - // ForceSendFields is a list of field names (e.g. "Key") to + // ForceSendFields is a list of field names (e.g. "Items") 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 @@ -9465,7 +9526,7 @@ type GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Key") to include in API + // NullFields is a list of field names (e.g. "Items") 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 @@ -9474,28 +9535,28 @@ type GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo +func (s *GoogleCloudDialogflowV2IntentMessageCarouselSelect) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2IntentMessageCarouselSelect raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse: The simple -// response message containing speech or text. -type GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse struct { - // DisplayText: Optional. The text to display. - DisplayText string `json:"displayText,omitempty"` +// GoogleCloudDialogflowV2IntentMessageCarouselSelectItem: An item in +// the carousel. +type GoogleCloudDialogflowV2IntentMessageCarouselSelectItem struct { + // Description: Optional. The body text of the card. + Description string `json:"description,omitempty"` - // Ssml: One of text_to_speech or ssml must be provided. Structured - // spoken response to the user in the SSML format. Mutually exclusive - // with text_to_speech. - Ssml string `json:"ssml,omitempty"` + // Image: Optional. The image to display. + Image *GoogleCloudDialogflowV2IntentMessageImage `json:"image,omitempty"` - // TextToSpeech: One of text_to_speech or ssml must be provided. The - // plain text of the speech output. Mutually exclusive with ssml. - TextToSpeech string `json:"textToSpeech,omitempty"` + // Info: Required. Additional info about the option item. + Info *GoogleCloudDialogflowV2IntentMessageSelectItemInfo `json:"info,omitempty"` - // ForceSendFields is a list of field names (e.g. "DisplayText") to + // Title: Required. Title of the carousel item. + 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 @@ -9503,7 +9564,7 @@ type GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "DisplayText") to include + // 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 @@ -9512,22 +9573,30 @@ type GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse +func (s *GoogleCloudDialogflowV2IntentMessageCarouselSelectItem) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2IntentMessageCarouselSelectItem raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentMessageSimpleResponses: The -// collection of simple response candidates. This message in -// `QueryResult.fulfillment_messages` and -// `WebhookResponse.fulfillment_messages` should contain only one -// `SimpleResponse`. -type GoogleCloudDialogflowV2beta1IntentMessageSimpleResponses struct { - // SimpleResponses: Required. The list of simple responses. - SimpleResponses []*GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse `json:"simpleResponses,omitempty"` +// GoogleCloudDialogflowV2IntentMessageColumnProperties: Column +// properties for TableCard. +type GoogleCloudDialogflowV2IntentMessageColumnProperties struct { + // Header: Required. Column heading. + Header string `json:"header,omitempty"` - // ForceSendFields is a list of field names (e.g. "SimpleResponses") to + // HorizontalAlignment: Optional. Defines text alignment for all cells + // in this column. + // + // Possible values: + // "HORIZONTAL_ALIGNMENT_UNSPECIFIED" - Text is aligned to the leading + // edge of the column. + // "LEADING" - Text is aligned to the leading edge of the column. + // "CENTER" - Text is centered in the column. + // "TRAILING" - Text is aligned to the trailing edge of the column. + HorizontalAlignment string `json:"horizontalAlignment,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Header") 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 @@ -9535,59 +9604,68 @@ type GoogleCloudDialogflowV2beta1IntentMessageSimpleResponses struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "SimpleResponses") 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. "Header") 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 *GoogleCloudDialogflowV2beta1IntentMessageSimpleResponses) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageSimpleResponses +func (s *GoogleCloudDialogflowV2IntentMessageColumnProperties) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2IntentMessageColumnProperties raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentMessageSuggestion: The suggestion -// chip message that the user can tap to quickly post a reply to the -// conversation. -type GoogleCloudDialogflowV2beta1IntentMessageSuggestion struct { - // Title: Required. The text shown the in the suggestion chip. - Title string `json:"title,omitempty"` +// GoogleCloudDialogflowV2IntentMessageImage: The image response +// message. +type GoogleCloudDialogflowV2IntentMessageImage struct { + // AccessibilityText: Optional. A text description of the image to be + // used for accessibility, e.g., screen readers. + AccessibilityText string `json:"accessibilityText,omitempty"` - // ForceSendFields is a list of field names (e.g. "Title") to - // unconditionally include in API requests. By default, fields with + // ImageUri: Optional. The public URI to an image file. + ImageUri string `json:"imageUri,omitempty"` + + // ForceSendFields is a list of field names (e.g. "AccessibilityText") + // 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. "Title") 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. "AccessibilityText") 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 *GoogleCloudDialogflowV2beta1IntentMessageSuggestion) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageSuggestion +func (s *GoogleCloudDialogflowV2IntentMessageImage) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2IntentMessageImage raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentMessageSuggestions: The collection -// of suggestions. -type GoogleCloudDialogflowV2beta1IntentMessageSuggestions struct { - // Suggestions: Required. The list of suggested replies. - Suggestions []*GoogleCloudDialogflowV2beta1IntentMessageSuggestion `json:"suggestions,omitempty"` +// GoogleCloudDialogflowV2IntentMessageLinkOutSuggestion: The suggestion +// chip message that allows the user to jump out to the app or website +// associated with this agent. +type GoogleCloudDialogflowV2IntentMessageLinkOutSuggestion struct { + // DestinationName: Required. The name of the app or site this chip is + // linking to. + DestinationName string `json:"destinationName,omitempty"` - // ForceSendFields is a list of field names (e.g. "Suggestions") to + // Uri: Required. The URI of the app or site to open when the user taps + // the suggestion chip. + Uri string `json:"uri,omitempty"` + + // ForceSendFields is a list of field names (e.g. "DestinationName") 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 @@ -9595,44 +9673,35 @@ type GoogleCloudDialogflowV2beta1IntentMessageSuggestions struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Suggestions") 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. "DestinationName") 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 *GoogleCloudDialogflowV2beta1IntentMessageSuggestions) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageSuggestions +func (s *GoogleCloudDialogflowV2IntentMessageLinkOutSuggestion) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2IntentMessageLinkOutSuggestion raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentMessageTableCard: Table card for -// Actions on Google. -type GoogleCloudDialogflowV2beta1IntentMessageTableCard struct { - // Buttons: Optional. List of buttons for the card. - Buttons []*GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton `json:"buttons,omitempty"` - - // ColumnProperties: Optional. Display properties for the columns in - // this table. - ColumnProperties []*GoogleCloudDialogflowV2beta1IntentMessageColumnProperties `json:"columnProperties,omitempty"` - - // Image: Optional. Image which should be displayed on the card. - Image *GoogleCloudDialogflowV2beta1IntentMessageImage `json:"image,omitempty"` - - // Rows: Optional. Rows in this table of data. - Rows []*GoogleCloudDialogflowV2beta1IntentMessageTableCardRow `json:"rows,omitempty"` +// GoogleCloudDialogflowV2IntentMessageListSelect: The card for +// presenting a list of options to select from. +type GoogleCloudDialogflowV2IntentMessageListSelect struct { + // Items: Required. List items. + Items []*GoogleCloudDialogflowV2IntentMessageListSelectItem `json:"items,omitempty"` - // Subtitle: Optional. Subtitle to the title. + // Subtitle: Optional. Subtitle of the list. Subtitle string `json:"subtitle,omitempty"` - // Title: Required. Title of the card. + // Title: Optional. The overall title of the list. Title string `json:"title,omitempty"` - // ForceSendFields is a list of field names (e.g. "Buttons") to + // ForceSendFields is a list of field names (e.g. "Items") 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 @@ -9640,8 +9709,8 @@ type GoogleCloudDialogflowV2beta1IntentMessageTableCard struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Buttons") to include in - // API requests with the JSON null value. By default, fields with empty + // NullFields is a list of field names (e.g. "Items") 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. @@ -9649,19 +9718,28 @@ type GoogleCloudDialogflowV2beta1IntentMessageTableCard struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1IntentMessageTableCard) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageTableCard +func (s *GoogleCloudDialogflowV2IntentMessageListSelect) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2IntentMessageListSelect raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentMessageTableCardCell: Cell of -// TableCardRow. -type GoogleCloudDialogflowV2beta1IntentMessageTableCardCell struct { - // Text: Required. Text in this cell. - Text string `json:"text,omitempty"` +// GoogleCloudDialogflowV2IntentMessageListSelectItem: An item in the +// list. +type GoogleCloudDialogflowV2IntentMessageListSelectItem struct { + // Description: Optional. The main text describing the item. + Description string `json:"description,omitempty"` - // ForceSendFields is a list of field names (e.g. "Text") to + // Image: Optional. The image to display. + Image *GoogleCloudDialogflowV2IntentMessageImage `json:"image,omitempty"` + + // Info: Required. Additional information about this option. + Info *GoogleCloudDialogflowV2IntentMessageSelectItemInfo `json:"info,omitempty"` + + // Title: Required. The title of the list item. + 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 @@ -9669,32 +9747,35 @@ type GoogleCloudDialogflowV2beta1IntentMessageTableCardCell struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Text") 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 + // 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 *GoogleCloudDialogflowV2beta1IntentMessageTableCardCell) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageTableCardCell +func (s *GoogleCloudDialogflowV2IntentMessageListSelectItem) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2IntentMessageListSelectItem raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentMessageTableCardRow: Row of -// TableCard. -type GoogleCloudDialogflowV2beta1IntentMessageTableCardRow struct { - // Cells: Optional. List of cells that make up this row. - Cells []*GoogleCloudDialogflowV2beta1IntentMessageTableCardCell `json:"cells,omitempty"` +// GoogleCloudDialogflowV2IntentMessageMediaContent: The media content +// card for Actions on Google. +type GoogleCloudDialogflowV2IntentMessageMediaContent struct { + // MediaObjects: Required. List of media objects. + MediaObjects []*GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject `json:"mediaObjects,omitempty"` - // DividerAfter: Optional. Whether to add a visual divider after this - // row. - DividerAfter bool `json:"dividerAfter,omitempty"` + // MediaType: Optional. What type of media is the content (ie "audio"). + // + // Possible values: + // "RESPONSE_MEDIA_TYPE_UNSPECIFIED" - Unspecified. + // "AUDIO" - Response media type is audio. + MediaType string `json:"mediaType,omitempty"` - // ForceSendFields is a list of field names (e.g. "Cells") to + // ForceSendFields is a list of field names (e.g. "MediaObjects") 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 @@ -9702,38 +9783,40 @@ type GoogleCloudDialogflowV2beta1IntentMessageTableCardRow struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Cells") 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 + // NullFields is a list of field names (e.g. "MediaObjects") 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 *GoogleCloudDialogflowV2beta1IntentMessageTableCardRow) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageTableCardRow +func (s *GoogleCloudDialogflowV2IntentMessageMediaContent) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2IntentMessageMediaContent raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudio: Plays -// audio from a file in Telephony Gateway. -type GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudio struct { - // AudioUri: Required. URI to a Google Cloud Storage object containing - // the audio to play, e.g., "gs://bucket/object". The object must - // contain a single channel (mono) of linear PCM audio (2 bytes / - // sample) at 8kHz. This object must be readable by the - // `service-@gcp-sa-dialogflow.iam.gserviceaccount.com` service account - // where is the number of the Telephony Gateway project (usually the - // same as the Dialogflow agent project). If the Google Cloud Storage - // bucket is in the Telephony Gateway project, this permission is added - // by default when enabling the Dialogflow V2 API. For audio from other - // sources, consider using the `TelephonySynthesizeSpeech` message with - // SSML. - AudioUri string `json:"audioUri,omitempty"` +// GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject: +// Response media object for media content card. +type GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject struct { + // ContentUrl: Required. Url where the media is stored. + ContentUrl string `json:"contentUrl,omitempty"` - // ForceSendFields is a list of field names (e.g. "AudioUri") to + // Description: Optional. Description of media card. + Description string `json:"description,omitempty"` + + // Icon: Optional. Icon to display above media content. + Icon *GoogleCloudDialogflowV2IntentMessageImage `json:"icon,omitempty"` + + // LargeImage: Optional. Image to display above media content. + LargeImage *GoogleCloudDialogflowV2IntentMessageImage `json:"largeImage,omitempty"` + + // Name: Required. Name of media card. + Name string `json:"name,omitempty"` + + // ForceSendFields is a list of field names (e.g. "ContentUrl") 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 @@ -9741,7 +9824,7 @@ type GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudio struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "AudioUri") to include in + // NullFields is a list of field names (e.g. "ContentUrl") 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 @@ -9750,58 +9833,22 @@ type GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudio struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudio) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudio +func (s *GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeech: -// Synthesizes speech and plays back the synthesized audio to the caller -// in Telephony Gateway. Telephony Gateway takes the synthesizer -// settings from `DetectIntentResponse.output_audio_config` which can -// either be set at request-level or can come from the agent-level -// synthesizer config. -type GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeech struct { - // Ssml: The SSML to be synthesized. For more information, see - // [SSML](https://developers.google.com/actions/reference/ssml). - Ssml string `json:"ssml,omitempty"` - - // Text: The raw text to be synthesized. - Text string `json:"text,omitempty"` - - // ForceSendFields is a list of field names (e.g. "Ssml") 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. "Ssml") 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 *GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeech) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeech - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} +// GoogleCloudDialogflowV2IntentMessageQuickReplies: The quick replies +// response message. +type GoogleCloudDialogflowV2IntentMessageQuickReplies struct { + // QuickReplies: Optional. The collection of quick replies. + QuickReplies []string `json:"quickReplies,omitempty"` -// GoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCall: -// Transfers the call in Telephony Gateway. -type GoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCall struct { - // PhoneNumber: Required. The phone number to transfer the call to in - // [E.164 format](https://en.wikipedia.org/wiki/E.164). We currently - // only allow transferring to US numbers (+1xxxyyyzzzz). - PhoneNumber string `json:"phoneNumber,omitempty"` + // Title: Optional. The title of the collection of quick replies. + Title string `json:"title,omitempty"` - // ForceSendFields is a list of field names (e.g. "PhoneNumber") to + // ForceSendFields is a list of field names (e.g. "QuickReplies") 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 @@ -9809,7 +9856,7 @@ type GoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCall struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "PhoneNumber") to include + // NullFields is a list of field names (e.g. "QuickReplies") 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 @@ -9818,19 +9865,24 @@ type GoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCall struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCall) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCall +func (s *GoogleCloudDialogflowV2IntentMessageQuickReplies) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2IntentMessageQuickReplies raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentMessageText: The text response -// message. -type GoogleCloudDialogflowV2beta1IntentMessageText struct { - // Text: Optional. The collection of the agent's responses. - Text []string `json:"text,omitempty"` +// GoogleCloudDialogflowV2IntentMessageSelectItemInfo: Additional info +// about the select item for when it is triggered in a dialog. +type GoogleCloudDialogflowV2IntentMessageSelectItemInfo struct { + // Key: Required. A unique key that will be sent back to the agent if + // this response is given. + Key string `json:"key,omitempty"` - // ForceSendFields is a list of field names (e.g. "Text") to + // Synonyms: Optional. A list of synonyms that can also be used to + // trigger this item in dialog. + Synonyms []string `json:"synonyms,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Key") 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 @@ -9838,7 +9890,7 @@ type GoogleCloudDialogflowV2beta1IntentMessageText struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Text") to include in API + // NullFields is a list of field names (e.g. "Key") 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 @@ -9847,52 +9899,28 @@ type GoogleCloudDialogflowV2beta1IntentMessageText struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1IntentMessageText) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentMessageText +func (s *GoogleCloudDialogflowV2IntentMessageSelectItemInfo) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2IntentMessageSelectItemInfo raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentParameter: Represents intent -// parameters. -type GoogleCloudDialogflowV2beta1IntentParameter struct { - // DefaultValue: Optional. The default value to use when the `value` - // yields an empty result. Default values can be extracted from contexts - // by using the following syntax: `#context_name.parameter_name`. - DefaultValue string `json:"defaultValue,omitempty"` - - // DisplayName: Required. The name of the parameter. - DisplayName string `json:"displayName,omitempty"` - - // EntityTypeDisplayName: Optional. The name of the entity type, - // prefixed with `@`, that describes values of the parameter. If the - // parameter is required, this must be provided. - EntityTypeDisplayName string `json:"entityTypeDisplayName,omitempty"` - - // IsList: Optional. Indicates whether the parameter represents a list - // of values. - IsList bool `json:"isList,omitempty"` - - // Mandatory: Optional. Indicates whether the parameter is required. - // That is, whether the intent cannot be completed without collecting - // the parameter value. - Mandatory bool `json:"mandatory,omitempty"` - - // Name: The unique identifier of this parameter. - Name string `json:"name,omitempty"` +// GoogleCloudDialogflowV2IntentMessageSimpleResponse: The simple +// response message containing speech or text. +type GoogleCloudDialogflowV2IntentMessageSimpleResponse struct { + // DisplayText: Optional. The text to display. + DisplayText string `json:"displayText,omitempty"` - // Prompts: Optional. The collection of prompts that the agent can - // present to the user in order to collect a value for the parameter. - Prompts []string `json:"prompts,omitempty"` + // Ssml: One of text_to_speech or ssml must be provided. Structured + // spoken response to the user in the SSML format. Mutually exclusive + // with text_to_speech. + Ssml string `json:"ssml,omitempty"` - // Value: Optional. The definition of the parameter value. It can be: - - // a constant string, - a parameter value defined as `$parameter_name`, - // - an original parameter value defined as `$parameter_name.original`, - // - a parameter value from some context defined as - // `#context_name.parameter_name`. - Value string `json:"value,omitempty"` + // TextToSpeech: One of text_to_speech or ssml must be provided. The + // plain text of the speech output. Mutually exclusive with ssml. + TextToSpeech string `json:"textToSpeech,omitempty"` - // ForceSendFields is a list of field names (e.g. "DefaultValue") to + // ForceSendFields is a list of field names (e.g. "DisplayText") 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 @@ -9900,7 +9928,7 @@ type GoogleCloudDialogflowV2beta1IntentParameter struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "DefaultValue") to include + // NullFields is a list of field names (e.g. "DisplayText") 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 @@ -9909,53 +9937,22 @@ type GoogleCloudDialogflowV2beta1IntentParameter struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1IntentParameter) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentParameter +func (s *GoogleCloudDialogflowV2IntentMessageSimpleResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2IntentMessageSimpleResponse raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentTrainingPhrase: Represents an -// example that the agent is trained on. -type GoogleCloudDialogflowV2beta1IntentTrainingPhrase struct { - // Name: Output only. The unique identifier of this training phrase. - Name string `json:"name,omitempty"` - - // Parts: Required. The ordered list of training phrase parts. The parts - // are concatenated in order to form the training phrase. Note: The API - // does not automatically annotate training phrases like the Dialogflow - // Console does. Note: Do not forget to include whitespace at part - // boundaries, so the training phrase is well formatted when the parts - // are concatenated. If the training phrase does not need to be - // annotated with parameters, you just need a single part with only the - // Part.text field set. If you want to annotate the training phrase, you - // must create multiple parts, where the fields of each part are - // populated in one of two ways: - `Part.text` is set to a part of the - // phrase that has no parameters. - `Part.text` is set to a part of the - // phrase that you want to annotate, and the `entity_type`, `alias`, and - // `user_defined` fields are all set. - Parts []*GoogleCloudDialogflowV2beta1IntentTrainingPhrasePart `json:"parts,omitempty"` - - // TimesAddedCount: Optional. Indicates how many times this example was - // added to the intent. Each time a developer adds an existing sample by - // editing an intent or training, this counter is increased. - TimesAddedCount int64 `json:"timesAddedCount,omitempty"` - - // Type: Required. The type of the training phrase. - // - // Possible values: - // "TYPE_UNSPECIFIED" - Not specified. This value should never be - // used. - // "EXAMPLE" - Examples do not contain @-prefixed entity type names, - // but example parts can be annotated with entity types. - // "TEMPLATE" - Templates are not annotated with entity types, but - // they can contain @-prefixed entity type names as substrings. Template - // mode has been deprecated. Example mode is the only supported way to - // create new training phrases. If you have existing training phrases - // that you've created in template mode, those will continue to work. - Type string `json:"type,omitempty"` +// GoogleCloudDialogflowV2IntentMessageSimpleResponses: The collection +// of simple response candidates. This message in +// `QueryResult.fulfillment_messages` and +// `WebhookResponse.fulfillment_messages` should contain only one +// `SimpleResponse`. +type GoogleCloudDialogflowV2IntentMessageSimpleResponses struct { + // SimpleResponses: Required. The list of simple responses. + SimpleResponses []*GoogleCloudDialogflowV2IntentMessageSimpleResponse `json:"simpleResponses,omitempty"` - // ForceSendFields is a list of field names (e.g. "Name") to + // ForceSendFields is a list of field names (e.g. "SimpleResponses") 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 @@ -9963,43 +9960,30 @@ type GoogleCloudDialogflowV2beta1IntentTrainingPhrase struct { // 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 is a list of field names (e.g. "SimpleResponses") 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 *GoogleCloudDialogflowV2beta1IntentTrainingPhrase) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentTrainingPhrase +func (s *GoogleCloudDialogflowV2IntentMessageSimpleResponses) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2IntentMessageSimpleResponses raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1IntentTrainingPhrasePart: Represents a -// part of a training phrase. -type GoogleCloudDialogflowV2beta1IntentTrainingPhrasePart struct { - // Alias: Optional. The parameter name for the value extracted from the - // annotated part of the example. This field is required for annotated - // parts of the training phrase. - Alias string `json:"alias,omitempty"` - - // EntityType: Optional. The entity type name prefixed with `@`. This - // field is required for annotated parts of the training phrase. - EntityType string `json:"entityType,omitempty"` - - // Text: Required. The text for this part. - Text string `json:"text,omitempty"` - - // UserDefined: Optional. Indicates whether the text was manually - // annotated. This field is set to true when the Dialogflow Console is - // used to manually annotate the part. When creating an annotated part - // with the API, you must set this to true. - UserDefined bool `json:"userDefined,omitempty"` +// GoogleCloudDialogflowV2IntentMessageSuggestion: The suggestion chip +// message that the user can tap to quickly post a reply to the +// conversation. +type GoogleCloudDialogflowV2IntentMessageSuggestion struct { + // Title: Required. The text shown the in the suggestion chip. + Title string `json:"title,omitempty"` - // ForceSendFields is a list of field names (e.g. "Alias") to + // ForceSendFields is a list of field names (e.g. "Title") 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 @@ -10007,7 +9991,7 @@ type GoogleCloudDialogflowV2beta1IntentTrainingPhrasePart struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Alias") to include in API + // NullFields is a list of field names (e.g. "Title") 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 @@ -10016,19 +10000,19 @@ type GoogleCloudDialogflowV2beta1IntentTrainingPhrasePart struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1IntentTrainingPhrasePart) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1IntentTrainingPhrasePart +func (s *GoogleCloudDialogflowV2IntentMessageSuggestion) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2IntentMessageSuggestion raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1KnowledgeAnswers: Represents the result -// of querying a Knowledge base. -type GoogleCloudDialogflowV2beta1KnowledgeAnswers struct { - // Answers: A list of answers from Knowledge Connector. - Answers []*GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer `json:"answers,omitempty"` +// GoogleCloudDialogflowV2IntentMessageSuggestions: The collection of +// suggestions. +type GoogleCloudDialogflowV2IntentMessageSuggestions struct { + // Suggestions: Required. The list of suggested replies. + Suggestions []*GoogleCloudDialogflowV2IntentMessageSuggestion `json:"suggestions,omitempty"` - // ForceSendFields is a list of field names (e.g. "Answers") to + // ForceSendFields is a list of field names (e.g. "Suggestions") 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 @@ -10036,60 +10020,44 @@ type GoogleCloudDialogflowV2beta1KnowledgeAnswers struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Answers") 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 + // NullFields is a list of field names (e.g. "Suggestions") 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 *GoogleCloudDialogflowV2beta1KnowledgeAnswers) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1KnowledgeAnswers +func (s *GoogleCloudDialogflowV2IntentMessageSuggestions) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2IntentMessageSuggestions raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer: An answer from -// Knowledge Connector. -type GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer struct { - // Answer: The piece of text from the `source` knowledge base document - // that answers this conversational query. - Answer string `json:"answer,omitempty"` +// GoogleCloudDialogflowV2IntentMessageTableCard: Table card for Actions +// on Google. +type GoogleCloudDialogflowV2IntentMessageTableCard struct { + // Buttons: Optional. List of buttons for the card. + Buttons []*GoogleCloudDialogflowV2IntentMessageBasicCardButton `json:"buttons,omitempty"` - // FaqQuestion: The corresponding FAQ question if the answer was - // extracted from a FAQ Document, empty otherwise. - FaqQuestion string `json:"faqQuestion,omitempty"` + // ColumnProperties: Optional. Display properties for the columns in + // this table. + ColumnProperties []*GoogleCloudDialogflowV2IntentMessageColumnProperties `json:"columnProperties,omitempty"` - // MatchConfidence: The system's confidence score that this Knowledge - // answer is a good match for this conversational query. The range is - // from 0.0 (completely uncertain) to 1.0 (completely certain). Note: - // The confidence score is likely to vary somewhat (possibly even for - // identical requests), as the underlying model is under constant - // improvement. It may be deprecated in the future. We recommend using - // `match_confidence_level` which should be generally more stable. - MatchConfidence float64 `json:"matchConfidence,omitempty"` + // Image: Optional. Image which should be displayed on the card. + Image *GoogleCloudDialogflowV2IntentMessageImage `json:"image,omitempty"` - // MatchConfidenceLevel: The system's confidence level that this - // knowledge answer is a good match for this conversational query. NOTE: - // The confidence level for a given `` pair may change without notice, - // as it depends on models that are constantly being improved. However, - // it will change less frequently than the confidence score below, and - // should be preferred for referencing the quality of an answer. - // - // Possible values: - // "MATCH_CONFIDENCE_LEVEL_UNSPECIFIED" - Not specified. - // "LOW" - Indicates that the confidence is low. - // "MEDIUM" - Indicates our confidence is medium. - // "HIGH" - Indicates our confidence is high. - MatchConfidenceLevel string `json:"matchConfidenceLevel,omitempty"` + // Rows: Optional. Rows in this table of data. + Rows []*GoogleCloudDialogflowV2IntentMessageTableCardRow `json:"rows,omitempty"` - // Source: Indicates which Knowledge Document this answer was extracted - // from. Format: `projects//knowledgeBases//documents/`. - Source string `json:"source,omitempty"` + // Subtitle: Optional. Subtitle to the title. + Subtitle string `json:"subtitle,omitempty"` - // ForceSendFields is a list of field names (e.g. "Answer") to + // Title: Required. Title of the card. + Title string `json:"title,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Buttons") 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 @@ -10097,8 +10065,8 @@ type GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Answer") to include in API - // requests with the JSON null value. By default, fields with empty + // NullFields is a list of field names (e.g. "Buttons") 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. @@ -10106,39 +10074,19 @@ type GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer +func (s *GoogleCloudDialogflowV2IntentMessageTableCard) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2IntentMessageTableCard raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -func (s *GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer) UnmarshalJSON(data []byte) error { - type NoMethod GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer - var s1 struct { - MatchConfidence gensupport.JSONFloat64 `json:"matchConfidence"` - *NoMethod - } - s1.NoMethod = (*NoMethod)(s) - if err := json.Unmarshal(data, &s1); err != nil { - return err - } - s.MatchConfidence = float64(s1.MatchConfidence) - return nil -} - -// GoogleCloudDialogflowV2beta1KnowledgeOperationMetadata: Metadata in -// google::longrunning::Operation for Knowledge operations. -type GoogleCloudDialogflowV2beta1KnowledgeOperationMetadata struct { - // State: Required. Output only. The current state of this operation. - // - // Possible values: - // "STATE_UNSPECIFIED" - State unspecified. - // "PENDING" - The operation has been created. - // "RUNNING" - The operation is currently running. - // "DONE" - The operation is done, either cancelled or completed. - State string `json:"state,omitempty"` +// GoogleCloudDialogflowV2IntentMessageTableCardCell: Cell of +// TableCardRow. +type GoogleCloudDialogflowV2IntentMessageTableCardCell struct { + // Text: Required. Text in this cell. + Text string `json:"text,omitempty"` - // ForceSendFields is a list of field names (e.g. "State") to + // ForceSendFields is a list of field names (e.g. "Text") 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 @@ -10146,7 +10094,7 @@ type GoogleCloudDialogflowV2beta1KnowledgeOperationMetadata struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "State") to include in API + // NullFields is a list of field names (e.g. "Text") 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 @@ -10155,37 +10103,22 @@ type GoogleCloudDialogflowV2beta1KnowledgeOperationMetadata struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1KnowledgeOperationMetadata) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1KnowledgeOperationMetadata +func (s *GoogleCloudDialogflowV2IntentMessageTableCardCell) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2IntentMessageTableCardCell raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest: Represents -// the contents of the original request that was passed to the -// `[Streaming]DetectIntent` call. -type GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest struct { - // Payload: Optional. This field is set to the value of the - // `QueryParameters.payload` field passed in the request. Some - // integrations that query a Dialogflow agent may provide additional - // information in the payload. In particular, for the Dialogflow Phone - // Gateway integration, this field has the form: { "telephony": { - // "caller_id": "+18558363987" } } Note: The caller ID field - // (`caller_id`) will be redacted for Trial Edition agents and populated - // with the caller ID in [E.164 - // format](https://en.wikipedia.org/wiki/E.164) for Essentials Edition - // agents. - Payload googleapi.RawMessage `json:"payload,omitempty"` - - // Source: The source of this request, e.g., `google`, `facebook`, - // `slack`. It is set by Dialogflow-owned servers. - Source string `json:"source,omitempty"` +// GoogleCloudDialogflowV2IntentMessageTableCardRow: Row of TableCard. +type GoogleCloudDialogflowV2IntentMessageTableCardRow struct { + // Cells: Optional. List of cells that make up this row. + Cells []*GoogleCloudDialogflowV2IntentMessageTableCardCell `json:"cells,omitempty"` - // Version: Optional. The version of the protocol used for this request. - // This field is AoG-specific. - Version string `json:"version,omitempty"` + // DividerAfter: Optional. Whether to add a visual divider after this + // row. + DividerAfter bool `json:"dividerAfter,omitempty"` - // ForceSendFields is a list of field names (e.g. "Payload") to + // ForceSendFields is a list of field names (e.g. "Cells") 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 @@ -10193,8 +10126,8 @@ type GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Payload") to include in - // API requests with the JSON null value. By default, fields with empty + // NullFields is a list of field names (e.g. "Cells") 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. @@ -10202,115 +10135,18 @@ type GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest +func (s *GoogleCloudDialogflowV2IntentMessageTableCardRow) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2IntentMessageTableCardRow raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1QueryResult: Represents the result of -// conversational query or event processing. -type GoogleCloudDialogflowV2beta1QueryResult struct { - // Action: The action name from the matched intent. - Action string `json:"action,omitempty"` - - // AllRequiredParamsPresent: This field is set to: - `false` if the - // matched intent has required parameters and not all of the required - // parameter values have been collected. - `true` if all required - // parameter values have been collected, or if the matched intent - // doesn't contain any required parameters. - AllRequiredParamsPresent bool `json:"allRequiredParamsPresent,omitempty"` - - // DiagnosticInfo: Free-form diagnostic information for the associated - // detect intent request. The fields of this data can change without - // notice, so you should not write code that depends on its structure. - // The data may contain: - webhook call latency - webhook errors - DiagnosticInfo googleapi.RawMessage `json:"diagnosticInfo,omitempty"` - - // FulfillmentMessages: The collection of rich messages to present to - // the user. - FulfillmentMessages []*GoogleCloudDialogflowV2beta1IntentMessage `json:"fulfillmentMessages,omitempty"` - - // FulfillmentText: The text to be pronounced to the user or shown on - // the screen. Note: This is a legacy field, `fulfillment_messages` - // should be preferred. - FulfillmentText string `json:"fulfillmentText,omitempty"` - - // Intent: The intent that matched the conversational query. Some, not - // all fields are filled in this message, including but not limited to: - // `name`, `display_name`, `end_interaction` and `is_fallback`. - Intent *GoogleCloudDialogflowV2beta1Intent `json:"intent,omitempty"` - - // IntentDetectionConfidence: The intent detection confidence. Values - // range from 0.0 (completely uncertain) to 1.0 (completely certain). - // This value is for informational purpose only and is only used to help - // match the best intent within the classification threshold. This value - // may change for the same end-user expression at any time due to a - // model retraining or change in implementation. If there are `multiple - // knowledge_answers` messages, this value is set to the greatest - // `knowledgeAnswers.match_confidence` value in the list. - IntentDetectionConfidence float64 `json:"intentDetectionConfidence,omitempty"` - - // KnowledgeAnswers: The result from Knowledge Connector (if any), - // ordered by decreasing `KnowledgeAnswers.match_confidence`. - KnowledgeAnswers *GoogleCloudDialogflowV2beta1KnowledgeAnswers `json:"knowledgeAnswers,omitempty"` - - // LanguageCode: The language that was triggered during intent - // detection. See [Language - // Support](https://cloud.google.com/dialogflow/docs/reference/language) - // for a list of the currently supported language codes. - LanguageCode string `json:"languageCode,omitempty"` - - // OutputContexts: The collection of output contexts. If applicable, - // `output_contexts.parameters` contains entries with name `.original` - // containing the original parameter values before the query. - OutputContexts []*GoogleCloudDialogflowV2beta1Context `json:"outputContexts,omitempty"` - - // Parameters: The collection of extracted parameters. Depending on your - // protocol or client library language, this is a map, associative - // array, symbol table, dictionary, or JSON object composed of a - // collection of (MapKey, MapValue) pairs: - MapKey type: string - - // MapKey value: parameter name - MapValue type: - If parameter's entity - // type is a composite entity: map - Else: string or number, depending - // on parameter value type - MapValue value: - If parameter's entity - // type is a composite entity: map from composite entity property names - // to property values - Else: parameter value - Parameters googleapi.RawMessage `json:"parameters,omitempty"` - - // QueryText: The original conversational query text: - If natural - // language text was provided as input, `query_text` contains a copy of - // the input. - If natural language speech audio was provided as input, - // `query_text` contains the speech recognition result. If speech - // recognizer produced multiple alternatives, a particular one is - // picked. - If automatic spell correction is enabled, `query_text` will - // contain the corrected user input. - QueryText string `json:"queryText,omitempty"` - - // SentimentAnalysisResult: The sentiment analysis result, which depends - // on the `sentiment_analysis_request_config` specified in the request. - SentimentAnalysisResult *GoogleCloudDialogflowV2beta1SentimentAnalysisResult `json:"sentimentAnalysisResult,omitempty"` - - // SpeechRecognitionConfidence: The Speech recognition confidence - // between 0.0 and 1.0. A higher number indicates an estimated greater - // likelihood that the recognized words are correct. The default of 0.0 - // is a sentinel value indicating that confidence was not set. This - // field is not guaranteed to be accurate or set. In particular this - // field isn't set for StreamingDetectIntent since the streaming - // endpoint has separate confidence estimates per portion of the audio - // in StreamingRecognitionResult. - SpeechRecognitionConfidence float64 `json:"speechRecognitionConfidence,omitempty"` - - // WebhookPayload: If the query was fulfilled by a webhook call, this - // field is set to the value of the `payload` field returned in the - // webhook response. - WebhookPayload googleapi.RawMessage `json:"webhookPayload,omitempty"` - - // WebhookSource: If the query was fulfilled by a webhook call, this - // field is set to the value of the `source` field returned in the - // webhook response. - WebhookSource string `json:"webhookSource,omitempty"` +// GoogleCloudDialogflowV2IntentMessageText: The text response message. +type GoogleCloudDialogflowV2IntentMessageText struct { + // Text: Optional. The collection of the agent's responses. + Text []string `json:"text,omitempty"` - // ForceSendFields is a list of field names (e.g. "Action") to + // ForceSendFields is a list of field names (e.g. "Text") 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 @@ -10318,7 +10154,7 @@ type GoogleCloudDialogflowV2beta1QueryResult struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Action") to include in API + // NullFields is a list of field names (e.g. "Text") 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 @@ -10327,42 +10163,51 @@ type GoogleCloudDialogflowV2beta1QueryResult struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1QueryResult) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1QueryResult +func (s *GoogleCloudDialogflowV2IntentMessageText) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2IntentMessageText raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -func (s *GoogleCloudDialogflowV2beta1QueryResult) UnmarshalJSON(data []byte) error { - type NoMethod GoogleCloudDialogflowV2beta1QueryResult - var s1 struct { - IntentDetectionConfidence gensupport.JSONFloat64 `json:"intentDetectionConfidence"` - SpeechRecognitionConfidence gensupport.JSONFloat64 `json:"speechRecognitionConfidence"` - *NoMethod - } - s1.NoMethod = (*NoMethod)(s) - if err := json.Unmarshal(data, &s1); err != nil { - return err - } - s.IntentDetectionConfidence = float64(s1.IntentDetectionConfidence) - s.SpeechRecognitionConfidence = float64(s1.SpeechRecognitionConfidence) - return nil -} +// GoogleCloudDialogflowV2IntentParameter: Represents intent parameters. +type GoogleCloudDialogflowV2IntentParameter struct { + // DefaultValue: Optional. The default value to use when the `value` + // yields an empty result. Default values can be extracted from contexts + // by using the following syntax: `#context_name.parameter_name`. + DefaultValue string `json:"defaultValue,omitempty"` -// GoogleCloudDialogflowV2beta1Sentiment: The sentiment, such as -// positive/negative feeling or association, for a unit of analysis, -// such as the query text. -type GoogleCloudDialogflowV2beta1Sentiment struct { - // Magnitude: A non-negative number in the [0, +inf) range, which - // represents the absolute magnitude of sentiment, regardless of score - // (positive or negative). - Magnitude float64 `json:"magnitude,omitempty"` + // DisplayName: Required. The name of the parameter. + DisplayName string `json:"displayName,omitempty"` - // Score: Sentiment score between -1.0 (negative sentiment) and 1.0 - // (positive sentiment). - Score float64 `json:"score,omitempty"` + // EntityTypeDisplayName: Optional. The name of the entity type, + // prefixed with `@`, that describes values of the parameter. If the + // parameter is required, this must be provided. + EntityTypeDisplayName string `json:"entityTypeDisplayName,omitempty"` - // ForceSendFields is a list of field names (e.g. "Magnitude") to + // IsList: Optional. Indicates whether the parameter represents a list + // of values. + IsList bool `json:"isList,omitempty"` + + // Mandatory: Optional. Indicates whether the parameter is required. + // That is, whether the intent cannot be completed without collecting + // the parameter value. + Mandatory bool `json:"mandatory,omitempty"` + + // Name: The unique identifier of this parameter. + Name string `json:"name,omitempty"` + + // Prompts: Optional. The collection of prompts that the agent can + // present to the user in order to collect a value for the parameter. + Prompts []string `json:"prompts,omitempty"` + + // Value: Optional. The definition of the parameter value. It can be: - + // a constant string, - a parameter value defined as `$parameter_name`, + // - an original parameter value defined as `$parameter_name.original`, + // - a parameter value from some context defined as + // `#context_name.parameter_name`. + Value string `json:"value,omitempty"` + + // ForceSendFields is a list of field names (e.g. "DefaultValue") 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 @@ -10370,122 +10215,106 @@ type GoogleCloudDialogflowV2beta1Sentiment struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Magnitude") 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 + // NullFields is a list of field names (e.g. "DefaultValue") 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 *GoogleCloudDialogflowV2beta1Sentiment) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1Sentiment +func (s *GoogleCloudDialogflowV2IntentParameter) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2IntentParameter raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -func (s *GoogleCloudDialogflowV2beta1Sentiment) UnmarshalJSON(data []byte) error { - type NoMethod GoogleCloudDialogflowV2beta1Sentiment - var s1 struct { - Magnitude gensupport.JSONFloat64 `json:"magnitude"` - Score gensupport.JSONFloat64 `json:"score"` - *NoMethod - } - s1.NoMethod = (*NoMethod)(s) - if err := json.Unmarshal(data, &s1); err != nil { - return err - } - s.Magnitude = float64(s1.Magnitude) - s.Score = float64(s1.Score) - return nil -} +// GoogleCloudDialogflowV2IntentTrainingPhrase: Represents an example +// that the agent is trained on. +type GoogleCloudDialogflowV2IntentTrainingPhrase struct { + // Name: Output only. The unique identifier of this training phrase. + Name string `json:"name,omitempty"` -// GoogleCloudDialogflowV2beta1SentimentAnalysisResult: The result of -// sentiment analysis. Sentiment analysis inspects user input and -// identifies the prevailing subjective opinion, especially to determine -// a user's attitude as positive, negative, or neutral. For -// Participants.DetectIntent, it needs to be configured in -// DetectIntentRequest.query_params. For -// Participants.StreamingDetectIntent, it needs to be configured in -// StreamingDetectIntentRequest.query_params. And for -// Participants.AnalyzeContent and Participants.StreamingAnalyzeContent, -// it needs to be configured in -// ConversationProfile.human_agent_assistant_config -type GoogleCloudDialogflowV2beta1SentimentAnalysisResult struct { - // QueryTextSentiment: The sentiment analysis result for `query_text`. - QueryTextSentiment *GoogleCloudDialogflowV2beta1Sentiment `json:"queryTextSentiment,omitempty"` + // Parts: Required. The ordered list of training phrase parts. The parts + // are concatenated in order to form the training phrase. Note: The API + // does not automatically annotate training phrases like the Dialogflow + // Console does. Note: Do not forget to include whitespace at part + // boundaries, so the training phrase is well formatted when the parts + // are concatenated. If the training phrase does not need to be + // annotated with parameters, you just need a single part with only the + // Part.text field set. If you want to annotate the training phrase, you + // must create multiple parts, where the fields of each part are + // populated in one of two ways: - `Part.text` is set to a part of the + // phrase that has no parameters. - `Part.text` is set to a part of the + // phrase that you want to annotate, and the `entity_type`, `alias`, and + // `user_defined` fields are all set. + Parts []*GoogleCloudDialogflowV2IntentTrainingPhrasePart `json:"parts,omitempty"` - // ForceSendFields is a list of field names (e.g. "QueryTextSentiment") - // to unconditionally include in API requests. By default, fields with + // TimesAddedCount: Optional. Indicates how many times this example was + // added to the intent. Each time a developer adds an existing sample by + // editing an intent or training, this counter is increased. + TimesAddedCount int64 `json:"timesAddedCount,omitempty"` + + // Type: Required. The type of the training phrase. + // + // Possible values: + // "TYPE_UNSPECIFIED" - Not specified. This value should never be + // used. + // "EXAMPLE" - Examples do not contain @-prefixed entity type names, + // but example parts can be annotated with entity types. + // "TEMPLATE" - Templates are not annotated with entity types, but + // they can contain @-prefixed entity type names as substrings. Template + // mode has been deprecated. Example mode is the only supported way to + // create new training phrases. If you have existing training phrases + // that you've created in template mode, those will continue to work. + Type string `json:"type,omitempty"` + + // 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. "QueryTextSentiment") 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. "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 *GoogleCloudDialogflowV2beta1SentimentAnalysisResult) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1SentimentAnalysisResult +func (s *GoogleCloudDialogflowV2IntentTrainingPhrase) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2IntentTrainingPhrase raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1SessionEntityType: A session represents a -// conversation between a Dialogflow agent and an end-user. You can -// create special entities, called session entities, during a session. -// Session entities can extend or replace custom entity types and only -// exist during the session that they were created for. All session -// data, including session entities, is stored by Dialogflow for 20 -// minutes. For more information, see the [session entity -// guide](https://cloud.google.com/dialogflow/docs/entities-session). -type GoogleCloudDialogflowV2beta1SessionEntityType struct { - // Entities: Required. The collection of entities associated with this - // session entity type. - Entities []*GoogleCloudDialogflowV2beta1EntityTypeEntity `json:"entities,omitempty"` +// GoogleCloudDialogflowV2IntentTrainingPhrasePart: Represents a part of +// a training phrase. +type GoogleCloudDialogflowV2IntentTrainingPhrasePart struct { + // Alias: Optional. The parameter name for the value extracted from the + // annotated part of the example. This field is required for annotated + // parts of the training phrase. + Alias string `json:"alias,omitempty"` - // EntityOverrideMode: Required. Indicates whether the additional data - // should override or supplement the custom entity type definition. - // - // Possible values: - // "ENTITY_OVERRIDE_MODE_UNSPECIFIED" - Not specified. This value - // should be never used. - // "ENTITY_OVERRIDE_MODE_OVERRIDE" - The collection of session - // entities overrides the collection of entities in the corresponding - // custom entity type. - // "ENTITY_OVERRIDE_MODE_SUPPLEMENT" - The collection of session - // entities extends the collection of entities in the corresponding - // custom entity type. Note: Even in this override mode calls to - // `ListSessionEntityTypes`, `GetSessionEntityType`, - // `CreateSessionEntityType` and `UpdateSessionEntityType` only return - // the additional entities added in this session entity type. If you - // want to get the supplemented list, please call - // EntityTypes.GetEntityType on the custom entity type and merge. - EntityOverrideMode string `json:"entityOverrideMode,omitempty"` + // EntityType: Optional. The entity type name prefixed with `@`. This + // field is required for annotated parts of the training phrase. + EntityType string `json:"entityType,omitempty"` - // Name: Required. The unique identifier of this session entity type. - // Supported formats: - `projects//agent/sessions//entityTypes/` - - // `projects//locations//agent/sessions//entityTypes/` - - // `projects//agent/environments//users//sessions//entityTypes/` - - // `projects//locations//agent/environments/ - // /users//sessions//entityTypes/` If `Location ID` is not specified we - // assume default 'us' location. If `Environment ID` is not specified, - // we assume default 'draft' environment. If `User ID` is not specified, - // we assume default '-' user. `` must be the display name of an - // existing entity type in the same agent that will be overridden or - // supplemented. - Name string `json:"name,omitempty"` + // Text: Required. The text for this part. + Text string `json:"text,omitempty"` - // ForceSendFields is a list of field names (e.g. "Entities") to + // UserDefined: Optional. Indicates whether the text was manually + // annotated. This field is set to true when the Dialogflow Console is + // used to manually annotate the part. When creating an annotated part + // with the API, you must set this to true. + UserDefined bool `json:"userDefined,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Alias") 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 @@ -10493,8 +10322,8 @@ type GoogleCloudDialogflowV2beta1SessionEntityType struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Entities") to include in - // API requests with the JSON null value. By default, fields with empty + // NullFields is a list of field names (e.g. "Alias") 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. @@ -10502,133 +10331,83 @@ type GoogleCloudDialogflowV2beta1SessionEntityType struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1SessionEntityType) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1SessionEntityType +func (s *GoogleCloudDialogflowV2IntentTrainingPhrasePart) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2IntentTrainingPhrasePart raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1WebhookRequest: The request message for a -// webhook call. -type GoogleCloudDialogflowV2beta1WebhookRequest struct { - // AlternativeQueryResults: Alternative query results from - // KnowledgeService. - AlternativeQueryResults []*GoogleCloudDialogflowV2beta1QueryResult `json:"alternativeQueryResults,omitempty"` +// GoogleCloudDialogflowV2Message: Represents a message posted into a +// conversation. +type GoogleCloudDialogflowV2Message struct { + // Content: Required. The message content. + Content string `json:"content,omitempty"` - // OriginalDetectIntentRequest: Optional. The contents of the original - // request that was passed to `[Streaming]DetectIntent` call. - OriginalDetectIntentRequest *GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest `json:"originalDetectIntentRequest,omitempty"` + // CreateTime: Output only. The time when the message was created. + CreateTime string `json:"createTime,omitempty"` - // QueryResult: The result of the conversational query or event - // processing. Contains the same value as - // `[Streaming]DetectIntentResponse.query_result`. - QueryResult *GoogleCloudDialogflowV2beta1QueryResult `json:"queryResult,omitempty"` + // LanguageCode: Optional. The message language. This should be a + // [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. + // Example: "en-US". + LanguageCode string `json:"languageCode,omitempty"` - // ResponseId: The unique identifier of the response. Contains the same - // value as `[Streaming]DetectIntentResponse.response_id`. - ResponseId string `json:"responseId,omitempty"` + // MessageAnnotation: Output only. The annotation for the message. + MessageAnnotation *GoogleCloudDialogflowV2MessageAnnotation `json:"messageAnnotation,omitempty"` - // Session: The unique identifier of detectIntent request session. Can - // be used to identify end-user inside webhook implementation. Supported - // formats: - `projects//agent/sessions/, - - // `projects//locations//agent/sessions/`, - - // `projects//agent/environments//users//sessions/`, - - // `projects//locations//agent/environments//users//sessions/`, - Session string `json:"session,omitempty"` + // Name: The unique identifier of the message. Format: + // `projects//locations//conversations//messages/`. + Name string `json:"name,omitempty"` - // ForceSendFields is a list of field names (e.g. - // "AlternativeQueryResults") 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. + // Participant: Output only. The participant that sends this message. + Participant string `json:"participant,omitempty"` + + // ParticipantRole: Output only. The role of the participant. + // + // Possible values: + // "ROLE_UNSPECIFIED" - Participant role not set. + // "HUMAN_AGENT" - Participant is a human agent. + // "AUTOMATED_AGENT" - Participant is an automated agent, such as a + // Dialogflow agent. + // "END_USER" - Participant is an end user that has called or chatted + // with Dialogflow services. + ParticipantRole string `json:"participantRole,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Content") 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. "AlternativeQueryResults") - // 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. "Content") 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 *GoogleCloudDialogflowV2beta1WebhookRequest) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1WebhookRequest +func (s *GoogleCloudDialogflowV2Message) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2Message raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudDialogflowV2beta1WebhookResponse: The response message for -// a webhook call. This response is validated by the Dialogflow server. -// If validation fails, an error will be returned in the -// QueryResult.diagnostic_info field. Setting JSON fields to an empty -// value with the wrong type is a common error. To avoid this error: - -// Use "" for empty strings - Use `{}` or `null` for empty objects - -// Use `[]` or `null` for empty arrays For more information, see the -// [Protocol Buffers Language -// Guide](https://developers.google.com/protocol-buffers/docs/proto3#json -// ). -type GoogleCloudDialogflowV2beta1WebhookResponse struct { - // EndInteraction: Optional. Indicates that this intent ends an - // interaction. Some integrations (e.g., Actions on Google or Dialogflow - // phone gateway) use this information to close interaction with an end - // user. Default is false. - EndInteraction bool `json:"endInteraction,omitempty"` - - // FollowupEventInput: Optional. Invokes the supplied events. When this - // field is set, Dialogflow ignores the `fulfillment_text`, - // `fulfillment_messages`, and `payload` fields. - FollowupEventInput *GoogleCloudDialogflowV2beta1EventInput `json:"followupEventInput,omitempty"` - - // FulfillmentMessages: Optional. The rich response messages intended - // for the end-user. When provided, Dialogflow uses this field to - // populate QueryResult.fulfillment_messages sent to the integration or - // API caller. - FulfillmentMessages []*GoogleCloudDialogflowV2beta1IntentMessage `json:"fulfillmentMessages,omitempty"` - - // FulfillmentText: Optional. The text response message intended for the - // end-user. It is recommended to use - // `fulfillment_messages.text.text[0]` instead. When provided, - // Dialogflow uses this field to populate QueryResult.fulfillment_text - // sent to the integration or API caller. - FulfillmentText string `json:"fulfillmentText,omitempty"` - - // OutputContexts: Optional. The collection of output contexts that will - // overwrite currently active contexts for the session and reset their - // lifespans. When provided, Dialogflow uses this field to populate - // QueryResult.output_contexts sent to the integration or API caller. - OutputContexts []*GoogleCloudDialogflowV2beta1Context `json:"outputContexts,omitempty"` - - // Payload: Optional. This field can be used to pass custom data from - // your webhook to the integration or API caller. Arbitrary JSON objects - // are supported. When provided, Dialogflow uses this field to populate - // QueryResult.webhook_payload sent to the integration or API caller. - // This field is also used by the [Google Assistant - // integration](https://cloud.google.com/dialogflow/docs/integrations/aog - // ) for rich response messages. See the format definition at [Google - // Assistant Dialogflow webhook - // format](https://developers.google.com/assistant/actions/build/json/dia - // logflow-webhook-json) - Payload googleapi.RawMessage `json:"payload,omitempty"` - - // SessionEntityTypes: Optional. Additional session entity types to - // replace or extend developer entity types with. The entity synonyms - // apply to all languages and persist for the session. Setting this data - // from a webhook overwrites the session entity types that have been set - // using `detectIntent`, `streamingDetectIntent` or SessionEntityType - // management methods. - SessionEntityTypes []*GoogleCloudDialogflowV2beta1SessionEntityType `json:"sessionEntityTypes,omitempty"` +// GoogleCloudDialogflowV2MessageAnnotation: Represents the result of +// annotation for the message. +type GoogleCloudDialogflowV2MessageAnnotation struct { + // ContainEntities: Indicates whether the text message contains + // entities. + ContainEntities bool `json:"containEntities,omitempty"` - // Source: Optional. A custom field used to identify the webhook source. - // Arbitrary strings are supported. When provided, Dialogflow uses this - // field to populate QueryResult.webhook_source sent to the integration - // or API caller. - Source string `json:"source,omitempty"` + // Parts: The collection of annotated message parts ordered by their + // position in the message. You can recover the annotated message by + // concatenating [AnnotatedMessagePart.text]. + Parts []*GoogleCloudDialogflowV2AnnotatedMessagePart `json:"parts,omitempty"` - // ForceSendFields is a list of field names (e.g. "EndInteraction") to + // ForceSendFields is a list of field names (e.g. "ContainEntities") 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 @@ -10636,7 +10415,7 @@ type GoogleCloudDialogflowV2beta1WebhookResponse struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "EndInteraction") to + // NullFields is a list of field names (e.g. "ContainEntities") 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 @@ -10646,27 +10425,37 @@ type GoogleCloudDialogflowV2beta1WebhookResponse struct { NullFields []string `json:"-"` } -func (s *GoogleCloudDialogflowV2beta1WebhookResponse) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudDialogflowV2beta1WebhookResponse +func (s *GoogleCloudDialogflowV2MessageAnnotation) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2MessageAnnotation raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleLongrunningListOperationsResponse: The response message for -// Operations.ListOperations. -type GoogleLongrunningListOperationsResponse struct { - // NextPageToken: The standard List next-page token. - NextPageToken string `json:"nextPageToken,omitempty"` +// GoogleCloudDialogflowV2OriginalDetectIntentRequest: Represents the +// contents of the original request that was passed to the +// `[Streaming]DetectIntent` call. +type GoogleCloudDialogflowV2OriginalDetectIntentRequest struct { + // Payload: Optional. This field is set to the value of the + // `QueryParameters.payload` field passed in the request. Some + // integrations that query a Dialogflow agent may provide additional + // information in the payload. In particular, for the Dialogflow Phone + // Gateway integration, this field has the form: { "telephony": { + // "caller_id": "+18558363987" } } Note: The caller ID field + // (`caller_id`) will be redacted for Trial Edition agents and populated + // with the caller ID in [E.164 + // format](https://en.wikipedia.org/wiki/E.164) for Essentials Edition + // agents. + Payload googleapi.RawMessage `json:"payload,omitempty"` - // Operations: A list of operations that matches the specified filter in - // the request. - Operations []*GoogleLongrunningOperation `json:"operations,omitempty"` + // Source: The source of this request, e.g., `google`, `facebook`, + // `slack`. It is set by Dialogflow-owned servers. + Source string `json:"source,omitempty"` - // ServerResponse contains the HTTP response code and headers from the - // server. - googleapi.ServerResponse `json:"-"` + // Version: Optional. The version of the protocol used for this request. + // This field is AoG-specific. + Version string `json:"version,omitempty"` - // ForceSendFields is a list of field names (e.g. "NextPageToken") to + // ForceSendFields is a list of field names (e.g. "Payload") 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 @@ -10674,117 +10463,120 @@ type GoogleLongrunningListOperationsResponse struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "NextPageToken") 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 + // NullFields is a list of field names (e.g. "Payload") 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 *GoogleLongrunningListOperationsResponse) MarshalJSON() ([]byte, error) { - type NoMethod GoogleLongrunningListOperationsResponse +func (s *GoogleCloudDialogflowV2OriginalDetectIntentRequest) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2OriginalDetectIntentRequest raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleLongrunningOperation: This resource represents a long-running -// operation that is the result of a network API call. -type GoogleLongrunningOperation struct { - // Done: If the value is `false`, it means the operation is still in - // progress. If `true`, the operation is completed, and either `error` - // or `response` is available. - Done bool `json:"done,omitempty"` +// GoogleCloudDialogflowV2QueryResult: Represents the result of +// conversational query or event processing. +type GoogleCloudDialogflowV2QueryResult struct { + // Action: The action name from the matched intent. + Action string `json:"action,omitempty"` - // Error: The error result of the operation in case of failure or - // cancellation. - Error *GoogleRpcStatus `json:"error,omitempty"` + // AllRequiredParamsPresent: This field is set to: - `false` if the + // matched intent has required parameters and not all of the required + // parameter values have been collected. - `true` if all required + // parameter values have been collected, or if the matched intent + // doesn't contain any required parameters. + AllRequiredParamsPresent bool `json:"allRequiredParamsPresent,omitempty"` - // Metadata: Service-specific metadata associated with the operation. It - // typically contains progress information and common metadata such as - // create time. Some services might not provide such metadata. Any - // method that returns a long-running operation should document the - // metadata type, if any. - Metadata googleapi.RawMessage `json:"metadata,omitempty"` + // DiagnosticInfo: Free-form diagnostic information for the associated + // detect intent request. The fields of this data can change without + // notice, so you should not write code that depends on its structure. + // The data may contain: - webhook call latency - webhook errors + DiagnosticInfo googleapi.RawMessage `json:"diagnosticInfo,omitempty"` - // Name: The server-assigned name, which is only unique within the same - // service that originally returns it. If you use the default HTTP - // mapping, the `name` should be a resource name ending with - // `operations/{unique_id}`. - Name string `json:"name,omitempty"` + // FulfillmentMessages: The collection of rich messages to present to + // the user. + FulfillmentMessages []*GoogleCloudDialogflowV2IntentMessage `json:"fulfillmentMessages,omitempty"` - // Response: The normal response of the operation in case of success. If - // the original method returns no data on success, such as `Delete`, the - // response is `google.protobuf.Empty`. If the original method is - // standard `Get`/`Create`/`Update`, the response should be the - // resource. For other methods, the response should have the type - // `XxxResponse`, where `Xxx` is the original method name. For example, - // if the original method name is `TakeSnapshot()`, the inferred - // response type is `TakeSnapshotResponse`. - Response googleapi.RawMessage `json:"response,omitempty"` + // FulfillmentText: The text to be pronounced to the user or shown on + // the screen. Note: This is a legacy field, `fulfillment_messages` + // should be preferred. + FulfillmentText string `json:"fulfillmentText,omitempty"` - // ServerResponse contains the HTTP response code and headers from the - // server. - googleapi.ServerResponse `json:"-"` + // Intent: The intent that matched the conversational query. Some, not + // all fields are filled in this message, including but not limited to: + // `name`, `display_name`, `end_interaction` and `is_fallback`. + Intent *GoogleCloudDialogflowV2Intent `json:"intent,omitempty"` - // ForceSendFields is a list of field names (e.g. "Done") 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:"-"` + // IntentDetectionConfidence: The intent detection confidence. Values + // range from 0.0 (completely uncertain) to 1.0 (completely certain). + // This value is for informational purpose only and is only used to help + // match the best intent within the classification threshold. This value + // may change for the same end-user expression at any time due to a + // model retraining or change in implementation. If there are `multiple + // knowledge_answers` messages, this value is set to the greatest + // `knowledgeAnswers.match_confidence` value in the list. + IntentDetectionConfidence float64 `json:"intentDetectionConfidence,omitempty"` - // NullFields is a list of field names (e.g. "Done") 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:"-"` -} + // LanguageCode: The language that was triggered during intent + // detection. See [Language + // Support](https://cloud.google.com/dialogflow/docs/reference/language) + // for a list of the currently supported language codes. + LanguageCode string `json:"languageCode,omitempty"` -func (s *GoogleLongrunningOperation) MarshalJSON() ([]byte, error) { - type NoMethod GoogleLongrunningOperation - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} + // OutputContexts: The collection of output contexts. If applicable, + // `output_contexts.parameters` contains entries with name `.original` + // containing the original parameter values before the query. + OutputContexts []*GoogleCloudDialogflowV2Context `json:"outputContexts,omitempty"` -// GoogleProtobufEmpty: A generic empty message that you can re-use to -// avoid defining duplicated empty messages in your APIs. A typical -// example is to use it as the request or the response type of an API -// method. For instance: service Foo { rpc Bar(google.protobuf.Empty) -// returns (google.protobuf.Empty); } The JSON representation for -// `Empty` is empty JSON object `{}`. -type GoogleProtobufEmpty struct { - // ServerResponse contains the HTTP response code and headers from the - // server. - googleapi.ServerResponse `json:"-"` -} + // Parameters: The collection of extracted parameters. Depending on your + // protocol or client library language, this is a map, associative + // array, symbol table, dictionary, or JSON object composed of a + // collection of (MapKey, MapValue) pairs: - MapKey type: string - + // MapKey value: parameter name - MapValue type: - If parameter's entity + // type is a composite entity: map - Else: string or number, depending + // on parameter value type - MapValue value: - If parameter's entity + // type is a composite entity: map from composite entity property names + // to property values - Else: parameter value + Parameters googleapi.RawMessage `json:"parameters,omitempty"` -// GoogleRpcStatus: The `Status` type defines a logical error model that -// is suitable for different programming environments, including REST -// APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). -// Each `Status` message contains three pieces of data: error code, -// error message, and error details. You can find out more about this -// error model and how to work with it in the [API Design -// Guide](https://cloud.google.com/apis/design/errors). -type GoogleRpcStatus struct { - // Code: The status code, which should be an enum value of - // google.rpc.Code. - Code int64 `json:"code,omitempty"` + // QueryText: The original conversational query text: - If natural + // language text was provided as input, `query_text` contains a copy of + // the input. - If natural language speech audio was provided as input, + // `query_text` contains the speech recognition result. If speech + // recognizer produced multiple alternatives, a particular one is + // picked. - If automatic spell correction is enabled, `query_text` will + // contain the corrected user input. + QueryText string `json:"queryText,omitempty"` - // Details: A list of messages that carry the error details. There is a - // common set of message types for APIs to use. - Details []googleapi.RawMessage `json:"details,omitempty"` + // SentimentAnalysisResult: The sentiment analysis result, which depends + // on the `sentiment_analysis_request_config` specified in the request. + SentimentAnalysisResult *GoogleCloudDialogflowV2SentimentAnalysisResult `json:"sentimentAnalysisResult,omitempty"` - // Message: A developer-facing error message, which should be in - // English. Any user-facing error message should be localized and sent - // in the google.rpc.Status.details field, or localized by the client. - Message string `json:"message,omitempty"` + // SpeechRecognitionConfidence: The Speech recognition confidence + // between 0.0 and 1.0. A higher number indicates an estimated greater + // likelihood that the recognized words are correct. The default of 0.0 + // is a sentinel value indicating that confidence was not set. This + // field is not guaranteed to be accurate or set. In particular this + // field isn't set for StreamingDetectIntent since the streaming + // endpoint has separate confidence estimates per portion of the audio + // in StreamingRecognitionResult. + SpeechRecognitionConfidence float64 `json:"speechRecognitionConfidence,omitempty"` - // ForceSendFields is a list of field names (e.g. "Code") to + // WebhookPayload: If the query was fulfilled by a webhook call, this + // field is set to the value of the `payload` field returned in the + // webhook response. + WebhookPayload googleapi.RawMessage `json:"webhookPayload,omitempty"` + + // WebhookSource: If the query was fulfilled by a webhook call, this + // field is set to the value of the `source` field returned in the + // webhook response. + WebhookSource string `json:"webhookSource,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Action") 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 @@ -10792,7 +10584,7 @@ type GoogleRpcStatus struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Code") to include in API + // NullFields is a list of field names (e.g. "Action") 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 @@ -10801,27 +10593,42 @@ type GoogleRpcStatus struct { NullFields []string `json:"-"` } -func (s *GoogleRpcStatus) MarshalJSON() ([]byte, error) { - type NoMethod GoogleRpcStatus +func (s *GoogleCloudDialogflowV2QueryResult) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2QueryResult raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleTypeLatLng: An object that represents a latitude/longitude -// pair. This is expressed as a pair of doubles to represent degrees -// latitude and degrees longitude. Unless specified otherwise, this must -// conform to the WGS84 standard. Values must be within normalized -// ranges. -type GoogleTypeLatLng struct { - // Latitude: The latitude in degrees. It must be in the range [-90.0, - // +90.0]. - Latitude float64 `json:"latitude,omitempty"` +func (s *GoogleCloudDialogflowV2QueryResult) UnmarshalJSON(data []byte) error { + type NoMethod GoogleCloudDialogflowV2QueryResult + var s1 struct { + IntentDetectionConfidence gensupport.JSONFloat64 `json:"intentDetectionConfidence"` + SpeechRecognitionConfidence gensupport.JSONFloat64 `json:"speechRecognitionConfidence"` + *NoMethod + } + s1.NoMethod = (*NoMethod)(s) + if err := json.Unmarshal(data, &s1); err != nil { + return err + } + s.IntentDetectionConfidence = float64(s1.IntentDetectionConfidence) + s.SpeechRecognitionConfidence = float64(s1.SpeechRecognitionConfidence) + return nil +} - // Longitude: The longitude in degrees. It must be in the range [-180.0, - // +180.0]. - Longitude float64 `json:"longitude,omitempty"` +// GoogleCloudDialogflowV2Sentiment: The sentiment, such as +// positive/negative feeling or association, for a unit of analysis, +// such as the query text. +type GoogleCloudDialogflowV2Sentiment struct { + // Magnitude: A non-negative number in the [0, +inf) range, which + // represents the absolute magnitude of sentiment, regardless of score + // (positive or negative). + Magnitude float64 `json:"magnitude,omitempty"` - // ForceSendFields is a list of field names (e.g. "Latitude") to + // Score: Sentiment score between -1.0 (negative sentiment) and 1.0 + // (positive sentiment). + Score float64 `json:"score,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Magnitude") 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 @@ -10829,7 +10636,7 @@ type GoogleTypeLatLng struct { // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Latitude") to include in + // NullFields is a list of field names (e.g. "Magnitude") 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 @@ -10838,51 +10645,5389 @@ type GoogleTypeLatLng struct { NullFields []string `json:"-"` } -func (s *GoogleTypeLatLng) MarshalJSON() ([]byte, error) { - type NoMethod GoogleTypeLatLng +func (s *GoogleCloudDialogflowV2Sentiment) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2Sentiment raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -func (s *GoogleTypeLatLng) UnmarshalJSON(data []byte) error { - type NoMethod GoogleTypeLatLng +func (s *GoogleCloudDialogflowV2Sentiment) UnmarshalJSON(data []byte) error { + type NoMethod GoogleCloudDialogflowV2Sentiment var s1 struct { - Latitude gensupport.JSONFloat64 `json:"latitude"` - Longitude gensupport.JSONFloat64 `json:"longitude"` + Magnitude gensupport.JSONFloat64 `json:"magnitude"` + Score gensupport.JSONFloat64 `json:"score"` *NoMethod } s1.NoMethod = (*NoMethod)(s) if err := json.Unmarshal(data, &s1); err != nil { return err } - s.Latitude = float64(s1.Latitude) - s.Longitude = float64(s1.Longitude) + s.Magnitude = float64(s1.Magnitude) + s.Score = float64(s1.Score) return nil } -// method id "dialogflow.projects.locations.agents.create": +// GoogleCloudDialogflowV2SentimentAnalysisResult: The result of +// sentiment analysis. Sentiment analysis inspects user input and +// identifies the prevailing subjective opinion, especially to determine +// a user's attitude as positive, negative, or neutral. For +// Participants.DetectIntent, it needs to be configured in +// DetectIntentRequest.query_params. For +// Participants.StreamingDetectIntent, it needs to be configured in +// StreamingDetectIntentRequest.query_params. And for +// Participants.AnalyzeContent and Participants.StreamingAnalyzeContent, +// it needs to be configured in +// ConversationProfile.human_agent_assistant_config +type GoogleCloudDialogflowV2SentimentAnalysisResult struct { + // QueryTextSentiment: The sentiment analysis result for `query_text`. + QueryTextSentiment *GoogleCloudDialogflowV2Sentiment `json:"queryTextSentiment,omitempty"` -type ProjectsLocationsAgentsCreateCall struct { - s *Service - parent string - googleclouddialogflowcxv3beta1agent *GoogleCloudDialogflowCxV3beta1Agent - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header + // ForceSendFields is a list of field names (e.g. "QueryTextSentiment") + // 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. "QueryTextSentiment") 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 *GoogleCloudDialogflowV2SentimentAnalysisResult) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2SentimentAnalysisResult + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2SessionEntityType: A session represents a +// conversation between a Dialogflow agent and an end-user. You can +// create special entities, called session entities, during a session. +// Session entities can extend or replace custom entity types and only +// exist during the session that they were created for. All session +// data, including session entities, is stored by Dialogflow for 20 +// minutes. For more information, see the [session entity +// guide](https://cloud.google.com/dialogflow/docs/entities-session). +type GoogleCloudDialogflowV2SessionEntityType struct { + // Entities: Required. The collection of entities associated with this + // session entity type. + Entities []*GoogleCloudDialogflowV2EntityTypeEntity `json:"entities,omitempty"` + + // EntityOverrideMode: Required. Indicates whether the additional data + // should override or supplement the custom entity type definition. + // + // Possible values: + // "ENTITY_OVERRIDE_MODE_UNSPECIFIED" - Not specified. This value + // should be never used. + // "ENTITY_OVERRIDE_MODE_OVERRIDE" - The collection of session + // entities overrides the collection of entities in the corresponding + // custom entity type. + // "ENTITY_OVERRIDE_MODE_SUPPLEMENT" - The collection of session + // entities extends the collection of entities in the corresponding + // custom entity type. Note: Even in this override mode calls to + // `ListSessionEntityTypes`, `GetSessionEntityType`, + // `CreateSessionEntityType` and `UpdateSessionEntityType` only return + // the additional entities added in this session entity type. If you + // want to get the supplemented list, please call + // EntityTypes.GetEntityType on the custom entity type and merge. + EntityOverrideMode string `json:"entityOverrideMode,omitempty"` + + // Name: Required. The unique identifier of this session entity type. + // Format: `projects//agent/sessions//entityTypes/`, or + // `projects//agent/environments//users//sessions//entityTypes/`. If + // `Environment ID` is not specified, we assume default 'draft' + // environment. If `User ID` is not specified, we assume default '-' + // user. `` must be the display name of an existing entity type in the + // same agent that will be overridden or supplemented. + Name string `json:"name,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Entities") 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. "Entities") 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 *GoogleCloudDialogflowV2SessionEntityType) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2SessionEntityType + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2WebhookRequest: The request message for a +// webhook call. +type GoogleCloudDialogflowV2WebhookRequest struct { + // OriginalDetectIntentRequest: Optional. The contents of the original + // request that was passed to `[Streaming]DetectIntent` call. + OriginalDetectIntentRequest *GoogleCloudDialogflowV2OriginalDetectIntentRequest `json:"originalDetectIntentRequest,omitempty"` + + // QueryResult: The result of the conversational query or event + // processing. Contains the same value as + // `[Streaming]DetectIntentResponse.query_result`. + QueryResult *GoogleCloudDialogflowV2QueryResult `json:"queryResult,omitempty"` + + // ResponseId: The unique identifier of the response. Contains the same + // value as `[Streaming]DetectIntentResponse.response_id`. + ResponseId string `json:"responseId,omitempty"` + + // Session: The unique identifier of detectIntent request session. Can + // be used to identify end-user inside webhook implementation. Format: + // `projects//agent/sessions/`, or + // `projects//agent/environments//users//sessions/`. + Session string `json:"session,omitempty"` + + // ForceSendFields is a list of field names (e.g. + // "OriginalDetectIntentRequest") 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. + // "OriginalDetectIntentRequest") 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 *GoogleCloudDialogflowV2WebhookRequest) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2WebhookRequest + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2WebhookResponse: The response message for a +// webhook call. This response is validated by the Dialogflow server. If +// validation fails, an error will be returned in the +// QueryResult.diagnostic_info field. Setting JSON fields to an empty +// value with the wrong type is a common error. To avoid this error: - +// Use "" for empty strings - Use `{}` or `null` for empty objects - +// Use `[]` or `null` for empty arrays For more information, see the +// [Protocol Buffers Language +// Guide](https://developers.google.com/protocol-buffers/docs/proto3#json +// ). +type GoogleCloudDialogflowV2WebhookResponse struct { + // FollowupEventInput: Optional. Invokes the supplied events. When this + // field is set, Dialogflow ignores the `fulfillment_text`, + // `fulfillment_messages`, and `payload` fields. + FollowupEventInput *GoogleCloudDialogflowV2EventInput `json:"followupEventInput,omitempty"` + + // FulfillmentMessages: Optional. The rich response messages intended + // for the end-user. When provided, Dialogflow uses this field to + // populate QueryResult.fulfillment_messages sent to the integration or + // API caller. + FulfillmentMessages []*GoogleCloudDialogflowV2IntentMessage `json:"fulfillmentMessages,omitempty"` + + // FulfillmentText: Optional. The text response message intended for the + // end-user. It is recommended to use + // `fulfillment_messages.text.text[0]` instead. When provided, + // Dialogflow uses this field to populate QueryResult.fulfillment_text + // sent to the integration or API caller. + FulfillmentText string `json:"fulfillmentText,omitempty"` + + // OutputContexts: Optional. The collection of output contexts that will + // overwrite currently active contexts for the session and reset their + // lifespans. When provided, Dialogflow uses this field to populate + // QueryResult.output_contexts sent to the integration or API caller. + OutputContexts []*GoogleCloudDialogflowV2Context `json:"outputContexts,omitempty"` + + // Payload: Optional. This field can be used to pass custom data from + // your webhook to the integration or API caller. Arbitrary JSON objects + // are supported. When provided, Dialogflow uses this field to populate + // QueryResult.webhook_payload sent to the integration or API caller. + // This field is also used by the [Google Assistant + // integration](https://cloud.google.com/dialogflow/docs/integrations/aog + // ) for rich response messages. See the format definition at [Google + // Assistant Dialogflow webhook + // format](https://developers.google.com/assistant/actions/build/json/dia + // logflow-webhook-json) + Payload googleapi.RawMessage `json:"payload,omitempty"` + + // SessionEntityTypes: Optional. Additional session entity types to + // replace or extend developer entity types with. The entity synonyms + // apply to all languages and persist for the session. Setting this data + // from a webhook overwrites the session entity types that have been set + // using `detectIntent`, `streamingDetectIntent` or SessionEntityType + // management methods. + SessionEntityTypes []*GoogleCloudDialogflowV2SessionEntityType `json:"sessionEntityTypes,omitempty"` + + // Source: Optional. A custom field used to identify the webhook source. + // Arbitrary strings are supported. When provided, Dialogflow uses this + // field to populate QueryResult.webhook_source sent to the integration + // or API caller. + Source string `json:"source,omitempty"` + + // ForceSendFields is a list of field names (e.g. "FollowupEventInput") + // 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. "FollowupEventInput") 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 *GoogleCloudDialogflowV2WebhookResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2WebhookResponse + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1BatchUpdateEntityTypesResponse: The +// response message for EntityTypes.BatchUpdateEntityTypes. +type GoogleCloudDialogflowV2beta1BatchUpdateEntityTypesResponse struct { + // EntityTypes: The collection of updated or created entity types. + EntityTypes []*GoogleCloudDialogflowV2beta1EntityType `json:"entityTypes,omitempty"` + + // ForceSendFields is a list of field names (e.g. "EntityTypes") 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. "EntityTypes") 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 *GoogleCloudDialogflowV2beta1BatchUpdateEntityTypesResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1BatchUpdateEntityTypesResponse + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1BatchUpdateIntentsResponse: The response +// message for Intents.BatchUpdateIntents. +type GoogleCloudDialogflowV2beta1BatchUpdateIntentsResponse struct { + // Intents: The collection of updated or created intents. + Intents []*GoogleCloudDialogflowV2beta1Intent `json:"intents,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Intents") 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. "Intents") 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 *GoogleCloudDialogflowV2beta1BatchUpdateIntentsResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1BatchUpdateIntentsResponse + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1Context: Dialogflow contexts are similar +// to natural language context. If a person says to you "they are +// orange", you need context in order to understand what "they" is +// referring to. Similarly, for Dialogflow to handle an end-user +// expression like that, it needs to be provided with context in order +// to correctly match an intent. Using contexts, you can control the +// flow of a conversation. You can configure contexts for an intent by +// setting input and output contexts, which are identified by string +// names. When an intent is matched, any configured output contexts for +// that intent become active. While any contexts are active, Dialogflow +// is more likely to match intents that are configured with input +// contexts that correspond to the currently active contexts. For more +// information about context, see the [Contexts +// guide](https://cloud.google.com/dialogflow/docs/contexts-overview). +type GoogleCloudDialogflowV2beta1Context struct { + // LifespanCount: Optional. The number of conversational query requests + // after which the context expires. The default is `0`. If set to `0`, + // the context expires immediately. Contexts expire automatically after + // 20 minutes if there are no matching queries. + LifespanCount int64 `json:"lifespanCount,omitempty"` + + // Name: Required. The unique identifier of the context. Supported + // formats: - `projects//agent/sessions//contexts/`, - + // `projects//locations//agent/sessions//contexts/`, - + // `projects//agent/environments//users//sessions//contexts/`, - + // `projects//locations//agent/environments//users//sessions//contexts/`, + // The `Context ID` is always converted to lowercase, may only contain + // characters in a-zA-Z0-9_-% and may be at most 250 bytes long. If + // `Environment ID` is not specified, we assume default 'draft' + // environment. If `User ID` is not specified, we assume default '-' + // user. The following context names are reserved for internal use by + // Dialogflow. You should not use these contexts or create contexts with + // these names: * `__system_counters__` * `*_id_dialog_context` * + // `*_dialog_params_size` + Name string `json:"name,omitempty"` + + // Parameters: Optional. The collection of parameters associated with + // this context. Depending on your protocol or client library language, + // this is a map, associative array, symbol table, dictionary, or JSON + // object composed of a collection of (MapKey, MapValue) pairs: - MapKey + // type: string - MapKey value: parameter name - MapValue type: - If + // parameter's entity type is a composite entity: map - Else: string or + // number, depending on parameter value type - MapValue value: - If + // parameter's entity type is a composite entity: map from composite + // entity property names to property values - Else: parameter value + Parameters googleapi.RawMessage `json:"parameters,omitempty"` + + // ForceSendFields is a list of field names (e.g. "LifespanCount") 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. "LifespanCount") 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 *GoogleCloudDialogflowV2beta1Context) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1Context + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1EntityType: Each intent parameter has a +// type, called the entity type, which dictates exactly how data from an +// end-user expression is extracted. Dialogflow provides predefined +// system entities that can match many common types of data. For +// example, there are system entities for matching dates, times, colors, +// email addresses, and so on. You can also create your own custom +// entities for matching custom data. For example, you could define a +// vegetable entity that can match the types of vegetables available for +// purchase with a grocery store agent. For more information, see the +// [Entity +// guide](https://cloud.google.com/dialogflow/docs/entities-overview). +type GoogleCloudDialogflowV2beta1EntityType struct { + // AutoExpansionMode: Optional. Indicates whether the entity type can be + // automatically expanded. + // + // Possible values: + // "AUTO_EXPANSION_MODE_UNSPECIFIED" - Auto expansion disabled for the + // entity. + // "AUTO_EXPANSION_MODE_DEFAULT" - Allows an agent to recognize values + // that have not been explicitly listed in the entity. + AutoExpansionMode string `json:"autoExpansionMode,omitempty"` + + // DisplayName: Required. The name of the entity type. + DisplayName string `json:"displayName,omitempty"` + + // EnableFuzzyExtraction: Optional. Enables fuzzy entity extraction + // during classification. + EnableFuzzyExtraction bool `json:"enableFuzzyExtraction,omitempty"` + + // Entities: Optional. The collection of entity entries associated with + // the entity type. + Entities []*GoogleCloudDialogflowV2beta1EntityTypeEntity `json:"entities,omitempty"` + + // Kind: Required. Indicates the kind of entity type. + // + // Possible values: + // "KIND_UNSPECIFIED" - Not specified. This value should be never + // used. + // "KIND_MAP" - Map entity types allow mapping of a group of synonyms + // to a reference value. + // "KIND_LIST" - List entity types contain a set of entries that do + // not map to reference values. However, list entity types can contain + // references to other entity types (with or without aliases). + // "KIND_REGEXP" - Regexp entity types allow to specify regular + // expressions in entries values. + Kind string `json:"kind,omitempty"` + + // Name: The unique identifier of the entity type. Required for + // EntityTypes.UpdateEntityType and EntityTypes.BatchUpdateEntityTypes + // methods. Supported formats: - `projects//agent/entityTypes/` - + // `projects//locations//agent/entityTypes/` + Name string `json:"name,omitempty"` + + // ForceSendFields is a list of field names (e.g. "AutoExpansionMode") + // 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. "AutoExpansionMode") 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 *GoogleCloudDialogflowV2beta1EntityType) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1EntityType + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1EntityTypeEntity: An **entity entry** for +// an associated entity type. +type GoogleCloudDialogflowV2beta1EntityTypeEntity struct { + // Synonyms: Required. A collection of value synonyms. For example, if + // the entity type is *vegetable*, and `value` is *scallions*, a synonym + // could be *green onions*. For `KIND_LIST` entity types: * This + // collection must contain exactly one synonym equal to `value`. + Synonyms []string `json:"synonyms,omitempty"` + + // Value: Required. The primary value associated with this entity entry. + // For example, if the entity type is *vegetable*, the value could be + // *scallions*. For `KIND_MAP` entity types: * A reference value to be + // used in place of synonyms. For `KIND_LIST` entity types: * A string + // that can contain references to other entity types (with or without + // aliases). + Value string `json:"value,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Synonyms") 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. "Synonyms") 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 *GoogleCloudDialogflowV2beta1EntityTypeEntity) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1EntityTypeEntity + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1EventInput: Events allow for matching +// intents by event name instead of the natural language input. For +// instance, input `` can trigger a personalized welcome response. The +// parameter `name` may be used by the agent in the response: "Hello +// #welcome_event.name! What can I do for you today?". +type GoogleCloudDialogflowV2beta1EventInput struct { + // LanguageCode: Required. The language of this query. See [Language + // Support](https://cloud.google.com/dialogflow/docs/reference/language) + // for a list of the currently supported language codes. Note that + // queries in the same session do not necessarily need to specify the + // same language. + LanguageCode string `json:"languageCode,omitempty"` + + // Name: Required. The unique identifier of the event. + Name string `json:"name,omitempty"` + + // Parameters: The collection of parameters associated with the event. + // Depending on your protocol or client library language, this is a map, + // associative array, symbol table, dictionary, or JSON object composed + // of a collection of (MapKey, MapValue) pairs: - MapKey type: string - + // MapKey value: parameter name - MapValue type: - If parameter's entity + // type is a composite entity: map - Else: string or number, depending + // on parameter value type - MapValue value: - If parameter's entity + // type is a composite entity: map from composite entity property names + // to property values - Else: parameter value + Parameters googleapi.RawMessage `json:"parameters,omitempty"` + + // ForceSendFields is a list of field names (e.g. "LanguageCode") 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. "LanguageCode") 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 *GoogleCloudDialogflowV2beta1EventInput) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1EventInput + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1ExportAgentResponse: The response message +// for Agents.ExportAgent. +type GoogleCloudDialogflowV2beta1ExportAgentResponse struct { + // AgentContent: Zip compressed raw byte content for agent. + AgentContent string `json:"agentContent,omitempty"` + + // AgentUri: The URI to a file containing the exported agent. This field + // is populated only if `agent_uri` is specified in + // `ExportAgentRequest`. + AgentUri string `json:"agentUri,omitempty"` + + // ForceSendFields is a list of field names (e.g. "AgentContent") 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. "AgentContent") 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 *GoogleCloudDialogflowV2beta1ExportAgentResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1ExportAgentResponse + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1Intent: An intent categorizes an +// end-user's intention for one conversation turn. For each agent, you +// define many intents, where your combined intents can handle a +// complete conversation. When an end-user writes or says something, +// referred to as an end-user expression or end-user input, Dialogflow +// matches the end-user input to the best intent in your agent. Matching +// an intent is also known as intent classification. For more +// information, see the [intent +// guide](https://cloud.google.com/dialogflow/docs/intents-overview). +type GoogleCloudDialogflowV2beta1Intent struct { + // Action: Optional. The name of the action associated with the intent. + // Note: The action name must not contain whitespaces. + Action string `json:"action,omitempty"` + + // DefaultResponsePlatforms: Optional. The list of platforms for which + // the first responses will be copied from the messages in + // PLATFORM_UNSPECIFIED (i.e. default platform). + // + // Possible values: + // "PLATFORM_UNSPECIFIED" - Not specified. + // "FACEBOOK" - Facebook. + // "SLACK" - Slack. + // "TELEGRAM" - Telegram. + // "KIK" - Kik. + // "SKYPE" - Skype. + // "LINE" - Line. + // "VIBER" - Viber. + // "ACTIONS_ON_GOOGLE" - Google Assistant See [Dialogflow webhook + // format](https://developers.google.com/assistant/actions/build/json/dia + // logflow-webhook-json) + // "TELEPHONY" - Telephony Gateway. + // "GOOGLE_HANGOUTS" - Google Hangouts. + DefaultResponsePlatforms []string `json:"defaultResponsePlatforms,omitempty"` + + // DisplayName: Required. The name of this intent. + DisplayName string `json:"displayName,omitempty"` + + // EndInteraction: Optional. Indicates that this intent ends an + // interaction. Some integrations (e.g., Actions on Google or Dialogflow + // phone gateway) use this information to close interaction with an end + // user. Default is false. + EndInteraction bool `json:"endInteraction,omitempty"` + + // Events: Optional. The collection of event names that trigger the + // intent. If the collection of input contexts is not empty, all of the + // contexts must be present in the active user session for an event to + // trigger this intent. Event names are limited to 150 characters. + Events []string `json:"events,omitempty"` + + // FollowupIntentInfo: Output only. Information about all followup + // intents that have this intent as a direct or indirect parent. We + // populate this field only in the output. + FollowupIntentInfo []*GoogleCloudDialogflowV2beta1IntentFollowupIntentInfo `json:"followupIntentInfo,omitempty"` + + // InputContextNames: Optional. The list of context names required for + // this intent to be triggered. Formats: - + // `projects//agent/sessions/-/contexts/` - + // `projects//locations//agent/sessions/-/contexts/` + InputContextNames []string `json:"inputContextNames,omitempty"` + + // IsFallback: Optional. Indicates whether this is a fallback intent. + IsFallback bool `json:"isFallback,omitempty"` + + // Messages: Optional. The collection of rich messages corresponding to + // the `Response` field in the Dialogflow console. + Messages []*GoogleCloudDialogflowV2beta1IntentMessage `json:"messages,omitempty"` + + // MlDisabled: Optional. Indicates whether Machine Learning is disabled + // for the intent. Note: If `ml_disabled` setting is set to true, then + // this intent is not taken into account during inference in `ML ONLY` + // match mode. Also, auto-markup in the UI is turned off. + MlDisabled bool `json:"mlDisabled,omitempty"` + + // MlEnabled: Optional. Indicates whether Machine Learning is enabled + // for the intent. Note: If `ml_enabled` setting is set to false, then + // this intent is not taken into account during inference in `ML ONLY` + // match mode. Also, auto-markup in the UI is turned off. DEPRECATED! + // Please use `ml_disabled` field instead. NOTE: If both `ml_enabled` + // and `ml_disabled` are either not set or false, then the default value + // is determined as follows: - Before April 15th, 2018 the default is: + // ml_enabled = false / ml_disabled = true. - After April 15th, 2018 the + // default is: ml_enabled = true / ml_disabled = false. + MlEnabled bool `json:"mlEnabled,omitempty"` + + // Name: Optional. The unique identifier of this intent. Required for + // Intents.UpdateIntent and Intents.BatchUpdateIntents methods. + // Supported formats: - `projects//agent/intents/` - + // `projects//locations//agent/intents/` + Name string `json:"name,omitempty"` + + // OutputContexts: Optional. The collection of contexts that are + // activated when the intent is matched. Context messages in this + // collection should not set the parameters field. Setting the + // `lifespan_count` to 0 will reset the context when the intent is + // matched. Format: `projects//agent/sessions/-/contexts/`. + OutputContexts []*GoogleCloudDialogflowV2beta1Context `json:"outputContexts,omitempty"` + + // Parameters: Optional. The collection of parameters associated with + // the intent. + Parameters []*GoogleCloudDialogflowV2beta1IntentParameter `json:"parameters,omitempty"` + + // ParentFollowupIntentName: Optional. The unique identifier of the + // parent intent in the chain of followup intents. You can set this + // field when creating an intent, for example with CreateIntent or + // BatchUpdateIntents, in order to make this intent a followup intent. + // It identifies the parent followup intent. Format: + // `projects//agent/intents/`. + ParentFollowupIntentName string `json:"parentFollowupIntentName,omitempty"` + + // Priority: Optional. The priority of this intent. Higher numbers + // represent higher priorities. - If the supplied value is unspecified + // or 0, the service translates the value to 500,000, which corresponds + // to the `Normal` priority in the console. - If the supplied value is + // negative, the intent is ignored in runtime detect intent requests. + Priority int64 `json:"priority,omitempty"` + + // ResetContexts: Optional. Indicates whether to delete all contexts in + // the current session when this intent is matched. + ResetContexts bool `json:"resetContexts,omitempty"` + + // RootFollowupIntentName: Output only. The unique identifier of the + // root intent in the chain of followup intents. It identifies the + // correct followup intents chain for this intent. Format: + // `projects//agent/intents/`. + RootFollowupIntentName string `json:"rootFollowupIntentName,omitempty"` + + // TrainingPhrases: Optional. The collection of examples that the agent + // is trained on. + TrainingPhrases []*GoogleCloudDialogflowV2beta1IntentTrainingPhrase `json:"trainingPhrases,omitempty"` + + // WebhookState: Optional. Indicates whether webhooks are enabled for + // the intent. + // + // Possible values: + // "WEBHOOK_STATE_UNSPECIFIED" - Webhook is disabled in the agent and + // in the intent. + // "WEBHOOK_STATE_ENABLED" - Webhook is enabled in the agent and in + // the intent. + // "WEBHOOK_STATE_ENABLED_FOR_SLOT_FILLING" - Webhook is enabled in + // the agent and in the intent. Also, each slot filling prompt is + // forwarded to the webhook. + WebhookState string `json:"webhookState,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Action") 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. "Action") 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 *GoogleCloudDialogflowV2beta1Intent) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1Intent + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1IntentFollowupIntentInfo: Represents a +// single followup intent in the chain. +type GoogleCloudDialogflowV2beta1IntentFollowupIntentInfo struct { + // FollowupIntentName: The unique identifier of the followup intent. + // Format: `projects//agent/intents/`. + FollowupIntentName string `json:"followupIntentName,omitempty"` + + // ParentFollowupIntentName: The unique identifier of the followup + // intent's parent. Format: `projects//agent/intents/`. + ParentFollowupIntentName string `json:"parentFollowupIntentName,omitempty"` + + // ForceSendFields is a list of field names (e.g. "FollowupIntentName") + // 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. "FollowupIntentName") 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 *GoogleCloudDialogflowV2beta1IntentFollowupIntentInfo) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentFollowupIntentInfo + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1IntentMessage: Corresponds to the +// `Response` field in the Dialogflow console. +type GoogleCloudDialogflowV2beta1IntentMessage struct { + // BasicCard: Displays a basic card for Actions on Google. + BasicCard *GoogleCloudDialogflowV2beta1IntentMessageBasicCard `json:"basicCard,omitempty"` + + // BrowseCarouselCard: Browse carousel card for Actions on Google. + BrowseCarouselCard *GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCard `json:"browseCarouselCard,omitempty"` + + // Card: Displays a card. + Card *GoogleCloudDialogflowV2beta1IntentMessageCard `json:"card,omitempty"` + + // CarouselSelect: Displays a carousel card for Actions on Google. + CarouselSelect *GoogleCloudDialogflowV2beta1IntentMessageCarouselSelect `json:"carouselSelect,omitempty"` + + // Image: Displays an image. + Image *GoogleCloudDialogflowV2beta1IntentMessageImage `json:"image,omitempty"` + + // LinkOutSuggestion: Displays a link out suggestion chip for Actions on + // Google. + LinkOutSuggestion *GoogleCloudDialogflowV2beta1IntentMessageLinkOutSuggestion `json:"linkOutSuggestion,omitempty"` + + // ListSelect: Displays a list card for Actions on Google. + ListSelect *GoogleCloudDialogflowV2beta1IntentMessageListSelect `json:"listSelect,omitempty"` + + // MediaContent: The media content card for Actions on Google. + MediaContent *GoogleCloudDialogflowV2beta1IntentMessageMediaContent `json:"mediaContent,omitempty"` + + // Payload: A custom platform-specific response. + Payload googleapi.RawMessage `json:"payload,omitempty"` + + // Platform: Optional. The platform that this message is intended for. + // + // Possible values: + // "PLATFORM_UNSPECIFIED" - Not specified. + // "FACEBOOK" - Facebook. + // "SLACK" - Slack. + // "TELEGRAM" - Telegram. + // "KIK" - Kik. + // "SKYPE" - Skype. + // "LINE" - Line. + // "VIBER" - Viber. + // "ACTIONS_ON_GOOGLE" - Google Assistant See [Dialogflow webhook + // format](https://developers.google.com/assistant/actions/build/json/dia + // logflow-webhook-json) + // "TELEPHONY" - Telephony Gateway. + // "GOOGLE_HANGOUTS" - Google Hangouts. + Platform string `json:"platform,omitempty"` + + // QuickReplies: Displays quick replies. + QuickReplies *GoogleCloudDialogflowV2beta1IntentMessageQuickReplies `json:"quickReplies,omitempty"` + + // RbmCarouselRichCard: Rich Business Messaging (RBM) carousel rich card + // response. + RbmCarouselRichCard *GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard `json:"rbmCarouselRichCard,omitempty"` + + // RbmStandaloneRichCard: Standalone Rich Business Messaging (RBM) rich + // card response. + RbmStandaloneRichCard *GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCard `json:"rbmStandaloneRichCard,omitempty"` + + // RbmText: Rich Business Messaging (RBM) text response. RBM allows + // businesses to send enriched and branded versions of SMS. See + // https://jibe.google.com/business-messaging. + RbmText *GoogleCloudDialogflowV2beta1IntentMessageRbmText `json:"rbmText,omitempty"` + + // SimpleResponses: Returns a voice or text-only response for Actions on + // Google. + SimpleResponses *GoogleCloudDialogflowV2beta1IntentMessageSimpleResponses `json:"simpleResponses,omitempty"` + + // Suggestions: Displays suggestion chips for Actions on Google. + Suggestions *GoogleCloudDialogflowV2beta1IntentMessageSuggestions `json:"suggestions,omitempty"` + + // TableCard: Table card for Actions on Google. + TableCard *GoogleCloudDialogflowV2beta1IntentMessageTableCard `json:"tableCard,omitempty"` + + // TelephonyPlayAudio: Plays audio from a file in Telephony Gateway. + TelephonyPlayAudio *GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudio `json:"telephonyPlayAudio,omitempty"` + + // TelephonySynthesizeSpeech: Synthesizes speech in Telephony Gateway. + TelephonySynthesizeSpeech *GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeech `json:"telephonySynthesizeSpeech,omitempty"` + + // TelephonyTransferCall: Transfers the call in Telephony Gateway. + TelephonyTransferCall *GoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCall `json:"telephonyTransferCall,omitempty"` + + // Text: Returns a text response. + Text *GoogleCloudDialogflowV2beta1IntentMessageText `json:"text,omitempty"` + + // ForceSendFields is a list of field names (e.g. "BasicCard") 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. "BasicCard") 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 *GoogleCloudDialogflowV2beta1IntentMessage) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessage + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1IntentMessageBasicCard: The basic card +// message. Useful for displaying information. +type GoogleCloudDialogflowV2beta1IntentMessageBasicCard struct { + // Buttons: Optional. The collection of card buttons. + Buttons []*GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton `json:"buttons,omitempty"` + + // FormattedText: Required, unless image is present. The body text of + // the card. + FormattedText string `json:"formattedText,omitempty"` + + // Image: Optional. The image for the card. + Image *GoogleCloudDialogflowV2beta1IntentMessageImage `json:"image,omitempty"` + + // Subtitle: Optional. The subtitle of the card. + Subtitle string `json:"subtitle,omitempty"` + + // Title: Optional. The title of the card. + Title string `json:"title,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Buttons") 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. "Buttons") 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 *GoogleCloudDialogflowV2beta1IntentMessageBasicCard) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageBasicCard + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton: The button +// object that appears at the bottom of a card. +type GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton struct { + // OpenUriAction: Required. Action to take when a user taps on the + // button. + OpenUriAction *GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonOpenUriAction `json:"openUriAction,omitempty"` + + // Title: Required. The title of the button. + Title string `json:"title,omitempty"` + + // ForceSendFields is a list of field names (e.g. "OpenUriAction") 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. "OpenUriAction") 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 *GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonOpenUriAction: +// Opens the given URI. +type GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonOpenUriAction struct { + // Uri: Required. The HTTP or HTTPS scheme URI. + Uri string `json:"uri,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Uri") 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. "Uri") 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 *GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonOpenUriAction) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonOpenUriAction + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCard: Browse +// Carousel Card for Actions on Google. +// https://developers.google.com/actions/assistant/responses#browsing_carousel +type GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCard struct { + // ImageDisplayOptions: Optional. Settings for displaying the image. + // Applies to every image in items. + // + // Possible values: + // "IMAGE_DISPLAY_OPTIONS_UNSPECIFIED" - Fill the gaps between the + // image and the image container with gray bars. + // "GRAY" - Fill the gaps between the image and the image container + // with gray bars. + // "WHITE" - Fill the gaps between the image and the image container + // with white bars. + // "CROPPED" - Image is scaled such that the image width and height + // match or exceed the container dimensions. This may crop the top and + // bottom of the image if the scaled image height is greater than the + // container height, or crop the left and right of the image if the + // scaled image width is greater than the container width. This is + // similar to "Zoom Mode" on a widescreen TV when playing a 4:3 video. + // "BLURRED_BACKGROUND" - Pad the gaps between image and image frame + // with a blurred copy of the same image. + ImageDisplayOptions string `json:"imageDisplayOptions,omitempty"` + + // Items: Required. List of items in the Browse Carousel Card. Minimum + // of two items, maximum of ten. + Items []*GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItem `json:"items,omitempty"` + + // ForceSendFields is a list of field names (e.g. "ImageDisplayOptions") + // 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. "ImageDisplayOptions") 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 *GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCard) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCard + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarou +// selCardItem: Browsing carousel tile +type GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItem struct { + // Description: Optional. Description of the carousel item. Maximum of + // four lines of text. + Description string `json:"description,omitempty"` + + // Footer: Optional. Text that appears at the bottom of the Browse + // Carousel Card. Maximum of one line of text. + Footer string `json:"footer,omitempty"` + + // Image: Optional. Hero image for the carousel item. + Image *GoogleCloudDialogflowV2beta1IntentMessageImage `json:"image,omitempty"` + + // OpenUriAction: Required. Action to present to the user. + OpenUriAction *GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction `json:"openUriAction,omitempty"` + + // Title: Required. Title of the carousel item. Maximum of two lines of + // text. + 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 *GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItem) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItem + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarou +// selCardItemOpenUrlAction: Actions on Google action to open a given +// url. +type GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction struct { + // Url: Required. URL + Url string `json:"url,omitempty"` + + // UrlTypeHint: Optional. Specifies the type of viewer that is used when + // opening the URL. Defaults to opening via web browser. + // + // Possible values: + // "URL_TYPE_HINT_UNSPECIFIED" - Unspecified + // "AMP_ACTION" - Url would be an amp action + // "AMP_CONTENT" - URL that points directly to AMP content, or to a + // canonical URL which refers to AMP content via . + UrlTypeHint string `json:"urlTypeHint,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Url") 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. "Url") 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 *GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1IntentMessageCard: The card response +// message. +type GoogleCloudDialogflowV2beta1IntentMessageCard struct { + // Buttons: Optional. The collection of card buttons. + Buttons []*GoogleCloudDialogflowV2beta1IntentMessageCardButton `json:"buttons,omitempty"` + + // ImageUri: Optional. The public URI to an image file for the card. + ImageUri string `json:"imageUri,omitempty"` + + // Subtitle: Optional. The subtitle of the card. + Subtitle string `json:"subtitle,omitempty"` + + // Title: Optional. The title of the card. + Title string `json:"title,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Buttons") 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. "Buttons") 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 *GoogleCloudDialogflowV2beta1IntentMessageCard) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageCard + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1IntentMessageCardButton: Optional. +// Contains information about a button. +type GoogleCloudDialogflowV2beta1IntentMessageCardButton struct { + // Postback: Optional. The text to send back to the Dialogflow API or a + // URI to open. + Postback string `json:"postback,omitempty"` + + // Text: Optional. The text to show on the button. + Text string `json:"text,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Postback") 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. "Postback") 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 *GoogleCloudDialogflowV2beta1IntentMessageCardButton) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageCardButton + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1IntentMessageCarouselSelect: The card for +// presenting a carousel of options to select from. +type GoogleCloudDialogflowV2beta1IntentMessageCarouselSelect struct { + // Items: Required. Carousel items. + Items []*GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItem `json:"items,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Items") 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. "Items") 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 *GoogleCloudDialogflowV2beta1IntentMessageCarouselSelect) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageCarouselSelect + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItem: An item +// in the carousel. +type GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItem struct { + // Description: Optional. The body text of the card. + Description string `json:"description,omitempty"` + + // Image: Optional. The image to display. + Image *GoogleCloudDialogflowV2beta1IntentMessageImage `json:"image,omitempty"` + + // Info: Required. Additional info about the option item. + Info *GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo `json:"info,omitempty"` + + // Title: Required. Title of the carousel item. + 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 *GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItem) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItem + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1IntentMessageColumnProperties: Column +// properties for TableCard. +type GoogleCloudDialogflowV2beta1IntentMessageColumnProperties struct { + // Header: Required. Column heading. + Header string `json:"header,omitempty"` + + // HorizontalAlignment: Optional. Defines text alignment for all cells + // in this column. + // + // Possible values: + // "HORIZONTAL_ALIGNMENT_UNSPECIFIED" - Text is aligned to the leading + // edge of the column. + // "LEADING" - Text is aligned to the leading edge of the column. + // "CENTER" - Text is centered in the column. + // "TRAILING" - Text is aligned to the trailing edge of the column. + HorizontalAlignment string `json:"horizontalAlignment,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Header") 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. "Header") 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 *GoogleCloudDialogflowV2beta1IntentMessageColumnProperties) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageColumnProperties + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1IntentMessageImage: The image response +// message. +type GoogleCloudDialogflowV2beta1IntentMessageImage struct { + // AccessibilityText: A text description of the image to be used for + // accessibility, e.g., screen readers. Required if image_uri is set for + // CarouselSelect. + AccessibilityText string `json:"accessibilityText,omitempty"` + + // ImageUri: Optional. The public URI to an image file. + ImageUri string `json:"imageUri,omitempty"` + + // ForceSendFields is a list of field names (e.g. "AccessibilityText") + // 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. "AccessibilityText") 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 *GoogleCloudDialogflowV2beta1IntentMessageImage) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageImage + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1IntentMessageLinkOutSuggestion: The +// suggestion chip message that allows the user to jump out to the app +// or website associated with this agent. +type GoogleCloudDialogflowV2beta1IntentMessageLinkOutSuggestion struct { + // DestinationName: Required. The name of the app or site this chip is + // linking to. + DestinationName string `json:"destinationName,omitempty"` + + // Uri: Required. The URI of the app or site to open when the user taps + // the suggestion chip. + Uri string `json:"uri,omitempty"` + + // ForceSendFields is a list of field names (e.g. "DestinationName") 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. "DestinationName") 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 *GoogleCloudDialogflowV2beta1IntentMessageLinkOutSuggestion) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageLinkOutSuggestion + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1IntentMessageListSelect: The card for +// presenting a list of options to select from. +type GoogleCloudDialogflowV2beta1IntentMessageListSelect struct { + // Items: Required. List items. + Items []*GoogleCloudDialogflowV2beta1IntentMessageListSelectItem `json:"items,omitempty"` + + // Subtitle: Optional. Subtitle of the list. + Subtitle string `json:"subtitle,omitempty"` + + // Title: Optional. The overall title of the list. + Title string `json:"title,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Items") 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. "Items") 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 *GoogleCloudDialogflowV2beta1IntentMessageListSelect) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageListSelect + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1IntentMessageListSelectItem: An item in +// the list. +type GoogleCloudDialogflowV2beta1IntentMessageListSelectItem struct { + // Description: Optional. The main text describing the item. + Description string `json:"description,omitempty"` + + // Image: Optional. The image to display. + Image *GoogleCloudDialogflowV2beta1IntentMessageImage `json:"image,omitempty"` + + // Info: Required. Additional information about this option. + Info *GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo `json:"info,omitempty"` + + // Title: Required. The title of the list item. + 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 *GoogleCloudDialogflowV2beta1IntentMessageListSelectItem) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageListSelectItem + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1IntentMessageMediaContent: The media +// content card for Actions on Google. +type GoogleCloudDialogflowV2beta1IntentMessageMediaContent struct { + // MediaObjects: Required. List of media objects. + MediaObjects []*GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObject `json:"mediaObjects,omitempty"` + + // MediaType: Optional. What type of media is the content (ie "audio"). + // + // Possible values: + // "RESPONSE_MEDIA_TYPE_UNSPECIFIED" - Unspecified. + // "AUDIO" - Response media type is audio. + MediaType string `json:"mediaType,omitempty"` + + // ForceSendFields is a list of field names (e.g. "MediaObjects") 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. "MediaObjects") 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 *GoogleCloudDialogflowV2beta1IntentMessageMediaContent) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageMediaContent + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObje +// ct: Response media object for media content card. +type GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObject struct { + // ContentUrl: Required. Url where the media is stored. + ContentUrl string `json:"contentUrl,omitempty"` + + // Description: Optional. Description of media card. + Description string `json:"description,omitempty"` + + // Icon: Optional. Icon to display above media content. + Icon *GoogleCloudDialogflowV2beta1IntentMessageImage `json:"icon,omitempty"` + + // LargeImage: Optional. Image to display above media content. + LargeImage *GoogleCloudDialogflowV2beta1IntentMessageImage `json:"largeImage,omitempty"` + + // Name: Required. Name of media card. + Name string `json:"name,omitempty"` + + // ForceSendFields is a list of field names (e.g. "ContentUrl") 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. "ContentUrl") 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 *GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObject) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObject + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1IntentMessageQuickReplies: The quick +// replies response message. +type GoogleCloudDialogflowV2beta1IntentMessageQuickReplies struct { + // QuickReplies: Optional. The collection of quick replies. + QuickReplies []string `json:"quickReplies,omitempty"` + + // Title: Optional. The title of the collection of quick replies. + Title string `json:"title,omitempty"` + + // ForceSendFields is a list of field names (e.g. "QuickReplies") 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. "QuickReplies") 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 *GoogleCloudDialogflowV2beta1IntentMessageQuickReplies) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageQuickReplies + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent: Rich +// Business Messaging (RBM) Card content +type GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent struct { + // Description: Optional. Description of the card (at most 2000 bytes). + // At least one of the title, description or media must be set. + Description string `json:"description,omitempty"` + + // Media: Optional. However at least one of the title, description or + // media must be set. Media (image, GIF or a video) to include in the + // card. + Media *GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMedia `json:"media,omitempty"` + + // Suggestions: Optional. List of suggestions to include in the card. + Suggestions []*GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion `json:"suggestions,omitempty"` + + // Title: Optional. Title of the card (at most 200 bytes). At least one + // of the title, description or media must be set. + 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 *GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMedia: Rich +// Business Messaging (RBM) Media displayed in Cards The following +// media-types are currently supported: Image Types * image/jpeg * +// image/jpg' * image/gif * image/png Video Types * video/h263 * +// video/m4v * video/mp4 * video/mpeg * video/mpeg4 * video/webm +type GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMedia struct { + // FileUri: Required. Publicly reachable URI of the file. The RBM + // platform determines the MIME type of the file from the content-type + // field in the HTTP headers when the platform fetches the file. The + // content-type field must be present and accurate in the HTTP response + // from the URL. + FileUri string `json:"fileUri,omitempty"` + + // Height: Required for cards with vertical orientation. The height of + // the media within a rich card with a vertical layout. For a standalone + // card with horizontal layout, height is not customizable, and this + // field is ignored. + // + // Possible values: + // "HEIGHT_UNSPECIFIED" - Not specified. + // "SHORT" - 112 DP. + // "MEDIUM" - 168 DP. + // "TALL" - 264 DP. Not available for rich card carousels when the + // card width is set to small. + Height string `json:"height,omitempty"` + + // ThumbnailUri: Optional. Publicly reachable URI of the thumbnail.If + // you don't provide a thumbnail URI, the RBM platform displays a blank + // placeholder thumbnail until the user's device downloads the file. + // Depending on the user's setting, the file may not download + // automatically and may require the user to tap a download button. + ThumbnailUri string `json:"thumbnailUri,omitempty"` + + // ForceSendFields is a list of field names (e.g. "FileUri") 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. "FileUri") 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 *GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMedia) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMedia + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard: Carousel +// Rich Business Messaging (RBM) rich card. Rich cards allow you to +// respond to users with more vivid content, e.g. with media and +// suggestions. If you want to show a single card with more control over +// the layout, please use RbmStandaloneCard instead. +type GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard struct { + // CardContents: Required. The cards in the carousel. A carousel must + // have at least 2 cards and at most 10. + CardContents []*GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent `json:"cardContents,omitempty"` + + // CardWidth: Required. The width of the cards in the carousel. + // + // Possible values: + // "CARD_WIDTH_UNSPECIFIED" - Not specified. + // "SMALL" - 120 DP. Note that tall media cannot be used. + // "MEDIUM" - 232 DP. + CardWidth string `json:"cardWidth,omitempty"` + + // ForceSendFields is a list of field names (e.g. "CardContents") 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. "CardContents") 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 *GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCard: +// Standalone Rich Business Messaging (RBM) rich card. Rich cards allow +// you to respond to users with more vivid content, e.g. with media and +// suggestions. You can group multiple rich cards into one using +// RbmCarouselCard but carousel cards will give you less control over +// the card layout. +type GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCard struct { + // CardContent: Required. Card content. + CardContent *GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent `json:"cardContent,omitempty"` + + // CardOrientation: Required. Orientation of the card. + // + // Possible values: + // "CARD_ORIENTATION_UNSPECIFIED" - Not specified. + // "HORIZONTAL" - Horizontal layout. + // "VERTICAL" - Vertical layout. + CardOrientation string `json:"cardOrientation,omitempty"` + + // ThumbnailImageAlignment: Required if orientation is horizontal. Image + // preview alignment for standalone cards with horizontal layout. + // + // Possible values: + // "THUMBNAIL_IMAGE_ALIGNMENT_UNSPECIFIED" - Not specified. + // "LEFT" - Thumbnail preview is left-aligned. + // "RIGHT" - Thumbnail preview is right-aligned. + ThumbnailImageAlignment string `json:"thumbnailImageAlignment,omitempty"` + + // ForceSendFields is a list of field names (e.g. "CardContent") 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. "CardContent") 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 *GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCard) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCard + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction: Rich +// Business Messaging (RBM) suggested client-side action that the user +// can choose from the card. +type GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction struct { + // Dial: Suggested client side action: Dial a phone number + Dial *GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDial `json:"dial,omitempty"` + + // OpenUrl: Suggested client side action: Open a URI on device + OpenUrl *GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionOpenUri `json:"openUrl,omitempty"` + + // PostbackData: Opaque payload that the Dialogflow receives in a user + // event when the user taps the suggested action. This data will be also + // forwarded to webhook to allow performing custom business logic. + PostbackData string `json:"postbackData,omitempty"` + + // ShareLocation: Suggested client side action: Share user location + ShareLocation *GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionShareLocation `json:"shareLocation,omitempty"` + + // Text: Text to display alongside the action. + Text string `json:"text,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Dial") 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. "Dial") 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 *GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggeste +// dActionDial: Opens the user's default dialer app with the specified +// phone number but does not dial automatically. +type GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDial struct { + // PhoneNumber: Required. The phone number to fill in the default dialer + // app. This field should be in + // [E.164](https://en.wikipedia.org/wiki/E.164) format. An example of a + // correctly formatted phone number: +15556767888. + PhoneNumber string `json:"phoneNumber,omitempty"` + + // ForceSendFields is a list of field names (e.g. "PhoneNumber") 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. "PhoneNumber") 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 *GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDial) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDial + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggeste +// dActionOpenUri: Opens the user's default web browser app to the +// specified uri If the user has an app installed that is registered as +// the default handler for the URL, then this app will be opened +// instead, and its icon will be used in the suggested action UI. +type GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionOpenUri struct { + // Uri: Required. The uri to open on the user device + Uri string `json:"uri,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Uri") 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. "Uri") 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 *GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionOpenUri) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionOpenUri + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggeste +// dActionShareLocation: Opens the device's location chooser so the user +// can pick a location to send back to the agent. +type GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionShareLocation struct { +} + +// GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReply: Rich +// Business Messaging (RBM) suggested reply that the user can click +// instead of typing in their own response. +type GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReply struct { + // PostbackData: Opaque payload that the Dialogflow receives in a user + // event when the user taps the suggested reply. This data will be also + // forwarded to webhook to allow performing custom business logic. + PostbackData string `json:"postbackData,omitempty"` + + // Text: Suggested reply text. + Text string `json:"text,omitempty"` + + // ForceSendFields is a list of field names (e.g. "PostbackData") 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. "PostbackData") 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 *GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReply) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReply + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion: Rich Business +// Messaging (RBM) suggestion. Suggestions allow user to easily +// select/click a predefined response or perform an action (like opening +// a web uri). +type GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion struct { + // Action: Predefined client side actions that user can choose + Action *GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction `json:"action,omitempty"` + + // Reply: Predefined replies for user to select instead of typing + Reply *GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReply `json:"reply,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Action") 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. "Action") 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 *GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1IntentMessageRbmText: Rich Business +// Messaging (RBM) text response with suggestions. +type GoogleCloudDialogflowV2beta1IntentMessageRbmText struct { + // RbmSuggestion: Optional. One or more suggestions to show to the user. + RbmSuggestion []*GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion `json:"rbmSuggestion,omitempty"` + + // Text: Required. Text sent and displayed to the user. + Text string `json:"text,omitempty"` + + // ForceSendFields is a list of field names (e.g. "RbmSuggestion") 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. "RbmSuggestion") 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 *GoogleCloudDialogflowV2beta1IntentMessageRbmText) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageRbmText + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo: Additional +// info about the select item for when it is triggered in a dialog. +type GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo struct { + // Key: Required. A unique key that will be sent back to the agent if + // this response is given. + Key string `json:"key,omitempty"` + + // Synonyms: Optional. A list of synonyms that can also be used to + // trigger this item in dialog. + Synonyms []string `json:"synonyms,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Key") 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. "Key") 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 *GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse: The simple +// response message containing speech or text. +type GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse struct { + // DisplayText: Optional. The text to display. + DisplayText string `json:"displayText,omitempty"` + + // Ssml: One of text_to_speech or ssml must be provided. Structured + // spoken response to the user in the SSML format. Mutually exclusive + // with text_to_speech. + Ssml string `json:"ssml,omitempty"` + + // TextToSpeech: One of text_to_speech or ssml must be provided. The + // plain text of the speech output. Mutually exclusive with ssml. + TextToSpeech string `json:"textToSpeech,omitempty"` + + // ForceSendFields is a list of field names (e.g. "DisplayText") 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. "DisplayText") 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 *GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1IntentMessageSimpleResponses: The +// collection of simple response candidates. This message in +// `QueryResult.fulfillment_messages` and +// `WebhookResponse.fulfillment_messages` should contain only one +// `SimpleResponse`. +type GoogleCloudDialogflowV2beta1IntentMessageSimpleResponses struct { + // SimpleResponses: Required. The list of simple responses. + SimpleResponses []*GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse `json:"simpleResponses,omitempty"` + + // ForceSendFields is a list of field names (e.g. "SimpleResponses") 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. "SimpleResponses") 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 *GoogleCloudDialogflowV2beta1IntentMessageSimpleResponses) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageSimpleResponses + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1IntentMessageSuggestion: The suggestion +// chip message that the user can tap to quickly post a reply to the +// conversation. +type GoogleCloudDialogflowV2beta1IntentMessageSuggestion struct { + // Title: Required. The text shown the in the suggestion chip. + Title string `json:"title,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Title") 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. "Title") 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 *GoogleCloudDialogflowV2beta1IntentMessageSuggestion) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageSuggestion + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1IntentMessageSuggestions: The collection +// of suggestions. +type GoogleCloudDialogflowV2beta1IntentMessageSuggestions struct { + // Suggestions: Required. The list of suggested replies. + Suggestions []*GoogleCloudDialogflowV2beta1IntentMessageSuggestion `json:"suggestions,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Suggestions") 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. "Suggestions") 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 *GoogleCloudDialogflowV2beta1IntentMessageSuggestions) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageSuggestions + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1IntentMessageTableCard: Table card for +// Actions on Google. +type GoogleCloudDialogflowV2beta1IntentMessageTableCard struct { + // Buttons: Optional. List of buttons for the card. + Buttons []*GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton `json:"buttons,omitempty"` + + // ColumnProperties: Optional. Display properties for the columns in + // this table. + ColumnProperties []*GoogleCloudDialogflowV2beta1IntentMessageColumnProperties `json:"columnProperties,omitempty"` + + // Image: Optional. Image which should be displayed on the card. + Image *GoogleCloudDialogflowV2beta1IntentMessageImage `json:"image,omitempty"` + + // Rows: Optional. Rows in this table of data. + Rows []*GoogleCloudDialogflowV2beta1IntentMessageTableCardRow `json:"rows,omitempty"` + + // Subtitle: Optional. Subtitle to the title. + Subtitle string `json:"subtitle,omitempty"` + + // Title: Required. Title of the card. + Title string `json:"title,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Buttons") 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. "Buttons") 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 *GoogleCloudDialogflowV2beta1IntentMessageTableCard) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageTableCard + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1IntentMessageTableCardCell: Cell of +// TableCardRow. +type GoogleCloudDialogflowV2beta1IntentMessageTableCardCell struct { + // Text: Required. Text in this cell. + Text string `json:"text,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Text") 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. "Text") 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 *GoogleCloudDialogflowV2beta1IntentMessageTableCardCell) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageTableCardCell + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1IntentMessageTableCardRow: Row of +// TableCard. +type GoogleCloudDialogflowV2beta1IntentMessageTableCardRow struct { + // Cells: Optional. List of cells that make up this row. + Cells []*GoogleCloudDialogflowV2beta1IntentMessageTableCardCell `json:"cells,omitempty"` + + // DividerAfter: Optional. Whether to add a visual divider after this + // row. + DividerAfter bool `json:"dividerAfter,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Cells") 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. "Cells") 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 *GoogleCloudDialogflowV2beta1IntentMessageTableCardRow) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageTableCardRow + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudio: Plays +// audio from a file in Telephony Gateway. +type GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudio struct { + // AudioUri: Required. URI to a Google Cloud Storage object containing + // the audio to play, e.g., "gs://bucket/object". The object must + // contain a single channel (mono) of linear PCM audio (2 bytes / + // sample) at 8kHz. This object must be readable by the + // `service-@gcp-sa-dialogflow.iam.gserviceaccount.com` service account + // where is the number of the Telephony Gateway project (usually the + // same as the Dialogflow agent project). If the Google Cloud Storage + // bucket is in the Telephony Gateway project, this permission is added + // by default when enabling the Dialogflow V2 API. For audio from other + // sources, consider using the `TelephonySynthesizeSpeech` message with + // SSML. + AudioUri string `json:"audioUri,omitempty"` + + // ForceSendFields is a list of field names (e.g. "AudioUri") 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. "AudioUri") 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 *GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudio) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudio + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeech: +// Synthesizes speech and plays back the synthesized audio to the caller +// in Telephony Gateway. Telephony Gateway takes the synthesizer +// settings from `DetectIntentResponse.output_audio_config` which can +// either be set at request-level or can come from the agent-level +// synthesizer config. +type GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeech struct { + // Ssml: The SSML to be synthesized. For more information, see + // [SSML](https://developers.google.com/actions/reference/ssml). + Ssml string `json:"ssml,omitempty"` + + // Text: The raw text to be synthesized. + Text string `json:"text,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Ssml") 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. "Ssml") 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 *GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeech) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeech + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCall: +// Transfers the call in Telephony Gateway. +type GoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCall struct { + // PhoneNumber: Required. The phone number to transfer the call to in + // [E.164 format](https://en.wikipedia.org/wiki/E.164). We currently + // only allow transferring to US numbers (+1xxxyyyzzzz). + PhoneNumber string `json:"phoneNumber,omitempty"` + + // ForceSendFields is a list of field names (e.g. "PhoneNumber") 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. "PhoneNumber") 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 *GoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCall) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCall + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1IntentMessageText: The text response +// message. +type GoogleCloudDialogflowV2beta1IntentMessageText struct { + // Text: Optional. The collection of the agent's responses. + Text []string `json:"text,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Text") 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. "Text") 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 *GoogleCloudDialogflowV2beta1IntentMessageText) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentMessageText + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1IntentParameter: Represents intent +// parameters. +type GoogleCloudDialogflowV2beta1IntentParameter struct { + // DefaultValue: Optional. The default value to use when the `value` + // yields an empty result. Default values can be extracted from contexts + // by using the following syntax: `#context_name.parameter_name`. + DefaultValue string `json:"defaultValue,omitempty"` + + // DisplayName: Required. The name of the parameter. + DisplayName string `json:"displayName,omitempty"` + + // EntityTypeDisplayName: Optional. The name of the entity type, + // prefixed with `@`, that describes values of the parameter. If the + // parameter is required, this must be provided. + EntityTypeDisplayName string `json:"entityTypeDisplayName,omitempty"` + + // IsList: Optional. Indicates whether the parameter represents a list + // of values. + IsList bool `json:"isList,omitempty"` + + // Mandatory: Optional. Indicates whether the parameter is required. + // That is, whether the intent cannot be completed without collecting + // the parameter value. + Mandatory bool `json:"mandatory,omitempty"` + + // Name: The unique identifier of this parameter. + Name string `json:"name,omitempty"` + + // Prompts: Optional. The collection of prompts that the agent can + // present to the user in order to collect a value for the parameter. + Prompts []string `json:"prompts,omitempty"` + + // Value: Optional. The definition of the parameter value. It can be: - + // a constant string, - a parameter value defined as `$parameter_name`, + // - an original parameter value defined as `$parameter_name.original`, + // - a parameter value from some context defined as + // `#context_name.parameter_name`. + Value string `json:"value,omitempty"` + + // ForceSendFields is a list of field names (e.g. "DefaultValue") 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. "DefaultValue") 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 *GoogleCloudDialogflowV2beta1IntentParameter) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentParameter + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1IntentTrainingPhrase: Represents an +// example that the agent is trained on. +type GoogleCloudDialogflowV2beta1IntentTrainingPhrase struct { + // Name: Output only. The unique identifier of this training phrase. + Name string `json:"name,omitempty"` + + // Parts: Required. The ordered list of training phrase parts. The parts + // are concatenated in order to form the training phrase. Note: The API + // does not automatically annotate training phrases like the Dialogflow + // Console does. Note: Do not forget to include whitespace at part + // boundaries, so the training phrase is well formatted when the parts + // are concatenated. If the training phrase does not need to be + // annotated with parameters, you just need a single part with only the + // Part.text field set. If you want to annotate the training phrase, you + // must create multiple parts, where the fields of each part are + // populated in one of two ways: - `Part.text` is set to a part of the + // phrase that has no parameters. - `Part.text` is set to a part of the + // phrase that you want to annotate, and the `entity_type`, `alias`, and + // `user_defined` fields are all set. + Parts []*GoogleCloudDialogflowV2beta1IntentTrainingPhrasePart `json:"parts,omitempty"` + + // TimesAddedCount: Optional. Indicates how many times this example was + // added to the intent. Each time a developer adds an existing sample by + // editing an intent or training, this counter is increased. + TimesAddedCount int64 `json:"timesAddedCount,omitempty"` + + // Type: Required. The type of the training phrase. + // + // Possible values: + // "TYPE_UNSPECIFIED" - Not specified. This value should never be + // used. + // "EXAMPLE" - Examples do not contain @-prefixed entity type names, + // but example parts can be annotated with entity types. + // "TEMPLATE" - Templates are not annotated with entity types, but + // they can contain @-prefixed entity type names as substrings. Template + // mode has been deprecated. Example mode is the only supported way to + // create new training phrases. If you have existing training phrases + // that you've created in template mode, those will continue to work. + Type string `json:"type,omitempty"` + + // 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 *GoogleCloudDialogflowV2beta1IntentTrainingPhrase) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentTrainingPhrase + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1IntentTrainingPhrasePart: Represents a +// part of a training phrase. +type GoogleCloudDialogflowV2beta1IntentTrainingPhrasePart struct { + // Alias: Optional. The parameter name for the value extracted from the + // annotated part of the example. This field is required for annotated + // parts of the training phrase. + Alias string `json:"alias,omitempty"` + + // EntityType: Optional. The entity type name prefixed with `@`. This + // field is required for annotated parts of the training phrase. + EntityType string `json:"entityType,omitempty"` + + // Text: Required. The text for this part. + Text string `json:"text,omitempty"` + + // UserDefined: Optional. Indicates whether the text was manually + // annotated. This field is set to true when the Dialogflow Console is + // used to manually annotate the part. When creating an annotated part + // with the API, you must set this to true. + UserDefined bool `json:"userDefined,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Alias") 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. "Alias") 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 *GoogleCloudDialogflowV2beta1IntentTrainingPhrasePart) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1IntentTrainingPhrasePart + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1KnowledgeAnswers: Represents the result +// of querying a Knowledge base. +type GoogleCloudDialogflowV2beta1KnowledgeAnswers struct { + // Answers: A list of answers from Knowledge Connector. + Answers []*GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer `json:"answers,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Answers") 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. "Answers") 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 *GoogleCloudDialogflowV2beta1KnowledgeAnswers) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1KnowledgeAnswers + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer: An answer from +// Knowledge Connector. +type GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer struct { + // Answer: The piece of text from the `source` knowledge base document + // that answers this conversational query. + Answer string `json:"answer,omitempty"` + + // FaqQuestion: The corresponding FAQ question if the answer was + // extracted from a FAQ Document, empty otherwise. + FaqQuestion string `json:"faqQuestion,omitempty"` + + // MatchConfidence: The system's confidence score that this Knowledge + // answer is a good match for this conversational query. The range is + // from 0.0 (completely uncertain) to 1.0 (completely certain). Note: + // The confidence score is likely to vary somewhat (possibly even for + // identical requests), as the underlying model is under constant + // improvement. It may be deprecated in the future. We recommend using + // `match_confidence_level` which should be generally more stable. + MatchConfidence float64 `json:"matchConfidence,omitempty"` + + // MatchConfidenceLevel: The system's confidence level that this + // knowledge answer is a good match for this conversational query. NOTE: + // The confidence level for a given `` pair may change without notice, + // as it depends on models that are constantly being improved. However, + // it will change less frequently than the confidence score below, and + // should be preferred for referencing the quality of an answer. + // + // Possible values: + // "MATCH_CONFIDENCE_LEVEL_UNSPECIFIED" - Not specified. + // "LOW" - Indicates that the confidence is low. + // "MEDIUM" - Indicates our confidence is medium. + // "HIGH" - Indicates our confidence is high. + MatchConfidenceLevel string `json:"matchConfidenceLevel,omitempty"` + + // Source: Indicates which Knowledge Document this answer was extracted + // from. Format: `projects//knowledgeBases//documents/`. + Source string `json:"source,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Answer") 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. "Answer") 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 *GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +func (s *GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer) UnmarshalJSON(data []byte) error { + type NoMethod GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer + var s1 struct { + MatchConfidence gensupport.JSONFloat64 `json:"matchConfidence"` + *NoMethod + } + s1.NoMethod = (*NoMethod)(s) + if err := json.Unmarshal(data, &s1); err != nil { + return err + } + s.MatchConfidence = float64(s1.MatchConfidence) + return nil +} + +// GoogleCloudDialogflowV2beta1KnowledgeOperationMetadata: Metadata in +// google::longrunning::Operation for Knowledge operations. +type GoogleCloudDialogflowV2beta1KnowledgeOperationMetadata struct { + // State: Required. Output only. The current state of this operation. + // + // Possible values: + // "STATE_UNSPECIFIED" - State unspecified. + // "PENDING" - The operation has been created. + // "RUNNING" - The operation is currently running. + // "DONE" - The operation is done, either cancelled or completed. + State string `json:"state,omitempty"` + + // ForceSendFields is a list of field names (e.g. "State") 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. "State") 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 *GoogleCloudDialogflowV2beta1KnowledgeOperationMetadata) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1KnowledgeOperationMetadata + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest: Represents +// the contents of the original request that was passed to the +// `[Streaming]DetectIntent` call. +type GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest struct { + // Payload: Optional. This field is set to the value of the + // `QueryParameters.payload` field passed in the request. Some + // integrations that query a Dialogflow agent may provide additional + // information in the payload. In particular, for the Dialogflow Phone + // Gateway integration, this field has the form: { "telephony": { + // "caller_id": "+18558363987" } } Note: The caller ID field + // (`caller_id`) will be redacted for Trial Edition agents and populated + // with the caller ID in [E.164 + // format](https://en.wikipedia.org/wiki/E.164) for Essentials Edition + // agents. + Payload googleapi.RawMessage `json:"payload,omitempty"` + + // Source: The source of this request, e.g., `google`, `facebook`, + // `slack`. It is set by Dialogflow-owned servers. + Source string `json:"source,omitempty"` + + // Version: Optional. The version of the protocol used for this request. + // This field is AoG-specific. + Version string `json:"version,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Payload") 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. "Payload") 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 *GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1QueryResult: Represents the result of +// conversational query or event processing. +type GoogleCloudDialogflowV2beta1QueryResult struct { + // Action: The action name from the matched intent. + Action string `json:"action,omitempty"` + + // AllRequiredParamsPresent: This field is set to: - `false` if the + // matched intent has required parameters and not all of the required + // parameter values have been collected. - `true` if all required + // parameter values have been collected, or if the matched intent + // doesn't contain any required parameters. + AllRequiredParamsPresent bool `json:"allRequiredParamsPresent,omitempty"` + + // DiagnosticInfo: Free-form diagnostic information for the associated + // detect intent request. The fields of this data can change without + // notice, so you should not write code that depends on its structure. + // The data may contain: - webhook call latency - webhook errors + DiagnosticInfo googleapi.RawMessage `json:"diagnosticInfo,omitempty"` + + // FulfillmentMessages: The collection of rich messages to present to + // the user. + FulfillmentMessages []*GoogleCloudDialogflowV2beta1IntentMessage `json:"fulfillmentMessages,omitempty"` + + // FulfillmentText: The text to be pronounced to the user or shown on + // the screen. Note: This is a legacy field, `fulfillment_messages` + // should be preferred. + FulfillmentText string `json:"fulfillmentText,omitempty"` + + // Intent: The intent that matched the conversational query. Some, not + // all fields are filled in this message, including but not limited to: + // `name`, `display_name`, `end_interaction` and `is_fallback`. + Intent *GoogleCloudDialogflowV2beta1Intent `json:"intent,omitempty"` + + // IntentDetectionConfidence: The intent detection confidence. Values + // range from 0.0 (completely uncertain) to 1.0 (completely certain). + // This value is for informational purpose only and is only used to help + // match the best intent within the classification threshold. This value + // may change for the same end-user expression at any time due to a + // model retraining or change in implementation. If there are `multiple + // knowledge_answers` messages, this value is set to the greatest + // `knowledgeAnswers.match_confidence` value in the list. + IntentDetectionConfidence float64 `json:"intentDetectionConfidence,omitempty"` + + // KnowledgeAnswers: The result from Knowledge Connector (if any), + // ordered by decreasing `KnowledgeAnswers.match_confidence`. + KnowledgeAnswers *GoogleCloudDialogflowV2beta1KnowledgeAnswers `json:"knowledgeAnswers,omitempty"` + + // LanguageCode: The language that was triggered during intent + // detection. See [Language + // Support](https://cloud.google.com/dialogflow/docs/reference/language) + // for a list of the currently supported language codes. + LanguageCode string `json:"languageCode,omitempty"` + + // OutputContexts: The collection of output contexts. If applicable, + // `output_contexts.parameters` contains entries with name `.original` + // containing the original parameter values before the query. + OutputContexts []*GoogleCloudDialogflowV2beta1Context `json:"outputContexts,omitempty"` + + // Parameters: The collection of extracted parameters. Depending on your + // protocol or client library language, this is a map, associative + // array, symbol table, dictionary, or JSON object composed of a + // collection of (MapKey, MapValue) pairs: - MapKey type: string - + // MapKey value: parameter name - MapValue type: - If parameter's entity + // type is a composite entity: map - Else: string or number, depending + // on parameter value type - MapValue value: - If parameter's entity + // type is a composite entity: map from composite entity property names + // to property values - Else: parameter value + Parameters googleapi.RawMessage `json:"parameters,omitempty"` + + // QueryText: The original conversational query text: - If natural + // language text was provided as input, `query_text` contains a copy of + // the input. - If natural language speech audio was provided as input, + // `query_text` contains the speech recognition result. If speech + // recognizer produced multiple alternatives, a particular one is + // picked. - If automatic spell correction is enabled, `query_text` will + // contain the corrected user input. + QueryText string `json:"queryText,omitempty"` + + // SentimentAnalysisResult: The sentiment analysis result, which depends + // on the `sentiment_analysis_request_config` specified in the request. + SentimentAnalysisResult *GoogleCloudDialogflowV2beta1SentimentAnalysisResult `json:"sentimentAnalysisResult,omitempty"` + + // SpeechRecognitionConfidence: The Speech recognition confidence + // between 0.0 and 1.0. A higher number indicates an estimated greater + // likelihood that the recognized words are correct. The default of 0.0 + // is a sentinel value indicating that confidence was not set. This + // field is not guaranteed to be accurate or set. In particular this + // field isn't set for StreamingDetectIntent since the streaming + // endpoint has separate confidence estimates per portion of the audio + // in StreamingRecognitionResult. + SpeechRecognitionConfidence float64 `json:"speechRecognitionConfidence,omitempty"` + + // WebhookPayload: If the query was fulfilled by a webhook call, this + // field is set to the value of the `payload` field returned in the + // webhook response. + WebhookPayload googleapi.RawMessage `json:"webhookPayload,omitempty"` + + // WebhookSource: If the query was fulfilled by a webhook call, this + // field is set to the value of the `source` field returned in the + // webhook response. + WebhookSource string `json:"webhookSource,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Action") 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. "Action") 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 *GoogleCloudDialogflowV2beta1QueryResult) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1QueryResult + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +func (s *GoogleCloudDialogflowV2beta1QueryResult) UnmarshalJSON(data []byte) error { + type NoMethod GoogleCloudDialogflowV2beta1QueryResult + var s1 struct { + IntentDetectionConfidence gensupport.JSONFloat64 `json:"intentDetectionConfidence"` + SpeechRecognitionConfidence gensupport.JSONFloat64 `json:"speechRecognitionConfidence"` + *NoMethod + } + s1.NoMethod = (*NoMethod)(s) + if err := json.Unmarshal(data, &s1); err != nil { + return err + } + s.IntentDetectionConfidence = float64(s1.IntentDetectionConfidence) + s.SpeechRecognitionConfidence = float64(s1.SpeechRecognitionConfidence) + return nil +} + +// GoogleCloudDialogflowV2beta1Sentiment: The sentiment, such as +// positive/negative feeling or association, for a unit of analysis, +// such as the query text. +type GoogleCloudDialogflowV2beta1Sentiment struct { + // Magnitude: A non-negative number in the [0, +inf) range, which + // represents the absolute magnitude of sentiment, regardless of score + // (positive or negative). + Magnitude float64 `json:"magnitude,omitempty"` + + // Score: Sentiment score between -1.0 (negative sentiment) and 1.0 + // (positive sentiment). + Score float64 `json:"score,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Magnitude") 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. "Magnitude") 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 *GoogleCloudDialogflowV2beta1Sentiment) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1Sentiment + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +func (s *GoogleCloudDialogflowV2beta1Sentiment) UnmarshalJSON(data []byte) error { + type NoMethod GoogleCloudDialogflowV2beta1Sentiment + var s1 struct { + Magnitude gensupport.JSONFloat64 `json:"magnitude"` + Score gensupport.JSONFloat64 `json:"score"` + *NoMethod + } + s1.NoMethod = (*NoMethod)(s) + if err := json.Unmarshal(data, &s1); err != nil { + return err + } + s.Magnitude = float64(s1.Magnitude) + s.Score = float64(s1.Score) + return nil +} + +// GoogleCloudDialogflowV2beta1SentimentAnalysisResult: The result of +// sentiment analysis. Sentiment analysis inspects user input and +// identifies the prevailing subjective opinion, especially to determine +// a user's attitude as positive, negative, or neutral. For +// Participants.DetectIntent, it needs to be configured in +// DetectIntentRequest.query_params. For +// Participants.StreamingDetectIntent, it needs to be configured in +// StreamingDetectIntentRequest.query_params. And for +// Participants.AnalyzeContent and Participants.StreamingAnalyzeContent, +// it needs to be configured in +// ConversationProfile.human_agent_assistant_config +type GoogleCloudDialogflowV2beta1SentimentAnalysisResult struct { + // QueryTextSentiment: The sentiment analysis result for `query_text`. + QueryTextSentiment *GoogleCloudDialogflowV2beta1Sentiment `json:"queryTextSentiment,omitempty"` + + // ForceSendFields is a list of field names (e.g. "QueryTextSentiment") + // 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. "QueryTextSentiment") 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 *GoogleCloudDialogflowV2beta1SentimentAnalysisResult) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1SentimentAnalysisResult + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1SessionEntityType: A session represents a +// conversation between a Dialogflow agent and an end-user. You can +// create special entities, called session entities, during a session. +// Session entities can extend or replace custom entity types and only +// exist during the session that they were created for. All session +// data, including session entities, is stored by Dialogflow for 20 +// minutes. For more information, see the [session entity +// guide](https://cloud.google.com/dialogflow/docs/entities-session). +type GoogleCloudDialogflowV2beta1SessionEntityType struct { + // Entities: Required. The collection of entities associated with this + // session entity type. + Entities []*GoogleCloudDialogflowV2beta1EntityTypeEntity `json:"entities,omitempty"` + + // EntityOverrideMode: Required. Indicates whether the additional data + // should override or supplement the custom entity type definition. + // + // Possible values: + // "ENTITY_OVERRIDE_MODE_UNSPECIFIED" - Not specified. This value + // should be never used. + // "ENTITY_OVERRIDE_MODE_OVERRIDE" - The collection of session + // entities overrides the collection of entities in the corresponding + // custom entity type. + // "ENTITY_OVERRIDE_MODE_SUPPLEMENT" - The collection of session + // entities extends the collection of entities in the corresponding + // custom entity type. Note: Even in this override mode calls to + // `ListSessionEntityTypes`, `GetSessionEntityType`, + // `CreateSessionEntityType` and `UpdateSessionEntityType` only return + // the additional entities added in this session entity type. If you + // want to get the supplemented list, please call + // EntityTypes.GetEntityType on the custom entity type and merge. + EntityOverrideMode string `json:"entityOverrideMode,omitempty"` + + // Name: Required. The unique identifier of this session entity type. + // Supported formats: - `projects//agent/sessions//entityTypes/` - + // `projects//locations//agent/sessions//entityTypes/` - + // `projects//agent/environments//users//sessions//entityTypes/` - + // `projects//locations//agent/environments/ + // /users//sessions//entityTypes/` If `Location ID` is not specified we + // assume default 'us' location. If `Environment ID` is not specified, + // we assume default 'draft' environment. If `User ID` is not specified, + // we assume default '-' user. `` must be the display name of an + // existing entity type in the same agent that will be overridden or + // supplemented. + Name string `json:"name,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Entities") 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. "Entities") 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 *GoogleCloudDialogflowV2beta1SessionEntityType) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1SessionEntityType + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1WebhookRequest: The request message for a +// webhook call. +type GoogleCloudDialogflowV2beta1WebhookRequest struct { + // AlternativeQueryResults: Alternative query results from + // KnowledgeService. + AlternativeQueryResults []*GoogleCloudDialogflowV2beta1QueryResult `json:"alternativeQueryResults,omitempty"` + + // OriginalDetectIntentRequest: Optional. The contents of the original + // request that was passed to `[Streaming]DetectIntent` call. + OriginalDetectIntentRequest *GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest `json:"originalDetectIntentRequest,omitempty"` + + // QueryResult: The result of the conversational query or event + // processing. Contains the same value as + // `[Streaming]DetectIntentResponse.query_result`. + QueryResult *GoogleCloudDialogflowV2beta1QueryResult `json:"queryResult,omitempty"` + + // ResponseId: The unique identifier of the response. Contains the same + // value as `[Streaming]DetectIntentResponse.response_id`. + ResponseId string `json:"responseId,omitempty"` + + // Session: The unique identifier of detectIntent request session. Can + // be used to identify end-user inside webhook implementation. Supported + // formats: - `projects//agent/sessions/, - + // `projects//locations//agent/sessions/`, - + // `projects//agent/environments//users//sessions/`, - + // `projects//locations//agent/environments//users//sessions/`, + Session string `json:"session,omitempty"` + + // ForceSendFields is a list of field names (e.g. + // "AlternativeQueryResults") 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. "AlternativeQueryResults") + // 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 *GoogleCloudDialogflowV2beta1WebhookRequest) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1WebhookRequest + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1WebhookResponse: The response message for +// a webhook call. This response is validated by the Dialogflow server. +// If validation fails, an error will be returned in the +// QueryResult.diagnostic_info field. Setting JSON fields to an empty +// value with the wrong type is a common error. To avoid this error: - +// Use "" for empty strings - Use `{}` or `null` for empty objects - +// Use `[]` or `null` for empty arrays For more information, see the +// [Protocol Buffers Language +// Guide](https://developers.google.com/protocol-buffers/docs/proto3#json +// ). +type GoogleCloudDialogflowV2beta1WebhookResponse struct { + // EndInteraction: Optional. Indicates that this intent ends an + // interaction. Some integrations (e.g., Actions on Google or Dialogflow + // phone gateway) use this information to close interaction with an end + // user. Default is false. + EndInteraction bool `json:"endInteraction,omitempty"` + + // FollowupEventInput: Optional. Invokes the supplied events. When this + // field is set, Dialogflow ignores the `fulfillment_text`, + // `fulfillment_messages`, and `payload` fields. + FollowupEventInput *GoogleCloudDialogflowV2beta1EventInput `json:"followupEventInput,omitempty"` + + // FulfillmentMessages: Optional. The rich response messages intended + // for the end-user. When provided, Dialogflow uses this field to + // populate QueryResult.fulfillment_messages sent to the integration or + // API caller. + FulfillmentMessages []*GoogleCloudDialogflowV2beta1IntentMessage `json:"fulfillmentMessages,omitempty"` + + // FulfillmentText: Optional. The text response message intended for the + // end-user. It is recommended to use + // `fulfillment_messages.text.text[0]` instead. When provided, + // Dialogflow uses this field to populate QueryResult.fulfillment_text + // sent to the integration or API caller. + FulfillmentText string `json:"fulfillmentText,omitempty"` + + // OutputContexts: Optional. The collection of output contexts that will + // overwrite currently active contexts for the session and reset their + // lifespans. When provided, Dialogflow uses this field to populate + // QueryResult.output_contexts sent to the integration or API caller. + OutputContexts []*GoogleCloudDialogflowV2beta1Context `json:"outputContexts,omitempty"` + + // Payload: Optional. This field can be used to pass custom data from + // your webhook to the integration or API caller. Arbitrary JSON objects + // are supported. When provided, Dialogflow uses this field to populate + // QueryResult.webhook_payload sent to the integration or API caller. + // This field is also used by the [Google Assistant + // integration](https://cloud.google.com/dialogflow/docs/integrations/aog + // ) for rich response messages. See the format definition at [Google + // Assistant Dialogflow webhook + // format](https://developers.google.com/assistant/actions/build/json/dia + // logflow-webhook-json) + Payload googleapi.RawMessage `json:"payload,omitempty"` + + // SessionEntityTypes: Optional. Additional session entity types to + // replace or extend developer entity types with. The entity synonyms + // apply to all languages and persist for the session. Setting this data + // from a webhook overwrites the session entity types that have been set + // using `detectIntent`, `streamingDetectIntent` or SessionEntityType + // management methods. + SessionEntityTypes []*GoogleCloudDialogflowV2beta1SessionEntityType `json:"sessionEntityTypes,omitempty"` + + // Source: Optional. A custom field used to identify the webhook source. + // Arbitrary strings are supported. When provided, Dialogflow uses this + // field to populate QueryResult.webhook_source sent to the integration + // or API caller. + Source string `json:"source,omitempty"` + + // ForceSendFields is a list of field names (e.g. "EndInteraction") 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. "EndInteraction") 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 *GoogleCloudDialogflowV2beta1WebhookResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1WebhookResponse + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV3alpha1CreateDocumentOperationMetadata: +// Metadata for CreateDocument operation. +type GoogleCloudDialogflowV3alpha1CreateDocumentOperationMetadata struct { + // GenericMetadata: The generic information of the operation. + GenericMetadata *GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata `json:"genericMetadata,omitempty"` + + // ForceSendFields is a list of field names (e.g. "GenericMetadata") 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. "GenericMetadata") 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 *GoogleCloudDialogflowV3alpha1CreateDocumentOperationMetadata) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV3alpha1CreateDocumentOperationMetadata + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV3alpha1DeleteDocumentOperationMetadata: +// Metadata for DeleteDocument operation. +type GoogleCloudDialogflowV3alpha1DeleteDocumentOperationMetadata struct { + // GenericMetadata: The generic information of the operation. + GenericMetadata *GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata `json:"genericMetadata,omitempty"` + + // ForceSendFields is a list of field names (e.g. "GenericMetadata") 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. "GenericMetadata") 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 *GoogleCloudDialogflowV3alpha1DeleteDocumentOperationMetadata) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV3alpha1DeleteDocumentOperationMetadata + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata: +// Metadata in google::longrunning::Operation for Knowledge operations. +type GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata struct { + // State: Required. Output only. The current state of this operation. + // + // Possible values: + // "STATE_UNSPECIFIED" - State unspecified. + // "PENDING" - The operation has been created. + // "RUNNING" - The operation is currently running. + // "DONE" - The operation is done, either cancelled or completed. + State string `json:"state,omitempty"` + + // ForceSendFields is a list of field names (e.g. "State") 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. "State") 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 *GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV3alpha1ImportDocumentsOperationMetadata: +// Metadata for ImportDocuments operation. +type GoogleCloudDialogflowV3alpha1ImportDocumentsOperationMetadata struct { + // GenericMetadata: The generic information of the operation. + GenericMetadata *GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata `json:"genericMetadata,omitempty"` + + // ForceSendFields is a list of field names (e.g. "GenericMetadata") 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. "GenericMetadata") 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 *GoogleCloudDialogflowV3alpha1ImportDocumentsOperationMetadata) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV3alpha1ImportDocumentsOperationMetadata + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV3alpha1ImportDocumentsResponse: Response +// message for Documents.ImportDocuments. +type GoogleCloudDialogflowV3alpha1ImportDocumentsResponse struct { + // Warnings: Includes details about skipped documents or any other + // warnings. + Warnings []*GoogleRpcStatus `json:"warnings,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Warnings") 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. "Warnings") 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 *GoogleCloudDialogflowV3alpha1ImportDocumentsResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV3alpha1ImportDocumentsResponse + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV3alpha1ReloadDocumentOperationMetadata: +// Metadata for ReloadDocument operation. +type GoogleCloudDialogflowV3alpha1ReloadDocumentOperationMetadata struct { + // GenericMetadata: The generic information of the operation. + GenericMetadata *GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata `json:"genericMetadata,omitempty"` + + // ForceSendFields is a list of field names (e.g. "GenericMetadata") 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. "GenericMetadata") 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 *GoogleCloudDialogflowV3alpha1ReloadDocumentOperationMetadata) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV3alpha1ReloadDocumentOperationMetadata + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV3alpha1UpdateDocumentOperationMetadata: +// Metadata for UpdateDocument operation. +type GoogleCloudDialogflowV3alpha1UpdateDocumentOperationMetadata struct { + // GenericMetadata: The generic information of the operation. + GenericMetadata *GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata `json:"genericMetadata,omitempty"` + + // ForceSendFields is a list of field names (e.g. "GenericMetadata") 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. "GenericMetadata") 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 *GoogleCloudDialogflowV3alpha1UpdateDocumentOperationMetadata) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV3alpha1UpdateDocumentOperationMetadata + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleLongrunningListOperationsResponse: The response message for +// Operations.ListOperations. +type GoogleLongrunningListOperationsResponse struct { + // NextPageToken: The standard List next-page token. + NextPageToken string `json:"nextPageToken,omitempty"` + + // Operations: A list of operations that matches the specified filter in + // the request. + Operations []*GoogleLongrunningOperation `json:"operations,omitempty"` + + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` + + // ForceSendFields is a list of field names (e.g. "NextPageToken") 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. "NextPageToken") 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 *GoogleLongrunningListOperationsResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleLongrunningListOperationsResponse + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleLongrunningOperation: This resource represents a long-running +// operation that is the result of a network API call. +type GoogleLongrunningOperation struct { + // Done: If the value is `false`, it means the operation is still in + // progress. If `true`, the operation is completed, and either `error` + // or `response` is available. + Done bool `json:"done,omitempty"` + + // Error: The error result of the operation in case of failure or + // cancellation. + Error *GoogleRpcStatus `json:"error,omitempty"` + + // Metadata: Service-specific metadata associated with the operation. It + // typically contains progress information and common metadata such as + // create time. Some services might not provide such metadata. Any + // method that returns a long-running operation should document the + // metadata type, if any. + Metadata googleapi.RawMessage `json:"metadata,omitempty"` + + // Name: The server-assigned name, which is only unique within the same + // service that originally returns it. If you use the default HTTP + // mapping, the `name` should be a resource name ending with + // `operations/{unique_id}`. + Name string `json:"name,omitempty"` + + // Response: The normal response of the operation in case of success. If + // the original method returns no data on success, such as `Delete`, the + // response is `google.protobuf.Empty`. If the original method is + // standard `Get`/`Create`/`Update`, the response should be the + // resource. For other methods, the response should have the type + // `XxxResponse`, where `Xxx` is the original method name. For example, + // if the original method name is `TakeSnapshot()`, the inferred + // response type is `TakeSnapshotResponse`. + Response googleapi.RawMessage `json:"response,omitempty"` + + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` + + // ForceSendFields is a list of field names (e.g. "Done") 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. "Done") 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 *GoogleLongrunningOperation) MarshalJSON() ([]byte, error) { + type NoMethod GoogleLongrunningOperation + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleProtobufEmpty: A generic empty message that you can re-use to +// avoid defining duplicated empty messages in your APIs. A typical +// example is to use it as the request or the response type of an API +// method. For instance: service Foo { rpc Bar(google.protobuf.Empty) +// returns (google.protobuf.Empty); } The JSON representation for +// `Empty` is empty JSON object `{}`. +type GoogleProtobufEmpty struct { + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` +} + +// GoogleRpcStatus: The `Status` type defines a logical error model that +// is suitable for different programming environments, including REST +// APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). +// Each `Status` message contains three pieces of data: error code, +// error message, and error details. You can find out more about this +// error model and how to work with it in the [API Design +// Guide](https://cloud.google.com/apis/design/errors). +type GoogleRpcStatus struct { + // Code: The status code, which should be an enum value of + // google.rpc.Code. + Code int64 `json:"code,omitempty"` + + // Details: A list of messages that carry the error details. There is a + // common set of message types for APIs to use. + Details []googleapi.RawMessage `json:"details,omitempty"` + + // Message: A developer-facing error message, which should be in + // English. Any user-facing error message should be localized and sent + // in the google.rpc.Status.details field, or localized by the client. + Message string `json:"message,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Code") 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. "Code") 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 *GoogleRpcStatus) MarshalJSON() ([]byte, error) { + type NoMethod GoogleRpcStatus + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleTypeLatLng: An object that represents a latitude/longitude +// pair. This is expressed as a pair of doubles to represent degrees +// latitude and degrees longitude. Unless specified otherwise, this must +// conform to the WGS84 standard. Values must be within normalized +// ranges. +type GoogleTypeLatLng struct { + // Latitude: The latitude in degrees. It must be in the range [-90.0, + // +90.0]. + Latitude float64 `json:"latitude,omitempty"` + + // Longitude: The longitude in degrees. It must be in the range [-180.0, + // +180.0]. + Longitude float64 `json:"longitude,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Latitude") 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. "Latitude") 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 *GoogleTypeLatLng) MarshalJSON() ([]byte, error) { + type NoMethod GoogleTypeLatLng + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +func (s *GoogleTypeLatLng) UnmarshalJSON(data []byte) error { + type NoMethod GoogleTypeLatLng + var s1 struct { + Latitude gensupport.JSONFloat64 `json:"latitude"` + Longitude gensupport.JSONFloat64 `json:"longitude"` + *NoMethod + } + s1.NoMethod = (*NoMethod)(s) + if err := json.Unmarshal(data, &s1); err != nil { + return err + } + s.Latitude = float64(s1.Latitude) + s.Longitude = float64(s1.Longitude) + return nil +} + +// method id "dialogflow.projects.locations.agents.create": + +type ProjectsLocationsAgentsCreateCall struct { + s *Service + parent string + googleclouddialogflowcxv3beta1agent *GoogleCloudDialogflowCxV3beta1Agent + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// Create: Creates an agent in the specified location. +func (r *ProjectsLocationsAgentsService) Create(parent string, googleclouddialogflowcxv3beta1agent *GoogleCloudDialogflowCxV3beta1Agent) *ProjectsLocationsAgentsCreateCall { + c := &ProjectsLocationsAgentsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.parent = parent + c.googleclouddialogflowcxv3beta1agent = googleclouddialogflowcxv3beta1agent + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsAgentsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsCreateCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsLocationsAgentsCreateCall) Context(ctx context.Context) *ProjectsLocationsAgentsCreateCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsLocationsAgentsCreateCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsAgentsCreateCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + var body io.Reader = nil + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3beta1agent) + if err != nil { + return nil, err + } + reqHeaders.Set("Content-Type", "application/json") + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+parent}/agents") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("POST", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "parent": c.parent, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "dialogflow.projects.locations.agents.create" call. +// Exactly one of *GoogleCloudDialogflowCxV3beta1Agent or error will be +// non-nil. Any non-2xx status code is an error. Response headers are in +// either *GoogleCloudDialogflowCxV3beta1Agent.ServerResponse.Header or +// (if a response was returned at all) in +// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check +// whether the returned error was because http.StatusNotModified was +// returned. +func (c *ProjectsLocationsAgentsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1Agent, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &GoogleCloudDialogflowCxV3beta1Agent{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Creates an agent in the specified location.", + // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents", + // "httpMethod": "POST", + // "id": "dialogflow.projects.locations.agents.create", + // "parameterOrder": [ + // "parent" + // ], + // "parameters": { + // "parent": { + // "description": "Required. The location to create a agent for. Format: `projects//locations/`.", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v3beta1/{+parent}/agents", + // "request": { + // "$ref": "GoogleCloudDialogflowCxV3beta1Agent" + // }, + // "response": { + // "$ref": "GoogleCloudDialogflowCxV3beta1Agent" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", + // "https://www.googleapis.com/auth/dialogflow" + // ] + // } + +} + +// method id "dialogflow.projects.locations.agents.delete": + +type ProjectsLocationsAgentsDeleteCall struct { + s *Service + name string + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// Delete: Deletes the specified agent. +func (r *ProjectsLocationsAgentsService) Delete(name string) *ProjectsLocationsAgentsDeleteCall { + c := &ProjectsLocationsAgentsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsAgentsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsDeleteCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsLocationsAgentsDeleteCall) Context(ctx context.Context) *ProjectsLocationsAgentsDeleteCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsLocationsAgentsDeleteCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsAgentsDeleteCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + var body io.Reader = nil + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+name}") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("DELETE", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "name": c.name, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "dialogflow.projects.locations.agents.delete" call. +// Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any +// non-2xx status code is an error. Response headers are in either +// *GoogleProtobufEmpty.ServerResponse.Header or (if a response was +// returned at all) in error.(*googleapi.Error).Header. Use +// googleapi.IsNotModified to check whether the returned error was +// because http.StatusNotModified was returned. +func (c *ProjectsLocationsAgentsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &GoogleProtobufEmpty{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Deletes the specified agent.", + // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}", + // "httpMethod": "DELETE", + // "id": "dialogflow.projects.locations.agents.delete", + // "parameterOrder": [ + // "name" + // ], + // "parameters": { + // "name": { + // "description": "Required. The name of the agent to delete. Format: `projects//locations//agents/`.", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v3beta1/{+name}", + // "response": { + // "$ref": "GoogleProtobufEmpty" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", + // "https://www.googleapis.com/auth/dialogflow" + // ] + // } + +} + +// method id "dialogflow.projects.locations.agents.export": + +type ProjectsLocationsAgentsExportCall struct { + s *Service + name string + googleclouddialogflowcxv3beta1exportagentrequest *GoogleCloudDialogflowCxV3beta1ExportAgentRequest + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// Export: Exports the specified agent to a binary file. +func (r *ProjectsLocationsAgentsService) Export(name string, googleclouddialogflowcxv3beta1exportagentrequest *GoogleCloudDialogflowCxV3beta1ExportAgentRequest) *ProjectsLocationsAgentsExportCall { + c := &ProjectsLocationsAgentsExportCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name + c.googleclouddialogflowcxv3beta1exportagentrequest = googleclouddialogflowcxv3beta1exportagentrequest + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsAgentsExportCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsExportCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsLocationsAgentsExportCall) Context(ctx context.Context) *ProjectsLocationsAgentsExportCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsLocationsAgentsExportCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsAgentsExportCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + var body io.Reader = nil + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3beta1exportagentrequest) + if err != nil { + return nil, err + } + reqHeaders.Set("Content-Type", "application/json") + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+name}:export") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("POST", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "name": c.name, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "dialogflow.projects.locations.agents.export" call. +// Exactly one of *GoogleLongrunningOperation or error will be non-nil. +// Any non-2xx status code is an error. Response headers are in either +// *GoogleLongrunningOperation.ServerResponse.Header or (if a response +// was returned at all) in error.(*googleapi.Error).Header. Use +// googleapi.IsNotModified to check whether the returned error was +// because http.StatusNotModified was returned. +func (c *ProjectsLocationsAgentsExportCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &GoogleLongrunningOperation{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Exports the specified agent to a binary file.", + // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}:export", + // "httpMethod": "POST", + // "id": "dialogflow.projects.locations.agents.export", + // "parameterOrder": [ + // "name" + // ], + // "parameters": { + // "name": { + // "description": "Required. The name of the agent to export. Format: `projects//locations//agents/`.", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v3beta1/{+name}:export", + // "request": { + // "$ref": "GoogleCloudDialogflowCxV3beta1ExportAgentRequest" + // }, + // "response": { + // "$ref": "GoogleLongrunningOperation" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", + // "https://www.googleapis.com/auth/dialogflow" + // ] + // } + +} + +// method id "dialogflow.projects.locations.agents.get": + +type ProjectsLocationsAgentsGetCall struct { + s *Service + name string + urlParams_ gensupport.URLParams + ifNoneMatch_ string + ctx_ context.Context + header_ http.Header +} + +// Get: Retrieves the specified agent. +func (r *ProjectsLocationsAgentsService) Get(name string) *ProjectsLocationsAgentsGetCall { + c := &ProjectsLocationsAgentsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsAgentsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsGetCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// IfNoneMatch sets the optional parameter which makes the operation +// fail if the object's ETag matches the given value. This is useful for +// getting updates only after the object has changed since the last +// request. Use googleapi.IsNotModified to check whether the response +// error from Do is the result of In-None-Match. +func (c *ProjectsLocationsAgentsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsGetCall { + c.ifNoneMatch_ = entityTag + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsLocationsAgentsGetCall) Context(ctx context.Context) *ProjectsLocationsAgentsGetCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsLocationsAgentsGetCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsAgentsGetCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + if c.ifNoneMatch_ != "" { + reqHeaders.Set("If-None-Match", c.ifNoneMatch_) + } + var body io.Reader = nil + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+name}") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("GET", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "name": c.name, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "dialogflow.projects.locations.agents.get" call. +// Exactly one of *GoogleCloudDialogflowCxV3beta1Agent or error will be +// non-nil. Any non-2xx status code is an error. Response headers are in +// either *GoogleCloudDialogflowCxV3beta1Agent.ServerResponse.Header or +// (if a response was returned at all) in +// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check +// whether the returned error was because http.StatusNotModified was +// returned. +func (c *ProjectsLocationsAgentsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1Agent, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &GoogleCloudDialogflowCxV3beta1Agent{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Retrieves the specified agent.", + // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}", + // "httpMethod": "GET", + // "id": "dialogflow.projects.locations.agents.get", + // "parameterOrder": [ + // "name" + // ], + // "parameters": { + // "name": { + // "description": "Required. The name of the agent. Format: `projects//locations//agents/`.", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v3beta1/{+name}", + // "response": { + // "$ref": "GoogleCloudDialogflowCxV3beta1Agent" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", + // "https://www.googleapis.com/auth/dialogflow" + // ] + // } + +} + +// method id "dialogflow.projects.locations.agents.list": + +type ProjectsLocationsAgentsListCall struct { + s *Service + parent string + urlParams_ gensupport.URLParams + ifNoneMatch_ string + ctx_ context.Context + header_ http.Header +} + +// List: Returns the list of all agents in the specified location. +func (r *ProjectsLocationsAgentsService) List(parent string) *ProjectsLocationsAgentsListCall { + c := &ProjectsLocationsAgentsListCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.parent = parent + return c +} + +// PageSize sets the optional parameter "pageSize": The maximum number +// of items to return in a single page. By default 100 and at most 1000. +func (c *ProjectsLocationsAgentsListCall) PageSize(pageSize int64) *ProjectsLocationsAgentsListCall { + c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) + return c +} + +// PageToken sets the optional parameter "pageToken": The +// next_page_token value returned from a previous list request. +func (c *ProjectsLocationsAgentsListCall) PageToken(pageToken string) *ProjectsLocationsAgentsListCall { + c.urlParams_.Set("pageToken", pageToken) + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsAgentsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsListCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// IfNoneMatch sets the optional parameter which makes the operation +// fail if the object's ETag matches the given value. This is useful for +// getting updates only after the object has changed since the last +// request. Use googleapi.IsNotModified to check whether the response +// error from Do is the result of In-None-Match. +func (c *ProjectsLocationsAgentsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsListCall { + c.ifNoneMatch_ = entityTag + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsLocationsAgentsListCall) Context(ctx context.Context) *ProjectsLocationsAgentsListCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsLocationsAgentsListCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsAgentsListCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + if c.ifNoneMatch_ != "" { + reqHeaders.Set("If-None-Match", c.ifNoneMatch_) + } + var body io.Reader = nil + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+parent}/agents") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("GET", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "parent": c.parent, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "dialogflow.projects.locations.agents.list" call. +// Exactly one of *GoogleCloudDialogflowCxV3beta1ListAgentsResponse or +// error will be non-nil. Any non-2xx status code is an error. Response +// headers are in either +// *GoogleCloudDialogflowCxV3beta1ListAgentsResponse.ServerResponse.Heade +// r or (if a response was returned at all) in +// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check +// whether the returned error was because http.StatusNotModified was +// returned. +func (c *ProjectsLocationsAgentsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1ListAgentsResponse, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &GoogleCloudDialogflowCxV3beta1ListAgentsResponse{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Returns the list of all agents in the specified location.", + // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents", + // "httpMethod": "GET", + // "id": "dialogflow.projects.locations.agents.list", + // "parameterOrder": [ + // "parent" + // ], + // "parameters": { + // "pageSize": { + // "description": "The maximum number of items to return in a single page. By default 100 and at most 1000.", + // "format": "int32", + // "location": "query", + // "type": "integer" + // }, + // "pageToken": { + // "description": "The next_page_token value returned from a previous list request.", + // "location": "query", + // "type": "string" + // }, + // "parent": { + // "description": "Required. The location to list all agents for. Format: `projects//locations/`.", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v3beta1/{+parent}/agents", + // "response": { + // "$ref": "GoogleCloudDialogflowCxV3beta1ListAgentsResponse" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", + // "https://www.googleapis.com/auth/dialogflow" + // ] + // } + +} + +// Pages invokes f for each page of results. +// A non-nil error returned from f will halt the iteration. +// The provided context supersedes any context provided to the Context method. +func (c *ProjectsLocationsAgentsListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowCxV3beta1ListAgentsResponse) error) error { + c.ctx_ = ctx + defer c.PageToken(c.urlParams_.Get("pageToken")) // reset paging to original point + for { + x, err := c.Do() + if err != nil { + return err + } + if err := f(x); err != nil { + return err + } + if x.NextPageToken == "" { + return nil + } + c.PageToken(x.NextPageToken) + } +} + +// method id "dialogflow.projects.locations.agents.patch": + +type ProjectsLocationsAgentsPatchCall struct { + s *Service + nameid string + googleclouddialogflowcxv3beta1agent *GoogleCloudDialogflowCxV3beta1Agent + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// Patch: Updates the specified agent. +func (r *ProjectsLocationsAgentsService) Patch(nameid string, googleclouddialogflowcxv3beta1agent *GoogleCloudDialogflowCxV3beta1Agent) *ProjectsLocationsAgentsPatchCall { + c := &ProjectsLocationsAgentsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.nameid = nameid + c.googleclouddialogflowcxv3beta1agent = googleclouddialogflowcxv3beta1agent + return c +} + +// UpdateMask sets the optional parameter "updateMask": The mask to +// control which fields get updated. If the mask is not present, all +// fields will be updated. +func (c *ProjectsLocationsAgentsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsAgentsPatchCall { + c.urlParams_.Set("updateMask", updateMask) + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsAgentsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsPatchCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsLocationsAgentsPatchCall) Context(ctx context.Context) *ProjectsLocationsAgentsPatchCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsLocationsAgentsPatchCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsAgentsPatchCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + var body io.Reader = nil + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3beta1agent) + if err != nil { + return nil, err + } + reqHeaders.Set("Content-Type", "application/json") + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+name}") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("PATCH", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "name": c.nameid, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "dialogflow.projects.locations.agents.patch" call. +// Exactly one of *GoogleCloudDialogflowCxV3beta1Agent or error will be +// non-nil. Any non-2xx status code is an error. Response headers are in +// either *GoogleCloudDialogflowCxV3beta1Agent.ServerResponse.Header or +// (if a response was returned at all) in +// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check +// whether the returned error was because http.StatusNotModified was +// returned. +func (c *ProjectsLocationsAgentsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1Agent, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &GoogleCloudDialogflowCxV3beta1Agent{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Updates the specified agent.", + // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}", + // "httpMethod": "PATCH", + // "id": "dialogflow.projects.locations.agents.patch", + // "parameterOrder": [ + // "name" + // ], + // "parameters": { + // "name": { + // "description": "The unique identifier of the agent. Required for the Agents.UpdateAgent method. Agents.CreateAgent populates the name automatically. Format: `projects//locations//agents/`.", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", + // "required": true, + // "type": "string" + // }, + // "updateMask": { + // "description": "The mask to control which fields get updated. If the mask is not present, all fields will be updated.", + // "format": "google-fieldmask", + // "location": "query", + // "type": "string" + // } + // }, + // "path": "v3beta1/{+name}", + // "request": { + // "$ref": "GoogleCloudDialogflowCxV3beta1Agent" + // }, + // "response": { + // "$ref": "GoogleCloudDialogflowCxV3beta1Agent" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", + // "https://www.googleapis.com/auth/dialogflow" + // ] + // } + +} + +// method id "dialogflow.projects.locations.agents.restore": + +type ProjectsLocationsAgentsRestoreCall struct { + s *Service + name string + googleclouddialogflowcxv3beta1restoreagentrequest *GoogleCloudDialogflowCxV3beta1RestoreAgentRequest + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// Restore: Restores the specified agent from a binary file. Replaces +// the current agent with a new one. Note that all existing resources in +// agent (e.g. intents, entity types, flows) will be removed. +func (r *ProjectsLocationsAgentsService) Restore(name string, googleclouddialogflowcxv3beta1restoreagentrequest *GoogleCloudDialogflowCxV3beta1RestoreAgentRequest) *ProjectsLocationsAgentsRestoreCall { + c := &ProjectsLocationsAgentsRestoreCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name + c.googleclouddialogflowcxv3beta1restoreagentrequest = googleclouddialogflowcxv3beta1restoreagentrequest + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsAgentsRestoreCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsRestoreCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsLocationsAgentsRestoreCall) Context(ctx context.Context) *ProjectsLocationsAgentsRestoreCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsLocationsAgentsRestoreCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsAgentsRestoreCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + var body io.Reader = nil + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3beta1restoreagentrequest) + if err != nil { + return nil, err + } + reqHeaders.Set("Content-Type", "application/json") + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+name}:restore") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("POST", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "name": c.name, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "dialogflow.projects.locations.agents.restore" call. +// Exactly one of *GoogleLongrunningOperation or error will be non-nil. +// Any non-2xx status code is an error. Response headers are in either +// *GoogleLongrunningOperation.ServerResponse.Header or (if a response +// was returned at all) in error.(*googleapi.Error).Header. Use +// googleapi.IsNotModified to check whether the returned error was +// because http.StatusNotModified was returned. +func (c *ProjectsLocationsAgentsRestoreCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &GoogleLongrunningOperation{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Restores the specified agent from a binary file. Replaces the current agent with a new one. Note that all existing resources in agent (e.g. intents, entity types, flows) will be removed.", + // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}:restore", + // "httpMethod": "POST", + // "id": "dialogflow.projects.locations.agents.restore", + // "parameterOrder": [ + // "name" + // ], + // "parameters": { + // "name": { + // "description": "Required. The name of the agent to restore into. Format: `projects//locations//agents/`.", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v3beta1/{+name}:restore", + // "request": { + // "$ref": "GoogleCloudDialogflowCxV3beta1RestoreAgentRequest" + // }, + // "response": { + // "$ref": "GoogleLongrunningOperation" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", + // "https://www.googleapis.com/auth/dialogflow" + // ] + // } + +} + +// method id "dialogflow.projects.locations.agents.entityTypes.create": + +type ProjectsLocationsAgentsEntityTypesCreateCall struct { + s *Service + parent string + googleclouddialogflowcxv3beta1entitytype *GoogleCloudDialogflowCxV3beta1EntityType + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// Create: Creates an entity type in the specified agent. +func (r *ProjectsLocationsAgentsEntityTypesService) Create(parent string, googleclouddialogflowcxv3beta1entitytype *GoogleCloudDialogflowCxV3beta1EntityType) *ProjectsLocationsAgentsEntityTypesCreateCall { + c := &ProjectsLocationsAgentsEntityTypesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.parent = parent + c.googleclouddialogflowcxv3beta1entitytype = googleclouddialogflowcxv3beta1entitytype + return c +} + +// LanguageCode sets the optional parameter "languageCode": The language +// of the following fields in `entity_type`: * +// `EntityType.entities.value` * `EntityType.entities.synonyms` * +// `EntityType.excluded_phrases.value` If not specified, the agent's +// default language is used. [Many +// languages](https://cloud.google.com/dialogflow/docs/reference/language +// ) are supported. Note: languages must be enabled in the agent before +// they can be used. +func (c *ProjectsLocationsAgentsEntityTypesCreateCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsEntityTypesCreateCall { + c.urlParams_.Set("languageCode", languageCode) + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsAgentsEntityTypesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEntityTypesCreateCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsLocationsAgentsEntityTypesCreateCall) Context(ctx context.Context) *ProjectsLocationsAgentsEntityTypesCreateCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsLocationsAgentsEntityTypesCreateCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsAgentsEntityTypesCreateCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + var body io.Reader = nil + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3beta1entitytype) + if err != nil { + return nil, err + } + reqHeaders.Set("Content-Type", "application/json") + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+parent}/entityTypes") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("POST", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "parent": c.parent, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "dialogflow.projects.locations.agents.entityTypes.create" call. +// Exactly one of *GoogleCloudDialogflowCxV3beta1EntityType or error +// will be non-nil. Any non-2xx status code is an error. Response +// headers are in either +// *GoogleCloudDialogflowCxV3beta1EntityType.ServerResponse.Header or +// (if a response was returned at all) in +// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check +// whether the returned error was because http.StatusNotModified was +// returned. +func (c *ProjectsLocationsAgentsEntityTypesCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1EntityType, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &GoogleCloudDialogflowCxV3beta1EntityType{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Creates an entity type in the specified agent.", + // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/entityTypes", + // "httpMethod": "POST", + // "id": "dialogflow.projects.locations.agents.entityTypes.create", + // "parameterOrder": [ + // "parent" + // ], + // "parameters": { + // "languageCode": { + // "description": "The language of the following fields in `entity_type`: * `EntityType.entities.value` * `EntityType.entities.synonyms` * `EntityType.excluded_phrases.value` If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", + // "location": "query", + // "type": "string" + // }, + // "parent": { + // "description": "Required. The agent to create a entity type for. Format: `projects//locations//agents/`.", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v3beta1/{+parent}/entityTypes", + // "request": { + // "$ref": "GoogleCloudDialogflowCxV3beta1EntityType" + // }, + // "response": { + // "$ref": "GoogleCloudDialogflowCxV3beta1EntityType" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", + // "https://www.googleapis.com/auth/dialogflow" + // ] + // } + +} + +// method id "dialogflow.projects.locations.agents.entityTypes.delete": + +type ProjectsLocationsAgentsEntityTypesDeleteCall struct { + s *Service + name string + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// Delete: Deletes the specified entity type. +func (r *ProjectsLocationsAgentsEntityTypesService) Delete(name string) *ProjectsLocationsAgentsEntityTypesDeleteCall { + c := &ProjectsLocationsAgentsEntityTypesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name + return c +} + +// Force sets the optional parameter "force": This field has no effect +// for entity type not being used. For entity types that are used by +// intents or pages: * If `force` is set to false, an error will be +// returned with message indicating the referencing resources. * If +// `force` is set to true, Dialogflow will remove the entity type, as +// well as any references to the entity type (i.e. Page parameter of the +// entity type will be changed to '@sys.any' and intent parameter of the +// entity type will be removed). +func (c *ProjectsLocationsAgentsEntityTypesDeleteCall) Force(force bool) *ProjectsLocationsAgentsEntityTypesDeleteCall { + c.urlParams_.Set("force", fmt.Sprint(force)) + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsAgentsEntityTypesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEntityTypesDeleteCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsLocationsAgentsEntityTypesDeleteCall) Context(ctx context.Context) *ProjectsLocationsAgentsEntityTypesDeleteCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsLocationsAgentsEntityTypesDeleteCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsAgentsEntityTypesDeleteCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + var body io.Reader = nil + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+name}") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("DELETE", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "name": c.name, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "dialogflow.projects.locations.agents.entityTypes.delete" call. +// Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any +// non-2xx status code is an error. Response headers are in either +// *GoogleProtobufEmpty.ServerResponse.Header or (if a response was +// returned at all) in error.(*googleapi.Error).Header. Use +// googleapi.IsNotModified to check whether the returned error was +// because http.StatusNotModified was returned. +func (c *ProjectsLocationsAgentsEntityTypesDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &GoogleProtobufEmpty{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Deletes the specified entity type.", + // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/entityTypes/{entityTypesId}", + // "httpMethod": "DELETE", + // "id": "dialogflow.projects.locations.agents.entityTypes.delete", + // "parameterOrder": [ + // "name" + // ], + // "parameters": { + // "force": { + // "description": "This field has no effect for entity type not being used. For entity types that are used by intents or pages: * If `force` is set to false, an error will be returned with message indicating the referencing resources. * If `force` is set to true, Dialogflow will remove the entity type, as well as any references to the entity type (i.e. Page parameter of the entity type will be changed to '@sys.any' and intent parameter of the entity type will be removed).", + // "location": "query", + // "type": "boolean" + // }, + // "name": { + // "description": "Required. The name of the entity type to delete. Format: `projects//locations//agents//entityTypes/`.", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/entityTypes/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v3beta1/{+name}", + // "response": { + // "$ref": "GoogleProtobufEmpty" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", + // "https://www.googleapis.com/auth/dialogflow" + // ] + // } + +} + +// method id "dialogflow.projects.locations.agents.entityTypes.get": + +type ProjectsLocationsAgentsEntityTypesGetCall struct { + s *Service + name string + urlParams_ gensupport.URLParams + ifNoneMatch_ string + ctx_ context.Context + header_ http.Header +} + +// Get: Retrieves the specified entity type. +func (r *ProjectsLocationsAgentsEntityTypesService) Get(name string) *ProjectsLocationsAgentsEntityTypesGetCall { + c := &ProjectsLocationsAgentsEntityTypesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name + return c +} + +// LanguageCode sets the optional parameter "languageCode": The language +// to retrieve the entity type for. The following fields are language +// dependent: * `EntityType.entities.value` * +// `EntityType.entities.synonyms` * `EntityType.excluded_phrases.value` +// If not specified, the agent's default language is used. [Many +// languages](https://cloud.google.com/dialogflow/docs/reference/language +// ) are supported. Note: languages must be enabled in the agent before +// they can be used. +func (c *ProjectsLocationsAgentsEntityTypesGetCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsEntityTypesGetCall { + c.urlParams_.Set("languageCode", languageCode) + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsAgentsEntityTypesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEntityTypesGetCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// IfNoneMatch sets the optional parameter which makes the operation +// fail if the object's ETag matches the given value. This is useful for +// getting updates only after the object has changed since the last +// request. Use googleapi.IsNotModified to check whether the response +// error from Do is the result of In-None-Match. +func (c *ProjectsLocationsAgentsEntityTypesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsEntityTypesGetCall { + c.ifNoneMatch_ = entityTag + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsLocationsAgentsEntityTypesGetCall) Context(ctx context.Context) *ProjectsLocationsAgentsEntityTypesGetCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsLocationsAgentsEntityTypesGetCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsAgentsEntityTypesGetCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + if c.ifNoneMatch_ != "" { + reqHeaders.Set("If-None-Match", c.ifNoneMatch_) + } + var body io.Reader = nil + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+name}") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("GET", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "name": c.name, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "dialogflow.projects.locations.agents.entityTypes.get" call. +// Exactly one of *GoogleCloudDialogflowCxV3beta1EntityType or error +// will be non-nil. Any non-2xx status code is an error. Response +// headers are in either +// *GoogleCloudDialogflowCxV3beta1EntityType.ServerResponse.Header or +// (if a response was returned at all) in +// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check +// whether the returned error was because http.StatusNotModified was +// returned. +func (c *ProjectsLocationsAgentsEntityTypesGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1EntityType, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &GoogleCloudDialogflowCxV3beta1EntityType{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Retrieves the specified entity type.", + // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/entityTypes/{entityTypesId}", + // "httpMethod": "GET", + // "id": "dialogflow.projects.locations.agents.entityTypes.get", + // "parameterOrder": [ + // "name" + // ], + // "parameters": { + // "languageCode": { + // "description": "The language to retrieve the entity type for. The following fields are language dependent: * `EntityType.entities.value` * `EntityType.entities.synonyms` * `EntityType.excluded_phrases.value` If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", + // "location": "query", + // "type": "string" + // }, + // "name": { + // "description": "Required. The name of the entity type. Format: `projects//locations//agents//entityTypes/`.", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/entityTypes/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v3beta1/{+name}", + // "response": { + // "$ref": "GoogleCloudDialogflowCxV3beta1EntityType" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", + // "https://www.googleapis.com/auth/dialogflow" + // ] + // } + +} + +// method id "dialogflow.projects.locations.agents.entityTypes.list": + +type ProjectsLocationsAgentsEntityTypesListCall struct { + s *Service + parent string + urlParams_ gensupport.URLParams + ifNoneMatch_ string + ctx_ context.Context + header_ http.Header +} + +// List: Returns the list of all entity types in the specified agent. +func (r *ProjectsLocationsAgentsEntityTypesService) List(parent string) *ProjectsLocationsAgentsEntityTypesListCall { + c := &ProjectsLocationsAgentsEntityTypesListCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.parent = parent + return c +} + +// LanguageCode sets the optional parameter "languageCode": The language +// to list entity types for. The following fields are language +// dependent: * `EntityType.entities.value` * +// `EntityType.entities.synonyms` * `EntityType.excluded_phrases.value` +// If not specified, the agent's default language is used. [Many +// languages](https://cloud.google.com/dialogflow/docs/reference/language +// ) are supported. Note: languages must be enabled in the agent before +// they can be used. +func (c *ProjectsLocationsAgentsEntityTypesListCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsEntityTypesListCall { + c.urlParams_.Set("languageCode", languageCode) + return c +} + +// PageSize sets the optional parameter "pageSize": The maximum number +// of items to return in a single page. By default 100 and at most 1000. +func (c *ProjectsLocationsAgentsEntityTypesListCall) PageSize(pageSize int64) *ProjectsLocationsAgentsEntityTypesListCall { + c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) + return c +} + +// PageToken sets the optional parameter "pageToken": The +// next_page_token value returned from a previous list request. +func (c *ProjectsLocationsAgentsEntityTypesListCall) PageToken(pageToken string) *ProjectsLocationsAgentsEntityTypesListCall { + c.urlParams_.Set("pageToken", pageToken) + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsAgentsEntityTypesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEntityTypesListCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// IfNoneMatch sets the optional parameter which makes the operation +// fail if the object's ETag matches the given value. This is useful for +// getting updates only after the object has changed since the last +// request. Use googleapi.IsNotModified to check whether the response +// error from Do is the result of In-None-Match. +func (c *ProjectsLocationsAgentsEntityTypesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsEntityTypesListCall { + c.ifNoneMatch_ = entityTag + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsLocationsAgentsEntityTypesListCall) Context(ctx context.Context) *ProjectsLocationsAgentsEntityTypesListCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsLocationsAgentsEntityTypesListCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsAgentsEntityTypesListCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + if c.ifNoneMatch_ != "" { + reqHeaders.Set("If-None-Match", c.ifNoneMatch_) + } + var body io.Reader = nil + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+parent}/entityTypes") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("GET", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "parent": c.parent, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "dialogflow.projects.locations.agents.entityTypes.list" call. +// Exactly one of *GoogleCloudDialogflowCxV3beta1ListEntityTypesResponse +// or error will be non-nil. Any non-2xx status code is an error. +// Response headers are in either +// *GoogleCloudDialogflowCxV3beta1ListEntityTypesResponse.ServerResponse. +// Header or (if a response was returned at all) in +// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check +// whether the returned error was because http.StatusNotModified was +// returned. +func (c *ProjectsLocationsAgentsEntityTypesListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1ListEntityTypesResponse, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &GoogleCloudDialogflowCxV3beta1ListEntityTypesResponse{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Returns the list of all entity types in the specified agent.", + // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/entityTypes", + // "httpMethod": "GET", + // "id": "dialogflow.projects.locations.agents.entityTypes.list", + // "parameterOrder": [ + // "parent" + // ], + // "parameters": { + // "languageCode": { + // "description": "The language to list entity types for. The following fields are language dependent: * `EntityType.entities.value` * `EntityType.entities.synonyms` * `EntityType.excluded_phrases.value` If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", + // "location": "query", + // "type": "string" + // }, + // "pageSize": { + // "description": "The maximum number of items to return in a single page. By default 100 and at most 1000.", + // "format": "int32", + // "location": "query", + // "type": "integer" + // }, + // "pageToken": { + // "description": "The next_page_token value returned from a previous list request.", + // "location": "query", + // "type": "string" + // }, + // "parent": { + // "description": "Required. The agent to list all entity types for. Format: `projects//locations//agents/`.", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v3beta1/{+parent}/entityTypes", + // "response": { + // "$ref": "GoogleCloudDialogflowCxV3beta1ListEntityTypesResponse" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", + // "https://www.googleapis.com/auth/dialogflow" + // ] + // } + +} + +// Pages invokes f for each page of results. +// A non-nil error returned from f will halt the iteration. +// The provided context supersedes any context provided to the Context method. +func (c *ProjectsLocationsAgentsEntityTypesListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowCxV3beta1ListEntityTypesResponse) error) error { + c.ctx_ = ctx + defer c.PageToken(c.urlParams_.Get("pageToken")) // reset paging to original point + for { + x, err := c.Do() + if err != nil { + return err + } + if err := f(x); err != nil { + return err + } + if x.NextPageToken == "" { + return nil + } + c.PageToken(x.NextPageToken) + } +} + +// method id "dialogflow.projects.locations.agents.entityTypes.patch": + +type ProjectsLocationsAgentsEntityTypesPatchCall struct { + s *Service + nameid string + googleclouddialogflowcxv3beta1entitytype *GoogleCloudDialogflowCxV3beta1EntityType + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// Patch: Updates the specified entity type. +func (r *ProjectsLocationsAgentsEntityTypesService) Patch(nameid string, googleclouddialogflowcxv3beta1entitytype *GoogleCloudDialogflowCxV3beta1EntityType) *ProjectsLocationsAgentsEntityTypesPatchCall { + c := &ProjectsLocationsAgentsEntityTypesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.nameid = nameid + c.googleclouddialogflowcxv3beta1entitytype = googleclouddialogflowcxv3beta1entitytype + return c +} + +// LanguageCode sets the optional parameter "languageCode": The language +// of the following fields in `entity_type`: * +// `EntityType.entities.value` * `EntityType.entities.synonyms` * +// `EntityType.excluded_phrases.value` If not specified, the agent's +// default language is used. [Many +// languages](https://cloud.google.com/dialogflow/docs/reference/language +// ) are supported. Note: languages must be enabled in the agent before +// they can be used. +func (c *ProjectsLocationsAgentsEntityTypesPatchCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsEntityTypesPatchCall { + c.urlParams_.Set("languageCode", languageCode) + return c } -// Create: Creates an agent in the specified location. -func (r *ProjectsLocationsAgentsService) Create(parent string, googleclouddialogflowcxv3beta1agent *GoogleCloudDialogflowCxV3beta1Agent) *ProjectsLocationsAgentsCreateCall { - c := &ProjectsLocationsAgentsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.parent = parent - c.googleclouddialogflowcxv3beta1agent = googleclouddialogflowcxv3beta1agent +// UpdateMask sets the optional parameter "updateMask": The mask to +// control which fields get updated. +func (c *ProjectsLocationsAgentsEntityTypesPatchCall) UpdateMask(updateMask string) *ProjectsLocationsAgentsEntityTypesPatchCall { + c.urlParams_.Set("updateMask", updateMask) return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsCreateCall { +func (c *ProjectsLocationsAgentsEntityTypesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEntityTypesPatchCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -10890,57 +16035,58 @@ func (c *ProjectsLocationsAgentsCreateCall) Fields(s ...googleapi.Field) *Projec // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsCreateCall) Context(ctx context.Context) *ProjectsLocationsAgentsCreateCall { +func (c *ProjectsLocationsAgentsEntityTypesPatchCall) Context(ctx context.Context) *ProjectsLocationsAgentsEntityTypesPatchCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsCreateCall) Header() http.Header { +func (c *ProjectsLocationsAgentsEntityTypesPatchCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsCreateCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsEntityTypesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } reqHeaders.Set("User-Agent", c.s.userAgent()) var body io.Reader = nil - body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3beta1agent) + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3beta1entitytype) if err != nil { return nil, err } reqHeaders.Set("Content-Type", "application/json") c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+parent}/agents") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+name}") urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("POST", urls, body) + req, err := http.NewRequest("PATCH", urls, body) if err != nil { return nil, err } req.Header = reqHeaders googleapi.Expand(req.URL, map[string]string{ - "parent": c.parent, + "name": c.nameid, }) return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.create" call. -// Exactly one of *GoogleCloudDialogflowCxV3beta1Agent or error will be -// non-nil. Any non-2xx status code is an error. Response headers are in -// either *GoogleCloudDialogflowCxV3beta1Agent.ServerResponse.Header or +// Do executes the "dialogflow.projects.locations.agents.entityTypes.patch" call. +// Exactly one of *GoogleCloudDialogflowCxV3beta1EntityType or error +// will be non-nil. Any non-2xx status code is an error. Response +// headers are in either +// *GoogleCloudDialogflowCxV3beta1EntityType.ServerResponse.Header or // (if a response was returned at all) in // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check // whether the returned error was because http.StatusNotModified was // returned. -func (c *ProjectsLocationsAgentsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1Agent, error) { +func (c *ProjectsLocationsAgentsEntityTypesPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1EntityType, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -10959,7 +16105,7 @@ func (c *ProjectsLocationsAgentsCreateCall) Do(opts ...googleapi.CallOption) (*G if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleCloudDialogflowCxV3beta1Agent{ + ret := &GoogleCloudDialogflowCxV3beta1EntityType{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -10971,28 +16117,39 @@ func (c *ProjectsLocationsAgentsCreateCall) Do(opts ...googleapi.CallOption) (*G } return ret, nil // { - // "description": "Creates an agent in the specified location.", - // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents", - // "httpMethod": "POST", - // "id": "dialogflow.projects.locations.agents.create", + // "description": "Updates the specified entity type.", + // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/entityTypes/{entityTypesId}", + // "httpMethod": "PATCH", + // "id": "dialogflow.projects.locations.agents.entityTypes.patch", // "parameterOrder": [ - // "parent" + // "name" // ], // "parameters": { - // "parent": { - // "description": "Required. The location to create a agent for. Format: `projects//locations/`.", + // "languageCode": { + // "description": "The language of the following fields in `entity_type`: * `EntityType.entities.value` * `EntityType.entities.synonyms` * `EntityType.excluded_phrases.value` If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", + // "location": "query", + // "type": "string" + // }, + // "name": { + // "description": "The unique identifier of the entity type. Required for EntityTypes.UpdateEntityType. Format: `projects//locations//agents//entityTypes/`.", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/entityTypes/[^/]+$", // "required": true, // "type": "string" + // }, + // "updateMask": { + // "description": "The mask to control which fields get updated.", + // "format": "google-fieldmask", + // "location": "query", + // "type": "string" // } // }, - // "path": "v3beta1/{+parent}/agents", + // "path": "v3beta1/{+name}", // "request": { - // "$ref": "GoogleCloudDialogflowCxV3beta1Agent" + // "$ref": "GoogleCloudDialogflowCxV3beta1EntityType" // }, // "response": { - // "$ref": "GoogleCloudDialogflowCxV3beta1Agent" + // "$ref": "GoogleCloudDialogflowCxV3beta1EntityType" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -11002,27 +16159,29 @@ func (c *ProjectsLocationsAgentsCreateCall) Do(opts ...googleapi.CallOption) (*G } -// method id "dialogflow.projects.locations.agents.delete": +// method id "dialogflow.projects.locations.agents.environments.create": -type ProjectsLocationsAgentsDeleteCall struct { - s *Service - name string - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header +type ProjectsLocationsAgentsEnvironmentsCreateCall struct { + s *Service + parent string + googleclouddialogflowcxv3beta1environment *GoogleCloudDialogflowCxV3beta1Environment + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header } -// Delete: Deletes the specified agent. -func (r *ProjectsLocationsAgentsService) Delete(name string) *ProjectsLocationsAgentsDeleteCall { - c := &ProjectsLocationsAgentsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.name = name +// Create: Creates an Environment in the specified Agent. +func (r *ProjectsLocationsAgentsEnvironmentsService) Create(parent string, googleclouddialogflowcxv3beta1environment *GoogleCloudDialogflowCxV3beta1Environment) *ProjectsLocationsAgentsEnvironmentsCreateCall { + c := &ProjectsLocationsAgentsEnvironmentsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.parent = parent + c.googleclouddialogflowcxv3beta1environment = googleclouddialogflowcxv3beta1environment return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsDeleteCall { +func (c *ProjectsLocationsAgentsEnvironmentsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsCreateCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -11030,51 +16189,56 @@ func (c *ProjectsLocationsAgentsDeleteCall) Fields(s ...googleapi.Field) *Projec // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsDeleteCall) Context(ctx context.Context) *ProjectsLocationsAgentsDeleteCall { +func (c *ProjectsLocationsAgentsEnvironmentsCreateCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsCreateCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsDeleteCall) Header() http.Header { +func (c *ProjectsLocationsAgentsEnvironmentsCreateCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsDeleteCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsEnvironmentsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } reqHeaders.Set("User-Agent", c.s.userAgent()) var body io.Reader = nil + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3beta1environment) + if err != nil { + return nil, err + } + reqHeaders.Set("Content-Type", "application/json") c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+name}") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+parent}/environments") urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("DELETE", urls, body) + req, err := http.NewRequest("POST", urls, body) if err != nil { return nil, err } req.Header = reqHeaders googleapi.Expand(req.URL, map[string]string{ - "name": c.name, + "parent": c.parent, }) return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.delete" call. -// Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any -// non-2xx status code is an error. Response headers are in either -// *GoogleProtobufEmpty.ServerResponse.Header or (if a response was -// returned at all) in error.(*googleapi.Error).Header. Use +// Do executes the "dialogflow.projects.locations.agents.environments.create" call. +// Exactly one of *GoogleLongrunningOperation or error will be non-nil. +// Any non-2xx status code is an error. Response headers are in either +// *GoogleLongrunningOperation.ServerResponse.Header or (if a response +// was returned at all) in error.(*googleapi.Error).Header. Use // googleapi.IsNotModified to check whether the returned error was // because http.StatusNotModified was returned. -func (c *ProjectsLocationsAgentsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error) { +func (c *ProjectsLocationsAgentsEnvironmentsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -11093,7 +16257,7 @@ func (c *ProjectsLocationsAgentsDeleteCall) Do(opts ...googleapi.CallOption) (*G if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleProtobufEmpty{ + ret := &GoogleLongrunningOperation{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -11105,25 +16269,28 @@ func (c *ProjectsLocationsAgentsDeleteCall) Do(opts ...googleapi.CallOption) (*G } return ret, nil // { - // "description": "Deletes the specified agent.", - // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}", - // "httpMethod": "DELETE", - // "id": "dialogflow.projects.locations.agents.delete", + // "description": "Creates an Environment in the specified Agent.", + // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments", + // "httpMethod": "POST", + // "id": "dialogflow.projects.locations.agents.environments.create", // "parameterOrder": [ - // "name" + // "parent" // ], // "parameters": { - // "name": { - // "description": "Required. The name of the agent to delete. Format: `projects//locations//agents/`.", + // "parent": { + // "description": "Required. The Agent to create an Environment for. Format: `projects//locations//agents/`.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", // "required": true, // "type": "string" // } // }, - // "path": "v3beta1/{+name}", + // "path": "v3beta1/{+parent}/environments", + // "request": { + // "$ref": "GoogleCloudDialogflowCxV3beta1Environment" + // }, // "response": { - // "$ref": "GoogleProtobufEmpty" + // "$ref": "GoogleLongrunningOperation" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -11133,29 +16300,27 @@ func (c *ProjectsLocationsAgentsDeleteCall) Do(opts ...googleapi.CallOption) (*G } -// method id "dialogflow.projects.locations.agents.export": +// method id "dialogflow.projects.locations.agents.environments.delete": -type ProjectsLocationsAgentsExportCall struct { - s *Service - name string - googleclouddialogflowcxv3beta1exportagentrequest *GoogleCloudDialogflowCxV3beta1ExportAgentRequest - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header +type ProjectsLocationsAgentsEnvironmentsDeleteCall struct { + s *Service + name string + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header } -// Export: Exports the specified agent to a binary file. -func (r *ProjectsLocationsAgentsService) Export(name string, googleclouddialogflowcxv3beta1exportagentrequest *GoogleCloudDialogflowCxV3beta1ExportAgentRequest) *ProjectsLocationsAgentsExportCall { - c := &ProjectsLocationsAgentsExportCall{s: r.s, urlParams_: make(gensupport.URLParams)} +// Delete: Deletes the specified Environment. +func (r *ProjectsLocationsAgentsEnvironmentsService) Delete(name string) *ProjectsLocationsAgentsEnvironmentsDeleteCall { + c := &ProjectsLocationsAgentsEnvironmentsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name - c.googleclouddialogflowcxv3beta1exportagentrequest = googleclouddialogflowcxv3beta1exportagentrequest return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsExportCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsExportCall { +func (c *ProjectsLocationsAgentsEnvironmentsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsDeleteCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -11163,38 +16328,33 @@ func (c *ProjectsLocationsAgentsExportCall) Fields(s ...googleapi.Field) *Projec // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsExportCall) Context(ctx context.Context) *ProjectsLocationsAgentsExportCall { +func (c *ProjectsLocationsAgentsEnvironmentsDeleteCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsDeleteCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsExportCall) Header() http.Header { +func (c *ProjectsLocationsAgentsEnvironmentsDeleteCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsExportCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsEnvironmentsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } reqHeaders.Set("User-Agent", c.s.userAgent()) var body io.Reader = nil - body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3beta1exportagentrequest) - if err != nil { - return nil, err - } - reqHeaders.Set("Content-Type", "application/json") c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+name}:export") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+name}") urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("POST", urls, body) + req, err := http.NewRequest("DELETE", urls, body) if err != nil { return nil, err } @@ -11205,14 +16365,14 @@ func (c *ProjectsLocationsAgentsExportCall) doRequest(alt string) (*http.Respons return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.export" call. -// Exactly one of *GoogleLongrunningOperation or error will be non-nil. -// Any non-2xx status code is an error. Response headers are in either -// *GoogleLongrunningOperation.ServerResponse.Header or (if a response -// was returned at all) in error.(*googleapi.Error).Header. Use +// Do executes the "dialogflow.projects.locations.agents.environments.delete" call. +// Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any +// non-2xx status code is an error. Response headers are in either +// *GoogleProtobufEmpty.ServerResponse.Header or (if a response was +// returned at all) in error.(*googleapi.Error).Header. Use // googleapi.IsNotModified to check whether the returned error was // because http.StatusNotModified was returned. -func (c *ProjectsLocationsAgentsExportCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error) { +func (c *ProjectsLocationsAgentsEnvironmentsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -11231,7 +16391,7 @@ func (c *ProjectsLocationsAgentsExportCall) Do(opts ...googleapi.CallOption) (*G if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleLongrunningOperation{ + ret := &GoogleProtobufEmpty{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -11243,28 +16403,25 @@ func (c *ProjectsLocationsAgentsExportCall) Do(opts ...googleapi.CallOption) (*G } return ret, nil // { - // "description": "Exports the specified agent to a binary file.", - // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}:export", - // "httpMethod": "POST", - // "id": "dialogflow.projects.locations.agents.export", + // "description": "Deletes the specified Environment.", + // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}", + // "httpMethod": "DELETE", + // "id": "dialogflow.projects.locations.agents.environments.delete", // "parameterOrder": [ // "name" // ], // "parameters": { // "name": { - // "description": "Required. The name of the agent to export. Format: `projects//locations//agents/`.", + // "description": "Required. The name of the Environment to delete. Format: `projects//locations//agents//environments/`.", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/environments/[^/]+$", // "required": true, // "type": "string" // } // }, - // "path": "v3beta1/{+name}:export", - // "request": { - // "$ref": "GoogleCloudDialogflowCxV3beta1ExportAgentRequest" - // }, + // "path": "v3beta1/{+name}", // "response": { - // "$ref": "GoogleLongrunningOperation" + // "$ref": "GoogleProtobufEmpty" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -11274,9 +16431,9 @@ func (c *ProjectsLocationsAgentsExportCall) Do(opts ...googleapi.CallOption) (*G } -// method id "dialogflow.projects.locations.agents.get": +// method id "dialogflow.projects.locations.agents.environments.get": -type ProjectsLocationsAgentsGetCall struct { +type ProjectsLocationsAgentsEnvironmentsGetCall struct { s *Service name string urlParams_ gensupport.URLParams @@ -11285,9 +16442,9 @@ type ProjectsLocationsAgentsGetCall struct { header_ http.Header } -// Get: Retrieves the specified agent. -func (r *ProjectsLocationsAgentsService) Get(name string) *ProjectsLocationsAgentsGetCall { - c := &ProjectsLocationsAgentsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} +// Get: Retrieves the specified Environment. +func (r *ProjectsLocationsAgentsEnvironmentsService) Get(name string) *ProjectsLocationsAgentsEnvironmentsGetCall { + c := &ProjectsLocationsAgentsEnvironmentsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name return c } @@ -11295,7 +16452,7 @@ func (r *ProjectsLocationsAgentsService) Get(name string) *ProjectsLocationsAgen // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsGetCall { +func (c *ProjectsLocationsAgentsEnvironmentsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsGetCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -11305,7 +16462,7 @@ func (c *ProjectsLocationsAgentsGetCall) Fields(s ...googleapi.Field) *ProjectsL // getting updates only after the object has changed since the last // request. Use googleapi.IsNotModified to check whether the response // error from Do is the result of In-None-Match. -func (c *ProjectsLocationsAgentsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsGetCall { +func (c *ProjectsLocationsAgentsEnvironmentsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsEnvironmentsGetCall { c.ifNoneMatch_ = entityTag return c } @@ -11313,23 +16470,23 @@ func (c *ProjectsLocationsAgentsGetCall) IfNoneMatch(entityTag string) *Projects // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsGetCall) Context(ctx context.Context) *ProjectsLocationsAgentsGetCall { +func (c *ProjectsLocationsAgentsEnvironmentsGetCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsGetCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsGetCall) Header() http.Header { +func (c *ProjectsLocationsAgentsEnvironmentsGetCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsGetCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsEnvironmentsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11353,15 +16510,16 @@ func (c *ProjectsLocationsAgentsGetCall) doRequest(alt string) (*http.Response, return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.get" call. -// Exactly one of *GoogleCloudDialogflowCxV3beta1Agent or error will be -// non-nil. Any non-2xx status code is an error. Response headers are in -// either *GoogleCloudDialogflowCxV3beta1Agent.ServerResponse.Header or +// Do executes the "dialogflow.projects.locations.agents.environments.get" call. +// Exactly one of *GoogleCloudDialogflowCxV3beta1Environment or error +// will be non-nil. Any non-2xx status code is an error. Response +// headers are in either +// *GoogleCloudDialogflowCxV3beta1Environment.ServerResponse.Header or // (if a response was returned at all) in // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check // whether the returned error was because http.StatusNotModified was // returned. -func (c *ProjectsLocationsAgentsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1Agent, error) { +func (c *ProjectsLocationsAgentsEnvironmentsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1Environment, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -11380,7 +16538,7 @@ func (c *ProjectsLocationsAgentsGetCall) Do(opts ...googleapi.CallOption) (*Goog if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleCloudDialogflowCxV3beta1Agent{ + ret := &GoogleCloudDialogflowCxV3beta1Environment{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -11392,25 +16550,25 @@ func (c *ProjectsLocationsAgentsGetCall) Do(opts ...googleapi.CallOption) (*Goog } return ret, nil // { - // "description": "Retrieves the specified agent.", - // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}", + // "description": "Retrieves the specified Environment.", + // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}", // "httpMethod": "GET", - // "id": "dialogflow.projects.locations.agents.get", + // "id": "dialogflow.projects.locations.agents.environments.get", // "parameterOrder": [ // "name" // ], // "parameters": { // "name": { - // "description": "Required. The name of the agent. Format: `projects//locations//agents/`.", + // "description": "Required. The name of the Environment. Format: `projects//locations//agents//environments/`.", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/environments/[^/]+$", // "required": true, // "type": "string" // } // }, // "path": "v3beta1/{+name}", // "response": { - // "$ref": "GoogleCloudDialogflowCxV3beta1Agent" + // "$ref": "GoogleCloudDialogflowCxV3beta1Environment" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -11420,9 +16578,9 @@ func (c *ProjectsLocationsAgentsGetCall) Do(opts ...googleapi.CallOption) (*Goog } -// method id "dialogflow.projects.locations.agents.list": +// method id "dialogflow.projects.locations.agents.environments.list": -type ProjectsLocationsAgentsListCall struct { +type ProjectsLocationsAgentsEnvironmentsListCall struct { s *Service parent string urlParams_ gensupport.URLParams @@ -11431,23 +16589,23 @@ type ProjectsLocationsAgentsListCall struct { header_ http.Header } -// List: Returns the list of all agents in the specified location. -func (r *ProjectsLocationsAgentsService) List(parent string) *ProjectsLocationsAgentsListCall { - c := &ProjectsLocationsAgentsListCall{s: r.s, urlParams_: make(gensupport.URLParams)} +// List: Returns the list of all environments in the specified Agent. +func (r *ProjectsLocationsAgentsEnvironmentsService) List(parent string) *ProjectsLocationsAgentsEnvironmentsListCall { + c := &ProjectsLocationsAgentsEnvironmentsListCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.parent = parent return c } // PageSize sets the optional parameter "pageSize": The maximum number -// of items to return in a single page. By default 100 and at most 1000. -func (c *ProjectsLocationsAgentsListCall) PageSize(pageSize int64) *ProjectsLocationsAgentsListCall { +// of items to return in a single page. By default 20 and at most 100. +func (c *ProjectsLocationsAgentsEnvironmentsListCall) PageSize(pageSize int64) *ProjectsLocationsAgentsEnvironmentsListCall { c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) return c } // PageToken sets the optional parameter "pageToken": The // next_page_token value returned from a previous list request. -func (c *ProjectsLocationsAgentsListCall) PageToken(pageToken string) *ProjectsLocationsAgentsListCall { +func (c *ProjectsLocationsAgentsEnvironmentsListCall) PageToken(pageToken string) *ProjectsLocationsAgentsEnvironmentsListCall { c.urlParams_.Set("pageToken", pageToken) return c } @@ -11455,7 +16613,7 @@ func (c *ProjectsLocationsAgentsListCall) PageToken(pageToken string) *ProjectsL // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsListCall { +func (c *ProjectsLocationsAgentsEnvironmentsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsListCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -11465,7 +16623,7 @@ func (c *ProjectsLocationsAgentsListCall) Fields(s ...googleapi.Field) *Projects // getting updates only after the object has changed since the last // request. Use googleapi.IsNotModified to check whether the response // error from Do is the result of In-None-Match. -func (c *ProjectsLocationsAgentsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsListCall { +func (c *ProjectsLocationsAgentsEnvironmentsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsEnvironmentsListCall { c.ifNoneMatch_ = entityTag return c } @@ -11473,23 +16631,23 @@ func (c *ProjectsLocationsAgentsListCall) IfNoneMatch(entityTag string) *Project // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsListCall) Context(ctx context.Context) *ProjectsLocationsAgentsListCall { +func (c *ProjectsLocationsAgentsEnvironmentsListCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsListCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsListCall) Header() http.Header { +func (c *ProjectsLocationsAgentsEnvironmentsListCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsListCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsEnvironmentsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11500,7 +16658,7 @@ func (c *ProjectsLocationsAgentsListCall) doRequest(alt string) (*http.Response, var body io.Reader = nil c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+parent}/agents") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+parent}/environments") urls += "?" + c.urlParams_.Encode() req, err := http.NewRequest("GET", urls, body) if err != nil { @@ -11513,16 +16671,17 @@ func (c *ProjectsLocationsAgentsListCall) doRequest(alt string) (*http.Response, return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.list" call. -// Exactly one of *GoogleCloudDialogflowCxV3beta1ListAgentsResponse or -// error will be non-nil. Any non-2xx status code is an error. Response -// headers are in either -// *GoogleCloudDialogflowCxV3beta1ListAgentsResponse.ServerResponse.Heade -// r or (if a response was returned at all) in +// Do executes the "dialogflow.projects.locations.agents.environments.list" call. +// Exactly one of +// *GoogleCloudDialogflowCxV3beta1ListEnvironmentsResponse or error will +// be non-nil. Any non-2xx status code is an error. Response headers are +// in either +// *GoogleCloudDialogflowCxV3beta1ListEnvironmentsResponse.ServerResponse +// .Header or (if a response was returned at all) in // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check // whether the returned error was because http.StatusNotModified was // returned. -func (c *ProjectsLocationsAgentsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1ListAgentsResponse, error) { +func (c *ProjectsLocationsAgentsEnvironmentsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1ListEnvironmentsResponse, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -11541,7 +16700,7 @@ func (c *ProjectsLocationsAgentsListCall) Do(opts ...googleapi.CallOption) (*Goo if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleCloudDialogflowCxV3beta1ListAgentsResponse{ + ret := &GoogleCloudDialogflowCxV3beta1ListEnvironmentsResponse{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -11553,16 +16712,16 @@ func (c *ProjectsLocationsAgentsListCall) Do(opts ...googleapi.CallOption) (*Goo } return ret, nil // { - // "description": "Returns the list of all agents in the specified location.", - // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents", + // "description": "Returns the list of all environments in the specified Agent.", + // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments", // "httpMethod": "GET", - // "id": "dialogflow.projects.locations.agents.list", + // "id": "dialogflow.projects.locations.agents.environments.list", // "parameterOrder": [ // "parent" // ], // "parameters": { // "pageSize": { - // "description": "The maximum number of items to return in a single page. By default 100 and at most 1000.", + // "description": "The maximum number of items to return in a single page. By default 20 and at most 100.", // "format": "int32", // "location": "query", // "type": "integer" @@ -11573,16 +16732,16 @@ func (c *ProjectsLocationsAgentsListCall) Do(opts ...googleapi.CallOption) (*Goo // "type": "string" // }, // "parent": { - // "description": "Required. The location to list all agents for. Format: `projects//locations/`.", + // "description": "Required. The Agent to list all environments for. Format: `projects//locations//agents/`.", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", // "required": true, // "type": "string" // } // }, - // "path": "v3beta1/{+parent}/agents", + // "path": "v3beta1/{+parent}/environments", // "response": { - // "$ref": "GoogleCloudDialogflowCxV3beta1ListAgentsResponse" + // "$ref": "GoogleCloudDialogflowCxV3beta1ListEnvironmentsResponse" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -11595,7 +16754,7 @@ func (c *ProjectsLocationsAgentsListCall) Do(opts ...googleapi.CallOption) (*Goo // Pages invokes f for each page of results. // A non-nil error returned from f will halt the iteration. // The provided context supersedes any context provided to the Context method. -func (c *ProjectsLocationsAgentsListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowCxV3beta1ListAgentsResponse) error) error { +func (c *ProjectsLocationsAgentsEnvironmentsListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowCxV3beta1ListEnvironmentsResponse) error) error { c.ctx_ = ctx defer c.PageToken(c.urlParams_.Get("pageToken")) // reset paging to original point for { @@ -11613,95 +16772,111 @@ func (c *ProjectsLocationsAgentsListCall) Pages(ctx context.Context, f func(*Goo } } -// method id "dialogflow.projects.locations.agents.patch": +// method id "dialogflow.projects.locations.agents.environments.lookupEnvironmentHistory": -type ProjectsLocationsAgentsPatchCall struct { - s *Service - nameid string - googleclouddialogflowcxv3beta1agent *GoogleCloudDialogflowCxV3beta1Agent - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header +type ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall struct { + s *Service + name string + urlParams_ gensupport.URLParams + ifNoneMatch_ string + ctx_ context.Context + header_ http.Header } -// Patch: Updates the specified agent. -func (r *ProjectsLocationsAgentsService) Patch(nameid string, googleclouddialogflowcxv3beta1agent *GoogleCloudDialogflowCxV3beta1Agent) *ProjectsLocationsAgentsPatchCall { - c := &ProjectsLocationsAgentsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.nameid = nameid - c.googleclouddialogflowcxv3beta1agent = googleclouddialogflowcxv3beta1agent +// LookupEnvironmentHistory: Looks up the history of the specified +// Environment. +func (r *ProjectsLocationsAgentsEnvironmentsService) LookupEnvironmentHistory(name string) *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall { + c := &ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name return c } -// UpdateMask sets the optional parameter "updateMask": The mask to -// control which fields get updated. If the mask is not present, all -// fields will be updated. -func (c *ProjectsLocationsAgentsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsAgentsPatchCall { - c.urlParams_.Set("updateMask", updateMask) +// PageSize sets the optional parameter "pageSize": The maximum number +// of items to return in a single page. By default 100 and at most 1000. +func (c *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall) PageSize(pageSize int64) *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall { + c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) + return c +} + +// PageToken sets the optional parameter "pageToken": The +// next_page_token value returned from a previous list request. +func (c *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall) PageToken(pageToken string) *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall { + c.urlParams_.Set("pageToken", pageToken) return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsPatchCall { +func (c *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } +// IfNoneMatch sets the optional parameter which makes the operation +// fail if the object's ETag matches the given value. This is useful for +// getting updates only after the object has changed since the last +// request. Use googleapi.IsNotModified to check whether the response +// error from Do is the result of In-None-Match. +func (c *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall { + c.ifNoneMatch_ = entityTag + return c +} + // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsPatchCall) Context(ctx context.Context) *ProjectsLocationsAgentsPatchCall { +func (c *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsPatchCall) Header() http.Header { +func (c *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsPatchCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } reqHeaders.Set("User-Agent", c.s.userAgent()) - var body io.Reader = nil - body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3beta1agent) - if err != nil { - return nil, err + if c.ifNoneMatch_ != "" { + reqHeaders.Set("If-None-Match", c.ifNoneMatch_) } - reqHeaders.Set("Content-Type", "application/json") + var body io.Reader = nil c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+name}") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+name}:lookupEnvironmentHistory") urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("PATCH", urls, body) + req, err := http.NewRequest("GET", urls, body) if err != nil { return nil, err } req.Header = reqHeaders googleapi.Expand(req.URL, map[string]string{ - "name": c.nameid, + "name": c.name, }) return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.patch" call. -// Exactly one of *GoogleCloudDialogflowCxV3beta1Agent or error will be -// non-nil. Any non-2xx status code is an error. Response headers are in -// either *GoogleCloudDialogflowCxV3beta1Agent.ServerResponse.Header or -// (if a response was returned at all) in +// Do executes the "dialogflow.projects.locations.agents.environments.lookupEnvironmentHistory" call. +// Exactly one of +// *GoogleCloudDialogflowCxV3beta1LookupEnvironmentHistoryResponse or +// error will be non-nil. Any non-2xx status code is an error. Response +// headers are in either +// *GoogleCloudDialogflowCxV3beta1LookupEnvironmentHistoryResponse.Server +// Response.Header or (if a response was returned at all) in // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check // whether the returned error was because http.StatusNotModified was // returned. -func (c *ProjectsLocationsAgentsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1Agent, error) { +func (c *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1LookupEnvironmentHistoryResponse, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -11720,7 +16895,7 @@ func (c *ProjectsLocationsAgentsPatchCall) Do(opts ...googleapi.CallOption) (*Go if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleCloudDialogflowCxV3beta1Agent{ + ret := &GoogleCloudDialogflowCxV3beta1LookupEnvironmentHistoryResponse{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -11732,34 +16907,36 @@ func (c *ProjectsLocationsAgentsPatchCall) Do(opts ...googleapi.CallOption) (*Go } return ret, nil // { - // "description": "Updates the specified agent.", - // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}", - // "httpMethod": "PATCH", - // "id": "dialogflow.projects.locations.agents.patch", + // "description": "Looks up the history of the specified Environment.", + // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}:lookupEnvironmentHistory", + // "httpMethod": "GET", + // "id": "dialogflow.projects.locations.agents.environments.lookupEnvironmentHistory", // "parameterOrder": [ // "name" // ], // "parameters": { // "name": { - // "description": "The unique identifier of the agent. Required for the Agents.UpdateAgent method. Agents.CreateAgent populates the name automatically. Format: `projects//locations//agents/`.", + // "description": "Required. Resource name of the environment to look up the history for. Format: `projects//locations//agents//environments/`.", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/environments/[^/]+$", // "required": true, // "type": "string" // }, - // "updateMask": { - // "description": "The mask to control which fields get updated. If the mask is not present, all fields will be updated.", - // "format": "google-fieldmask", + // "pageSize": { + // "description": "The maximum number of items to return in a single page. By default 100 and at most 1000.", + // "format": "int32", + // "location": "query", + // "type": "integer" + // }, + // "pageToken": { + // "description": "The next_page_token value returned from a previous list request.", // "location": "query", // "type": "string" // } // }, - // "path": "v3beta1/{+name}", - // "request": { - // "$ref": "GoogleCloudDialogflowCxV3beta1Agent" - // }, + // "path": "v3beta1/{+name}:lookupEnvironmentHistory", // "response": { - // "$ref": "GoogleCloudDialogflowCxV3beta1Agent" + // "$ref": "GoogleCloudDialogflowCxV3beta1LookupEnvironmentHistoryResponse" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -11769,31 +16946,57 @@ func (c *ProjectsLocationsAgentsPatchCall) Do(opts ...googleapi.CallOption) (*Go } -// method id "dialogflow.projects.locations.agents.restore": +// Pages invokes f for each page of results. +// A non-nil error returned from f will halt the iteration. +// The provided context supersedes any context provided to the Context method. +func (c *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowCxV3beta1LookupEnvironmentHistoryResponse) error) error { + c.ctx_ = ctx + defer c.PageToken(c.urlParams_.Get("pageToken")) // reset paging to original point + for { + x, err := c.Do() + if err != nil { + return err + } + if err := f(x); err != nil { + return err + } + if x.NextPageToken == "" { + return nil + } + c.PageToken(x.NextPageToken) + } +} -type ProjectsLocationsAgentsRestoreCall struct { - s *Service - name string - googleclouddialogflowcxv3beta1restoreagentrequest *GoogleCloudDialogflowCxV3beta1RestoreAgentRequest - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header +// method id "dialogflow.projects.locations.agents.environments.patch": + +type ProjectsLocationsAgentsEnvironmentsPatchCall struct { + s *Service + name string + googleclouddialogflowcxv3beta1environment *GoogleCloudDialogflowCxV3beta1Environment + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header } -// Restore: Restores the specified agent from a binary file. Replaces -// the current agent with a new one. Note that all existing resources in -// agent (e.g. intents, entity types, flows) will be removed. -func (r *ProjectsLocationsAgentsService) Restore(name string, googleclouddialogflowcxv3beta1restoreagentrequest *GoogleCloudDialogflowCxV3beta1RestoreAgentRequest) *ProjectsLocationsAgentsRestoreCall { - c := &ProjectsLocationsAgentsRestoreCall{s: r.s, urlParams_: make(gensupport.URLParams)} +// Patch: Updates the specified Environment. +func (r *ProjectsLocationsAgentsEnvironmentsService) Patch(name string, googleclouddialogflowcxv3beta1environment *GoogleCloudDialogflowCxV3beta1Environment) *ProjectsLocationsAgentsEnvironmentsPatchCall { + c := &ProjectsLocationsAgentsEnvironmentsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name - c.googleclouddialogflowcxv3beta1restoreagentrequest = googleclouddialogflowcxv3beta1restoreagentrequest + c.googleclouddialogflowcxv3beta1environment = googleclouddialogflowcxv3beta1environment + return c +} + +// UpdateMask sets the optional parameter "updateMask": Required. The +// mask to control which fields get updated. +func (c *ProjectsLocationsAgentsEnvironmentsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsAgentsEnvironmentsPatchCall { + c.urlParams_.Set("updateMask", updateMask) return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsRestoreCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsRestoreCall { +func (c *ProjectsLocationsAgentsEnvironmentsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsPatchCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -11801,38 +17004,38 @@ func (c *ProjectsLocationsAgentsRestoreCall) Fields(s ...googleapi.Field) *Proje // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsRestoreCall) Context(ctx context.Context) *ProjectsLocationsAgentsRestoreCall { +func (c *ProjectsLocationsAgentsEnvironmentsPatchCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsPatchCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsRestoreCall) Header() http.Header { +func (c *ProjectsLocationsAgentsEnvironmentsPatchCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsRestoreCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsEnvironmentsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } reqHeaders.Set("User-Agent", c.s.userAgent()) var body io.Reader = nil - body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3beta1restoreagentrequest) + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3beta1environment) if err != nil { return nil, err } reqHeaders.Set("Content-Type", "application/json") c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+name}:restore") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+name}") urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("POST", urls, body) + req, err := http.NewRequest("PATCH", urls, body) if err != nil { return nil, err } @@ -11843,14 +17046,14 @@ func (c *ProjectsLocationsAgentsRestoreCall) doRequest(alt string) (*http.Respon return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.restore" call. +// Do executes the "dialogflow.projects.locations.agents.environments.patch" call. // Exactly one of *GoogleLongrunningOperation or error will be non-nil. // Any non-2xx status code is an error. Response headers are in either // *GoogleLongrunningOperation.ServerResponse.Header or (if a response // was returned at all) in error.(*googleapi.Error).Header. Use // googleapi.IsNotModified to check whether the returned error was // because http.StatusNotModified was returned. -func (c *ProjectsLocationsAgentsRestoreCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error) { +func (c *ProjectsLocationsAgentsEnvironmentsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -11881,25 +17084,31 @@ func (c *ProjectsLocationsAgentsRestoreCall) Do(opts ...googleapi.CallOption) (* } return ret, nil // { - // "description": "Restores the specified agent from a binary file. Replaces the current agent with a new one. Note that all existing resources in agent (e.g. intents, entity types, flows) will be removed.", - // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}:restore", - // "httpMethod": "POST", - // "id": "dialogflow.projects.locations.agents.restore", + // "description": "Updates the specified Environment.", + // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}", + // "httpMethod": "PATCH", + // "id": "dialogflow.projects.locations.agents.environments.patch", // "parameterOrder": [ // "name" // ], // "parameters": { // "name": { - // "description": "Required. The name of the agent to restore into. Format: `projects//locations//agents/`.", + // "description": "The name of the environment. Format: `projects//locations//agents//environments/`.", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/environments/[^/]+$", // "required": true, // "type": "string" + // }, + // "updateMask": { + // "description": "Required. The mask to control which fields get updated.", + // "format": "google-fieldmask", + // "location": "query", + // "type": "string" // } // }, - // "path": "v3beta1/{+name}:restore", + // "path": "v3beta1/{+name}", // "request": { - // "$ref": "GoogleCloudDialogflowCxV3beta1RestoreAgentRequest" + // "$ref": "GoogleCloudDialogflowCxV3beta1Environment" // }, // "response": { // "$ref": "GoogleLongrunningOperation" @@ -11912,42 +17121,35 @@ func (c *ProjectsLocationsAgentsRestoreCall) Do(opts ...googleapi.CallOption) (* } -// method id "dialogflow.projects.locations.agents.entityTypes.create": - -type ProjectsLocationsAgentsEntityTypesCreateCall struct { - s *Service - parent string - googleclouddialogflowcxv3beta1entitytype *GoogleCloudDialogflowCxV3beta1EntityType - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header -} +// method id "dialogflow.projects.locations.agents.environments.sessions.detectIntent": -// Create: Creates an entity type in the specified agent. -func (r *ProjectsLocationsAgentsEntityTypesService) Create(parent string, googleclouddialogflowcxv3beta1entitytype *GoogleCloudDialogflowCxV3beta1EntityType) *ProjectsLocationsAgentsEntityTypesCreateCall { - c := &ProjectsLocationsAgentsEntityTypesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.parent = parent - c.googleclouddialogflowcxv3beta1entitytype = googleclouddialogflowcxv3beta1entitytype - return c +type ProjectsLocationsAgentsEnvironmentsSessionsDetectIntentCall struct { + s *Service + sessionid string + googleclouddialogflowcxv3beta1detectintentrequest *GoogleCloudDialogflowCxV3beta1DetectIntentRequest + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header } -// LanguageCode sets the optional parameter "languageCode": The language -// of the following fields in `entity_type`: * -// `EntityType.entities.value` * `EntityType.entities.synonyms` * -// `EntityType.excluded_phrases.value` If not specified, the agent's -// default language is used. [Many -// languages](https://cloud.google.com/dialogflow/docs/reference/language -// ) are supported. Note: languages must be enabled in the agent before -// they can be used. -func (c *ProjectsLocationsAgentsEntityTypesCreateCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsEntityTypesCreateCall { - c.urlParams_.Set("languageCode", languageCode) +// DetectIntent: Processes a natural language query and returns +// structured, actionable data as a result. This method is not +// idempotent, because it may cause session entity types to be updated, +// which in turn might affect results of future queries. Note: Always +// use agent versions for production traffic. See [Versions and +// environments](https://cloud.google.com/dialogflow/cx/docs/concept/vers +// ion). +func (r *ProjectsLocationsAgentsEnvironmentsSessionsService) DetectIntent(sessionid string, googleclouddialogflowcxv3beta1detectintentrequest *GoogleCloudDialogflowCxV3beta1DetectIntentRequest) *ProjectsLocationsAgentsEnvironmentsSessionsDetectIntentCall { + c := &ProjectsLocationsAgentsEnvironmentsSessionsDetectIntentCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.sessionid = sessionid + c.googleclouddialogflowcxv3beta1detectintentrequest = googleclouddialogflowcxv3beta1detectintentrequest return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsEntityTypesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEntityTypesCreateCall { +func (c *ProjectsLocationsAgentsEnvironmentsSessionsDetectIntentCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsSessionsDetectIntentCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -11955,36 +17157,36 @@ func (c *ProjectsLocationsAgentsEntityTypesCreateCall) Fields(s ...googleapi.Fie // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsEntityTypesCreateCall) Context(ctx context.Context) *ProjectsLocationsAgentsEntityTypesCreateCall { +func (c *ProjectsLocationsAgentsEnvironmentsSessionsDetectIntentCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsSessionsDetectIntentCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsEntityTypesCreateCall) Header() http.Header { +func (c *ProjectsLocationsAgentsEnvironmentsSessionsDetectIntentCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsEntityTypesCreateCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsEnvironmentsSessionsDetectIntentCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } reqHeaders.Set("User-Agent", c.s.userAgent()) var body io.Reader = nil - body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3beta1entitytype) + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3beta1detectintentrequest) if err != nil { return nil, err } reqHeaders.Set("Content-Type", "application/json") c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+parent}/entityTypes") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+session}:detectIntent") urls += "?" + c.urlParams_.Encode() req, err := http.NewRequest("POST", urls, body) if err != nil { @@ -11992,21 +17194,21 @@ func (c *ProjectsLocationsAgentsEntityTypesCreateCall) doRequest(alt string) (*h } req.Header = reqHeaders googleapi.Expand(req.URL, map[string]string{ - "parent": c.parent, + "session": c.sessionid, }) return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.entityTypes.create" call. -// Exactly one of *GoogleCloudDialogflowCxV3beta1EntityType or error -// will be non-nil. Any non-2xx status code is an error. Response +// Do executes the "dialogflow.projects.locations.agents.environments.sessions.detectIntent" call. +// Exactly one of *GoogleCloudDialogflowCxV3beta1DetectIntentResponse or +// error will be non-nil. Any non-2xx status code is an error. Response // headers are in either -// *GoogleCloudDialogflowCxV3beta1EntityType.ServerResponse.Header or -// (if a response was returned at all) in +// *GoogleCloudDialogflowCxV3beta1DetectIntentResponse.ServerResponse.Hea +// der or (if a response was returned at all) in // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check // whether the returned error was because http.StatusNotModified was // returned. -func (c *ProjectsLocationsAgentsEntityTypesCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1EntityType, error) { +func (c *ProjectsLocationsAgentsEnvironmentsSessionsDetectIntentCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1DetectIntentResponse, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -12025,7 +17227,7 @@ func (c *ProjectsLocationsAgentsEntityTypesCreateCall) Do(opts ...googleapi.Call if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleCloudDialogflowCxV3beta1EntityType{ + ret := &GoogleCloudDialogflowCxV3beta1DetectIntentResponse{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -12037,33 +17239,28 @@ func (c *ProjectsLocationsAgentsEntityTypesCreateCall) Do(opts ...googleapi.Call } return ret, nil // { - // "description": "Creates an entity type in the specified agent.", - // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/entityTypes", + // "description": "Processes a natural language query and returns structured, actionable data as a result. This method is not idempotent, because it may cause session entity types to be updated, which in turn might affect results of future queries. Note: Always use agent versions for production traffic. See [Versions and environments](https://cloud.google.com/dialogflow/cx/docs/concept/version).", + // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}/sessions/{sessionsId}:detectIntent", // "httpMethod": "POST", - // "id": "dialogflow.projects.locations.agents.entityTypes.create", + // "id": "dialogflow.projects.locations.agents.environments.sessions.detectIntent", // "parameterOrder": [ - // "parent" + // "session" // ], // "parameters": { - // "languageCode": { - // "description": "The language of the following fields in `entity_type`: * `EntityType.entities.value` * `EntityType.entities.synonyms` * `EntityType.excluded_phrases.value` If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", - // "location": "query", - // "type": "string" - // }, - // "parent": { - // "description": "Required. The agent to create a entity type for. Format: `projects//locations//agents/`.", + // "session": { + // "description": "Required. The name of the session this query is sent to. Format: `projects//locations//agents//sessions/` or `projects//locations//agents//environments//sessions/`. If `Environment ID` is not specified, we assume default 'draft' environment. It's up to the API caller to choose an appropriate `Session ID`. It can be a random number or some type of session identifiers (preferably hashed). The length of the `Session ID` must not exceed 36 characters. For more information, see the [sessions guide](https://cloud.google.com/dialogflow/cx/docs/concept/session). Note: Always use agent versions for production traffic. See [Versions and environments](https://cloud.google.com/dialogflow/cx/docs/concept/version).", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/environments/[^/]+/sessions/[^/]+$", // "required": true, // "type": "string" // } // }, - // "path": "v3beta1/{+parent}/entityTypes", + // "path": "v3beta1/{+session}:detectIntent", // "request": { - // "$ref": "GoogleCloudDialogflowCxV3beta1EntityType" + // "$ref": "GoogleCloudDialogflowCxV3beta1DetectIntentRequest" // }, // "response": { - // "$ref": "GoogleCloudDialogflowCxV3beta1EntityType" + // "$ref": "GoogleCloudDialogflowCxV3beta1DetectIntentResponse" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -12073,40 +17270,31 @@ func (c *ProjectsLocationsAgentsEntityTypesCreateCall) Do(opts ...googleapi.Call } -// method id "dialogflow.projects.locations.agents.entityTypes.delete": - -type ProjectsLocationsAgentsEntityTypesDeleteCall struct { - s *Service - name string - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header -} +// method id "dialogflow.projects.locations.agents.environments.sessions.fulfillIntent": -// Delete: Deletes the specified entity type. -func (r *ProjectsLocationsAgentsEntityTypesService) Delete(name string) *ProjectsLocationsAgentsEntityTypesDeleteCall { - c := &ProjectsLocationsAgentsEntityTypesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.name = name - return c +type ProjectsLocationsAgentsEnvironmentsSessionsFulfillIntentCall struct { + s *Service + sessionid string + googleclouddialogflowcxv3beta1fulfillintentrequest *GoogleCloudDialogflowCxV3beta1FulfillIntentRequest + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header } -// Force sets the optional parameter "force": This field has no effect -// for entity type not being used. For entity types that are used by -// intents or pages: * If `force` is set to false, an error will be -// returned with message indicating the referencing resources. * If -// `force` is set to true, Dialogflow will remove the entity type, as -// well as any references to the entity type (i.e. Page parameter of the -// entity type will be changed to '@sys.any' and intent parameter of the -// entity type will be removed). -func (c *ProjectsLocationsAgentsEntityTypesDeleteCall) Force(force bool) *ProjectsLocationsAgentsEntityTypesDeleteCall { - c.urlParams_.Set("force", fmt.Sprint(force)) +// FulfillIntent: Fulfills a matched intent returned by MatchIntent. +// Must be called after MatchIntent, with input from +// MatchIntentResponse. Otherwise, the behavior is undefined. +func (r *ProjectsLocationsAgentsEnvironmentsSessionsService) FulfillIntent(sessionid string, googleclouddialogflowcxv3beta1fulfillintentrequest *GoogleCloudDialogflowCxV3beta1FulfillIntentRequest) *ProjectsLocationsAgentsEnvironmentsSessionsFulfillIntentCall { + c := &ProjectsLocationsAgentsEnvironmentsSessionsFulfillIntentCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.sessionid = sessionid + c.googleclouddialogflowcxv3beta1fulfillintentrequest = googleclouddialogflowcxv3beta1fulfillintentrequest return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsEntityTypesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEntityTypesDeleteCall { +func (c *ProjectsLocationsAgentsEnvironmentsSessionsFulfillIntentCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsSessionsFulfillIntentCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -12114,51 +17302,58 @@ func (c *ProjectsLocationsAgentsEntityTypesDeleteCall) Fields(s ...googleapi.Fie // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsEntityTypesDeleteCall) Context(ctx context.Context) *ProjectsLocationsAgentsEntityTypesDeleteCall { +func (c *ProjectsLocationsAgentsEnvironmentsSessionsFulfillIntentCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsSessionsFulfillIntentCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsEntityTypesDeleteCall) Header() http.Header { +func (c *ProjectsLocationsAgentsEnvironmentsSessionsFulfillIntentCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsEntityTypesDeleteCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsEnvironmentsSessionsFulfillIntentCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } reqHeaders.Set("User-Agent", c.s.userAgent()) var body io.Reader = nil + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3beta1fulfillintentrequest) + if err != nil { + return nil, err + } + reqHeaders.Set("Content-Type", "application/json") c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+name}") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+session}:fulfillIntent") urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("DELETE", urls, body) + req, err := http.NewRequest("POST", urls, body) if err != nil { return nil, err } req.Header = reqHeaders googleapi.Expand(req.URL, map[string]string{ - "name": c.name, + "session": c.sessionid, }) return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.entityTypes.delete" call. -// Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any -// non-2xx status code is an error. Response headers are in either -// *GoogleProtobufEmpty.ServerResponse.Header or (if a response was -// returned at all) in error.(*googleapi.Error).Header. Use -// googleapi.IsNotModified to check whether the returned error was -// because http.StatusNotModified was returned. -func (c *ProjectsLocationsAgentsEntityTypesDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error) { +// Do executes the "dialogflow.projects.locations.agents.environments.sessions.fulfillIntent" call. +// Exactly one of *GoogleCloudDialogflowCxV3beta1FulfillIntentResponse +// or error will be non-nil. Any non-2xx status code is an error. +// Response headers are in either +// *GoogleCloudDialogflowCxV3beta1FulfillIntentResponse.ServerResponse.He +// ader or (if a response was returned at all) in +// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check +// whether the returned error was because http.StatusNotModified was +// returned. +func (c *ProjectsLocationsAgentsEnvironmentsSessionsFulfillIntentCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1FulfillIntentResponse, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -12177,7 +17372,7 @@ func (c *ProjectsLocationsAgentsEntityTypesDeleteCall) Do(opts ...googleapi.Call if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleProtobufEmpty{ + ret := &GoogleCloudDialogflowCxV3beta1FulfillIntentResponse{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -12189,30 +17384,28 @@ func (c *ProjectsLocationsAgentsEntityTypesDeleteCall) Do(opts ...googleapi.Call } return ret, nil // { - // "description": "Deletes the specified entity type.", - // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/entityTypes/{entityTypesId}", - // "httpMethod": "DELETE", - // "id": "dialogflow.projects.locations.agents.entityTypes.delete", + // "description": "Fulfills a matched intent returned by MatchIntent. Must be called after MatchIntent, with input from MatchIntentResponse. Otherwise, the behavior is undefined.", + // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}/sessions/{sessionsId}:fulfillIntent", + // "httpMethod": "POST", + // "id": "dialogflow.projects.locations.agents.environments.sessions.fulfillIntent", // "parameterOrder": [ - // "name" + // "session" // ], // "parameters": { - // "force": { - // "description": "This field has no effect for entity type not being used. For entity types that are used by intents or pages: * If `force` is set to false, an error will be returned with message indicating the referencing resources. * If `force` is set to true, Dialogflow will remove the entity type, as well as any references to the entity type (i.e. Page parameter of the entity type will be changed to '@sys.any' and intent parameter of the entity type will be removed).", - // "location": "query", - // "type": "boolean" - // }, - // "name": { - // "description": "Required. The name of the entity type to delete. Format: `projects//locations//agents//entityTypes/`.", + // "session": { + // "description": "Required. The name of the session this query is sent to. Format: `projects//locations//agents//sessions/` or `projects//locations//agents//environments//sessions/`. If `Environment ID` is not specified, we assume default 'draft' environment. It's up to the API caller to choose an appropriate `Session ID`. It can be a random number or some type of session identifiers (preferably hashed). The length of the `Session ID` must not exceed 36 characters. For more information, see the [sessions guide](https://cloud.google.com/dialogflow/cx/docs/concept/session).", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/entityTypes/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/environments/[^/]+/sessions/[^/]+$", // "required": true, // "type": "string" // } // }, - // "path": "v3beta1/{+name}", + // "path": "v3beta1/{+session}:fulfillIntent", + // "request": { + // "$ref": "GoogleCloudDialogflowCxV3beta1FulfillIntentRequest" + // }, // "response": { - // "$ref": "GoogleProtobufEmpty" + // "$ref": "GoogleCloudDialogflowCxV3beta1FulfillIntentResponse" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -12222,108 +17415,89 @@ func (c *ProjectsLocationsAgentsEntityTypesDeleteCall) Do(opts ...googleapi.Call } -// method id "dialogflow.projects.locations.agents.entityTypes.get": - -type ProjectsLocationsAgentsEntityTypesGetCall struct { - s *Service - name string - urlParams_ gensupport.URLParams - ifNoneMatch_ string - ctx_ context.Context - header_ http.Header -} - -// Get: Retrieves the specified entity type. -func (r *ProjectsLocationsAgentsEntityTypesService) Get(name string) *ProjectsLocationsAgentsEntityTypesGetCall { - c := &ProjectsLocationsAgentsEntityTypesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.name = name - return c +// method id "dialogflow.projects.locations.agents.environments.sessions.matchIntent": + +type ProjectsLocationsAgentsEnvironmentsSessionsMatchIntentCall struct { + s *Service + sessionid string + googleclouddialogflowcxv3beta1matchintentrequest *GoogleCloudDialogflowCxV3beta1MatchIntentRequest + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header } -// LanguageCode sets the optional parameter "languageCode": The language -// to retrieve the entity type for. The following fields are language -// dependent: * `EntityType.entities.value` * -// `EntityType.entities.synonyms` * `EntityType.excluded_phrases.value` -// If not specified, the agent's default language is used. [Many -// languages](https://cloud.google.com/dialogflow/docs/reference/language -// ) are supported. Note: languages must be enabled in the agent before -// they can be used. -func (c *ProjectsLocationsAgentsEntityTypesGetCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsEntityTypesGetCall { - c.urlParams_.Set("languageCode", languageCode) +// MatchIntent: Returns preliminary intent match results, doesn't change +// the session status. +func (r *ProjectsLocationsAgentsEnvironmentsSessionsService) MatchIntent(sessionid string, googleclouddialogflowcxv3beta1matchintentrequest *GoogleCloudDialogflowCxV3beta1MatchIntentRequest) *ProjectsLocationsAgentsEnvironmentsSessionsMatchIntentCall { + c := &ProjectsLocationsAgentsEnvironmentsSessionsMatchIntentCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.sessionid = sessionid + c.googleclouddialogflowcxv3beta1matchintentrequest = googleclouddialogflowcxv3beta1matchintentrequest return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsEntityTypesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEntityTypesGetCall { +func (c *ProjectsLocationsAgentsEnvironmentsSessionsMatchIntentCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsSessionsMatchIntentCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } -// IfNoneMatch sets the optional parameter which makes the operation -// fail if the object's ETag matches the given value. This is useful for -// getting updates only after the object has changed since the last -// request. Use googleapi.IsNotModified to check whether the response -// error from Do is the result of In-None-Match. -func (c *ProjectsLocationsAgentsEntityTypesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsEntityTypesGetCall { - c.ifNoneMatch_ = entityTag - return c -} - // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsEntityTypesGetCall) Context(ctx context.Context) *ProjectsLocationsAgentsEntityTypesGetCall { +func (c *ProjectsLocationsAgentsEnvironmentsSessionsMatchIntentCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsSessionsMatchIntentCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsEntityTypesGetCall) Header() http.Header { +func (c *ProjectsLocationsAgentsEnvironmentsSessionsMatchIntentCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsEntityTypesGetCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsEnvironmentsSessionsMatchIntentCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } reqHeaders.Set("User-Agent", c.s.userAgent()) - if c.ifNoneMatch_ != "" { - reqHeaders.Set("If-None-Match", c.ifNoneMatch_) - } var body io.Reader = nil + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3beta1matchintentrequest) + if err != nil { + return nil, err + } + reqHeaders.Set("Content-Type", "application/json") c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+name}") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+session}:matchIntent") urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("GET", urls, body) + req, err := http.NewRequest("POST", urls, body) if err != nil { return nil, err } req.Header = reqHeaders googleapi.Expand(req.URL, map[string]string{ - "name": c.name, + "session": c.sessionid, }) return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.entityTypes.get" call. -// Exactly one of *GoogleCloudDialogflowCxV3beta1EntityType or error -// will be non-nil. Any non-2xx status code is an error. Response +// Do executes the "dialogflow.projects.locations.agents.environments.sessions.matchIntent" call. +// Exactly one of *GoogleCloudDialogflowCxV3beta1MatchIntentResponse or +// error will be non-nil. Any non-2xx status code is an error. Response // headers are in either -// *GoogleCloudDialogflowCxV3beta1EntityType.ServerResponse.Header or -// (if a response was returned at all) in +// *GoogleCloudDialogflowCxV3beta1MatchIntentResponse.ServerResponse.Head +// er or (if a response was returned at all) in // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check // whether the returned error was because http.StatusNotModified was // returned. -func (c *ProjectsLocationsAgentsEntityTypesGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1EntityType, error) { +func (c *ProjectsLocationsAgentsEnvironmentsSessionsMatchIntentCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1MatchIntentResponse, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -12342,7 +17516,7 @@ func (c *ProjectsLocationsAgentsEntityTypesGetCall) Do(opts ...googleapi.CallOpt if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleCloudDialogflowCxV3beta1EntityType{ + ret := &GoogleCloudDialogflowCxV3beta1MatchIntentResponse{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -12354,30 +17528,28 @@ func (c *ProjectsLocationsAgentsEntityTypesGetCall) Do(opts ...googleapi.CallOpt } return ret, nil // { - // "description": "Retrieves the specified entity type.", - // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/entityTypes/{entityTypesId}", - // "httpMethod": "GET", - // "id": "dialogflow.projects.locations.agents.entityTypes.get", + // "description": "Returns preliminary intent match results, doesn't change the session status.", + // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}/sessions/{sessionsId}:matchIntent", + // "httpMethod": "POST", + // "id": "dialogflow.projects.locations.agents.environments.sessions.matchIntent", // "parameterOrder": [ - // "name" + // "session" // ], // "parameters": { - // "languageCode": { - // "description": "The language to retrieve the entity type for. The following fields are language dependent: * `EntityType.entities.value` * `EntityType.entities.synonyms` * `EntityType.excluded_phrases.value` If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", - // "location": "query", - // "type": "string" - // }, - // "name": { - // "description": "Required. The name of the entity type. Format: `projects//locations//agents//entityTypes/`.", + // "session": { + // "description": "Required. The name of the session this query is sent to. Format: `projects//locations//agents//sessions/` or `projects//locations//agents//environments//sessions/`. If `Environment ID` is not specified, we assume default 'draft' environment. It's up to the API caller to choose an appropriate `Session ID`. It can be a random number or some type of session identifiers (preferably hashed). The length of the `Session ID` must not exceed 36 characters. For more information, see the [sessions guide](https://cloud.google.com/dialogflow/cx/docs/concept/session).", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/entityTypes/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/environments/[^/]+/sessions/[^/]+$", // "required": true, // "type": "string" // } // }, - // "path": "v3beta1/{+name}", + // "path": "v3beta1/{+session}:matchIntent", + // "request": { + // "$ref": "GoogleCloudDialogflowCxV3beta1MatchIntentRequest" + // }, // "response": { - // "$ref": "GoogleCloudDialogflowCxV3beta1EntityType" + // "$ref": "GoogleCloudDialogflowCxV3beta1MatchIntentResponse" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -12387,102 +17559,69 @@ func (c *ProjectsLocationsAgentsEntityTypesGetCall) Do(opts ...googleapi.CallOpt } -// method id "dialogflow.projects.locations.agents.entityTypes.list": +// method id "dialogflow.projects.locations.agents.environments.sessions.entityTypes.create": -type ProjectsLocationsAgentsEntityTypesListCall struct { - s *Service - parent string - urlParams_ gensupport.URLParams - ifNoneMatch_ string - ctx_ context.Context - header_ http.Header +type ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesCreateCall struct { + s *Service + parent string + googleclouddialogflowcxv3beta1sessionentitytype *GoogleCloudDialogflowCxV3beta1SessionEntityType + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header } -// List: Returns the list of all entity types in the specified agent. -func (r *ProjectsLocationsAgentsEntityTypesService) List(parent string) *ProjectsLocationsAgentsEntityTypesListCall { - c := &ProjectsLocationsAgentsEntityTypesListCall{s: r.s, urlParams_: make(gensupport.URLParams)} +// Create: Creates a session entity type. If the specified session +// entity type already exists, overrides the session entity type. +func (r *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesService) Create(parent string, googleclouddialogflowcxv3beta1sessionentitytype *GoogleCloudDialogflowCxV3beta1SessionEntityType) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesCreateCall { + c := &ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.parent = parent - return c -} - -// LanguageCode sets the optional parameter "languageCode": The language -// to list entity types for. The following fields are language -// dependent: * `EntityType.entities.value` * -// `EntityType.entities.synonyms` * `EntityType.excluded_phrases.value` -// If not specified, the agent's default language is used. [Many -// languages](https://cloud.google.com/dialogflow/docs/reference/language -// ) are supported. Note: languages must be enabled in the agent before -// they can be used. -func (c *ProjectsLocationsAgentsEntityTypesListCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsEntityTypesListCall { - c.urlParams_.Set("languageCode", languageCode) - return c -} - -// PageSize sets the optional parameter "pageSize": The maximum number -// of items to return in a single page. By default 100 and at most 1000. -func (c *ProjectsLocationsAgentsEntityTypesListCall) PageSize(pageSize int64) *ProjectsLocationsAgentsEntityTypesListCall { - c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) - return c -} - -// PageToken sets the optional parameter "pageToken": The -// next_page_token value returned from a previous list request. -func (c *ProjectsLocationsAgentsEntityTypesListCall) PageToken(pageToken string) *ProjectsLocationsAgentsEntityTypesListCall { - c.urlParams_.Set("pageToken", pageToken) + c.googleclouddialogflowcxv3beta1sessionentitytype = googleclouddialogflowcxv3beta1sessionentitytype return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsEntityTypesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEntityTypesListCall { +func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesCreateCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } -// IfNoneMatch sets the optional parameter which makes the operation -// fail if the object's ETag matches the given value. This is useful for -// getting updates only after the object has changed since the last -// request. Use googleapi.IsNotModified to check whether the response -// error from Do is the result of In-None-Match. -func (c *ProjectsLocationsAgentsEntityTypesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsEntityTypesListCall { - c.ifNoneMatch_ = entityTag - return c -} - // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsEntityTypesListCall) Context(ctx context.Context) *ProjectsLocationsAgentsEntityTypesListCall { +func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesCreateCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesCreateCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsEntityTypesListCall) Header() http.Header { +func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesCreateCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsEntityTypesListCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } reqHeaders.Set("User-Agent", c.s.userAgent()) - if c.ifNoneMatch_ != "" { - reqHeaders.Set("If-None-Match", c.ifNoneMatch_) - } var body io.Reader = nil + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3beta1sessionentitytype) + if err != nil { + return nil, err + } + reqHeaders.Set("Content-Type", "application/json") c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+parent}/entityTypes") urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("GET", urls, body) + req, err := http.NewRequest("POST", urls, body) if err != nil { return nil, err } @@ -12493,16 +17632,16 @@ func (c *ProjectsLocationsAgentsEntityTypesListCall) doRequest(alt string) (*htt return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.entityTypes.list" call. -// Exactly one of *GoogleCloudDialogflowCxV3beta1ListEntityTypesResponse -// or error will be non-nil. Any non-2xx status code is an error. -// Response headers are in either -// *GoogleCloudDialogflowCxV3beta1ListEntityTypesResponse.ServerResponse. -// Header or (if a response was returned at all) in +// Do executes the "dialogflow.projects.locations.agents.environments.sessions.entityTypes.create" call. +// Exactly one of *GoogleCloudDialogflowCxV3beta1SessionEntityType or +// error will be non-nil. Any non-2xx status code is an error. Response +// headers are in either +// *GoogleCloudDialogflowCxV3beta1SessionEntityType.ServerResponse.Header +// or (if a response was returned at all) in // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check // whether the returned error was because http.StatusNotModified was // returned. -func (c *ProjectsLocationsAgentsEntityTypesListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1ListEntityTypesResponse, error) { +func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1SessionEntityType, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -12521,7 +17660,7 @@ func (c *ProjectsLocationsAgentsEntityTypesListCall) Do(opts ...googleapi.CallOp if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleCloudDialogflowCxV3beta1ListEntityTypesResponse{ + ret := &GoogleCloudDialogflowCxV3beta1SessionEntityType{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -12533,114 +17672,58 @@ func (c *ProjectsLocationsAgentsEntityTypesListCall) Do(opts ...googleapi.CallOp } return ret, nil // { - // "description": "Returns the list of all entity types in the specified agent.", - // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/entityTypes", - // "httpMethod": "GET", - // "id": "dialogflow.projects.locations.agents.entityTypes.list", + // "description": "Creates a session entity type. If the specified session entity type already exists, overrides the session entity type.", + // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}/sessions/{sessionsId}/entityTypes", + // "httpMethod": "POST", + // "id": "dialogflow.projects.locations.agents.environments.sessions.entityTypes.create", // "parameterOrder": [ // "parent" // ], // "parameters": { - // "languageCode": { - // "description": "The language to list entity types for. The following fields are language dependent: * `EntityType.entities.value` * `EntityType.entities.synonyms` * `EntityType.excluded_phrases.value` If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", - // "location": "query", - // "type": "string" - // }, - // "pageSize": { - // "description": "The maximum number of items to return in a single page. By default 100 and at most 1000.", - // "format": "int32", - // "location": "query", - // "type": "integer" - // }, - // "pageToken": { - // "description": "The next_page_token value returned from a previous list request.", - // "location": "query", - // "type": "string" - // }, // "parent": { - // "description": "Required. The agent to list all entity types for. Format: `projects//locations//agents/`.", + // "description": "Required. The session to create a session entity type for. Format: `projects//locations//agents//sessions/` or `projects//locations//agents//environments//sessions/`. If `Environment ID` is not specified, we assume default 'draft' environment.", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/environments/[^/]+/sessions/[^/]+$", // "required": true, // "type": "string" // } // }, // "path": "v3beta1/{+parent}/entityTypes", + // "request": { + // "$ref": "GoogleCloudDialogflowCxV3beta1SessionEntityType" + // }, // "response": { - // "$ref": "GoogleCloudDialogflowCxV3beta1ListEntityTypesResponse" + // "$ref": "GoogleCloudDialogflowCxV3beta1SessionEntityType" // }, - // "scopes": [ - // "https://www.googleapis.com/auth/cloud-platform", - // "https://www.googleapis.com/auth/dialogflow" - // ] - // } - -} - -// Pages invokes f for each page of results. -// A non-nil error returned from f will halt the iteration. -// The provided context supersedes any context provided to the Context method. -func (c *ProjectsLocationsAgentsEntityTypesListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowCxV3beta1ListEntityTypesResponse) error) error { - c.ctx_ = ctx - defer c.PageToken(c.urlParams_.Get("pageToken")) // reset paging to original point - for { - x, err := c.Do() - if err != nil { - return err - } - if err := f(x); err != nil { - return err - } - if x.NextPageToken == "" { - return nil - } - c.PageToken(x.NextPageToken) - } -} - -// method id "dialogflow.projects.locations.agents.entityTypes.patch": + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", + // "https://www.googleapis.com/auth/dialogflow" + // ] + // } -type ProjectsLocationsAgentsEntityTypesPatchCall struct { - s *Service - nameid string - googleclouddialogflowcxv3beta1entitytype *GoogleCloudDialogflowCxV3beta1EntityType - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header } -// Patch: Updates the specified entity type. -func (r *ProjectsLocationsAgentsEntityTypesService) Patch(nameid string, googleclouddialogflowcxv3beta1entitytype *GoogleCloudDialogflowCxV3beta1EntityType) *ProjectsLocationsAgentsEntityTypesPatchCall { - c := &ProjectsLocationsAgentsEntityTypesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.nameid = nameid - c.googleclouddialogflowcxv3beta1entitytype = googleclouddialogflowcxv3beta1entitytype - return c -} +// method id "dialogflow.projects.locations.agents.environments.sessions.entityTypes.delete": -// LanguageCode sets the optional parameter "languageCode": The language -// of the following fields in `entity_type`: * -// `EntityType.entities.value` * `EntityType.entities.synonyms` * -// `EntityType.excluded_phrases.value` If not specified, the agent's -// default language is used. [Many -// languages](https://cloud.google.com/dialogflow/docs/reference/language -// ) are supported. Note: languages must be enabled in the agent before -// they can be used. -func (c *ProjectsLocationsAgentsEntityTypesPatchCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsEntityTypesPatchCall { - c.urlParams_.Set("languageCode", languageCode) - return c +type ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesDeleteCall struct { + s *Service + name string + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header } -// UpdateMask sets the optional parameter "updateMask": The mask to -// control which fields get updated. -func (c *ProjectsLocationsAgentsEntityTypesPatchCall) UpdateMask(updateMask string) *ProjectsLocationsAgentsEntityTypesPatchCall { - c.urlParams_.Set("updateMask", updateMask) +// Delete: Deletes the specified session entity type. +func (r *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesService) Delete(name string) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesDeleteCall { + c := &ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsEntityTypesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEntityTypesPatchCall { +func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesDeleteCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -12648,58 +17731,51 @@ func (c *ProjectsLocationsAgentsEntityTypesPatchCall) Fields(s ...googleapi.Fiel // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsEntityTypesPatchCall) Context(ctx context.Context) *ProjectsLocationsAgentsEntityTypesPatchCall { +func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesDeleteCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesDeleteCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsEntityTypesPatchCall) Header() http.Header { +func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesDeleteCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsEntityTypesPatchCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } reqHeaders.Set("User-Agent", c.s.userAgent()) var body io.Reader = nil - body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3beta1entitytype) - if err != nil { - return nil, err - } - reqHeaders.Set("Content-Type", "application/json") c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+name}") urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("PATCH", urls, body) + req, err := http.NewRequest("DELETE", urls, body) if err != nil { return nil, err } req.Header = reqHeaders googleapi.Expand(req.URL, map[string]string{ - "name": c.nameid, + "name": c.name, }) return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.entityTypes.patch" call. -// Exactly one of *GoogleCloudDialogflowCxV3beta1EntityType or error -// will be non-nil. Any non-2xx status code is an error. Response -// headers are in either -// *GoogleCloudDialogflowCxV3beta1EntityType.ServerResponse.Header or -// (if a response was returned at all) in -// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check -// whether the returned error was because http.StatusNotModified was -// returned. -func (c *ProjectsLocationsAgentsEntityTypesPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1EntityType, error) { +// Do executes the "dialogflow.projects.locations.agents.environments.sessions.entityTypes.delete" call. +// Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any +// non-2xx status code is an error. Response headers are in either +// *GoogleProtobufEmpty.ServerResponse.Header or (if a response was +// returned at all) in error.(*googleapi.Error).Header. Use +// googleapi.IsNotModified to check whether the returned error was +// because http.StatusNotModified was returned. +func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -12718,7 +17794,7 @@ func (c *ProjectsLocationsAgentsEntityTypesPatchCall) Do(opts ...googleapi.CallO if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleCloudDialogflowCxV3beta1EntityType{ + ret := &GoogleProtobufEmpty{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -12730,39 +17806,25 @@ func (c *ProjectsLocationsAgentsEntityTypesPatchCall) Do(opts ...googleapi.CallO } return ret, nil // { - // "description": "Updates the specified entity type.", - // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/entityTypes/{entityTypesId}", - // "httpMethod": "PATCH", - // "id": "dialogflow.projects.locations.agents.entityTypes.patch", + // "description": "Deletes the specified session entity type.", + // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}/sessions/{sessionsId}/entityTypes/{entityTypesId}", + // "httpMethod": "DELETE", + // "id": "dialogflow.projects.locations.agents.environments.sessions.entityTypes.delete", // "parameterOrder": [ // "name" // ], // "parameters": { - // "languageCode": { - // "description": "The language of the following fields in `entity_type`: * `EntityType.entities.value` * `EntityType.entities.synonyms` * `EntityType.excluded_phrases.value` If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", - // "location": "query", - // "type": "string" - // }, // "name": { - // "description": "The unique identifier of the entity type. Required for EntityTypes.UpdateEntityType. Format: `projects//locations//agents//entityTypes/`.", + // "description": "Required. The name of the session entity type to delete. Format: `projects//locations//agents//sessions//entityTypes/` or `projects//locations//agents//environments//sessions//entityTypes/`. If `Environment ID` is not specified, we assume default 'draft' environment.", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/entityTypes/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/environments/[^/]+/sessions/[^/]+/entityTypes/[^/]+$", // "required": true, // "type": "string" - // }, - // "updateMask": { - // "description": "The mask to control which fields get updated.", - // "format": "google-fieldmask", - // "location": "query", - // "type": "string" // } // }, // "path": "v3beta1/{+name}", - // "request": { - // "$ref": "GoogleCloudDialogflowCxV3beta1EntityType" - // }, // "response": { - // "$ref": "GoogleCloudDialogflowCxV3beta1EntityType" + // "$ref": "GoogleProtobufEmpty" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -12772,86 +17834,95 @@ func (c *ProjectsLocationsAgentsEntityTypesPatchCall) Do(opts ...googleapi.CallO } -// method id "dialogflow.projects.locations.agents.environments.create": +// method id "dialogflow.projects.locations.agents.environments.sessions.entityTypes.get": -type ProjectsLocationsAgentsEnvironmentsCreateCall struct { - s *Service - parent string - googleclouddialogflowcxv3beta1environment *GoogleCloudDialogflowCxV3beta1Environment - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header +type ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesGetCall struct { + s *Service + name string + urlParams_ gensupport.URLParams + ifNoneMatch_ string + ctx_ context.Context + header_ http.Header } -// Create: Creates an Environment in the specified Agent. -func (r *ProjectsLocationsAgentsEnvironmentsService) Create(parent string, googleclouddialogflowcxv3beta1environment *GoogleCloudDialogflowCxV3beta1Environment) *ProjectsLocationsAgentsEnvironmentsCreateCall { - c := &ProjectsLocationsAgentsEnvironmentsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.parent = parent - c.googleclouddialogflowcxv3beta1environment = googleclouddialogflowcxv3beta1environment +// Get: Retrieves the specified session entity type. +func (r *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesService) Get(name string) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesGetCall { + c := &ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsEnvironmentsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsCreateCall { +func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesGetCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } +// IfNoneMatch sets the optional parameter which makes the operation +// fail if the object's ETag matches the given value. This is useful for +// getting updates only after the object has changed since the last +// request. Use googleapi.IsNotModified to check whether the response +// error from Do is the result of In-None-Match. +func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesGetCall { + c.ifNoneMatch_ = entityTag + return c +} + // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsEnvironmentsCreateCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsCreateCall { +func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesGetCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesGetCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsEnvironmentsCreateCall) Header() http.Header { +func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesGetCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsEnvironmentsCreateCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } reqHeaders.Set("User-Agent", c.s.userAgent()) - var body io.Reader = nil - body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3beta1environment) - if err != nil { - return nil, err + if c.ifNoneMatch_ != "" { + reqHeaders.Set("If-None-Match", c.ifNoneMatch_) } - reqHeaders.Set("Content-Type", "application/json") + var body io.Reader = nil c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+parent}/environments") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+name}") urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("POST", urls, body) + req, err := http.NewRequest("GET", urls, body) if err != nil { return nil, err } req.Header = reqHeaders googleapi.Expand(req.URL, map[string]string{ - "parent": c.parent, + "name": c.name, }) return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.environments.create" call. -// Exactly one of *GoogleLongrunningOperation or error will be non-nil. -// Any non-2xx status code is an error. Response headers are in either -// *GoogleLongrunningOperation.ServerResponse.Header or (if a response -// was returned at all) in error.(*googleapi.Error).Header. Use -// googleapi.IsNotModified to check whether the returned error was -// because http.StatusNotModified was returned. -func (c *ProjectsLocationsAgentsEnvironmentsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error) { +// Do executes the "dialogflow.projects.locations.agents.environments.sessions.entityTypes.get" call. +// Exactly one of *GoogleCloudDialogflowCxV3beta1SessionEntityType or +// error will be non-nil. Any non-2xx status code is an error. Response +// headers are in either +// *GoogleCloudDialogflowCxV3beta1SessionEntityType.ServerResponse.Header +// or (if a response was returned at all) in +// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check +// whether the returned error was because http.StatusNotModified was +// returned. +func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1SessionEntityType, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -12870,7 +17941,7 @@ func (c *ProjectsLocationsAgentsEnvironmentsCreateCall) Do(opts ...googleapi.Cal if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleLongrunningOperation{ + ret := &GoogleCloudDialogflowCxV3beta1SessionEntityType{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -12882,28 +17953,25 @@ func (c *ProjectsLocationsAgentsEnvironmentsCreateCall) Do(opts ...googleapi.Cal } return ret, nil // { - // "description": "Creates an Environment in the specified Agent.", - // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments", - // "httpMethod": "POST", - // "id": "dialogflow.projects.locations.agents.environments.create", + // "description": "Retrieves the specified session entity type.", + // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}/sessions/{sessionsId}/entityTypes/{entityTypesId}", + // "httpMethod": "GET", + // "id": "dialogflow.projects.locations.agents.environments.sessions.entityTypes.get", // "parameterOrder": [ - // "parent" + // "name" // ], // "parameters": { - // "parent": { - // "description": "Required. The Agent to create an Environment for. Format: `projects//locations//agents/`.", + // "name": { + // "description": "Required. The name of the session entity type. Format: `projects//locations//agents//sessions//entityTypes/` or `projects//locations//agents//environments//sessions//entityTypes/`. If `Environment ID` is not specified, we assume default 'draft' environment.", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/environments/[^/]+/sessions/[^/]+/entityTypes/[^/]+$", // "required": true, // "type": "string" // } // }, - // "path": "v3beta1/{+parent}/environments", - // "request": { - // "$ref": "GoogleCloudDialogflowCxV3beta1Environment" - // }, + // "path": "v3beta1/{+name}", // "response": { - // "$ref": "GoogleLongrunningOperation" + // "$ref": "GoogleCloudDialogflowCxV3beta1SessionEntityType" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -12913,79 +17981,111 @@ func (c *ProjectsLocationsAgentsEnvironmentsCreateCall) Do(opts ...googleapi.Cal } -// method id "dialogflow.projects.locations.agents.environments.delete": +// method id "dialogflow.projects.locations.agents.environments.sessions.entityTypes.list": -type ProjectsLocationsAgentsEnvironmentsDeleteCall struct { - s *Service - name string - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header +type ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall struct { + s *Service + parent string + urlParams_ gensupport.URLParams + ifNoneMatch_ string + ctx_ context.Context + header_ http.Header } -// Delete: Deletes the specified Environment. -func (r *ProjectsLocationsAgentsEnvironmentsService) Delete(name string) *ProjectsLocationsAgentsEnvironmentsDeleteCall { - c := &ProjectsLocationsAgentsEnvironmentsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.name = name +// List: Returns the list of all session entity types in the specified +// session. +func (r *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesService) List(parent string) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall { + c := &ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.parent = parent + return c +} + +// PageSize sets the optional parameter "pageSize": The maximum number +// of items to return in a single page. By default 100 and at most 1000. +func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall) PageSize(pageSize int64) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall { + c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) + return c +} + +// PageToken sets the optional parameter "pageToken": The +// next_page_token value returned from a previous list request. +func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall) PageToken(pageToken string) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall { + c.urlParams_.Set("pageToken", pageToken) return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsEnvironmentsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsDeleteCall { +func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } +// IfNoneMatch sets the optional parameter which makes the operation +// fail if the object's ETag matches the given value. This is useful for +// getting updates only after the object has changed since the last +// request. Use googleapi.IsNotModified to check whether the response +// error from Do is the result of In-None-Match. +func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall { + c.ifNoneMatch_ = entityTag + return c +} + // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsEnvironmentsDeleteCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsDeleteCall { +func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsEnvironmentsDeleteCall) Header() http.Header { +func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsEnvironmentsDeleteCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } reqHeaders.Set("User-Agent", c.s.userAgent()) + if c.ifNoneMatch_ != "" { + reqHeaders.Set("If-None-Match", c.ifNoneMatch_) + } var body io.Reader = nil c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+name}") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+parent}/entityTypes") urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("DELETE", urls, body) + req, err := http.NewRequest("GET", urls, body) if err != nil { return nil, err } req.Header = reqHeaders googleapi.Expand(req.URL, map[string]string{ - "name": c.name, + "parent": c.parent, }) return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.environments.delete" call. -// Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any -// non-2xx status code is an error. Response headers are in either -// *GoogleProtobufEmpty.ServerResponse.Header or (if a response was -// returned at all) in error.(*googleapi.Error).Header. Use -// googleapi.IsNotModified to check whether the returned error was -// because http.StatusNotModified was returned. -func (c *ProjectsLocationsAgentsEnvironmentsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error) { +// Do executes the "dialogflow.projects.locations.agents.environments.sessions.entityTypes.list" call. +// Exactly one of +// *GoogleCloudDialogflowCxV3beta1ListSessionEntityTypesResponse or +// error will be non-nil. Any non-2xx status code is an error. Response +// headers are in either +// *GoogleCloudDialogflowCxV3beta1ListSessionEntityTypesResponse.ServerRe +// sponse.Header or (if a response was returned at all) in +// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check +// whether the returned error was because http.StatusNotModified was +// returned. +func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1ListSessionEntityTypesResponse, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -13004,7 +18104,7 @@ func (c *ProjectsLocationsAgentsEnvironmentsDeleteCall) Do(opts ...googleapi.Cal if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleProtobufEmpty{ + ret := &GoogleCloudDialogflowCxV3beta1ListSessionEntityTypesResponse{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -13016,25 +18116,36 @@ func (c *ProjectsLocationsAgentsEnvironmentsDeleteCall) Do(opts ...googleapi.Cal } return ret, nil // { - // "description": "Deletes the specified Environment.", - // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}", - // "httpMethod": "DELETE", - // "id": "dialogflow.projects.locations.agents.environments.delete", + // "description": "Returns the list of all session entity types in the specified session.", + // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}/sessions/{sessionsId}/entityTypes", + // "httpMethod": "GET", + // "id": "dialogflow.projects.locations.agents.environments.sessions.entityTypes.list", // "parameterOrder": [ - // "name" + // "parent" // ], // "parameters": { - // "name": { - // "description": "Required. The name of the Environment to delete. Format: `projects//locations//agents//environments/`.", + // "pageSize": { + // "description": "The maximum number of items to return in a single page. By default 100 and at most 1000.", + // "format": "int32", + // "location": "query", + // "type": "integer" + // }, + // "pageToken": { + // "description": "The next_page_token value returned from a previous list request.", + // "location": "query", + // "type": "string" + // }, + // "parent": { + // "description": "Required. The session to list all session entity types from. Format: `projects//locations//agents//sessions/` or `projects//locations//agents//environments//sessions/`. If `Environment ID` is not specified, we assume default 'draft' environment.", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/environments/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/environments/[^/]+/sessions/[^/]+$", // "required": true, // "type": "string" // } // }, - // "path": "v3beta1/{+name}", + // "path": "v3beta1/{+parent}/entityTypes", // "response": { - // "$ref": "GoogleProtobufEmpty" + // "$ref": "GoogleCloudDialogflowCxV3beta1ListSessionEntityTypesResponse" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -13044,95 +18155,116 @@ func (c *ProjectsLocationsAgentsEnvironmentsDeleteCall) Do(opts ...googleapi.Cal } -// method id "dialogflow.projects.locations.agents.environments.get": +// Pages invokes f for each page of results. +// A non-nil error returned from f will halt the iteration. +// The provided context supersedes any context provided to the Context method. +func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowCxV3beta1ListSessionEntityTypesResponse) error) error { + c.ctx_ = ctx + defer c.PageToken(c.urlParams_.Get("pageToken")) // reset paging to original point + for { + x, err := c.Do() + if err != nil { + return err + } + if err := f(x); err != nil { + return err + } + if x.NextPageToken == "" { + return nil + } + c.PageToken(x.NextPageToken) + } +} -type ProjectsLocationsAgentsEnvironmentsGetCall struct { - s *Service - name string - urlParams_ gensupport.URLParams - ifNoneMatch_ string - ctx_ context.Context - header_ http.Header +// method id "dialogflow.projects.locations.agents.environments.sessions.entityTypes.patch": + +type ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesPatchCall struct { + s *Service + nameid string + googleclouddialogflowcxv3beta1sessionentitytype *GoogleCloudDialogflowCxV3beta1SessionEntityType + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header } -// Get: Retrieves the specified Environment. -func (r *ProjectsLocationsAgentsEnvironmentsService) Get(name string) *ProjectsLocationsAgentsEnvironmentsGetCall { - c := &ProjectsLocationsAgentsEnvironmentsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.name = name +// Patch: Updates the specified session entity type. +func (r *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesService) Patch(nameid string, googleclouddialogflowcxv3beta1sessionentitytype *GoogleCloudDialogflowCxV3beta1SessionEntityType) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesPatchCall { + c := &ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.nameid = nameid + c.googleclouddialogflowcxv3beta1sessionentitytype = googleclouddialogflowcxv3beta1sessionentitytype + return c +} + +// UpdateMask sets the optional parameter "updateMask": The mask to +// control which fields get updated. +func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesPatchCall) UpdateMask(updateMask string) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesPatchCall { + c.urlParams_.Set("updateMask", updateMask) return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsEnvironmentsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsGetCall { +func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesPatchCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } -// IfNoneMatch sets the optional parameter which makes the operation -// fail if the object's ETag matches the given value. This is useful for -// getting updates only after the object has changed since the last -// request. Use googleapi.IsNotModified to check whether the response -// error from Do is the result of In-None-Match. -func (c *ProjectsLocationsAgentsEnvironmentsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsEnvironmentsGetCall { - c.ifNoneMatch_ = entityTag - return c -} - // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsEnvironmentsGetCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsGetCall { +func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesPatchCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesPatchCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsEnvironmentsGetCall) Header() http.Header { +func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesPatchCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsEnvironmentsGetCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } reqHeaders.Set("User-Agent", c.s.userAgent()) - if c.ifNoneMatch_ != "" { - reqHeaders.Set("If-None-Match", c.ifNoneMatch_) - } var body io.Reader = nil + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3beta1sessionentitytype) + if err != nil { + return nil, err + } + reqHeaders.Set("Content-Type", "application/json") c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+name}") urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("GET", urls, body) + req, err := http.NewRequest("PATCH", urls, body) if err != nil { return nil, err } req.Header = reqHeaders googleapi.Expand(req.URL, map[string]string{ - "name": c.name, + "name": c.nameid, }) return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.environments.get" call. -// Exactly one of *GoogleCloudDialogflowCxV3beta1Environment or error -// will be non-nil. Any non-2xx status code is an error. Response +// Do executes the "dialogflow.projects.locations.agents.environments.sessions.entityTypes.patch" call. +// Exactly one of *GoogleCloudDialogflowCxV3beta1SessionEntityType or +// error will be non-nil. Any non-2xx status code is an error. Response // headers are in either -// *GoogleCloudDialogflowCxV3beta1Environment.ServerResponse.Header or -// (if a response was returned at all) in +// *GoogleCloudDialogflowCxV3beta1SessionEntityType.ServerResponse.Header +// or (if a response was returned at all) in // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check // whether the returned error was because http.StatusNotModified was // returned. -func (c *ProjectsLocationsAgentsEnvironmentsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1Environment, error) { +func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1SessionEntityType, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -13151,7 +18283,7 @@ func (c *ProjectsLocationsAgentsEnvironmentsGetCall) Do(opts ...googleapi.CallOp if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleCloudDialogflowCxV3beta1Environment{ + ret := &GoogleCloudDialogflowCxV3beta1SessionEntityType{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -13163,25 +18295,34 @@ func (c *ProjectsLocationsAgentsEnvironmentsGetCall) Do(opts ...googleapi.CallOp } return ret, nil // { - // "description": "Retrieves the specified Environment.", - // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}", - // "httpMethod": "GET", - // "id": "dialogflow.projects.locations.agents.environments.get", + // "description": "Updates the specified session entity type.", + // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}/sessions/{sessionsId}/entityTypes/{entityTypesId}", + // "httpMethod": "PATCH", + // "id": "dialogflow.projects.locations.agents.environments.sessions.entityTypes.patch", // "parameterOrder": [ // "name" // ], // "parameters": { // "name": { - // "description": "Required. The name of the Environment. Format: `projects//locations//agents//environments/`.", + // "description": "Required. The unique identifier of the session entity type. Format: `projects//locations//agents//sessions//entityTypes/` or `projects//locations//agents//environments//sessions//entityTypes/`. If `Environment ID` is not specified, we assume default 'draft' environment.", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/environments/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/environments/[^/]+/sessions/[^/]+/entityTypes/[^/]+$", // "required": true, // "type": "string" + // }, + // "updateMask": { + // "description": "The mask to control which fields get updated.", + // "format": "google-fieldmask", + // "location": "query", + // "type": "string" // } // }, // "path": "v3beta1/{+name}", + // "request": { + // "$ref": "GoogleCloudDialogflowCxV3beta1SessionEntityType" + // }, // "response": { - // "$ref": "GoogleCloudDialogflowCxV3beta1Environment" + // "$ref": "GoogleCloudDialogflowCxV3beta1SessionEntityType" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -13191,89 +18332,81 @@ func (c *ProjectsLocationsAgentsEnvironmentsGetCall) Do(opts ...googleapi.CallOp } -// method id "dialogflow.projects.locations.agents.environments.list": +// method id "dialogflow.projects.locations.agents.flows.create": -type ProjectsLocationsAgentsEnvironmentsListCall struct { - s *Service - parent string - urlParams_ gensupport.URLParams - ifNoneMatch_ string - ctx_ context.Context - header_ http.Header +type ProjectsLocationsAgentsFlowsCreateCall struct { + s *Service + parent string + googleclouddialogflowcxv3beta1flow *GoogleCloudDialogflowCxV3beta1Flow + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header } -// List: Returns the list of all environments in the specified Agent. -func (r *ProjectsLocationsAgentsEnvironmentsService) List(parent string) *ProjectsLocationsAgentsEnvironmentsListCall { - c := &ProjectsLocationsAgentsEnvironmentsListCall{s: r.s, urlParams_: make(gensupport.URLParams)} +// Create: Creates a flow in the specified agent. +func (r *ProjectsLocationsAgentsFlowsService) Create(parent string, googleclouddialogflowcxv3beta1flow *GoogleCloudDialogflowCxV3beta1Flow) *ProjectsLocationsAgentsFlowsCreateCall { + c := &ProjectsLocationsAgentsFlowsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.parent = parent + c.googleclouddialogflowcxv3beta1flow = googleclouddialogflowcxv3beta1flow return c } -// PageSize sets the optional parameter "pageSize": The maximum number -// of items to return in a single page. By default 20 and at most 100. -func (c *ProjectsLocationsAgentsEnvironmentsListCall) PageSize(pageSize int64) *ProjectsLocationsAgentsEnvironmentsListCall { - c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) - return c -} - -// PageToken sets the optional parameter "pageToken": The -// next_page_token value returned from a previous list request. -func (c *ProjectsLocationsAgentsEnvironmentsListCall) PageToken(pageToken string) *ProjectsLocationsAgentsEnvironmentsListCall { - c.urlParams_.Set("pageToken", pageToken) +// LanguageCode sets the optional parameter "languageCode": The language +// of the following fields in `flow`: * +// `Flow.event_handlers.trigger_fulfillment.messages` * +// `Flow.transition_routes.trigger_fulfillment.messages` If not +// specified, the agent's default language is used. [Many +// languages](https://cloud.google.com/dialogflow/docs/reference/language +// ) are supported. Note: languages must be enabled in the agent before +// they can be used. +func (c *ProjectsLocationsAgentsFlowsCreateCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsFlowsCreateCall { + c.urlParams_.Set("languageCode", languageCode) return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsEnvironmentsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsListCall { +func (c *ProjectsLocationsAgentsFlowsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsCreateCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } -// IfNoneMatch sets the optional parameter which makes the operation -// fail if the object's ETag matches the given value. This is useful for -// getting updates only after the object has changed since the last -// request. Use googleapi.IsNotModified to check whether the response -// error from Do is the result of In-None-Match. -func (c *ProjectsLocationsAgentsEnvironmentsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsEnvironmentsListCall { - c.ifNoneMatch_ = entityTag - return c -} - // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsEnvironmentsListCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsListCall { +func (c *ProjectsLocationsAgentsFlowsCreateCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsCreateCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsEnvironmentsListCall) Header() http.Header { +func (c *ProjectsLocationsAgentsFlowsCreateCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsEnvironmentsListCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsFlowsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } reqHeaders.Set("User-Agent", c.s.userAgent()) - if c.ifNoneMatch_ != "" { - reqHeaders.Set("If-None-Match", c.ifNoneMatch_) - } var body io.Reader = nil + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3beta1flow) + if err != nil { + return nil, err + } + reqHeaders.Set("Content-Type", "application/json") c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+parent}/environments") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+parent}/flows") urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("GET", urls, body) + req, err := http.NewRequest("POST", urls, body) if err != nil { return nil, err } @@ -13284,17 +18417,15 @@ func (c *ProjectsLocationsAgentsEnvironmentsListCall) doRequest(alt string) (*ht return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.environments.list" call. -// Exactly one of -// *GoogleCloudDialogflowCxV3beta1ListEnvironmentsResponse or error will -// be non-nil. Any non-2xx status code is an error. Response headers are -// in either -// *GoogleCloudDialogflowCxV3beta1ListEnvironmentsResponse.ServerResponse -// .Header or (if a response was returned at all) in +// Do executes the "dialogflow.projects.locations.agents.flows.create" call. +// Exactly one of *GoogleCloudDialogflowCxV3beta1Flow or error will be +// non-nil. Any non-2xx status code is an error. Response headers are in +// either *GoogleCloudDialogflowCxV3beta1Flow.ServerResponse.Header or +// (if a response was returned at all) in // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check // whether the returned error was because http.StatusNotModified was // returned. -func (c *ProjectsLocationsAgentsEnvironmentsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1ListEnvironmentsResponse, error) { +func (c *ProjectsLocationsAgentsFlowsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1Flow, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -13313,7 +18444,7 @@ func (c *ProjectsLocationsAgentsEnvironmentsListCall) Do(opts ...googleapi.CallO if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleCloudDialogflowCxV3beta1ListEnvironmentsResponse{ + ret := &GoogleCloudDialogflowCxV3beta1Flow{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -13325,36 +18456,33 @@ func (c *ProjectsLocationsAgentsEnvironmentsListCall) Do(opts ...googleapi.CallO } return ret, nil // { - // "description": "Returns the list of all environments in the specified Agent.", - // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments", - // "httpMethod": "GET", - // "id": "dialogflow.projects.locations.agents.environments.list", + // "description": "Creates a flow in the specified agent.", + // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows", + // "httpMethod": "POST", + // "id": "dialogflow.projects.locations.agents.flows.create", // "parameterOrder": [ // "parent" // ], // "parameters": { - // "pageSize": { - // "description": "The maximum number of items to return in a single page. By default 20 and at most 100.", - // "format": "int32", - // "location": "query", - // "type": "integer" - // }, - // "pageToken": { - // "description": "The next_page_token value returned from a previous list request.", + // "languageCode": { + // "description": "The language of the following fields in `flow`: * `Flow.event_handlers.trigger_fulfillment.messages` * `Flow.transition_routes.trigger_fulfillment.messages` If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", // "location": "query", // "type": "string" // }, // "parent": { - // "description": "Required. The Agent to list all environments for. Format: `projects//locations//agents/`.", + // "description": "Required. The agent to create a flow for. Format: `projects//locations//agents/`.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", // "required": true, // "type": "string" // } // }, - // "path": "v3beta1/{+parent}/environments", + // "path": "v3beta1/{+parent}/flows", + // "request": { + // "$ref": "GoogleCloudDialogflowCxV3beta1Flow" + // }, // "response": { - // "$ref": "GoogleCloudDialogflowCxV3beta1ListEnvironmentsResponse" + // "$ref": "GoogleCloudDialogflowCxV3beta1Flow" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -13364,111 +18492,73 @@ func (c *ProjectsLocationsAgentsEnvironmentsListCall) Do(opts ...googleapi.CallO } -// Pages invokes f for each page of results. -// A non-nil error returned from f will halt the iteration. -// The provided context supersedes any context provided to the Context method. -func (c *ProjectsLocationsAgentsEnvironmentsListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowCxV3beta1ListEnvironmentsResponse) error) error { - c.ctx_ = ctx - defer c.PageToken(c.urlParams_.Get("pageToken")) // reset paging to original point - for { - x, err := c.Do() - if err != nil { - return err - } - if err := f(x); err != nil { - return err - } - if x.NextPageToken == "" { - return nil - } - c.PageToken(x.NextPageToken) - } -} - -// method id "dialogflow.projects.locations.agents.environments.lookupEnvironmentHistory": +// method id "dialogflow.projects.locations.agents.flows.delete": -type ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall struct { - s *Service - name string - urlParams_ gensupport.URLParams - ifNoneMatch_ string - ctx_ context.Context - header_ http.Header +type ProjectsLocationsAgentsFlowsDeleteCall struct { + s *Service + name string + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header } -// LookupEnvironmentHistory: Looks up the history of the specified -// Environment. -func (r *ProjectsLocationsAgentsEnvironmentsService) LookupEnvironmentHistory(name string) *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall { - c := &ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall{s: r.s, urlParams_: make(gensupport.URLParams)} +// Delete: Deletes a specified flow. +func (r *ProjectsLocationsAgentsFlowsService) Delete(name string) *ProjectsLocationsAgentsFlowsDeleteCall { + c := &ProjectsLocationsAgentsFlowsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name return c } -// PageSize sets the optional parameter "pageSize": The maximum number -// of items to return in a single page. By default 100 and at most 1000. -func (c *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall) PageSize(pageSize int64) *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall { - c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) - return c -} - -// PageToken sets the optional parameter "pageToken": The -// next_page_token value returned from a previous list request. -func (c *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall) PageToken(pageToken string) *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall { - c.urlParams_.Set("pageToken", pageToken) +// Force sets the optional parameter "force": This field has no effect +// for flows with no incoming transitions. For flows with incoming +// transitions: * If `force` is set to false, an error will be returned +// with message indicating the incoming transitions. * If `force` is set +// to true, Dialogflow will remove the flow, as well as any transitions +// to the flow (i.e. Target flow in event handlers or Target flow in +// transition routes that point to this flow will be cleared). +func (c *ProjectsLocationsAgentsFlowsDeleteCall) Force(force bool) *ProjectsLocationsAgentsFlowsDeleteCall { + c.urlParams_.Set("force", fmt.Sprint(force)) return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall { +func (c *ProjectsLocationsAgentsFlowsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsDeleteCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } -// IfNoneMatch sets the optional parameter which makes the operation -// fail if the object's ETag matches the given value. This is useful for -// getting updates only after the object has changed since the last -// request. Use googleapi.IsNotModified to check whether the response -// error from Do is the result of In-None-Match. -func (c *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall { - c.ifNoneMatch_ = entityTag - return c -} - // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall { +func (c *ProjectsLocationsAgentsFlowsDeleteCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsDeleteCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall) Header() http.Header { +func (c *ProjectsLocationsAgentsFlowsDeleteCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsFlowsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } reqHeaders.Set("User-Agent", c.s.userAgent()) - if c.ifNoneMatch_ != "" { - reqHeaders.Set("If-None-Match", c.ifNoneMatch_) - } var body io.Reader = nil c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+name}:lookupEnvironmentHistory") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+name}") urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("GET", urls, body) + req, err := http.NewRequest("DELETE", urls, body) if err != nil { return nil, err } @@ -13479,17 +18569,14 @@ func (c *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall) doRequ return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.environments.lookupEnvironmentHistory" call. -// Exactly one of -// *GoogleCloudDialogflowCxV3beta1LookupEnvironmentHistoryResponse or -// error will be non-nil. Any non-2xx status code is an error. Response -// headers are in either -// *GoogleCloudDialogflowCxV3beta1LookupEnvironmentHistoryResponse.Server -// Response.Header or (if a response was returned at all) in -// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check -// whether the returned error was because http.StatusNotModified was -// returned. -func (c *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1LookupEnvironmentHistoryResponse, error) { +// Do executes the "dialogflow.projects.locations.agents.flows.delete" call. +// Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any +// non-2xx status code is an error. Response headers are in either +// *GoogleProtobufEmpty.ServerResponse.Header or (if a response was +// returned at all) in error.(*googleapi.Error).Header. Use +// googleapi.IsNotModified to check whether the returned error was +// because http.StatusNotModified was returned. +func (c *ProjectsLocationsAgentsFlowsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -13508,7 +18595,7 @@ func (c *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall) Do(opt if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleCloudDialogflowCxV3beta1LookupEnvironmentHistoryResponse{ + ret := &GoogleProtobufEmpty{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -13520,36 +18607,30 @@ func (c *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall) Do(opt } return ret, nil // { - // "description": "Looks up the history of the specified Environment.", - // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}:lookupEnvironmentHistory", - // "httpMethod": "GET", - // "id": "dialogflow.projects.locations.agents.environments.lookupEnvironmentHistory", + // "description": "Deletes a specified flow.", + // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}", + // "httpMethod": "DELETE", + // "id": "dialogflow.projects.locations.agents.flows.delete", // "parameterOrder": [ // "name" // ], // "parameters": { + // "force": { + // "description": "This field has no effect for flows with no incoming transitions. For flows with incoming transitions: * If `force` is set to false, an error will be returned with message indicating the incoming transitions. * If `force` is set to true, Dialogflow will remove the flow, as well as any transitions to the flow (i.e. Target flow in event handlers or Target flow in transition routes that point to this flow will be cleared).", + // "location": "query", + // "type": "boolean" + // }, // "name": { - // "description": "Required. Resource name of the environment to look up the history for. Format: `projects//locations//agents//environments/`.", + // "description": "Required. The name of the flow to delete. Format: `projects//locations//agents//flows/`.", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/environments/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+$", // "required": true, // "type": "string" - // }, - // "pageSize": { - // "description": "The maximum number of items to return in a single page. By default 100 and at most 1000.", - // "format": "int32", - // "location": "query", - // "type": "integer" - // }, - // "pageToken": { - // "description": "The next_page_token value returned from a previous list request.", - // "location": "query", - // "type": "string" // } // }, - // "path": "v3beta1/{+name}:lookupEnvironmentHistory", + // "path": "v3beta1/{+name}", // "response": { - // "$ref": "GoogleCloudDialogflowCxV3beta1LookupEnvironmentHistoryResponse" + // "$ref": "GoogleProtobufEmpty" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -13559,96 +18640,88 @@ func (c *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall) Do(opt } -// Pages invokes f for each page of results. -// A non-nil error returned from f will halt the iteration. -// The provided context supersedes any context provided to the Context method. -func (c *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowCxV3beta1LookupEnvironmentHistoryResponse) error) error { - c.ctx_ = ctx - defer c.PageToken(c.urlParams_.Get("pageToken")) // reset paging to original point - for { - x, err := c.Do() - if err != nil { - return err - } - if err := f(x); err != nil { - return err - } - if x.NextPageToken == "" { - return nil - } - c.PageToken(x.NextPageToken) - } -} - -// method id "dialogflow.projects.locations.agents.environments.patch": +// method id "dialogflow.projects.locations.agents.flows.get": -type ProjectsLocationsAgentsEnvironmentsPatchCall struct { - s *Service - name string - googleclouddialogflowcxv3beta1environment *GoogleCloudDialogflowCxV3beta1Environment - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header +type ProjectsLocationsAgentsFlowsGetCall struct { + s *Service + name string + urlParams_ gensupport.URLParams + ifNoneMatch_ string + ctx_ context.Context + header_ http.Header } -// Patch: Updates the specified Environment. -func (r *ProjectsLocationsAgentsEnvironmentsService) Patch(name string, googleclouddialogflowcxv3beta1environment *GoogleCloudDialogflowCxV3beta1Environment) *ProjectsLocationsAgentsEnvironmentsPatchCall { - c := &ProjectsLocationsAgentsEnvironmentsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)} +// Get: Retrieves the specified flow. +func (r *ProjectsLocationsAgentsFlowsService) Get(name string) *ProjectsLocationsAgentsFlowsGetCall { + c := &ProjectsLocationsAgentsFlowsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name - c.googleclouddialogflowcxv3beta1environment = googleclouddialogflowcxv3beta1environment return c } -// UpdateMask sets the optional parameter "updateMask": Required. The -// mask to control which fields get updated. -func (c *ProjectsLocationsAgentsEnvironmentsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsAgentsEnvironmentsPatchCall { - c.urlParams_.Set("updateMask", updateMask) +// LanguageCode sets the optional parameter "languageCode": The language +// to retrieve the flow for. The following fields are language +// dependent: * `Flow.event_handlers.trigger_fulfillment.messages` * +// `Flow.transition_routes.trigger_fulfillment.messages` If not +// specified, the agent's default language is used. [Many +// languages](https://cloud.google.com/dialogflow/docs/reference/language +// ) are supported. Note: languages must be enabled in the agent before +// they can be used. +func (c *ProjectsLocationsAgentsFlowsGetCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsFlowsGetCall { + c.urlParams_.Set("languageCode", languageCode) return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsEnvironmentsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsPatchCall { +func (c *ProjectsLocationsAgentsFlowsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsGetCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } +// IfNoneMatch sets the optional parameter which makes the operation +// fail if the object's ETag matches the given value. This is useful for +// getting updates only after the object has changed since the last +// request. Use googleapi.IsNotModified to check whether the response +// error from Do is the result of In-None-Match. +func (c *ProjectsLocationsAgentsFlowsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsFlowsGetCall { + c.ifNoneMatch_ = entityTag + return c +} + // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsEnvironmentsPatchCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsPatchCall { +func (c *ProjectsLocationsAgentsFlowsGetCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsGetCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsEnvironmentsPatchCall) Header() http.Header { +func (c *ProjectsLocationsAgentsFlowsGetCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsEnvironmentsPatchCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsFlowsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } reqHeaders.Set("User-Agent", c.s.userAgent()) - var body io.Reader = nil - body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3beta1environment) - if err != nil { - return nil, err + if c.ifNoneMatch_ != "" { + reqHeaders.Set("If-None-Match", c.ifNoneMatch_) } - reqHeaders.Set("Content-Type", "application/json") + var body io.Reader = nil c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+name}") urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("PATCH", urls, body) + req, err := http.NewRequest("GET", urls, body) if err != nil { return nil, err } @@ -13659,14 +18732,15 @@ func (c *ProjectsLocationsAgentsEnvironmentsPatchCall) doRequest(alt string) (*h return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.environments.patch" call. -// Exactly one of *GoogleLongrunningOperation or error will be non-nil. -// Any non-2xx status code is an error. Response headers are in either -// *GoogleLongrunningOperation.ServerResponse.Header or (if a response -// was returned at all) in error.(*googleapi.Error).Header. Use -// googleapi.IsNotModified to check whether the returned error was -// because http.StatusNotModified was returned. -func (c *ProjectsLocationsAgentsEnvironmentsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error) { +// Do executes the "dialogflow.projects.locations.agents.flows.get" call. +// Exactly one of *GoogleCloudDialogflowCxV3beta1Flow or error will be +// non-nil. Any non-2xx status code is an error. Response headers are in +// either *GoogleCloudDialogflowCxV3beta1Flow.ServerResponse.Header or +// (if a response was returned at all) in +// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check +// whether the returned error was because http.StatusNotModified was +// returned. +func (c *ProjectsLocationsAgentsFlowsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1Flow, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -13685,7 +18759,7 @@ func (c *ProjectsLocationsAgentsEnvironmentsPatchCall) Do(opts ...googleapi.Call if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleLongrunningOperation{ + ret := &GoogleCloudDialogflowCxV3beta1Flow{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -13697,34 +18771,30 @@ func (c *ProjectsLocationsAgentsEnvironmentsPatchCall) Do(opts ...googleapi.Call } return ret, nil // { - // "description": "Updates the specified Environment.", - // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}", - // "httpMethod": "PATCH", - // "id": "dialogflow.projects.locations.agents.environments.patch", + // "description": "Retrieves the specified flow.", + // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}", + // "httpMethod": "GET", + // "id": "dialogflow.projects.locations.agents.flows.get", // "parameterOrder": [ // "name" // ], // "parameters": { + // "languageCode": { + // "description": "The language to retrieve the flow for. The following fields are language dependent: * `Flow.event_handlers.trigger_fulfillment.messages` * `Flow.transition_routes.trigger_fulfillment.messages` If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", + // "location": "query", + // "type": "string" + // }, // "name": { - // "description": "The name of the environment. Format: `projects//locations//agents//environments/`.", + // "description": "Required. The name of the flow to get. Format: `projects//locations//agents//flows/`.", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/environments/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+$", // "required": true, // "type": "string" - // }, - // "updateMask": { - // "description": "Required. The mask to control which fields get updated.", - // "format": "google-fieldmask", - // "location": "query", - // "type": "string" // } // }, // "path": "v3beta1/{+name}", - // "request": { - // "$ref": "GoogleCloudDialogflowCxV3beta1Environment" - // }, // "response": { - // "$ref": "GoogleLongrunningOperation" + // "$ref": "GoogleCloudDialogflowCxV3beta1Flow" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -13734,94 +18804,122 @@ func (c *ProjectsLocationsAgentsEnvironmentsPatchCall) Do(opts ...googleapi.Call } -// method id "dialogflow.projects.locations.agents.environments.sessions.detectIntent": +// method id "dialogflow.projects.locations.agents.flows.list": -type ProjectsLocationsAgentsEnvironmentsSessionsDetectIntentCall struct { - s *Service - sessionid string - googleclouddialogflowcxv3beta1detectintentrequest *GoogleCloudDialogflowCxV3beta1DetectIntentRequest - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header +type ProjectsLocationsAgentsFlowsListCall struct { + s *Service + parent string + urlParams_ gensupport.URLParams + ifNoneMatch_ string + ctx_ context.Context + header_ http.Header } -// DetectIntent: Processes a natural language query and returns -// structured, actionable data as a result. This method is not -// idempotent, because it may cause session entity types to be updated, -// which in turn might affect results of future queries. Note: Always -// use agent versions for production traffic. See [Versions and -// environments](https://cloud.google.com/dialogflow/cx/docs/concept/vers -// ion). -func (r *ProjectsLocationsAgentsEnvironmentsSessionsService) DetectIntent(sessionid string, googleclouddialogflowcxv3beta1detectintentrequest *GoogleCloudDialogflowCxV3beta1DetectIntentRequest) *ProjectsLocationsAgentsEnvironmentsSessionsDetectIntentCall { - c := &ProjectsLocationsAgentsEnvironmentsSessionsDetectIntentCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.sessionid = sessionid - c.googleclouddialogflowcxv3beta1detectintentrequest = googleclouddialogflowcxv3beta1detectintentrequest +// List: Returns the list of all flows in the specified agent. +func (r *ProjectsLocationsAgentsFlowsService) List(parent string) *ProjectsLocationsAgentsFlowsListCall { + c := &ProjectsLocationsAgentsFlowsListCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.parent = parent + return c +} + +// LanguageCode sets the optional parameter "languageCode": The language +// to list flows for. The following fields are language dependent: * +// `Flow.event_handlers.trigger_fulfillment.messages` * +// `Flow.transition_routes.trigger_fulfillment.messages` If not +// specified, the agent's default language is used. [Many +// languages](https://cloud.google.com/dialogflow/docs/reference/language +// ) are supported. Note: languages must be enabled in the agent before +// they can be used. +func (c *ProjectsLocationsAgentsFlowsListCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsFlowsListCall { + c.urlParams_.Set("languageCode", languageCode) + return c +} + +// PageSize sets the optional parameter "pageSize": The maximum number +// of items to return in a single page. By default 100 and at most 1000. +func (c *ProjectsLocationsAgentsFlowsListCall) PageSize(pageSize int64) *ProjectsLocationsAgentsFlowsListCall { + c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) + return c +} + +// PageToken sets the optional parameter "pageToken": The +// next_page_token value returned from a previous list request. +func (c *ProjectsLocationsAgentsFlowsListCall) PageToken(pageToken string) *ProjectsLocationsAgentsFlowsListCall { + c.urlParams_.Set("pageToken", pageToken) return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsEnvironmentsSessionsDetectIntentCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsSessionsDetectIntentCall { +func (c *ProjectsLocationsAgentsFlowsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsListCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } +// IfNoneMatch sets the optional parameter which makes the operation +// fail if the object's ETag matches the given value. This is useful for +// getting updates only after the object has changed since the last +// request. Use googleapi.IsNotModified to check whether the response +// error from Do is the result of In-None-Match. +func (c *ProjectsLocationsAgentsFlowsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsFlowsListCall { + c.ifNoneMatch_ = entityTag + return c +} + // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsEnvironmentsSessionsDetectIntentCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsSessionsDetectIntentCall { +func (c *ProjectsLocationsAgentsFlowsListCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsListCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsEnvironmentsSessionsDetectIntentCall) Header() http.Header { +func (c *ProjectsLocationsAgentsFlowsListCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsEnvironmentsSessionsDetectIntentCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsFlowsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } reqHeaders.Set("User-Agent", c.s.userAgent()) - var body io.Reader = nil - body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3beta1detectintentrequest) - if err != nil { - return nil, err + if c.ifNoneMatch_ != "" { + reqHeaders.Set("If-None-Match", c.ifNoneMatch_) } - reqHeaders.Set("Content-Type", "application/json") + var body io.Reader = nil c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+session}:detectIntent") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+parent}/flows") urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("POST", urls, body) + req, err := http.NewRequest("GET", urls, body) if err != nil { return nil, err } req.Header = reqHeaders googleapi.Expand(req.URL, map[string]string{ - "session": c.sessionid, + "parent": c.parent, }) return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.environments.sessions.detectIntent" call. -// Exactly one of *GoogleCloudDialogflowCxV3beta1DetectIntentResponse or +// Do executes the "dialogflow.projects.locations.agents.flows.list" call. +// Exactly one of *GoogleCloudDialogflowCxV3beta1ListFlowsResponse or // error will be non-nil. Any non-2xx status code is an error. Response // headers are in either -// *GoogleCloudDialogflowCxV3beta1DetectIntentResponse.ServerResponse.Hea -// der or (if a response was returned at all) in +// *GoogleCloudDialogflowCxV3beta1ListFlowsResponse.ServerResponse.Header +// or (if a response was returned at all) in // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check // whether the returned error was because http.StatusNotModified was // returned. -func (c *ProjectsLocationsAgentsEnvironmentsSessionsDetectIntentCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1DetectIntentResponse, error) { +func (c *ProjectsLocationsAgentsFlowsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1ListFlowsResponse, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -13840,7 +18938,7 @@ func (c *ProjectsLocationsAgentsEnvironmentsSessionsDetectIntentCall) Do(opts .. if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleCloudDialogflowCxV3beta1DetectIntentResponse{ + ret := &GoogleCloudDialogflowCxV3beta1ListFlowsResponse{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -13852,28 +18950,41 @@ func (c *ProjectsLocationsAgentsEnvironmentsSessionsDetectIntentCall) Do(opts .. } return ret, nil // { - // "description": "Processes a natural language query and returns structured, actionable data as a result. This method is not idempotent, because it may cause session entity types to be updated, which in turn might affect results of future queries. Note: Always use agent versions for production traffic. See [Versions and environments](https://cloud.google.com/dialogflow/cx/docs/concept/version).", - // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}/sessions/{sessionsId}:detectIntent", - // "httpMethod": "POST", - // "id": "dialogflow.projects.locations.agents.environments.sessions.detectIntent", + // "description": "Returns the list of all flows in the specified agent.", + // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows", + // "httpMethod": "GET", + // "id": "dialogflow.projects.locations.agents.flows.list", // "parameterOrder": [ - // "session" + // "parent" // ], // "parameters": { - // "session": { - // "description": "Required. The name of the session this query is sent to. Format: `projects//locations//agents//sessions/` or `projects//locations//agents//environments//sessions/`. If `Environment ID` is not specified, we assume default 'draft' environment. It's up to the API caller to choose an appropriate `Session ID`. It can be a random number or some type of session identifiers (preferably hashed). The length of the `Session ID` must not exceed 36 characters. For more information, see the [sessions guide](https://cloud.google.com/dialogflow/cx/docs/concept/session). Note: Always use agent versions for production traffic. See [Versions and environments](https://cloud.google.com/dialogflow/cx/docs/concept/version).", + // "languageCode": { + // "description": "The language to list flows for. The following fields are language dependent: * `Flow.event_handlers.trigger_fulfillment.messages` * `Flow.transition_routes.trigger_fulfillment.messages` If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", + // "location": "query", + // "type": "string" + // }, + // "pageSize": { + // "description": "The maximum number of items to return in a single page. By default 100 and at most 1000.", + // "format": "int32", + // "location": "query", + // "type": "integer" + // }, + // "pageToken": { + // "description": "The next_page_token value returned from a previous list request.", + // "location": "query", + // "type": "string" + // }, + // "parent": { + // "description": "Required. The agent containing the flows. Format: `projects//locations//agents/`.", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/environments/[^/]+/sessions/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", // "required": true, // "type": "string" // } // }, - // "path": "v3beta1/{+session}:detectIntent", - // "request": { - // "$ref": "GoogleCloudDialogflowCxV3beta1DetectIntentRequest" - // }, + // "path": "v3beta1/{+parent}/flows", // "response": { - // "$ref": "GoogleCloudDialogflowCxV3beta1DetectIntentResponse" + // "$ref": "GoogleCloudDialogflowCxV3beta1ListFlowsResponse" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -13883,31 +18994,71 @@ func (c *ProjectsLocationsAgentsEnvironmentsSessionsDetectIntentCall) Do(opts .. } -// method id "dialogflow.projects.locations.agents.environments.sessions.fulfillIntent": +// Pages invokes f for each page of results. +// A non-nil error returned from f will halt the iteration. +// The provided context supersedes any context provided to the Context method. +func (c *ProjectsLocationsAgentsFlowsListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowCxV3beta1ListFlowsResponse) error) error { + c.ctx_ = ctx + defer c.PageToken(c.urlParams_.Get("pageToken")) // reset paging to original point + for { + x, err := c.Do() + if err != nil { + return err + } + if err := f(x); err != nil { + return err + } + if x.NextPageToken == "" { + return nil + } + c.PageToken(x.NextPageToken) + } +} -type ProjectsLocationsAgentsEnvironmentsSessionsFulfillIntentCall struct { - s *Service - sessionid string - googleclouddialogflowcxv3beta1fulfillintentrequest *GoogleCloudDialogflowCxV3beta1FulfillIntentRequest - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header +// method id "dialogflow.projects.locations.agents.flows.patch": + +type ProjectsLocationsAgentsFlowsPatchCall struct { + s *Service + nameid string + googleclouddialogflowcxv3beta1flow *GoogleCloudDialogflowCxV3beta1Flow + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// Patch: Updates the specified flow. +func (r *ProjectsLocationsAgentsFlowsService) Patch(nameid string, googleclouddialogflowcxv3beta1flow *GoogleCloudDialogflowCxV3beta1Flow) *ProjectsLocationsAgentsFlowsPatchCall { + c := &ProjectsLocationsAgentsFlowsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.nameid = nameid + c.googleclouddialogflowcxv3beta1flow = googleclouddialogflowcxv3beta1flow + return c } -// FulfillIntent: Fulfills a matched intent returned by MatchIntent. -// Must be called after MatchIntent, with input from -// MatchIntentResponse. Otherwise, the behavior is undefined. -func (r *ProjectsLocationsAgentsEnvironmentsSessionsService) FulfillIntent(sessionid string, googleclouddialogflowcxv3beta1fulfillintentrequest *GoogleCloudDialogflowCxV3beta1FulfillIntentRequest) *ProjectsLocationsAgentsEnvironmentsSessionsFulfillIntentCall { - c := &ProjectsLocationsAgentsEnvironmentsSessionsFulfillIntentCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.sessionid = sessionid - c.googleclouddialogflowcxv3beta1fulfillintentrequest = googleclouddialogflowcxv3beta1fulfillintentrequest +// LanguageCode sets the optional parameter "languageCode": The language +// of the following fields in `flow`: * +// `Flow.event_handlers.trigger_fulfillment.messages` * +// `Flow.transition_routes.trigger_fulfillment.messages` If not +// specified, the agent's default language is used. [Many +// languages](https://cloud.google.com/dialogflow/docs/reference/language +// ) are supported. Note: languages must be enabled in the agent before +// they can be used. +func (c *ProjectsLocationsAgentsFlowsPatchCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsFlowsPatchCall { + c.urlParams_.Set("languageCode", languageCode) + return c +} + +// UpdateMask sets the optional parameter "updateMask": Required. The +// mask to control which fields get updated. If `update_mask` is not +// specified, an error will be returned. +func (c *ProjectsLocationsAgentsFlowsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsAgentsFlowsPatchCall { + c.urlParams_.Set("updateMask", updateMask) return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsEnvironmentsSessionsFulfillIntentCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsSessionsFulfillIntentCall { +func (c *ProjectsLocationsAgentsFlowsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsPatchCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -13915,58 +19066,57 @@ func (c *ProjectsLocationsAgentsEnvironmentsSessionsFulfillIntentCall) Fields(s // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsEnvironmentsSessionsFulfillIntentCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsSessionsFulfillIntentCall { +func (c *ProjectsLocationsAgentsFlowsPatchCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsPatchCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsEnvironmentsSessionsFulfillIntentCall) Header() http.Header { +func (c *ProjectsLocationsAgentsFlowsPatchCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsEnvironmentsSessionsFulfillIntentCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsFlowsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } reqHeaders.Set("User-Agent", c.s.userAgent()) var body io.Reader = nil - body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3beta1fulfillintentrequest) + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3beta1flow) if err != nil { return nil, err } reqHeaders.Set("Content-Type", "application/json") c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+session}:fulfillIntent") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+name}") urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("POST", urls, body) + req, err := http.NewRequest("PATCH", urls, body) if err != nil { return nil, err } req.Header = reqHeaders googleapi.Expand(req.URL, map[string]string{ - "session": c.sessionid, + "name": c.nameid, }) return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.environments.sessions.fulfillIntent" call. -// Exactly one of *GoogleCloudDialogflowCxV3beta1FulfillIntentResponse -// or error will be non-nil. Any non-2xx status code is an error. -// Response headers are in either -// *GoogleCloudDialogflowCxV3beta1FulfillIntentResponse.ServerResponse.He -// ader or (if a response was returned at all) in +// Do executes the "dialogflow.projects.locations.agents.flows.patch" call. +// Exactly one of *GoogleCloudDialogflowCxV3beta1Flow or error will be +// non-nil. Any non-2xx status code is an error. Response headers are in +// either *GoogleCloudDialogflowCxV3beta1Flow.ServerResponse.Header or +// (if a response was returned at all) in // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check // whether the returned error was because http.StatusNotModified was // returned. -func (c *ProjectsLocationsAgentsEnvironmentsSessionsFulfillIntentCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1FulfillIntentResponse, error) { +func (c *ProjectsLocationsAgentsFlowsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1Flow, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -13985,7 +19135,7 @@ func (c *ProjectsLocationsAgentsEnvironmentsSessionsFulfillIntentCall) Do(opts . if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleCloudDialogflowCxV3beta1FulfillIntentResponse{ + ret := &GoogleCloudDialogflowCxV3beta1Flow{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -13997,28 +19147,39 @@ func (c *ProjectsLocationsAgentsEnvironmentsSessionsFulfillIntentCall) Do(opts . } return ret, nil // { - // "description": "Fulfills a matched intent returned by MatchIntent. Must be called after MatchIntent, with input from MatchIntentResponse. Otherwise, the behavior is undefined.", - // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}/sessions/{sessionsId}:fulfillIntent", - // "httpMethod": "POST", - // "id": "dialogflow.projects.locations.agents.environments.sessions.fulfillIntent", + // "description": "Updates the specified flow.", + // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}", + // "httpMethod": "PATCH", + // "id": "dialogflow.projects.locations.agents.flows.patch", // "parameterOrder": [ - // "session" + // "name" // ], // "parameters": { - // "session": { - // "description": "Required. The name of the session this query is sent to. Format: `projects//locations//agents//sessions/` or `projects//locations//agents//environments//sessions/`. If `Environment ID` is not specified, we assume default 'draft' environment. It's up to the API caller to choose an appropriate `Session ID`. It can be a random number or some type of session identifiers (preferably hashed). The length of the `Session ID` must not exceed 36 characters. For more information, see the [sessions guide](https://cloud.google.com/dialogflow/cx/docs/concept/session).", + // "languageCode": { + // "description": "The language of the following fields in `flow`: * `Flow.event_handlers.trigger_fulfillment.messages` * `Flow.transition_routes.trigger_fulfillment.messages` If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", + // "location": "query", + // "type": "string" + // }, + // "name": { + // "description": "The unique identifier of the flow. Format: `projects//locations//agents//flows/`.", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/environments/[^/]+/sessions/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+$", // "required": true, // "type": "string" + // }, + // "updateMask": { + // "description": "Required. The mask to control which fields get updated. If `update_mask` is not specified, an error will be returned.", + // "format": "google-fieldmask", + // "location": "query", + // "type": "string" // } // }, - // "path": "v3beta1/{+session}:fulfillIntent", + // "path": "v3beta1/{+name}", // "request": { - // "$ref": "GoogleCloudDialogflowCxV3beta1FulfillIntentRequest" + // "$ref": "GoogleCloudDialogflowCxV3beta1Flow" // }, // "response": { - // "$ref": "GoogleCloudDialogflowCxV3beta1FulfillIntentResponse" + // "$ref": "GoogleCloudDialogflowCxV3beta1Flow" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -14028,30 +19189,30 @@ func (c *ProjectsLocationsAgentsEnvironmentsSessionsFulfillIntentCall) Do(opts . } -// method id "dialogflow.projects.locations.agents.environments.sessions.matchIntent": +// method id "dialogflow.projects.locations.agents.flows.train": -type ProjectsLocationsAgentsEnvironmentsSessionsMatchIntentCall struct { - s *Service - sessionid string - googleclouddialogflowcxv3beta1matchintentrequest *GoogleCloudDialogflowCxV3beta1MatchIntentRequest - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header +type ProjectsLocationsAgentsFlowsTrainCall struct { + s *Service + name string + googleclouddialogflowcxv3beta1trainflowrequest *GoogleCloudDialogflowCxV3beta1TrainFlowRequest + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header } -// MatchIntent: Returns preliminary intent match results, doesn't change -// the session status. -func (r *ProjectsLocationsAgentsEnvironmentsSessionsService) MatchIntent(sessionid string, googleclouddialogflowcxv3beta1matchintentrequest *GoogleCloudDialogflowCxV3beta1MatchIntentRequest) *ProjectsLocationsAgentsEnvironmentsSessionsMatchIntentCall { - c := &ProjectsLocationsAgentsEnvironmentsSessionsMatchIntentCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.sessionid = sessionid - c.googleclouddialogflowcxv3beta1matchintentrequest = googleclouddialogflowcxv3beta1matchintentrequest +// Train: Trains the specified flow. Note that only the flow in 'draft' +// environment is trained. +func (r *ProjectsLocationsAgentsFlowsService) Train(name string, googleclouddialogflowcxv3beta1trainflowrequest *GoogleCloudDialogflowCxV3beta1TrainFlowRequest) *ProjectsLocationsAgentsFlowsTrainCall { + c := &ProjectsLocationsAgentsFlowsTrainCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name + c.googleclouddialogflowcxv3beta1trainflowrequest = googleclouddialogflowcxv3beta1trainflowrequest return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsEnvironmentsSessionsMatchIntentCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsSessionsMatchIntentCall { +func (c *ProjectsLocationsAgentsFlowsTrainCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsTrainCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -14059,36 +19220,36 @@ func (c *ProjectsLocationsAgentsEnvironmentsSessionsMatchIntentCall) Fields(s .. // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsEnvironmentsSessionsMatchIntentCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsSessionsMatchIntentCall { +func (c *ProjectsLocationsAgentsFlowsTrainCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsTrainCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsEnvironmentsSessionsMatchIntentCall) Header() http.Header { +func (c *ProjectsLocationsAgentsFlowsTrainCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsEnvironmentsSessionsMatchIntentCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsFlowsTrainCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } reqHeaders.Set("User-Agent", c.s.userAgent()) var body io.Reader = nil - body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3beta1matchintentrequest) + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3beta1trainflowrequest) if err != nil { return nil, err } reqHeaders.Set("Content-Type", "application/json") c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+session}:matchIntent") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+name}:train") urls += "?" + c.urlParams_.Encode() req, err := http.NewRequest("POST", urls, body) if err != nil { @@ -14096,21 +19257,19 @@ func (c *ProjectsLocationsAgentsEnvironmentsSessionsMatchIntentCall) doRequest(a } req.Header = reqHeaders googleapi.Expand(req.URL, map[string]string{ - "session": c.sessionid, + "name": c.name, }) return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.environments.sessions.matchIntent" call. -// Exactly one of *GoogleCloudDialogflowCxV3beta1MatchIntentResponse or -// error will be non-nil. Any non-2xx status code is an error. Response -// headers are in either -// *GoogleCloudDialogflowCxV3beta1MatchIntentResponse.ServerResponse.Head -// er or (if a response was returned at all) in -// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check -// whether the returned error was because http.StatusNotModified was -// returned. -func (c *ProjectsLocationsAgentsEnvironmentsSessionsMatchIntentCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1MatchIntentResponse, error) { +// Do executes the "dialogflow.projects.locations.agents.flows.train" call. +// Exactly one of *GoogleLongrunningOperation or error will be non-nil. +// Any non-2xx status code is an error. Response headers are in either +// *GoogleLongrunningOperation.ServerResponse.Header or (if a response +// was returned at all) in error.(*googleapi.Error).Header. Use +// googleapi.IsNotModified to check whether the returned error was +// because http.StatusNotModified was returned. +func (c *ProjectsLocationsAgentsFlowsTrainCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -14129,7 +19288,7 @@ func (c *ProjectsLocationsAgentsEnvironmentsSessionsMatchIntentCall) Do(opts ... if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleCloudDialogflowCxV3beta1MatchIntentResponse{ + ret := &GoogleLongrunningOperation{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -14141,28 +19300,28 @@ func (c *ProjectsLocationsAgentsEnvironmentsSessionsMatchIntentCall) Do(opts ... } return ret, nil // { - // "description": "Returns preliminary intent match results, doesn't change the session status.", - // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}/sessions/{sessionsId}:matchIntent", + // "description": "Trains the specified flow. Note that only the flow in 'draft' environment is trained.", + // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}:train", // "httpMethod": "POST", - // "id": "dialogflow.projects.locations.agents.environments.sessions.matchIntent", + // "id": "dialogflow.projects.locations.agents.flows.train", // "parameterOrder": [ - // "session" + // "name" // ], // "parameters": { - // "session": { - // "description": "Required. The name of the session this query is sent to. Format: `projects//locations//agents//sessions/` or `projects//locations//agents//environments//sessions/`. If `Environment ID` is not specified, we assume default 'draft' environment. It's up to the API caller to choose an appropriate `Session ID`. It can be a random number or some type of session identifiers (preferably hashed). The length of the `Session ID` must not exceed 36 characters. For more information, see the [sessions guide](https://cloud.google.com/dialogflow/cx/docs/concept/session).", + // "name": { + // "description": "Required. The flow to train. Format: `projects//locations//agents//flows/`.", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/environments/[^/]+/sessions/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+$", // "required": true, // "type": "string" // } // }, - // "path": "v3beta1/{+session}:matchIntent", + // "path": "v3beta1/{+name}:train", // "request": { - // "$ref": "GoogleCloudDialogflowCxV3beta1MatchIntentRequest" + // "$ref": "GoogleCloudDialogflowCxV3beta1TrainFlowRequest" // }, // "response": { - // "$ref": "GoogleCloudDialogflowCxV3beta1MatchIntentResponse" + // "$ref": "GoogleLongrunningOperation" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -14172,30 +19331,46 @@ func (c *ProjectsLocationsAgentsEnvironmentsSessionsMatchIntentCall) Do(opts ... } -// method id "dialogflow.projects.locations.agents.environments.sessions.entityTypes.create": +// method id "dialogflow.projects.locations.agents.flows.pages.create": -type ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesCreateCall struct { - s *Service - parent string - googleclouddialogflowcxv3beta1sessionentitytype *GoogleCloudDialogflowCxV3beta1SessionEntityType - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header +type ProjectsLocationsAgentsFlowsPagesCreateCall struct { + s *Service + parent string + googleclouddialogflowcxv3beta1page *GoogleCloudDialogflowCxV3beta1Page + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header } -// Create: Creates a session entity type. If the specified session -// entity type already exists, overrides the session entity type. -func (r *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesService) Create(parent string, googleclouddialogflowcxv3beta1sessionentitytype *GoogleCloudDialogflowCxV3beta1SessionEntityType) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesCreateCall { - c := &ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)} +// Create: Creates a page in the specified flow. +func (r *ProjectsLocationsAgentsFlowsPagesService) Create(parent string, googleclouddialogflowcxv3beta1page *GoogleCloudDialogflowCxV3beta1Page) *ProjectsLocationsAgentsFlowsPagesCreateCall { + c := &ProjectsLocationsAgentsFlowsPagesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.parent = parent - c.googleclouddialogflowcxv3beta1sessionentitytype = googleclouddialogflowcxv3beta1sessionentitytype + c.googleclouddialogflowcxv3beta1page = googleclouddialogflowcxv3beta1page + return c +} + +// LanguageCode sets the optional parameter "languageCode": The language +// of the following fields in `page`: * +// `Page.entry_fulfillment.messages` * +// `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.message +// s` * +// `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages` +// * `Page.transition_routes.trigger_fulfillment.messages` * +// `Page.transition_route_groups.transition_routes.trigger_fulfillment.me +// ssages` If not specified, the agent's default language is used. [Many +// languages](https://cloud.google.com/dialogflow/docs/reference/language +// ) are supported. Note: languages must be enabled in the agent before +// they can be used. +func (c *ProjectsLocationsAgentsFlowsPagesCreateCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsFlowsPagesCreateCall { + c.urlParams_.Set("languageCode", languageCode) return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesCreateCall { +func (c *ProjectsLocationsAgentsFlowsPagesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsPagesCreateCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -14203,36 +19378,36 @@ func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesCreateCall) Field // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesCreateCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesCreateCall { +func (c *ProjectsLocationsAgentsFlowsPagesCreateCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsPagesCreateCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesCreateCall) Header() http.Header { +func (c *ProjectsLocationsAgentsFlowsPagesCreateCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesCreateCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsFlowsPagesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } reqHeaders.Set("User-Agent", c.s.userAgent()) var body io.Reader = nil - body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3beta1sessionentitytype) + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3beta1page) if err != nil { return nil, err } reqHeaders.Set("Content-Type", "application/json") c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+parent}/entityTypes") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+parent}/pages") urls += "?" + c.urlParams_.Encode() req, err := http.NewRequest("POST", urls, body) if err != nil { @@ -14245,16 +19420,15 @@ func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesCreateCall) doReq return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.environments.sessions.entityTypes.create" call. -// Exactly one of *GoogleCloudDialogflowCxV3beta1SessionEntityType or -// error will be non-nil. Any non-2xx status code is an error. Response -// headers are in either -// *GoogleCloudDialogflowCxV3beta1SessionEntityType.ServerResponse.Header -// or (if a response was returned at all) in +// Do executes the "dialogflow.projects.locations.agents.flows.pages.create" call. +// Exactly one of *GoogleCloudDialogflowCxV3beta1Page or error will be +// non-nil. Any non-2xx status code is an error. Response headers are in +// either *GoogleCloudDialogflowCxV3beta1Page.ServerResponse.Header or +// (if a response was returned at all) in // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check // whether the returned error was because http.StatusNotModified was // returned. -func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1SessionEntityType, error) { +func (c *ProjectsLocationsAgentsFlowsPagesCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1Page, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -14273,7 +19447,7 @@ func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesCreateCall) Do(op if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleCloudDialogflowCxV3beta1SessionEntityType{ + ret := &GoogleCloudDialogflowCxV3beta1Page{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -14285,28 +19459,33 @@ func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesCreateCall) Do(op } return ret, nil // { - // "description": "Creates a session entity type. If the specified session entity type already exists, overrides the session entity type.", - // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}/sessions/{sessionsId}/entityTypes", + // "description": "Creates a page in the specified flow.", + // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/pages", // "httpMethod": "POST", - // "id": "dialogflow.projects.locations.agents.environments.sessions.entityTypes.create", + // "id": "dialogflow.projects.locations.agents.flows.pages.create", // "parameterOrder": [ // "parent" // ], // "parameters": { + // "languageCode": { + // "description": "The language of the following fields in `page`: * `Page.entry_fulfillment.messages` * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.messages` * `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages` * `Page.transition_routes.trigger_fulfillment.messages` * `Page.transition_route_groups.transition_routes.trigger_fulfillment.messages` If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", + // "location": "query", + // "type": "string" + // }, // "parent": { - // "description": "Required. The session to create a session entity type for. Format: `projects//locations//agents//sessions/` or `projects//locations//agents//environments//sessions/`. If `Environment ID` is not specified, we assume default 'draft' environment.", + // "description": "Required. The flow to create a page for. Format: `projects//locations//agents//flows/`.", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/environments/[^/]+/sessions/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+$", // "required": true, // "type": "string" // } // }, - // "path": "v3beta1/{+parent}/entityTypes", + // "path": "v3beta1/{+parent}/pages", // "request": { - // "$ref": "GoogleCloudDialogflowCxV3beta1SessionEntityType" + // "$ref": "GoogleCloudDialogflowCxV3beta1Page" // }, // "response": { - // "$ref": "GoogleCloudDialogflowCxV3beta1SessionEntityType" + // "$ref": "GoogleCloudDialogflowCxV3beta1Page" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -14316,9 +19495,9 @@ func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesCreateCall) Do(op } -// method id "dialogflow.projects.locations.agents.environments.sessions.entityTypes.delete": +// method id "dialogflow.projects.locations.agents.flows.pages.delete": -type ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesDeleteCall struct { +type ProjectsLocationsAgentsFlowsPagesDeleteCall struct { s *Service name string urlParams_ gensupport.URLParams @@ -14326,17 +19505,29 @@ type ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesDeleteCall struct { header_ http.Header } -// Delete: Deletes the specified session entity type. -func (r *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesService) Delete(name string) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesDeleteCall { - c := &ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)} +// Delete: Deletes the specified page. +func (r *ProjectsLocationsAgentsFlowsPagesService) Delete(name string) *ProjectsLocationsAgentsFlowsPagesDeleteCall { + c := &ProjectsLocationsAgentsFlowsPagesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name return c } +// Force sets the optional parameter "force": This field has no effect +// for pages with no incoming transitions. For pages with incoming +// transitions: * If `force` is set to false, an error will be returned +// with message indicating the incoming transitions. * If `force` is set +// to true, Dialogflow will remove the page, as well as any transitions +// to the page (i.e. Target page in event handlers or Target page in +// transition routes that point to this page will be cleared). +func (c *ProjectsLocationsAgentsFlowsPagesDeleteCall) Force(force bool) *ProjectsLocationsAgentsFlowsPagesDeleteCall { + c.urlParams_.Set("force", fmt.Sprint(force)) + return c +} + // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesDeleteCall { +func (c *ProjectsLocationsAgentsFlowsPagesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsPagesDeleteCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -14344,23 +19535,23 @@ func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesDeleteCall) Field // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesDeleteCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesDeleteCall { +func (c *ProjectsLocationsAgentsFlowsPagesDeleteCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsPagesDeleteCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesDeleteCall) Header() http.Header { +func (c *ProjectsLocationsAgentsFlowsPagesDeleteCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesDeleteCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsFlowsPagesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14381,14 +19572,14 @@ func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesDeleteCall) doReq return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.environments.sessions.entityTypes.delete" call. +// Do executes the "dialogflow.projects.locations.agents.flows.pages.delete" call. // Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any // non-2xx status code is an error. Response headers are in either // *GoogleProtobufEmpty.ServerResponse.Header or (if a response was // returned at all) in error.(*googleapi.Error).Header. Use // googleapi.IsNotModified to check whether the returned error was // because http.StatusNotModified was returned. -func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error) { +func (c *ProjectsLocationsAgentsFlowsPagesDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -14419,18 +19610,23 @@ func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesDeleteCall) Do(op } return ret, nil // { - // "description": "Deletes the specified session entity type.", - // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}/sessions/{sessionsId}/entityTypes/{entityTypesId}", + // "description": "Deletes the specified page.", + // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/pages/{pagesId}", // "httpMethod": "DELETE", - // "id": "dialogflow.projects.locations.agents.environments.sessions.entityTypes.delete", + // "id": "dialogflow.projects.locations.agents.flows.pages.delete", // "parameterOrder": [ // "name" // ], // "parameters": { + // "force": { + // "description": "This field has no effect for pages with no incoming transitions. For pages with incoming transitions: * If `force` is set to false, an error will be returned with message indicating the incoming transitions. * If `force` is set to true, Dialogflow will remove the page, as well as any transitions to the page (i.e. Target page in event handlers or Target page in transition routes that point to this page will be cleared).", + // "location": "query", + // "type": "boolean" + // }, // "name": { - // "description": "Required. The name of the session entity type to delete. Format: `projects//locations//agents//sessions//entityTypes/` or `projects//locations//agents//environments//sessions//entityTypes/`. If `Environment ID` is not specified, we assume default 'draft' environment.", + // "description": "Required. The name of the page to delete. Format: `projects//locations//agents//Flows//pages/`.", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/environments/[^/]+/sessions/[^/]+/entityTypes/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+/pages/[^/]+$", // "required": true, // "type": "string" // } @@ -14447,9 +19643,9 @@ func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesDeleteCall) Do(op } -// method id "dialogflow.projects.locations.agents.environments.sessions.entityTypes.get": +// method id "dialogflow.projects.locations.agents.flows.pages.get": -type ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesGetCall struct { +type ProjectsLocationsAgentsFlowsPagesGetCall struct { s *Service name string urlParams_ gensupport.URLParams @@ -14458,17 +19654,34 @@ type ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesGetCall struct { header_ http.Header } -// Get: Retrieves the specified session entity type. -func (r *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesService) Get(name string) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesGetCall { - c := &ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} +// Get: Retrieves the specified page. +func (r *ProjectsLocationsAgentsFlowsPagesService) Get(name string) *ProjectsLocationsAgentsFlowsPagesGetCall { + c := &ProjectsLocationsAgentsFlowsPagesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name return c } +// LanguageCode sets the optional parameter "languageCode": The language +// to retrieve the page for. The following fields are language +// dependent: * `Page.entry_fulfillment.messages` * +// `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.message +// s` * +// `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages` +// * `Page.transition_routes.trigger_fulfillment.messages` * +// `Page.transition_route_groups.transition_routes.trigger_fulfillment.me +// ssages` If not specified, the agent's default language is used. [Many +// languages](https://cloud.google.com/dialogflow/docs/reference/language +// ) are supported. Note: languages must be enabled in the agent before +// they can be used. +func (c *ProjectsLocationsAgentsFlowsPagesGetCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsFlowsPagesGetCall { + c.urlParams_.Set("languageCode", languageCode) + return c +} + // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesGetCall { +func (c *ProjectsLocationsAgentsFlowsPagesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsPagesGetCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -14478,7 +19691,7 @@ func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesGetCall) Fields(s // getting updates only after the object has changed since the last // request. Use googleapi.IsNotModified to check whether the response // error from Do is the result of In-None-Match. -func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesGetCall { +func (c *ProjectsLocationsAgentsFlowsPagesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsFlowsPagesGetCall { c.ifNoneMatch_ = entityTag return c } @@ -14486,23 +19699,23 @@ func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesGetCall) IfNoneMa // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesGetCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesGetCall { +func (c *ProjectsLocationsAgentsFlowsPagesGetCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsPagesGetCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesGetCall) Header() http.Header { +func (c *ProjectsLocationsAgentsFlowsPagesGetCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesGetCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsFlowsPagesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14526,16 +19739,15 @@ func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesGetCall) doReques return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.environments.sessions.entityTypes.get" call. -// Exactly one of *GoogleCloudDialogflowCxV3beta1SessionEntityType or -// error will be non-nil. Any non-2xx status code is an error. Response -// headers are in either -// *GoogleCloudDialogflowCxV3beta1SessionEntityType.ServerResponse.Header -// or (if a response was returned at all) in +// Do executes the "dialogflow.projects.locations.agents.flows.pages.get" call. +// Exactly one of *GoogleCloudDialogflowCxV3beta1Page or error will be +// non-nil. Any non-2xx status code is an error. Response headers are in +// either *GoogleCloudDialogflowCxV3beta1Page.ServerResponse.Header or +// (if a response was returned at all) in // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check // whether the returned error was because http.StatusNotModified was // returned. -func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1SessionEntityType, error) { +func (c *ProjectsLocationsAgentsFlowsPagesGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1Page, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -14554,7 +19766,7 @@ func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesGetCall) Do(opts if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleCloudDialogflowCxV3beta1SessionEntityType{ + ret := &GoogleCloudDialogflowCxV3beta1Page{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -14566,25 +19778,30 @@ func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesGetCall) Do(opts } return ret, nil // { - // "description": "Retrieves the specified session entity type.", - // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}/sessions/{sessionsId}/entityTypes/{entityTypesId}", + // "description": "Retrieves the specified page.", + // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/pages/{pagesId}", // "httpMethod": "GET", - // "id": "dialogflow.projects.locations.agents.environments.sessions.entityTypes.get", + // "id": "dialogflow.projects.locations.agents.flows.pages.get", // "parameterOrder": [ // "name" // ], // "parameters": { + // "languageCode": { + // "description": "The language to retrieve the page for. The following fields are language dependent: * `Page.entry_fulfillment.messages` * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.messages` * `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages` * `Page.transition_routes.trigger_fulfillment.messages` * `Page.transition_route_groups.transition_routes.trigger_fulfillment.messages` If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", + // "location": "query", + // "type": "string" + // }, // "name": { - // "description": "Required. The name of the session entity type. Format: `projects//locations//agents//sessions//entityTypes/` or `projects//locations//agents//environments//sessions//entityTypes/`. If `Environment ID` is not specified, we assume default 'draft' environment.", + // "description": "Required. The name of the page. Format: `projects//locations//agents//flows//pages/`.", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/environments/[^/]+/sessions/[^/]+/entityTypes/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+/pages/[^/]+$", // "required": true, // "type": "string" // } // }, // "path": "v3beta1/{+name}", // "response": { - // "$ref": "GoogleCloudDialogflowCxV3beta1SessionEntityType" + // "$ref": "GoogleCloudDialogflowCxV3beta1Page" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -14594,9 +19811,9 @@ func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesGetCall) Do(opts } -// method id "dialogflow.projects.locations.agents.environments.sessions.entityTypes.list": +// method id "dialogflow.projects.locations.agents.flows.pages.list": -type ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall struct { +type ProjectsLocationsAgentsFlowsPagesListCall struct { s *Service parent string urlParams_ gensupport.URLParams @@ -14605,24 +19822,40 @@ type ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall struct { header_ http.Header } -// List: Returns the list of all session entity types in the specified -// session. -func (r *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesService) List(parent string) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall { - c := &ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall{s: r.s, urlParams_: make(gensupport.URLParams)} +// List: Returns the list of all pages in the specified flow. +func (r *ProjectsLocationsAgentsFlowsPagesService) List(parent string) *ProjectsLocationsAgentsFlowsPagesListCall { + c := &ProjectsLocationsAgentsFlowsPagesListCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.parent = parent return c } +// LanguageCode sets the optional parameter "languageCode": The language +// to list pages for. The following fields are language dependent: * +// `Page.entry_fulfillment.messages` * +// `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.message +// s` * +// `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages` +// * `Page.transition_routes.trigger_fulfillment.messages` * +// `Page.transition_route_groups.transition_routes.trigger_fulfillment.me +// ssages` If not specified, the agent's default language is used. [Many +// languages](https://cloud.google.com/dialogflow/docs/reference/language +// ) are supported. Note: languages must be enabled in the agent before +// they can be used. +func (c *ProjectsLocationsAgentsFlowsPagesListCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsFlowsPagesListCall { + c.urlParams_.Set("languageCode", languageCode) + return c +} + // PageSize sets the optional parameter "pageSize": The maximum number // of items to return in a single page. By default 100 and at most 1000. -func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall) PageSize(pageSize int64) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall { +func (c *ProjectsLocationsAgentsFlowsPagesListCall) PageSize(pageSize int64) *ProjectsLocationsAgentsFlowsPagesListCall { c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) return c } // PageToken sets the optional parameter "pageToken": The // next_page_token value returned from a previous list request. -func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall) PageToken(pageToken string) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall { +func (c *ProjectsLocationsAgentsFlowsPagesListCall) PageToken(pageToken string) *ProjectsLocationsAgentsFlowsPagesListCall { c.urlParams_.Set("pageToken", pageToken) return c } @@ -14630,7 +19863,7 @@ func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall) PageTok // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall { +func (c *ProjectsLocationsAgentsFlowsPagesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsPagesListCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -14640,7 +19873,7 @@ func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall) Fields( // getting updates only after the object has changed since the last // request. Use googleapi.IsNotModified to check whether the response // error from Do is the result of In-None-Match. -func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall { +func (c *ProjectsLocationsAgentsFlowsPagesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsFlowsPagesListCall { c.ifNoneMatch_ = entityTag return c } @@ -14648,23 +19881,23 @@ func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall) IfNoneM // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall { +func (c *ProjectsLocationsAgentsFlowsPagesListCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsPagesListCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall) Header() http.Header { +func (c *ProjectsLocationsAgentsFlowsPagesListCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsFlowsPagesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14675,7 +19908,7 @@ func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall) doReque var body io.Reader = nil c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+parent}/entityTypes") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+parent}/pages") urls += "?" + c.urlParams_.Encode() req, err := http.NewRequest("GET", urls, body) if err != nil { @@ -14688,17 +19921,16 @@ func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall) doReque return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.environments.sessions.entityTypes.list" call. -// Exactly one of -// *GoogleCloudDialogflowCxV3beta1ListSessionEntityTypesResponse or +// Do executes the "dialogflow.projects.locations.agents.flows.pages.list" call. +// Exactly one of *GoogleCloudDialogflowCxV3beta1ListPagesResponse or // error will be non-nil. Any non-2xx status code is an error. Response // headers are in either -// *GoogleCloudDialogflowCxV3beta1ListSessionEntityTypesResponse.ServerRe -// sponse.Header or (if a response was returned at all) in +// *GoogleCloudDialogflowCxV3beta1ListPagesResponse.ServerResponse.Header +// or (if a response was returned at all) in // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check // whether the returned error was because http.StatusNotModified was // returned. -func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1ListSessionEntityTypesResponse, error) { +func (c *ProjectsLocationsAgentsFlowsPagesListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1ListPagesResponse, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -14717,7 +19949,7 @@ func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall) Do(opts if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleCloudDialogflowCxV3beta1ListSessionEntityTypesResponse{ + ret := &GoogleCloudDialogflowCxV3beta1ListPagesResponse{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -14729,14 +19961,19 @@ func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall) Do(opts } return ret, nil // { - // "description": "Returns the list of all session entity types in the specified session.", - // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}/sessions/{sessionsId}/entityTypes", + // "description": "Returns the list of all pages in the specified flow.", + // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/pages", // "httpMethod": "GET", - // "id": "dialogflow.projects.locations.agents.environments.sessions.entityTypes.list", + // "id": "dialogflow.projects.locations.agents.flows.pages.list", // "parameterOrder": [ // "parent" // ], // "parameters": { + // "languageCode": { + // "description": "The language to list pages for. The following fields are language dependent: * `Page.entry_fulfillment.messages` * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.messages` * `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages` * `Page.transition_routes.trigger_fulfillment.messages` * `Page.transition_route_groups.transition_routes.trigger_fulfillment.messages` If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", + // "location": "query", + // "type": "string" + // }, // "pageSize": { // "description": "The maximum number of items to return in a single page. By default 100 and at most 1000.", // "format": "int32", @@ -14749,16 +19986,16 @@ func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall) Do(opts // "type": "string" // }, // "parent": { - // "description": "Required. The session to list all session entity types from. Format: `projects//locations//agents//sessions/` or `projects//locations//agents//environments//sessions/`. If `Environment ID` is not specified, we assume default 'draft' environment.", + // "description": "Required. The flow to list all pages for. Format: `projects//locations//agents//flows/`.", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/environments/[^/]+/sessions/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+$", // "required": true, // "type": "string" // } // }, - // "path": "v3beta1/{+parent}/entityTypes", + // "path": "v3beta1/{+parent}/pages", // "response": { - // "$ref": "GoogleCloudDialogflowCxV3beta1ListSessionEntityTypesResponse" + // "$ref": "GoogleCloudDialogflowCxV3beta1ListPagesResponse" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -14771,7 +20008,7 @@ func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall) Do(opts // Pages invokes f for each page of results. // A non-nil error returned from f will halt the iteration. // The provided context supersedes any context provided to the Context method. -func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowCxV3beta1ListSessionEntityTypesResponse) error) error { +func (c *ProjectsLocationsAgentsFlowsPagesListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowCxV3beta1ListPagesResponse) error) error { c.ctx_ = ctx defer c.PageToken(c.urlParams_.Get("pageToken")) // reset paging to original point for { @@ -14789,28 +20026,46 @@ func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall) Pages(c } } -// method id "dialogflow.projects.locations.agents.environments.sessions.entityTypes.patch": +// method id "dialogflow.projects.locations.agents.flows.pages.patch": -type ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesPatchCall struct { - s *Service - nameid string - googleclouddialogflowcxv3beta1sessionentitytype *GoogleCloudDialogflowCxV3beta1SessionEntityType - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header +type ProjectsLocationsAgentsFlowsPagesPatchCall struct { + s *Service + nameid string + googleclouddialogflowcxv3beta1page *GoogleCloudDialogflowCxV3beta1Page + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header } -// Patch: Updates the specified session entity type. -func (r *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesService) Patch(nameid string, googleclouddialogflowcxv3beta1sessionentitytype *GoogleCloudDialogflowCxV3beta1SessionEntityType) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesPatchCall { - c := &ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)} +// Patch: Updates the specified page. +func (r *ProjectsLocationsAgentsFlowsPagesService) Patch(nameid string, googleclouddialogflowcxv3beta1page *GoogleCloudDialogflowCxV3beta1Page) *ProjectsLocationsAgentsFlowsPagesPatchCall { + c := &ProjectsLocationsAgentsFlowsPagesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.nameid = nameid - c.googleclouddialogflowcxv3beta1sessionentitytype = googleclouddialogflowcxv3beta1sessionentitytype + c.googleclouddialogflowcxv3beta1page = googleclouddialogflowcxv3beta1page + return c +} + +// LanguageCode sets the optional parameter "languageCode": The language +// of the following fields in `page`: * +// `Page.entry_fulfillment.messages` * +// `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.message +// s` * +// `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages` +// * `Page.transition_routes.trigger_fulfillment.messages` * +// `Page.transition_route_groups.transition_routes.trigger_fulfillment.me +// ssages` If not specified, the agent's default language is used. [Many +// languages](https://cloud.google.com/dialogflow/docs/reference/language +// ) are supported. Note: languages must be enabled in the agent before +// they can be used. +func (c *ProjectsLocationsAgentsFlowsPagesPatchCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsFlowsPagesPatchCall { + c.urlParams_.Set("languageCode", languageCode) return c } // UpdateMask sets the optional parameter "updateMask": The mask to -// control which fields get updated. -func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesPatchCall) UpdateMask(updateMask string) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesPatchCall { +// control which fields get updated. If the mask is not present, all +// fields will be updated. +func (c *ProjectsLocationsAgentsFlowsPagesPatchCall) UpdateMask(updateMask string) *ProjectsLocationsAgentsFlowsPagesPatchCall { c.urlParams_.Set("updateMask", updateMask) return c } @@ -14818,7 +20073,7 @@ func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesPatchCall) Update // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesPatchCall { +func (c *ProjectsLocationsAgentsFlowsPagesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsPagesPatchCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -14826,29 +20081,29 @@ func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesPatchCall) Fields // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesPatchCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesPatchCall { +func (c *ProjectsLocationsAgentsFlowsPagesPatchCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsPagesPatchCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesPatchCall) Header() http.Header { +func (c *ProjectsLocationsAgentsFlowsPagesPatchCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesPatchCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsFlowsPagesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } reqHeaders.Set("User-Agent", c.s.userAgent()) var body io.Reader = nil - body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3beta1sessionentitytype) + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3beta1page) if err != nil { return nil, err } @@ -14868,16 +20123,15 @@ func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesPatchCall) doRequ return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.environments.sessions.entityTypes.patch" call. -// Exactly one of *GoogleCloudDialogflowCxV3beta1SessionEntityType or -// error will be non-nil. Any non-2xx status code is an error. Response -// headers are in either -// *GoogleCloudDialogflowCxV3beta1SessionEntityType.ServerResponse.Header -// or (if a response was returned at all) in +// Do executes the "dialogflow.projects.locations.agents.flows.pages.patch" call. +// Exactly one of *GoogleCloudDialogflowCxV3beta1Page or error will be +// non-nil. Any non-2xx status code is an error. Response headers are in +// either *GoogleCloudDialogflowCxV3beta1Page.ServerResponse.Header or +// (if a response was returned at all) in // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check // whether the returned error was because http.StatusNotModified was // returned. -func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1SessionEntityType, error) { +func (c *ProjectsLocationsAgentsFlowsPagesPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1Page, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -14896,7 +20150,7 @@ func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesPatchCall) Do(opt if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleCloudDialogflowCxV3beta1SessionEntityType{ + ret := &GoogleCloudDialogflowCxV3beta1Page{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -14908,23 +20162,28 @@ func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesPatchCall) Do(opt } return ret, nil // { - // "description": "Updates the specified session entity type.", - // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}/sessions/{sessionsId}/entityTypes/{entityTypesId}", + // "description": "Updates the specified page.", + // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/pages/{pagesId}", // "httpMethod": "PATCH", - // "id": "dialogflow.projects.locations.agents.environments.sessions.entityTypes.patch", + // "id": "dialogflow.projects.locations.agents.flows.pages.patch", // "parameterOrder": [ // "name" // ], // "parameters": { + // "languageCode": { + // "description": "The language of the following fields in `page`: * `Page.entry_fulfillment.messages` * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.messages` * `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages` * `Page.transition_routes.trigger_fulfillment.messages` * `Page.transition_route_groups.transition_routes.trigger_fulfillment.messages` If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", + // "location": "query", + // "type": "string" + // }, // "name": { - // "description": "Required. The unique identifier of the session entity type. Format: `projects//locations//agents//sessions//entityTypes/` or `projects//locations//agents//environments//sessions//entityTypes/`. If `Environment ID` is not specified, we assume default 'draft' environment.", + // "description": "The unique identifier of the page. Required for the Pages.UpdatePage method. Pages.CreatePage populates the name automatically. Format: `projects//locations//agents//flows//pages/`.", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/environments/[^/]+/sessions/[^/]+/entityTypes/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+/pages/[^/]+$", // "required": true, // "type": "string" // }, // "updateMask": { - // "description": "The mask to control which fields get updated.", + // "description": "The mask to control which fields get updated. If the mask is not present, all fields will be updated.", // "format": "google-fieldmask", // "location": "query", // "type": "string" @@ -14932,10 +20191,10 @@ func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesPatchCall) Do(opt // }, // "path": "v3beta1/{+name}", // "request": { - // "$ref": "GoogleCloudDialogflowCxV3beta1SessionEntityType" + // "$ref": "GoogleCloudDialogflowCxV3beta1Page" // }, // "response": { - // "$ref": "GoogleCloudDialogflowCxV3beta1SessionEntityType" + // "$ref": "GoogleCloudDialogflowCxV3beta1Page" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -14945,34 +20204,33 @@ func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesPatchCall) Do(opt } -// method id "dialogflow.projects.locations.agents.flows.create": +// method id "dialogflow.projects.locations.agents.flows.transitionRouteGroups.create": -type ProjectsLocationsAgentsFlowsCreateCall struct { - s *Service - parent string - googleclouddialogflowcxv3beta1flow *GoogleCloudDialogflowCxV3beta1Flow - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header +type ProjectsLocationsAgentsFlowsTransitionRouteGroupsCreateCall struct { + s *Service + parent string + googleclouddialogflowcxv3beta1transitionroutegroup *GoogleCloudDialogflowCxV3beta1TransitionRouteGroup + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header } -// Create: Creates a flow in the specified agent. -func (r *ProjectsLocationsAgentsFlowsService) Create(parent string, googleclouddialogflowcxv3beta1flow *GoogleCloudDialogflowCxV3beta1Flow) *ProjectsLocationsAgentsFlowsCreateCall { - c := &ProjectsLocationsAgentsFlowsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)} +// Create: Creates an TransitionRouteGroup in the specified flow. +func (r *ProjectsLocationsAgentsFlowsTransitionRouteGroupsService) Create(parent string, googleclouddialogflowcxv3beta1transitionroutegroup *GoogleCloudDialogflowCxV3beta1TransitionRouteGroup) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsCreateCall { + c := &ProjectsLocationsAgentsFlowsTransitionRouteGroupsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.parent = parent - c.googleclouddialogflowcxv3beta1flow = googleclouddialogflowcxv3beta1flow + c.googleclouddialogflowcxv3beta1transitionroutegroup = googleclouddialogflowcxv3beta1transitionroutegroup return c } // LanguageCode sets the optional parameter "languageCode": The language -// of the following fields in `flow`: * -// `Flow.event_handlers.trigger_fulfillment.messages` * -// `Flow.transition_routes.trigger_fulfillment.messages` If not -// specified, the agent's default language is used. [Many +// to list transition route groups for. The field `messages` in +// TransitionRoute is language dependent. If not specified, the agent's +// default language is used. [Many // languages](https://cloud.google.com/dialogflow/docs/reference/language // ) are supported. Note: languages must be enabled in the agent before // they can be used. -func (c *ProjectsLocationsAgentsFlowsCreateCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsFlowsCreateCall { +func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsCreateCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsCreateCall { c.urlParams_.Set("languageCode", languageCode) return c } @@ -14980,7 +20238,7 @@ func (c *ProjectsLocationsAgentsFlowsCreateCall) LanguageCode(languageCode strin // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsFlowsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsCreateCall { +func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsCreateCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -14988,36 +20246,36 @@ func (c *ProjectsLocationsAgentsFlowsCreateCall) Fields(s ...googleapi.Field) *P // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsFlowsCreateCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsCreateCall { +func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsCreateCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsCreateCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsFlowsCreateCall) Header() http.Header { +func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsCreateCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsFlowsCreateCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } reqHeaders.Set("User-Agent", c.s.userAgent()) var body io.Reader = nil - body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3beta1flow) + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3beta1transitionroutegroup) if err != nil { return nil, err } reqHeaders.Set("Content-Type", "application/json") c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+parent}/flows") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+parent}/transitionRouteGroups") urls += "?" + c.urlParams_.Encode() req, err := http.NewRequest("POST", urls, body) if err != nil { @@ -15030,15 +20288,16 @@ func (c *ProjectsLocationsAgentsFlowsCreateCall) doRequest(alt string) (*http.Re return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.flows.create" call. -// Exactly one of *GoogleCloudDialogflowCxV3beta1Flow or error will be -// non-nil. Any non-2xx status code is an error. Response headers are in -// either *GoogleCloudDialogflowCxV3beta1Flow.ServerResponse.Header or -// (if a response was returned at all) in +// Do executes the "dialogflow.projects.locations.agents.flows.transitionRouteGroups.create" call. +// Exactly one of *GoogleCloudDialogflowCxV3beta1TransitionRouteGroup or +// error will be non-nil. Any non-2xx status code is an error. Response +// headers are in either +// *GoogleCloudDialogflowCxV3beta1TransitionRouteGroup.ServerResponse.Hea +// der or (if a response was returned at all) in // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check // whether the returned error was because http.StatusNotModified was // returned. -func (c *ProjectsLocationsAgentsFlowsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1Flow, error) { +func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1TransitionRouteGroup, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -15057,7 +20316,7 @@ func (c *ProjectsLocationsAgentsFlowsCreateCall) Do(opts ...googleapi.CallOption if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleCloudDialogflowCxV3beta1Flow{ + ret := &GoogleCloudDialogflowCxV3beta1TransitionRouteGroup{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -15069,33 +20328,33 @@ func (c *ProjectsLocationsAgentsFlowsCreateCall) Do(opts ...googleapi.CallOption } return ret, nil // { - // "description": "Creates a flow in the specified agent.", - // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows", + // "description": "Creates an TransitionRouteGroup in the specified flow.", + // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/transitionRouteGroups", // "httpMethod": "POST", - // "id": "dialogflow.projects.locations.agents.flows.create", + // "id": "dialogflow.projects.locations.agents.flows.transitionRouteGroups.create", // "parameterOrder": [ // "parent" // ], // "parameters": { // "languageCode": { - // "description": "The language of the following fields in `flow`: * `Flow.event_handlers.trigger_fulfillment.messages` * `Flow.transition_routes.trigger_fulfillment.messages` If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", + // "description": "The language to list transition route groups for. The field `messages` in TransitionRoute is language dependent. If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", // "location": "query", // "type": "string" // }, // "parent": { - // "description": "Required. The agent to create a flow for. Format: `projects//locations//agents/`.", + // "description": "Required. The flow to create an TransitionRouteGroup for. Format: `projects//locations//agents//flows/`.", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+$", // "required": true, // "type": "string" // } // }, - // "path": "v3beta1/{+parent}/flows", + // "path": "v3beta1/{+parent}/transitionRouteGroups", // "request": { - // "$ref": "GoogleCloudDialogflowCxV3beta1Flow" + // "$ref": "GoogleCloudDialogflowCxV3beta1TransitionRouteGroup" // }, // "response": { - // "$ref": "GoogleCloudDialogflowCxV3beta1Flow" + // "$ref": "GoogleCloudDialogflowCxV3beta1TransitionRouteGroup" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -15105,9 +20364,9 @@ func (c *ProjectsLocationsAgentsFlowsCreateCall) Do(opts ...googleapi.CallOption } -// method id "dialogflow.projects.locations.agents.flows.delete": +// method id "dialogflow.projects.locations.agents.flows.transitionRouteGroups.delete": -type ProjectsLocationsAgentsFlowsDeleteCall struct { +type ProjectsLocationsAgentsFlowsTransitionRouteGroupsDeleteCall struct { s *Service name string urlParams_ gensupport.URLParams @@ -15115,21 +20374,21 @@ type ProjectsLocationsAgentsFlowsDeleteCall struct { header_ http.Header } -// Delete: Deletes a specified flow. -func (r *ProjectsLocationsAgentsFlowsService) Delete(name string) *ProjectsLocationsAgentsFlowsDeleteCall { - c := &ProjectsLocationsAgentsFlowsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)} +// Delete: Deletes the specified TransitionRouteGroup. +func (r *ProjectsLocationsAgentsFlowsTransitionRouteGroupsService) Delete(name string) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsDeleteCall { + c := &ProjectsLocationsAgentsFlowsTransitionRouteGroupsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name return c } // Force sets the optional parameter "force": This field has no effect -// for flows with no incoming transitions. For flows with incoming -// transitions: * If `force` is set to false, an error will be returned -// with message indicating the incoming transitions. * If `force` is set -// to true, Dialogflow will remove the flow, as well as any transitions -// to the flow (i.e. Target flow in event handlers or Target flow in -// transition routes that point to this flow will be cleared). -func (c *ProjectsLocationsAgentsFlowsDeleteCall) Force(force bool) *ProjectsLocationsAgentsFlowsDeleteCall { +// for transition route group that no page is using. If the transition +// route group is referenced by any page: * If `force` is set to false, +// an error will be returned with message indicating pages that +// reference the transition route group. * If `force` is set to true, +// Dialogflow will remove the transition route group, as well as any +// reference to it. +func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsDeleteCall) Force(force bool) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsDeleteCall { c.urlParams_.Set("force", fmt.Sprint(force)) return c } @@ -15137,7 +20396,7 @@ func (c *ProjectsLocationsAgentsFlowsDeleteCall) Force(force bool) *ProjectsLoca // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsFlowsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsDeleteCall { +func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsDeleteCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -15145,23 +20404,23 @@ func (c *ProjectsLocationsAgentsFlowsDeleteCall) Fields(s ...googleapi.Field) *P // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsFlowsDeleteCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsDeleteCall { +func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsDeleteCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsDeleteCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsFlowsDeleteCall) Header() http.Header { +func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsDeleteCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsFlowsDeleteCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15182,14 +20441,14 @@ func (c *ProjectsLocationsAgentsFlowsDeleteCall) doRequest(alt string) (*http.Re return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.flows.delete" call. +// Do executes the "dialogflow.projects.locations.agents.flows.transitionRouteGroups.delete" call. // Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any // non-2xx status code is an error. Response headers are in either // *GoogleProtobufEmpty.ServerResponse.Header or (if a response was // returned at all) in error.(*googleapi.Error).Header. Use // googleapi.IsNotModified to check whether the returned error was // because http.StatusNotModified was returned. -func (c *ProjectsLocationsAgentsFlowsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error) { +func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -15220,23 +20479,23 @@ func (c *ProjectsLocationsAgentsFlowsDeleteCall) Do(opts ...googleapi.CallOption } return ret, nil // { - // "description": "Deletes a specified flow.", - // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}", + // "description": "Deletes the specified TransitionRouteGroup.", + // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/transitionRouteGroups/{transitionRouteGroupsId}", // "httpMethod": "DELETE", - // "id": "dialogflow.projects.locations.agents.flows.delete", + // "id": "dialogflow.projects.locations.agents.flows.transitionRouteGroups.delete", // "parameterOrder": [ // "name" // ], // "parameters": { // "force": { - // "description": "This field has no effect for flows with no incoming transitions. For flows with incoming transitions: * If `force` is set to false, an error will be returned with message indicating the incoming transitions. * If `force` is set to true, Dialogflow will remove the flow, as well as any transitions to the flow (i.e. Target flow in event handlers or Target flow in transition routes that point to this flow will be cleared).", + // "description": "This field has no effect for transition route group that no page is using. If the transition route group is referenced by any page: * If `force` is set to false, an error will be returned with message indicating pages that reference the transition route group. * If `force` is set to true, Dialogflow will remove the transition route group, as well as any reference to it.", // "location": "query", // "type": "boolean" // }, // "name": { - // "description": "Required. The name of the flow to delete. Format: `projects//locations//agents//flows/`.", + // "description": "Required. The name of the TransitionRouteGroup to delete. Format: `projects//locations//agents//flows//transitionRouteGroups/`.", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+/transitionRouteGroups/[^/]+$", // "required": true, // "type": "string" // } @@ -15253,9 +20512,9 @@ func (c *ProjectsLocationsAgentsFlowsDeleteCall) Do(opts ...googleapi.CallOption } -// method id "dialogflow.projects.locations.agents.flows.get": +// method id "dialogflow.projects.locations.agents.flows.transitionRouteGroups.get": -type ProjectsLocationsAgentsFlowsGetCall struct { +type ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall struct { s *Service name string urlParams_ gensupport.URLParams @@ -15264,22 +20523,21 @@ type ProjectsLocationsAgentsFlowsGetCall struct { header_ http.Header } -// Get: Retrieves the specified flow. -func (r *ProjectsLocationsAgentsFlowsService) Get(name string) *ProjectsLocationsAgentsFlowsGetCall { - c := &ProjectsLocationsAgentsFlowsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} +// Get: Retrieves the specified TransitionRouteGroup. +func (r *ProjectsLocationsAgentsFlowsTransitionRouteGroupsService) Get(name string) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall { + c := &ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name return c } // LanguageCode sets the optional parameter "languageCode": The language -// to retrieve the flow for. The following fields are language -// dependent: * `Flow.event_handlers.trigger_fulfillment.messages` * -// `Flow.transition_routes.trigger_fulfillment.messages` If not -// specified, the agent's default language is used. [Many +// to list transition route groups for. The field `messages` in +// TransitionRoute is language dependent. If not specified, the agent's +// default language is used. [Many // languages](https://cloud.google.com/dialogflow/docs/reference/language // ) are supported. Note: languages must be enabled in the agent before // they can be used. -func (c *ProjectsLocationsAgentsFlowsGetCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsFlowsGetCall { +func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall { c.urlParams_.Set("languageCode", languageCode) return c } @@ -15287,7 +20545,7 @@ func (c *ProjectsLocationsAgentsFlowsGetCall) LanguageCode(languageCode string) // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsFlowsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsGetCall { +func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -15297,7 +20555,7 @@ func (c *ProjectsLocationsAgentsFlowsGetCall) Fields(s ...googleapi.Field) *Proj // getting updates only after the object has changed since the last // request. Use googleapi.IsNotModified to check whether the response // error from Do is the result of In-None-Match. -func (c *ProjectsLocationsAgentsFlowsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsFlowsGetCall { +func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall { c.ifNoneMatch_ = entityTag return c } @@ -15305,23 +20563,23 @@ func (c *ProjectsLocationsAgentsFlowsGetCall) IfNoneMatch(entityTag string) *Pro // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsFlowsGetCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsGetCall { +func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsFlowsGetCall) Header() http.Header { +func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsFlowsGetCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15345,15 +20603,16 @@ func (c *ProjectsLocationsAgentsFlowsGetCall) doRequest(alt string) (*http.Respo return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.flows.get" call. -// Exactly one of *GoogleCloudDialogflowCxV3beta1Flow or error will be -// non-nil. Any non-2xx status code is an error. Response headers are in -// either *GoogleCloudDialogflowCxV3beta1Flow.ServerResponse.Header or -// (if a response was returned at all) in +// Do executes the "dialogflow.projects.locations.agents.flows.transitionRouteGroups.get" call. +// Exactly one of *GoogleCloudDialogflowCxV3beta1TransitionRouteGroup or +// error will be non-nil. Any non-2xx status code is an error. Response +// headers are in either +// *GoogleCloudDialogflowCxV3beta1TransitionRouteGroup.ServerResponse.Hea +// der or (if a response was returned at all) in // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check // whether the returned error was because http.StatusNotModified was // returned. -func (c *ProjectsLocationsAgentsFlowsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1Flow, error) { +func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1TransitionRouteGroup, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -15372,7 +20631,7 @@ func (c *ProjectsLocationsAgentsFlowsGetCall) Do(opts ...googleapi.CallOption) ( if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleCloudDialogflowCxV3beta1Flow{ + ret := &GoogleCloudDialogflowCxV3beta1TransitionRouteGroup{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -15384,30 +20643,30 @@ func (c *ProjectsLocationsAgentsFlowsGetCall) Do(opts ...googleapi.CallOption) ( } return ret, nil // { - // "description": "Retrieves the specified flow.", - // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}", + // "description": "Retrieves the specified TransitionRouteGroup.", + // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/transitionRouteGroups/{transitionRouteGroupsId}", // "httpMethod": "GET", - // "id": "dialogflow.projects.locations.agents.flows.get", + // "id": "dialogflow.projects.locations.agents.flows.transitionRouteGroups.get", // "parameterOrder": [ // "name" // ], // "parameters": { // "languageCode": { - // "description": "The language to retrieve the flow for. The following fields are language dependent: * `Flow.event_handlers.trigger_fulfillment.messages` * `Flow.transition_routes.trigger_fulfillment.messages` If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", + // "description": "The language to list transition route groups for. The field `messages` in TransitionRoute is language dependent. If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", // "location": "query", // "type": "string" // }, // "name": { - // "description": "Required. The name of the flow to get. Format: `projects//locations//agents//flows/`.", + // "description": "Required. The name of the TransitionRouteGroup. Format: `projects//locations//agents//flows//transitionRouteGroups/`.", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+/transitionRouteGroups/[^/]+$", // "required": true, // "type": "string" // } // }, // "path": "v3beta1/{+name}", // "response": { - // "$ref": "GoogleCloudDialogflowCxV3beta1Flow" + // "$ref": "GoogleCloudDialogflowCxV3beta1TransitionRouteGroup" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -15417,9 +20676,9 @@ func (c *ProjectsLocationsAgentsFlowsGetCall) Do(opts ...googleapi.CallOption) ( } -// method id "dialogflow.projects.locations.agents.flows.list": +// method id "dialogflow.projects.locations.agents.flows.transitionRouteGroups.list": -type ProjectsLocationsAgentsFlowsListCall struct { +type ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall struct { s *Service parent string urlParams_ gensupport.URLParams @@ -15428,36 +20687,36 @@ type ProjectsLocationsAgentsFlowsListCall struct { header_ http.Header } -// List: Returns the list of all flows in the specified agent. -func (r *ProjectsLocationsAgentsFlowsService) List(parent string) *ProjectsLocationsAgentsFlowsListCall { - c := &ProjectsLocationsAgentsFlowsListCall{s: r.s, urlParams_: make(gensupport.URLParams)} +// List: Returns the list of all transition route groups in the +// specified flow. +func (r *ProjectsLocationsAgentsFlowsTransitionRouteGroupsService) List(parent string) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall { + c := &ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.parent = parent return c } // LanguageCode sets the optional parameter "languageCode": The language -// to list flows for. The following fields are language dependent: * -// `Flow.event_handlers.trigger_fulfillment.messages` * -// `Flow.transition_routes.trigger_fulfillment.messages` If not -// specified, the agent's default language is used. [Many +// to list transition route groups for. The field `messages` in +// TransitionRoute is language dependent. If not specified, the agent's +// default language is used. [Many // languages](https://cloud.google.com/dialogflow/docs/reference/language // ) are supported. Note: languages must be enabled in the agent before // they can be used. -func (c *ProjectsLocationsAgentsFlowsListCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsFlowsListCall { +func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall { c.urlParams_.Set("languageCode", languageCode) return c } // PageSize sets the optional parameter "pageSize": The maximum number // of items to return in a single page. By default 100 and at most 1000. -func (c *ProjectsLocationsAgentsFlowsListCall) PageSize(pageSize int64) *ProjectsLocationsAgentsFlowsListCall { +func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall) PageSize(pageSize int64) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall { c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) return c } // PageToken sets the optional parameter "pageToken": The // next_page_token value returned from a previous list request. -func (c *ProjectsLocationsAgentsFlowsListCall) PageToken(pageToken string) *ProjectsLocationsAgentsFlowsListCall { +func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall) PageToken(pageToken string) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall { c.urlParams_.Set("pageToken", pageToken) return c } @@ -15465,7 +20724,7 @@ func (c *ProjectsLocationsAgentsFlowsListCall) PageToken(pageToken string) *Proj // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsFlowsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsListCall { +func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -15475,7 +20734,7 @@ func (c *ProjectsLocationsAgentsFlowsListCall) Fields(s ...googleapi.Field) *Pro // getting updates only after the object has changed since the last // request. Use googleapi.IsNotModified to check whether the response // error from Do is the result of In-None-Match. -func (c *ProjectsLocationsAgentsFlowsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsFlowsListCall { +func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall { c.ifNoneMatch_ = entityTag return c } @@ -15483,23 +20742,23 @@ func (c *ProjectsLocationsAgentsFlowsListCall) IfNoneMatch(entityTag string) *Pr // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsFlowsListCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsListCall { +func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsFlowsListCall) Header() http.Header { +func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsFlowsListCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15510,7 +20769,7 @@ func (c *ProjectsLocationsAgentsFlowsListCall) doRequest(alt string) (*http.Resp var body io.Reader = nil c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+parent}/flows") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+parent}/transitionRouteGroups") urls += "?" + c.urlParams_.Encode() req, err := http.NewRequest("GET", urls, body) if err != nil { @@ -15523,16 +20782,17 @@ func (c *ProjectsLocationsAgentsFlowsListCall) doRequest(alt string) (*http.Resp return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.flows.list" call. -// Exactly one of *GoogleCloudDialogflowCxV3beta1ListFlowsResponse or +// Do executes the "dialogflow.projects.locations.agents.flows.transitionRouteGroups.list" call. +// Exactly one of +// *GoogleCloudDialogflowCxV3beta1ListTransitionRouteGroupsResponse or // error will be non-nil. Any non-2xx status code is an error. Response // headers are in either -// *GoogleCloudDialogflowCxV3beta1ListFlowsResponse.ServerResponse.Header -// or (if a response was returned at all) in +// *GoogleCloudDialogflowCxV3beta1ListTransitionRouteGroupsResponse.Serve +// rResponse.Header or (if a response was returned at all) in // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check // whether the returned error was because http.StatusNotModified was // returned. -func (c *ProjectsLocationsAgentsFlowsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1ListFlowsResponse, error) { +func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1ListTransitionRouteGroupsResponse, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -15551,7 +20811,7 @@ func (c *ProjectsLocationsAgentsFlowsListCall) Do(opts ...googleapi.CallOption) if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleCloudDialogflowCxV3beta1ListFlowsResponse{ + ret := &GoogleCloudDialogflowCxV3beta1ListTransitionRouteGroupsResponse{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -15563,16 +20823,16 @@ func (c *ProjectsLocationsAgentsFlowsListCall) Do(opts ...googleapi.CallOption) } return ret, nil // { - // "description": "Returns the list of all flows in the specified agent.", - // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows", + // "description": "Returns the list of all transition route groups in the specified flow.", + // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/transitionRouteGroups", // "httpMethod": "GET", - // "id": "dialogflow.projects.locations.agents.flows.list", + // "id": "dialogflow.projects.locations.agents.flows.transitionRouteGroups.list", // "parameterOrder": [ // "parent" // ], // "parameters": { // "languageCode": { - // "description": "The language to list flows for. The following fields are language dependent: * `Flow.event_handlers.trigger_fulfillment.messages` * `Flow.transition_routes.trigger_fulfillment.messages` If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", + // "description": "The language to list transition route groups for. The field `messages` in TransitionRoute is language dependent. If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", // "location": "query", // "type": "string" // }, @@ -15588,16 +20848,16 @@ func (c *ProjectsLocationsAgentsFlowsListCall) Do(opts ...googleapi.CallOption) // "type": "string" // }, // "parent": { - // "description": "Required. The agent containing the flows. Format: `projects//locations//agents/`.", + // "description": "Required. The flow to list all transition route groups for. Format: `projects//locations//agents//flows/`.", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+$", // "required": true, // "type": "string" // } // }, - // "path": "v3beta1/{+parent}/flows", + // "path": "v3beta1/{+parent}/transitionRouteGroups", // "response": { - // "$ref": "GoogleCloudDialogflowCxV3beta1ListFlowsResponse" + // "$ref": "GoogleCloudDialogflowCxV3beta1ListTransitionRouteGroupsResponse" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -15610,7 +20870,7 @@ func (c *ProjectsLocationsAgentsFlowsListCall) Do(opts ...googleapi.CallOption) // Pages invokes f for each page of results. // A non-nil error returned from f will halt the iteration. // The provided context supersedes any context provided to the Context method. -func (c *ProjectsLocationsAgentsFlowsListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowCxV3beta1ListFlowsResponse) error) error { +func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowCxV3beta1ListTransitionRouteGroupsResponse) error) error { c.ctx_ = ctx defer c.PageToken(c.urlParams_.Get("pageToken")) // reset paging to original point for { @@ -15628,42 +20888,40 @@ func (c *ProjectsLocationsAgentsFlowsListCall) Pages(ctx context.Context, f func } } -// method id "dialogflow.projects.locations.agents.flows.patch": +// method id "dialogflow.projects.locations.agents.flows.transitionRouteGroups.patch": -type ProjectsLocationsAgentsFlowsPatchCall struct { - s *Service - nameid string - googleclouddialogflowcxv3beta1flow *GoogleCloudDialogflowCxV3beta1Flow - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header +type ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall struct { + s *Service + nameid string + googleclouddialogflowcxv3beta1transitionroutegroup *GoogleCloudDialogflowCxV3beta1TransitionRouteGroup + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header } -// Patch: Updates the specified flow. -func (r *ProjectsLocationsAgentsFlowsService) Patch(nameid string, googleclouddialogflowcxv3beta1flow *GoogleCloudDialogflowCxV3beta1Flow) *ProjectsLocationsAgentsFlowsPatchCall { - c := &ProjectsLocationsAgentsFlowsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)} +// Patch: Updates the specified TransitionRouteGroup. +func (r *ProjectsLocationsAgentsFlowsTransitionRouteGroupsService) Patch(nameid string, googleclouddialogflowcxv3beta1transitionroutegroup *GoogleCloudDialogflowCxV3beta1TransitionRouteGroup) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall { + c := &ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.nameid = nameid - c.googleclouddialogflowcxv3beta1flow = googleclouddialogflowcxv3beta1flow + c.googleclouddialogflowcxv3beta1transitionroutegroup = googleclouddialogflowcxv3beta1transitionroutegroup return c } // LanguageCode sets the optional parameter "languageCode": The language -// of the following fields in `flow`: * -// `Flow.event_handlers.trigger_fulfillment.messages` * -// `Flow.transition_routes.trigger_fulfillment.messages` If not -// specified, the agent's default language is used. [Many +// to list transition route groups for. The field `messages` in +// TransitionRoute is language dependent. If not specified, the agent's +// default language is used. [Many // languages](https://cloud.google.com/dialogflow/docs/reference/language // ) are supported. Note: languages must be enabled in the agent before // they can be used. -func (c *ProjectsLocationsAgentsFlowsPatchCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsFlowsPatchCall { +func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall { c.urlParams_.Set("languageCode", languageCode) return c } -// UpdateMask sets the optional parameter "updateMask": Required. The -// mask to control which fields get updated. If `update_mask` is not -// specified, an error will be returned. -func (c *ProjectsLocationsAgentsFlowsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsAgentsFlowsPatchCall { +// UpdateMask sets the optional parameter "updateMask": The mask to +// control which fields get updated. +func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall { c.urlParams_.Set("updateMask", updateMask) return c } @@ -15671,7 +20929,7 @@ func (c *ProjectsLocationsAgentsFlowsPatchCall) UpdateMask(updateMask string) *P // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsFlowsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsPatchCall { +func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -15679,29 +20937,29 @@ func (c *ProjectsLocationsAgentsFlowsPatchCall) Fields(s ...googleapi.Field) *Pr // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsFlowsPatchCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsPatchCall { +func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsFlowsPatchCall) Header() http.Header { +func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsFlowsPatchCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } reqHeaders.Set("User-Agent", c.s.userAgent()) var body io.Reader = nil - body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3beta1flow) + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3beta1transitionroutegroup) if err != nil { return nil, err } @@ -15721,168 +20979,16 @@ func (c *ProjectsLocationsAgentsFlowsPatchCall) doRequest(alt string) (*http.Res return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.flows.patch" call. -// Exactly one of *GoogleCloudDialogflowCxV3beta1Flow or error will be -// non-nil. Any non-2xx status code is an error. Response headers are in -// either *GoogleCloudDialogflowCxV3beta1Flow.ServerResponse.Header or -// (if a response was returned at all) in +// Do executes the "dialogflow.projects.locations.agents.flows.transitionRouteGroups.patch" call. +// Exactly one of *GoogleCloudDialogflowCxV3beta1TransitionRouteGroup or +// error will be non-nil. Any non-2xx status code is an error. Response +// headers are in either +// *GoogleCloudDialogflowCxV3beta1TransitionRouteGroup.ServerResponse.Hea +// der or (if a response was returned at all) in // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check // whether the returned error was because http.StatusNotModified was // returned. -func (c *ProjectsLocationsAgentsFlowsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1Flow, error) { - gensupport.SetOptions(c.urlParams_, opts...) - res, err := c.doRequest("json") - if res != nil && res.StatusCode == http.StatusNotModified { - if res.Body != nil { - res.Body.Close() - } - return nil, &googleapi.Error{ - Code: res.StatusCode, - Header: res.Header, - } - } - if err != nil { - return nil, err - } - defer googleapi.CloseBody(res) - if err := googleapi.CheckResponse(res); err != nil { - return nil, err - } - ret := &GoogleCloudDialogflowCxV3beta1Flow{ - ServerResponse: googleapi.ServerResponse{ - Header: res.Header, - HTTPStatusCode: res.StatusCode, - }, - } - target := &ret - if err := gensupport.DecodeResponse(target, res); err != nil { - return nil, err - } - return ret, nil - // { - // "description": "Updates the specified flow.", - // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}", - // "httpMethod": "PATCH", - // "id": "dialogflow.projects.locations.agents.flows.patch", - // "parameterOrder": [ - // "name" - // ], - // "parameters": { - // "languageCode": { - // "description": "The language of the following fields in `flow`: * `Flow.event_handlers.trigger_fulfillment.messages` * `Flow.transition_routes.trigger_fulfillment.messages` If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", - // "location": "query", - // "type": "string" - // }, - // "name": { - // "description": "The unique identifier of the flow. Format: `projects//locations//agents//flows/`.", - // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+$", - // "required": true, - // "type": "string" - // }, - // "updateMask": { - // "description": "Required. The mask to control which fields get updated. If `update_mask` is not specified, an error will be returned.", - // "format": "google-fieldmask", - // "location": "query", - // "type": "string" - // } - // }, - // "path": "v3beta1/{+name}", - // "request": { - // "$ref": "GoogleCloudDialogflowCxV3beta1Flow" - // }, - // "response": { - // "$ref": "GoogleCloudDialogflowCxV3beta1Flow" - // }, - // "scopes": [ - // "https://www.googleapis.com/auth/cloud-platform", - // "https://www.googleapis.com/auth/dialogflow" - // ] - // } - -} - -// method id "dialogflow.projects.locations.agents.flows.train": - -type ProjectsLocationsAgentsFlowsTrainCall struct { - s *Service - name string - googleclouddialogflowcxv3beta1trainflowrequest *GoogleCloudDialogflowCxV3beta1TrainFlowRequest - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header -} - -// Train: Trains the specified flow. Note that only the flow in 'draft' -// environment is trained. -func (r *ProjectsLocationsAgentsFlowsService) Train(name string, googleclouddialogflowcxv3beta1trainflowrequest *GoogleCloudDialogflowCxV3beta1TrainFlowRequest) *ProjectsLocationsAgentsFlowsTrainCall { - c := &ProjectsLocationsAgentsFlowsTrainCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.name = name - c.googleclouddialogflowcxv3beta1trainflowrequest = googleclouddialogflowcxv3beta1trainflowrequest - return c -} - -// Fields allows partial responses to be retrieved. See -// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse -// for more information. -func (c *ProjectsLocationsAgentsFlowsTrainCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsTrainCall { - c.urlParams_.Set("fields", googleapi.CombineFields(s)) - return c -} - -// Context sets the context to be used in this call's Do method. Any -// pending HTTP request will be aborted if the provided context is -// canceled. -func (c *ProjectsLocationsAgentsFlowsTrainCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsTrainCall { - c.ctx_ = ctx - return c -} - -// Header returns an http.Header that can be modified by the caller to -// add HTTP headers to the request. -func (c *ProjectsLocationsAgentsFlowsTrainCall) Header() http.Header { - if c.header_ == nil { - c.header_ = make(http.Header) - } - return c.header_ -} - -func (c *ProjectsLocationsAgentsFlowsTrainCall) doRequest(alt string) (*http.Response, error) { - reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") - for k, v := range c.header_ { - reqHeaders[k] = v - } - reqHeaders.Set("User-Agent", c.s.userAgent()) - var body io.Reader = nil - body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3beta1trainflowrequest) - if err != nil { - return nil, err - } - reqHeaders.Set("Content-Type", "application/json") - c.urlParams_.Set("alt", alt) - c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+name}:train") - urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("POST", urls, body) - if err != nil { - return nil, err - } - req.Header = reqHeaders - googleapi.Expand(req.URL, map[string]string{ - "name": c.name, - }) - return gensupport.SendRequest(c.ctx_, c.s.client, req) -} - -// Do executes the "dialogflow.projects.locations.agents.flows.train" call. -// Exactly one of *GoogleLongrunningOperation or error will be non-nil. -// Any non-2xx status code is an error. Response headers are in either -// *GoogleLongrunningOperation.ServerResponse.Header or (if a response -// was returned at all) in error.(*googleapi.Error).Header. Use -// googleapi.IsNotModified to check whether the returned error was -// because http.StatusNotModified was returned. -func (c *ProjectsLocationsAgentsFlowsTrainCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error) { +func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1TransitionRouteGroup, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -15901,7 +21007,7 @@ func (c *ProjectsLocationsAgentsFlowsTrainCall) Do(opts ...googleapi.CallOption) if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleLongrunningOperation{ + ret := &GoogleCloudDialogflowCxV3beta1TransitionRouteGroup{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -15910,31 +21016,42 @@ func (c *ProjectsLocationsAgentsFlowsTrainCall) Do(opts ...googleapi.CallOption) target := &ret if err := gensupport.DecodeResponse(target, res); err != nil { return nil, err - } - return ret, nil - // { - // "description": "Trains the specified flow. Note that only the flow in 'draft' environment is trained.", - // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}:train", - // "httpMethod": "POST", - // "id": "dialogflow.projects.locations.agents.flows.train", + } + return ret, nil + // { + // "description": "Updates the specified TransitionRouteGroup.", + // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/transitionRouteGroups/{transitionRouteGroupsId}", + // "httpMethod": "PATCH", + // "id": "dialogflow.projects.locations.agents.flows.transitionRouteGroups.patch", // "parameterOrder": [ // "name" // ], // "parameters": { + // "languageCode": { + // "description": "The language to list transition route groups for. The field `messages` in TransitionRoute is language dependent. If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", + // "location": "query", + // "type": "string" + // }, // "name": { - // "description": "Required. The flow to train. Format: `projects//locations//agents//flows/`.", + // "description": "The unique identifier of the transition route group. TransitionRouteGroups.CreateTransitionRouteGroup populates the name automatically. Format: `projects//locations//agents//flows//transitionRouteGroups/`.", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+/transitionRouteGroups/[^/]+$", // "required": true, // "type": "string" + // }, + // "updateMask": { + // "description": "The mask to control which fields get updated.", + // "format": "google-fieldmask", + // "location": "query", + // "type": "string" // } // }, - // "path": "v3beta1/{+name}:train", + // "path": "v3beta1/{+name}", // "request": { - // "$ref": "GoogleCloudDialogflowCxV3beta1TrainFlowRequest" + // "$ref": "GoogleCloudDialogflowCxV3beta1TransitionRouteGroup" // }, // "response": { - // "$ref": "GoogleLongrunningOperation" + // "$ref": "GoogleCloudDialogflowCxV3beta1TransitionRouteGroup" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -15944,46 +21061,29 @@ func (c *ProjectsLocationsAgentsFlowsTrainCall) Do(opts ...googleapi.CallOption) } -// method id "dialogflow.projects.locations.agents.flows.pages.create": +// method id "dialogflow.projects.locations.agents.flows.versions.create": -type ProjectsLocationsAgentsFlowsPagesCreateCall struct { - s *Service - parent string - googleclouddialogflowcxv3beta1page *GoogleCloudDialogflowCxV3beta1Page - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header +type ProjectsLocationsAgentsFlowsVersionsCreateCall struct { + s *Service + parent string + googleclouddialogflowcxv3beta1version *GoogleCloudDialogflowCxV3beta1Version + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header } -// Create: Creates a page in the specified flow. -func (r *ProjectsLocationsAgentsFlowsPagesService) Create(parent string, googleclouddialogflowcxv3beta1page *GoogleCloudDialogflowCxV3beta1Page) *ProjectsLocationsAgentsFlowsPagesCreateCall { - c := &ProjectsLocationsAgentsFlowsPagesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)} +// Create: Creates a Version in the specified Flow. +func (r *ProjectsLocationsAgentsFlowsVersionsService) Create(parent string, googleclouddialogflowcxv3beta1version *GoogleCloudDialogflowCxV3beta1Version) *ProjectsLocationsAgentsFlowsVersionsCreateCall { + c := &ProjectsLocationsAgentsFlowsVersionsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.parent = parent - c.googleclouddialogflowcxv3beta1page = googleclouddialogflowcxv3beta1page - return c -} - -// LanguageCode sets the optional parameter "languageCode": The language -// of the following fields in `page`: * -// `Page.entry_fulfillment.messages` * -// `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.message -// s` * -// `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages` -// * `Page.transition_routes.trigger_fulfillment.messages` * -// `Page.transition_route_groups.transition_routes.trigger_fulfillment.me -// ssages` If not specified, the agent's default language is used. [Many -// languages](https://cloud.google.com/dialogflow/docs/reference/language -// ) are supported. Note: languages must be enabled in the agent before -// they can be used. -func (c *ProjectsLocationsAgentsFlowsPagesCreateCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsFlowsPagesCreateCall { - c.urlParams_.Set("languageCode", languageCode) + c.googleclouddialogflowcxv3beta1version = googleclouddialogflowcxv3beta1version return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsFlowsPagesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsPagesCreateCall { +func (c *ProjectsLocationsAgentsFlowsVersionsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsVersionsCreateCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -15991,36 +21091,36 @@ func (c *ProjectsLocationsAgentsFlowsPagesCreateCall) Fields(s ...googleapi.Fiel // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsFlowsPagesCreateCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsPagesCreateCall { +func (c *ProjectsLocationsAgentsFlowsVersionsCreateCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsVersionsCreateCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsFlowsPagesCreateCall) Header() http.Header { +func (c *ProjectsLocationsAgentsFlowsVersionsCreateCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsFlowsPagesCreateCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsFlowsVersionsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } reqHeaders.Set("User-Agent", c.s.userAgent()) var body io.Reader = nil - body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3beta1page) + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3beta1version) if err != nil { return nil, err } reqHeaders.Set("Content-Type", "application/json") c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+parent}/pages") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+parent}/versions") urls += "?" + c.urlParams_.Encode() req, err := http.NewRequest("POST", urls, body) if err != nil { @@ -16033,15 +21133,14 @@ func (c *ProjectsLocationsAgentsFlowsPagesCreateCall) doRequest(alt string) (*ht return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.flows.pages.create" call. -// Exactly one of *GoogleCloudDialogflowCxV3beta1Page or error will be -// non-nil. Any non-2xx status code is an error. Response headers are in -// either *GoogleCloudDialogflowCxV3beta1Page.ServerResponse.Header or -// (if a response was returned at all) in -// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check -// whether the returned error was because http.StatusNotModified was -// returned. -func (c *ProjectsLocationsAgentsFlowsPagesCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1Page, error) { +// Do executes the "dialogflow.projects.locations.agents.flows.versions.create" call. +// Exactly one of *GoogleLongrunningOperation or error will be non-nil. +// Any non-2xx status code is an error. Response headers are in either +// *GoogleLongrunningOperation.ServerResponse.Header or (if a response +// was returned at all) in error.(*googleapi.Error).Header. Use +// googleapi.IsNotModified to check whether the returned error was +// because http.StatusNotModified was returned. +func (c *ProjectsLocationsAgentsFlowsVersionsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -16060,7 +21159,7 @@ func (c *ProjectsLocationsAgentsFlowsPagesCreateCall) Do(opts ...googleapi.CallO if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleCloudDialogflowCxV3beta1Page{ + ret := &GoogleLongrunningOperation{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -16072,33 +21171,28 @@ func (c *ProjectsLocationsAgentsFlowsPagesCreateCall) Do(opts ...googleapi.CallO } return ret, nil // { - // "description": "Creates a page in the specified flow.", - // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/pages", + // "description": "Creates a Version in the specified Flow.", + // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/versions", // "httpMethod": "POST", - // "id": "dialogflow.projects.locations.agents.flows.pages.create", + // "id": "dialogflow.projects.locations.agents.flows.versions.create", // "parameterOrder": [ // "parent" // ], // "parameters": { - // "languageCode": { - // "description": "The language of the following fields in `page`: * `Page.entry_fulfillment.messages` * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.messages` * `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages` * `Page.transition_routes.trigger_fulfillment.messages` * `Page.transition_route_groups.transition_routes.trigger_fulfillment.messages` If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", - // "location": "query", - // "type": "string" - // }, // "parent": { - // "description": "Required. The flow to create a page for. Format: `projects//locations//agents//flows/`.", + // "description": "Required. The Flow to create an Version for. Format: `projects//locations//agents//flows/`.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+$", // "required": true, // "type": "string" // } // }, - // "path": "v3beta1/{+parent}/pages", + // "path": "v3beta1/{+parent}/versions", // "request": { - // "$ref": "GoogleCloudDialogflowCxV3beta1Page" + // "$ref": "GoogleCloudDialogflowCxV3beta1Version" // }, // "response": { - // "$ref": "GoogleCloudDialogflowCxV3beta1Page" + // "$ref": "GoogleLongrunningOperation" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -16108,9 +21202,9 @@ func (c *ProjectsLocationsAgentsFlowsPagesCreateCall) Do(opts ...googleapi.CallO } -// method id "dialogflow.projects.locations.agents.flows.pages.delete": +// method id "dialogflow.projects.locations.agents.flows.versions.delete": -type ProjectsLocationsAgentsFlowsPagesDeleteCall struct { +type ProjectsLocationsAgentsFlowsVersionsDeleteCall struct { s *Service name string urlParams_ gensupport.URLParams @@ -16118,29 +21212,17 @@ type ProjectsLocationsAgentsFlowsPagesDeleteCall struct { header_ http.Header } -// Delete: Deletes the specified page. -func (r *ProjectsLocationsAgentsFlowsPagesService) Delete(name string) *ProjectsLocationsAgentsFlowsPagesDeleteCall { - c := &ProjectsLocationsAgentsFlowsPagesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)} +// Delete: Deletes the specified Version. +func (r *ProjectsLocationsAgentsFlowsVersionsService) Delete(name string) *ProjectsLocationsAgentsFlowsVersionsDeleteCall { + c := &ProjectsLocationsAgentsFlowsVersionsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name return c } -// Force sets the optional parameter "force": This field has no effect -// for pages with no incoming transitions. For pages with incoming -// transitions: * If `force` is set to false, an error will be returned -// with message indicating the incoming transitions. * If `force` is set -// to true, Dialogflow will remove the page, as well as any transitions -// to the page (i.e. Target page in event handlers or Target page in -// transition routes that point to this page will be cleared). -func (c *ProjectsLocationsAgentsFlowsPagesDeleteCall) Force(force bool) *ProjectsLocationsAgentsFlowsPagesDeleteCall { - c.urlParams_.Set("force", fmt.Sprint(force)) - return c -} - // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsFlowsPagesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsPagesDeleteCall { +func (c *ProjectsLocationsAgentsFlowsVersionsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsVersionsDeleteCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -16148,23 +21230,23 @@ func (c *ProjectsLocationsAgentsFlowsPagesDeleteCall) Fields(s ...googleapi.Fiel // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsFlowsPagesDeleteCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsPagesDeleteCall { +func (c *ProjectsLocationsAgentsFlowsVersionsDeleteCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsVersionsDeleteCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsFlowsPagesDeleteCall) Header() http.Header { +func (c *ProjectsLocationsAgentsFlowsVersionsDeleteCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsFlowsPagesDeleteCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsFlowsVersionsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16185,14 +21267,14 @@ func (c *ProjectsLocationsAgentsFlowsPagesDeleteCall) doRequest(alt string) (*ht return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.flows.pages.delete" call. +// Do executes the "dialogflow.projects.locations.agents.flows.versions.delete" call. // Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any // non-2xx status code is an error. Response headers are in either // *GoogleProtobufEmpty.ServerResponse.Header or (if a response was // returned at all) in error.(*googleapi.Error).Header. Use // googleapi.IsNotModified to check whether the returned error was // because http.StatusNotModified was returned. -func (c *ProjectsLocationsAgentsFlowsPagesDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error) { +func (c *ProjectsLocationsAgentsFlowsVersionsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -16223,23 +21305,18 @@ func (c *ProjectsLocationsAgentsFlowsPagesDeleteCall) Do(opts ...googleapi.CallO } return ret, nil // { - // "description": "Deletes the specified page.", - // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/pages/{pagesId}", + // "description": "Deletes the specified Version.", + // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/versions/{versionsId}", // "httpMethod": "DELETE", - // "id": "dialogflow.projects.locations.agents.flows.pages.delete", + // "id": "dialogflow.projects.locations.agents.flows.versions.delete", // "parameterOrder": [ // "name" // ], // "parameters": { - // "force": { - // "description": "This field has no effect for pages with no incoming transitions. For pages with incoming transitions: * If `force` is set to false, an error will be returned with message indicating the incoming transitions. * If `force` is set to true, Dialogflow will remove the page, as well as any transitions to the page (i.e. Target page in event handlers or Target page in transition routes that point to this page will be cleared).", - // "location": "query", - // "type": "boolean" - // }, // "name": { - // "description": "Required. The name of the page to delete. Format: `projects//locations//agents//Flows//pages/`.", + // "description": "Required. The name of the Version to delete. Format: `projects//locations//agents//flows//versions/`.", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+/pages/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+/versions/[^/]+$", // "required": true, // "type": "string" // } @@ -16256,9 +21333,9 @@ func (c *ProjectsLocationsAgentsFlowsPagesDeleteCall) Do(opts ...googleapi.CallO } -// method id "dialogflow.projects.locations.agents.flows.pages.get": +// method id "dialogflow.projects.locations.agents.flows.versions.get": -type ProjectsLocationsAgentsFlowsPagesGetCall struct { +type ProjectsLocationsAgentsFlowsVersionsGetCall struct { s *Service name string urlParams_ gensupport.URLParams @@ -16267,34 +21344,17 @@ type ProjectsLocationsAgentsFlowsPagesGetCall struct { header_ http.Header } -// Get: Retrieves the specified page. -func (r *ProjectsLocationsAgentsFlowsPagesService) Get(name string) *ProjectsLocationsAgentsFlowsPagesGetCall { - c := &ProjectsLocationsAgentsFlowsPagesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} +// Get: Retrieves the specified Version. +func (r *ProjectsLocationsAgentsFlowsVersionsService) Get(name string) *ProjectsLocationsAgentsFlowsVersionsGetCall { + c := &ProjectsLocationsAgentsFlowsVersionsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name return c } -// LanguageCode sets the optional parameter "languageCode": The language -// to retrieve the page for. The following fields are language -// dependent: * `Page.entry_fulfillment.messages` * -// `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.message -// s` * -// `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages` -// * `Page.transition_routes.trigger_fulfillment.messages` * -// `Page.transition_route_groups.transition_routes.trigger_fulfillment.me -// ssages` If not specified, the agent's default language is used. [Many -// languages](https://cloud.google.com/dialogflow/docs/reference/language -// ) are supported. Note: languages must be enabled in the agent before -// they can be used. -func (c *ProjectsLocationsAgentsFlowsPagesGetCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsFlowsPagesGetCall { - c.urlParams_.Set("languageCode", languageCode) - return c -} - // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsFlowsPagesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsPagesGetCall { +func (c *ProjectsLocationsAgentsFlowsVersionsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsVersionsGetCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -16304,7 +21364,7 @@ func (c *ProjectsLocationsAgentsFlowsPagesGetCall) Fields(s ...googleapi.Field) // getting updates only after the object has changed since the last // request. Use googleapi.IsNotModified to check whether the response // error from Do is the result of In-None-Match. -func (c *ProjectsLocationsAgentsFlowsPagesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsFlowsPagesGetCall { +func (c *ProjectsLocationsAgentsFlowsVersionsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsFlowsVersionsGetCall { c.ifNoneMatch_ = entityTag return c } @@ -16312,23 +21372,23 @@ func (c *ProjectsLocationsAgentsFlowsPagesGetCall) IfNoneMatch(entityTag string) // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsFlowsPagesGetCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsPagesGetCall { +func (c *ProjectsLocationsAgentsFlowsVersionsGetCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsVersionsGetCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsFlowsPagesGetCall) Header() http.Header { +func (c *ProjectsLocationsAgentsFlowsVersionsGetCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsFlowsPagesGetCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsFlowsVersionsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16352,15 +21412,15 @@ func (c *ProjectsLocationsAgentsFlowsPagesGetCall) doRequest(alt string) (*http. return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.flows.pages.get" call. -// Exactly one of *GoogleCloudDialogflowCxV3beta1Page or error will be -// non-nil. Any non-2xx status code is an error. Response headers are in -// either *GoogleCloudDialogflowCxV3beta1Page.ServerResponse.Header or -// (if a response was returned at all) in -// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check -// whether the returned error was because http.StatusNotModified was -// returned. -func (c *ProjectsLocationsAgentsFlowsPagesGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1Page, error) { +// Do executes the "dialogflow.projects.locations.agents.flows.versions.get" call. +// Exactly one of *GoogleCloudDialogflowCxV3beta1Version or error will +// be non-nil. Any non-2xx status code is an error. Response headers are +// in either +// *GoogleCloudDialogflowCxV3beta1Version.ServerResponse.Header or (if a +// response was returned at all) in error.(*googleapi.Error).Header. Use +// googleapi.IsNotModified to check whether the returned error was +// because http.StatusNotModified was returned. +func (c *ProjectsLocationsAgentsFlowsVersionsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1Version, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -16379,7 +21439,7 @@ func (c *ProjectsLocationsAgentsFlowsPagesGetCall) Do(opts ...googleapi.CallOpti if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleCloudDialogflowCxV3beta1Page{ + ret := &GoogleCloudDialogflowCxV3beta1Version{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -16391,30 +21451,25 @@ func (c *ProjectsLocationsAgentsFlowsPagesGetCall) Do(opts ...googleapi.CallOpti } return ret, nil // { - // "description": "Retrieves the specified page.", - // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/pages/{pagesId}", + // "description": "Retrieves the specified Version.", + // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/versions/{versionsId}", // "httpMethod": "GET", - // "id": "dialogflow.projects.locations.agents.flows.pages.get", + // "id": "dialogflow.projects.locations.agents.flows.versions.get", // "parameterOrder": [ // "name" // ], // "parameters": { - // "languageCode": { - // "description": "The language to retrieve the page for. The following fields are language dependent: * `Page.entry_fulfillment.messages` * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.messages` * `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages` * `Page.transition_routes.trigger_fulfillment.messages` * `Page.transition_route_groups.transition_routes.trigger_fulfillment.messages` If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", - // "location": "query", - // "type": "string" - // }, // "name": { - // "description": "Required. The name of the page. Format: `projects//locations//agents//flows//pages/`.", + // "description": "Required. The name of the Version. Format: `projects//locations//agents//flows//versions/`.", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+/pages/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+/versions/[^/]+$", // "required": true, // "type": "string" // } // }, // "path": "v3beta1/{+name}", // "response": { - // "$ref": "GoogleCloudDialogflowCxV3beta1Page" + // "$ref": "GoogleCloudDialogflowCxV3beta1Version" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -16424,51 +21479,34 @@ func (c *ProjectsLocationsAgentsFlowsPagesGetCall) Do(opts ...googleapi.CallOpti } -// method id "dialogflow.projects.locations.agents.flows.pages.list": +// method id "dialogflow.projects.locations.agents.flows.versions.list": -type ProjectsLocationsAgentsFlowsPagesListCall struct { +type ProjectsLocationsAgentsFlowsVersionsListCall struct { s *Service parent string urlParams_ gensupport.URLParams - ifNoneMatch_ string - ctx_ context.Context - header_ http.Header -} - -// List: Returns the list of all pages in the specified flow. -func (r *ProjectsLocationsAgentsFlowsPagesService) List(parent string) *ProjectsLocationsAgentsFlowsPagesListCall { - c := &ProjectsLocationsAgentsFlowsPagesListCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.parent = parent - return c + ifNoneMatch_ string + ctx_ context.Context + header_ http.Header } -// LanguageCode sets the optional parameter "languageCode": The language -// to list pages for. The following fields are language dependent: * -// `Page.entry_fulfillment.messages` * -// `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.message -// s` * -// `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages` -// * `Page.transition_routes.trigger_fulfillment.messages` * -// `Page.transition_route_groups.transition_routes.trigger_fulfillment.me -// ssages` If not specified, the agent's default language is used. [Many -// languages](https://cloud.google.com/dialogflow/docs/reference/language -// ) are supported. Note: languages must be enabled in the agent before -// they can be used. -func (c *ProjectsLocationsAgentsFlowsPagesListCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsFlowsPagesListCall { - c.urlParams_.Set("languageCode", languageCode) +// List: Returns the list of all versions in the specified Flow. +func (r *ProjectsLocationsAgentsFlowsVersionsService) List(parent string) *ProjectsLocationsAgentsFlowsVersionsListCall { + c := &ProjectsLocationsAgentsFlowsVersionsListCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.parent = parent return c } // PageSize sets the optional parameter "pageSize": The maximum number -// of items to return in a single page. By default 100 and at most 1000. -func (c *ProjectsLocationsAgentsFlowsPagesListCall) PageSize(pageSize int64) *ProjectsLocationsAgentsFlowsPagesListCall { +// of items to return in a single page. By default 20 and at most 100. +func (c *ProjectsLocationsAgentsFlowsVersionsListCall) PageSize(pageSize int64) *ProjectsLocationsAgentsFlowsVersionsListCall { c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) return c } // PageToken sets the optional parameter "pageToken": The // next_page_token value returned from a previous list request. -func (c *ProjectsLocationsAgentsFlowsPagesListCall) PageToken(pageToken string) *ProjectsLocationsAgentsFlowsPagesListCall { +func (c *ProjectsLocationsAgentsFlowsVersionsListCall) PageToken(pageToken string) *ProjectsLocationsAgentsFlowsVersionsListCall { c.urlParams_.Set("pageToken", pageToken) return c } @@ -16476,7 +21514,7 @@ func (c *ProjectsLocationsAgentsFlowsPagesListCall) PageToken(pageToken string) // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsFlowsPagesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsPagesListCall { +func (c *ProjectsLocationsAgentsFlowsVersionsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsVersionsListCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -16486,7 +21524,7 @@ func (c *ProjectsLocationsAgentsFlowsPagesListCall) Fields(s ...googleapi.Field) // getting updates only after the object has changed since the last // request. Use googleapi.IsNotModified to check whether the response // error from Do is the result of In-None-Match. -func (c *ProjectsLocationsAgentsFlowsPagesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsFlowsPagesListCall { +func (c *ProjectsLocationsAgentsFlowsVersionsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsFlowsVersionsListCall { c.ifNoneMatch_ = entityTag return c } @@ -16494,23 +21532,23 @@ func (c *ProjectsLocationsAgentsFlowsPagesListCall) IfNoneMatch(entityTag string // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsFlowsPagesListCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsPagesListCall { +func (c *ProjectsLocationsAgentsFlowsVersionsListCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsVersionsListCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsFlowsPagesListCall) Header() http.Header { +func (c *ProjectsLocationsAgentsFlowsVersionsListCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsFlowsPagesListCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsFlowsVersionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16521,7 +21559,7 @@ func (c *ProjectsLocationsAgentsFlowsPagesListCall) doRequest(alt string) (*http var body io.Reader = nil c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+parent}/pages") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+parent}/versions") urls += "?" + c.urlParams_.Encode() req, err := http.NewRequest("GET", urls, body) if err != nil { @@ -16534,16 +21572,16 @@ func (c *ProjectsLocationsAgentsFlowsPagesListCall) doRequest(alt string) (*http return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.flows.pages.list" call. -// Exactly one of *GoogleCloudDialogflowCxV3beta1ListPagesResponse or +// Do executes the "dialogflow.projects.locations.agents.flows.versions.list" call. +// Exactly one of *GoogleCloudDialogflowCxV3beta1ListVersionsResponse or // error will be non-nil. Any non-2xx status code is an error. Response // headers are in either -// *GoogleCloudDialogflowCxV3beta1ListPagesResponse.ServerResponse.Header -// or (if a response was returned at all) in +// *GoogleCloudDialogflowCxV3beta1ListVersionsResponse.ServerResponse.Hea +// der or (if a response was returned at all) in // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check // whether the returned error was because http.StatusNotModified was // returned. -func (c *ProjectsLocationsAgentsFlowsPagesListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1ListPagesResponse, error) { +func (c *ProjectsLocationsAgentsFlowsVersionsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1ListVersionsResponse, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -16562,7 +21600,7 @@ func (c *ProjectsLocationsAgentsFlowsPagesListCall) Do(opts ...googleapi.CallOpt if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleCloudDialogflowCxV3beta1ListPagesResponse{ + ret := &GoogleCloudDialogflowCxV3beta1ListVersionsResponse{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -16574,21 +21612,16 @@ func (c *ProjectsLocationsAgentsFlowsPagesListCall) Do(opts ...googleapi.CallOpt } return ret, nil // { - // "description": "Returns the list of all pages in the specified flow.", - // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/pages", + // "description": "Returns the list of all versions in the specified Flow.", + // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/versions", // "httpMethod": "GET", - // "id": "dialogflow.projects.locations.agents.flows.pages.list", + // "id": "dialogflow.projects.locations.agents.flows.versions.list", // "parameterOrder": [ // "parent" // ], // "parameters": { - // "languageCode": { - // "description": "The language to list pages for. The following fields are language dependent: * `Page.entry_fulfillment.messages` * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.messages` * `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages` * `Page.transition_routes.trigger_fulfillment.messages` * `Page.transition_route_groups.transition_routes.trigger_fulfillment.messages` If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", - // "location": "query", - // "type": "string" - // }, // "pageSize": { - // "description": "The maximum number of items to return in a single page. By default 100 and at most 1000.", + // "description": "The maximum number of items to return in a single page. By default 20 and at most 100.", // "format": "int32", // "location": "query", // "type": "integer" @@ -16599,16 +21632,16 @@ func (c *ProjectsLocationsAgentsFlowsPagesListCall) Do(opts ...googleapi.CallOpt // "type": "string" // }, // "parent": { - // "description": "Required. The flow to list all pages for. Format: `projects//locations//agents//flows/`.", + // "description": "Required. The Flow to list all versions for. Format: `projects//locations//agents//flows/`.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+$", // "required": true, // "type": "string" // } // }, - // "path": "v3beta1/{+parent}/pages", + // "path": "v3beta1/{+parent}/versions", // "response": { - // "$ref": "GoogleCloudDialogflowCxV3beta1ListPagesResponse" + // "$ref": "GoogleCloudDialogflowCxV3beta1ListVersionsResponse" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -16621,7 +21654,7 @@ func (c *ProjectsLocationsAgentsFlowsPagesListCall) Do(opts ...googleapi.CallOpt // Pages invokes f for each page of results. // A non-nil error returned from f will halt the iteration. // The provided context supersedes any context provided to the Context method. -func (c *ProjectsLocationsAgentsFlowsPagesListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowCxV3beta1ListPagesResponse) error) error { +func (c *ProjectsLocationsAgentsFlowsVersionsListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowCxV3beta1ListVersionsResponse) error) error { c.ctx_ = ctx defer c.PageToken(c.urlParams_.Get("pageToken")) // reset paging to original point for { @@ -16639,46 +21672,170 @@ func (c *ProjectsLocationsAgentsFlowsPagesListCall) Pages(ctx context.Context, f } } -// method id "dialogflow.projects.locations.agents.flows.pages.patch": +// method id "dialogflow.projects.locations.agents.flows.versions.load": -type ProjectsLocationsAgentsFlowsPagesPatchCall struct { - s *Service - nameid string - googleclouddialogflowcxv3beta1page *GoogleCloudDialogflowCxV3beta1Page - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header +type ProjectsLocationsAgentsFlowsVersionsLoadCall struct { + s *Service + name string + googleclouddialogflowcxv3beta1loadversionrequest *GoogleCloudDialogflowCxV3beta1LoadVersionRequest + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header } -// Patch: Updates the specified page. -func (r *ProjectsLocationsAgentsFlowsPagesService) Patch(nameid string, googleclouddialogflowcxv3beta1page *GoogleCloudDialogflowCxV3beta1Page) *ProjectsLocationsAgentsFlowsPagesPatchCall { - c := &ProjectsLocationsAgentsFlowsPagesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.nameid = nameid - c.googleclouddialogflowcxv3beta1page = googleclouddialogflowcxv3beta1page +// Load: Loads a specified version to draft version. +func (r *ProjectsLocationsAgentsFlowsVersionsService) Load(name string, googleclouddialogflowcxv3beta1loadversionrequest *GoogleCloudDialogflowCxV3beta1LoadVersionRequest) *ProjectsLocationsAgentsFlowsVersionsLoadCall { + c := &ProjectsLocationsAgentsFlowsVersionsLoadCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name + c.googleclouddialogflowcxv3beta1loadversionrequest = googleclouddialogflowcxv3beta1loadversionrequest return c } -// LanguageCode sets the optional parameter "languageCode": The language -// of the following fields in `page`: * -// `Page.entry_fulfillment.messages` * -// `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.message -// s` * -// `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages` -// * `Page.transition_routes.trigger_fulfillment.messages` * -// `Page.transition_route_groups.transition_routes.trigger_fulfillment.me -// ssages` If not specified, the agent's default language is used. [Many -// languages](https://cloud.google.com/dialogflow/docs/reference/language -// ) are supported. Note: languages must be enabled in the agent before -// they can be used. -func (c *ProjectsLocationsAgentsFlowsPagesPatchCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsFlowsPagesPatchCall { - c.urlParams_.Set("languageCode", languageCode) +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsAgentsFlowsVersionsLoadCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsVersionsLoadCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } -// UpdateMask sets the optional parameter "updateMask": The mask to -// control which fields get updated. If the mask is not present, all -// fields will be updated. -func (c *ProjectsLocationsAgentsFlowsPagesPatchCall) UpdateMask(updateMask string) *ProjectsLocationsAgentsFlowsPagesPatchCall { +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsLocationsAgentsFlowsVersionsLoadCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsVersionsLoadCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsLocationsAgentsFlowsVersionsLoadCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsAgentsFlowsVersionsLoadCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + var body io.Reader = nil + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3beta1loadversionrequest) + if err != nil { + return nil, err + } + reqHeaders.Set("Content-Type", "application/json") + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+name}:load") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("POST", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "name": c.name, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "dialogflow.projects.locations.agents.flows.versions.load" call. +// Exactly one of *GoogleLongrunningOperation or error will be non-nil. +// Any non-2xx status code is an error. Response headers are in either +// *GoogleLongrunningOperation.ServerResponse.Header or (if a response +// was returned at all) in error.(*googleapi.Error).Header. Use +// googleapi.IsNotModified to check whether the returned error was +// because http.StatusNotModified was returned. +func (c *ProjectsLocationsAgentsFlowsVersionsLoadCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &GoogleLongrunningOperation{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Loads a specified version to draft version.", + // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/versions/{versionsId}:load", + // "httpMethod": "POST", + // "id": "dialogflow.projects.locations.agents.flows.versions.load", + // "parameterOrder": [ + // "name" + // ], + // "parameters": { + // "name": { + // "description": "Required. The Version to be loaded to draft version. Format: `projects//locations//agents//flows//versions/`.", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+/versions/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v3beta1/{+name}:load", + // "request": { + // "$ref": "GoogleCloudDialogflowCxV3beta1LoadVersionRequest" + // }, + // "response": { + // "$ref": "GoogleLongrunningOperation" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", + // "https://www.googleapis.com/auth/dialogflow" + // ] + // } + +} + +// method id "dialogflow.projects.locations.agents.flows.versions.patch": + +type ProjectsLocationsAgentsFlowsVersionsPatchCall struct { + s *Service + name string + googleclouddialogflowcxv3beta1version *GoogleCloudDialogflowCxV3beta1Version + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// Patch: Updates the specified Version. +func (r *ProjectsLocationsAgentsFlowsVersionsService) Patch(name string, googleclouddialogflowcxv3beta1version *GoogleCloudDialogflowCxV3beta1Version) *ProjectsLocationsAgentsFlowsVersionsPatchCall { + c := &ProjectsLocationsAgentsFlowsVersionsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name + c.googleclouddialogflowcxv3beta1version = googleclouddialogflowcxv3beta1version + return c +} + +// UpdateMask sets the optional parameter "updateMask": Required. The +// mask to control which fields get updated. Currently only +// `description` and `display_name` can be updated. +func (c *ProjectsLocationsAgentsFlowsVersionsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsAgentsFlowsVersionsPatchCall { c.urlParams_.Set("updateMask", updateMask) return c } @@ -16686,7 +21843,7 @@ func (c *ProjectsLocationsAgentsFlowsPagesPatchCall) UpdateMask(updateMask strin // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsFlowsPagesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsPagesPatchCall { +func (c *ProjectsLocationsAgentsFlowsVersionsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsVersionsPatchCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -16694,29 +21851,29 @@ func (c *ProjectsLocationsAgentsFlowsPagesPatchCall) Fields(s ...googleapi.Field // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsFlowsPagesPatchCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsPagesPatchCall { +func (c *ProjectsLocationsAgentsFlowsVersionsPatchCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsVersionsPatchCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsFlowsPagesPatchCall) Header() http.Header { +func (c *ProjectsLocationsAgentsFlowsVersionsPatchCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsFlowsPagesPatchCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsFlowsVersionsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } reqHeaders.Set("User-Agent", c.s.userAgent()) var body io.Reader = nil - body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3beta1page) + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3beta1version) if err != nil { return nil, err } @@ -16731,20 +21888,20 @@ func (c *ProjectsLocationsAgentsFlowsPagesPatchCall) doRequest(alt string) (*htt } req.Header = reqHeaders googleapi.Expand(req.URL, map[string]string{ - "name": c.nameid, + "name": c.name, }) return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.flows.pages.patch" call. -// Exactly one of *GoogleCloudDialogflowCxV3beta1Page or error will be -// non-nil. Any non-2xx status code is an error. Response headers are in -// either *GoogleCloudDialogflowCxV3beta1Page.ServerResponse.Header or -// (if a response was returned at all) in -// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check -// whether the returned error was because http.StatusNotModified was -// returned. -func (c *ProjectsLocationsAgentsFlowsPagesPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1Page, error) { +// Do executes the "dialogflow.projects.locations.agents.flows.versions.patch" call. +// Exactly one of *GoogleCloudDialogflowCxV3beta1Version or error will +// be non-nil. Any non-2xx status code is an error. Response headers are +// in either +// *GoogleCloudDialogflowCxV3beta1Version.ServerResponse.Header or (if a +// response was returned at all) in error.(*googleapi.Error).Header. Use +// googleapi.IsNotModified to check whether the returned error was +// because http.StatusNotModified was returned. +func (c *ProjectsLocationsAgentsFlowsVersionsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1Version, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -16763,7 +21920,7 @@ func (c *ProjectsLocationsAgentsFlowsPagesPatchCall) Do(opts ...googleapi.CallOp if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleCloudDialogflowCxV3beta1Page{ + ret := &GoogleCloudDialogflowCxV3beta1Version{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -16775,28 +21932,23 @@ func (c *ProjectsLocationsAgentsFlowsPagesPatchCall) Do(opts ...googleapi.CallOp } return ret, nil // { - // "description": "Updates the specified page.", - // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/pages/{pagesId}", + // "description": "Updates the specified Version.", + // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/versions/{versionsId}", // "httpMethod": "PATCH", - // "id": "dialogflow.projects.locations.agents.flows.pages.patch", + // "id": "dialogflow.projects.locations.agents.flows.versions.patch", // "parameterOrder": [ // "name" // ], // "parameters": { - // "languageCode": { - // "description": "The language of the following fields in `page`: * `Page.entry_fulfillment.messages` * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.messages` * `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages` * `Page.transition_routes.trigger_fulfillment.messages` * `Page.transition_route_groups.transition_routes.trigger_fulfillment.messages` If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", - // "location": "query", - // "type": "string" - // }, // "name": { - // "description": "The unique identifier of the page. Required for the Pages.UpdatePage method. Pages.CreatePage populates the name automatically. Format: `projects//locations//agents//flows//pages/`.", + // "description": "Format: projects//locations//agents//flows//versions/. Version ID is a self-increasing number generated by Dialogflow upon version creation.", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+/pages/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+/versions/[^/]+$", // "required": true, // "type": "string" // }, // "updateMask": { - // "description": "The mask to control which fields get updated. If the mask is not present, all fields will be updated.", + // "description": "Required. The mask to control which fields get updated. Currently only `description` and `display_name` can be updated.", // "format": "google-fieldmask", // "location": "query", // "type": "string" @@ -16804,10 +21956,10 @@ func (c *ProjectsLocationsAgentsFlowsPagesPatchCall) Do(opts ...googleapi.CallOp // }, // "path": "v3beta1/{+name}", // "request": { - // "$ref": "GoogleCloudDialogflowCxV3beta1Page" + // "$ref": "GoogleCloudDialogflowCxV3beta1Version" // }, // "response": { - // "$ref": "GoogleCloudDialogflowCxV3beta1Page" + // "$ref": "GoogleCloudDialogflowCxV3beta1Version" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -16817,33 +21969,33 @@ func (c *ProjectsLocationsAgentsFlowsPagesPatchCall) Do(opts ...googleapi.CallOp } -// method id "dialogflow.projects.locations.agents.flows.transitionRouteGroups.create": +// method id "dialogflow.projects.locations.agents.intents.create": -type ProjectsLocationsAgentsFlowsTransitionRouteGroupsCreateCall struct { - s *Service - parent string - googleclouddialogflowcxv3beta1transitionroutegroup *GoogleCloudDialogflowCxV3beta1TransitionRouteGroup - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header +type ProjectsLocationsAgentsIntentsCreateCall struct { + s *Service + parent string + googleclouddialogflowcxv3beta1intent *GoogleCloudDialogflowCxV3beta1Intent + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header } -// Create: Creates an TransitionRouteGroup in the specified flow. -func (r *ProjectsLocationsAgentsFlowsTransitionRouteGroupsService) Create(parent string, googleclouddialogflowcxv3beta1transitionroutegroup *GoogleCloudDialogflowCxV3beta1TransitionRouteGroup) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsCreateCall { - c := &ProjectsLocationsAgentsFlowsTransitionRouteGroupsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)} +// Create: Creates an intent in the specified agent. +func (r *ProjectsLocationsAgentsIntentsService) Create(parent string, googleclouddialogflowcxv3beta1intent *GoogleCloudDialogflowCxV3beta1Intent) *ProjectsLocationsAgentsIntentsCreateCall { + c := &ProjectsLocationsAgentsIntentsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.parent = parent - c.googleclouddialogflowcxv3beta1transitionroutegroup = googleclouddialogflowcxv3beta1transitionroutegroup + c.googleclouddialogflowcxv3beta1intent = googleclouddialogflowcxv3beta1intent return c } // LanguageCode sets the optional parameter "languageCode": The language -// to list transition route groups for. The field `messages` in -// TransitionRoute is language dependent. If not specified, the agent's +// of the following fields in `intent`: * +// `Intent.training_phrases.parts.text` If not specified, the agent's // default language is used. [Many // languages](https://cloud.google.com/dialogflow/docs/reference/language // ) are supported. Note: languages must be enabled in the agent before // they can be used. -func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsCreateCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsCreateCall { +func (c *ProjectsLocationsAgentsIntentsCreateCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsIntentsCreateCall { c.urlParams_.Set("languageCode", languageCode) return c } @@ -16851,7 +22003,7 @@ func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsCreateCall) LanguageCo // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsCreateCall { +func (c *ProjectsLocationsAgentsIntentsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsIntentsCreateCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -16859,36 +22011,36 @@ func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsCreateCall) Fields(s . // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsCreateCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsCreateCall { +func (c *ProjectsLocationsAgentsIntentsCreateCall) Context(ctx context.Context) *ProjectsLocationsAgentsIntentsCreateCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsCreateCall) Header() http.Header { +func (c *ProjectsLocationsAgentsIntentsCreateCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsCreateCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsIntentsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } reqHeaders.Set("User-Agent", c.s.userAgent()) var body io.Reader = nil - body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3beta1transitionroutegroup) + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3beta1intent) if err != nil { return nil, err } reqHeaders.Set("Content-Type", "application/json") c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+parent}/transitionRouteGroups") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+parent}/intents") urls += "?" + c.urlParams_.Encode() req, err := http.NewRequest("POST", urls, body) if err != nil { @@ -16901,16 +22053,15 @@ func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsCreateCall) doRequest( return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.flows.transitionRouteGroups.create" call. -// Exactly one of *GoogleCloudDialogflowCxV3beta1TransitionRouteGroup or -// error will be non-nil. Any non-2xx status code is an error. Response -// headers are in either -// *GoogleCloudDialogflowCxV3beta1TransitionRouteGroup.ServerResponse.Hea -// der or (if a response was returned at all) in +// Do executes the "dialogflow.projects.locations.agents.intents.create" call. +// Exactly one of *GoogleCloudDialogflowCxV3beta1Intent or error will be +// non-nil. Any non-2xx status code is an error. Response headers are in +// either *GoogleCloudDialogflowCxV3beta1Intent.ServerResponse.Header or +// (if a response was returned at all) in // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check // whether the returned error was because http.StatusNotModified was // returned. -func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1TransitionRouteGroup, error) { +func (c *ProjectsLocationsAgentsIntentsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1Intent, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -16929,7 +22080,7 @@ func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsCreateCall) Do(opts .. if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleCloudDialogflowCxV3beta1TransitionRouteGroup{ + ret := &GoogleCloudDialogflowCxV3beta1Intent{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -16941,33 +22092,164 @@ func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsCreateCall) Do(opts .. } return ret, nil // { - // "description": "Creates an TransitionRouteGroup in the specified flow.", - // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/transitionRouteGroups", + // "description": "Creates an intent in the specified agent.", + // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/intents", // "httpMethod": "POST", - // "id": "dialogflow.projects.locations.agents.flows.transitionRouteGroups.create", + // "id": "dialogflow.projects.locations.agents.intents.create", // "parameterOrder": [ // "parent" // ], // "parameters": { // "languageCode": { - // "description": "The language to list transition route groups for. The field `messages` in TransitionRoute is language dependent. If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", + // "description": "The language of the following fields in `intent`: * `Intent.training_phrases.parts.text` If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", // "location": "query", // "type": "string" // }, // "parent": { - // "description": "Required. The flow to create an TransitionRouteGroup for. Format: `projects//locations//agents//flows/`.", + // "description": "Required. The agent to create an intent for. Format: `projects//locations//agents/`.", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", // "required": true, // "type": "string" // } // }, - // "path": "v3beta1/{+parent}/transitionRouteGroups", + // "path": "v3beta1/{+parent}/intents", // "request": { - // "$ref": "GoogleCloudDialogflowCxV3beta1TransitionRouteGroup" + // "$ref": "GoogleCloudDialogflowCxV3beta1Intent" + // }, + // "response": { + // "$ref": "GoogleCloudDialogflowCxV3beta1Intent" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", + // "https://www.googleapis.com/auth/dialogflow" + // ] + // } + +} + +// method id "dialogflow.projects.locations.agents.intents.delete": + +type ProjectsLocationsAgentsIntentsDeleteCall struct { + s *Service + name string + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// Delete: Deletes the specified intent. +func (r *ProjectsLocationsAgentsIntentsService) Delete(name string) *ProjectsLocationsAgentsIntentsDeleteCall { + c := &ProjectsLocationsAgentsIntentsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsAgentsIntentsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsIntentsDeleteCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsLocationsAgentsIntentsDeleteCall) Context(ctx context.Context) *ProjectsLocationsAgentsIntentsDeleteCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsLocationsAgentsIntentsDeleteCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsAgentsIntentsDeleteCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + var body io.Reader = nil + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+name}") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("DELETE", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "name": c.name, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "dialogflow.projects.locations.agents.intents.delete" call. +// Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any +// non-2xx status code is an error. Response headers are in either +// *GoogleProtobufEmpty.ServerResponse.Header or (if a response was +// returned at all) in error.(*googleapi.Error).Header. Use +// googleapi.IsNotModified to check whether the returned error was +// because http.StatusNotModified was returned. +func (c *ProjectsLocationsAgentsIntentsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, &googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + } + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, err + } + ret := &GoogleProtobufEmpty{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Deletes the specified intent.", + // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/intents/{intentsId}", + // "httpMethod": "DELETE", + // "id": "dialogflow.projects.locations.agents.intents.delete", + // "parameterOrder": [ + // "name" + // ], + // "parameters": { + // "name": { + // "description": "Required. The name of the intent to delete. Format: `projects//locations//agents//intents/`.", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/intents/[^/]+$", + // "required": true, + // "type": "string" + // } // }, + // "path": "v3beta1/{+name}", // "response": { - // "$ref": "GoogleCloudDialogflowCxV3beta1TransitionRouteGroup" + // "$ref": "GoogleProtobufEmpty" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -16977,73 +22259,87 @@ func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsCreateCall) Do(opts .. } -// method id "dialogflow.projects.locations.agents.flows.transitionRouteGroups.delete": +// method id "dialogflow.projects.locations.agents.intents.get": -type ProjectsLocationsAgentsFlowsTransitionRouteGroupsDeleteCall struct { - s *Service - name string - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header +type ProjectsLocationsAgentsIntentsGetCall struct { + s *Service + name string + urlParams_ gensupport.URLParams + ifNoneMatch_ string + ctx_ context.Context + header_ http.Header } -// Delete: Deletes the specified TransitionRouteGroup. -func (r *ProjectsLocationsAgentsFlowsTransitionRouteGroupsService) Delete(name string) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsDeleteCall { - c := &ProjectsLocationsAgentsFlowsTransitionRouteGroupsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)} +// Get: Retrieves the specified intent. +func (r *ProjectsLocationsAgentsIntentsService) Get(name string) *ProjectsLocationsAgentsIntentsGetCall { + c := &ProjectsLocationsAgentsIntentsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name return c } -// Force sets the optional parameter "force": This field has no effect -// for transition route group that no page is using. If the transition -// route group is referenced by any page: * If `force` is set to false, -// an error will be returned with message indicating pages that -// reference the transition route group. * If `force` is set to true, -// Dialogflow will remove the transition route group, as well as any -// reference to it. -func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsDeleteCall) Force(force bool) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsDeleteCall { - c.urlParams_.Set("force", fmt.Sprint(force)) +// LanguageCode sets the optional parameter "languageCode": The language +// to retrieve the intent for. The following fields are language +// dependent: * `Intent.training_phrases.parts.text` If not specified, +// the agent's default language is used. [Many +// languages](https://cloud.google.com/dialogflow/docs/reference/language +// ) are supported. Note: languages must be enabled in the agent before +// they can be used. +func (c *ProjectsLocationsAgentsIntentsGetCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsIntentsGetCall { + c.urlParams_.Set("languageCode", languageCode) return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsDeleteCall { +func (c *ProjectsLocationsAgentsIntentsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsIntentsGetCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } +// IfNoneMatch sets the optional parameter which makes the operation +// fail if the object's ETag matches the given value. This is useful for +// getting updates only after the object has changed since the last +// request. Use googleapi.IsNotModified to check whether the response +// error from Do is the result of In-None-Match. +func (c *ProjectsLocationsAgentsIntentsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsIntentsGetCall { + c.ifNoneMatch_ = entityTag + return c +} + // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsDeleteCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsDeleteCall { +func (c *ProjectsLocationsAgentsIntentsGetCall) Context(ctx context.Context) *ProjectsLocationsAgentsIntentsGetCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsDeleteCall) Header() http.Header { +func (c *ProjectsLocationsAgentsIntentsGetCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsDeleteCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsIntentsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } reqHeaders.Set("User-Agent", c.s.userAgent()) + if c.ifNoneMatch_ != "" { + reqHeaders.Set("If-None-Match", c.ifNoneMatch_) + } var body io.Reader = nil c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+name}") urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("DELETE", urls, body) + req, err := http.NewRequest("GET", urls, body) if err != nil { return nil, err } @@ -17054,14 +22350,15 @@ func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsDeleteCall) doRequest( return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.flows.transitionRouteGroups.delete" call. -// Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any -// non-2xx status code is an error. Response headers are in either -// *GoogleProtobufEmpty.ServerResponse.Header or (if a response was -// returned at all) in error.(*googleapi.Error).Header. Use -// googleapi.IsNotModified to check whether the returned error was -// because http.StatusNotModified was returned. -func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error) { +// Do executes the "dialogflow.projects.locations.agents.intents.get" call. +// Exactly one of *GoogleCloudDialogflowCxV3beta1Intent or error will be +// non-nil. Any non-2xx status code is an error. Response headers are in +// either *GoogleCloudDialogflowCxV3beta1Intent.ServerResponse.Header or +// (if a response was returned at all) in +// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check +// whether the returned error was because http.StatusNotModified was +// returned. +func (c *ProjectsLocationsAgentsIntentsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1Intent, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -17080,7 +22377,7 @@ func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsDeleteCall) Do(opts .. if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleProtobufEmpty{ + ret := &GoogleCloudDialogflowCxV3beta1Intent{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -17092,30 +22389,30 @@ func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsDeleteCall) Do(opts .. } return ret, nil // { - // "description": "Deletes the specified TransitionRouteGroup.", - // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/transitionRouteGroups/{transitionRouteGroupsId}", - // "httpMethod": "DELETE", - // "id": "dialogflow.projects.locations.agents.flows.transitionRouteGroups.delete", + // "description": "Retrieves the specified intent.", + // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/intents/{intentsId}", + // "httpMethod": "GET", + // "id": "dialogflow.projects.locations.agents.intents.get", // "parameterOrder": [ // "name" // ], // "parameters": { - // "force": { - // "description": "This field has no effect for transition route group that no page is using. If the transition route group is referenced by any page: * If `force` is set to false, an error will be returned with message indicating pages that reference the transition route group. * If `force` is set to true, Dialogflow will remove the transition route group, as well as any reference to it.", + // "languageCode": { + // "description": "The language to retrieve the intent for. The following fields are language dependent: * `Intent.training_phrases.parts.text` If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", // "location": "query", - // "type": "boolean" + // "type": "string" // }, // "name": { - // "description": "Required. The name of the TransitionRouteGroup to delete. Format: `projects//locations//agents//flows//transitionRouteGroups/`.", + // "description": "Required. The name of the intent. Format: `projects//locations//agents//intents/`.", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+/transitionRouteGroups/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/intents/[^/]+$", // "required": true, // "type": "string" // } // }, // "path": "v3beta1/{+name}", // "response": { - // "$ref": "GoogleProtobufEmpty" + // "$ref": "GoogleCloudDialogflowCxV3beta1Intent" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -17125,40 +22422,68 @@ func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsDeleteCall) Do(opts .. } -// method id "dialogflow.projects.locations.agents.flows.transitionRouteGroups.get": +// method id "dialogflow.projects.locations.agents.intents.list": -type ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall struct { +type ProjectsLocationsAgentsIntentsListCall struct { s *Service - name string + parent string urlParams_ gensupport.URLParams ifNoneMatch_ string ctx_ context.Context header_ http.Header } -// Get: Retrieves the specified TransitionRouteGroup. -func (r *ProjectsLocationsAgentsFlowsTransitionRouteGroupsService) Get(name string) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall { - c := &ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.name = name +// List: Returns the list of all intents in the specified agent. +func (r *ProjectsLocationsAgentsIntentsService) List(parent string) *ProjectsLocationsAgentsIntentsListCall { + c := &ProjectsLocationsAgentsIntentsListCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.parent = parent + return c +} + +// IntentView sets the optional parameter "intentView": The resource +// view to apply to the returned intent. +// +// Possible values: +// "INTENT_VIEW_UNSPECIFIED" - Not specified. Treated as +// INTENT_VIEW_FULL. +// "INTENT_VIEW_PARTIAL" - Training phrases field is not populated in +// the response. +// "INTENT_VIEW_FULL" - All fields are populated. +func (c *ProjectsLocationsAgentsIntentsListCall) IntentView(intentView string) *ProjectsLocationsAgentsIntentsListCall { + c.urlParams_.Set("intentView", intentView) return c } // LanguageCode sets the optional parameter "languageCode": The language -// to list transition route groups for. The field `messages` in -// TransitionRoute is language dependent. If not specified, the agent's +// to list intents for. The following fields are language dependent: * +// `Intent.training_phrases.parts.text` If not specified, the agent's // default language is used. [Many // languages](https://cloud.google.com/dialogflow/docs/reference/language // ) are supported. Note: languages must be enabled in the agent before // they can be used. -func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall { +func (c *ProjectsLocationsAgentsIntentsListCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsIntentsListCall { c.urlParams_.Set("languageCode", languageCode) return c } +// PageSize sets the optional parameter "pageSize": The maximum number +// of items to return in a single page. By default 100 and at most 1000. +func (c *ProjectsLocationsAgentsIntentsListCall) PageSize(pageSize int64) *ProjectsLocationsAgentsIntentsListCall { + c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) + return c +} + +// PageToken sets the optional parameter "pageToken": The +// next_page_token value returned from a previous list request. +func (c *ProjectsLocationsAgentsIntentsListCall) PageToken(pageToken string) *ProjectsLocationsAgentsIntentsListCall { + c.urlParams_.Set("pageToken", pageToken) + return c +} + // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall { +func (c *ProjectsLocationsAgentsIntentsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsIntentsListCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -17168,7 +22493,7 @@ func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall) Fields(s ...g // getting updates only after the object has changed since the last // request. Use googleapi.IsNotModified to check whether the response // error from Do is the result of In-None-Match. -func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall { +func (c *ProjectsLocationsAgentsIntentsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsIntentsListCall { c.ifNoneMatch_ = entityTag return c } @@ -17176,23 +22501,23 @@ func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall) IfNoneMatch(e // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall { +func (c *ProjectsLocationsAgentsIntentsListCall) Context(ctx context.Context) *ProjectsLocationsAgentsIntentsListCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall) Header() http.Header { +func (c *ProjectsLocationsAgentsIntentsListCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsIntentsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17203,7 +22528,7 @@ func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall) doRequest(alt var body io.Reader = nil c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+name}") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+parent}/intents") urls += "?" + c.urlParams_.Encode() req, err := http.NewRequest("GET", urls, body) if err != nil { @@ -17211,21 +22536,21 @@ func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall) doRequest(alt } req.Header = reqHeaders googleapi.Expand(req.URL, map[string]string{ - "name": c.name, + "parent": c.parent, }) return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.flows.transitionRouteGroups.get" call. -// Exactly one of *GoogleCloudDialogflowCxV3beta1TransitionRouteGroup or +// Do executes the "dialogflow.projects.locations.agents.intents.list" call. +// Exactly one of *GoogleCloudDialogflowCxV3beta1ListIntentsResponse or // error will be non-nil. Any non-2xx status code is an error. Response // headers are in either -// *GoogleCloudDialogflowCxV3beta1TransitionRouteGroup.ServerResponse.Hea -// der or (if a response was returned at all) in +// *GoogleCloudDialogflowCxV3beta1ListIntentsResponse.ServerResponse.Head +// er or (if a response was returned at all) in // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check // whether the returned error was because http.StatusNotModified was // returned. -func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1TransitionRouteGroup, error) { +func (c *ProjectsLocationsAgentsIntentsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1ListIntentsResponse, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -17244,7 +22569,7 @@ func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall) Do(opts ...go if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleCloudDialogflowCxV3beta1TransitionRouteGroup{ + ret := &GoogleCloudDialogflowCxV3beta1ListIntentsResponse{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -17256,30 +22581,56 @@ func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall) Do(opts ...go } return ret, nil // { - // "description": "Retrieves the specified TransitionRouteGroup.", - // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/transitionRouteGroups/{transitionRouteGroupsId}", + // "description": "Returns the list of all intents in the specified agent.", + // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/intents", // "httpMethod": "GET", - // "id": "dialogflow.projects.locations.agents.flows.transitionRouteGroups.get", + // "id": "dialogflow.projects.locations.agents.intents.list", // "parameterOrder": [ - // "name" + // "parent" // ], // "parameters": { + // "intentView": { + // "description": "The resource view to apply to the returned intent.", + // "enum": [ + // "INTENT_VIEW_UNSPECIFIED", + // "INTENT_VIEW_PARTIAL", + // "INTENT_VIEW_FULL" + // ], + // "enumDescriptions": [ + // "Not specified. Treated as INTENT_VIEW_FULL.", + // "Training phrases field is not populated in the response.", + // "All fields are populated." + // ], + // "location": "query", + // "type": "string" + // }, // "languageCode": { - // "description": "The language to list transition route groups for. The field `messages` in TransitionRoute is language dependent. If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", + // "description": "The language to list intents for. The following fields are language dependent: * `Intent.training_phrases.parts.text` If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", // "location": "query", // "type": "string" // }, - // "name": { - // "description": "Required. The name of the TransitionRouteGroup. Format: `projects//locations//agents//flows//transitionRouteGroups/`.", + // "pageSize": { + // "description": "The maximum number of items to return in a single page. By default 100 and at most 1000.", + // "format": "int32", + // "location": "query", + // "type": "integer" + // }, + // "pageToken": { + // "description": "The next_page_token value returned from a previous list request.", + // "location": "query", + // "type": "string" + // }, + // "parent": { + // "description": "Required. The agent to list all intents for. Format: `projects//locations//agents/`.", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+/transitionRouteGroups/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", // "required": true, // "type": "string" // } // }, - // "path": "v3beta1/{+name}", + // "path": "v3beta1/{+parent}/intents", // "response": { - // "$ref": "GoogleCloudDialogflowCxV3beta1TransitionRouteGroup" + // "$ref": "GoogleCloudDialogflowCxV3beta1ListIntentsResponse" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -17289,123 +22640,128 @@ func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall) Do(opts ...go } -// method id "dialogflow.projects.locations.agents.flows.transitionRouteGroups.list": +// Pages invokes f for each page of results. +// A non-nil error returned from f will halt the iteration. +// The provided context supersedes any context provided to the Context method. +func (c *ProjectsLocationsAgentsIntentsListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowCxV3beta1ListIntentsResponse) error) error { + c.ctx_ = ctx + defer c.PageToken(c.urlParams_.Get("pageToken")) // reset paging to original point + for { + x, err := c.Do() + if err != nil { + return err + } + if err := f(x); err != nil { + return err + } + if x.NextPageToken == "" { + return nil + } + c.PageToken(x.NextPageToken) + } +} -type ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall struct { - s *Service - parent string - urlParams_ gensupport.URLParams - ifNoneMatch_ string - ctx_ context.Context - header_ http.Header +// method id "dialogflow.projects.locations.agents.intents.patch": + +type ProjectsLocationsAgentsIntentsPatchCall struct { + s *Service + nameid string + googleclouddialogflowcxv3beta1intent *GoogleCloudDialogflowCxV3beta1Intent + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header } -// List: Returns the list of all transition route groups in the -// specified flow. -func (r *ProjectsLocationsAgentsFlowsTransitionRouteGroupsService) List(parent string) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall { - c := &ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.parent = parent +// Patch: Updates the specified intent. +func (r *ProjectsLocationsAgentsIntentsService) Patch(nameid string, googleclouddialogflowcxv3beta1intent *GoogleCloudDialogflowCxV3beta1Intent) *ProjectsLocationsAgentsIntentsPatchCall { + c := &ProjectsLocationsAgentsIntentsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.nameid = nameid + c.googleclouddialogflowcxv3beta1intent = googleclouddialogflowcxv3beta1intent return c } // LanguageCode sets the optional parameter "languageCode": The language -// to list transition route groups for. The field `messages` in -// TransitionRoute is language dependent. If not specified, the agent's +// of the following fields in `intent`: * +// `Intent.training_phrases.parts.text` If not specified, the agent's // default language is used. [Many // languages](https://cloud.google.com/dialogflow/docs/reference/language // ) are supported. Note: languages must be enabled in the agent before // they can be used. -func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall { +func (c *ProjectsLocationsAgentsIntentsPatchCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsIntentsPatchCall { c.urlParams_.Set("languageCode", languageCode) return c } -// PageSize sets the optional parameter "pageSize": The maximum number -// of items to return in a single page. By default 100 and at most 1000. -func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall) PageSize(pageSize int64) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall { - c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) - return c -} - -// PageToken sets the optional parameter "pageToken": The -// next_page_token value returned from a previous list request. -func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall) PageToken(pageToken string) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall { - c.urlParams_.Set("pageToken", pageToken) +// UpdateMask sets the optional parameter "updateMask": The mask to +// control which fields get updated. If the mask is not present, all +// fields will be updated. +func (c *ProjectsLocationsAgentsIntentsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsAgentsIntentsPatchCall { + c.urlParams_.Set("updateMask", updateMask) return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall { +func (c *ProjectsLocationsAgentsIntentsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsIntentsPatchCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } -// IfNoneMatch sets the optional parameter which makes the operation -// fail if the object's ETag matches the given value. This is useful for -// getting updates only after the object has changed since the last -// request. Use googleapi.IsNotModified to check whether the response -// error from Do is the result of In-None-Match. -func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall { - c.ifNoneMatch_ = entityTag - return c -} - // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall { +func (c *ProjectsLocationsAgentsIntentsPatchCall) Context(ctx context.Context) *ProjectsLocationsAgentsIntentsPatchCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall) Header() http.Header { +func (c *ProjectsLocationsAgentsIntentsPatchCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsIntentsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } reqHeaders.Set("User-Agent", c.s.userAgent()) - if c.ifNoneMatch_ != "" { - reqHeaders.Set("If-None-Match", c.ifNoneMatch_) - } var body io.Reader = nil + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3beta1intent) + if err != nil { + return nil, err + } + reqHeaders.Set("Content-Type", "application/json") c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+parent}/transitionRouteGroups") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+name}") urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("GET", urls, body) + req, err := http.NewRequest("PATCH", urls, body) if err != nil { return nil, err } req.Header = reqHeaders googleapi.Expand(req.URL, map[string]string{ - "parent": c.parent, + "name": c.nameid, }) return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.flows.transitionRouteGroups.list" call. -// Exactly one of -// *GoogleCloudDialogflowCxV3beta1ListTransitionRouteGroupsResponse or -// error will be non-nil. Any non-2xx status code is an error. Response -// headers are in either -// *GoogleCloudDialogflowCxV3beta1ListTransitionRouteGroupsResponse.Serve -// rResponse.Header or (if a response was returned at all) in +// Do executes the "dialogflow.projects.locations.agents.intents.patch" call. +// Exactly one of *GoogleCloudDialogflowCxV3beta1Intent or error will be +// non-nil. Any non-2xx status code is an error. Response headers are in +// either *GoogleCloudDialogflowCxV3beta1Intent.ServerResponse.Header or +// (if a response was returned at all) in // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check // whether the returned error was because http.StatusNotModified was // returned. -func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1ListTransitionRouteGroupsResponse, error) { +func (c *ProjectsLocationsAgentsIntentsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1Intent, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -17424,7 +22780,7 @@ func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall) Do(opts ...g if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleCloudDialogflowCxV3beta1ListTransitionRouteGroupsResponse{ + ret := &GoogleCloudDialogflowCxV3beta1Intent{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -17436,41 +22792,39 @@ func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall) Do(opts ...g } return ret, nil // { - // "description": "Returns the list of all transition route groups in the specified flow.", - // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/transitionRouteGroups", - // "httpMethod": "GET", - // "id": "dialogflow.projects.locations.agents.flows.transitionRouteGroups.list", + // "description": "Updates the specified intent.", + // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/intents/{intentsId}", + // "httpMethod": "PATCH", + // "id": "dialogflow.projects.locations.agents.intents.patch", // "parameterOrder": [ - // "parent" + // "name" // ], // "parameters": { // "languageCode": { - // "description": "The language to list transition route groups for. The field `messages` in TransitionRoute is language dependent. If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", - // "location": "query", - // "type": "string" - // }, - // "pageSize": { - // "description": "The maximum number of items to return in a single page. By default 100 and at most 1000.", - // "format": "int32", - // "location": "query", - // "type": "integer" - // }, - // "pageToken": { - // "description": "The next_page_token value returned from a previous list request.", + // "description": "The language of the following fields in `intent`: * `Intent.training_phrases.parts.text` If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", // "location": "query", // "type": "string" // }, - // "parent": { - // "description": "Required. The flow to list all transition route groups for. Format: `projects//locations//agents//flows/`.", + // "name": { + // "description": "The unique identifier of the intent. Required for the Intents.UpdateIntent method. Intents.CreateIntent populates the name automatically. Format: `projects//locations//agents//intents/`.", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/intents/[^/]+$", // "required": true, // "type": "string" + // }, + // "updateMask": { + // "description": "The mask to control which fields get updated. If the mask is not present, all fields will be updated.", + // "format": "google-fieldmask", + // "location": "query", + // "type": "string" // } // }, - // "path": "v3beta1/{+parent}/transitionRouteGroups", + // "path": "v3beta1/{+name}", + // "request": { + // "$ref": "GoogleCloudDialogflowCxV3beta1Intent" + // }, // "response": { - // "$ref": "GoogleCloudDialogflowCxV3beta1ListTransitionRouteGroupsResponse" + // "$ref": "GoogleCloudDialogflowCxV3beta1Intent" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -17480,69 +22834,35 @@ func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall) Do(opts ...g } -// Pages invokes f for each page of results. -// A non-nil error returned from f will halt the iteration. -// The provided context supersedes any context provided to the Context method. -func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowCxV3beta1ListTransitionRouteGroupsResponse) error) error { - c.ctx_ = ctx - defer c.PageToken(c.urlParams_.Get("pageToken")) // reset paging to original point - for { - x, err := c.Do() - if err != nil { - return err - } - if err := f(x); err != nil { - return err - } - if x.NextPageToken == "" { - return nil - } - c.PageToken(x.NextPageToken) - } -} - -// method id "dialogflow.projects.locations.agents.flows.transitionRouteGroups.patch": - -type ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall struct { - s *Service - nameid string - googleclouddialogflowcxv3beta1transitionroutegroup *GoogleCloudDialogflowCxV3beta1TransitionRouteGroup - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header -} - -// Patch: Updates the specified TransitionRouteGroup. -func (r *ProjectsLocationsAgentsFlowsTransitionRouteGroupsService) Patch(nameid string, googleclouddialogflowcxv3beta1transitionroutegroup *GoogleCloudDialogflowCxV3beta1TransitionRouteGroup) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall { - c := &ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.nameid = nameid - c.googleclouddialogflowcxv3beta1transitionroutegroup = googleclouddialogflowcxv3beta1transitionroutegroup - return c -} +// method id "dialogflow.projects.locations.agents.sessions.detectIntent": -// LanguageCode sets the optional parameter "languageCode": The language -// to list transition route groups for. The field `messages` in -// TransitionRoute is language dependent. If not specified, the agent's -// default language is used. [Many -// languages](https://cloud.google.com/dialogflow/docs/reference/language -// ) are supported. Note: languages must be enabled in the agent before -// they can be used. -func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall { - c.urlParams_.Set("languageCode", languageCode) - return c +type ProjectsLocationsAgentsSessionsDetectIntentCall struct { + s *Service + sessionid string + googleclouddialogflowcxv3beta1detectintentrequest *GoogleCloudDialogflowCxV3beta1DetectIntentRequest + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header } -// UpdateMask sets the optional parameter "updateMask": The mask to -// control which fields get updated. -func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall { - c.urlParams_.Set("updateMask", updateMask) +// DetectIntent: Processes a natural language query and returns +// structured, actionable data as a result. This method is not +// idempotent, because it may cause session entity types to be updated, +// which in turn might affect results of future queries. Note: Always +// use agent versions for production traffic. See [Versions and +// environments](https://cloud.google.com/dialogflow/cx/docs/concept/vers +// ion). +func (r *ProjectsLocationsAgentsSessionsService) DetectIntent(sessionid string, googleclouddialogflowcxv3beta1detectintentrequest *GoogleCloudDialogflowCxV3beta1DetectIntentRequest) *ProjectsLocationsAgentsSessionsDetectIntentCall { + c := &ProjectsLocationsAgentsSessionsDetectIntentCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.sessionid = sessionid + c.googleclouddialogflowcxv3beta1detectintentrequest = googleclouddialogflowcxv3beta1detectintentrequest return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall { +func (c *ProjectsLocationsAgentsSessionsDetectIntentCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsSessionsDetectIntentCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -17550,58 +22870,58 @@ func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall) Fields(s .. // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall { +func (c *ProjectsLocationsAgentsSessionsDetectIntentCall) Context(ctx context.Context) *ProjectsLocationsAgentsSessionsDetectIntentCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall) Header() http.Header { +func (c *ProjectsLocationsAgentsSessionsDetectIntentCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsSessionsDetectIntentCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } reqHeaders.Set("User-Agent", c.s.userAgent()) var body io.Reader = nil - body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3beta1transitionroutegroup) + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3beta1detectintentrequest) if err != nil { return nil, err } reqHeaders.Set("Content-Type", "application/json") c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+name}") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+session}:detectIntent") urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("PATCH", urls, body) + req, err := http.NewRequest("POST", urls, body) if err != nil { return nil, err } req.Header = reqHeaders googleapi.Expand(req.URL, map[string]string{ - "name": c.nameid, + "session": c.sessionid, }) return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.flows.transitionRouteGroups.patch" call. -// Exactly one of *GoogleCloudDialogflowCxV3beta1TransitionRouteGroup or +// Do executes the "dialogflow.projects.locations.agents.sessions.detectIntent" call. +// Exactly one of *GoogleCloudDialogflowCxV3beta1DetectIntentResponse or // error will be non-nil. Any non-2xx status code is an error. Response // headers are in either -// *GoogleCloudDialogflowCxV3beta1TransitionRouteGroup.ServerResponse.Hea +// *GoogleCloudDialogflowCxV3beta1DetectIntentResponse.ServerResponse.Hea // der or (if a response was returned at all) in // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check // whether the returned error was because http.StatusNotModified was // returned. -func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1TransitionRouteGroup, error) { +func (c *ProjectsLocationsAgentsSessionsDetectIntentCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1DetectIntentResponse, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -17620,7 +22940,7 @@ func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall) Do(opts ... if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleCloudDialogflowCxV3beta1TransitionRouteGroup{ + ret := &GoogleCloudDialogflowCxV3beta1DetectIntentResponse{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -17632,39 +22952,28 @@ func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall) Do(opts ... } return ret, nil // { - // "description": "Updates the specified TransitionRouteGroup.", - // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/transitionRouteGroups/{transitionRouteGroupsId}", - // "httpMethod": "PATCH", - // "id": "dialogflow.projects.locations.agents.flows.transitionRouteGroups.patch", + // "description": "Processes a natural language query and returns structured, actionable data as a result. This method is not idempotent, because it may cause session entity types to be updated, which in turn might affect results of future queries. Note: Always use agent versions for production traffic. See [Versions and environments](https://cloud.google.com/dialogflow/cx/docs/concept/version).", + // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/sessions/{sessionsId}:detectIntent", + // "httpMethod": "POST", + // "id": "dialogflow.projects.locations.agents.sessions.detectIntent", // "parameterOrder": [ - // "name" + // "session" // ], // "parameters": { - // "languageCode": { - // "description": "The language to list transition route groups for. The field `messages` in TransitionRoute is language dependent. If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", - // "location": "query", - // "type": "string" - // }, - // "name": { - // "description": "The unique identifier of the transition route group. TransitionRouteGroups.CreateTransitionRouteGroup populates the name automatically. Format: `projects//locations//agents//flows//transitionRouteGroups/`.", + // "session": { + // "description": "Required. The name of the session this query is sent to. Format: `projects//locations//agents//sessions/` or `projects//locations//agents//environments//sessions/`. If `Environment ID` is not specified, we assume default 'draft' environment. It's up to the API caller to choose an appropriate `Session ID`. It can be a random number or some type of session identifiers (preferably hashed). The length of the `Session ID` must not exceed 36 characters. For more information, see the [sessions guide](https://cloud.google.com/dialogflow/cx/docs/concept/session). Note: Always use agent versions for production traffic. See [Versions and environments](https://cloud.google.com/dialogflow/cx/docs/concept/version).", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+/transitionRouteGroups/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/sessions/[^/]+$", // "required": true, // "type": "string" - // }, - // "updateMask": { - // "description": "The mask to control which fields get updated.", - // "format": "google-fieldmask", - // "location": "query", - // "type": "string" // } // }, - // "path": "v3beta1/{+name}", + // "path": "v3beta1/{+session}:detectIntent", // "request": { - // "$ref": "GoogleCloudDialogflowCxV3beta1TransitionRouteGroup" + // "$ref": "GoogleCloudDialogflowCxV3beta1DetectIntentRequest" // }, // "response": { - // "$ref": "GoogleCloudDialogflowCxV3beta1TransitionRouteGroup" + // "$ref": "GoogleCloudDialogflowCxV3beta1DetectIntentResponse" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -17674,29 +22983,31 @@ func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall) Do(opts ... } -// method id "dialogflow.projects.locations.agents.flows.versions.create": +// method id "dialogflow.projects.locations.agents.sessions.fulfillIntent": -type ProjectsLocationsAgentsFlowsVersionsCreateCall struct { - s *Service - parent string - googleclouddialogflowcxv3beta1version *GoogleCloudDialogflowCxV3beta1Version - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header +type ProjectsLocationsAgentsSessionsFulfillIntentCall struct { + s *Service + sessionid string + googleclouddialogflowcxv3beta1fulfillintentrequest *GoogleCloudDialogflowCxV3beta1FulfillIntentRequest + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header } -// Create: Creates a Version in the specified Flow. -func (r *ProjectsLocationsAgentsFlowsVersionsService) Create(parent string, googleclouddialogflowcxv3beta1version *GoogleCloudDialogflowCxV3beta1Version) *ProjectsLocationsAgentsFlowsVersionsCreateCall { - c := &ProjectsLocationsAgentsFlowsVersionsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.parent = parent - c.googleclouddialogflowcxv3beta1version = googleclouddialogflowcxv3beta1version +// FulfillIntent: Fulfills a matched intent returned by MatchIntent. +// Must be called after MatchIntent, with input from +// MatchIntentResponse. Otherwise, the behavior is undefined. +func (r *ProjectsLocationsAgentsSessionsService) FulfillIntent(sessionid string, googleclouddialogflowcxv3beta1fulfillintentrequest *GoogleCloudDialogflowCxV3beta1FulfillIntentRequest) *ProjectsLocationsAgentsSessionsFulfillIntentCall { + c := &ProjectsLocationsAgentsSessionsFulfillIntentCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.sessionid = sessionid + c.googleclouddialogflowcxv3beta1fulfillintentrequest = googleclouddialogflowcxv3beta1fulfillintentrequest return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsFlowsVersionsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsVersionsCreateCall { +func (c *ProjectsLocationsAgentsSessionsFulfillIntentCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsSessionsFulfillIntentCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -17704,36 +23015,36 @@ func (c *ProjectsLocationsAgentsFlowsVersionsCreateCall) Fields(s ...googleapi.F // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsFlowsVersionsCreateCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsVersionsCreateCall { +func (c *ProjectsLocationsAgentsSessionsFulfillIntentCall) Context(ctx context.Context) *ProjectsLocationsAgentsSessionsFulfillIntentCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsFlowsVersionsCreateCall) Header() http.Header { +func (c *ProjectsLocationsAgentsSessionsFulfillIntentCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsFlowsVersionsCreateCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsSessionsFulfillIntentCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } reqHeaders.Set("User-Agent", c.s.userAgent()) var body io.Reader = nil - body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3beta1version) + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3beta1fulfillintentrequest) if err != nil { return nil, err } reqHeaders.Set("Content-Type", "application/json") c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+parent}/versions") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+session}:fulfillIntent") urls += "?" + c.urlParams_.Encode() req, err := http.NewRequest("POST", urls, body) if err != nil { @@ -17741,19 +23052,21 @@ func (c *ProjectsLocationsAgentsFlowsVersionsCreateCall) doRequest(alt string) ( } req.Header = reqHeaders googleapi.Expand(req.URL, map[string]string{ - "parent": c.parent, + "session": c.sessionid, }) return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.flows.versions.create" call. -// Exactly one of *GoogleLongrunningOperation or error will be non-nil. -// Any non-2xx status code is an error. Response headers are in either -// *GoogleLongrunningOperation.ServerResponse.Header or (if a response -// was returned at all) in error.(*googleapi.Error).Header. Use -// googleapi.IsNotModified to check whether the returned error was -// because http.StatusNotModified was returned. -func (c *ProjectsLocationsAgentsFlowsVersionsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error) { +// Do executes the "dialogflow.projects.locations.agents.sessions.fulfillIntent" call. +// Exactly one of *GoogleCloudDialogflowCxV3beta1FulfillIntentResponse +// or error will be non-nil. Any non-2xx status code is an error. +// Response headers are in either +// *GoogleCloudDialogflowCxV3beta1FulfillIntentResponse.ServerResponse.He +// ader or (if a response was returned at all) in +// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check +// whether the returned error was because http.StatusNotModified was +// returned. +func (c *ProjectsLocationsAgentsSessionsFulfillIntentCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1FulfillIntentResponse, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -17772,7 +23085,7 @@ func (c *ProjectsLocationsAgentsFlowsVersionsCreateCall) Do(opts ...googleapi.Ca if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleLongrunningOperation{ + ret := &GoogleCloudDialogflowCxV3beta1FulfillIntentResponse{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -17784,28 +23097,28 @@ func (c *ProjectsLocationsAgentsFlowsVersionsCreateCall) Do(opts ...googleapi.Ca } return ret, nil // { - // "description": "Creates a Version in the specified Flow.", - // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/versions", + // "description": "Fulfills a matched intent returned by MatchIntent. Must be called after MatchIntent, with input from MatchIntentResponse. Otherwise, the behavior is undefined.", + // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/sessions/{sessionsId}:fulfillIntent", // "httpMethod": "POST", - // "id": "dialogflow.projects.locations.agents.flows.versions.create", + // "id": "dialogflow.projects.locations.agents.sessions.fulfillIntent", // "parameterOrder": [ - // "parent" + // "session" // ], // "parameters": { - // "parent": { - // "description": "Required. The Flow to create an Version for. Format: `projects//locations//agents//flows/`.", + // "session": { + // "description": "Required. The name of the session this query is sent to. Format: `projects//locations//agents//sessions/` or `projects//locations//agents//environments//sessions/`. If `Environment ID` is not specified, we assume default 'draft' environment. It's up to the API caller to choose an appropriate `Session ID`. It can be a random number or some type of session identifiers (preferably hashed). The length of the `Session ID` must not exceed 36 characters. For more information, see the [sessions guide](https://cloud.google.com/dialogflow/cx/docs/concept/session).", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/sessions/[^/]+$", // "required": true, // "type": "string" // } // }, - // "path": "v3beta1/{+parent}/versions", + // "path": "v3beta1/{+session}:fulfillIntent", // "request": { - // "$ref": "GoogleCloudDialogflowCxV3beta1Version" + // "$ref": "GoogleCloudDialogflowCxV3beta1FulfillIntentRequest" // }, // "response": { - // "$ref": "GoogleLongrunningOperation" + // "$ref": "GoogleCloudDialogflowCxV3beta1FulfillIntentResponse" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -17815,27 +23128,30 @@ func (c *ProjectsLocationsAgentsFlowsVersionsCreateCall) Do(opts ...googleapi.Ca } -// method id "dialogflow.projects.locations.agents.flows.versions.delete": +// method id "dialogflow.projects.locations.agents.sessions.matchIntent": -type ProjectsLocationsAgentsFlowsVersionsDeleteCall struct { - s *Service - name string - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header +type ProjectsLocationsAgentsSessionsMatchIntentCall struct { + s *Service + sessionid string + googleclouddialogflowcxv3beta1matchintentrequest *GoogleCloudDialogflowCxV3beta1MatchIntentRequest + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header } -// Delete: Deletes the specified Version. -func (r *ProjectsLocationsAgentsFlowsVersionsService) Delete(name string) *ProjectsLocationsAgentsFlowsVersionsDeleteCall { - c := &ProjectsLocationsAgentsFlowsVersionsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.name = name +// MatchIntent: Returns preliminary intent match results, doesn't change +// the session status. +func (r *ProjectsLocationsAgentsSessionsService) MatchIntent(sessionid string, googleclouddialogflowcxv3beta1matchintentrequest *GoogleCloudDialogflowCxV3beta1MatchIntentRequest) *ProjectsLocationsAgentsSessionsMatchIntentCall { + c := &ProjectsLocationsAgentsSessionsMatchIntentCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.sessionid = sessionid + c.googleclouddialogflowcxv3beta1matchintentrequest = googleclouddialogflowcxv3beta1matchintentrequest return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsFlowsVersionsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsVersionsDeleteCall { +func (c *ProjectsLocationsAgentsSessionsMatchIntentCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsSessionsMatchIntentCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -17843,51 +23159,58 @@ func (c *ProjectsLocationsAgentsFlowsVersionsDeleteCall) Fields(s ...googleapi.F // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsFlowsVersionsDeleteCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsVersionsDeleteCall { +func (c *ProjectsLocationsAgentsSessionsMatchIntentCall) Context(ctx context.Context) *ProjectsLocationsAgentsSessionsMatchIntentCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsFlowsVersionsDeleteCall) Header() http.Header { +func (c *ProjectsLocationsAgentsSessionsMatchIntentCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsFlowsVersionsDeleteCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsSessionsMatchIntentCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } reqHeaders.Set("User-Agent", c.s.userAgent()) var body io.Reader = nil + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3beta1matchintentrequest) + if err != nil { + return nil, err + } + reqHeaders.Set("Content-Type", "application/json") c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+name}") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+session}:matchIntent") urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("DELETE", urls, body) + req, err := http.NewRequest("POST", urls, body) if err != nil { return nil, err } req.Header = reqHeaders googleapi.Expand(req.URL, map[string]string{ - "name": c.name, + "session": c.sessionid, }) return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.flows.versions.delete" call. -// Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any -// non-2xx status code is an error. Response headers are in either -// *GoogleProtobufEmpty.ServerResponse.Header or (if a response was -// returned at all) in error.(*googleapi.Error).Header. Use -// googleapi.IsNotModified to check whether the returned error was -// because http.StatusNotModified was returned. -func (c *ProjectsLocationsAgentsFlowsVersionsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error) { +// Do executes the "dialogflow.projects.locations.agents.sessions.matchIntent" call. +// Exactly one of *GoogleCloudDialogflowCxV3beta1MatchIntentResponse or +// error will be non-nil. Any non-2xx status code is an error. Response +// headers are in either +// *GoogleCloudDialogflowCxV3beta1MatchIntentResponse.ServerResponse.Head +// er or (if a response was returned at all) in +// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check +// whether the returned error was because http.StatusNotModified was +// returned. +func (c *ProjectsLocationsAgentsSessionsMatchIntentCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1MatchIntentResponse, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -17906,7 +23229,7 @@ func (c *ProjectsLocationsAgentsFlowsVersionsDeleteCall) Do(opts ...googleapi.Ca if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleProtobufEmpty{ + ret := &GoogleCloudDialogflowCxV3beta1MatchIntentResponse{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -17918,25 +23241,28 @@ func (c *ProjectsLocationsAgentsFlowsVersionsDeleteCall) Do(opts ...googleapi.Ca } return ret, nil // { - // "description": "Deletes the specified Version.", - // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/versions/{versionsId}", - // "httpMethod": "DELETE", - // "id": "dialogflow.projects.locations.agents.flows.versions.delete", + // "description": "Returns preliminary intent match results, doesn't change the session status.", + // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/sessions/{sessionsId}:matchIntent", + // "httpMethod": "POST", + // "id": "dialogflow.projects.locations.agents.sessions.matchIntent", // "parameterOrder": [ - // "name" + // "session" // ], // "parameters": { - // "name": { - // "description": "Required. The name of the Version to delete. Format: `projects//locations//agents//flows//versions/`.", + // "session": { + // "description": "Required. The name of the session this query is sent to. Format: `projects//locations//agents//sessions/` or `projects//locations//agents//environments//sessions/`. If `Environment ID` is not specified, we assume default 'draft' environment. It's up to the API caller to choose an appropriate `Session ID`. It can be a random number or some type of session identifiers (preferably hashed). The length of the `Session ID` must not exceed 36 characters. For more information, see the [sessions guide](https://cloud.google.com/dialogflow/cx/docs/concept/session).", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+/versions/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/sessions/[^/]+$", // "required": true, // "type": "string" // } // }, - // "path": "v3beta1/{+name}", + // "path": "v3beta1/{+session}:matchIntent", + // "request": { + // "$ref": "GoogleCloudDialogflowCxV3beta1MatchIntentRequest" + // }, // "response": { - // "$ref": "GoogleProtobufEmpty" + // "$ref": "GoogleCloudDialogflowCxV3beta1MatchIntentResponse" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -17946,94 +23272,89 @@ func (c *ProjectsLocationsAgentsFlowsVersionsDeleteCall) Do(opts ...googleapi.Ca } -// method id "dialogflow.projects.locations.agents.flows.versions.get": +// method id "dialogflow.projects.locations.agents.sessions.entityTypes.create": -type ProjectsLocationsAgentsFlowsVersionsGetCall struct { - s *Service - name string - urlParams_ gensupport.URLParams - ifNoneMatch_ string - ctx_ context.Context - header_ http.Header +type ProjectsLocationsAgentsSessionsEntityTypesCreateCall struct { + s *Service + parent string + googleclouddialogflowcxv3beta1sessionentitytype *GoogleCloudDialogflowCxV3beta1SessionEntityType + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header } -// Get: Retrieves the specified Version. -func (r *ProjectsLocationsAgentsFlowsVersionsService) Get(name string) *ProjectsLocationsAgentsFlowsVersionsGetCall { - c := &ProjectsLocationsAgentsFlowsVersionsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.name = name +// Create: Creates a session entity type. If the specified session +// entity type already exists, overrides the session entity type. +func (r *ProjectsLocationsAgentsSessionsEntityTypesService) Create(parent string, googleclouddialogflowcxv3beta1sessionentitytype *GoogleCloudDialogflowCxV3beta1SessionEntityType) *ProjectsLocationsAgentsSessionsEntityTypesCreateCall { + c := &ProjectsLocationsAgentsSessionsEntityTypesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.parent = parent + c.googleclouddialogflowcxv3beta1sessionentitytype = googleclouddialogflowcxv3beta1sessionentitytype return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsFlowsVersionsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsVersionsGetCall { +func (c *ProjectsLocationsAgentsSessionsEntityTypesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsSessionsEntityTypesCreateCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } -// IfNoneMatch sets the optional parameter which makes the operation -// fail if the object's ETag matches the given value. This is useful for -// getting updates only after the object has changed since the last -// request. Use googleapi.IsNotModified to check whether the response -// error from Do is the result of In-None-Match. -func (c *ProjectsLocationsAgentsFlowsVersionsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsFlowsVersionsGetCall { - c.ifNoneMatch_ = entityTag - return c -} - // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsFlowsVersionsGetCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsVersionsGetCall { +func (c *ProjectsLocationsAgentsSessionsEntityTypesCreateCall) Context(ctx context.Context) *ProjectsLocationsAgentsSessionsEntityTypesCreateCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsFlowsVersionsGetCall) Header() http.Header { +func (c *ProjectsLocationsAgentsSessionsEntityTypesCreateCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsFlowsVersionsGetCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsSessionsEntityTypesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } reqHeaders.Set("User-Agent", c.s.userAgent()) - if c.ifNoneMatch_ != "" { - reqHeaders.Set("If-None-Match", c.ifNoneMatch_) - } var body io.Reader = nil + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3beta1sessionentitytype) + if err != nil { + return nil, err + } + reqHeaders.Set("Content-Type", "application/json") c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+name}") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+parent}/entityTypes") urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("GET", urls, body) + req, err := http.NewRequest("POST", urls, body) if err != nil { return nil, err } req.Header = reqHeaders googleapi.Expand(req.URL, map[string]string{ - "name": c.name, + "parent": c.parent, }) return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.flows.versions.get" call. -// Exactly one of *GoogleCloudDialogflowCxV3beta1Version or error will -// be non-nil. Any non-2xx status code is an error. Response headers are -// in either -// *GoogleCloudDialogflowCxV3beta1Version.ServerResponse.Header or (if a -// response was returned at all) in error.(*googleapi.Error).Header. Use -// googleapi.IsNotModified to check whether the returned error was -// because http.StatusNotModified was returned. -func (c *ProjectsLocationsAgentsFlowsVersionsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1Version, error) { +// Do executes the "dialogflow.projects.locations.agents.sessions.entityTypes.create" call. +// Exactly one of *GoogleCloudDialogflowCxV3beta1SessionEntityType or +// error will be non-nil. Any non-2xx status code is an error. Response +// headers are in either +// *GoogleCloudDialogflowCxV3beta1SessionEntityType.ServerResponse.Header +// or (if a response was returned at all) in +// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check +// whether the returned error was because http.StatusNotModified was +// returned. +func (c *ProjectsLocationsAgentsSessionsEntityTypesCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1SessionEntityType, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -18052,7 +23373,7 @@ func (c *ProjectsLocationsAgentsFlowsVersionsGetCall) Do(opts ...googleapi.CallO if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleCloudDialogflowCxV3beta1Version{ + ret := &GoogleCloudDialogflowCxV3beta1SessionEntityType{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -18064,25 +23385,28 @@ func (c *ProjectsLocationsAgentsFlowsVersionsGetCall) Do(opts ...googleapi.CallO } return ret, nil // { - // "description": "Retrieves the specified Version.", - // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/versions/{versionsId}", - // "httpMethod": "GET", - // "id": "dialogflow.projects.locations.agents.flows.versions.get", + // "description": "Creates a session entity type. If the specified session entity type already exists, overrides the session entity type.", + // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/sessions/{sessionsId}/entityTypes", + // "httpMethod": "POST", + // "id": "dialogflow.projects.locations.agents.sessions.entityTypes.create", // "parameterOrder": [ - // "name" + // "parent" // ], // "parameters": { - // "name": { - // "description": "Required. The name of the Version. Format: `projects//locations//agents//flows//versions/`.", + // "parent": { + // "description": "Required. The session to create a session entity type for. Format: `projects//locations//agents//sessions/` or `projects//locations//agents//environments//sessions/`. If `Environment ID` is not specified, we assume default 'draft' environment.", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+/versions/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/sessions/[^/]+$", // "required": true, // "type": "string" // } // }, - // "path": "v3beta1/{+name}", + // "path": "v3beta1/{+parent}/entityTypes", + // "request": { + // "$ref": "GoogleCloudDialogflowCxV3beta1SessionEntityType" + // }, // "response": { - // "$ref": "GoogleCloudDialogflowCxV3beta1Version" + // "$ref": "GoogleCloudDialogflowCxV3beta1SessionEntityType" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -18092,109 +23416,79 @@ func (c *ProjectsLocationsAgentsFlowsVersionsGetCall) Do(opts ...googleapi.CallO } -// method id "dialogflow.projects.locations.agents.flows.versions.list": - -type ProjectsLocationsAgentsFlowsVersionsListCall struct { - s *Service - parent string - urlParams_ gensupport.URLParams - ifNoneMatch_ string - ctx_ context.Context - header_ http.Header -} - -// List: Returns the list of all versions in the specified Flow. -func (r *ProjectsLocationsAgentsFlowsVersionsService) List(parent string) *ProjectsLocationsAgentsFlowsVersionsListCall { - c := &ProjectsLocationsAgentsFlowsVersionsListCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.parent = parent - return c -} +// method id "dialogflow.projects.locations.agents.sessions.entityTypes.delete": -// PageSize sets the optional parameter "pageSize": The maximum number -// of items to return in a single page. By default 20 and at most 100. -func (c *ProjectsLocationsAgentsFlowsVersionsListCall) PageSize(pageSize int64) *ProjectsLocationsAgentsFlowsVersionsListCall { - c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) - return c +type ProjectsLocationsAgentsSessionsEntityTypesDeleteCall struct { + s *Service + name string + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header } -// PageToken sets the optional parameter "pageToken": The -// next_page_token value returned from a previous list request. -func (c *ProjectsLocationsAgentsFlowsVersionsListCall) PageToken(pageToken string) *ProjectsLocationsAgentsFlowsVersionsListCall { - c.urlParams_.Set("pageToken", pageToken) +// Delete: Deletes the specified session entity type. +func (r *ProjectsLocationsAgentsSessionsEntityTypesService) Delete(name string) *ProjectsLocationsAgentsSessionsEntityTypesDeleteCall { + c := &ProjectsLocationsAgentsSessionsEntityTypesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsFlowsVersionsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsVersionsListCall { +func (c *ProjectsLocationsAgentsSessionsEntityTypesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsSessionsEntityTypesDeleteCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } -// IfNoneMatch sets the optional parameter which makes the operation -// fail if the object's ETag matches the given value. This is useful for -// getting updates only after the object has changed since the last -// request. Use googleapi.IsNotModified to check whether the response -// error from Do is the result of In-None-Match. -func (c *ProjectsLocationsAgentsFlowsVersionsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsFlowsVersionsListCall { - c.ifNoneMatch_ = entityTag - return c -} - // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsFlowsVersionsListCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsVersionsListCall { +func (c *ProjectsLocationsAgentsSessionsEntityTypesDeleteCall) Context(ctx context.Context) *ProjectsLocationsAgentsSessionsEntityTypesDeleteCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsFlowsVersionsListCall) Header() http.Header { +func (c *ProjectsLocationsAgentsSessionsEntityTypesDeleteCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsFlowsVersionsListCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsSessionsEntityTypesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } reqHeaders.Set("User-Agent", c.s.userAgent()) - if c.ifNoneMatch_ != "" { - reqHeaders.Set("If-None-Match", c.ifNoneMatch_) - } var body io.Reader = nil c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+parent}/versions") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+name}") urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("GET", urls, body) + req, err := http.NewRequest("DELETE", urls, body) if err != nil { return nil, err } req.Header = reqHeaders googleapi.Expand(req.URL, map[string]string{ - "parent": c.parent, + "name": c.name, }) return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.flows.versions.list" call. -// Exactly one of *GoogleCloudDialogflowCxV3beta1ListVersionsResponse or -// error will be non-nil. Any non-2xx status code is an error. Response -// headers are in either -// *GoogleCloudDialogflowCxV3beta1ListVersionsResponse.ServerResponse.Hea -// der or (if a response was returned at all) in -// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check -// whether the returned error was because http.StatusNotModified was -// returned. -func (c *ProjectsLocationsAgentsFlowsVersionsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1ListVersionsResponse, error) { +// Do executes the "dialogflow.projects.locations.agents.sessions.entityTypes.delete" call. +// Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any +// non-2xx status code is an error. Response headers are in either +// *GoogleProtobufEmpty.ServerResponse.Header or (if a response was +// returned at all) in error.(*googleapi.Error).Header. Use +// googleapi.IsNotModified to check whether the returned error was +// because http.StatusNotModified was returned. +func (c *ProjectsLocationsAgentsSessionsEntityTypesDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -18213,7 +23507,7 @@ func (c *ProjectsLocationsAgentsFlowsVersionsListCall) Do(opts ...googleapi.Call if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleCloudDialogflowCxV3beta1ListVersionsResponse{ + ret := &GoogleProtobufEmpty{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -18225,36 +23519,25 @@ func (c *ProjectsLocationsAgentsFlowsVersionsListCall) Do(opts ...googleapi.Call } return ret, nil // { - // "description": "Returns the list of all versions in the specified Flow.", - // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/versions", - // "httpMethod": "GET", - // "id": "dialogflow.projects.locations.agents.flows.versions.list", + // "description": "Deletes the specified session entity type.", + // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/sessions/{sessionsId}/entityTypes/{entityTypesId}", + // "httpMethod": "DELETE", + // "id": "dialogflow.projects.locations.agents.sessions.entityTypes.delete", // "parameterOrder": [ - // "parent" + // "name" // ], // "parameters": { - // "pageSize": { - // "description": "The maximum number of items to return in a single page. By default 20 and at most 100.", - // "format": "int32", - // "location": "query", - // "type": "integer" - // }, - // "pageToken": { - // "description": "The next_page_token value returned from a previous list request.", - // "location": "query", - // "type": "string" - // }, - // "parent": { - // "description": "Required. The Flow to list all versions for. Format: `projects//locations//agents//flows/`.", + // "name": { + // "description": "Required. The name of the session entity type to delete. Format: `projects//locations//agents//sessions//entityTypes/` or `projects//locations//agents//environments//sessions//entityTypes/`. If `Environment ID` is not specified, we assume default 'draft' environment.", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/sessions/[^/]+/entityTypes/[^/]+$", // "required": true, // "type": "string" // } // }, - // "path": "v3beta1/{+parent}/versions", + // "path": "v3beta1/{+name}", // "response": { - // "$ref": "GoogleCloudDialogflowCxV3beta1ListVersionsResponse" + // "$ref": "GoogleProtobufEmpty" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -18264,89 +23547,75 @@ func (c *ProjectsLocationsAgentsFlowsVersionsListCall) Do(opts ...googleapi.Call } -// Pages invokes f for each page of results. -// A non-nil error returned from f will halt the iteration. -// The provided context supersedes any context provided to the Context method. -func (c *ProjectsLocationsAgentsFlowsVersionsListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowCxV3beta1ListVersionsResponse) error) error { - c.ctx_ = ctx - defer c.PageToken(c.urlParams_.Get("pageToken")) // reset paging to original point - for { - x, err := c.Do() - if err != nil { - return err - } - if err := f(x); err != nil { - return err - } - if x.NextPageToken == "" { - return nil - } - c.PageToken(x.NextPageToken) - } -} - -// method id "dialogflow.projects.locations.agents.flows.versions.load": +// method id "dialogflow.projects.locations.agents.sessions.entityTypes.get": -type ProjectsLocationsAgentsFlowsVersionsLoadCall struct { - s *Service - name string - googleclouddialogflowcxv3beta1loadversionrequest *GoogleCloudDialogflowCxV3beta1LoadVersionRequest - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header +type ProjectsLocationsAgentsSessionsEntityTypesGetCall struct { + s *Service + name string + urlParams_ gensupport.URLParams + ifNoneMatch_ string + ctx_ context.Context + header_ http.Header } -// Load: Loads a specified version to draft version. -func (r *ProjectsLocationsAgentsFlowsVersionsService) Load(name string, googleclouddialogflowcxv3beta1loadversionrequest *GoogleCloudDialogflowCxV3beta1LoadVersionRequest) *ProjectsLocationsAgentsFlowsVersionsLoadCall { - c := &ProjectsLocationsAgentsFlowsVersionsLoadCall{s: r.s, urlParams_: make(gensupport.URLParams)} +// Get: Retrieves the specified session entity type. +func (r *ProjectsLocationsAgentsSessionsEntityTypesService) Get(name string) *ProjectsLocationsAgentsSessionsEntityTypesGetCall { + c := &ProjectsLocationsAgentsSessionsEntityTypesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name - c.googleclouddialogflowcxv3beta1loadversionrequest = googleclouddialogflowcxv3beta1loadversionrequest return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsFlowsVersionsLoadCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsVersionsLoadCall { +func (c *ProjectsLocationsAgentsSessionsEntityTypesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsSessionsEntityTypesGetCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } +// IfNoneMatch sets the optional parameter which makes the operation +// fail if the object's ETag matches the given value. This is useful for +// getting updates only after the object has changed since the last +// request. Use googleapi.IsNotModified to check whether the response +// error from Do is the result of In-None-Match. +func (c *ProjectsLocationsAgentsSessionsEntityTypesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsSessionsEntityTypesGetCall { + c.ifNoneMatch_ = entityTag + return c +} + // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsFlowsVersionsLoadCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsVersionsLoadCall { +func (c *ProjectsLocationsAgentsSessionsEntityTypesGetCall) Context(ctx context.Context) *ProjectsLocationsAgentsSessionsEntityTypesGetCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsFlowsVersionsLoadCall) Header() http.Header { +func (c *ProjectsLocationsAgentsSessionsEntityTypesGetCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsFlowsVersionsLoadCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsSessionsEntityTypesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } reqHeaders.Set("User-Agent", c.s.userAgent()) - var body io.Reader = nil - body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3beta1loadversionrequest) - if err != nil { - return nil, err + if c.ifNoneMatch_ != "" { + reqHeaders.Set("If-None-Match", c.ifNoneMatch_) } - reqHeaders.Set("Content-Type", "application/json") + var body io.Reader = nil c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+name}:load") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+name}") urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("POST", urls, body) + req, err := http.NewRequest("GET", urls, body) if err != nil { return nil, err } @@ -18357,14 +23626,16 @@ func (c *ProjectsLocationsAgentsFlowsVersionsLoadCall) doRequest(alt string) (*h return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.flows.versions.load" call. -// Exactly one of *GoogleLongrunningOperation or error will be non-nil. -// Any non-2xx status code is an error. Response headers are in either -// *GoogleLongrunningOperation.ServerResponse.Header or (if a response -// was returned at all) in error.(*googleapi.Error).Header. Use -// googleapi.IsNotModified to check whether the returned error was -// because http.StatusNotModified was returned. -func (c *ProjectsLocationsAgentsFlowsVersionsLoadCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error) { +// Do executes the "dialogflow.projects.locations.agents.sessions.entityTypes.get" call. +// Exactly one of *GoogleCloudDialogflowCxV3beta1SessionEntityType or +// error will be non-nil. Any non-2xx status code is an error. Response +// headers are in either +// *GoogleCloudDialogflowCxV3beta1SessionEntityType.ServerResponse.Header +// or (if a response was returned at all) in +// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check +// whether the returned error was because http.StatusNotModified was +// returned. +func (c *ProjectsLocationsAgentsSessionsEntityTypesGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1SessionEntityType, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -18383,7 +23654,7 @@ func (c *ProjectsLocationsAgentsFlowsVersionsLoadCall) Do(opts ...googleapi.Call if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleLongrunningOperation{ + ret := &GoogleCloudDialogflowCxV3beta1SessionEntityType{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -18395,28 +23666,25 @@ func (c *ProjectsLocationsAgentsFlowsVersionsLoadCall) Do(opts ...googleapi.Call } return ret, nil // { - // "description": "Loads a specified version to draft version.", - // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/versions/{versionsId}:load", - // "httpMethod": "POST", - // "id": "dialogflow.projects.locations.agents.flows.versions.load", + // "description": "Retrieves the specified session entity type.", + // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/sessions/{sessionsId}/entityTypes/{entityTypesId}", + // "httpMethod": "GET", + // "id": "dialogflow.projects.locations.agents.sessions.entityTypes.get", // "parameterOrder": [ // "name" // ], // "parameters": { // "name": { - // "description": "Required. The Version to be loaded to draft version. Format: `projects//locations//agents//flows//versions/`.", + // "description": "Required. The name of the session entity type. Format: `projects//locations//agents//sessions//entityTypes/` or `projects//locations//agents//environments//sessions//entityTypes/`. If `Environment ID` is not specified, we assume default 'draft' environment.", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+/versions/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/sessions/[^/]+/entityTypes/[^/]+$", // "required": true, // "type": "string" // } // }, - // "path": "v3beta1/{+name}:load", - // "request": { - // "$ref": "GoogleCloudDialogflowCxV3beta1LoadVersionRequest" - // }, + // "path": "v3beta1/{+name}", // "response": { - // "$ref": "GoogleLongrunningOperation" + // "$ref": "GoogleCloudDialogflowCxV3beta1SessionEntityType" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -18426,95 +23694,111 @@ func (c *ProjectsLocationsAgentsFlowsVersionsLoadCall) Do(opts ...googleapi.Call } -// method id "dialogflow.projects.locations.agents.flows.versions.patch": +// method id "dialogflow.projects.locations.agents.sessions.entityTypes.list": + +type ProjectsLocationsAgentsSessionsEntityTypesListCall struct { + s *Service + parent string + urlParams_ gensupport.URLParams + ifNoneMatch_ string + ctx_ context.Context + header_ http.Header +} -type ProjectsLocationsAgentsFlowsVersionsPatchCall struct { - s *Service - name string - googleclouddialogflowcxv3beta1version *GoogleCloudDialogflowCxV3beta1Version - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header +// List: Returns the list of all session entity types in the specified +// session. +func (r *ProjectsLocationsAgentsSessionsEntityTypesService) List(parent string) *ProjectsLocationsAgentsSessionsEntityTypesListCall { + c := &ProjectsLocationsAgentsSessionsEntityTypesListCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.parent = parent + return c } -// Patch: Updates the specified Version. -func (r *ProjectsLocationsAgentsFlowsVersionsService) Patch(name string, googleclouddialogflowcxv3beta1version *GoogleCloudDialogflowCxV3beta1Version) *ProjectsLocationsAgentsFlowsVersionsPatchCall { - c := &ProjectsLocationsAgentsFlowsVersionsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.name = name - c.googleclouddialogflowcxv3beta1version = googleclouddialogflowcxv3beta1version +// PageSize sets the optional parameter "pageSize": The maximum number +// of items to return in a single page. By default 100 and at most 1000. +func (c *ProjectsLocationsAgentsSessionsEntityTypesListCall) PageSize(pageSize int64) *ProjectsLocationsAgentsSessionsEntityTypesListCall { + c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) return c } -// UpdateMask sets the optional parameter "updateMask": Required. The -// mask to control which fields get updated. Currently only -// `description` and `display_name` can be updated. -func (c *ProjectsLocationsAgentsFlowsVersionsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsAgentsFlowsVersionsPatchCall { - c.urlParams_.Set("updateMask", updateMask) +// PageToken sets the optional parameter "pageToken": The +// next_page_token value returned from a previous list request. +func (c *ProjectsLocationsAgentsSessionsEntityTypesListCall) PageToken(pageToken string) *ProjectsLocationsAgentsSessionsEntityTypesListCall { + c.urlParams_.Set("pageToken", pageToken) return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsFlowsVersionsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsVersionsPatchCall { +func (c *ProjectsLocationsAgentsSessionsEntityTypesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsSessionsEntityTypesListCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } +// IfNoneMatch sets the optional parameter which makes the operation +// fail if the object's ETag matches the given value. This is useful for +// getting updates only after the object has changed since the last +// request. Use googleapi.IsNotModified to check whether the response +// error from Do is the result of In-None-Match. +func (c *ProjectsLocationsAgentsSessionsEntityTypesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsSessionsEntityTypesListCall { + c.ifNoneMatch_ = entityTag + return c +} + // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsFlowsVersionsPatchCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsVersionsPatchCall { +func (c *ProjectsLocationsAgentsSessionsEntityTypesListCall) Context(ctx context.Context) *ProjectsLocationsAgentsSessionsEntityTypesListCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsFlowsVersionsPatchCall) Header() http.Header { +func (c *ProjectsLocationsAgentsSessionsEntityTypesListCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsFlowsVersionsPatchCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsSessionsEntityTypesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } reqHeaders.Set("User-Agent", c.s.userAgent()) - var body io.Reader = nil - body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3beta1version) - if err != nil { - return nil, err + if c.ifNoneMatch_ != "" { + reqHeaders.Set("If-None-Match", c.ifNoneMatch_) } - reqHeaders.Set("Content-Type", "application/json") + var body io.Reader = nil c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+name}") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+parent}/entityTypes") urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("PATCH", urls, body) + req, err := http.NewRequest("GET", urls, body) if err != nil { return nil, err } req.Header = reqHeaders googleapi.Expand(req.URL, map[string]string{ - "name": c.name, + "parent": c.parent, }) return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.flows.versions.patch" call. -// Exactly one of *GoogleCloudDialogflowCxV3beta1Version or error will -// be non-nil. Any non-2xx status code is an error. Response headers are -// in either -// *GoogleCloudDialogflowCxV3beta1Version.ServerResponse.Header or (if a -// response was returned at all) in error.(*googleapi.Error).Header. Use -// googleapi.IsNotModified to check whether the returned error was -// because http.StatusNotModified was returned. -func (c *ProjectsLocationsAgentsFlowsVersionsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1Version, error) { +// Do executes the "dialogflow.projects.locations.agents.sessions.entityTypes.list" call. +// Exactly one of +// *GoogleCloudDialogflowCxV3beta1ListSessionEntityTypesResponse or +// error will be non-nil. Any non-2xx status code is an error. Response +// headers are in either +// *GoogleCloudDialogflowCxV3beta1ListSessionEntityTypesResponse.ServerRe +// sponse.Header or (if a response was returned at all) in +// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check +// whether the returned error was because http.StatusNotModified was +// returned. +func (c *ProjectsLocationsAgentsSessionsEntityTypesListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1ListSessionEntityTypesResponse, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -18533,7 +23817,7 @@ func (c *ProjectsLocationsAgentsFlowsVersionsPatchCall) Do(opts ...googleapi.Cal if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleCloudDialogflowCxV3beta1Version{ + ret := &GoogleCloudDialogflowCxV3beta1ListSessionEntityTypesResponse{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -18545,34 +23829,36 @@ func (c *ProjectsLocationsAgentsFlowsVersionsPatchCall) Do(opts ...googleapi.Cal } return ret, nil // { - // "description": "Updates the specified Version.", - // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/flows/{flowsId}/versions/{versionsId}", - // "httpMethod": "PATCH", - // "id": "dialogflow.projects.locations.agents.flows.versions.patch", + // "description": "Returns the list of all session entity types in the specified session.", + // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/sessions/{sessionsId}/entityTypes", + // "httpMethod": "GET", + // "id": "dialogflow.projects.locations.agents.sessions.entityTypes.list", // "parameterOrder": [ - // "name" + // "parent" // ], // "parameters": { - // "name": { - // "description": "Format: projects//locations//agents//flows//versions/. Version ID is a self-increasing number generated by Dialogflow upon version creation.", - // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/flows/[^/]+/versions/[^/]+$", - // "required": true, - // "type": "string" + // "pageSize": { + // "description": "The maximum number of items to return in a single page. By default 100 and at most 1000.", + // "format": "int32", + // "location": "query", + // "type": "integer" // }, - // "updateMask": { - // "description": "Required. The mask to control which fields get updated. Currently only `description` and `display_name` can be updated.", - // "format": "google-fieldmask", + // "pageToken": { + // "description": "The next_page_token value returned from a previous list request.", // "location": "query", // "type": "string" + // }, + // "parent": { + // "description": "Required. The session to list all session entity types from. Format: `projects//locations//agents//sessions/` or `projects//locations//agents//environments//sessions/`. If `Environment ID` is not specified, we assume default 'draft' environment.", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/sessions/[^/]+$", + // "required": true, + // "type": "string" // } // }, - // "path": "v3beta1/{+name}", - // "request": { - // "$ref": "GoogleCloudDialogflowCxV3beta1Version" - // }, + // "path": "v3beta1/{+parent}/entityTypes", // "response": { - // "$ref": "GoogleCloudDialogflowCxV3beta1Version" + // "$ref": "GoogleCloudDialogflowCxV3beta1ListSessionEntityTypesResponse" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -18582,41 +23868,57 @@ func (c *ProjectsLocationsAgentsFlowsVersionsPatchCall) Do(opts ...googleapi.Cal } -// method id "dialogflow.projects.locations.agents.intents.create": +// Pages invokes f for each page of results. +// A non-nil error returned from f will halt the iteration. +// The provided context supersedes any context provided to the Context method. +func (c *ProjectsLocationsAgentsSessionsEntityTypesListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowCxV3beta1ListSessionEntityTypesResponse) error) error { + c.ctx_ = ctx + defer c.PageToken(c.urlParams_.Get("pageToken")) // reset paging to original point + for { + x, err := c.Do() + if err != nil { + return err + } + if err := f(x); err != nil { + return err + } + if x.NextPageToken == "" { + return nil + } + c.PageToken(x.NextPageToken) + } +} -type ProjectsLocationsAgentsIntentsCreateCall struct { - s *Service - parent string - googleclouddialogflowcxv3beta1intent *GoogleCloudDialogflowCxV3beta1Intent - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header +// method id "dialogflow.projects.locations.agents.sessions.entityTypes.patch": + +type ProjectsLocationsAgentsSessionsEntityTypesPatchCall struct { + s *Service + nameid string + googleclouddialogflowcxv3beta1sessionentitytype *GoogleCloudDialogflowCxV3beta1SessionEntityType + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header } -// Create: Creates an intent in the specified agent. -func (r *ProjectsLocationsAgentsIntentsService) Create(parent string, googleclouddialogflowcxv3beta1intent *GoogleCloudDialogflowCxV3beta1Intent) *ProjectsLocationsAgentsIntentsCreateCall { - c := &ProjectsLocationsAgentsIntentsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.parent = parent - c.googleclouddialogflowcxv3beta1intent = googleclouddialogflowcxv3beta1intent +// Patch: Updates the specified session entity type. +func (r *ProjectsLocationsAgentsSessionsEntityTypesService) Patch(nameid string, googleclouddialogflowcxv3beta1sessionentitytype *GoogleCloudDialogflowCxV3beta1SessionEntityType) *ProjectsLocationsAgentsSessionsEntityTypesPatchCall { + c := &ProjectsLocationsAgentsSessionsEntityTypesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.nameid = nameid + c.googleclouddialogflowcxv3beta1sessionentitytype = googleclouddialogflowcxv3beta1sessionentitytype return c } -// LanguageCode sets the optional parameter "languageCode": The language -// of the following fields in `intent`: * -// `Intent.training_phrases.parts.text` If not specified, the agent's -// default language is used. [Many -// languages](https://cloud.google.com/dialogflow/docs/reference/language -// ) are supported. Note: languages must be enabled in the agent before -// they can be used. -func (c *ProjectsLocationsAgentsIntentsCreateCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsIntentsCreateCall { - c.urlParams_.Set("languageCode", languageCode) +// UpdateMask sets the optional parameter "updateMask": The mask to +// control which fields get updated. +func (c *ProjectsLocationsAgentsSessionsEntityTypesPatchCall) UpdateMask(updateMask string) *ProjectsLocationsAgentsSessionsEntityTypesPatchCall { + c.urlParams_.Set("updateMask", updateMask) return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsIntentsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsIntentsCreateCall { +func (c *ProjectsLocationsAgentsSessionsEntityTypesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsSessionsEntityTypesPatchCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -18624,57 +23926,58 @@ func (c *ProjectsLocationsAgentsIntentsCreateCall) Fields(s ...googleapi.Field) // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsIntentsCreateCall) Context(ctx context.Context) *ProjectsLocationsAgentsIntentsCreateCall { +func (c *ProjectsLocationsAgentsSessionsEntityTypesPatchCall) Context(ctx context.Context) *ProjectsLocationsAgentsSessionsEntityTypesPatchCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsIntentsCreateCall) Header() http.Header { +func (c *ProjectsLocationsAgentsSessionsEntityTypesPatchCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsIntentsCreateCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsSessionsEntityTypesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } reqHeaders.Set("User-Agent", c.s.userAgent()) var body io.Reader = nil - body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3beta1intent) + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3beta1sessionentitytype) if err != nil { return nil, err } reqHeaders.Set("Content-Type", "application/json") c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+parent}/intents") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+name}") urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("POST", urls, body) + req, err := http.NewRequest("PATCH", urls, body) if err != nil { return nil, err } req.Header = reqHeaders googleapi.Expand(req.URL, map[string]string{ - "parent": c.parent, + "name": c.nameid, }) return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.intents.create" call. -// Exactly one of *GoogleCloudDialogflowCxV3beta1Intent or error will be -// non-nil. Any non-2xx status code is an error. Response headers are in -// either *GoogleCloudDialogflowCxV3beta1Intent.ServerResponse.Header or -// (if a response was returned at all) in +// Do executes the "dialogflow.projects.locations.agents.sessions.entityTypes.patch" call. +// Exactly one of *GoogleCloudDialogflowCxV3beta1SessionEntityType or +// error will be non-nil. Any non-2xx status code is an error. Response +// headers are in either +// *GoogleCloudDialogflowCxV3beta1SessionEntityType.ServerResponse.Header +// or (if a response was returned at all) in // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check // whether the returned error was because http.StatusNotModified was // returned. -func (c *ProjectsLocationsAgentsIntentsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1Intent, error) { +func (c *ProjectsLocationsAgentsSessionsEntityTypesPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1SessionEntityType, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -18693,7 +23996,7 @@ func (c *ProjectsLocationsAgentsIntentsCreateCall) Do(opts ...googleapi.CallOpti if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleCloudDialogflowCxV3beta1Intent{ + ret := &GoogleCloudDialogflowCxV3beta1SessionEntityType{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -18705,33 +24008,34 @@ func (c *ProjectsLocationsAgentsIntentsCreateCall) Do(opts ...googleapi.CallOpti } return ret, nil // { - // "description": "Creates an intent in the specified agent.", - // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/intents", - // "httpMethod": "POST", - // "id": "dialogflow.projects.locations.agents.intents.create", + // "description": "Updates the specified session entity type.", + // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/sessions/{sessionsId}/entityTypes/{entityTypesId}", + // "httpMethod": "PATCH", + // "id": "dialogflow.projects.locations.agents.sessions.entityTypes.patch", // "parameterOrder": [ - // "parent" + // "name" // ], // "parameters": { - // "languageCode": { - // "description": "The language of the following fields in `intent`: * `Intent.training_phrases.parts.text` If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", - // "location": "query", - // "type": "string" - // }, - // "parent": { - // "description": "Required. The agent to create an intent for. Format: `projects//locations//agents/`.", + // "name": { + // "description": "Required. The unique identifier of the session entity type. Format: `projects//locations//agents//sessions//entityTypes/` or `projects//locations//agents//environments//sessions//entityTypes/`. If `Environment ID` is not specified, we assume default 'draft' environment.", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/sessions/[^/]+/entityTypes/[^/]+$", // "required": true, // "type": "string" + // }, + // "updateMask": { + // "description": "The mask to control which fields get updated.", + // "format": "google-fieldmask", + // "location": "query", + // "type": "string" // } // }, - // "path": "v3beta1/{+parent}/intents", + // "path": "v3beta1/{+name}", // "request": { - // "$ref": "GoogleCloudDialogflowCxV3beta1Intent" + // "$ref": "GoogleCloudDialogflowCxV3beta1SessionEntityType" // }, // "response": { - // "$ref": "GoogleCloudDialogflowCxV3beta1Intent" + // "$ref": "GoogleCloudDialogflowCxV3beta1SessionEntityType" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -18741,27 +24045,29 @@ func (c *ProjectsLocationsAgentsIntentsCreateCall) Do(opts ...googleapi.CallOpti } -// method id "dialogflow.projects.locations.agents.intents.delete": +// method id "dialogflow.projects.locations.agents.testCases.batchDelete": -type ProjectsLocationsAgentsIntentsDeleteCall struct { - s *Service - name string - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header +type ProjectsLocationsAgentsTestCasesBatchDeleteCall struct { + s *Service + parent string + googleclouddialogflowcxv3beta1batchdeletetestcasesrequest *GoogleCloudDialogflowCxV3beta1BatchDeleteTestCasesRequest + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header } -// Delete: Deletes the specified intent. -func (r *ProjectsLocationsAgentsIntentsService) Delete(name string) *ProjectsLocationsAgentsIntentsDeleteCall { - c := &ProjectsLocationsAgentsIntentsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.name = name +// BatchDelete: Batch deletes test cases. +func (r *ProjectsLocationsAgentsTestCasesService) BatchDelete(parent string, googleclouddialogflowcxv3beta1batchdeletetestcasesrequest *GoogleCloudDialogflowCxV3beta1BatchDeleteTestCasesRequest) *ProjectsLocationsAgentsTestCasesBatchDeleteCall { + c := &ProjectsLocationsAgentsTestCasesBatchDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.parent = parent + c.googleclouddialogflowcxv3beta1batchdeletetestcasesrequest = googleclouddialogflowcxv3beta1batchdeletetestcasesrequest return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsIntentsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsIntentsDeleteCall { +func (c *ProjectsLocationsAgentsTestCasesBatchDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsTestCasesBatchDeleteCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -18769,51 +24075,56 @@ func (c *ProjectsLocationsAgentsIntentsDeleteCall) Fields(s ...googleapi.Field) // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsIntentsDeleteCall) Context(ctx context.Context) *ProjectsLocationsAgentsIntentsDeleteCall { +func (c *ProjectsLocationsAgentsTestCasesBatchDeleteCall) Context(ctx context.Context) *ProjectsLocationsAgentsTestCasesBatchDeleteCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsIntentsDeleteCall) Header() http.Header { +func (c *ProjectsLocationsAgentsTestCasesBatchDeleteCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsIntentsDeleteCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsTestCasesBatchDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } reqHeaders.Set("User-Agent", c.s.userAgent()) var body io.Reader = nil + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3beta1batchdeletetestcasesrequest) + if err != nil { + return nil, err + } + reqHeaders.Set("Content-Type", "application/json") c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+name}") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+parent}/testCases:batchDelete") urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("DELETE", urls, body) + req, err := http.NewRequest("POST", urls, body) if err != nil { return nil, err } req.Header = reqHeaders googleapi.Expand(req.URL, map[string]string{ - "name": c.name, + "parent": c.parent, }) return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.intents.delete" call. +// Do executes the "dialogflow.projects.locations.agents.testCases.batchDelete" call. // Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any // non-2xx status code is an error. Response headers are in either // *GoogleProtobufEmpty.ServerResponse.Header or (if a response was // returned at all) in error.(*googleapi.Error).Header. Use // googleapi.IsNotModified to check whether the returned error was // because http.StatusNotModified was returned. -func (c *ProjectsLocationsAgentsIntentsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error) { +func (c *ProjectsLocationsAgentsTestCasesBatchDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -18844,23 +24155,26 @@ func (c *ProjectsLocationsAgentsIntentsDeleteCall) Do(opts ...googleapi.CallOpti } return ret, nil // { - // "description": "Deletes the specified intent.", - // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/intents/{intentsId}", - // "httpMethod": "DELETE", - // "id": "dialogflow.projects.locations.agents.intents.delete", + // "description": "Batch deletes test cases.", + // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/testCases:batchDelete", + // "httpMethod": "POST", + // "id": "dialogflow.projects.locations.agents.testCases.batchDelete", // "parameterOrder": [ - // "name" + // "parent" // ], // "parameters": { - // "name": { - // "description": "Required. The name of the intent to delete. Format: `projects//locations//agents//intents/`.", + // "parent": { + // "description": "Required. The agent to delete test cases from. Format: `projects//locations//agents/`.", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/intents/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", // "required": true, // "type": "string" // } // }, - // "path": "v3beta1/{+name}", + // "path": "v3beta1/{+parent}/testCases:batchDelete", + // "request": { + // "$ref": "GoogleCloudDialogflowCxV3beta1BatchDeleteTestCasesRequest" + // }, // "response": { // "$ref": "GoogleProtobufEmpty" // }, @@ -18872,106 +24186,86 @@ func (c *ProjectsLocationsAgentsIntentsDeleteCall) Do(opts ...googleapi.CallOpti } -// method id "dialogflow.projects.locations.agents.intents.get": - -type ProjectsLocationsAgentsIntentsGetCall struct { - s *Service - name string - urlParams_ gensupport.URLParams - ifNoneMatch_ string - ctx_ context.Context - header_ http.Header -} +// method id "dialogflow.projects.locations.agents.testCases.batchRun": -// Get: Retrieves the specified intent. -func (r *ProjectsLocationsAgentsIntentsService) Get(name string) *ProjectsLocationsAgentsIntentsGetCall { - c := &ProjectsLocationsAgentsIntentsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.name = name - return c +type ProjectsLocationsAgentsTestCasesBatchRunCall struct { + s *Service + parent string + googleclouddialogflowcxv3beta1batchruntestcasesrequest *GoogleCloudDialogflowCxV3beta1BatchRunTestCasesRequest + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header } -// LanguageCode sets the optional parameter "languageCode": The language -// to retrieve the intent for. The following fields are language -// dependent: * `Intent.training_phrases.parts.text` If not specified, -// the agent's default language is used. [Many -// languages](https://cloud.google.com/dialogflow/docs/reference/language -// ) are supported. Note: languages must be enabled in the agent before -// they can be used. -func (c *ProjectsLocationsAgentsIntentsGetCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsIntentsGetCall { - c.urlParams_.Set("languageCode", languageCode) +// BatchRun: Kicks off a batch run of test cases. +func (r *ProjectsLocationsAgentsTestCasesService) BatchRun(parent string, googleclouddialogflowcxv3beta1batchruntestcasesrequest *GoogleCloudDialogflowCxV3beta1BatchRunTestCasesRequest) *ProjectsLocationsAgentsTestCasesBatchRunCall { + c := &ProjectsLocationsAgentsTestCasesBatchRunCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.parent = parent + c.googleclouddialogflowcxv3beta1batchruntestcasesrequest = googleclouddialogflowcxv3beta1batchruntestcasesrequest return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsIntentsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsIntentsGetCall { +func (c *ProjectsLocationsAgentsTestCasesBatchRunCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsTestCasesBatchRunCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } -// IfNoneMatch sets the optional parameter which makes the operation -// fail if the object's ETag matches the given value. This is useful for -// getting updates only after the object has changed since the last -// request. Use googleapi.IsNotModified to check whether the response -// error from Do is the result of In-None-Match. -func (c *ProjectsLocationsAgentsIntentsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsIntentsGetCall { - c.ifNoneMatch_ = entityTag - return c -} - // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsIntentsGetCall) Context(ctx context.Context) *ProjectsLocationsAgentsIntentsGetCall { +func (c *ProjectsLocationsAgentsTestCasesBatchRunCall) Context(ctx context.Context) *ProjectsLocationsAgentsTestCasesBatchRunCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsIntentsGetCall) Header() http.Header { +func (c *ProjectsLocationsAgentsTestCasesBatchRunCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsIntentsGetCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsTestCasesBatchRunCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } reqHeaders.Set("User-Agent", c.s.userAgent()) - if c.ifNoneMatch_ != "" { - reqHeaders.Set("If-None-Match", c.ifNoneMatch_) - } var body io.Reader = nil + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3beta1batchruntestcasesrequest) + if err != nil { + return nil, err + } + reqHeaders.Set("Content-Type", "application/json") c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+name}") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+parent}/testCases:batchRun") urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("GET", urls, body) + req, err := http.NewRequest("POST", urls, body) if err != nil { return nil, err } req.Header = reqHeaders googleapi.Expand(req.URL, map[string]string{ - "name": c.name, + "parent": c.parent, }) return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.intents.get" call. -// Exactly one of *GoogleCloudDialogflowCxV3beta1Intent or error will be -// non-nil. Any non-2xx status code is an error. Response headers are in -// either *GoogleCloudDialogflowCxV3beta1Intent.ServerResponse.Header or -// (if a response was returned at all) in -// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check -// whether the returned error was because http.StatusNotModified was -// returned. -func (c *ProjectsLocationsAgentsIntentsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1Intent, error) { +// Do executes the "dialogflow.projects.locations.agents.testCases.batchRun" call. +// Exactly one of *GoogleLongrunningOperation or error will be non-nil. +// Any non-2xx status code is an error. Response headers are in either +// *GoogleLongrunningOperation.ServerResponse.Header or (if a response +// was returned at all) in error.(*googleapi.Error).Header. Use +// googleapi.IsNotModified to check whether the returned error was +// because http.StatusNotModified was returned. +func (c *ProjectsLocationsAgentsTestCasesBatchRunCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -18990,7 +24284,7 @@ func (c *ProjectsLocationsAgentsIntentsGetCall) Do(opts ...googleapi.CallOption) if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleCloudDialogflowCxV3beta1Intent{ + ret := &GoogleLongrunningOperation{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -19002,30 +24296,28 @@ func (c *ProjectsLocationsAgentsIntentsGetCall) Do(opts ...googleapi.CallOption) } return ret, nil // { - // "description": "Retrieves the specified intent.", - // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/intents/{intentsId}", - // "httpMethod": "GET", - // "id": "dialogflow.projects.locations.agents.intents.get", + // "description": "Kicks off a batch run of test cases.", + // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/testCases:batchRun", + // "httpMethod": "POST", + // "id": "dialogflow.projects.locations.agents.testCases.batchRun", // "parameterOrder": [ - // "name" + // "parent" // ], // "parameters": { - // "languageCode": { - // "description": "The language to retrieve the intent for. The following fields are language dependent: * `Intent.training_phrases.parts.text` If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", - // "location": "query", - // "type": "string" - // }, - // "name": { - // "description": "Required. The name of the intent. Format: `projects//locations//agents//intents/`.", + // "parent": { + // "description": "Required. Agent name. Format: `projects//locations//agents/ `.", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/intents/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", // "required": true, // "type": "string" // } // }, - // "path": "v3beta1/{+name}", + // "path": "v3beta1/{+parent}/testCases:batchRun", + // "request": { + // "$ref": "GoogleCloudDialogflowCxV3beta1BatchRunTestCasesRequest" + // }, // "response": { - // "$ref": "GoogleCloudDialogflowCxV3beta1Intent" + // "$ref": "GoogleLongrunningOperation" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -19035,68 +24327,40 @@ func (c *ProjectsLocationsAgentsIntentsGetCall) Do(opts ...googleapi.CallOption) } -// method id "dialogflow.projects.locations.agents.intents.list": +// method id "dialogflow.projects.locations.agents.testCases.calculateCoverage": -type ProjectsLocationsAgentsIntentsListCall struct { +type ProjectsLocationsAgentsTestCasesCalculateCoverageCall struct { s *Service - parent string + agent string urlParams_ gensupport.URLParams ifNoneMatch_ string ctx_ context.Context header_ http.Header } -// List: Returns the list of all intents in the specified agent. -func (r *ProjectsLocationsAgentsIntentsService) List(parent string) *ProjectsLocationsAgentsIntentsListCall { - c := &ProjectsLocationsAgentsIntentsListCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.parent = parent +// CalculateCoverage: Calculates the test coverage for an agent. +func (r *ProjectsLocationsAgentsTestCasesService) CalculateCoverage(agent string) *ProjectsLocationsAgentsTestCasesCalculateCoverageCall { + c := &ProjectsLocationsAgentsTestCasesCalculateCoverageCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.agent = agent return c } -// IntentView sets the optional parameter "intentView": The resource -// view to apply to the returned intent. +// Type sets the optional parameter "type": Required. The type of +// coverage requested. // // Possible values: -// "INTENT_VIEW_UNSPECIFIED" - Not specified. Treated as -// INTENT_VIEW_FULL. -// "INTENT_VIEW_PARTIAL" - Training phrases field is not populated in -// the response. -// "INTENT_VIEW_FULL" - All fields are populated. -func (c *ProjectsLocationsAgentsIntentsListCall) IntentView(intentView string) *ProjectsLocationsAgentsIntentsListCall { - c.urlParams_.Set("intentView", intentView) - return c -} - -// LanguageCode sets the optional parameter "languageCode": The language -// to list intents for. The following fields are language dependent: * -// `Intent.training_phrases.parts.text` If not specified, the agent's -// default language is used. [Many -// languages](https://cloud.google.com/dialogflow/docs/reference/language -// ) are supported. Note: languages must be enabled in the agent before -// they can be used. -func (c *ProjectsLocationsAgentsIntentsListCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsIntentsListCall { - c.urlParams_.Set("languageCode", languageCode) - return c -} - -// PageSize sets the optional parameter "pageSize": The maximum number -// of items to return in a single page. By default 100 and at most 1000. -func (c *ProjectsLocationsAgentsIntentsListCall) PageSize(pageSize int64) *ProjectsLocationsAgentsIntentsListCall { - c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) - return c -} - -// PageToken sets the optional parameter "pageToken": The -// next_page_token value returned from a previous list request. -func (c *ProjectsLocationsAgentsIntentsListCall) PageToken(pageToken string) *ProjectsLocationsAgentsIntentsListCall { - c.urlParams_.Set("pageToken", pageToken) +// "COVERAGE_TYPE_UNSPECIFIED" - Should never be used. +// "INTENT" - Intent coverage. +// "PAGE_TRANSITION" - Page transition coverage +func (c *ProjectsLocationsAgentsTestCasesCalculateCoverageCall) Type(type_ string) *ProjectsLocationsAgentsTestCasesCalculateCoverageCall { + c.urlParams_.Set("type", type_) return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsIntentsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsIntentsListCall { +func (c *ProjectsLocationsAgentsTestCasesCalculateCoverageCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsTestCasesCalculateCoverageCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -19106,7 +24370,7 @@ func (c *ProjectsLocationsAgentsIntentsListCall) Fields(s ...googleapi.Field) *P // getting updates only after the object has changed since the last // request. Use googleapi.IsNotModified to check whether the response // error from Do is the result of In-None-Match. -func (c *ProjectsLocationsAgentsIntentsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsIntentsListCall { +func (c *ProjectsLocationsAgentsTestCasesCalculateCoverageCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsTestCasesCalculateCoverageCall { c.ifNoneMatch_ = entityTag return c } @@ -19114,23 +24378,23 @@ func (c *ProjectsLocationsAgentsIntentsListCall) IfNoneMatch(entityTag string) * // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsIntentsListCall) Context(ctx context.Context) *ProjectsLocationsAgentsIntentsListCall { +func (c *ProjectsLocationsAgentsTestCasesCalculateCoverageCall) Context(ctx context.Context) *ProjectsLocationsAgentsTestCasesCalculateCoverageCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsIntentsListCall) Header() http.Header { +func (c *ProjectsLocationsAgentsTestCasesCalculateCoverageCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsIntentsListCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsTestCasesCalculateCoverageCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19141,7 +24405,7 @@ func (c *ProjectsLocationsAgentsIntentsListCall) doRequest(alt string) (*http.Re var body io.Reader = nil c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+parent}/intents") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+agent}/testCases:calculateCoverage") urls += "?" + c.urlParams_.Encode() req, err := http.NewRequest("GET", urls, body) if err != nil { @@ -19149,21 +24413,22 @@ func (c *ProjectsLocationsAgentsIntentsListCall) doRequest(alt string) (*http.Re } req.Header = reqHeaders googleapi.Expand(req.URL, map[string]string{ - "parent": c.parent, + "agent": c.agent, }) return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.intents.list" call. -// Exactly one of *GoogleCloudDialogflowCxV3beta1ListIntentsResponse or -// error will be non-nil. Any non-2xx status code is an error. Response +// Do executes the "dialogflow.projects.locations.agents.testCases.calculateCoverage" call. +// Exactly one of +// *GoogleCloudDialogflowCxV3beta1CalculateCoverageResponse or error +// will be non-nil. Any non-2xx status code is an error. Response // headers are in either -// *GoogleCloudDialogflowCxV3beta1ListIntentsResponse.ServerResponse.Head -// er or (if a response was returned at all) in +// *GoogleCloudDialogflowCxV3beta1CalculateCoverageResponse.ServerRespons +// e.Header or (if a response was returned at all) in // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check // whether the returned error was because http.StatusNotModified was // returned. -func (c *ProjectsLocationsAgentsIntentsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1ListIntentsResponse, error) { +func (c *ProjectsLocationsAgentsTestCasesCalculateCoverageCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1CalculateCoverageResponse, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -19182,7 +24447,7 @@ func (c *ProjectsLocationsAgentsIntentsListCall) Do(opts ...googleapi.CallOption if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleCloudDialogflowCxV3beta1ListIntentsResponse{ + ret := &GoogleCloudDialogflowCxV3beta1CalculateCoverageResponse{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -19194,129 +24459,72 @@ func (c *ProjectsLocationsAgentsIntentsListCall) Do(opts ...googleapi.CallOption } return ret, nil // { - // "description": "Returns the list of all intents in the specified agent.", - // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/intents", + // "description": "Calculates the test coverage for an agent.", + // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/testCases:calculateCoverage", // "httpMethod": "GET", - // "id": "dialogflow.projects.locations.agents.intents.list", + // "id": "dialogflow.projects.locations.agents.testCases.calculateCoverage", // "parameterOrder": [ - // "parent" + // "agent" // ], // "parameters": { - // "intentView": { - // "description": "The resource view to apply to the returned intent.", - // "enum": [ - // "INTENT_VIEW_UNSPECIFIED", - // "INTENT_VIEW_PARTIAL", - // "INTENT_VIEW_FULL" - // ], - // "enumDescriptions": [ - // "Not specified. Treated as INTENT_VIEW_FULL.", - // "Training phrases field is not populated in the response.", - // "All fields are populated." - // ], - // "location": "query", - // "type": "string" - // }, - // "languageCode": { - // "description": "The language to list intents for. The following fields are language dependent: * `Intent.training_phrases.parts.text` If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", - // "location": "query", - // "type": "string" - // }, - // "pageSize": { - // "description": "The maximum number of items to return in a single page. By default 100 and at most 1000.", - // "format": "int32", - // "location": "query", - // "type": "integer" - // }, - // "pageToken": { - // "description": "The next_page_token value returned from a previous list request.", - // "location": "query", - // "type": "string" - // }, - // "parent": { - // "description": "Required. The agent to list all intents for. Format: `projects//locations//agents/`.", + // "agent": { + // "description": "Required. The agent to calculate coverage for. Format: `projects//locations//agents/`.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", // "required": true, // "type": "string" - // } - // }, - // "path": "v3beta1/{+parent}/intents", - // "response": { - // "$ref": "GoogleCloudDialogflowCxV3beta1ListIntentsResponse" - // }, - // "scopes": [ - // "https://www.googleapis.com/auth/cloud-platform", - // "https://www.googleapis.com/auth/dialogflow" - // ] - // } - -} - -// Pages invokes f for each page of results. -// A non-nil error returned from f will halt the iteration. -// The provided context supersedes any context provided to the Context method. -func (c *ProjectsLocationsAgentsIntentsListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowCxV3beta1ListIntentsResponse) error) error { - c.ctx_ = ctx - defer c.PageToken(c.urlParams_.Get("pageToken")) // reset paging to original point - for { - x, err := c.Do() - if err != nil { - return err - } - if err := f(x); err != nil { - return err - } - if x.NextPageToken == "" { - return nil - } - c.PageToken(x.NextPageToken) - } -} - -// method id "dialogflow.projects.locations.agents.intents.patch": + // }, + // "type": { + // "description": "Required. The type of coverage requested.", + // "enum": [ + // "COVERAGE_TYPE_UNSPECIFIED", + // "INTENT", + // "PAGE_TRANSITION" + // ], + // "enumDescriptions": [ + // "Should never be used.", + // "Intent coverage.", + // "Page transition coverage" + // ], + // "location": "query", + // "type": "string" + // } + // }, + // "path": "v3beta1/{+agent}/testCases:calculateCoverage", + // "response": { + // "$ref": "GoogleCloudDialogflowCxV3beta1CalculateCoverageResponse" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", + // "https://www.googleapis.com/auth/dialogflow" + // ] + // } -type ProjectsLocationsAgentsIntentsPatchCall struct { - s *Service - nameid string - googleclouddialogflowcxv3beta1intent *GoogleCloudDialogflowCxV3beta1Intent - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header } -// Patch: Updates the specified intent. -func (r *ProjectsLocationsAgentsIntentsService) Patch(nameid string, googleclouddialogflowcxv3beta1intent *GoogleCloudDialogflowCxV3beta1Intent) *ProjectsLocationsAgentsIntentsPatchCall { - c := &ProjectsLocationsAgentsIntentsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.nameid = nameid - c.googleclouddialogflowcxv3beta1intent = googleclouddialogflowcxv3beta1intent - return c -} +// method id "dialogflow.projects.locations.agents.testCases.create": -// LanguageCode sets the optional parameter "languageCode": The language -// of the following fields in `intent`: * -// `Intent.training_phrases.parts.text` If not specified, the agent's -// default language is used. [Many -// languages](https://cloud.google.com/dialogflow/docs/reference/language -// ) are supported. Note: languages must be enabled in the agent before -// they can be used. -func (c *ProjectsLocationsAgentsIntentsPatchCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsIntentsPatchCall { - c.urlParams_.Set("languageCode", languageCode) - return c +type ProjectsLocationsAgentsTestCasesCreateCall struct { + s *Service + parent string + googleclouddialogflowcxv3beta1testcase *GoogleCloudDialogflowCxV3beta1TestCase + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header } -// UpdateMask sets the optional parameter "updateMask": The mask to -// control which fields get updated. If the mask is not present, all -// fields will be updated. -func (c *ProjectsLocationsAgentsIntentsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsAgentsIntentsPatchCall { - c.urlParams_.Set("updateMask", updateMask) +// Create: Creates a test case for the given agent. +func (r *ProjectsLocationsAgentsTestCasesService) Create(parent string, googleclouddialogflowcxv3beta1testcase *GoogleCloudDialogflowCxV3beta1TestCase) *ProjectsLocationsAgentsTestCasesCreateCall { + c := &ProjectsLocationsAgentsTestCasesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.parent = parent + c.googleclouddialogflowcxv3beta1testcase = googleclouddialogflowcxv3beta1testcase return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsIntentsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsIntentsPatchCall { +func (c *ProjectsLocationsAgentsTestCasesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsTestCasesCreateCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -19324,57 +24532,57 @@ func (c *ProjectsLocationsAgentsIntentsPatchCall) Fields(s ...googleapi.Field) * // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsIntentsPatchCall) Context(ctx context.Context) *ProjectsLocationsAgentsIntentsPatchCall { +func (c *ProjectsLocationsAgentsTestCasesCreateCall) Context(ctx context.Context) *ProjectsLocationsAgentsTestCasesCreateCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsIntentsPatchCall) Header() http.Header { +func (c *ProjectsLocationsAgentsTestCasesCreateCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsIntentsPatchCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsTestCasesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } reqHeaders.Set("User-Agent", c.s.userAgent()) var body io.Reader = nil - body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3beta1intent) + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3beta1testcase) if err != nil { return nil, err } reqHeaders.Set("Content-Type", "application/json") c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+name}") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+parent}/testCases") urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("PATCH", urls, body) + req, err := http.NewRequest("POST", urls, body) if err != nil { return nil, err } req.Header = reqHeaders googleapi.Expand(req.URL, map[string]string{ - "name": c.nameid, + "parent": c.parent, }) return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.intents.patch" call. -// Exactly one of *GoogleCloudDialogflowCxV3beta1Intent or error will be -// non-nil. Any non-2xx status code is an error. Response headers are in -// either *GoogleCloudDialogflowCxV3beta1Intent.ServerResponse.Header or -// (if a response was returned at all) in -// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check -// whether the returned error was because http.StatusNotModified was -// returned. -func (c *ProjectsLocationsAgentsIntentsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1Intent, error) { +// Do executes the "dialogflow.projects.locations.agents.testCases.create" call. +// Exactly one of *GoogleCloudDialogflowCxV3beta1TestCase or error will +// be non-nil. Any non-2xx status code is an error. Response headers are +// in either +// *GoogleCloudDialogflowCxV3beta1TestCase.ServerResponse.Header or (if +// a response was returned at all) in error.(*googleapi.Error).Header. +// Use googleapi.IsNotModified to check whether the returned error was +// because http.StatusNotModified was returned. +func (c *ProjectsLocationsAgentsTestCasesCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1TestCase, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -19393,7 +24601,7 @@ func (c *ProjectsLocationsAgentsIntentsPatchCall) Do(opts ...googleapi.CallOptio if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleCloudDialogflowCxV3beta1Intent{ + ret := &GoogleCloudDialogflowCxV3beta1TestCase{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -19405,39 +24613,28 @@ func (c *ProjectsLocationsAgentsIntentsPatchCall) Do(opts ...googleapi.CallOptio } return ret, nil // { - // "description": "Updates the specified intent.", - // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/intents/{intentsId}", - // "httpMethod": "PATCH", - // "id": "dialogflow.projects.locations.agents.intents.patch", + // "description": "Creates a test case for the given agent.", + // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/testCases", + // "httpMethod": "POST", + // "id": "dialogflow.projects.locations.agents.testCases.create", // "parameterOrder": [ - // "name" + // "parent" // ], // "parameters": { - // "languageCode": { - // "description": "The language of the following fields in `intent`: * `Intent.training_phrases.parts.text` If not specified, the agent's default language is used. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.", - // "location": "query", - // "type": "string" - // }, - // "name": { - // "description": "The unique identifier of the intent. Required for the Intents.UpdateIntent method. Intents.CreateIntent populates the name automatically. Format: `projects//locations//agents//intents/`.", + // "parent": { + // "description": "Required. The agent to create the test case for. Format: `projects//locations//agents/`.", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/intents/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", // "required": true, // "type": "string" - // }, - // "updateMask": { - // "description": "The mask to control which fields get updated. If the mask is not present, all fields will be updated.", - // "format": "google-fieldmask", - // "location": "query", - // "type": "string" // } // }, - // "path": "v3beta1/{+name}", + // "path": "v3beta1/{+parent}/testCases", // "request": { - // "$ref": "GoogleCloudDialogflowCxV3beta1Intent" + // "$ref": "GoogleCloudDialogflowCxV3beta1TestCase" // }, // "response": { - // "$ref": "GoogleCloudDialogflowCxV3beta1Intent" + // "$ref": "GoogleCloudDialogflowCxV3beta1TestCase" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -19447,35 +24644,31 @@ func (c *ProjectsLocationsAgentsIntentsPatchCall) Do(opts ...googleapi.CallOptio } -// method id "dialogflow.projects.locations.agents.sessions.detectIntent": +// method id "dialogflow.projects.locations.agents.testCases.export": -type ProjectsLocationsAgentsSessionsDetectIntentCall struct { - s *Service - sessionid string - googleclouddialogflowcxv3beta1detectintentrequest *GoogleCloudDialogflowCxV3beta1DetectIntentRequest - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header +type ProjectsLocationsAgentsTestCasesExportCall struct { + s *Service + parent string + googleclouddialogflowcxv3beta1exporttestcasesrequest *GoogleCloudDialogflowCxV3beta1ExportTestCasesRequest + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header } -// DetectIntent: Processes a natural language query and returns -// structured, actionable data as a result. This method is not -// idempotent, because it may cause session entity types to be updated, -// which in turn might affect results of future queries. Note: Always -// use agent versions for production traffic. See [Versions and -// environments](https://cloud.google.com/dialogflow/cx/docs/concept/vers -// ion). -func (r *ProjectsLocationsAgentsSessionsService) DetectIntent(sessionid string, googleclouddialogflowcxv3beta1detectintentrequest *GoogleCloudDialogflowCxV3beta1DetectIntentRequest) *ProjectsLocationsAgentsSessionsDetectIntentCall { - c := &ProjectsLocationsAgentsSessionsDetectIntentCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.sessionid = sessionid - c.googleclouddialogflowcxv3beta1detectintentrequest = googleclouddialogflowcxv3beta1detectintentrequest +// Export: Exports the test cases under the agent to a Cloud Storage +// bucket or a local file. Filter can be applied to export a subset of +// test cases. +func (r *ProjectsLocationsAgentsTestCasesService) Export(parent string, googleclouddialogflowcxv3beta1exporttestcasesrequest *GoogleCloudDialogflowCxV3beta1ExportTestCasesRequest) *ProjectsLocationsAgentsTestCasesExportCall { + c := &ProjectsLocationsAgentsTestCasesExportCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.parent = parent + c.googleclouddialogflowcxv3beta1exporttestcasesrequest = googleclouddialogflowcxv3beta1exporttestcasesrequest return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsSessionsDetectIntentCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsSessionsDetectIntentCall { +func (c *ProjectsLocationsAgentsTestCasesExportCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsTestCasesExportCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -19483,36 +24676,36 @@ func (c *ProjectsLocationsAgentsSessionsDetectIntentCall) Fields(s ...googleapi. // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsSessionsDetectIntentCall) Context(ctx context.Context) *ProjectsLocationsAgentsSessionsDetectIntentCall { +func (c *ProjectsLocationsAgentsTestCasesExportCall) Context(ctx context.Context) *ProjectsLocationsAgentsTestCasesExportCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsSessionsDetectIntentCall) Header() http.Header { +func (c *ProjectsLocationsAgentsTestCasesExportCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsSessionsDetectIntentCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsTestCasesExportCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } reqHeaders.Set("User-Agent", c.s.userAgent()) var body io.Reader = nil - body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3beta1detectintentrequest) + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3beta1exporttestcasesrequest) if err != nil { return nil, err } reqHeaders.Set("Content-Type", "application/json") c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+session}:detectIntent") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+parent}/testCases:export") urls += "?" + c.urlParams_.Encode() req, err := http.NewRequest("POST", urls, body) if err != nil { @@ -19520,21 +24713,19 @@ func (c *ProjectsLocationsAgentsSessionsDetectIntentCall) doRequest(alt string) } req.Header = reqHeaders googleapi.Expand(req.URL, map[string]string{ - "session": c.sessionid, + "parent": c.parent, }) return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.sessions.detectIntent" call. -// Exactly one of *GoogleCloudDialogflowCxV3beta1DetectIntentResponse or -// error will be non-nil. Any non-2xx status code is an error. Response -// headers are in either -// *GoogleCloudDialogflowCxV3beta1DetectIntentResponse.ServerResponse.Hea -// der or (if a response was returned at all) in -// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check -// whether the returned error was because http.StatusNotModified was -// returned. -func (c *ProjectsLocationsAgentsSessionsDetectIntentCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1DetectIntentResponse, error) { +// Do executes the "dialogflow.projects.locations.agents.testCases.export" call. +// Exactly one of *GoogleLongrunningOperation or error will be non-nil. +// Any non-2xx status code is an error. Response headers are in either +// *GoogleLongrunningOperation.ServerResponse.Header or (if a response +// was returned at all) in error.(*googleapi.Error).Header. Use +// googleapi.IsNotModified to check whether the returned error was +// because http.StatusNotModified was returned. +func (c *ProjectsLocationsAgentsTestCasesExportCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -19553,7 +24744,7 @@ func (c *ProjectsLocationsAgentsSessionsDetectIntentCall) Do(opts ...googleapi.C if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleCloudDialogflowCxV3beta1DetectIntentResponse{ + ret := &GoogleLongrunningOperation{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -19565,28 +24756,28 @@ func (c *ProjectsLocationsAgentsSessionsDetectIntentCall) Do(opts ...googleapi.C } return ret, nil // { - // "description": "Processes a natural language query and returns structured, actionable data as a result. This method is not idempotent, because it may cause session entity types to be updated, which in turn might affect results of future queries. Note: Always use agent versions for production traffic. See [Versions and environments](https://cloud.google.com/dialogflow/cx/docs/concept/version).", - // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/sessions/{sessionsId}:detectIntent", + // "description": "Exports the test cases under the agent to a Cloud Storage bucket or a local file. Filter can be applied to export a subset of test cases.", + // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/testCases:export", // "httpMethod": "POST", - // "id": "dialogflow.projects.locations.agents.sessions.detectIntent", + // "id": "dialogflow.projects.locations.agents.testCases.export", // "parameterOrder": [ - // "session" + // "parent" // ], // "parameters": { - // "session": { - // "description": "Required. The name of the session this query is sent to. Format: `projects//locations//agents//sessions/` or `projects//locations//agents//environments//sessions/`. If `Environment ID` is not specified, we assume default 'draft' environment. It's up to the API caller to choose an appropriate `Session ID`. It can be a random number or some type of session identifiers (preferably hashed). The length of the `Session ID` must not exceed 36 characters. For more information, see the [sessions guide](https://cloud.google.com/dialogflow/cx/docs/concept/session). Note: Always use agent versions for production traffic. See [Versions and environments](https://cloud.google.com/dialogflow/cx/docs/concept/version).", + // "parent": { + // "description": "Required. The agent where to export test cases from. Format: `projects//locations//agents/`.", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/sessions/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", // "required": true, // "type": "string" // } // }, - // "path": "v3beta1/{+session}:detectIntent", + // "path": "v3beta1/{+parent}/testCases:export", // "request": { - // "$ref": "GoogleCloudDialogflowCxV3beta1DetectIntentRequest" + // "$ref": "GoogleCloudDialogflowCxV3beta1ExportTestCasesRequest" // }, // "response": { - // "$ref": "GoogleCloudDialogflowCxV3beta1DetectIntentResponse" + // "$ref": "GoogleLongrunningOperation" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -19596,90 +24787,94 @@ func (c *ProjectsLocationsAgentsSessionsDetectIntentCall) Do(opts ...googleapi.C } -// method id "dialogflow.projects.locations.agents.sessions.fulfillIntent": +// method id "dialogflow.projects.locations.agents.testCases.get": -type ProjectsLocationsAgentsSessionsFulfillIntentCall struct { - s *Service - sessionid string - googleclouddialogflowcxv3beta1fulfillintentrequest *GoogleCloudDialogflowCxV3beta1FulfillIntentRequest - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header +type ProjectsLocationsAgentsTestCasesGetCall struct { + s *Service + name string + urlParams_ gensupport.URLParams + ifNoneMatch_ string + ctx_ context.Context + header_ http.Header } -// FulfillIntent: Fulfills a matched intent returned by MatchIntent. -// Must be called after MatchIntent, with input from -// MatchIntentResponse. Otherwise, the behavior is undefined. -func (r *ProjectsLocationsAgentsSessionsService) FulfillIntent(sessionid string, googleclouddialogflowcxv3beta1fulfillintentrequest *GoogleCloudDialogflowCxV3beta1FulfillIntentRequest) *ProjectsLocationsAgentsSessionsFulfillIntentCall { - c := &ProjectsLocationsAgentsSessionsFulfillIntentCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.sessionid = sessionid - c.googleclouddialogflowcxv3beta1fulfillintentrequest = googleclouddialogflowcxv3beta1fulfillintentrequest +// Get: Gets a test case. +func (r *ProjectsLocationsAgentsTestCasesService) Get(name string) *ProjectsLocationsAgentsTestCasesGetCall { + c := &ProjectsLocationsAgentsTestCasesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsSessionsFulfillIntentCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsSessionsFulfillIntentCall { +func (c *ProjectsLocationsAgentsTestCasesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsTestCasesGetCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } +// IfNoneMatch sets the optional parameter which makes the operation +// fail if the object's ETag matches the given value. This is useful for +// getting updates only after the object has changed since the last +// request. Use googleapi.IsNotModified to check whether the response +// error from Do is the result of In-None-Match. +func (c *ProjectsLocationsAgentsTestCasesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsTestCasesGetCall { + c.ifNoneMatch_ = entityTag + return c +} + // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsSessionsFulfillIntentCall) Context(ctx context.Context) *ProjectsLocationsAgentsSessionsFulfillIntentCall { +func (c *ProjectsLocationsAgentsTestCasesGetCall) Context(ctx context.Context) *ProjectsLocationsAgentsTestCasesGetCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsSessionsFulfillIntentCall) Header() http.Header { +func (c *ProjectsLocationsAgentsTestCasesGetCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsSessionsFulfillIntentCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsTestCasesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } reqHeaders.Set("User-Agent", c.s.userAgent()) - var body io.Reader = nil - body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3beta1fulfillintentrequest) - if err != nil { - return nil, err + if c.ifNoneMatch_ != "" { + reqHeaders.Set("If-None-Match", c.ifNoneMatch_) } - reqHeaders.Set("Content-Type", "application/json") + var body io.Reader = nil c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+session}:fulfillIntent") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+name}") urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("POST", urls, body) + req, err := http.NewRequest("GET", urls, body) if err != nil { return nil, err } req.Header = reqHeaders googleapi.Expand(req.URL, map[string]string{ - "session": c.sessionid, + "name": c.name, }) return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.sessions.fulfillIntent" call. -// Exactly one of *GoogleCloudDialogflowCxV3beta1FulfillIntentResponse -// or error will be non-nil. Any non-2xx status code is an error. -// Response headers are in either -// *GoogleCloudDialogflowCxV3beta1FulfillIntentResponse.ServerResponse.He -// ader or (if a response was returned at all) in -// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check -// whether the returned error was because http.StatusNotModified was -// returned. -func (c *ProjectsLocationsAgentsSessionsFulfillIntentCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1FulfillIntentResponse, error) { +// Do executes the "dialogflow.projects.locations.agents.testCases.get" call. +// Exactly one of *GoogleCloudDialogflowCxV3beta1TestCase or error will +// be non-nil. Any non-2xx status code is an error. Response headers are +// in either +// *GoogleCloudDialogflowCxV3beta1TestCase.ServerResponse.Header or (if +// a response was returned at all) in error.(*googleapi.Error).Header. +// Use googleapi.IsNotModified to check whether the returned error was +// because http.StatusNotModified was returned. +func (c *ProjectsLocationsAgentsTestCasesGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1TestCase, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -19698,7 +24893,7 @@ func (c *ProjectsLocationsAgentsSessionsFulfillIntentCall) Do(opts ...googleapi. if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleCloudDialogflowCxV3beta1FulfillIntentResponse{ + ret := &GoogleCloudDialogflowCxV3beta1TestCase{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -19710,28 +24905,25 @@ func (c *ProjectsLocationsAgentsSessionsFulfillIntentCall) Do(opts ...googleapi. } return ret, nil // { - // "description": "Fulfills a matched intent returned by MatchIntent. Must be called after MatchIntent, with input from MatchIntentResponse. Otherwise, the behavior is undefined.", - // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/sessions/{sessionsId}:fulfillIntent", - // "httpMethod": "POST", - // "id": "dialogflow.projects.locations.agents.sessions.fulfillIntent", + // "description": "Gets a test case.", + // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/testCases/{testCasesId}", + // "httpMethod": "GET", + // "id": "dialogflow.projects.locations.agents.testCases.get", // "parameterOrder": [ - // "session" + // "name" // ], // "parameters": { - // "session": { - // "description": "Required. The name of the session this query is sent to. Format: `projects//locations//agents//sessions/` or `projects//locations//agents//environments//sessions/`. If `Environment ID` is not specified, we assume default 'draft' environment. It's up to the API caller to choose an appropriate `Session ID`. It can be a random number or some type of session identifiers (preferably hashed). The length of the `Session ID` must not exceed 36 characters. For more information, see the [sessions guide](https://cloud.google.com/dialogflow/cx/docs/concept/session).", + // "name": { + // "description": "Required. The name of the testcase. Format: `projects//locations//agents//testCases/`.", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/sessions/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/testCases/[^/]+$", // "required": true, // "type": "string" // } // }, - // "path": "v3beta1/{+session}:fulfillIntent", - // "request": { - // "$ref": "GoogleCloudDialogflowCxV3beta1FulfillIntentRequest" - // }, + // "path": "v3beta1/{+name}", // "response": { - // "$ref": "GoogleCloudDialogflowCxV3beta1FulfillIntentResponse" + // "$ref": "GoogleCloudDialogflowCxV3beta1TestCase" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -19741,30 +24933,32 @@ func (c *ProjectsLocationsAgentsSessionsFulfillIntentCall) Do(opts ...googleapi. } -// method id "dialogflow.projects.locations.agents.sessions.matchIntent": - -type ProjectsLocationsAgentsSessionsMatchIntentCall struct { - s *Service - sessionid string - googleclouddialogflowcxv3beta1matchintentrequest *GoogleCloudDialogflowCxV3beta1MatchIntentRequest - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header -} - -// MatchIntent: Returns preliminary intent match results, doesn't change -// the session status. -func (r *ProjectsLocationsAgentsSessionsService) MatchIntent(sessionid string, googleclouddialogflowcxv3beta1matchintentrequest *GoogleCloudDialogflowCxV3beta1MatchIntentRequest) *ProjectsLocationsAgentsSessionsMatchIntentCall { - c := &ProjectsLocationsAgentsSessionsMatchIntentCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.sessionid = sessionid - c.googleclouddialogflowcxv3beta1matchintentrequest = googleclouddialogflowcxv3beta1matchintentrequest +// method id "dialogflow.projects.locations.agents.testCases.import": + +type ProjectsLocationsAgentsTestCasesImportCall struct { + s *Service + parent string + googleclouddialogflowcxv3beta1importtestcasesrequest *GoogleCloudDialogflowCxV3beta1ImportTestCasesRequest + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// Import: Imports the test cases from a Cloud Storage bucket or a local +// file. It always creates new test cases and won't overwite any +// existing ones. The provided ID in the imported test case is +// neglected. +func (r *ProjectsLocationsAgentsTestCasesService) Import(parent string, googleclouddialogflowcxv3beta1importtestcasesrequest *GoogleCloudDialogflowCxV3beta1ImportTestCasesRequest) *ProjectsLocationsAgentsTestCasesImportCall { + c := &ProjectsLocationsAgentsTestCasesImportCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.parent = parent + c.googleclouddialogflowcxv3beta1importtestcasesrequest = googleclouddialogflowcxv3beta1importtestcasesrequest return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsSessionsMatchIntentCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsSessionsMatchIntentCall { +func (c *ProjectsLocationsAgentsTestCasesImportCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsTestCasesImportCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -19772,36 +24966,36 @@ func (c *ProjectsLocationsAgentsSessionsMatchIntentCall) Fields(s ...googleapi.F // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsSessionsMatchIntentCall) Context(ctx context.Context) *ProjectsLocationsAgentsSessionsMatchIntentCall { +func (c *ProjectsLocationsAgentsTestCasesImportCall) Context(ctx context.Context) *ProjectsLocationsAgentsTestCasesImportCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsSessionsMatchIntentCall) Header() http.Header { +func (c *ProjectsLocationsAgentsTestCasesImportCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsSessionsMatchIntentCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsTestCasesImportCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } reqHeaders.Set("User-Agent", c.s.userAgent()) var body io.Reader = nil - body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3beta1matchintentrequest) + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3beta1importtestcasesrequest) if err != nil { return nil, err } reqHeaders.Set("Content-Type", "application/json") c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+session}:matchIntent") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+parent}/testCases:import") urls += "?" + c.urlParams_.Encode() req, err := http.NewRequest("POST", urls, body) if err != nil { @@ -19809,21 +25003,19 @@ func (c *ProjectsLocationsAgentsSessionsMatchIntentCall) doRequest(alt string) ( } req.Header = reqHeaders googleapi.Expand(req.URL, map[string]string{ - "session": c.sessionid, + "parent": c.parent, }) return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.sessions.matchIntent" call. -// Exactly one of *GoogleCloudDialogflowCxV3beta1MatchIntentResponse or -// error will be non-nil. Any non-2xx status code is an error. Response -// headers are in either -// *GoogleCloudDialogflowCxV3beta1MatchIntentResponse.ServerResponse.Head -// er or (if a response was returned at all) in -// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check -// whether the returned error was because http.StatusNotModified was -// returned. -func (c *ProjectsLocationsAgentsSessionsMatchIntentCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1MatchIntentResponse, error) { +// Do executes the "dialogflow.projects.locations.agents.testCases.import" call. +// Exactly one of *GoogleLongrunningOperation or error will be non-nil. +// Any non-2xx status code is an error. Response headers are in either +// *GoogleLongrunningOperation.ServerResponse.Header or (if a response +// was returned at all) in error.(*googleapi.Error).Header. Use +// googleapi.IsNotModified to check whether the returned error was +// because http.StatusNotModified was returned. +func (c *ProjectsLocationsAgentsTestCasesImportCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -19842,7 +25034,7 @@ func (c *ProjectsLocationsAgentsSessionsMatchIntentCall) Do(opts ...googleapi.Ca if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleCloudDialogflowCxV3beta1MatchIntentResponse{ + ret := &GoogleLongrunningOperation{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -19854,28 +25046,28 @@ func (c *ProjectsLocationsAgentsSessionsMatchIntentCall) Do(opts ...googleapi.Ca } return ret, nil // { - // "description": "Returns preliminary intent match results, doesn't change the session status.", - // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/sessions/{sessionsId}:matchIntent", + // "description": "Imports the test cases from a Cloud Storage bucket or a local file. It always creates new test cases and won't overwite any existing ones. The provided ID in the imported test case is neglected.", + // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/testCases:import", // "httpMethod": "POST", - // "id": "dialogflow.projects.locations.agents.sessions.matchIntent", + // "id": "dialogflow.projects.locations.agents.testCases.import", // "parameterOrder": [ - // "session" + // "parent" // ], // "parameters": { - // "session": { - // "description": "Required. The name of the session this query is sent to. Format: `projects//locations//agents//sessions/` or `projects//locations//agents//environments//sessions/`. If `Environment ID` is not specified, we assume default 'draft' environment. It's up to the API caller to choose an appropriate `Session ID`. It can be a random number or some type of session identifiers (preferably hashed). The length of the `Session ID` must not exceed 36 characters. For more information, see the [sessions guide](https://cloud.google.com/dialogflow/cx/docs/concept/session).", + // "parent": { + // "description": "Required. The agent to import test cases to. Format: `projects//locations//agents/`.", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/sessions/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", // "required": true, // "type": "string" // } // }, - // "path": "v3beta1/{+session}:matchIntent", + // "path": "v3beta1/{+parent}/testCases:import", // "request": { - // "$ref": "GoogleCloudDialogflowCxV3beta1MatchIntentRequest" + // "$ref": "GoogleCloudDialogflowCxV3beta1ImportTestCasesRequest" // }, // "response": { - // "$ref": "GoogleCloudDialogflowCxV3beta1MatchIntentResponse" + // "$ref": "GoogleLongrunningOperation" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -19885,69 +25077,105 @@ func (c *ProjectsLocationsAgentsSessionsMatchIntentCall) Do(opts ...googleapi.Ca } -// method id "dialogflow.projects.locations.agents.sessions.entityTypes.create": +// method id "dialogflow.projects.locations.agents.testCases.list": -type ProjectsLocationsAgentsSessionsEntityTypesCreateCall struct { - s *Service - parent string - googleclouddialogflowcxv3beta1sessionentitytype *GoogleCloudDialogflowCxV3beta1SessionEntityType - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header +type ProjectsLocationsAgentsTestCasesListCall struct { + s *Service + parent string + urlParams_ gensupport.URLParams + ifNoneMatch_ string + ctx_ context.Context + header_ http.Header } -// Create: Creates a session entity type. If the specified session -// entity type already exists, overrides the session entity type. -func (r *ProjectsLocationsAgentsSessionsEntityTypesService) Create(parent string, googleclouddialogflowcxv3beta1sessionentitytype *GoogleCloudDialogflowCxV3beta1SessionEntityType) *ProjectsLocationsAgentsSessionsEntityTypesCreateCall { - c := &ProjectsLocationsAgentsSessionsEntityTypesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)} +// List: Fetches a list of test cases for a given agent. +func (r *ProjectsLocationsAgentsTestCasesService) List(parent string) *ProjectsLocationsAgentsTestCasesListCall { + c := &ProjectsLocationsAgentsTestCasesListCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.parent = parent - c.googleclouddialogflowcxv3beta1sessionentitytype = googleclouddialogflowcxv3beta1sessionentitytype + return c +} + +// PageSize sets the optional parameter "pageSize": The maximum number +// of items to return in a single page. By default 20. Note that when +// TestCaseView = FULL, the maximum page size allowed is 20. When +// TestCaseView = BASIC, the maximum page size allowed is 500. +func (c *ProjectsLocationsAgentsTestCasesListCall) PageSize(pageSize int64) *ProjectsLocationsAgentsTestCasesListCall { + c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) + return c +} + +// PageToken sets the optional parameter "pageToken": The +// next_page_token value returned from a previous list request. +func (c *ProjectsLocationsAgentsTestCasesListCall) PageToken(pageToken string) *ProjectsLocationsAgentsTestCasesListCall { + c.urlParams_.Set("pageToken", pageToken) + return c +} + +// View sets the optional parameter "view": Specifies whether response +// should include all fields or just the metadata. +// +// Possible values: +// "TEST_CASE_VIEW_UNSPECIFIED" - The default / unset value. The API +// will default to the BASIC view. +// "BASIC" - Include basic metadata about the test case, but not the +// conversation turns. This is the default value. +// "FULL" - Include everything. +func (c *ProjectsLocationsAgentsTestCasesListCall) View(view string) *ProjectsLocationsAgentsTestCasesListCall { + c.urlParams_.Set("view", view) return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsSessionsEntityTypesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsSessionsEntityTypesCreateCall { +func (c *ProjectsLocationsAgentsTestCasesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsTestCasesListCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } +// IfNoneMatch sets the optional parameter which makes the operation +// fail if the object's ETag matches the given value. This is useful for +// getting updates only after the object has changed since the last +// request. Use googleapi.IsNotModified to check whether the response +// error from Do is the result of In-None-Match. +func (c *ProjectsLocationsAgentsTestCasesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsTestCasesListCall { + c.ifNoneMatch_ = entityTag + return c +} + // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsSessionsEntityTypesCreateCall) Context(ctx context.Context) *ProjectsLocationsAgentsSessionsEntityTypesCreateCall { +func (c *ProjectsLocationsAgentsTestCasesListCall) Context(ctx context.Context) *ProjectsLocationsAgentsTestCasesListCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsSessionsEntityTypesCreateCall) Header() http.Header { +func (c *ProjectsLocationsAgentsTestCasesListCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsSessionsEntityTypesCreateCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsTestCasesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } reqHeaders.Set("User-Agent", c.s.userAgent()) - var body io.Reader = nil - body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3beta1sessionentitytype) - if err != nil { - return nil, err + if c.ifNoneMatch_ != "" { + reqHeaders.Set("If-None-Match", c.ifNoneMatch_) } - reqHeaders.Set("Content-Type", "application/json") + var body io.Reader = nil c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+parent}/entityTypes") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+parent}/testCases") urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("POST", urls, body) + req, err := http.NewRequest("GET", urls, body) if err != nil { return nil, err } @@ -19958,16 +25186,16 @@ func (c *ProjectsLocationsAgentsSessionsEntityTypesCreateCall) doRequest(alt str return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.sessions.entityTypes.create" call. -// Exactly one of *GoogleCloudDialogflowCxV3beta1SessionEntityType or -// error will be non-nil. Any non-2xx status code is an error. Response -// headers are in either -// *GoogleCloudDialogflowCxV3beta1SessionEntityType.ServerResponse.Header -// or (if a response was returned at all) in +// Do executes the "dialogflow.projects.locations.agents.testCases.list" call. +// Exactly one of *GoogleCloudDialogflowCxV3beta1ListTestCasesResponse +// or error will be non-nil. Any non-2xx status code is an error. +// Response headers are in either +// *GoogleCloudDialogflowCxV3beta1ListTestCasesResponse.ServerResponse.He +// ader or (if a response was returned at all) in // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check // whether the returned error was because http.StatusNotModified was // returned. -func (c *ProjectsLocationsAgentsSessionsEntityTypesCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1SessionEntityType, error) { +func (c *ProjectsLocationsAgentsTestCasesListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1ListTestCasesResponse, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -19986,7 +25214,7 @@ func (c *ProjectsLocationsAgentsSessionsEntityTypesCreateCall) Do(opts ...google if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleCloudDialogflowCxV3beta1SessionEntityType{ + ret := &GoogleCloudDialogflowCxV3beta1ListTestCasesResponse{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -19998,28 +25226,51 @@ func (c *ProjectsLocationsAgentsSessionsEntityTypesCreateCall) Do(opts ...google } return ret, nil // { - // "description": "Creates a session entity type. If the specified session entity type already exists, overrides the session entity type.", - // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/sessions/{sessionsId}/entityTypes", - // "httpMethod": "POST", - // "id": "dialogflow.projects.locations.agents.sessions.entityTypes.create", + // "description": "Fetches a list of test cases for a given agent.", + // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/testCases", + // "httpMethod": "GET", + // "id": "dialogflow.projects.locations.agents.testCases.list", // "parameterOrder": [ // "parent" // ], // "parameters": { + // "pageSize": { + // "description": "The maximum number of items to return in a single page. By default 20. Note that when TestCaseView = FULL, the maximum page size allowed is 20. When TestCaseView = BASIC, the maximum page size allowed is 500.", + // "format": "int32", + // "location": "query", + // "type": "integer" + // }, + // "pageToken": { + // "description": "The next_page_token value returned from a previous list request.", + // "location": "query", + // "type": "string" + // }, // "parent": { - // "description": "Required. The session to create a session entity type for. Format: `projects//locations//agents//sessions/` or `projects//locations//agents//environments//sessions/`. If `Environment ID` is not specified, we assume default 'draft' environment.", + // "description": "Required. The agent to list all pages for. Format: `projects//locations//agents/`.", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/sessions/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+$", // "required": true, // "type": "string" + // }, + // "view": { + // "description": "Specifies whether response should include all fields or just the metadata.", + // "enum": [ + // "TEST_CASE_VIEW_UNSPECIFIED", + // "BASIC", + // "FULL" + // ], + // "enumDescriptions": [ + // "The default / unset value. The API will default to the BASIC view.", + // "Include basic metadata about the test case, but not the conversation turns. This is the default value.", + // "Include everything." + // ], + // "location": "query", + // "type": "string" // } // }, - // "path": "v3beta1/{+parent}/entityTypes", - // "request": { - // "$ref": "GoogleCloudDialogflowCxV3beta1SessionEntityType" - // }, + // "path": "v3beta1/{+parent}/testCases", // "response": { - // "$ref": "GoogleCloudDialogflowCxV3beta1SessionEntityType" + // "$ref": "GoogleCloudDialogflowCxV3beta1ListTestCasesResponse" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -20029,27 +25280,59 @@ func (c *ProjectsLocationsAgentsSessionsEntityTypesCreateCall) Do(opts ...google } -// method id "dialogflow.projects.locations.agents.sessions.entityTypes.delete": +// Pages invokes f for each page of results. +// A non-nil error returned from f will halt the iteration. +// The provided context supersedes any context provided to the Context method. +func (c *ProjectsLocationsAgentsTestCasesListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowCxV3beta1ListTestCasesResponse) error) error { + c.ctx_ = ctx + defer c.PageToken(c.urlParams_.Get("pageToken")) // reset paging to original point + for { + x, err := c.Do() + if err != nil { + return err + } + if err := f(x); err != nil { + return err + } + if x.NextPageToken == "" { + return nil + } + c.PageToken(x.NextPageToken) + } +} -type ProjectsLocationsAgentsSessionsEntityTypesDeleteCall struct { - s *Service - name string - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header +// method id "dialogflow.projects.locations.agents.testCases.patch": + +type ProjectsLocationsAgentsTestCasesPatchCall struct { + s *Service + nameid string + googleclouddialogflowcxv3beta1testcase *GoogleCloudDialogflowCxV3beta1TestCase + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header } -// Delete: Deletes the specified session entity type. -func (r *ProjectsLocationsAgentsSessionsEntityTypesService) Delete(name string) *ProjectsLocationsAgentsSessionsEntityTypesDeleteCall { - c := &ProjectsLocationsAgentsSessionsEntityTypesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.name = name +// Patch: Updates the specified test case. +func (r *ProjectsLocationsAgentsTestCasesService) Patch(nameid string, googleclouddialogflowcxv3beta1testcase *GoogleCloudDialogflowCxV3beta1TestCase) *ProjectsLocationsAgentsTestCasesPatchCall { + c := &ProjectsLocationsAgentsTestCasesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.nameid = nameid + c.googleclouddialogflowcxv3beta1testcase = googleclouddialogflowcxv3beta1testcase + return c +} + +// UpdateMask sets the optional parameter "updateMask": Required. The +// mask to specify which fields should be updated. Only a test case's +// metadata and replayed_conversation_turns may be updated. The original +// test_case_conversation_turns may not be updated. +func (c *ProjectsLocationsAgentsTestCasesPatchCall) UpdateMask(updateMask string) *ProjectsLocationsAgentsTestCasesPatchCall { + c.urlParams_.Set("updateMask", updateMask) return c } // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsSessionsEntityTypesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsSessionsEntityTypesDeleteCall { +func (c *ProjectsLocationsAgentsTestCasesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsTestCasesPatchCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -20057,51 +25340,57 @@ func (c *ProjectsLocationsAgentsSessionsEntityTypesDeleteCall) Fields(s ...googl // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsSessionsEntityTypesDeleteCall) Context(ctx context.Context) *ProjectsLocationsAgentsSessionsEntityTypesDeleteCall { +func (c *ProjectsLocationsAgentsTestCasesPatchCall) Context(ctx context.Context) *ProjectsLocationsAgentsTestCasesPatchCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsSessionsEntityTypesDeleteCall) Header() http.Header { +func (c *ProjectsLocationsAgentsTestCasesPatchCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsSessionsEntityTypesDeleteCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsTestCasesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } reqHeaders.Set("User-Agent", c.s.userAgent()) var body io.Reader = nil + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3beta1testcase) + if err != nil { + return nil, err + } + reqHeaders.Set("Content-Type", "application/json") c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+name}") urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("DELETE", urls, body) + req, err := http.NewRequest("PATCH", urls, body) if err != nil { return nil, err } req.Header = reqHeaders googleapi.Expand(req.URL, map[string]string{ - "name": c.name, + "name": c.nameid, }) return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.sessions.entityTypes.delete" call. -// Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any -// non-2xx status code is an error. Response headers are in either -// *GoogleProtobufEmpty.ServerResponse.Header or (if a response was -// returned at all) in error.(*googleapi.Error).Header. Use -// googleapi.IsNotModified to check whether the returned error was +// Do executes the "dialogflow.projects.locations.agents.testCases.patch" call. +// Exactly one of *GoogleCloudDialogflowCxV3beta1TestCase or error will +// be non-nil. Any non-2xx status code is an error. Response headers are +// in either +// *GoogleCloudDialogflowCxV3beta1TestCase.ServerResponse.Header or (if +// a response was returned at all) in error.(*googleapi.Error).Header. +// Use googleapi.IsNotModified to check whether the returned error was // because http.StatusNotModified was returned. -func (c *ProjectsLocationsAgentsSessionsEntityTypesDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error) { +func (c *ProjectsLocationsAgentsTestCasesPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1TestCase, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -20120,7 +25409,7 @@ func (c *ProjectsLocationsAgentsSessionsEntityTypesDeleteCall) Do(opts ...google if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleProtobufEmpty{ + ret := &GoogleCloudDialogflowCxV3beta1TestCase{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -20132,25 +25421,34 @@ func (c *ProjectsLocationsAgentsSessionsEntityTypesDeleteCall) Do(opts ...google } return ret, nil // { - // "description": "Deletes the specified session entity type.", - // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/sessions/{sessionsId}/entityTypes/{entityTypesId}", - // "httpMethod": "DELETE", - // "id": "dialogflow.projects.locations.agents.sessions.entityTypes.delete", + // "description": "Updates the specified test case.", + // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/testCases/{testCasesId}", + // "httpMethod": "PATCH", + // "id": "dialogflow.projects.locations.agents.testCases.patch", // "parameterOrder": [ // "name" // ], // "parameters": { // "name": { - // "description": "Required. The name of the session entity type to delete. Format: `projects//locations//agents//sessions//entityTypes/` or `projects//locations//agents//environments//sessions//entityTypes/`. If `Environment ID` is not specified, we assume default 'draft' environment.", + // "description": "The unique identifier of the test case. TestCases.CreateTestCase will populate the name automatically. Otherwise use format: `projects//locations//agents/ /testCases/`.", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/sessions/[^/]+/entityTypes/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/testCases/[^/]+$", // "required": true, // "type": "string" + // }, + // "updateMask": { + // "description": "Required. The mask to specify which fields should be updated. Only a test case's metadata and replayed_conversation_turns may be updated. The original test_case_conversation_turns may not be updated.", + // "format": "google-fieldmask", + // "location": "query", + // "type": "string" // } // }, // "path": "v3beta1/{+name}", + // "request": { + // "$ref": "GoogleCloudDialogflowCxV3beta1TestCase" + // }, // "response": { - // "$ref": "GoogleProtobufEmpty" + // "$ref": "GoogleCloudDialogflowCxV3beta1TestCase" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -20160,95 +25458,92 @@ func (c *ProjectsLocationsAgentsSessionsEntityTypesDeleteCall) Do(opts ...google } -// method id "dialogflow.projects.locations.agents.sessions.entityTypes.get": - -type ProjectsLocationsAgentsSessionsEntityTypesGetCall struct { - s *Service - name string - urlParams_ gensupport.URLParams - ifNoneMatch_ string - ctx_ context.Context - header_ http.Header -} - -// Get: Retrieves the specified session entity type. -func (r *ProjectsLocationsAgentsSessionsEntityTypesService) Get(name string) *ProjectsLocationsAgentsSessionsEntityTypesGetCall { - c := &ProjectsLocationsAgentsSessionsEntityTypesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.name = name - return c -} - -// Fields allows partial responses to be retrieved. See -// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse -// for more information. -func (c *ProjectsLocationsAgentsSessionsEntityTypesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsSessionsEntityTypesGetCall { - c.urlParams_.Set("fields", googleapi.CombineFields(s)) - return c -} +// method id "dialogflow.projects.locations.agents.testCases.run": -// IfNoneMatch sets the optional parameter which makes the operation -// fail if the object's ETag matches the given value. This is useful for -// getting updates only after the object has changed since the last -// request. Use googleapi.IsNotModified to check whether the response -// error from Do is the result of In-None-Match. -func (c *ProjectsLocationsAgentsSessionsEntityTypesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsSessionsEntityTypesGetCall { - c.ifNoneMatch_ = entityTag +type ProjectsLocationsAgentsTestCasesRunCall struct { + s *Service + projectsId string + locationsId string + agentsId string + googleclouddialogflowcxv3beta1runtestcaserequest *GoogleCloudDialogflowCxV3beta1RunTestCaseRequest + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// Run: Kicks off a test case run. +func (r *ProjectsLocationsAgentsTestCasesService) Run(projectsId string, locationsId string, agentsId string, googleclouddialogflowcxv3beta1runtestcaserequest *GoogleCloudDialogflowCxV3beta1RunTestCaseRequest) *ProjectsLocationsAgentsTestCasesRunCall { + c := &ProjectsLocationsAgentsTestCasesRunCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.projectsId = projectsId + c.locationsId = locationsId + c.agentsId = agentsId + c.googleclouddialogflowcxv3beta1runtestcaserequest = googleclouddialogflowcxv3beta1runtestcaserequest + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsAgentsTestCasesRunCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsTestCasesRunCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsSessionsEntityTypesGetCall) Context(ctx context.Context) *ProjectsLocationsAgentsSessionsEntityTypesGetCall { +func (c *ProjectsLocationsAgentsTestCasesRunCall) Context(ctx context.Context) *ProjectsLocationsAgentsTestCasesRunCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsSessionsEntityTypesGetCall) Header() http.Header { +func (c *ProjectsLocationsAgentsTestCasesRunCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsSessionsEntityTypesGetCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsTestCasesRunCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } reqHeaders.Set("User-Agent", c.s.userAgent()) - if c.ifNoneMatch_ != "" { - reqHeaders.Set("If-None-Match", c.ifNoneMatch_) - } var body io.Reader = nil + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3beta1runtestcaserequest) + if err != nil { + return nil, err + } + reqHeaders.Set("Content-Type", "application/json") c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+name}") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/testCases:run") urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("GET", urls, body) + req, err := http.NewRequest("POST", urls, body) if err != nil { return nil, err } req.Header = reqHeaders googleapi.Expand(req.URL, map[string]string{ - "name": c.name, + "projectsId": c.projectsId, + "locationsId": c.locationsId, + "agentsId": c.agentsId, }) return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.sessions.entityTypes.get" call. -// Exactly one of *GoogleCloudDialogflowCxV3beta1SessionEntityType or -// error will be non-nil. Any non-2xx status code is an error. Response -// headers are in either -// *GoogleCloudDialogflowCxV3beta1SessionEntityType.ServerResponse.Header -// or (if a response was returned at all) in -// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check -// whether the returned error was because http.StatusNotModified was -// returned. -func (c *ProjectsLocationsAgentsSessionsEntityTypesGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1SessionEntityType, error) { +// Do executes the "dialogflow.projects.locations.agents.testCases.run" call. +// Exactly one of *GoogleLongrunningOperation or error will be non-nil. +// Any non-2xx status code is an error. Response headers are in either +// *GoogleLongrunningOperation.ServerResponse.Header or (if a response +// was returned at all) in error.(*googleapi.Error).Header. Use +// googleapi.IsNotModified to check whether the returned error was +// because http.StatusNotModified was returned. +func (c *ProjectsLocationsAgentsTestCasesRunCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -20267,7 +25562,7 @@ func (c *ProjectsLocationsAgentsSessionsEntityTypesGetCall) Do(opts ...googleapi if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleCloudDialogflowCxV3beta1SessionEntityType{ + ret := &GoogleLongrunningOperation{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -20279,25 +25574,38 @@ func (c *ProjectsLocationsAgentsSessionsEntityTypesGetCall) Do(opts ...googleapi } return ret, nil // { - // "description": "Retrieves the specified session entity type.", - // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/sessions/{sessionsId}/entityTypes/{entityTypesId}", - // "httpMethod": "GET", - // "id": "dialogflow.projects.locations.agents.sessions.entityTypes.get", + // "description": "Kicks off a test case run.", + // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/testCases:run", + // "httpMethod": "POST", + // "id": "dialogflow.projects.locations.agents.testCases.run", // "parameterOrder": [ - // "name" + // "projectsId", + // "locationsId", + // "agentsId" // ], // "parameters": { - // "name": { - // "description": "Required. The name of the session entity type. Format: `projects//locations//agents//sessions//entityTypes/` or `projects//locations//agents//environments//sessions//entityTypes/`. If `Environment ID` is not specified, we assume default 'draft' environment.", + // "agentsId": { + // "location": "path", + // "required": true, + // "type": "string" + // }, + // "locationsId": { + // "location": "path", + // "required": true, + // "type": "string" + // }, + // "projectsId": { // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/sessions/[^/]+/entityTypes/[^/]+$", // "required": true, // "type": "string" // } // }, - // "path": "v3beta1/{+name}", + // "path": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/testCases:run", + // "request": { + // "$ref": "GoogleCloudDialogflowCxV3beta1RunTestCaseRequest" + // }, // "response": { - // "$ref": "GoogleCloudDialogflowCxV3beta1SessionEntityType" + // "$ref": "GoogleLongrunningOperation" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -20307,9 +25615,9 @@ func (c *ProjectsLocationsAgentsSessionsEntityTypesGetCall) Do(opts ...googleapi } -// method id "dialogflow.projects.locations.agents.sessions.entityTypes.list": +// method id "dialogflow.projects.locations.agents.testCases.results.list": -type ProjectsLocationsAgentsSessionsEntityTypesListCall struct { +type ProjectsLocationsAgentsTestCasesResultsListCall struct { s *Service parent string urlParams_ gensupport.URLParams @@ -20318,24 +25626,42 @@ type ProjectsLocationsAgentsSessionsEntityTypesListCall struct { header_ http.Header } -// List: Returns the list of all session entity types in the specified -// session. -func (r *ProjectsLocationsAgentsSessionsEntityTypesService) List(parent string) *ProjectsLocationsAgentsSessionsEntityTypesListCall { - c := &ProjectsLocationsAgentsSessionsEntityTypesListCall{s: r.s, urlParams_: make(gensupport.URLParams)} +// List: Fetches a list of results for a given test case. +func (r *ProjectsLocationsAgentsTestCasesResultsService) List(parent string) *ProjectsLocationsAgentsTestCasesResultsListCall { + c := &ProjectsLocationsAgentsTestCasesResultsListCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.parent = parent return c } +// Filter sets the optional parameter "filter": The filter expression +// used to filter test case results. See [API +// Filtering](https://aip.dev/160). The expression is case insensitive. +// Only 'AND' is supported for logical operators. The supported syntax +// is listed below in detail: [AND ] ... [AND latest] The supported +// fields and operators are: field operator `environment` `=`, `IN` (Use +// value `draft` for draft environment) `test_time` `>`, `<` `latest` +// only returns the latest test result in all results for each test +// case. Examples: * "environment=draft AND latest" matches the latest +// test result for each test case in the draft environment. * +// "environment IN (e1,e2)" matches any test case results with an +// environment resource name of either "e1" or "e2". * "test_time > +// 1602540713" matches any test case results with test time later than a +// unix timestamp in seconds 1602540713. +func (c *ProjectsLocationsAgentsTestCasesResultsListCall) Filter(filter string) *ProjectsLocationsAgentsTestCasesResultsListCall { + c.urlParams_.Set("filter", filter) + return c +} + // PageSize sets the optional parameter "pageSize": The maximum number // of items to return in a single page. By default 100 and at most 1000. -func (c *ProjectsLocationsAgentsSessionsEntityTypesListCall) PageSize(pageSize int64) *ProjectsLocationsAgentsSessionsEntityTypesListCall { +func (c *ProjectsLocationsAgentsTestCasesResultsListCall) PageSize(pageSize int64) *ProjectsLocationsAgentsTestCasesResultsListCall { c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) return c } // PageToken sets the optional parameter "pageToken": The // next_page_token value returned from a previous list request. -func (c *ProjectsLocationsAgentsSessionsEntityTypesListCall) PageToken(pageToken string) *ProjectsLocationsAgentsSessionsEntityTypesListCall { +func (c *ProjectsLocationsAgentsTestCasesResultsListCall) PageToken(pageToken string) *ProjectsLocationsAgentsTestCasesResultsListCall { c.urlParams_.Set("pageToken", pageToken) return c } @@ -20343,7 +25669,7 @@ func (c *ProjectsLocationsAgentsSessionsEntityTypesListCall) PageToken(pageToken // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. -func (c *ProjectsLocationsAgentsSessionsEntityTypesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsSessionsEntityTypesListCall { +func (c *ProjectsLocationsAgentsTestCasesResultsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsTestCasesResultsListCall { c.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } @@ -20353,7 +25679,7 @@ func (c *ProjectsLocationsAgentsSessionsEntityTypesListCall) Fields(s ...googlea // getting updates only after the object has changed since the last // request. Use googleapi.IsNotModified to check whether the response // error from Do is the result of In-None-Match. -func (c *ProjectsLocationsAgentsSessionsEntityTypesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsSessionsEntityTypesListCall { +func (c *ProjectsLocationsAgentsTestCasesResultsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsTestCasesResultsListCall { c.ifNoneMatch_ = entityTag return c } @@ -20361,23 +25687,23 @@ func (c *ProjectsLocationsAgentsSessionsEntityTypesListCall) IfNoneMatch(entityT // Context sets the context to be used in this call's Do method. Any // pending HTTP request will be aborted if the provided context is // canceled. -func (c *ProjectsLocationsAgentsSessionsEntityTypesListCall) Context(ctx context.Context) *ProjectsLocationsAgentsSessionsEntityTypesListCall { +func (c *ProjectsLocationsAgentsTestCasesResultsListCall) Context(ctx context.Context) *ProjectsLocationsAgentsTestCasesResultsListCall { c.ctx_ = ctx return c } // Header returns an http.Header that can be modified by the caller to // add HTTP headers to the request. -func (c *ProjectsLocationsAgentsSessionsEntityTypesListCall) Header() http.Header { +func (c *ProjectsLocationsAgentsTestCasesResultsListCall) Header() http.Header { if c.header_ == nil { c.header_ = make(http.Header) } return c.header_ } -func (c *ProjectsLocationsAgentsSessionsEntityTypesListCall) doRequest(alt string) (*http.Response, error) { +func (c *ProjectsLocationsAgentsTestCasesResultsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -20388,7 +25714,7 @@ func (c *ProjectsLocationsAgentsSessionsEntityTypesListCall) doRequest(alt strin var body io.Reader = nil c.urlParams_.Set("alt", alt) c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+parent}/entityTypes") + urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+parent}/results") urls += "?" + c.urlParams_.Encode() req, err := http.NewRequest("GET", urls, body) if err != nil { @@ -20401,17 +25727,17 @@ func (c *ProjectsLocationsAgentsSessionsEntityTypesListCall) doRequest(alt strin return gensupport.SendRequest(c.ctx_, c.s.client, req) } -// Do executes the "dialogflow.projects.locations.agents.sessions.entityTypes.list" call. +// Do executes the "dialogflow.projects.locations.agents.testCases.results.list" call. // Exactly one of -// *GoogleCloudDialogflowCxV3beta1ListSessionEntityTypesResponse or -// error will be non-nil. Any non-2xx status code is an error. Response +// *GoogleCloudDialogflowCxV3beta1ListTestCaseResultsResponse or error +// will be non-nil. Any non-2xx status code is an error. Response // headers are in either -// *GoogleCloudDialogflowCxV3beta1ListSessionEntityTypesResponse.ServerRe -// sponse.Header or (if a response was returned at all) in +// *GoogleCloudDialogflowCxV3beta1ListTestCaseResultsResponse.ServerRespo +// nse.Header or (if a response was returned at all) in // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check // whether the returned error was because http.StatusNotModified was // returned. -func (c *ProjectsLocationsAgentsSessionsEntityTypesListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1ListSessionEntityTypesResponse, error) { +func (c *ProjectsLocationsAgentsTestCasesResultsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1ListTestCaseResultsResponse, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -20430,7 +25756,7 @@ func (c *ProjectsLocationsAgentsSessionsEntityTypesListCall) Do(opts ...googleap if err := googleapi.CheckResponse(res); err != nil { return nil, err } - ret := &GoogleCloudDialogflowCxV3beta1ListSessionEntityTypesResponse{ + ret := &GoogleCloudDialogflowCxV3beta1ListTestCaseResultsResponse{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -20442,14 +25768,19 @@ func (c *ProjectsLocationsAgentsSessionsEntityTypesListCall) Do(opts ...googleap } return ret, nil // { - // "description": "Returns the list of all session entity types in the specified session.", - // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/sessions/{sessionsId}/entityTypes", + // "description": "Fetches a list of results for a given test case.", + // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/testCases/{testCasesId}/results", // "httpMethod": "GET", - // "id": "dialogflow.projects.locations.agents.sessions.entityTypes.list", + // "id": "dialogflow.projects.locations.agents.testCases.results.list", // "parameterOrder": [ // "parent" // ], // "parameters": { + // "filter": { + // "description": "The filter expression used to filter test case results. See [API Filtering](https://aip.dev/160). The expression is case insensitive. Only 'AND' is supported for logical operators. The supported syntax is listed below in detail: [AND ] ... [AND latest] The supported fields and operators are: field operator `environment` `=`, `IN` (Use value `draft` for draft environment) `test_time` `\u003e`, `\u003c` `latest` only returns the latest test result in all results for each test case. Examples: * \"environment=draft AND latest\" matches the latest test result for each test case in the draft environment. * \"environment IN (e1,e2)\" matches any test case results with an environment resource name of either \"e1\" or \"e2\". * \"test_time \u003e 1602540713\" matches any test case results with test time later than a unix timestamp in seconds 1602540713.", + // "location": "query", + // "type": "string" + // }, // "pageSize": { // "description": "The maximum number of items to return in a single page. By default 100 and at most 1000.", // "format": "int32", @@ -20462,16 +25793,16 @@ func (c *ProjectsLocationsAgentsSessionsEntityTypesListCall) Do(opts ...googleap // "type": "string" // }, // "parent": { - // "description": "Required. The session to list all session entity types from. Format: `projects//locations//agents//sessions/` or `projects//locations//agents//environments//sessions/`. If `Environment ID` is not specified, we assume default 'draft' environment.", + // "description": "Required. The test case to list results for. Format: `projects//locations//agents// testCases/`. Specify a `-` as a wildcard for TestCase ID to list results across multiple test cases.", // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/sessions/[^/]+$", + // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/testCases/[^/]+$", // "required": true, // "type": "string" // } // }, - // "path": "v3beta1/{+parent}/entityTypes", + // "path": "v3beta1/{+parent}/results", // "response": { - // "$ref": "GoogleCloudDialogflowCxV3beta1ListSessionEntityTypesResponse" + // "$ref": "GoogleCloudDialogflowCxV3beta1ListTestCaseResultsResponse" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform", @@ -20484,7 +25815,7 @@ func (c *ProjectsLocationsAgentsSessionsEntityTypesListCall) Do(opts ...googleap // Pages invokes f for each page of results. // A non-nil error returned from f will halt the iteration. // The provided context supersedes any context provided to the Context method. -func (c *ProjectsLocationsAgentsSessionsEntityTypesListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowCxV3beta1ListSessionEntityTypesResponse) error) error { +func (c *ProjectsLocationsAgentsTestCasesResultsListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowCxV3beta1ListTestCaseResultsResponse) error) error { c.ctx_ = ctx defer c.PageToken(c.urlParams_.Get("pageToken")) // reset paging to original point for { @@ -20502,162 +25833,6 @@ func (c *ProjectsLocationsAgentsSessionsEntityTypesListCall) Pages(ctx context.C } } -// method id "dialogflow.projects.locations.agents.sessions.entityTypes.patch": - -type ProjectsLocationsAgentsSessionsEntityTypesPatchCall struct { - s *Service - nameid string - googleclouddialogflowcxv3beta1sessionentitytype *GoogleCloudDialogflowCxV3beta1SessionEntityType - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header -} - -// Patch: Updates the specified session entity type. -func (r *ProjectsLocationsAgentsSessionsEntityTypesService) Patch(nameid string, googleclouddialogflowcxv3beta1sessionentitytype *GoogleCloudDialogflowCxV3beta1SessionEntityType) *ProjectsLocationsAgentsSessionsEntityTypesPatchCall { - c := &ProjectsLocationsAgentsSessionsEntityTypesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.nameid = nameid - c.googleclouddialogflowcxv3beta1sessionentitytype = googleclouddialogflowcxv3beta1sessionentitytype - return c -} - -// UpdateMask sets the optional parameter "updateMask": The mask to -// control which fields get updated. -func (c *ProjectsLocationsAgentsSessionsEntityTypesPatchCall) UpdateMask(updateMask string) *ProjectsLocationsAgentsSessionsEntityTypesPatchCall { - c.urlParams_.Set("updateMask", updateMask) - return c -} - -// Fields allows partial responses to be retrieved. See -// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse -// for more information. -func (c *ProjectsLocationsAgentsSessionsEntityTypesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsSessionsEntityTypesPatchCall { - c.urlParams_.Set("fields", googleapi.CombineFields(s)) - return c -} - -// Context sets the context to be used in this call's Do method. Any -// pending HTTP request will be aborted if the provided context is -// canceled. -func (c *ProjectsLocationsAgentsSessionsEntityTypesPatchCall) Context(ctx context.Context) *ProjectsLocationsAgentsSessionsEntityTypesPatchCall { - c.ctx_ = ctx - return c -} - -// Header returns an http.Header that can be modified by the caller to -// add HTTP headers to the request. -func (c *ProjectsLocationsAgentsSessionsEntityTypesPatchCall) Header() http.Header { - if c.header_ == nil { - c.header_ = make(http.Header) - } - return c.header_ -} - -func (c *ProjectsLocationsAgentsSessionsEntityTypesPatchCall) doRequest(alt string) (*http.Response, error) { - reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") - for k, v := range c.header_ { - reqHeaders[k] = v - } - reqHeaders.Set("User-Agent", c.s.userAgent()) - var body io.Reader = nil - body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3beta1sessionentitytype) - if err != nil { - return nil, err - } - reqHeaders.Set("Content-Type", "application/json") - c.urlParams_.Set("alt", alt) - c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v3beta1/{+name}") - urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("PATCH", urls, body) - if err != nil { - return nil, err - } - req.Header = reqHeaders - googleapi.Expand(req.URL, map[string]string{ - "name": c.nameid, - }) - return gensupport.SendRequest(c.ctx_, c.s.client, req) -} - -// Do executes the "dialogflow.projects.locations.agents.sessions.entityTypes.patch" call. -// Exactly one of *GoogleCloudDialogflowCxV3beta1SessionEntityType or -// error will be non-nil. Any non-2xx status code is an error. Response -// headers are in either -// *GoogleCloudDialogflowCxV3beta1SessionEntityType.ServerResponse.Header -// or (if a response was returned at all) in -// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check -// whether the returned error was because http.StatusNotModified was -// returned. -func (c *ProjectsLocationsAgentsSessionsEntityTypesPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1SessionEntityType, error) { - gensupport.SetOptions(c.urlParams_, opts...) - res, err := c.doRequest("json") - if res != nil && res.StatusCode == http.StatusNotModified { - if res.Body != nil { - res.Body.Close() - } - return nil, &googleapi.Error{ - Code: res.StatusCode, - Header: res.Header, - } - } - if err != nil { - return nil, err - } - defer googleapi.CloseBody(res) - if err := googleapi.CheckResponse(res); err != nil { - return nil, err - } - ret := &GoogleCloudDialogflowCxV3beta1SessionEntityType{ - ServerResponse: googleapi.ServerResponse{ - Header: res.Header, - HTTPStatusCode: res.StatusCode, - }, - } - target := &ret - if err := gensupport.DecodeResponse(target, res); err != nil { - return nil, err - } - return ret, nil - // { - // "description": "Updates the specified session entity type.", - // "flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/sessions/{sessionsId}/entityTypes/{entityTypesId}", - // "httpMethod": "PATCH", - // "id": "dialogflow.projects.locations.agents.sessions.entityTypes.patch", - // "parameterOrder": [ - // "name" - // ], - // "parameters": { - // "name": { - // "description": "Required. The unique identifier of the session entity type. Format: `projects//locations//agents//sessions//entityTypes/` or `projects//locations//agents//environments//sessions//entityTypes/`. If `Environment ID` is not specified, we assume default 'draft' environment.", - // "location": "path", - // "pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/sessions/[^/]+/entityTypes/[^/]+$", - // "required": true, - // "type": "string" - // }, - // "updateMask": { - // "description": "The mask to control which fields get updated.", - // "format": "google-fieldmask", - // "location": "query", - // "type": "string" - // } - // }, - // "path": "v3beta1/{+name}", - // "request": { - // "$ref": "GoogleCloudDialogflowCxV3beta1SessionEntityType" - // }, - // "response": { - // "$ref": "GoogleCloudDialogflowCxV3beta1SessionEntityType" - // }, - // "scopes": [ - // "https://www.googleapis.com/auth/cloud-platform", - // "https://www.googleapis.com/auth/dialogflow" - // ] - // } - -} - // method id "dialogflow.projects.locations.agents.webhooks.create": type ProjectsLocationsAgentsWebhooksCreateCall struct { @@ -20704,7 +25879,7 @@ func (c *ProjectsLocationsAgentsWebhooksCreateCall) Header() http.Header { func (c *ProjectsLocationsAgentsWebhooksCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -20856,7 +26031,7 @@ func (c *ProjectsLocationsAgentsWebhooksDeleteCall) Header() http.Header { func (c *ProjectsLocationsAgentsWebhooksDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21003,7 +26178,7 @@ func (c *ProjectsLocationsAgentsWebhooksGetCall) Header() http.Header { func (c *ProjectsLocationsAgentsWebhooksGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21163,7 +26338,7 @@ func (c *ProjectsLocationsAgentsWebhooksListCall) Header() http.Header { func (c *ProjectsLocationsAgentsWebhooksListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21341,7 +26516,7 @@ func (c *ProjectsLocationsAgentsWebhooksPatchCall) Header() http.Header { func (c *ProjectsLocationsAgentsWebhooksPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21496,7 +26671,7 @@ func (c *ProjectsLocationsOperationsCancelCall) Header() http.Header { func (c *ProjectsLocationsOperationsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21640,7 +26815,7 @@ func (c *ProjectsLocationsOperationsGetCall) Header() http.Header { func (c *ProjectsLocationsOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21815,7 +26990,7 @@ func (c *ProjectsLocationsOperationsListCall) Header() http.Header { func (c *ProjectsLocationsOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21989,7 +27164,7 @@ func (c *ProjectsLocationsSecuritySettingsCreateCall) Header() http.Header { func (c *ProjectsLocationsSecuritySettingsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -22130,7 +27305,7 @@ func (c *ProjectsLocationsSecuritySettingsDeleteCall) Header() http.Header { func (c *ProjectsLocationsSecuritySettingsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -22273,7 +27448,7 @@ func (c *ProjectsLocationsSecuritySettingsGetCall) Header() http.Header { func (c *ProjectsLocationsSecuritySettingsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -22435,7 +27610,7 @@ func (c *ProjectsLocationsSecuritySettingsListCall) Header() http.Header { func (c *ProjectsLocationsSecuritySettingsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -22614,7 +27789,7 @@ func (c *ProjectsLocationsSecuritySettingsPatchCall) Header() http.Header { func (c *ProjectsLocationsSecuritySettingsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -22770,7 +27945,7 @@ func (c *ProjectsOperationsCancelCall) Header() http.Header { func (c *ProjectsOperationsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -22914,7 +28089,7 @@ func (c *ProjectsOperationsGetCall) Header() http.Header { func (c *ProjectsOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -23089,7 +28264,7 @@ func (c *ProjectsOperationsListCall) Header() http.Header { func (c *ProjectsOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/digitalassetlinks/v1/digitalassetlinks-gen.go b/digitalassetlinks/v1/digitalassetlinks-gen.go index 27c3ae9f0ea..3e4b01f638d 100644 --- a/digitalassetlinks/v1/digitalassetlinks-gen.go +++ b/digitalassetlinks/v1/digitalassetlinks-gen.go @@ -689,7 +689,7 @@ func (c *AssetlinksCheckCall) Header() http.Header { func (c *AssetlinksCheckCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -933,7 +933,7 @@ func (c *StatementsListCall) Header() http.Header { func (c *StatementsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/discovery/v1/discovery-gen.go b/discovery/v1/discovery-gen.go index 8ff4aa6a8b3..d06aa8438b7 100644 --- a/discovery/v1/discovery-gen.go +++ b/discovery/v1/discovery-gen.go @@ -1054,7 +1054,7 @@ func (c *ApisGetRestCall) Header() http.Header { func (c *ApisGetRestCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1213,7 +1213,7 @@ func (c *ApisListCall) Header() http.Header { func (c *ApisListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/displayvideo/v1/displayvideo-gen.go b/displayvideo/v1/displayvideo-gen.go index 7626399b300..6c176a84421 100644 --- a/displayvideo/v1/displayvideo-gen.go +++ b/displayvideo/v1/displayvideo-gen.go @@ -12971,7 +12971,7 @@ func (c *AdvertisersAuditCall) Header() http.Header { func (c *AdvertisersAuditCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13118,7 +13118,7 @@ func (c *AdvertisersBulkEditAdvertiserAssignedTargetingOptionsCall) Header() htt func (c *AdvertisersBulkEditAdvertiserAssignedTargetingOptionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13314,7 +13314,7 @@ func (c *AdvertisersBulkListAdvertiserAssignedTargetingOptionsCall) Header() htt func (c *AdvertisersBulkListAdvertiserAssignedTargetingOptionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13494,7 +13494,7 @@ func (c *AdvertisersCreateCall) Header() http.Header { func (c *AdvertisersCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13621,7 +13621,7 @@ func (c *AdvertisersDeleteCall) Header() http.Header { func (c *AdvertisersDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13763,7 +13763,7 @@ func (c *AdvertisersGetCall) Header() http.Header { func (c *AdvertisersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13958,7 +13958,7 @@ func (c *AdvertisersListCall) Header() http.Header { func (c *AdvertisersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14137,7 +14137,7 @@ func (c *AdvertisersPatchCall) Header() http.Header { func (c *AdvertisersPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14326,7 +14326,7 @@ func (c *AdvertisersAssetsUploadCall) Header() http.Header { func (c *AdvertisersAssetsUploadCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14508,7 +14508,7 @@ func (c *AdvertisersCampaignsCreateCall) Header() http.Header { func (c *AdvertisersCampaignsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14652,7 +14652,7 @@ func (c *AdvertisersCampaignsDeleteCall) Header() http.Header { func (c *AdvertisersCampaignsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14807,7 +14807,7 @@ func (c *AdvertisersCampaignsGetCall) Header() http.Header { func (c *AdvertisersCampaignsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15016,7 +15016,7 @@ func (c *AdvertisersCampaignsListCall) Header() http.Header { func (c *AdvertisersCampaignsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15205,7 +15205,7 @@ func (c *AdvertisersCampaignsPatchCall) Header() http.Header { func (c *AdvertisersCampaignsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15371,7 +15371,7 @@ func (c *AdvertisersChannelsCreateCall) Header() http.Header { func (c *AdvertisersChannelsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15536,7 +15536,7 @@ func (c *AdvertisersChannelsGetCall) Header() http.Header { func (c *AdvertisersChannelsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15746,7 +15746,7 @@ func (c *AdvertisersChannelsListCall) Header() http.Header { func (c *AdvertisersChannelsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15946,7 +15946,7 @@ func (c *AdvertisersChannelsPatchCall) Header() http.Header { func (c *AdvertisersChannelsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16112,7 +16112,7 @@ func (c *AdvertisersChannelsSitesBulkEditCall) Header() http.Header { func (c *AdvertisersChannelsSitesBulkEditCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16271,7 +16271,7 @@ func (c *AdvertisersChannelsSitesCreateCall) Header() http.Header { func (c *AdvertisersChannelsSitesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16436,7 +16436,7 @@ func (c *AdvertisersChannelsSitesDeleteCall) Header() http.Header { func (c *AdvertisersChannelsSitesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16651,7 +16651,7 @@ func (c *AdvertisersChannelsSitesListCall) Header() http.Header { func (c *AdvertisersChannelsSitesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16846,7 +16846,7 @@ func (c *AdvertisersCreativesCreateCall) Header() http.Header { func (c *AdvertisersCreativesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16990,7 +16990,7 @@ func (c *AdvertisersCreativesDeleteCall) Header() http.Header { func (c *AdvertisersCreativesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17144,7 +17144,7 @@ func (c *AdvertisersCreativesGetCall) Header() http.Header { func (c *AdvertisersCreativesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17373,7 +17373,7 @@ func (c *AdvertisersCreativesListCall) Header() http.Header { func (c *AdvertisersCreativesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17561,7 +17561,7 @@ func (c *AdvertisersCreativesPatchCall) Header() http.Header { func (c *AdvertisersCreativesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17719,7 +17719,7 @@ func (c *AdvertisersInsertionOrdersCreateCall) Header() http.Header { func (c *AdvertisersInsertionOrdersCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17863,7 +17863,7 @@ func (c *AdvertisersInsertionOrdersDeleteCall) Header() http.Header { func (c *AdvertisersInsertionOrdersDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18018,7 +18018,7 @@ func (c *AdvertisersInsertionOrdersGetCall) Header() http.Header { func (c *AdvertisersInsertionOrdersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18236,7 +18236,7 @@ func (c *AdvertisersInsertionOrdersListCall) Header() http.Header { func (c *AdvertisersInsertionOrdersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18424,7 +18424,7 @@ func (c *AdvertisersInsertionOrdersPatchCall) Header() http.Header { func (c *AdvertisersInsertionOrdersPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18588,7 +18588,7 @@ func (c *AdvertisersLineItemsBulkEditLineItemAssignedTargetingOptionsCall) Heade func (c *AdvertisersLineItemsBulkEditLineItemAssignedTargetingOptionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18800,7 +18800,7 @@ func (c *AdvertisersLineItemsBulkListLineItemAssignedTargetingOptionsCall) Heade func (c *AdvertisersLineItemsBulkListLineItemAssignedTargetingOptionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18991,7 +18991,7 @@ func (c *AdvertisersLineItemsCreateCall) Header() http.Header { func (c *AdvertisersLineItemsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19135,7 +19135,7 @@ func (c *AdvertisersLineItemsDeleteCall) Header() http.Header { func (c *AdvertisersLineItemsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19289,7 +19289,7 @@ func (c *AdvertisersLineItemsGetCall) Header() http.Header { func (c *AdvertisersLineItemsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19512,7 +19512,7 @@ func (c *AdvertisersLineItemsListCall) Header() http.Header { func (c *AdvertisersLineItemsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19700,7 +19700,7 @@ func (c *AdvertisersLineItemsPatchCall) Header() http.Header { func (c *AdvertisersLineItemsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19862,7 +19862,7 @@ func (c *AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsCreateCall) H func (c *AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -20106,7 +20106,7 @@ func (c *AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsDeleteCall) H func (c *AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -20362,7 +20362,7 @@ func (c *AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsGetCall) Head func (c *AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -20665,7 +20665,7 @@ func (c *AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsListCall) Hea func (c *AdvertisersLineItemsTargetingTypesAssignedTargetingOptionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -20945,7 +20945,7 @@ func (c *AdvertisersLocationListsCreateCall) Header() http.Header { func (c *AdvertisersLocationListsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21097,7 +21097,7 @@ func (c *AdvertisersLocationListsGetCall) Header() http.Header { func (c *AdvertisersLocationListsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21294,7 +21294,7 @@ func (c *AdvertisersLocationListsListCall) Header() http.Header { func (c *AdvertisersLocationListsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21482,7 +21482,7 @@ func (c *AdvertisersLocationListsPatchCall) Header() http.Header { func (c *AdvertisersLocationListsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21645,7 +21645,7 @@ func (c *AdvertisersLocationListsAssignedLocationsBulkEditCall) Header() http.He func (c *AdvertisersLocationListsAssignedLocationsBulkEditCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21798,7 +21798,7 @@ func (c *AdvertisersLocationListsAssignedLocationsCreateCall) Header() http.Head func (c *AdvertisersLocationListsAssignedLocationsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21950,7 +21950,7 @@ func (c *AdvertisersLocationListsAssignedLocationsDeleteCall) Header() http.Head func (c *AdvertisersLocationListsAssignedLocationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -22153,7 +22153,7 @@ func (c *AdvertisersLocationListsAssignedLocationsListCall) Header() http.Header func (c *AdvertisersLocationListsAssignedLocationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -22343,7 +22343,7 @@ func (c *AdvertisersManualTriggersActivateCall) Header() http.Header { func (c *AdvertisersManualTriggersActivateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -22495,7 +22495,7 @@ func (c *AdvertisersManualTriggersCreateCall) Header() http.Header { func (c *AdvertisersManualTriggersCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -22638,7 +22638,7 @@ func (c *AdvertisersManualTriggersDeactivateCall) Header() http.Header { func (c *AdvertisersManualTriggersDeactivateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -22800,7 +22800,7 @@ func (c *AdvertisersManualTriggersGetCall) Header() http.Header { func (c *AdvertisersManualTriggersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -22998,7 +22998,7 @@ func (c *AdvertisersManualTriggersListCall) Header() http.Header { func (c *AdvertisersManualTriggersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -23186,7 +23186,7 @@ func (c *AdvertisersManualTriggersPatchCall) Header() http.Header { func (c *AdvertisersManualTriggersPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -23344,7 +23344,7 @@ func (c *AdvertisersNegativeKeywordListsCreateCall) Header() http.Header { func (c *AdvertisersNegativeKeywordListsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -23486,7 +23486,7 @@ func (c *AdvertisersNegativeKeywordListsDeleteCall) Header() http.Header { func (c *AdvertisersNegativeKeywordListsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -23641,7 +23641,7 @@ func (c *AdvertisersNegativeKeywordListsGetCall) Header() http.Header { func (c *AdvertisersNegativeKeywordListsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -23814,7 +23814,7 @@ func (c *AdvertisersNegativeKeywordListsListCall) Header() http.Header { func (c *AdvertisersNegativeKeywordListsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -23992,7 +23992,7 @@ func (c *AdvertisersNegativeKeywordListsPatchCall) Header() http.Header { func (c *AdvertisersNegativeKeywordListsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -24156,7 +24156,7 @@ func (c *AdvertisersNegativeKeywordListsNegativeKeywordsBulkEditCall) Header() h func (c *AdvertisersNegativeKeywordListsNegativeKeywordsBulkEditCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -24308,7 +24308,7 @@ func (c *AdvertisersNegativeKeywordListsNegativeKeywordsCreateCall) Header() htt func (c *AdvertisersNegativeKeywordListsNegativeKeywordsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -24460,7 +24460,7 @@ func (c *AdvertisersNegativeKeywordListsNegativeKeywordsDeleteCall) Header() htt func (c *AdvertisersNegativeKeywordListsNegativeKeywordsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -24663,7 +24663,7 @@ func (c *AdvertisersNegativeKeywordListsNegativeKeywordsListCall) Header() http. func (c *AdvertisersNegativeKeywordListsNegativeKeywordsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -24854,7 +24854,7 @@ func (c *AdvertisersTargetingTypesAssignedTargetingOptionsCreateCall) Header() h func (c *AdvertisersTargetingTypesAssignedTargetingOptionsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -25086,7 +25086,7 @@ func (c *AdvertisersTargetingTypesAssignedTargetingOptionsDeleteCall) Header() h func (c *AdvertisersTargetingTypesAssignedTargetingOptionsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -25330,7 +25330,7 @@ func (c *AdvertisersTargetingTypesAssignedTargetingOptionsGetCall) Header() http func (c *AdvertisersTargetingTypesAssignedTargetingOptionsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -25618,7 +25618,7 @@ func (c *AdvertisersTargetingTypesAssignedTargetingOptionsListCall) Header() htt func (c *AdvertisersTargetingTypesAssignedTargetingOptionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -25910,7 +25910,7 @@ func (c *CombinedAudiencesGetCall) Header() http.Header { func (c *CombinedAudiencesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -26122,7 +26122,7 @@ func (c *CombinedAudiencesListCall) Header() http.Header { func (c *CombinedAudiencesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -26322,7 +26322,7 @@ func (c *CustomBiddingAlgorithmsGetCall) Header() http.Header { func (c *CustomBiddingAlgorithmsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -26545,7 +26545,7 @@ func (c *CustomBiddingAlgorithmsListCall) Header() http.Header { func (c *CustomBiddingAlgorithmsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -26739,7 +26739,7 @@ func (c *CustomListsGetCall) Header() http.Header { func (c *CustomListsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -26938,7 +26938,7 @@ func (c *CustomListsListCall) Header() http.Header { func (c *CustomListsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -27134,7 +27134,7 @@ func (c *FirstAndThirdPartyAudiencesGetCall) Header() http.Header { func (c *FirstAndThirdPartyAudiencesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -27349,7 +27349,7 @@ func (c *FirstAndThirdPartyAudiencesListCall) Header() http.Header { func (c *FirstAndThirdPartyAudiencesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -27543,7 +27543,7 @@ func (c *FloodlightGroupsGetCall) Header() http.Header { func (c *FloodlightGroupsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -27700,7 +27700,7 @@ func (c *FloodlightGroupsPatchCall) Header() http.Header { func (c *FloodlightGroupsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -27875,7 +27875,7 @@ func (c *GoogleAudiencesGetCall) Header() http.Header { func (c *GoogleAudiencesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -28087,7 +28087,7 @@ func (c *GoogleAudiencesListCall) Header() http.Header { func (c *GoogleAudiencesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -28280,7 +28280,7 @@ func (c *InventorySourceGroupsCreateCall) Header() http.Header { func (c *InventorySourceGroupsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -28434,7 +28434,7 @@ func (c *InventorySourceGroupsDeleteCall) Header() http.Header { func (c *InventorySourceGroupsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -28605,7 +28605,7 @@ func (c *InventorySourceGroupsGetCall) Header() http.Header { func (c *InventorySourceGroupsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -28817,7 +28817,7 @@ func (c *InventorySourceGroupsListCall) Header() http.Header { func (c *InventorySourceGroupsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -29019,7 +29019,7 @@ func (c *InventorySourceGroupsPatchCall) Header() http.Header { func (c *InventorySourceGroupsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -29183,7 +29183,7 @@ func (c *InventorySourceGroupsAssignedInventorySourcesBulkEditCall) Header() htt func (c *InventorySourceGroupsAssignedInventorySourcesBulkEditCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -29344,7 +29344,7 @@ func (c *InventorySourceGroupsAssignedInventorySourcesCreateCall) Header() http. func (c *InventorySourceGroupsAssignedInventorySourcesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -29515,7 +29515,7 @@ func (c *InventorySourceGroupsAssignedInventorySourcesDeleteCall) Header() http. func (c *InventorySourceGroupsAssignedInventorySourcesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -29739,7 +29739,7 @@ func (c *InventorySourceGroupsAssignedInventorySourcesListCall) Header() http.He func (c *InventorySourceGroupsAssignedInventorySourcesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -29947,7 +29947,7 @@ func (c *InventorySourcesGetCall) Header() http.Header { func (c *InventorySourcesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -30159,7 +30159,7 @@ func (c *InventorySourcesListCall) Header() http.Header { func (c *InventorySourcesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -30347,7 +30347,7 @@ func (c *MediaDownloadCall) Header() http.Header { func (c *MediaDownloadCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -30505,7 +30505,7 @@ func (c *PartnersBulkEditPartnerAssignedTargetingOptionsCall) Header() http.Head func (c *PartnersBulkEditPartnerAssignedTargetingOptionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -30657,7 +30657,7 @@ func (c *PartnersGetCall) Header() http.Header { func (c *PartnersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -30842,7 +30842,7 @@ func (c *PartnersListCall) Header() http.Header { func (c *PartnersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -31015,7 +31015,7 @@ func (c *PartnersChannelsCreateCall) Header() http.Header { func (c *PartnersChannelsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -31180,7 +31180,7 @@ func (c *PartnersChannelsGetCall) Header() http.Header { func (c *PartnersChannelsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -31390,7 +31390,7 @@ func (c *PartnersChannelsListCall) Header() http.Header { func (c *PartnersChannelsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -31590,7 +31590,7 @@ func (c *PartnersChannelsPatchCall) Header() http.Header { func (c *PartnersChannelsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -31756,7 +31756,7 @@ func (c *PartnersChannelsSitesBulkEditCall) Header() http.Header { func (c *PartnersChannelsSitesBulkEditCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -31915,7 +31915,7 @@ func (c *PartnersChannelsSitesCreateCall) Header() http.Header { func (c *PartnersChannelsSitesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -32080,7 +32080,7 @@ func (c *PartnersChannelsSitesDeleteCall) Header() http.Header { func (c *PartnersChannelsSitesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -32295,7 +32295,7 @@ func (c *PartnersChannelsSitesListCall) Header() http.Header { func (c *PartnersChannelsSitesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -32492,7 +32492,7 @@ func (c *PartnersTargetingTypesAssignedTargetingOptionsCreateCall) Header() http func (c *PartnersTargetingTypesAssignedTargetingOptionsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -32724,7 +32724,7 @@ func (c *PartnersTargetingTypesAssignedTargetingOptionsDeleteCall) Header() http func (c *PartnersTargetingTypesAssignedTargetingOptionsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -32968,7 +32968,7 @@ func (c *PartnersTargetingTypesAssignedTargetingOptionsGetCall) Header() http.He func (c *PartnersTargetingTypesAssignedTargetingOptionsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -33256,7 +33256,7 @@ func (c *PartnersTargetingTypesAssignedTargetingOptionsListCall) Header() http.H func (c *PartnersTargetingTypesAssignedTargetingOptionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -33531,7 +33531,7 @@ func (c *SdfdownloadtasksCreateCall) Header() http.Header { func (c *SdfdownloadtasksCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -33669,7 +33669,7 @@ func (c *SdfdownloadtasksOperationsGetCall) Header() http.Header { func (c *SdfdownloadtasksOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -33823,7 +33823,7 @@ func (c *TargetingTypesTargetingOptionsGetCall) Header() http.Header { func (c *TargetingTypesTargetingOptionsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -34118,7 +34118,7 @@ func (c *TargetingTypesTargetingOptionsListCall) Header() http.Header { func (c *TargetingTypesTargetingOptionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -34382,7 +34382,7 @@ func (c *TargetingTypesTargetingOptionsSearchCall) Header() http.Header { func (c *TargetingTypesTargetingOptionsSearchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -34627,7 +34627,7 @@ func (c *UsersBulkEditAssignedUserRolesCall) Header() http.Header { func (c *UsersBulkEditAssignedUserRolesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -34768,7 +34768,7 @@ func (c *UsersCreateCall) Header() http.Header { func (c *UsersCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -34893,7 +34893,7 @@ func (c *UsersDeleteCall) Header() http.Header { func (c *UsersDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -35035,7 +35035,7 @@ func (c *UsersGetCall) Header() http.Header { func (c *UsersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -35237,7 +35237,7 @@ func (c *UsersListCall) Header() http.Header { func (c *UsersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -35410,7 +35410,7 @@ func (c *UsersPatchCall) Header() http.Header { func (c *UsersPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/dlp/v2/dlp-gen.go b/dlp/v2/dlp-gen.go index 373ca529b9d..acf1007b2f2 100644 --- a/dlp/v2/dlp-gen.go +++ b/dlp/v2/dlp-gen.go @@ -8215,7 +8215,7 @@ func (c *InfoTypesListCall) Header() http.Header { func (c *InfoTypesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8394,7 +8394,7 @@ func (c *LocationsInfoTypesListCall) Header() http.Header { func (c *LocationsInfoTypesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8548,7 +8548,7 @@ func (c *OrganizationsDeidentifyTemplatesCreateCall) Header() http.Header { func (c *OrganizationsDeidentifyTemplatesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8689,7 +8689,7 @@ func (c *OrganizationsDeidentifyTemplatesDeleteCall) Header() http.Header { func (c *OrganizationsDeidentifyTemplatesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8832,7 +8832,7 @@ func (c *OrganizationsDeidentifyTemplatesGetCall) Header() http.Header { func (c *OrganizationsDeidentifyTemplatesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9016,7 +9016,7 @@ func (c *OrganizationsDeidentifyTemplatesListCall) Header() http.Header { func (c *OrganizationsDeidentifyTemplatesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9197,7 +9197,7 @@ func (c *OrganizationsDeidentifyTemplatesPatchCall) Header() http.Header { func (c *OrganizationsDeidentifyTemplatesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9340,7 +9340,7 @@ func (c *OrganizationsInspectTemplatesCreateCall) Header() http.Header { func (c *OrganizationsInspectTemplatesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9480,7 +9480,7 @@ func (c *OrganizationsInspectTemplatesDeleteCall) Header() http.Header { func (c *OrganizationsInspectTemplatesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9622,7 +9622,7 @@ func (c *OrganizationsInspectTemplatesGetCall) Header() http.Header { func (c *OrganizationsInspectTemplatesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9805,7 +9805,7 @@ func (c *OrganizationsInspectTemplatesListCall) Header() http.Header { func (c *OrganizationsInspectTemplatesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9985,7 +9985,7 @@ func (c *OrganizationsInspectTemplatesPatchCall) Header() http.Header { func (c *OrganizationsInspectTemplatesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10129,7 +10129,7 @@ func (c *OrganizationsLocationsDeidentifyTemplatesCreateCall) Header() http.Head func (c *OrganizationsLocationsDeidentifyTemplatesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10270,7 +10270,7 @@ func (c *OrganizationsLocationsDeidentifyTemplatesDeleteCall) Header() http.Head func (c *OrganizationsLocationsDeidentifyTemplatesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10413,7 +10413,7 @@ func (c *OrganizationsLocationsDeidentifyTemplatesGetCall) Header() http.Header func (c *OrganizationsLocationsDeidentifyTemplatesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10597,7 +10597,7 @@ func (c *OrganizationsLocationsDeidentifyTemplatesListCall) Header() http.Header func (c *OrganizationsLocationsDeidentifyTemplatesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10778,7 +10778,7 @@ func (c *OrganizationsLocationsDeidentifyTemplatesPatchCall) Header() http.Heade func (c *OrganizationsLocationsDeidentifyTemplatesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11001,7 +11001,7 @@ func (c *OrganizationsLocationsDlpJobsListCall) Header() http.Header { func (c *OrganizationsLocationsDlpJobsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11201,7 +11201,7 @@ func (c *OrganizationsLocationsInspectTemplatesCreateCall) Header() http.Header func (c *OrganizationsLocationsInspectTemplatesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11341,7 +11341,7 @@ func (c *OrganizationsLocationsInspectTemplatesDeleteCall) Header() http.Header func (c *OrganizationsLocationsInspectTemplatesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11483,7 +11483,7 @@ func (c *OrganizationsLocationsInspectTemplatesGetCall) Header() http.Header { func (c *OrganizationsLocationsInspectTemplatesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11666,7 +11666,7 @@ func (c *OrganizationsLocationsInspectTemplatesListCall) Header() http.Header { func (c *OrganizationsLocationsInspectTemplatesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11846,7 +11846,7 @@ func (c *OrganizationsLocationsInspectTemplatesPatchCall) Header() http.Header { func (c *OrganizationsLocationsInspectTemplatesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11990,7 +11990,7 @@ func (c *OrganizationsLocationsJobTriggersCreateCall) Header() http.Header { func (c *OrganizationsLocationsJobTriggersCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12130,7 +12130,7 @@ func (c *OrganizationsLocationsJobTriggersDeleteCall) Header() http.Header { func (c *OrganizationsLocationsJobTriggersDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12273,7 +12273,7 @@ func (c *OrganizationsLocationsJobTriggersGetCall) Header() http.Header { func (c *OrganizationsLocationsJobTriggersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12478,7 +12478,7 @@ func (c *OrganizationsLocationsJobTriggersListCall) Header() http.Header { func (c *OrganizationsLocationsJobTriggersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12664,7 +12664,7 @@ func (c *OrganizationsLocationsJobTriggersPatchCall) Header() http.Header { func (c *OrganizationsLocationsJobTriggersPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12807,7 +12807,7 @@ func (c *OrganizationsLocationsStoredInfoTypesCreateCall) Header() http.Header { func (c *OrganizationsLocationsStoredInfoTypesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12947,7 +12947,7 @@ func (c *OrganizationsLocationsStoredInfoTypesDeleteCall) Header() http.Header { func (c *OrganizationsLocationsStoredInfoTypesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13090,7 +13090,7 @@ func (c *OrganizationsLocationsStoredInfoTypesGetCall) Header() http.Header { func (c *OrganizationsLocationsStoredInfoTypesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13273,7 +13273,7 @@ func (c *OrganizationsLocationsStoredInfoTypesListCall) Header() http.Header { func (c *OrganizationsLocationsStoredInfoTypesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13456,7 +13456,7 @@ func (c *OrganizationsLocationsStoredInfoTypesPatchCall) Header() http.Header { func (c *OrganizationsLocationsStoredInfoTypesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13599,7 +13599,7 @@ func (c *OrganizationsStoredInfoTypesCreateCall) Header() http.Header { func (c *OrganizationsStoredInfoTypesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13739,7 +13739,7 @@ func (c *OrganizationsStoredInfoTypesDeleteCall) Header() http.Header { func (c *OrganizationsStoredInfoTypesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13882,7 +13882,7 @@ func (c *OrganizationsStoredInfoTypesGetCall) Header() http.Header { func (c *OrganizationsStoredInfoTypesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14065,7 +14065,7 @@ func (c *OrganizationsStoredInfoTypesListCall) Header() http.Header { func (c *OrganizationsStoredInfoTypesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14248,7 +14248,7 @@ func (c *OrganizationsStoredInfoTypesPatchCall) Header() http.Header { func (c *OrganizationsStoredInfoTypesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14394,7 +14394,7 @@ func (c *ProjectsContentDeidentifyCall) Header() http.Header { func (c *ProjectsContentDeidentifyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14543,7 +14543,7 @@ func (c *ProjectsContentInspectCall) Header() http.Header { func (c *ProjectsContentInspectCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14687,7 +14687,7 @@ func (c *ProjectsContentReidentifyCall) Header() http.Header { func (c *ProjectsContentReidentifyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14832,7 +14832,7 @@ func (c *ProjectsDeidentifyTemplatesCreateCall) Header() http.Header { func (c *ProjectsDeidentifyTemplatesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14973,7 +14973,7 @@ func (c *ProjectsDeidentifyTemplatesDeleteCall) Header() http.Header { func (c *ProjectsDeidentifyTemplatesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15116,7 +15116,7 @@ func (c *ProjectsDeidentifyTemplatesGetCall) Header() http.Header { func (c *ProjectsDeidentifyTemplatesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15300,7 +15300,7 @@ func (c *ProjectsDeidentifyTemplatesListCall) Header() http.Header { func (c *ProjectsDeidentifyTemplatesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15481,7 +15481,7 @@ func (c *ProjectsDeidentifyTemplatesPatchCall) Header() http.Header { func (c *ProjectsDeidentifyTemplatesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15627,7 +15627,7 @@ func (c *ProjectsDlpJobsCancelCall) Header() http.Header { func (c *ProjectsDlpJobsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15773,7 +15773,7 @@ func (c *ProjectsDlpJobsCreateCall) Header() http.Header { func (c *ProjectsDlpJobsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15916,7 +15916,7 @@ func (c *ProjectsDlpJobsDeleteCall) Header() http.Header { func (c *ProjectsDlpJobsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16060,7 +16060,7 @@ func (c *ProjectsDlpJobsGetCall) Header() http.Header { func (c *ProjectsDlpJobsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16277,7 +16277,7 @@ func (c *ProjectsDlpJobsListCall) Header() http.Header { func (c *ProjectsDlpJobsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16481,7 +16481,7 @@ func (c *ProjectsImageRedactCall) Header() http.Header { func (c *ProjectsImageRedactCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16624,7 +16624,7 @@ func (c *ProjectsInspectTemplatesCreateCall) Header() http.Header { func (c *ProjectsInspectTemplatesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16764,7 +16764,7 @@ func (c *ProjectsInspectTemplatesDeleteCall) Header() http.Header { func (c *ProjectsInspectTemplatesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16906,7 +16906,7 @@ func (c *ProjectsInspectTemplatesGetCall) Header() http.Header { func (c *ProjectsInspectTemplatesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17089,7 +17089,7 @@ func (c *ProjectsInspectTemplatesListCall) Header() http.Header { func (c *ProjectsInspectTemplatesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17269,7 +17269,7 @@ func (c *ProjectsInspectTemplatesPatchCall) Header() http.Header { func (c *ProjectsInspectTemplatesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17411,7 +17411,7 @@ func (c *ProjectsJobTriggersActivateCall) Header() http.Header { func (c *ProjectsJobTriggersActivateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17554,7 +17554,7 @@ func (c *ProjectsJobTriggersCreateCall) Header() http.Header { func (c *ProjectsJobTriggersCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17694,7 +17694,7 @@ func (c *ProjectsJobTriggersDeleteCall) Header() http.Header { func (c *ProjectsJobTriggersDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17837,7 +17837,7 @@ func (c *ProjectsJobTriggersGetCall) Header() http.Header { func (c *ProjectsJobTriggersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18042,7 +18042,7 @@ func (c *ProjectsJobTriggersListCall) Header() http.Header { func (c *ProjectsJobTriggersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18228,7 +18228,7 @@ func (c *ProjectsJobTriggersPatchCall) Header() http.Header { func (c *ProjectsJobTriggersPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18374,7 +18374,7 @@ func (c *ProjectsLocationsContentDeidentifyCall) Header() http.Header { func (c *ProjectsLocationsContentDeidentifyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18523,7 +18523,7 @@ func (c *ProjectsLocationsContentInspectCall) Header() http.Header { func (c *ProjectsLocationsContentInspectCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18667,7 +18667,7 @@ func (c *ProjectsLocationsContentReidentifyCall) Header() http.Header { func (c *ProjectsLocationsContentReidentifyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18812,7 +18812,7 @@ func (c *ProjectsLocationsDeidentifyTemplatesCreateCall) Header() http.Header { func (c *ProjectsLocationsDeidentifyTemplatesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18953,7 +18953,7 @@ func (c *ProjectsLocationsDeidentifyTemplatesDeleteCall) Header() http.Header { func (c *ProjectsLocationsDeidentifyTemplatesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19096,7 +19096,7 @@ func (c *ProjectsLocationsDeidentifyTemplatesGetCall) Header() http.Header { func (c *ProjectsLocationsDeidentifyTemplatesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19280,7 +19280,7 @@ func (c *ProjectsLocationsDeidentifyTemplatesListCall) Header() http.Header { func (c *ProjectsLocationsDeidentifyTemplatesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19461,7 +19461,7 @@ func (c *ProjectsLocationsDeidentifyTemplatesPatchCall) Header() http.Header { func (c *ProjectsLocationsDeidentifyTemplatesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19607,7 +19607,7 @@ func (c *ProjectsLocationsDlpJobsCancelCall) Header() http.Header { func (c *ProjectsLocationsDlpJobsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19753,7 +19753,7 @@ func (c *ProjectsLocationsDlpJobsCreateCall) Header() http.Header { func (c *ProjectsLocationsDlpJobsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19896,7 +19896,7 @@ func (c *ProjectsLocationsDlpJobsDeleteCall) Header() http.Header { func (c *ProjectsLocationsDlpJobsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -20029,7 +20029,7 @@ func (c *ProjectsLocationsDlpJobsFinishCall) Header() http.Header { func (c *ProjectsLocationsDlpJobsFinishCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -20181,7 +20181,7 @@ func (c *ProjectsLocationsDlpJobsGetCall) Header() http.Header { func (c *ProjectsLocationsDlpJobsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -20318,7 +20318,7 @@ func (c *ProjectsLocationsDlpJobsHybridInspectCall) Header() http.Header { func (c *ProjectsLocationsDlpJobsHybridInspectCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -20541,7 +20541,7 @@ func (c *ProjectsLocationsDlpJobsListCall) Header() http.Header { func (c *ProjectsLocationsDlpJobsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -20745,7 +20745,7 @@ func (c *ProjectsLocationsImageRedactCall) Header() http.Header { func (c *ProjectsLocationsImageRedactCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -20888,7 +20888,7 @@ func (c *ProjectsLocationsInspectTemplatesCreateCall) Header() http.Header { func (c *ProjectsLocationsInspectTemplatesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21028,7 +21028,7 @@ func (c *ProjectsLocationsInspectTemplatesDeleteCall) Header() http.Header { func (c *ProjectsLocationsInspectTemplatesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21170,7 +21170,7 @@ func (c *ProjectsLocationsInspectTemplatesGetCall) Header() http.Header { func (c *ProjectsLocationsInspectTemplatesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21353,7 +21353,7 @@ func (c *ProjectsLocationsInspectTemplatesListCall) Header() http.Header { func (c *ProjectsLocationsInspectTemplatesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21533,7 +21533,7 @@ func (c *ProjectsLocationsInspectTemplatesPatchCall) Header() http.Header { func (c *ProjectsLocationsInspectTemplatesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21675,7 +21675,7 @@ func (c *ProjectsLocationsJobTriggersActivateCall) Header() http.Header { func (c *ProjectsLocationsJobTriggersActivateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21818,7 +21818,7 @@ func (c *ProjectsLocationsJobTriggersCreateCall) Header() http.Header { func (c *ProjectsLocationsJobTriggersCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21958,7 +21958,7 @@ func (c *ProjectsLocationsJobTriggersDeleteCall) Header() http.Header { func (c *ProjectsLocationsJobTriggersDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -22101,7 +22101,7 @@ func (c *ProjectsLocationsJobTriggersGetCall) Header() http.Header { func (c *ProjectsLocationsJobTriggersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -22238,7 +22238,7 @@ func (c *ProjectsLocationsJobTriggersHybridInspectCall) Header() http.Header { func (c *ProjectsLocationsJobTriggersHybridInspectCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -22449,7 +22449,7 @@ func (c *ProjectsLocationsJobTriggersListCall) Header() http.Header { func (c *ProjectsLocationsJobTriggersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -22635,7 +22635,7 @@ func (c *ProjectsLocationsJobTriggersPatchCall) Header() http.Header { func (c *ProjectsLocationsJobTriggersPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -22778,7 +22778,7 @@ func (c *ProjectsLocationsStoredInfoTypesCreateCall) Header() http.Header { func (c *ProjectsLocationsStoredInfoTypesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -22918,7 +22918,7 @@ func (c *ProjectsLocationsStoredInfoTypesDeleteCall) Header() http.Header { func (c *ProjectsLocationsStoredInfoTypesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -23061,7 +23061,7 @@ func (c *ProjectsLocationsStoredInfoTypesGetCall) Header() http.Header { func (c *ProjectsLocationsStoredInfoTypesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -23244,7 +23244,7 @@ func (c *ProjectsLocationsStoredInfoTypesListCall) Header() http.Header { func (c *ProjectsLocationsStoredInfoTypesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -23427,7 +23427,7 @@ func (c *ProjectsLocationsStoredInfoTypesPatchCall) Header() http.Header { func (c *ProjectsLocationsStoredInfoTypesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -23570,7 +23570,7 @@ func (c *ProjectsStoredInfoTypesCreateCall) Header() http.Header { func (c *ProjectsStoredInfoTypesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -23710,7 +23710,7 @@ func (c *ProjectsStoredInfoTypesDeleteCall) Header() http.Header { func (c *ProjectsStoredInfoTypesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -23853,7 +23853,7 @@ func (c *ProjectsStoredInfoTypesGetCall) Header() http.Header { func (c *ProjectsStoredInfoTypesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -24036,7 +24036,7 @@ func (c *ProjectsStoredInfoTypesListCall) Header() http.Header { func (c *ProjectsStoredInfoTypesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -24219,7 +24219,7 @@ func (c *ProjectsStoredInfoTypesPatchCall) Header() http.Header { func (c *ProjectsStoredInfoTypesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/dns/v1/dns-gen.go b/dns/v1/dns-gen.go index fb5eb80b224..f2e50565ac1 100644 --- a/dns/v1/dns-gen.go +++ b/dns/v1/dns-gen.go @@ -2050,7 +2050,7 @@ func (c *ChangesCreateCall) Header() http.Header { func (c *ChangesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2225,7 +2225,7 @@ func (c *ChangesGetCall) Header() http.Header { func (c *ChangesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2427,7 +2427,7 @@ func (c *ChangesListCall) Header() http.Header { func (c *ChangesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2652,7 +2652,7 @@ func (c *DnsKeysGetCall) Header() http.Header { func (c *DnsKeysGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2851,7 +2851,7 @@ func (c *DnsKeysListCall) Header() http.Header { func (c *DnsKeysListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3055,7 +3055,7 @@ func (c *ManagedZoneOperationsGetCall) Header() http.Header { func (c *ManagedZoneOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3251,7 +3251,7 @@ func (c *ManagedZoneOperationsListCall) Header() http.Header { func (c *ManagedZoneOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3452,7 +3452,7 @@ func (c *ManagedZonesCreateCall) Header() http.Header { func (c *ManagedZonesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3606,7 +3606,7 @@ func (c *ManagedZonesDeleteCall) Header() http.Header { func (c *ManagedZonesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3743,7 +3743,7 @@ func (c *ManagedZonesGetCall) Header() http.Header { func (c *ManagedZonesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3926,7 +3926,7 @@ func (c *ManagedZonesListCall) Header() http.Header { func (c *ManagedZonesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4111,7 +4111,7 @@ func (c *ManagedZonesPatchCall) Header() http.Header { func (c *ManagedZonesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4275,7 +4275,7 @@ func (c *ManagedZonesUpdateCall) Header() http.Header { func (c *ManagedZonesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4437,7 +4437,7 @@ func (c *PoliciesCreateCall) Header() http.Header { func (c *PoliciesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4592,7 +4592,7 @@ func (c *PoliciesDeleteCall) Header() http.Header { func (c *PoliciesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4729,7 +4729,7 @@ func (c *PoliciesGetCall) Header() http.Header { func (c *PoliciesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4904,7 +4904,7 @@ func (c *PoliciesListCall) Header() http.Header { func (c *PoliciesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5084,7 +5084,7 @@ func (c *PoliciesPatchCall) Header() http.Header { func (c *PoliciesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5248,7 +5248,7 @@ func (c *PoliciesUpdateCall) Header() http.Header { func (c *PoliciesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5419,7 +5419,7 @@ func (c *ProjectsGetCall) Header() http.Header { func (c *ProjectsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5604,7 +5604,7 @@ func (c *ResourceRecordSetsListCall) Header() http.Header { func (c *ResourceRecordSetsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/dns/v1beta2/dns-gen.go b/dns/v1beta2/dns-gen.go index a688e09e464..d0349febcf3 100644 --- a/dns/v1beta2/dns-gen.go +++ b/dns/v1beta2/dns-gen.go @@ -2083,7 +2083,7 @@ func (c *ChangesCreateCall) Header() http.Header { func (c *ChangesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2258,7 +2258,7 @@ func (c *ChangesGetCall) Header() http.Header { func (c *ChangesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2460,7 +2460,7 @@ func (c *ChangesListCall) Header() http.Header { func (c *ChangesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2685,7 +2685,7 @@ func (c *DnsKeysGetCall) Header() http.Header { func (c *DnsKeysGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2884,7 +2884,7 @@ func (c *DnsKeysListCall) Header() http.Header { func (c *DnsKeysListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3088,7 +3088,7 @@ func (c *ManagedZoneOperationsGetCall) Header() http.Header { func (c *ManagedZoneOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3284,7 +3284,7 @@ func (c *ManagedZoneOperationsListCall) Header() http.Header { func (c *ManagedZoneOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3485,7 +3485,7 @@ func (c *ManagedZonesCreateCall) Header() http.Header { func (c *ManagedZonesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3639,7 +3639,7 @@ func (c *ManagedZonesDeleteCall) Header() http.Header { func (c *ManagedZonesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3776,7 +3776,7 @@ func (c *ManagedZonesGetCall) Header() http.Header { func (c *ManagedZonesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3959,7 +3959,7 @@ func (c *ManagedZonesListCall) Header() http.Header { func (c *ManagedZonesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4144,7 +4144,7 @@ func (c *ManagedZonesPatchCall) Header() http.Header { func (c *ManagedZonesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4308,7 +4308,7 @@ func (c *ManagedZonesUpdateCall) Header() http.Header { func (c *ManagedZonesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4470,7 +4470,7 @@ func (c *PoliciesCreateCall) Header() http.Header { func (c *PoliciesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4625,7 +4625,7 @@ func (c *PoliciesDeleteCall) Header() http.Header { func (c *PoliciesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4762,7 +4762,7 @@ func (c *PoliciesGetCall) Header() http.Header { func (c *PoliciesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4937,7 +4937,7 @@ func (c *PoliciesListCall) Header() http.Header { func (c *PoliciesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5117,7 +5117,7 @@ func (c *PoliciesPatchCall) Header() http.Header { func (c *PoliciesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5281,7 +5281,7 @@ func (c *PoliciesUpdateCall) Header() http.Header { func (c *PoliciesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5452,7 +5452,7 @@ func (c *ProjectsGetCall) Header() http.Header { func (c *ProjectsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5605,7 +5605,7 @@ func (c *ProjectsManagedZonesRrsetsCreateCall) Header() http.Header { func (c *ProjectsManagedZonesRrsetsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5771,7 +5771,7 @@ func (c *ProjectsManagedZonesRrsetsDeleteCall) Header() http.Header { func (c *ProjectsManagedZonesRrsetsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5956,7 +5956,7 @@ func (c *ProjectsManagedZonesRrsetsGetCall) Header() http.Header { func (c *ProjectsManagedZonesRrsetsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6137,7 +6137,7 @@ func (c *ProjectsManagedZonesRrsetsPatchCall) Header() http.Header { func (c *ProjectsManagedZonesRrsetsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6349,7 +6349,7 @@ func (c *ResourceRecordSetsListCall) Header() http.Header { func (c *ResourceRecordSetsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/docs/v1/docs-gen.go b/docs/v1/docs-gen.go index 86169dabbbf..78aa1dec48e 100644 --- a/docs/v1/docs-gen.go +++ b/docs/v1/docs-gen.go @@ -7027,7 +7027,7 @@ func (c *DocumentsBatchUpdateCall) Header() http.Header { func (c *DocumentsBatchUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7168,7 +7168,7 @@ func (c *DocumentsCreateCall) Header() http.Header { func (c *DocumentsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7335,7 +7335,7 @@ func (c *DocumentsGetCall) Header() http.Header { func (c *DocumentsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/documentai/v1beta2/documentai-gen.go b/documentai/v1beta2/documentai-gen.go index 91ca07d6cf1..013eb271073 100644 --- a/documentai/v1beta2/documentai-gen.go +++ b/documentai/v1beta2/documentai-gen.go @@ -5505,7 +5505,7 @@ func (c *ProjectsDocumentsBatchProcessCall) Header() http.Header { func (c *ProjectsDocumentsBatchProcessCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5645,7 +5645,7 @@ func (c *ProjectsDocumentsProcessCall) Header() http.Header { func (c *ProjectsDocumentsProcessCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5787,7 +5787,7 @@ func (c *ProjectsLocationsDocumentsBatchProcessCall) Header() http.Header { func (c *ProjectsLocationsDocumentsBatchProcessCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5927,7 +5927,7 @@ func (c *ProjectsLocationsDocumentsProcessCall) Header() http.Header { func (c *ProjectsLocationsDocumentsProcessCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6079,7 +6079,7 @@ func (c *ProjectsLocationsOperationsGetCall) Header() http.Header { func (c *ProjectsLocationsOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6225,7 +6225,7 @@ func (c *ProjectsOperationsGetCall) Header() http.Header { func (c *ProjectsOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/documentai/v1beta3/documentai-gen.go b/documentai/v1beta3/documentai-gen.go index afa79196d2a..306598b9c4d 100644 --- a/documentai/v1beta3/documentai-gen.go +++ b/documentai/v1beta3/documentai-gen.go @@ -7051,7 +7051,7 @@ func (c *ProjectsLocationsGetCall) Header() http.Header { func (c *ProjectsLocationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7217,7 +7217,7 @@ func (c *ProjectsLocationsListCall) Header() http.Header { func (c *ProjectsLocationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7402,7 +7402,7 @@ func (c *ProjectsLocationsOperationsGetCall) Header() http.Header { func (c *ProjectsLocationsOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7538,7 +7538,7 @@ func (c *ProjectsLocationsProcessorsBatchProcessCall) Header() http.Header { func (c *ProjectsLocationsProcessorsBatchProcessCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7678,7 +7678,7 @@ func (c *ProjectsLocationsProcessorsProcessCall) Header() http.Header { func (c *ProjectsLocationsProcessorsProcessCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7821,7 +7821,7 @@ func (c *ProjectsLocationsProcessorsHumanReviewConfigReviewDocumentCall) Header( func (c *ProjectsLocationsProcessorsHumanReviewConfigReviewDocumentCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7962,7 +7962,7 @@ func (c *ProjectsLocationsProcessorsProcessorVersionsBatchProcessCall) Header() func (c *ProjectsLocationsProcessorsProcessorVersionsBatchProcessCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8102,7 +8102,7 @@ func (c *ProjectsLocationsProcessorsProcessorVersionsProcessCall) Header() http. func (c *ProjectsLocationsProcessorsProcessorVersionsProcessCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/domains/v1alpha2/domains-gen.go b/domains/v1alpha2/domains-gen.go index 035a7a673fe..bb9e5a88efb 100644 --- a/domains/v1alpha2/domains-gen.go +++ b/domains/v1alpha2/domains-gen.go @@ -2061,7 +2061,7 @@ func (c *ProjectsLocationsGetCall) Header() http.Header { func (c *ProjectsLocationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2227,7 +2227,7 @@ func (c *ProjectsLocationsListCall) Header() http.Header { func (c *ProjectsLocationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2410,7 +2410,7 @@ func (c *ProjectsLocationsOperationsGetCall) Header() http.Header { func (c *ProjectsLocationsOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2584,7 +2584,7 @@ func (c *ProjectsLocationsOperationsListCall) Header() http.Header { func (c *ProjectsLocationsOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2758,7 +2758,7 @@ func (c *ProjectsLocationsRegistrationsConfigureContactSettingsCall) Header() ht func (c *ProjectsLocationsRegistrationsConfigureContactSettingsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2898,7 +2898,7 @@ func (c *ProjectsLocationsRegistrationsConfigureDnsSettingsCall) Header() http.H func (c *ProjectsLocationsRegistrationsConfigureDnsSettingsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3039,7 +3039,7 @@ func (c *ProjectsLocationsRegistrationsConfigureManagementSettingsCall) Header() func (c *ProjectsLocationsRegistrationsConfigureManagementSettingsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3179,7 +3179,7 @@ func (c *ProjectsLocationsRegistrationsDeleteCall) Header() http.Header { func (c *ProjectsLocationsRegistrationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3320,7 +3320,7 @@ func (c *ProjectsLocationsRegistrationsExportCall) Header() http.Header { func (c *ProjectsLocationsRegistrationsExportCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3469,7 +3469,7 @@ func (c *ProjectsLocationsRegistrationsGetCall) Header() http.Header { func (c *ProjectsLocationsRegistrationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3630,7 +3630,7 @@ func (c *ProjectsLocationsRegistrationsGetIamPolicyCall) Header() http.Header { func (c *ProjectsLocationsRegistrationsGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3814,7 +3814,7 @@ func (c *ProjectsLocationsRegistrationsListCall) Header() http.Header { func (c *ProjectsLocationsRegistrationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4000,7 +4000,7 @@ func (c *ProjectsLocationsRegistrationsPatchCall) Header() http.Header { func (c *ProjectsLocationsRegistrationsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4155,7 +4155,7 @@ func (c *ProjectsLocationsRegistrationsRegisterCall) Header() http.Header { func (c *ProjectsLocationsRegistrationsRegisterCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4297,7 +4297,7 @@ func (c *ProjectsLocationsRegistrationsResetAuthorizationCodeCall) Header() http func (c *ProjectsLocationsRegistrationsResetAuthorizationCodeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4449,7 +4449,7 @@ func (c *ProjectsLocationsRegistrationsRetrieveAuthorizationCodeCall) Header() h func (c *ProjectsLocationsRegistrationsRetrieveAuthorizationCodeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4603,7 +4603,7 @@ func (c *ProjectsLocationsRegistrationsRetrieveRegisterParametersCall) Header() func (c *ProjectsLocationsRegistrationsRetrieveRegisterParametersCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4763,7 +4763,7 @@ func (c *ProjectsLocationsRegistrationsSearchDomainsCall) Header() http.Header { func (c *ProjectsLocationsRegistrationsSearchDomainsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4905,7 +4905,7 @@ func (c *ProjectsLocationsRegistrationsSetIamPolicyCall) Header() http.Header { func (c *ProjectsLocationsRegistrationsSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5050,7 +5050,7 @@ func (c *ProjectsLocationsRegistrationsTestIamPermissionsCall) Header() http.Hea func (c *ProjectsLocationsRegistrationsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/domains/v1beta1/domains-gen.go b/domains/v1beta1/domains-gen.go index e2780f4ffbc..e1581bdcc26 100644 --- a/domains/v1beta1/domains-gen.go +++ b/domains/v1beta1/domains-gen.go @@ -2061,7 +2061,7 @@ func (c *ProjectsLocationsGetCall) Header() http.Header { func (c *ProjectsLocationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2227,7 +2227,7 @@ func (c *ProjectsLocationsListCall) Header() http.Header { func (c *ProjectsLocationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2410,7 +2410,7 @@ func (c *ProjectsLocationsOperationsGetCall) Header() http.Header { func (c *ProjectsLocationsOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2584,7 +2584,7 @@ func (c *ProjectsLocationsOperationsListCall) Header() http.Header { func (c *ProjectsLocationsOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2758,7 +2758,7 @@ func (c *ProjectsLocationsRegistrationsConfigureContactSettingsCall) Header() ht func (c *ProjectsLocationsRegistrationsConfigureContactSettingsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2898,7 +2898,7 @@ func (c *ProjectsLocationsRegistrationsConfigureDnsSettingsCall) Header() http.H func (c *ProjectsLocationsRegistrationsConfigureDnsSettingsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3039,7 +3039,7 @@ func (c *ProjectsLocationsRegistrationsConfigureManagementSettingsCall) Header() func (c *ProjectsLocationsRegistrationsConfigureManagementSettingsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3179,7 +3179,7 @@ func (c *ProjectsLocationsRegistrationsDeleteCall) Header() http.Header { func (c *ProjectsLocationsRegistrationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3320,7 +3320,7 @@ func (c *ProjectsLocationsRegistrationsExportCall) Header() http.Header { func (c *ProjectsLocationsRegistrationsExportCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3469,7 +3469,7 @@ func (c *ProjectsLocationsRegistrationsGetCall) Header() http.Header { func (c *ProjectsLocationsRegistrationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3630,7 +3630,7 @@ func (c *ProjectsLocationsRegistrationsGetIamPolicyCall) Header() http.Header { func (c *ProjectsLocationsRegistrationsGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3814,7 +3814,7 @@ func (c *ProjectsLocationsRegistrationsListCall) Header() http.Header { func (c *ProjectsLocationsRegistrationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4000,7 +4000,7 @@ func (c *ProjectsLocationsRegistrationsPatchCall) Header() http.Header { func (c *ProjectsLocationsRegistrationsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4155,7 +4155,7 @@ func (c *ProjectsLocationsRegistrationsRegisterCall) Header() http.Header { func (c *ProjectsLocationsRegistrationsRegisterCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4297,7 +4297,7 @@ func (c *ProjectsLocationsRegistrationsResetAuthorizationCodeCall) Header() http func (c *ProjectsLocationsRegistrationsResetAuthorizationCodeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4449,7 +4449,7 @@ func (c *ProjectsLocationsRegistrationsRetrieveAuthorizationCodeCall) Header() h func (c *ProjectsLocationsRegistrationsRetrieveAuthorizationCodeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4603,7 +4603,7 @@ func (c *ProjectsLocationsRegistrationsRetrieveRegisterParametersCall) Header() func (c *ProjectsLocationsRegistrationsRetrieveRegisterParametersCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4763,7 +4763,7 @@ func (c *ProjectsLocationsRegistrationsSearchDomainsCall) Header() http.Header { func (c *ProjectsLocationsRegistrationsSearchDomainsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4905,7 +4905,7 @@ func (c *ProjectsLocationsRegistrationsSetIamPolicyCall) Header() http.Header { func (c *ProjectsLocationsRegistrationsSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5050,7 +5050,7 @@ func (c *ProjectsLocationsRegistrationsTestIamPermissionsCall) Header() http.Hea func (c *ProjectsLocationsRegistrationsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/domainsrdap/v1/domainsrdap-gen.go b/domainsrdap/v1/domainsrdap-gen.go index 19254d92a0d..f2ba9d953c4 100644 --- a/domainsrdap/v1/domainsrdap-gen.go +++ b/domainsrdap/v1/domainsrdap-gen.go @@ -449,7 +449,7 @@ func (c *AutnumGetCall) Header() http.Header { func (c *AutnumGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -588,7 +588,7 @@ func (c *DomainGetCall) Header() http.Header { func (c *DomainGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -730,7 +730,7 @@ func (c *EntityGetCall) Header() http.Header { func (c *EntityGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -872,7 +872,7 @@ func (c *IpGetCall) Header() http.Header { func (c *IpGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1019,7 +1019,7 @@ func (c *NameserverGetCall) Header() http.Header { func (c *NameserverGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1158,7 +1158,7 @@ func (c *V1GetDomainsCall) Header() http.Header { func (c *V1GetDomainsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1286,7 +1286,7 @@ func (c *V1GetEntitiesCall) Header() http.Header { func (c *V1GetEntitiesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1413,7 +1413,7 @@ func (c *V1GetHelpCall) Header() http.Header { func (c *V1GetHelpCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1541,7 +1541,7 @@ func (c *V1GetIpCall) Header() http.Header { func (c *V1GetIpCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1669,7 +1669,7 @@ func (c *V1GetNameserversCall) Header() http.Header { func (c *V1GetNameserversCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/doubleclickbidmanager/v1.1/doubleclickbidmanager-gen.go b/doubleclickbidmanager/v1.1/doubleclickbidmanager-gen.go index b041a443261..a48fbbf2be2 100644 --- a/doubleclickbidmanager/v1.1/doubleclickbidmanager-gen.go +++ b/doubleclickbidmanager/v1.1/doubleclickbidmanager-gen.go @@ -2775,7 +2775,7 @@ func (c *LineitemsDownloadlineitemsCall) Header() http.Header { func (c *LineitemsDownloadlineitemsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2901,7 +2901,7 @@ func (c *LineitemsUploadlineitemsCall) Header() http.Header { func (c *LineitemsUploadlineitemsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3034,7 +3034,7 @@ func (c *QueriesCreatequeryCall) Header() http.Header { func (c *QueriesCreatequeryCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3167,7 +3167,7 @@ func (c *QueriesDeletequeryCall) Header() http.Header { func (c *QueriesDeletequeryCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3280,7 +3280,7 @@ func (c *QueriesGetqueryCall) Header() http.Header { func (c *QueriesGetqueryCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3437,7 +3437,7 @@ func (c *QueriesListqueriesCall) Header() http.Header { func (c *QueriesListqueriesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3599,7 +3599,7 @@ func (c *QueriesRunqueryCall) Header() http.Header { func (c *QueriesRunqueryCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3741,7 +3741,7 @@ func (c *ReportsListreportsCall) Header() http.Header { func (c *ReportsListreportsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3906,7 +3906,7 @@ func (c *SdfDownloadCall) Header() http.Header { func (c *SdfDownloadCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/doubleclickbidmanager/v1/doubleclickbidmanager-gen.go b/doubleclickbidmanager/v1/doubleclickbidmanager-gen.go index 2a86ad6161f..a501ed1eec6 100644 --- a/doubleclickbidmanager/v1/doubleclickbidmanager-gen.go +++ b/doubleclickbidmanager/v1/doubleclickbidmanager-gen.go @@ -1719,7 +1719,7 @@ func (c *LineitemsDownloadlineitemsCall) Header() http.Header { func (c *LineitemsDownloadlineitemsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1845,7 +1845,7 @@ func (c *LineitemsUploadlineitemsCall) Header() http.Header { func (c *LineitemsUploadlineitemsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1970,7 +1970,7 @@ func (c *QueriesCreatequeryCall) Header() http.Header { func (c *QueriesCreatequeryCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2096,7 +2096,7 @@ func (c *QueriesDeletequeryCall) Header() http.Header { func (c *QueriesDeletequeryCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2209,7 +2209,7 @@ func (c *QueriesGetqueryCall) Header() http.Header { func (c *QueriesGetqueryCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2351,7 +2351,7 @@ func (c *QueriesListqueriesCall) Header() http.Header { func (c *QueriesListqueriesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2473,7 +2473,7 @@ func (c *QueriesRunqueryCall) Header() http.Header { func (c *QueriesRunqueryCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2594,7 +2594,7 @@ func (c *ReportsListreportsCall) Header() http.Header { func (c *ReportsListreportsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2727,7 +2727,7 @@ func (c *SdfDownloadCall) Header() http.Header { func (c *SdfDownloadCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/doubleclicksearch/v2/doubleclicksearch-gen.go b/doubleclicksearch/v2/doubleclicksearch-gen.go index 48ec22c30e2..b88a2e42f5e 100644 --- a/doubleclicksearch/v2/doubleclicksearch-gen.go +++ b/doubleclicksearch/v2/doubleclicksearch-gen.go @@ -1155,7 +1155,7 @@ func (c *ConversionGetCall) Header() http.Header { func (c *ConversionGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1368,7 +1368,7 @@ func (c *ConversionInsertCall) Header() http.Header { func (c *ConversionInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1493,7 +1493,7 @@ func (c *ConversionUpdateCall) Header() http.Header { func (c *ConversionUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1619,7 +1619,7 @@ func (c *ConversionUpdateAvailabilityCall) Header() http.Header { func (c *ConversionUpdateAvailabilityCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1744,7 +1744,7 @@ func (c *ReportsGenerateCall) Header() http.Header { func (c *ReportsGenerateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1880,7 +1880,7 @@ func (c *ReportsGetCall) Header() http.Header { func (c *ReportsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2025,7 +2025,7 @@ func (c *ReportsGetFileCall) Header() http.Header { func (c *ReportsGetFileCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2157,7 +2157,7 @@ func (c *ReportsRequestCall) Header() http.Header { func (c *ReportsRequestCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2295,7 +2295,7 @@ func (c *SavedColumnsListCall) Header() http.Header { func (c *SavedColumnsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/drive/v2/drive-gen.go b/drive/v2/drive-gen.go index 359c7e3541e..00a0e83b4ad 100644 --- a/drive/v2/drive-gen.go +++ b/drive/v2/drive-gen.go @@ -4036,7 +4036,7 @@ func (c *AboutGetCall) Header() http.Header { func (c *AboutGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4191,7 +4191,7 @@ func (c *AppsGetCall) Header() http.Header { func (c *AppsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4367,7 +4367,7 @@ func (c *AppsListCall) Header() http.Header { func (c *AppsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4544,7 +4544,7 @@ func (c *ChangesGetCall) Header() http.Header { func (c *ChangesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4744,7 +4744,7 @@ func (c *ChangesGetStartPageTokenCall) Header() http.Header { func (c *ChangesGetStartPageTokenCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5016,7 +5016,7 @@ func (c *ChangesListCall) Header() http.Header { func (c *ChangesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5360,7 +5360,7 @@ func (c *ChangesWatchCall) Header() http.Header { func (c *ChangesWatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5574,7 +5574,7 @@ func (c *ChannelsStopCall) Header() http.Header { func (c *ChannelsStopCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5687,7 +5687,7 @@ func (c *ChildrenDeleteCall) Header() http.Header { func (c *ChildrenDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5815,7 +5815,7 @@ func (c *ChildrenGetCall) Header() http.Header { func (c *ChildrenGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5985,7 +5985,7 @@ func (c *ChildrenInsertCall) Header() http.Header { func (c *ChildrenInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6187,7 +6187,7 @@ func (c *ChildrenListCall) Header() http.Header { func (c *ChildrenListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6370,7 +6370,7 @@ func (c *CommentsDeleteCall) Header() http.Header { func (c *CommentsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6500,7 +6500,7 @@ func (c *CommentsGetCall) Header() http.Header { func (c *CommentsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6649,7 +6649,7 @@ func (c *CommentsInsertCall) Header() http.Header { func (c *CommentsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6829,7 +6829,7 @@ func (c *CommentsListCall) Header() http.Header { func (c *CommentsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7012,7 +7012,7 @@ func (c *CommentsPatchCall) Header() http.Header { func (c *CommentsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7161,7 +7161,7 @@ func (c *CommentsUpdateCall) Header() http.Header { func (c *CommentsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7307,7 +7307,7 @@ func (c *DrivesDeleteCall) Header() http.Header { func (c *DrivesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7427,7 +7427,7 @@ func (c *DrivesGetCall) Header() http.Header { func (c *DrivesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7565,7 +7565,7 @@ func (c *DrivesHideCall) Header() http.Header { func (c *DrivesHideCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7694,7 +7694,7 @@ func (c *DrivesInsertCall) Header() http.Header { func (c *DrivesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7866,7 +7866,7 @@ func (c *DrivesListCall) Header() http.Header { func (c *DrivesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8032,7 +8032,7 @@ func (c *DrivesUnhideCall) Header() http.Header { func (c *DrivesUnhideCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8171,7 +8171,7 @@ func (c *DrivesUpdateCall) Header() http.Header { func (c *DrivesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8403,7 +8403,7 @@ func (c *FilesCopyCall) Header() http.Header { func (c *FilesCopyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8639,7 +8639,7 @@ func (c *FilesDeleteCall) Header() http.Header { func (c *FilesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8766,7 +8766,7 @@ func (c *FilesEmptyTrashCall) Header() http.Header { func (c *FilesEmptyTrashCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8874,7 +8874,7 @@ func (c *FilesExportCall) Header() http.Header { func (c *FilesExportCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9028,7 +9028,7 @@ func (c *FilesGenerateIdsCall) Header() http.Header { func (c *FilesGenerateIdsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9234,7 +9234,7 @@ func (c *FilesGetCall) Header() http.Header { func (c *FilesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9572,7 +9572,7 @@ func (c *FilesInsertCall) Header() http.Header { func (c *FilesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9963,7 +9963,7 @@ func (c *FilesListCall) Header() http.Header { func (c *FilesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10360,7 +10360,7 @@ func (c *FilesPatchCall) Header() http.Header { func (c *FilesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10636,7 +10636,7 @@ func (c *FilesTouchCall) Header() http.Header { func (c *FilesTouchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10815,7 +10815,7 @@ func (c *FilesTrashCall) Header() http.Header { func (c *FilesTrashCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10989,7 +10989,7 @@ func (c *FilesUntrashCall) Header() http.Header { func (c *FilesUntrashCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11328,7 +11328,7 @@ func (c *FilesUpdateCall) Header() http.Header { func (c *FilesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11686,7 +11686,7 @@ func (c *FilesWatchCall) Header() http.Header { func (c *FilesWatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11906,7 +11906,7 @@ func (c *ParentsDeleteCall) Header() http.Header { func (c *ParentsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12034,7 +12034,7 @@ func (c *ParentsGetCall) Header() http.Header { func (c *ParentsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12204,7 +12204,7 @@ func (c *ParentsInsertCall) Header() http.Header { func (c *ParentsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12371,7 +12371,7 @@ func (c *ParentsListCall) Header() http.Header { func (c *ParentsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12535,7 +12535,7 @@ func (c *PermissionsDeleteCall) Header() http.Header { func (c *PermissionsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12700,7 +12700,7 @@ func (c *PermissionsGetCall) Header() http.Header { func (c *PermissionsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12873,7 +12873,7 @@ func (c *PermissionsGetIdForEmailCall) Header() http.Header { func (c *PermissionsGetIdForEmailCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13073,7 +13073,7 @@ func (c *PermissionsInsertCall) Header() http.Header { func (c *PermissionsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13314,7 +13314,7 @@ func (c *PermissionsListCall) Header() http.Header { func (c *PermissionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13551,7 +13551,7 @@ func (c *PermissionsPatchCall) Header() http.Header { func (c *PermissionsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13770,7 +13770,7 @@ func (c *PermissionsUpdateCall) Header() http.Header { func (c *PermissionsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13954,7 +13954,7 @@ func (c *PropertiesDeleteCall) Header() http.Header { func (c *PropertiesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14091,7 +14091,7 @@ func (c *PropertiesGetCall) Header() http.Header { func (c *PropertiesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14245,7 +14245,7 @@ func (c *PropertiesInsertCall) Header() http.Header { func (c *PropertiesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14395,7 +14395,7 @@ func (c *PropertiesListCall) Header() http.Header { func (c *PropertiesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14544,7 +14544,7 @@ func (c *PropertiesPatchCall) Header() http.Header { func (c *PropertiesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14709,7 +14709,7 @@ func (c *PropertiesUpdateCall) Header() http.Header { func (c *PropertiesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14866,7 +14866,7 @@ func (c *RepliesDeleteCall) Header() http.Header { func (c *RepliesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15005,7 +15005,7 @@ func (c *RepliesGetCall) Header() http.Header { func (c *RepliesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15164,7 +15164,7 @@ func (c *RepliesInsertCall) Header() http.Header { func (c *RepliesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15346,7 +15346,7 @@ func (c *RepliesListCall) Header() http.Header { func (c *RepliesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15534,7 +15534,7 @@ func (c *RepliesPatchCall) Header() http.Header { func (c *RepliesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15693,7 +15693,7 @@ func (c *RepliesUpdateCall) Header() http.Header { func (c *RepliesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15851,7 +15851,7 @@ func (c *RevisionsDeleteCall) Header() http.Header { func (c *RevisionsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15974,7 +15974,7 @@ func (c *RevisionsGetCall) Header() http.Header { func (c *RevisionsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16145,7 +16145,7 @@ func (c *RevisionsListCall) Header() http.Header { func (c *RevisionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16321,7 +16321,7 @@ func (c *RevisionsPatchCall) Header() http.Header { func (c *RevisionsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16471,7 +16471,7 @@ func (c *RevisionsUpdateCall) Header() http.Header { func (c *RevisionsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16617,7 +16617,7 @@ func (c *TeamdrivesDeleteCall) Header() http.Header { func (c *TeamdrivesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16737,7 +16737,7 @@ func (c *TeamdrivesGetCall) Header() http.Header { func (c *TeamdrivesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16876,7 +16876,7 @@ func (c *TeamdrivesInsertCall) Header() http.Header { func (c *TeamdrivesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17048,7 +17048,7 @@ func (c *TeamdrivesListCall) Header() http.Header { func (c *TeamdrivesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17225,7 +17225,7 @@ func (c *TeamdrivesUpdateCall) Header() http.Header { func (c *TeamdrivesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/drive/v3/drive-gen.go b/drive/v3/drive-gen.go index b7ad81f643e..35e2ec3b158 100644 --- a/drive/v3/drive-gen.go +++ b/drive/v3/drive-gen.go @@ -3017,7 +3017,7 @@ func (c *AboutGetCall) Header() http.Header { func (c *AboutGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3180,7 +3180,7 @@ func (c *ChangesGetStartPageTokenCall) Header() http.Header { func (c *ChangesGetStartPageTokenCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3436,7 +3436,7 @@ func (c *ChangesListCall) Header() http.Header { func (c *ChangesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3743,7 +3743,7 @@ func (c *ChangesWatchCall) Header() http.Header { func (c *ChangesWatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3956,7 +3956,7 @@ func (c *ChannelsStopCall) Header() http.Header { func (c *ChannelsStopCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4059,7 +4059,7 @@ func (c *CommentsCreateCall) Header() http.Header { func (c *CommentsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4198,7 +4198,7 @@ func (c *CommentsDeleteCall) Header() http.Header { func (c *CommentsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4328,7 +4328,7 @@ func (c *CommentsGetCall) Header() http.Header { func (c *CommentsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4517,7 +4517,7 @@ func (c *CommentsListCall) Header() http.Header { func (c *CommentsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4700,7 +4700,7 @@ func (c *CommentsUpdateCall) Header() http.Header { func (c *CommentsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4846,7 +4846,7 @@ func (c *DrivesCreateCall) Header() http.Header { func (c *DrivesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4980,7 +4980,7 @@ func (c *DrivesDeleteCall) Header() http.Header { func (c *DrivesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5100,7 +5100,7 @@ func (c *DrivesGetCall) Header() http.Header { func (c *DrivesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5238,7 +5238,7 @@ func (c *DrivesHideCall) Header() http.Header { func (c *DrivesHideCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5405,7 +5405,7 @@ func (c *DrivesListCall) Header() http.Header { func (c *DrivesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5571,7 +5571,7 @@ func (c *DrivesUnhideCall) Header() http.Header { func (c *DrivesUnhideCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5710,7 +5710,7 @@ func (c *DrivesUpdateCall) Header() http.Header { func (c *DrivesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5915,7 +5915,7 @@ func (c *FilesCopyCall) Header() http.Header { func (c *FilesCopyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6202,7 +6202,7 @@ func (c *FilesCreateCall) Header() http.Header { func (c *FilesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6447,7 +6447,7 @@ func (c *FilesDeleteCall) Header() http.Header { func (c *FilesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6574,7 +6574,7 @@ func (c *FilesEmptyTrashCall) Header() http.Header { func (c *FilesEmptyTrashCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6682,7 +6682,7 @@ func (c *FilesExportCall) Header() http.Header { func (c *FilesExportCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6836,7 +6836,7 @@ func (c *FilesGenerateIdsCall) Header() http.Header { func (c *FilesGenerateIdsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7016,7 +7016,7 @@ func (c *FilesGetCall) Header() http.Header { func (c *FilesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7329,7 +7329,7 @@ func (c *FilesListCall) Header() http.Header { func (c *FilesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7676,7 +7676,7 @@ func (c *FilesUpdateCall) Header() http.Header { func (c *FilesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7946,7 +7946,7 @@ func (c *FilesWatchCall) Header() http.Header { func (c *FilesWatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8203,7 +8203,7 @@ func (c *PermissionsCreateCall) Header() http.Header { func (c *PermissionsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8413,7 +8413,7 @@ func (c *PermissionsDeleteCall) Header() http.Header { func (c *PermissionsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8578,7 +8578,7 @@ func (c *PermissionsGetCall) Header() http.Header { func (c *PermissionsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8802,7 +8802,7 @@ func (c *PermissionsListCall) Header() http.Header { func (c *PermissionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9040,7 +9040,7 @@ func (c *PermissionsUpdateCall) Header() http.Header { func (c *PermissionsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9219,7 +9219,7 @@ func (c *RepliesCreateCall) Header() http.Header { func (c *RepliesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9368,7 +9368,7 @@ func (c *RepliesDeleteCall) Header() http.Header { func (c *RepliesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9508,7 +9508,7 @@ func (c *RepliesGetCall) Header() http.Header { func (c *RepliesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9699,7 +9699,7 @@ func (c *RepliesListCall) Header() http.Header { func (c *RepliesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9887,7 +9887,7 @@ func (c *RepliesUpdateCall) Header() http.Header { func (c *RepliesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10045,7 +10045,7 @@ func (c *RevisionsDeleteCall) Header() http.Header { func (c *RevisionsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10177,7 +10177,7 @@ func (c *RevisionsGetCall) Header() http.Header { func (c *RevisionsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10372,7 +10372,7 @@ func (c *RevisionsListCall) Header() http.Header { func (c *RevisionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10548,7 +10548,7 @@ func (c *RevisionsUpdateCall) Header() http.Header { func (c *RevisionsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10695,7 +10695,7 @@ func (c *TeamdrivesCreateCall) Header() http.Header { func (c *TeamdrivesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10828,7 +10828,7 @@ func (c *TeamdrivesDeleteCall) Header() http.Header { func (c *TeamdrivesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10948,7 +10948,7 @@ func (c *TeamdrivesGetCall) Header() http.Header { func (c *TeamdrivesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11125,7 +11125,7 @@ func (c *TeamdrivesListCall) Header() http.Header { func (c *TeamdrivesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11302,7 +11302,7 @@ func (c *TeamdrivesUpdateCall) Header() http.Header { func (c *TeamdrivesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/driveactivity/v2/driveactivity-gen.go b/driveactivity/v2/driveactivity-gen.go index 978a115d295..26906bbd4b8 100644 --- a/driveactivity/v2/driveactivity-gen.go +++ b/driveactivity/v2/driveactivity-gen.go @@ -1875,7 +1875,7 @@ func (c *ActivityQueryCall) Header() http.Header { func (c *ActivityQueryCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/eventarc/v1beta1/eventarc-gen.go b/eventarc/v1beta1/eventarc-gen.go index d68ef44100b..8ea1589e121 100644 --- a/eventarc/v1beta1/eventarc-gen.go +++ b/eventarc/v1beta1/eventarc-gen.go @@ -1252,7 +1252,7 @@ func (c *ProjectsLocationsGetCall) Header() http.Header { func (c *ProjectsLocationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1418,7 +1418,7 @@ func (c *ProjectsLocationsListCall) Header() http.Header { func (c *ProjectsLocationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1599,7 +1599,7 @@ func (c *ProjectsLocationsOperationsCancelCall) Header() http.Header { func (c *ProjectsLocationsOperationsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1740,7 +1740,7 @@ func (c *ProjectsLocationsOperationsDeleteCall) Header() http.Header { func (c *ProjectsLocationsOperationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1883,7 +1883,7 @@ func (c *ProjectsLocationsOperationsGetCall) Header() http.Header { func (c *ProjectsLocationsOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2057,7 +2057,7 @@ func (c *ProjectsLocationsOperationsListCall) Header() http.Header { func (c *ProjectsLocationsOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2244,7 +2244,7 @@ func (c *ProjectsLocationsTriggersCreateCall) Header() http.Header { func (c *ProjectsLocationsTriggersCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2416,7 +2416,7 @@ func (c *ProjectsLocationsTriggersDeleteCall) Header() http.Header { func (c *ProjectsLocationsTriggersDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2572,7 +2572,7 @@ func (c *ProjectsLocationsTriggersGetCall) Header() http.Header { func (c *ProjectsLocationsTriggersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2733,7 +2733,7 @@ func (c *ProjectsLocationsTriggersGetIamPolicyCall) Header() http.Header { func (c *ProjectsLocationsTriggersGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2910,7 +2910,7 @@ func (c *ProjectsLocationsTriggersListCall) Header() http.Header { func (c *ProjectsLocationsTriggersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3107,7 +3107,7 @@ func (c *ProjectsLocationsTriggersPatchCall) Header() http.Header { func (c *ProjectsLocationsTriggersPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3265,7 +3265,7 @@ func (c *ProjectsLocationsTriggersSetIamPolicyCall) Header() http.Header { func (c *ProjectsLocationsTriggersSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3410,7 +3410,7 @@ func (c *ProjectsLocationsTriggersTestIamPermissionsCall) Header() http.Header { func (c *ProjectsLocationsTriggersTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/factchecktools/v1alpha1/factchecktools-gen.go b/factchecktools/v1alpha1/factchecktools-gen.go index cd57e65669e..2c77cb2e4f9 100644 --- a/factchecktools/v1alpha1/factchecktools-gen.go +++ b/factchecktools/v1alpha1/factchecktools-gen.go @@ -730,7 +730,7 @@ func (c *ClaimsSearchCall) Header() http.Header { func (c *ClaimsSearchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -910,7 +910,7 @@ func (c *PagesCreateCall) Header() http.Header { func (c *PagesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1038,7 +1038,7 @@ func (c *PagesDeleteCall) Header() http.Header { func (c *PagesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1179,7 +1179,7 @@ func (c *PagesGetCall) Header() http.Header { func (c *PagesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1371,7 +1371,7 @@ func (c *PagesListCall) Header() http.Header { func (c *PagesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1549,7 +1549,7 @@ func (c *PagesUpdateCall) Header() http.Header { func (c *PagesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/fcm/v1/fcm-gen.go b/fcm/v1/fcm-gen.go index 93d9b20e58f..ec8818f643e 100644 --- a/fcm/v1/fcm-gen.go +++ b/fcm/v1/fcm-gen.go @@ -1039,7 +1039,7 @@ func (c *ProjectsMessagesSendCall) Header() http.Header { func (c *ProjectsMessagesSendCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/file/v1/file-gen.go b/file/v1/file-gen.go index 60342d97692..9aa2c61f9ae 100644 --- a/file/v1/file-gen.go +++ b/file/v1/file-gen.go @@ -1815,7 +1815,7 @@ func (c *ProjectsLocationsGetCall) Header() http.Header { func (c *ProjectsLocationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1989,7 +1989,7 @@ func (c *ProjectsLocationsListCall) Header() http.Header { func (c *ProjectsLocationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2177,7 +2177,7 @@ func (c *ProjectsLocationsBackupsCreateCall) Header() http.Header { func (c *ProjectsLocationsBackupsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2320,7 +2320,7 @@ func (c *ProjectsLocationsBackupsDeleteCall) Header() http.Header { func (c *ProjectsLocationsBackupsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2461,7 +2461,7 @@ func (c *ProjectsLocationsBackupsGetCall) Header() http.Header { func (c *ProjectsLocationsBackupsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2634,7 +2634,7 @@ func (c *ProjectsLocationsBackupsListCall) Header() http.Header { func (c *ProjectsLocationsBackupsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2819,7 +2819,7 @@ func (c *ProjectsLocationsBackupsPatchCall) Header() http.Header { func (c *ProjectsLocationsBackupsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2976,7 +2976,7 @@ func (c *ProjectsLocationsInstancesCreateCall) Header() http.Header { func (c *ProjectsLocationsInstancesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3119,7 +3119,7 @@ func (c *ProjectsLocationsInstancesDeleteCall) Header() http.Header { func (c *ProjectsLocationsInstancesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3260,7 +3260,7 @@ func (c *ProjectsLocationsInstancesGetCall) Header() http.Header { func (c *ProjectsLocationsInstancesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3433,7 +3433,7 @@ func (c *ProjectsLocationsInstancesListCall) Header() http.Header { func (c *ProjectsLocationsInstancesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3619,7 +3619,7 @@ func (c *ProjectsLocationsInstancesPatchCall) Header() http.Header { func (c *ProjectsLocationsInstancesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3767,7 +3767,7 @@ func (c *ProjectsLocationsInstancesRestoreCall) Header() http.Header { func (c *ProjectsLocationsInstancesRestoreCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3916,7 +3916,7 @@ func (c *ProjectsLocationsOperationsCancelCall) Header() http.Header { func (c *ProjectsLocationsOperationsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4057,7 +4057,7 @@ func (c *ProjectsLocationsOperationsDeleteCall) Header() http.Header { func (c *ProjectsLocationsOperationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4200,7 +4200,7 @@ func (c *ProjectsLocationsOperationsGetCall) Header() http.Header { func (c *ProjectsLocationsOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4374,7 +4374,7 @@ func (c *ProjectsLocationsOperationsListCall) Header() http.Header { func (c *ProjectsLocationsOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/file/v1beta1/file-gen.go b/file/v1beta1/file-gen.go index 4ae06b12dc3..f79d0b8f0fb 100644 --- a/file/v1beta1/file-gen.go +++ b/file/v1beta1/file-gen.go @@ -1825,7 +1825,7 @@ func (c *ProjectsLocationsGetCall) Header() http.Header { func (c *ProjectsLocationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1999,7 +1999,7 @@ func (c *ProjectsLocationsListCall) Header() http.Header { func (c *ProjectsLocationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2186,7 +2186,7 @@ func (c *ProjectsLocationsBackupsCreateCall) Header() http.Header { func (c *ProjectsLocationsBackupsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2329,7 +2329,7 @@ func (c *ProjectsLocationsBackupsDeleteCall) Header() http.Header { func (c *ProjectsLocationsBackupsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2470,7 +2470,7 @@ func (c *ProjectsLocationsBackupsGetCall) Header() http.Header { func (c *ProjectsLocationsBackupsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2643,7 +2643,7 @@ func (c *ProjectsLocationsBackupsListCall) Header() http.Header { func (c *ProjectsLocationsBackupsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2828,7 +2828,7 @@ func (c *ProjectsLocationsBackupsPatchCall) Header() http.Header { func (c *ProjectsLocationsBackupsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2987,7 +2987,7 @@ func (c *ProjectsLocationsInstancesCreateCall) Header() http.Header { func (c *ProjectsLocationsInstancesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3130,7 +3130,7 @@ func (c *ProjectsLocationsInstancesDeleteCall) Header() http.Header { func (c *ProjectsLocationsInstancesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3271,7 +3271,7 @@ func (c *ProjectsLocationsInstancesGetCall) Header() http.Header { func (c *ProjectsLocationsInstancesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3444,7 +3444,7 @@ func (c *ProjectsLocationsInstancesListCall) Header() http.Header { func (c *ProjectsLocationsInstancesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3630,7 +3630,7 @@ func (c *ProjectsLocationsInstancesPatchCall) Header() http.Header { func (c *ProjectsLocationsInstancesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3778,7 +3778,7 @@ func (c *ProjectsLocationsInstancesRestoreCall) Header() http.Header { func (c *ProjectsLocationsInstancesRestoreCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3927,7 +3927,7 @@ func (c *ProjectsLocationsOperationsCancelCall) Header() http.Header { func (c *ProjectsLocationsOperationsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4068,7 +4068,7 @@ func (c *ProjectsLocationsOperationsDeleteCall) Header() http.Header { func (c *ProjectsLocationsOperationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4211,7 +4211,7 @@ func (c *ProjectsLocationsOperationsGetCall) Header() http.Header { func (c *ProjectsLocationsOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4385,7 +4385,7 @@ func (c *ProjectsLocationsOperationsListCall) Header() http.Header { func (c *ProjectsLocationsOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/firebase/v1beta1/firebase-gen.go b/firebase/v1beta1/firebase-gen.go index 42ffce745e5..ddd27306d44 100644 --- a/firebase/v1beta1/firebase-gen.go +++ b/firebase/v1beta1/firebase-gen.go @@ -1850,7 +1850,7 @@ func (c *AvailableProjectsListCall) Header() http.Header { func (c *AvailableProjectsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2019,7 +2019,7 @@ func (c *OperationsGetCall) Header() http.Header { func (c *OperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2179,7 +2179,7 @@ func (c *ProjectsAddFirebaseCall) Header() http.Header { func (c *ProjectsAddFirebaseCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2360,7 +2360,7 @@ func (c *ProjectsAddGoogleAnalyticsCall) Header() http.Header { func (c *ProjectsAddGoogleAnalyticsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2510,7 +2510,7 @@ func (c *ProjectsGetCall) Header() http.Header { func (c *ProjectsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2662,7 +2662,7 @@ func (c *ProjectsGetAdminSdkConfigCall) Header() http.Header { func (c *ProjectsGetAdminSdkConfigCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2812,7 +2812,7 @@ func (c *ProjectsGetAnalyticsDetailsCall) Header() http.Header { func (c *ProjectsGetAnalyticsDetailsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2983,7 +2983,7 @@ func (c *ProjectsListCall) Header() http.Header { func (c *ProjectsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3151,7 +3151,7 @@ func (c *ProjectsPatchCall) Header() http.Header { func (c *ProjectsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3310,7 +3310,7 @@ func (c *ProjectsRemoveAnalyticsCall) Header() http.Header { func (c *ProjectsRemoveAnalyticsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3508,7 +3508,7 @@ func (c *ProjectsSearchAppsCall) Header() http.Header { func (c *ProjectsSearchAppsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3687,7 +3687,7 @@ func (c *ProjectsAndroidAppsCreateCall) Header() http.Header { func (c *ProjectsAndroidAppsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3837,7 +3837,7 @@ func (c *ProjectsAndroidAppsGetCall) Header() http.Header { func (c *ProjectsAndroidAppsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3985,7 +3985,7 @@ func (c *ProjectsAndroidAppsGetConfigCall) Header() http.Header { func (c *ProjectsAndroidAppsGetConfigCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4152,7 +4152,7 @@ func (c *ProjectsAndroidAppsListCall) Header() http.Header { func (c *ProjectsAndroidAppsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4330,7 +4330,7 @@ func (c *ProjectsAndroidAppsPatchCall) Header() http.Header { func (c *ProjectsAndroidAppsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4477,7 +4477,7 @@ func (c *ProjectsAndroidAppsShaCreateCall) Header() http.Header { func (c *ProjectsAndroidAppsShaCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4616,7 +4616,7 @@ func (c *ProjectsAndroidAppsShaDeleteCall) Header() http.Header { func (c *ProjectsAndroidAppsShaDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4759,7 +4759,7 @@ func (c *ProjectsAndroidAppsShaListCall) Header() http.Header { func (c *ProjectsAndroidAppsShaListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4941,7 +4941,7 @@ func (c *ProjectsAvailableLocationsListCall) Header() http.Header { func (c *ProjectsAvailableLocationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5141,7 +5141,7 @@ func (c *ProjectsDefaultLocationFinalizeCall) Header() http.Header { func (c *ProjectsDefaultLocationFinalizeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5286,7 +5286,7 @@ func (c *ProjectsIosAppsCreateCall) Header() http.Header { func (c *ProjectsIosAppsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5436,7 +5436,7 @@ func (c *ProjectsIosAppsGetCall) Header() http.Header { func (c *ProjectsIosAppsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5584,7 +5584,7 @@ func (c *ProjectsIosAppsGetConfigCall) Header() http.Header { func (c *ProjectsIosAppsGetConfigCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5751,7 +5751,7 @@ func (c *ProjectsIosAppsListCall) Header() http.Header { func (c *ProjectsIosAppsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5929,7 +5929,7 @@ func (c *ProjectsIosAppsPatchCall) Header() http.Header { func (c *ProjectsIosAppsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6080,7 +6080,7 @@ func (c *ProjectsWebAppsCreateCall) Header() http.Header { func (c *ProjectsWebAppsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6230,7 +6230,7 @@ func (c *ProjectsWebAppsGetCall) Header() http.Header { func (c *ProjectsWebAppsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6378,7 +6378,7 @@ func (c *ProjectsWebAppsGetConfigCall) Header() http.Header { func (c *ProjectsWebAppsGetConfigCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6545,7 +6545,7 @@ func (c *ProjectsWebAppsListCall) Header() http.Header { func (c *ProjectsWebAppsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6723,7 +6723,7 @@ func (c *ProjectsWebAppsPatchCall) Header() http.Header { func (c *ProjectsWebAppsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/firebasedatabase/v1beta/firebasedatabase-gen.go b/firebasedatabase/v1beta/firebasedatabase-gen.go index ca978520bbf..750e6e15f6c 100644 --- a/firebasedatabase/v1beta/firebasedatabase-gen.go +++ b/firebasedatabase/v1beta/firebasedatabase-gen.go @@ -369,7 +369,7 @@ func (c *ProjectsLocationsInstancesCreateCall) Header() http.Header { func (c *ProjectsLocationsInstancesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -522,7 +522,7 @@ func (c *ProjectsLocationsInstancesDeleteCall) Header() http.Header { func (c *ProjectsLocationsInstancesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -658,7 +658,7 @@ func (c *ProjectsLocationsInstancesDisableCall) Header() http.Header { func (c *ProjectsLocationsInstancesDisableCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -809,7 +809,7 @@ func (c *ProjectsLocationsInstancesGetCall) Header() http.Header { func (c *ProjectsLocationsInstancesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -979,7 +979,7 @@ func (c *ProjectsLocationsInstancesListCall) Header() http.Header { func (c *ProjectsLocationsInstancesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1151,7 +1151,7 @@ func (c *ProjectsLocationsInstancesReenableCall) Header() http.Header { func (c *ProjectsLocationsInstancesReenableCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/firebasedynamiclinks/v1/firebasedynamiclinks-gen.go b/firebasedynamiclinks/v1/firebasedynamiclinks-gen.go index bd576f6249b..a8d9f22d6a7 100644 --- a/firebasedynamiclinks/v1/firebasedynamiclinks-gen.go +++ b/firebasedynamiclinks/v1/firebasedynamiclinks-gen.go @@ -1430,7 +1430,7 @@ func (c *ManagedShortLinksCreateCall) Header() http.Header { func (c *ManagedShortLinksCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1561,7 +1561,7 @@ func (c *ShortLinksCreateCall) Header() http.Header { func (c *ShortLinksCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1713,7 +1713,7 @@ func (c *V1GetLinkStatsCall) Header() http.Header { func (c *V1GetLinkStatsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1857,7 +1857,7 @@ func (c *V1InstallAttributionCall) Header() http.Header { func (c *V1InstallAttributionCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1984,7 +1984,7 @@ func (c *V1ReopenAttributionCall) Header() http.Header { func (c *V1ReopenAttributionCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/firebasehosting/v1/firebasehosting-gen.go b/firebasehosting/v1/firebasehosting-gen.go index 541df6fed06..1d269ac1be0 100644 --- a/firebasehosting/v1/firebasehosting-gen.go +++ b/firebasehosting/v1/firebasehosting-gen.go @@ -344,7 +344,7 @@ func (c *OperationsCancelCall) Header() http.Header { func (c *OperationsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -482,7 +482,7 @@ func (c *OperationsDeleteCall) Header() http.Header { func (c *OperationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -650,7 +650,7 @@ func (c *OperationsListCall) Header() http.Header { func (c *OperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/firebasehosting/v1beta1/firebasehosting-gen.go b/firebasehosting/v1beta1/firebasehosting-gen.go index 2b58a3d532a..60e4c981493 100644 --- a/firebasehosting/v1beta1/firebasehosting-gen.go +++ b/firebasehosting/v1beta1/firebasehosting-gen.go @@ -1772,7 +1772,7 @@ func (c *ProjectsOperationsGetCall) Header() http.Header { func (c *ProjectsOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1919,7 +1919,7 @@ func (c *ProjectsSitesGetConfigCall) Header() http.Header { func (c *ProjectsSitesGetConfigCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2067,7 +2067,7 @@ func (c *ProjectsSitesUpdateConfigCall) Header() http.Header { func (c *ProjectsSitesUpdateConfigCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2221,7 +2221,7 @@ func (c *ProjectsSitesChannelsCreateCall) Header() http.Header { func (c *ProjectsSitesChannelsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2366,7 +2366,7 @@ func (c *ProjectsSitesChannelsDeleteCall) Header() http.Header { func (c *ProjectsSitesChannelsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2508,7 +2508,7 @@ func (c *ProjectsSitesChannelsGetCall) Header() http.Header { func (c *ProjectsSitesChannelsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2672,7 +2672,7 @@ func (c *ProjectsSitesChannelsListCall) Header() http.Header { func (c *ProjectsSitesChannelsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2850,7 +2850,7 @@ func (c *ProjectsSitesChannelsPatchCall) Header() http.Header { func (c *ProjectsSitesChannelsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3009,7 +3009,7 @@ func (c *ProjectsSitesChannelsReleasesCreateCall) Header() http.Header { func (c *ProjectsSitesChannelsReleasesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3179,7 +3179,7 @@ func (c *ProjectsSitesChannelsReleasesListCall) Header() http.Header { func (c *ProjectsSitesChannelsReleasesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3349,7 +3349,7 @@ func (c *ProjectsSitesDomainsCreateCall) Header() http.Header { func (c *ProjectsSitesDomainsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3488,7 +3488,7 @@ func (c *ProjectsSitesDomainsDeleteCall) Header() http.Header { func (c *ProjectsSitesDomainsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3630,7 +3630,7 @@ func (c *ProjectsSitesDomainsGetCall) Header() http.Header { func (c *ProjectsSitesDomainsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3791,7 +3791,7 @@ func (c *ProjectsSitesDomainsListCall) Header() http.Header { func (c *ProjectsSitesDomainsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3962,7 +3962,7 @@ func (c *ProjectsSitesDomainsUpdateCall) Header() http.Header { func (c *ProjectsSitesDomainsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4115,7 +4115,7 @@ func (c *ProjectsSitesReleasesCreateCall) Header() http.Header { func (c *ProjectsSitesReleasesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4285,7 +4285,7 @@ func (c *ProjectsSitesReleasesListCall) Header() http.Header { func (c *ProjectsSitesReleasesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4456,7 +4456,7 @@ func (c *ProjectsSitesVersionsCloneCall) Header() http.Header { func (c *ProjectsSitesVersionsCloneCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4613,7 +4613,7 @@ func (c *ProjectsSitesVersionsCreateCall) Header() http.Header { func (c *ProjectsSitesVersionsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4763,7 +4763,7 @@ func (c *ProjectsSitesVersionsDeleteCall) Header() http.Header { func (c *ProjectsSitesVersionsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4931,7 +4931,7 @@ func (c *ProjectsSitesVersionsListCall) Header() http.Header { func (c *ProjectsSitesVersionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5121,7 +5121,7 @@ func (c *ProjectsSitesVersionsPatchCall) Header() http.Header { func (c *ProjectsSitesVersionsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5269,7 +5269,7 @@ func (c *ProjectsSitesVersionsPopulateFilesCall) Header() http.Header { func (c *ProjectsSitesVersionsPopulateFilesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5450,7 +5450,7 @@ func (c *ProjectsSitesVersionsFilesListCall) Header() http.Header { func (c *ProjectsSitesVersionsFilesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5644,7 +5644,7 @@ func (c *SitesGetConfigCall) Header() http.Header { func (c *SitesGetConfigCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5792,7 +5792,7 @@ func (c *SitesUpdateConfigCall) Header() http.Header { func (c *SitesUpdateConfigCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5946,7 +5946,7 @@ func (c *SitesChannelsCreateCall) Header() http.Header { func (c *SitesChannelsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6091,7 +6091,7 @@ func (c *SitesChannelsDeleteCall) Header() http.Header { func (c *SitesChannelsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6233,7 +6233,7 @@ func (c *SitesChannelsGetCall) Header() http.Header { func (c *SitesChannelsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6397,7 +6397,7 @@ func (c *SitesChannelsListCall) Header() http.Header { func (c *SitesChannelsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6575,7 +6575,7 @@ func (c *SitesChannelsPatchCall) Header() http.Header { func (c *SitesChannelsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6734,7 +6734,7 @@ func (c *SitesChannelsReleasesCreateCall) Header() http.Header { func (c *SitesChannelsReleasesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6904,7 +6904,7 @@ func (c *SitesChannelsReleasesListCall) Header() http.Header { func (c *SitesChannelsReleasesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7074,7 +7074,7 @@ func (c *SitesDomainsCreateCall) Header() http.Header { func (c *SitesDomainsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7213,7 +7213,7 @@ func (c *SitesDomainsDeleteCall) Header() http.Header { func (c *SitesDomainsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7355,7 +7355,7 @@ func (c *SitesDomainsGetCall) Header() http.Header { func (c *SitesDomainsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7516,7 +7516,7 @@ func (c *SitesDomainsListCall) Header() http.Header { func (c *SitesDomainsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7687,7 +7687,7 @@ func (c *SitesDomainsUpdateCall) Header() http.Header { func (c *SitesDomainsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7840,7 +7840,7 @@ func (c *SitesReleasesCreateCall) Header() http.Header { func (c *SitesReleasesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8010,7 +8010,7 @@ func (c *SitesReleasesListCall) Header() http.Header { func (c *SitesReleasesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8181,7 +8181,7 @@ func (c *SitesVersionsCloneCall) Header() http.Header { func (c *SitesVersionsCloneCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8338,7 +8338,7 @@ func (c *SitesVersionsCreateCall) Header() http.Header { func (c *SitesVersionsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8488,7 +8488,7 @@ func (c *SitesVersionsDeleteCall) Header() http.Header { func (c *SitesVersionsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8656,7 +8656,7 @@ func (c *SitesVersionsListCall) Header() http.Header { func (c *SitesVersionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8846,7 +8846,7 @@ func (c *SitesVersionsPatchCall) Header() http.Header { func (c *SitesVersionsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8994,7 +8994,7 @@ func (c *SitesVersionsPopulateFilesCall) Header() http.Header { func (c *SitesVersionsPopulateFilesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9175,7 +9175,7 @@ func (c *SitesVersionsFilesListCall) Header() http.Header { func (c *SitesVersionsFilesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/firebaseml/v1/firebaseml-gen.go b/firebaseml/v1/firebaseml-gen.go index 383d4bafac0..312e1a4ac84 100644 --- a/firebaseml/v1/firebaseml-gen.go +++ b/firebaseml/v1/firebaseml-gen.go @@ -395,7 +395,7 @@ func (c *OperationsCancelCall) Header() http.Header { func (c *OperationsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -536,7 +536,7 @@ func (c *OperationsDeleteCall) Header() http.Header { func (c *OperationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -707,7 +707,7 @@ func (c *OperationsListCall) Header() http.Header { func (c *OperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/firebaseml/v1beta2/firebaseml-gen.go b/firebaseml/v1beta2/firebaseml-gen.go index 7a947539caf..d84bc21ef66 100644 --- a/firebaseml/v1beta2/firebaseml-gen.go +++ b/firebaseml/v1beta2/firebaseml-gen.go @@ -558,7 +558,7 @@ func (c *ProjectsModelsCreateCall) Header() http.Header { func (c *ProjectsModelsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -696,7 +696,7 @@ func (c *ProjectsModelsDeleteCall) Header() http.Header { func (c *ProjectsModelsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -837,7 +837,7 @@ func (c *ProjectsModelsGetCall) Header() http.Header { func (c *ProjectsModelsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1002,7 +1002,7 @@ func (c *ProjectsModelsListCall) Header() http.Header { func (c *ProjectsModelsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1181,7 +1181,7 @@ func (c *ProjectsModelsPatchCall) Header() http.Header { func (c *ProjectsModelsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1338,7 +1338,7 @@ func (c *ProjectsOperationsGetCall) Header() http.Header { func (c *ProjectsOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/firebaserules/v1/firebaserules-gen.go b/firebaserules/v1/firebaserules-gen.go index fadcb560bba..d98f09a3e73 100644 --- a/firebaserules/v1/firebaserules-gen.go +++ b/firebaserules/v1/firebaserules-gen.go @@ -1201,7 +1201,7 @@ func (c *ProjectsTestCall) Header() http.Header { func (c *ProjectsTestCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1358,7 +1358,7 @@ func (c *ProjectsReleasesCreateCall) Header() http.Header { func (c *ProjectsReleasesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1497,7 +1497,7 @@ func (c *ProjectsReleasesDeleteCall) Header() http.Header { func (c *ProjectsReleasesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1639,7 +1639,7 @@ func (c *ProjectsReleasesGetCall) Header() http.Header { func (c *ProjectsReleasesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1802,7 +1802,7 @@ func (c *ProjectsReleasesGetExecutableCall) Header() http.Header { func (c *ProjectsReleasesGetExecutableCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2006,7 +2006,7 @@ func (c *ProjectsReleasesListCall) Header() http.Header { func (c *ProjectsReleasesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2183,7 +2183,7 @@ func (c *ProjectsReleasesPatchCall) Header() http.Header { func (c *ProjectsReleasesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2328,7 +2328,7 @@ func (c *ProjectsRulesetsCreateCall) Header() http.Header { func (c *ProjectsRulesetsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2468,7 +2468,7 @@ func (c *ProjectsRulesetsDeleteCall) Header() http.Header { func (c *ProjectsRulesetsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2610,7 +2610,7 @@ func (c *ProjectsRulesetsGetCall) Header() http.Header { func (c *ProjectsRulesetsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2785,7 +2785,7 @@ func (c *ProjectsRulesetsListCall) Header() http.Header { func (c *ProjectsRulesetsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/firestore/v1beta2/firestore-gen.go b/firestore/v1beta2/firestore-gen.go index 7c61ff210d1..e8ef51661c0 100644 --- a/firestore/v1beta2/firestore-gen.go +++ b/firestore/v1beta2/firestore-gen.go @@ -1130,7 +1130,7 @@ func (c *ProjectsDatabasesExportDocumentsCall) Header() http.Header { func (c *ProjectsDatabasesExportDocumentsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1276,7 +1276,7 @@ func (c *ProjectsDatabasesImportDocumentsCall) Header() http.Header { func (c *ProjectsDatabasesImportDocumentsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1426,7 +1426,7 @@ func (c *ProjectsDatabasesCollectionGroupsFieldsGetCall) Header() http.Header { func (c *ProjectsDatabasesCollectionGroupsFieldsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1600,7 +1600,7 @@ func (c *ProjectsDatabasesCollectionGroupsFieldsListCall) Header() http.Header { func (c *ProjectsDatabasesCollectionGroupsFieldsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1794,7 +1794,7 @@ func (c *ProjectsDatabasesCollectionGroupsFieldsPatchCall) Header() http.Header func (c *ProjectsDatabasesCollectionGroupsFieldsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1944,7 +1944,7 @@ func (c *ProjectsDatabasesCollectionGroupsIndexesCreateCall) Header() http.Heade func (c *ProjectsDatabasesCollectionGroupsIndexesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2083,7 +2083,7 @@ func (c *ProjectsDatabasesCollectionGroupsIndexesDeleteCall) Header() http.Heade func (c *ProjectsDatabasesCollectionGroupsIndexesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2225,7 +2225,7 @@ func (c *ProjectsDatabasesCollectionGroupsIndexesGetCall) Header() http.Header { func (c *ProjectsDatabasesCollectionGroupsIndexesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2392,7 +2392,7 @@ func (c *ProjectsDatabasesCollectionGroupsIndexesListCall) Header() http.Header func (c *ProjectsDatabasesCollectionGroupsIndexesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/fitness/v1/fitness-gen.go b/fitness/v1/fitness-gen.go index cc1e86a6c9a..df2235350d9 100644 --- a/fitness/v1/fitness-gen.go +++ b/fitness/v1/fitness-gen.go @@ -1502,7 +1502,7 @@ func (c *UsersDataSourcesCreateCall) Header() http.Header { func (c *UsersDataSourcesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1652,7 +1652,7 @@ func (c *UsersDataSourcesDeleteCall) Header() http.Header { func (c *UsersDataSourcesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1812,7 +1812,7 @@ func (c *UsersDataSourcesGetCall) Header() http.Header { func (c *UsersDataSourcesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1995,7 +1995,7 @@ func (c *UsersDataSourcesListCall) Header() http.Header { func (c *UsersDataSourcesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2161,7 +2161,7 @@ func (c *UsersDataSourcesUpdateCall) Header() http.Header { func (c *UsersDataSourcesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2346,7 +2346,7 @@ func (c *UsersDataSourcesDataPointChangesListCall) Header() http.Header { func (c *UsersDataSourcesDataPointChangesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2563,7 +2563,7 @@ func (c *UsersDataSourcesDatasetsDeleteCall) Header() http.Header { func (c *UsersDataSourcesDatasetsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2743,7 +2743,7 @@ func (c *UsersDataSourcesDatasetsGetCall) Header() http.Header { func (c *UsersDataSourcesDatasetsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2963,7 +2963,7 @@ func (c *UsersDataSourcesDatasetsPatchCall) Header() http.Header { func (c *UsersDataSourcesDatasetsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3158,7 +3158,7 @@ func (c *UsersDatasetAggregateCall) Header() http.Header { func (c *UsersDatasetAggregateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3325,7 +3325,7 @@ func (c *UsersSessionsDeleteCall) Header() http.Header { func (c *UsersSessionsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3503,7 +3503,7 @@ func (c *UsersSessionsListCall) Header() http.Header { func (c *UsersSessionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3715,7 +3715,7 @@ func (c *UsersSessionsUpdateCall) Header() http.Header { func (c *UsersSessionsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/games/v1/games-gen.go b/games/v1/games-gen.go index 586ec904b27..26029071ca4 100644 --- a/games/v1/games-gen.go +++ b/games/v1/games-gen.go @@ -3554,7 +3554,7 @@ func (c *AchievementDefinitionsListCall) Header() http.Header { func (c *AchievementDefinitionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3724,7 +3724,7 @@ func (c *AchievementsIncrementCall) Header() http.Header { func (c *AchievementsIncrementCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3916,7 +3916,7 @@ func (c *AchievementsListCall) Header() http.Header { func (c *AchievementsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4103,7 +4103,7 @@ func (c *AchievementsRevealCall) Header() http.Header { func (c *AchievementsRevealCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4236,7 +4236,7 @@ func (c *AchievementsSetStepsAtLeastCall) Header() http.Header { func (c *AchievementsSetStepsAtLeastCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4375,7 +4375,7 @@ func (c *AchievementsUnlockCall) Header() http.Header { func (c *AchievementsUnlockCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4505,7 +4505,7 @@ func (c *AchievementsUpdateMultipleCall) Header() http.Header { func (c *AchievementsUpdateMultipleCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4666,7 +4666,7 @@ func (c *ApplicationsGetCall) Header() http.Header { func (c *ApplicationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4837,7 +4837,7 @@ func (c *ApplicationsGetEndPointCall) Header() http.Header { func (c *ApplicationsGetEndPointCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4974,7 +4974,7 @@ func (c *ApplicationsPlayedCall) Header() http.Header { func (c *ApplicationsPlayedCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5076,7 +5076,7 @@ func (c *ApplicationsVerifyCall) Header() http.Header { func (c *ApplicationsVerifyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5241,7 +5241,7 @@ func (c *EventsListByPlayerCall) Header() http.Header { func (c *EventsListByPlayerCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5432,7 +5432,7 @@ func (c *EventsListDefinitionsCall) Header() http.Header { func (c *EventsListDefinitionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5598,7 +5598,7 @@ func (c *EventsRecordCall) Header() http.Header { func (c *EventsRecordCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5747,7 +5747,7 @@ func (c *LeaderboardsGetCall) Header() http.Header { func (c *LeaderboardsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5916,7 +5916,7 @@ func (c *LeaderboardsListCall) Header() http.Header { func (c *LeaderboardsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6084,7 +6084,7 @@ func (c *MetagameGetMetagameConfigCall) Header() http.Header { func (c *MetagameGetMetagameConfigCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6241,7 +6241,7 @@ func (c *MetagameListCategoriesByPlayerCall) Header() http.Header { func (c *MetagameListCategoriesByPlayerCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6445,7 +6445,7 @@ func (c *PlayersGetCall) Header() http.Header { func (c *PlayersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6617,7 +6617,7 @@ func (c *PlayersListCall) Header() http.Header { func (c *PlayersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6806,7 +6806,7 @@ func (c *RevisionsCheckCall) Header() http.Header { func (c *RevisionsCheckCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6995,7 +6995,7 @@ func (c *ScoresGetCall) Header() http.Header { func (c *ScoresGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7251,7 +7251,7 @@ func (c *ScoresListCall) Header() http.Header { func (c *ScoresListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7515,7 +7515,7 @@ func (c *ScoresListWindowCall) Header() http.Header { func (c *ScoresListWindowCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7751,7 +7751,7 @@ func (c *ScoresSubmitCall) Header() http.Header { func (c *ScoresSubmitCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7906,7 +7906,7 @@ func (c *ScoresSubmitMultipleCall) Header() http.Header { func (c *ScoresSubmitMultipleCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8055,7 +8055,7 @@ func (c *SnapshotsGetCall) Header() http.Header { func (c *SnapshotsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8228,7 +8228,7 @@ func (c *SnapshotsListCall) Header() http.Header { func (c *SnapshotsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8402,7 +8402,7 @@ func (c *SnapshotsExtendedResolveSnapshotHeadCall) Header() http.Header { func (c *SnapshotsExtendedResolveSnapshotHeadCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8550,7 +8550,7 @@ func (c *StatsGetCall) Header() http.Header { func (c *StatsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/gamesconfiguration/v1configuration/gamesconfiguration-gen.go b/gamesconfiguration/v1configuration/gamesconfiguration-gen.go index 7ec92355d18..c62d5d83678 100644 --- a/gamesconfiguration/v1configuration/gamesconfiguration-gen.go +++ b/gamesconfiguration/v1configuration/gamesconfiguration-gen.go @@ -721,7 +721,7 @@ func (c *AchievementConfigurationsDeleteCall) Header() http.Header { func (c *AchievementConfigurationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -834,7 +834,7 @@ func (c *AchievementConfigurationsGetCall) Header() http.Header { func (c *AchievementConfigurationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -968,7 +968,7 @@ func (c *AchievementConfigurationsInsertCall) Header() http.Header { func (c *AchievementConfigurationsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1133,7 +1133,7 @@ func (c *AchievementConfigurationsListCall) Header() http.Header { func (c *AchievementConfigurationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1301,7 +1301,7 @@ func (c *AchievementConfigurationsUpdateCall) Header() http.Header { func (c *AchievementConfigurationsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1481,7 +1481,7 @@ func (c *ImageConfigurationsUploadCall) Header() http.Header { func (c *ImageConfigurationsUploadCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1669,7 +1669,7 @@ func (c *LeaderboardConfigurationsDeleteCall) Header() http.Header { func (c *LeaderboardConfigurationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1782,7 +1782,7 @@ func (c *LeaderboardConfigurationsGetCall) Header() http.Header { func (c *LeaderboardConfigurationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1916,7 +1916,7 @@ func (c *LeaderboardConfigurationsInsertCall) Header() http.Header { func (c *LeaderboardConfigurationsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2081,7 +2081,7 @@ func (c *LeaderboardConfigurationsListCall) Header() http.Header { func (c *LeaderboardConfigurationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2249,7 +2249,7 @@ func (c *LeaderboardConfigurationsUpdateCall) Header() http.Header { func (c *LeaderboardConfigurationsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/gamesmanagement/v1management/gamesmanagement-gen.go b/gamesmanagement/v1management/gamesmanagement-gen.go index 12c9b58f30e..e14fe2f0e61 100644 --- a/gamesmanagement/v1management/gamesmanagement-gen.go +++ b/gamesmanagement/v1management/gamesmanagement-gen.go @@ -783,7 +783,7 @@ func (c *AchievementsResetCall) Header() http.Header { func (c *AchievementsResetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -912,7 +912,7 @@ func (c *AchievementsResetAllCall) Header() http.Header { func (c *AchievementsResetAllCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1029,7 +1029,7 @@ func (c *AchievementsResetAllForAllPlayersCall) Header() http.Header { func (c *AchievementsResetAllForAllPlayersCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1120,7 +1120,7 @@ func (c *AchievementsResetForAllPlayersCall) Header() http.Header { func (c *AchievementsResetForAllPlayersCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1223,7 +1223,7 @@ func (c *AchievementsResetMultipleForAllPlayersCall) Header() http.Header { func (c *AchievementsResetMultipleForAllPlayersCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1349,7 +1349,7 @@ func (c *ApplicationsListHiddenCall) Header() http.Header { func (c *ApplicationsListHiddenCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1515,7 +1515,7 @@ func (c *EventsResetCall) Header() http.Header { func (c *EventsResetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1616,7 +1616,7 @@ func (c *EventsResetAllCall) Header() http.Header { func (c *EventsResetAllCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1704,7 +1704,7 @@ func (c *EventsResetAllForAllPlayersCall) Header() http.Header { func (c *EventsResetAllForAllPlayersCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1795,7 +1795,7 @@ func (c *EventsResetForAllPlayersCall) Header() http.Header { func (c *EventsResetForAllPlayersCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1898,7 +1898,7 @@ func (c *EventsResetMultipleForAllPlayersCall) Header() http.Header { func (c *EventsResetMultipleForAllPlayersCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1999,7 +1999,7 @@ func (c *PlayersHideCall) Header() http.Header { func (c *PlayersHideCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2112,7 +2112,7 @@ func (c *PlayersUnhideCall) Header() http.Header { func (c *PlayersUnhideCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2223,7 +2223,7 @@ func (c *ScoresResetCall) Header() http.Header { func (c *ScoresResetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2352,7 +2352,7 @@ func (c *ScoresResetAllCall) Header() http.Header { func (c *ScoresResetAllCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2469,7 +2469,7 @@ func (c *ScoresResetAllForAllPlayersCall) Header() http.Header { func (c *ScoresResetAllForAllPlayersCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2560,7 +2560,7 @@ func (c *ScoresResetForAllPlayersCall) Header() http.Header { func (c *ScoresResetForAllPlayersCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2664,7 +2664,7 @@ func (c *ScoresResetMultipleForAllPlayersCall) Header() http.Header { func (c *ScoresResetMultipleForAllPlayersCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/genomics/v1/genomics-gen.go b/genomics/v1/genomics-gen.go index 1bdf4e00737..ebf059f22e7 100644 --- a/genomics/v1/genomics-gen.go +++ b/genomics/v1/genomics-gen.go @@ -993,7 +993,7 @@ func (c *OperationsCancelCall) Header() http.Header { func (c *OperationsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1147,7 +1147,7 @@ func (c *OperationsGetCall) Header() http.Header { func (c *OperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1335,7 +1335,7 @@ func (c *OperationsListCall) Header() http.Header { func (c *OperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/genomics/v1alpha2/genomics-gen.go b/genomics/v1alpha2/genomics-gen.go index 763fc375f2f..6a61779b9c7 100644 --- a/genomics/v1alpha2/genomics-gen.go +++ b/genomics/v1alpha2/genomics-gen.go @@ -1854,7 +1854,7 @@ func (c *OperationsCancelCall) Header() http.Header { func (c *OperationsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2008,7 +2008,7 @@ func (c *OperationsGetCall) Header() http.Header { func (c *OperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2196,7 +2196,7 @@ func (c *OperationsListCall) Header() http.Header { func (c *OperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2371,7 +2371,7 @@ func (c *PipelinesCreateCall) Header() http.Header { func (c *PipelinesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2498,7 +2498,7 @@ func (c *PipelinesDeleteCall) Header() http.Header { func (c *PipelinesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2640,7 +2640,7 @@ func (c *PipelinesGetCall) Header() http.Header { func (c *PipelinesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2797,7 +2797,7 @@ func (c *PipelinesGetControllerConfigCall) Header() http.Header { func (c *PipelinesGetControllerConfigCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2970,7 +2970,7 @@ func (c *PipelinesListCall) Header() http.Header { func (c *PipelinesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3140,7 +3140,7 @@ func (c *PipelinesRunCall) Header() http.Header { func (c *PipelinesRunCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3270,7 +3270,7 @@ func (c *PipelinesSetOperationStatusCall) Header() http.Header { func (c *PipelinesSetOperationStatusCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/genomics/v2alpha1/genomics-gen.go b/genomics/v2alpha1/genomics-gen.go index c75638c08cc..6de6a49ee72 100644 --- a/genomics/v2alpha1/genomics-gen.go +++ b/genomics/v2alpha1/genomics-gen.go @@ -2065,7 +2065,7 @@ func (c *PipelinesRunCall) Header() http.Header { func (c *PipelinesRunCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2199,7 +2199,7 @@ func (c *ProjectsOperationsCancelCall) Header() http.Header { func (c *ProjectsOperationsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2353,7 +2353,7 @@ func (c *ProjectsOperationsGetCall) Header() http.Header { func (c *ProjectsOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2541,7 +2541,7 @@ func (c *ProjectsOperationsListCall) Header() http.Header { func (c *ProjectsOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2715,7 +2715,7 @@ func (c *ProjectsWorkersCheckInCall) Header() http.Header { func (c *ProjectsWorkersCheckInCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2857,7 +2857,7 @@ func (c *WorkersCheckInCall) Header() http.Header { func (c *WorkersCheckInCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/gmail/v1/gmail-gen.go b/gmail/v1/gmail-gen.go index 2e6741caf37..482061f7292 100644 --- a/gmail/v1/gmail-gen.go +++ b/gmail/v1/gmail-gen.go @@ -2304,7 +2304,7 @@ func (c *UsersGetProfileCall) Header() http.Header { func (c *UsersGetProfileCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2441,7 +2441,7 @@ func (c *UsersStopCall) Header() http.Header { func (c *UsersStopCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2549,7 +2549,7 @@ func (c *UsersWatchCall) Header() http.Header { func (c *UsersWatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2732,7 +2732,7 @@ func (c *UsersDraftsCreateCall) Header() http.Header { func (c *UsersDraftsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2921,7 +2921,7 @@ func (c *UsersDraftsDeleteCall) Header() http.Header { func (c *UsersDraftsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3068,7 +3068,7 @@ func (c *UsersDraftsGetCall) Header() http.Header { func (c *UsersDraftsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3271,7 +3271,7 @@ func (c *UsersDraftsListCall) Header() http.Header { func (c *UsersDraftsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3494,7 +3494,7 @@ func (c *UsersDraftsSendCall) Header() http.Header { func (c *UsersDraftsSendCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3724,7 +3724,7 @@ func (c *UsersDraftsUpdateCall) Header() http.Header { func (c *UsersDraftsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3982,7 +3982,7 @@ func (c *UsersHistoryListCall) Header() http.Header { func (c *UsersHistoryListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4182,7 +4182,7 @@ func (c *UsersLabelsCreateCall) Header() http.Header { func (c *UsersLabelsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4325,7 +4325,7 @@ func (c *UsersLabelsDeleteCall) Header() http.Header { func (c *UsersLabelsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4450,7 +4450,7 @@ func (c *UsersLabelsGetCall) Header() http.Header { func (c *UsersLabelsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4606,7 +4606,7 @@ func (c *UsersLabelsListCall) Header() http.Header { func (c *UsersLabelsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4747,7 +4747,7 @@ func (c *UsersLabelsPatchCall) Header() http.Header { func (c *UsersLabelsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4899,7 +4899,7 @@ func (c *UsersLabelsUpdateCall) Header() http.Header { func (c *UsersLabelsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5051,7 +5051,7 @@ func (c *UsersMessagesBatchDeleteCall) Header() http.Header { func (c *UsersMessagesBatchDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5163,7 +5163,7 @@ func (c *UsersMessagesBatchModifyCall) Header() http.Header { func (c *UsersMessagesBatchModifyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5277,7 +5277,7 @@ func (c *UsersMessagesDeleteCall) Header() http.Header { func (c *UsersMessagesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5428,7 +5428,7 @@ func (c *UsersMessagesGetCall) Header() http.Header { func (c *UsersMessagesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5681,7 +5681,7 @@ func (c *UsersMessagesImportCall) Header() http.Header { func (c *UsersMessagesImportCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5963,7 +5963,7 @@ func (c *UsersMessagesInsertCall) Header() http.Header { func (c *UsersMessagesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6217,7 +6217,7 @@ func (c *UsersMessagesListCall) Header() http.Header { func (c *UsersMessagesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6407,7 +6407,7 @@ func (c *UsersMessagesModifyCall) Header() http.Header { func (c *UsersMessagesModifyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6597,7 +6597,7 @@ func (c *UsersMessagesSendCall) Header() http.Header { func (c *UsersMessagesSendCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6786,7 +6786,7 @@ func (c *UsersMessagesTrashCall) Header() http.Header { func (c *UsersMessagesTrashCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6927,7 +6927,7 @@ func (c *UsersMessagesUntrashCall) Header() http.Header { func (c *UsersMessagesUntrashCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7081,7 +7081,7 @@ func (c *UsersMessagesAttachmentsGetCall) Header() http.Header { func (c *UsersMessagesAttachmentsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7246,7 +7246,7 @@ func (c *UsersSettingsGetAutoForwardingCall) Header() http.Header { func (c *UsersSettingsGetAutoForwardingCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7393,7 +7393,7 @@ func (c *UsersSettingsGetImapCall) Header() http.Header { func (c *UsersSettingsGetImapCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7540,7 +7540,7 @@ func (c *UsersSettingsGetLanguageCall) Header() http.Header { func (c *UsersSettingsGetLanguageCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7687,7 +7687,7 @@ func (c *UsersSettingsGetPopCall) Header() http.Header { func (c *UsersSettingsGetPopCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7834,7 +7834,7 @@ func (c *UsersSettingsGetVacationCall) Header() http.Header { func (c *UsersSettingsGetVacationCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7976,7 +7976,7 @@ func (c *UsersSettingsUpdateAutoForwardingCall) Header() http.Header { func (c *UsersSettingsUpdateAutoForwardingCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8116,7 +8116,7 @@ func (c *UsersSettingsUpdateImapCall) Header() http.Header { func (c *UsersSettingsUpdateImapCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8261,7 +8261,7 @@ func (c *UsersSettingsUpdateLanguageCall) Header() http.Header { func (c *UsersSettingsUpdateLanguageCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8401,7 +8401,7 @@ func (c *UsersSettingsUpdatePopCall) Header() http.Header { func (c *UsersSettingsUpdatePopCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8541,7 +8541,7 @@ func (c *UsersSettingsUpdateVacationCall) Header() http.Header { func (c *UsersSettingsUpdateVacationCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8692,7 +8692,7 @@ func (c *UsersSettingsDelegatesCreateCall) Header() http.Header { func (c *UsersSettingsDelegatesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8837,7 +8837,7 @@ func (c *UsersSettingsDelegatesDeleteCall) Header() http.Header { func (c *UsersSettingsDelegatesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8963,7 +8963,7 @@ func (c *UsersSettingsDelegatesGetCall) Header() http.Header { func (c *UsersSettingsDelegatesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9120,7 +9120,7 @@ func (c *UsersSettingsDelegatesListCall) Header() http.Header { func (c *UsersSettingsDelegatesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9259,7 +9259,7 @@ func (c *UsersSettingsFiltersCreateCall) Header() http.Header { func (c *UsersSettingsFiltersCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9399,7 +9399,7 @@ func (c *UsersSettingsFiltersDeleteCall) Header() http.Header { func (c *UsersSettingsFiltersDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9522,7 +9522,7 @@ func (c *UsersSettingsFiltersGetCall) Header() http.Header { func (c *UsersSettingsFiltersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9677,7 +9677,7 @@ func (c *UsersSettingsFiltersListCall) Header() http.Header { func (c *UsersSettingsFiltersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9820,7 +9820,7 @@ func (c *UsersSettingsForwardingAddressesCreateCall) Header() http.Header { func (c *UsersSettingsForwardingAddressesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9963,7 +9963,7 @@ func (c *UsersSettingsForwardingAddressesDeleteCall) Header() http.Header { func (c *UsersSettingsForwardingAddressesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10086,7 +10086,7 @@ func (c *UsersSettingsForwardingAddressesGetCall) Header() http.Header { func (c *UsersSettingsForwardingAddressesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10241,7 +10241,7 @@ func (c *UsersSettingsForwardingAddressesListCall) Header() http.Header { func (c *UsersSettingsForwardingAddressesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10388,7 +10388,7 @@ func (c *UsersSettingsSendAsCreateCall) Header() http.Header { func (c *UsersSettingsSendAsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10531,7 +10531,7 @@ func (c *UsersSettingsSendAsDeleteCall) Header() http.Header { func (c *UsersSettingsSendAsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10655,7 +10655,7 @@ func (c *UsersSettingsSendAsGetCall) Header() http.Header { func (c *UsersSettingsSendAsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10812,7 +10812,7 @@ func (c *UsersSettingsSendAsListCall) Header() http.Header { func (c *UsersSettingsSendAsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10952,7 +10952,7 @@ func (c *UsersSettingsSendAsPatchCall) Header() http.Header { func (c *UsersSettingsSendAsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11107,7 +11107,7 @@ func (c *UsersSettingsSendAsUpdateCall) Header() http.Header { func (c *UsersSettingsSendAsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11259,7 +11259,7 @@ func (c *UsersSettingsSendAsVerifyCall) Header() http.Header { func (c *UsersSettingsSendAsVerifyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11374,7 +11374,7 @@ func (c *UsersSettingsSendAsSmimeInfoDeleteCall) Header() http.Header { func (c *UsersSettingsSendAsSmimeInfoDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11509,7 +11509,7 @@ func (c *UsersSettingsSendAsSmimeInfoGetCall) Header() http.Header { func (c *UsersSettingsSendAsSmimeInfoGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11667,7 +11667,7 @@ func (c *UsersSettingsSendAsSmimeInfoInsertCall) Header() http.Header { func (c *UsersSettingsSendAsSmimeInfoInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11827,7 +11827,7 @@ func (c *UsersSettingsSendAsSmimeInfoListCall) Header() http.Header { func (c *UsersSettingsSendAsSmimeInfoListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11977,7 +11977,7 @@ func (c *UsersSettingsSendAsSmimeInfoSetDefaultCall) Header() http.Header { func (c *UsersSettingsSendAsSmimeInfoSetDefaultCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12099,7 +12099,7 @@ func (c *UsersThreadsDeleteCall) Header() http.Header { func (c *UsersThreadsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12246,7 +12246,7 @@ func (c *UsersThreadsGetCall) Header() http.Header { func (c *UsersThreadsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12464,7 +12464,7 @@ func (c *UsersThreadsListCall) Header() http.Header { func (c *UsersThreadsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12655,7 +12655,7 @@ func (c *UsersThreadsModifyCall) Header() http.Header { func (c *UsersThreadsModifyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12804,7 +12804,7 @@ func (c *UsersThreadsTrashCall) Header() http.Header { func (c *UsersThreadsTrashCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12945,7 +12945,7 @@ func (c *UsersThreadsUntrashCall) Header() http.Header { func (c *UsersThreadsUntrashCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/gmailpostmastertools/v1beta1/gmailpostmastertools-gen.go b/gmailpostmastertools/v1beta1/gmailpostmastertools-gen.go index d11831e8935..8a4f7111232 100644 --- a/gmailpostmastertools/v1beta1/gmailpostmastertools-gen.go +++ b/gmailpostmastertools/v1beta1/gmailpostmastertools-gen.go @@ -661,7 +661,7 @@ func (c *DomainsGetCall) Header() http.Header { func (c *DomainsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -823,7 +823,7 @@ func (c *DomainsListCall) Header() http.Header { func (c *DomainsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -989,7 +989,7 @@ func (c *DomainsTrafficStatsGetCall) Header() http.Header { func (c *DomainsTrafficStatsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1201,7 +1201,7 @@ func (c *DomainsTrafficStatsListCall) Header() http.Header { func (c *DomainsTrafficStatsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/groupsmigration/v1/groupsmigration-gen.go b/groupsmigration/v1/groupsmigration-gen.go index a2f88be05e6..96550cdb8bf 100644 --- a/groupsmigration/v1/groupsmigration-gen.go +++ b/groupsmigration/v1/groupsmigration-gen.go @@ -263,7 +263,7 @@ func (c *ArchiveInsertCall) Header() http.Header { func (c *ArchiveInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/groupssettings/v1/groupssettings-gen.go b/groupssettings/v1/groupssettings-gen.go index bd9d6bbea0f..bb292ff4b59 100644 --- a/groupssettings/v1/groupssettings-gen.go +++ b/groupssettings/v1/groupssettings-gen.go @@ -781,7 +781,7 @@ func (c *GroupsGetCall) Header() http.Header { func (c *GroupsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -915,7 +915,7 @@ func (c *GroupsPatchCall) Header() http.Header { func (c *GroupsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1053,7 +1053,7 @@ func (c *GroupsUpdateCall) Header() http.Header { func (c *GroupsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/healthcare/v1/healthcare-gen.go b/healthcare/v1/healthcare-gen.go index f3ffbe36860..bd176419711 100644 --- a/healthcare/v1/healthcare-gen.go +++ b/healthcare/v1/healthcare-gen.go @@ -3287,7 +3287,7 @@ func (c *ProjectsLocationsGetCall) Header() http.Header { func (c *ProjectsLocationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3453,7 +3453,7 @@ func (c *ProjectsLocationsListCall) Header() http.Header { func (c *ProjectsLocationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3636,7 +3636,7 @@ func (c *ProjectsLocationsDatasetsCreateCall) Header() http.Header { func (c *ProjectsLocationsDatasetsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3790,7 +3790,7 @@ func (c *ProjectsLocationsDatasetsDeidentifyCall) Header() http.Header { func (c *ProjectsLocationsDatasetsDeidentifyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3930,7 +3930,7 @@ func (c *ProjectsLocationsDatasetsDeleteCall) Header() http.Header { func (c *ProjectsLocationsDatasetsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4071,7 +4071,7 @@ func (c *ProjectsLocationsDatasetsGetCall) Header() http.Header { func (c *ProjectsLocationsDatasetsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4232,7 +4232,7 @@ func (c *ProjectsLocationsDatasetsGetIamPolicyCall) Header() http.Header { func (c *ProjectsLocationsDatasetsGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4397,7 +4397,7 @@ func (c *ProjectsLocationsDatasetsListCall) Header() http.Header { func (c *ProjectsLocationsDatasetsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4572,7 +4572,7 @@ func (c *ProjectsLocationsDatasetsPatchCall) Header() http.Header { func (c *ProjectsLocationsDatasetsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4720,7 +4720,7 @@ func (c *ProjectsLocationsDatasetsSetIamPolicyCall) Header() http.Header { func (c *ProjectsLocationsDatasetsSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4865,7 +4865,7 @@ func (c *ProjectsLocationsDatasetsTestIamPermissionsCall) Header() http.Header { func (c *ProjectsLocationsDatasetsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5013,7 +5013,7 @@ func (c *ProjectsLocationsDatasetsDicomStoresCreateCall) Header() http.Header { func (c *ProjectsLocationsDatasetsDicomStoresCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5166,7 +5166,7 @@ func (c *ProjectsLocationsDatasetsDicomStoresDeidentifyCall) Header() http.Heade func (c *ProjectsLocationsDatasetsDicomStoresDeidentifyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5305,7 +5305,7 @@ func (c *ProjectsLocationsDatasetsDicomStoresDeleteCall) Header() http.Header { func (c *ProjectsLocationsDatasetsDicomStoresDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5440,7 +5440,7 @@ func (c *ProjectsLocationsDatasetsDicomStoresExportCall) Header() http.Header { func (c *ProjectsLocationsDatasetsDicomStoresExportCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5589,7 +5589,7 @@ func (c *ProjectsLocationsDatasetsDicomStoresGetCall) Header() http.Header { func (c *ProjectsLocationsDatasetsDicomStoresGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5750,7 +5750,7 @@ func (c *ProjectsLocationsDatasetsDicomStoresGetIamPolicyCall) Header() http.Hea func (c *ProjectsLocationsDatasetsDicomStoresGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5894,7 +5894,7 @@ func (c *ProjectsLocationsDatasetsDicomStoresImportCall) Header() http.Header { func (c *ProjectsLocationsDatasetsDicomStoresImportCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6068,7 +6068,7 @@ func (c *ProjectsLocationsDatasetsDicomStoresListCall) Header() http.Header { func (c *ProjectsLocationsDatasetsDicomStoresListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6248,7 +6248,7 @@ func (c *ProjectsLocationsDatasetsDicomStoresPatchCall) Header() http.Header { func (c *ProjectsLocationsDatasetsDicomStoresPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6415,7 +6415,7 @@ func (c *ProjectsLocationsDatasetsDicomStoresSearchForInstancesCall) Header() ht func (c *ProjectsLocationsDatasetsDicomStoresSearchForInstancesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6547,7 +6547,7 @@ func (c *ProjectsLocationsDatasetsDicomStoresSearchForSeriesCall) Header() http. func (c *ProjectsLocationsDatasetsDicomStoresSearchForSeriesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6679,7 +6679,7 @@ func (c *ProjectsLocationsDatasetsDicomStoresSearchForStudiesCall) Header() http func (c *ProjectsLocationsDatasetsDicomStoresSearchForStudiesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6792,7 +6792,7 @@ func (c *ProjectsLocationsDatasetsDicomStoresSetIamPolicyCall) Header() http.Hea func (c *ProjectsLocationsDatasetsDicomStoresSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6943,7 +6943,7 @@ func (c *ProjectsLocationsDatasetsDicomStoresStoreInstancesCall) Header() http.H func (c *ProjectsLocationsDatasetsDicomStoresStoreInstancesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7058,7 +7058,7 @@ func (c *ProjectsLocationsDatasetsDicomStoresTestIamPermissionsCall) Header() ht func (c *ProjectsLocationsDatasetsDicomStoresTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7207,7 +7207,7 @@ func (c *ProjectsLocationsDatasetsDicomStoresStudiesDeleteCall) Header() http.He func (c *ProjectsLocationsDatasetsDicomStoresStudiesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7368,7 +7368,7 @@ func (c *ProjectsLocationsDatasetsDicomStoresStudiesRetrieveMetadataCall) Header func (c *ProjectsLocationsDatasetsDicomStoresStudiesRetrieveMetadataCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7500,7 +7500,7 @@ func (c *ProjectsLocationsDatasetsDicomStoresStudiesRetrieveStudyCall) Header() func (c *ProjectsLocationsDatasetsDicomStoresStudiesRetrieveStudyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7632,7 +7632,7 @@ func (c *ProjectsLocationsDatasetsDicomStoresStudiesSearchForInstancesCall) Head func (c *ProjectsLocationsDatasetsDicomStoresStudiesSearchForInstancesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7764,7 +7764,7 @@ func (c *ProjectsLocationsDatasetsDicomStoresStudiesSearchForSeriesCall) Header( func (c *ProjectsLocationsDatasetsDicomStoresStudiesSearchForSeriesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7886,7 +7886,7 @@ func (c *ProjectsLocationsDatasetsDicomStoresStudiesStoreInstancesCall) Header() func (c *ProjectsLocationsDatasetsDicomStoresStudiesStoreInstancesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8005,7 +8005,7 @@ func (c *ProjectsLocationsDatasetsDicomStoresStudiesSeriesDeleteCall) Header() h func (c *ProjectsLocationsDatasetsDicomStoresStudiesSeriesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8167,7 +8167,7 @@ func (c *ProjectsLocationsDatasetsDicomStoresStudiesSeriesRetrieveMetadataCall) func (c *ProjectsLocationsDatasetsDicomStoresStudiesSeriesRetrieveMetadataCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8299,7 +8299,7 @@ func (c *ProjectsLocationsDatasetsDicomStoresStudiesSeriesRetrieveSeriesCall) He func (c *ProjectsLocationsDatasetsDicomStoresStudiesSeriesRetrieveSeriesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8431,7 +8431,7 @@ func (c *ProjectsLocationsDatasetsDicomStoresStudiesSeriesSearchForInstancesCall func (c *ProjectsLocationsDatasetsDicomStoresStudiesSeriesSearchForInstancesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8549,7 +8549,7 @@ func (c *ProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesDeleteCall) H func (c *ProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8713,7 +8713,7 @@ func (c *ProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesRetrieveInsta func (c *ProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesRetrieveInstanceCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8847,7 +8847,7 @@ func (c *ProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesRetrieveMetad func (c *ProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesRetrieveMetadataCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8980,7 +8980,7 @@ func (c *ProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesRetrieveRende func (c *ProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesRetrieveRenderedCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9112,7 +9112,7 @@ func (c *ProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesFramesRetriev func (c *ProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesFramesRetrieveFramesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9245,7 +9245,7 @@ func (c *ProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesFramesRetriev func (c *ProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesFramesRetrieveRenderedCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9364,7 +9364,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresCreateCall) Header() http.Header { func (c *ProjectsLocationsDatasetsFhirStoresCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9514,7 +9514,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresDeidentifyCall) Header() http.Header func (c *ProjectsLocationsDatasetsFhirStoresDeidentifyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9653,7 +9653,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresDeleteCall) Header() http.Header { func (c *ProjectsLocationsDatasetsFhirStoresDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9792,7 +9792,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresExportCall) Header() http.Header { func (c *ProjectsLocationsDatasetsFhirStoresExportCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9941,7 +9941,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresGetCall) Header() http.Header { func (c *ProjectsLocationsDatasetsFhirStoresGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10102,7 +10102,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresGetIamPolicyCall) Header() http.Head func (c *ProjectsLocationsDatasetsFhirStoresGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10297,7 +10297,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresImportCall) Header() http.Header { func (c *ProjectsLocationsDatasetsFhirStoresImportCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10471,7 +10471,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresListCall) Header() http.Header { func (c *ProjectsLocationsDatasetsFhirStoresListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10651,7 +10651,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresPatchCall) Header() http.Header { func (c *ProjectsLocationsDatasetsFhirStoresPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10799,7 +10799,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresSetIamPolicyCall) Header() http.Head func (c *ProjectsLocationsDatasetsFhirStoresSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10944,7 +10944,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresTestIamPermissionsCall) Header() htt func (c *ProjectsLocationsDatasetsFhirStoresTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11173,7 +11173,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresFhirPatientEverythingCall) Header() func (c *ProjectsLocationsDatasetsFhirStoresFhirPatientEverythingCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11311,7 +11311,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresFhirResourcePurgeCall) Header() http func (c *ProjectsLocationsDatasetsFhirStoresFhirResourcePurgeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11468,7 +11468,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresFhirCapabilitiesCall) Header() http. func (c *ProjectsLocationsDatasetsFhirStoresFhirCapabilitiesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11590,7 +11590,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresFhirCreateCall) Header() http.Header func (c *ProjectsLocationsDatasetsFhirStoresFhirCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11711,7 +11711,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresFhirDeleteCall) Header() http.Header func (c *ProjectsLocationsDatasetsFhirStoresFhirDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11843,7 +11843,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresFhirExecuteBundleCall) Header() http func (c *ProjectsLocationsDatasetsFhirStoresFhirExecuteBundleCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12012,7 +12012,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresFhirHistoryCall) Header() http.Heade func (c *ProjectsLocationsDatasetsFhirStoresFhirHistoryCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12152,7 +12152,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresFhirPatchCall) Header() http.Header func (c *ProjectsLocationsDatasetsFhirStoresFhirPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12282,7 +12282,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresFhirReadCall) Header() http.Header { func (c *ProjectsLocationsDatasetsFhirStoresFhirReadCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12432,7 +12432,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresFhirSearchCall) Header() http.Header func (c *ProjectsLocationsDatasetsFhirStoresFhirSearchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12559,7 +12559,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresFhirUpdateCall) Header() http.Header func (c *ProjectsLocationsDatasetsFhirStoresFhirUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12684,7 +12684,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresFhirVreadCall) Header() http.Header func (c *ProjectsLocationsDatasetsFhirStoresFhirVreadCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12794,7 +12794,7 @@ func (c *ProjectsLocationsDatasetsHl7V2StoresCreateCall) Header() http.Header { func (c *ProjectsLocationsDatasetsHl7V2StoresCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12938,7 +12938,7 @@ func (c *ProjectsLocationsDatasetsHl7V2StoresDeleteCall) Header() http.Header { func (c *ProjectsLocationsDatasetsHl7V2StoresDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13079,7 +13079,7 @@ func (c *ProjectsLocationsDatasetsHl7V2StoresGetCall) Header() http.Header { func (c *ProjectsLocationsDatasetsHl7V2StoresGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13240,7 +13240,7 @@ func (c *ProjectsLocationsDatasetsHl7V2StoresGetIamPolicyCall) Header() http.Hea func (c *ProjectsLocationsDatasetsHl7V2StoresGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13415,7 +13415,7 @@ func (c *ProjectsLocationsDatasetsHl7V2StoresListCall) Header() http.Header { func (c *ProjectsLocationsDatasetsHl7V2StoresListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13595,7 +13595,7 @@ func (c *ProjectsLocationsDatasetsHl7V2StoresPatchCall) Header() http.Header { func (c *ProjectsLocationsDatasetsHl7V2StoresPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13743,7 +13743,7 @@ func (c *ProjectsLocationsDatasetsHl7V2StoresSetIamPolicyCall) Header() http.Hea func (c *ProjectsLocationsDatasetsHl7V2StoresSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13888,7 +13888,7 @@ func (c *ProjectsLocationsDatasetsHl7V2StoresTestIamPermissionsCall) Header() ht func (c *ProjectsLocationsDatasetsHl7V2StoresTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14033,7 +14033,7 @@ func (c *ProjectsLocationsDatasetsHl7V2StoresMessagesCreateCall) Header() http.H func (c *ProjectsLocationsDatasetsHl7V2StoresMessagesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14171,7 +14171,7 @@ func (c *ProjectsLocationsDatasetsHl7V2StoresMessagesDeleteCall) Header() http.H func (c *ProjectsLocationsDatasetsHl7V2StoresMessagesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14329,7 +14329,7 @@ func (c *ProjectsLocationsDatasetsHl7V2StoresMessagesGetCall) Header() http.Head func (c *ProjectsLocationsDatasetsHl7V2StoresMessagesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14492,7 +14492,7 @@ func (c *ProjectsLocationsDatasetsHl7V2StoresMessagesIngestCall) Header() http.H func (c *ProjectsLocationsDatasetsHl7V2StoresMessagesIngestCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14697,7 +14697,7 @@ func (c *ProjectsLocationsDatasetsHl7V2StoresMessagesListCall) Header() http.Hea func (c *ProjectsLocationsDatasetsHl7V2StoresMessagesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14906,7 +14906,7 @@ func (c *ProjectsLocationsDatasetsHl7V2StoresMessagesPatchCall) Header() http.He func (c *ProjectsLocationsDatasetsHl7V2StoresMessagesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15061,7 +15061,7 @@ func (c *ProjectsLocationsDatasetsOperationsCancelCall) Header() http.Header { func (c *ProjectsLocationsDatasetsOperationsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15212,7 +15212,7 @@ func (c *ProjectsLocationsDatasetsOperationsGetCall) Header() http.Header { func (c *ProjectsLocationsDatasetsOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15386,7 +15386,7 @@ func (c *ProjectsLocationsDatasetsOperationsListCall) Header() http.Header { func (c *ProjectsLocationsDatasetsOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/healthcare/v1beta1/healthcare-gen.go b/healthcare/v1beta1/healthcare-gen.go index 01dc46900cb..a922d9cee6f 100644 --- a/healthcare/v1beta1/healthcare-gen.go +++ b/healthcare/v1beta1/healthcare-gen.go @@ -6773,7 +6773,7 @@ func (c *ProjectsLocationsGetCall) Header() http.Header { func (c *ProjectsLocationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6939,7 +6939,7 @@ func (c *ProjectsLocationsListCall) Header() http.Header { func (c *ProjectsLocationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7122,7 +7122,7 @@ func (c *ProjectsLocationsDatasetsCreateCall) Header() http.Header { func (c *ProjectsLocationsDatasetsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7275,7 +7275,7 @@ func (c *ProjectsLocationsDatasetsDeidentifyCall) Header() http.Header { func (c *ProjectsLocationsDatasetsDeidentifyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7415,7 +7415,7 @@ func (c *ProjectsLocationsDatasetsDeleteCall) Header() http.Header { func (c *ProjectsLocationsDatasetsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7556,7 +7556,7 @@ func (c *ProjectsLocationsDatasetsGetCall) Header() http.Header { func (c *ProjectsLocationsDatasetsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7717,7 +7717,7 @@ func (c *ProjectsLocationsDatasetsGetIamPolicyCall) Header() http.Header { func (c *ProjectsLocationsDatasetsGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7882,7 +7882,7 @@ func (c *ProjectsLocationsDatasetsListCall) Header() http.Header { func (c *ProjectsLocationsDatasetsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8057,7 +8057,7 @@ func (c *ProjectsLocationsDatasetsPatchCall) Header() http.Header { func (c *ProjectsLocationsDatasetsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8205,7 +8205,7 @@ func (c *ProjectsLocationsDatasetsSetIamPolicyCall) Header() http.Header { func (c *ProjectsLocationsDatasetsSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8350,7 +8350,7 @@ func (c *ProjectsLocationsDatasetsTestIamPermissionsCall) Header() http.Header { func (c *ProjectsLocationsDatasetsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8498,7 +8498,7 @@ func (c *ProjectsLocationsDatasetsAnnotationStoresCreateCall) Header() http.Head func (c *ProjectsLocationsDatasetsAnnotationStoresCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8642,7 +8642,7 @@ func (c *ProjectsLocationsDatasetsAnnotationStoresDeleteCall) Header() http.Head func (c *ProjectsLocationsDatasetsAnnotationStoresDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8779,7 +8779,7 @@ func (c *ProjectsLocationsDatasetsAnnotationStoresEvaluateCall) Header() http.He func (c *ProjectsLocationsDatasetsAnnotationStoresEvaluateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8924,7 +8924,7 @@ func (c *ProjectsLocationsDatasetsAnnotationStoresExportCall) Header() http.Head func (c *ProjectsLocationsDatasetsAnnotationStoresExportCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9074,7 +9074,7 @@ func (c *ProjectsLocationsDatasetsAnnotationStoresGetCall) Header() http.Header func (c *ProjectsLocationsDatasetsAnnotationStoresGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9235,7 +9235,7 @@ func (c *ProjectsLocationsDatasetsAnnotationStoresGetIamPolicyCall) Header() htt func (c *ProjectsLocationsDatasetsAnnotationStoresGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9381,7 +9381,7 @@ func (c *ProjectsLocationsDatasetsAnnotationStoresImportCall) Header() http.Head func (c *ProjectsLocationsDatasetsAnnotationStoresImportCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9556,7 +9556,7 @@ func (c *ProjectsLocationsDatasetsAnnotationStoresListCall) Header() http.Header func (c *ProjectsLocationsDatasetsAnnotationStoresListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9736,7 +9736,7 @@ func (c *ProjectsLocationsDatasetsAnnotationStoresPatchCall) Header() http.Heade func (c *ProjectsLocationsDatasetsAnnotationStoresPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9884,7 +9884,7 @@ func (c *ProjectsLocationsDatasetsAnnotationStoresSetIamPolicyCall) Header() htt func (c *ProjectsLocationsDatasetsAnnotationStoresSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10029,7 +10029,7 @@ func (c *ProjectsLocationsDatasetsAnnotationStoresTestIamPermissionsCall) Header func (c *ProjectsLocationsDatasetsAnnotationStoresTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10171,7 +10171,7 @@ func (c *ProjectsLocationsDatasetsAnnotationStoresAnnotationsCreateCall) Header( func (c *ProjectsLocationsDatasetsAnnotationStoresAnnotationsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10310,7 +10310,7 @@ func (c *ProjectsLocationsDatasetsAnnotationStoresAnnotationsDeleteCall) Header( func (c *ProjectsLocationsDatasetsAnnotationStoresAnnotationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10451,7 +10451,7 @@ func (c *ProjectsLocationsDatasetsAnnotationStoresAnnotationsGetCall) Header() h func (c *ProjectsLocationsDatasetsAnnotationStoresAnnotationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10640,7 +10640,7 @@ func (c *ProjectsLocationsDatasetsAnnotationStoresAnnotationsListCall) Header() func (c *ProjectsLocationsDatasetsAnnotationStoresAnnotationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10835,7 +10835,7 @@ func (c *ProjectsLocationsDatasetsAnnotationStoresAnnotationsPatchCall) Header() func (c *ProjectsLocationsDatasetsAnnotationStoresAnnotationsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10982,7 +10982,7 @@ func (c *ProjectsLocationsDatasetsConsentStoresCheckDataAccessCall) Header() htt func (c *ProjectsLocationsDatasetsConsentStoresCheckDataAccessCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11132,7 +11132,7 @@ func (c *ProjectsLocationsDatasetsConsentStoresCreateCall) Header() http.Header func (c *ProjectsLocationsDatasetsConsentStoresCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11276,7 +11276,7 @@ func (c *ProjectsLocationsDatasetsConsentStoresDeleteCall) Header() http.Header func (c *ProjectsLocationsDatasetsConsentStoresDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11412,7 +11412,7 @@ func (c *ProjectsLocationsDatasetsConsentStoresEvaluateUserConsentsCall) Header( func (c *ProjectsLocationsDatasetsConsentStoresEvaluateUserConsentsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11582,7 +11582,7 @@ func (c *ProjectsLocationsDatasetsConsentStoresGetCall) Header() http.Header { func (c *ProjectsLocationsDatasetsConsentStoresGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11743,7 +11743,7 @@ func (c *ProjectsLocationsDatasetsConsentStoresGetIamPolicyCall) Header() http.H func (c *ProjectsLocationsDatasetsConsentStoresGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11917,7 +11917,7 @@ func (c *ProjectsLocationsDatasetsConsentStoresListCall) Header() http.Header { func (c *ProjectsLocationsDatasetsConsentStoresListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12098,7 +12098,7 @@ func (c *ProjectsLocationsDatasetsConsentStoresPatchCall) Header() http.Header { func (c *ProjectsLocationsDatasetsConsentStoresPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12268,7 +12268,7 @@ func (c *ProjectsLocationsDatasetsConsentStoresQueryAccessibleDataCall) Header() func (c *ProjectsLocationsDatasetsConsentStoresQueryAccessibleDataCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12410,7 +12410,7 @@ func (c *ProjectsLocationsDatasetsConsentStoresSetIamPolicyCall) Header() http.H func (c *ProjectsLocationsDatasetsConsentStoresSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12555,7 +12555,7 @@ func (c *ProjectsLocationsDatasetsConsentStoresTestIamPermissionsCall) Header() func (c *ProjectsLocationsDatasetsConsentStoresTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12707,7 +12707,7 @@ func (c *ProjectsLocationsDatasetsConsentStoresAttributeDefinitionsCreateCall) H func (c *ProjectsLocationsDatasetsConsentStoresAttributeDefinitionsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12852,7 +12852,7 @@ func (c *ProjectsLocationsDatasetsConsentStoresAttributeDefinitionsDeleteCall) H func (c *ProjectsLocationsDatasetsConsentStoresAttributeDefinitionsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12993,7 +12993,7 @@ func (c *ProjectsLocationsDatasetsConsentStoresAttributeDefinitionsGetCall) Head func (c *ProjectsLocationsDatasetsConsentStoresAttributeDefinitionsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13161,7 +13161,7 @@ func (c *ProjectsLocationsDatasetsConsentStoresAttributeDefinitionsListCall) Hea func (c *ProjectsLocationsDatasetsConsentStoresAttributeDefinitionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13342,7 +13342,7 @@ func (c *ProjectsLocationsDatasetsConsentStoresAttributeDefinitionsPatchCall) He func (c *ProjectsLocationsDatasetsConsentStoresAttributeDefinitionsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13488,7 +13488,7 @@ func (c *ProjectsLocationsDatasetsConsentStoresConsentArtifactsCreateCall) Heade func (c *ProjectsLocationsDatasetsConsentStoresConsentArtifactsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13627,7 +13627,7 @@ func (c *ProjectsLocationsDatasetsConsentStoresConsentArtifactsDeleteCall) Heade func (c *ProjectsLocationsDatasetsConsentStoresConsentArtifactsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13768,7 +13768,7 @@ func (c *ProjectsLocationsDatasetsConsentStoresConsentArtifactsGetCall) Header() func (c *ProjectsLocationsDatasetsConsentStoresConsentArtifactsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13937,7 +13937,7 @@ func (c *ProjectsLocationsDatasetsConsentStoresConsentArtifactsListCall) Header( func (c *ProjectsLocationsDatasetsConsentStoresConsentArtifactsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14114,7 +14114,7 @@ func (c *ProjectsLocationsDatasetsConsentStoresConsentsActivateCall) Header() ht func (c *ProjectsLocationsDatasetsConsentStoresConsentsActivateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14254,7 +14254,7 @@ func (c *ProjectsLocationsDatasetsConsentStoresConsentsCreateCall) Header() http func (c *ProjectsLocationsDatasetsConsentStoresConsentsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14395,7 +14395,7 @@ func (c *ProjectsLocationsDatasetsConsentStoresConsentsDeleteCall) Header() http func (c *ProjectsLocationsDatasetsConsentStoresConsentsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14527,7 +14527,7 @@ func (c *ProjectsLocationsDatasetsConsentStoresConsentsDeleteRevisionCall) Heade func (c *ProjectsLocationsDatasetsConsentStoresConsentsDeleteRevisionCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14669,7 +14669,7 @@ func (c *ProjectsLocationsDatasetsConsentStoresConsentsGetCall) Header() http.He func (c *ProjectsLocationsDatasetsConsentStoresConsentsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14839,7 +14839,7 @@ func (c *ProjectsLocationsDatasetsConsentStoresConsentsListCall) Header() http.H func (c *ProjectsLocationsDatasetsConsentStoresConsentsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15046,7 +15046,7 @@ func (c *ProjectsLocationsDatasetsConsentStoresConsentsListRevisionsCall) Header func (c *ProjectsLocationsDatasetsConsentStoresConsentsListRevisionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15230,7 +15230,7 @@ func (c *ProjectsLocationsDatasetsConsentStoresConsentsPatchCall) Header() http. func (c *ProjectsLocationsDatasetsConsentStoresConsentsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15381,7 +15381,7 @@ func (c *ProjectsLocationsDatasetsConsentStoresConsentsRejectCall) Header() http func (c *ProjectsLocationsDatasetsConsentStoresConsentsRejectCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15526,7 +15526,7 @@ func (c *ProjectsLocationsDatasetsConsentStoresConsentsRevokeCall) Header() http func (c *ProjectsLocationsDatasetsConsentStoresConsentsRevokeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15666,7 +15666,7 @@ func (c *ProjectsLocationsDatasetsConsentStoresUserDataMappingsArchiveCall) Head func (c *ProjectsLocationsDatasetsConsentStoresUserDataMappingsArchiveCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15806,7 +15806,7 @@ func (c *ProjectsLocationsDatasetsConsentStoresUserDataMappingsCreateCall) Heade func (c *ProjectsLocationsDatasetsConsentStoresUserDataMappingsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15944,7 +15944,7 @@ func (c *ProjectsLocationsDatasetsConsentStoresUserDataMappingsDeleteCall) Heade func (c *ProjectsLocationsDatasetsConsentStoresUserDataMappingsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16085,7 +16085,7 @@ func (c *ProjectsLocationsDatasetsConsentStoresUserDataMappingsGetCall) Header() func (c *ProjectsLocationsDatasetsConsentStoresUserDataMappingsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16253,7 +16253,7 @@ func (c *ProjectsLocationsDatasetsConsentStoresUserDataMappingsListCall) Header( func (c *ProjectsLocationsDatasetsConsentStoresUserDataMappingsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16433,7 +16433,7 @@ func (c *ProjectsLocationsDatasetsConsentStoresUserDataMappingsPatchCall) Header func (c *ProjectsLocationsDatasetsConsentStoresUserDataMappingsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16587,7 +16587,7 @@ func (c *ProjectsLocationsDatasetsDicomStoresCreateCall) Header() http.Header { func (c *ProjectsLocationsDatasetsDicomStoresCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16740,7 +16740,7 @@ func (c *ProjectsLocationsDatasetsDicomStoresDeidentifyCall) Header() http.Heade func (c *ProjectsLocationsDatasetsDicomStoresDeidentifyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16879,7 +16879,7 @@ func (c *ProjectsLocationsDatasetsDicomStoresDeleteCall) Header() http.Header { func (c *ProjectsLocationsDatasetsDicomStoresDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17014,7 +17014,7 @@ func (c *ProjectsLocationsDatasetsDicomStoresExportCall) Header() http.Header { func (c *ProjectsLocationsDatasetsDicomStoresExportCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17163,7 +17163,7 @@ func (c *ProjectsLocationsDatasetsDicomStoresGetCall) Header() http.Header { func (c *ProjectsLocationsDatasetsDicomStoresGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17324,7 +17324,7 @@ func (c *ProjectsLocationsDatasetsDicomStoresGetIamPolicyCall) Header() http.Hea func (c *ProjectsLocationsDatasetsDicomStoresGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17468,7 +17468,7 @@ func (c *ProjectsLocationsDatasetsDicomStoresImportCall) Header() http.Header { func (c *ProjectsLocationsDatasetsDicomStoresImportCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17642,7 +17642,7 @@ func (c *ProjectsLocationsDatasetsDicomStoresListCall) Header() http.Header { func (c *ProjectsLocationsDatasetsDicomStoresListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17822,7 +17822,7 @@ func (c *ProjectsLocationsDatasetsDicomStoresPatchCall) Header() http.Header { func (c *ProjectsLocationsDatasetsDicomStoresPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17989,7 +17989,7 @@ func (c *ProjectsLocationsDatasetsDicomStoresSearchForInstancesCall) Header() ht func (c *ProjectsLocationsDatasetsDicomStoresSearchForInstancesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18121,7 +18121,7 @@ func (c *ProjectsLocationsDatasetsDicomStoresSearchForSeriesCall) Header() http. func (c *ProjectsLocationsDatasetsDicomStoresSearchForSeriesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18253,7 +18253,7 @@ func (c *ProjectsLocationsDatasetsDicomStoresSearchForStudiesCall) Header() http func (c *ProjectsLocationsDatasetsDicomStoresSearchForStudiesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18366,7 +18366,7 @@ func (c *ProjectsLocationsDatasetsDicomStoresSetIamPolicyCall) Header() http.Hea func (c *ProjectsLocationsDatasetsDicomStoresSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18517,7 +18517,7 @@ func (c *ProjectsLocationsDatasetsDicomStoresStoreInstancesCall) Header() http.H func (c *ProjectsLocationsDatasetsDicomStoresStoreInstancesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18632,7 +18632,7 @@ func (c *ProjectsLocationsDatasetsDicomStoresTestIamPermissionsCall) Header() ht func (c *ProjectsLocationsDatasetsDicomStoresTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18777,7 +18777,7 @@ func (c *ProjectsLocationsDatasetsDicomStoresStudiesDeleteCall) Header() http.He func (c *ProjectsLocationsDatasetsDicomStoresStudiesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18938,7 +18938,7 @@ func (c *ProjectsLocationsDatasetsDicomStoresStudiesRetrieveMetadataCall) Header func (c *ProjectsLocationsDatasetsDicomStoresStudiesRetrieveMetadataCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19070,7 +19070,7 @@ func (c *ProjectsLocationsDatasetsDicomStoresStudiesRetrieveStudyCall) Header() func (c *ProjectsLocationsDatasetsDicomStoresStudiesRetrieveStudyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19202,7 +19202,7 @@ func (c *ProjectsLocationsDatasetsDicomStoresStudiesSearchForInstancesCall) Head func (c *ProjectsLocationsDatasetsDicomStoresStudiesSearchForInstancesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19334,7 +19334,7 @@ func (c *ProjectsLocationsDatasetsDicomStoresStudiesSearchForSeriesCall) Header( func (c *ProjectsLocationsDatasetsDicomStoresStudiesSearchForSeriesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19456,7 +19456,7 @@ func (c *ProjectsLocationsDatasetsDicomStoresStudiesStoreInstancesCall) Header() func (c *ProjectsLocationsDatasetsDicomStoresStudiesStoreInstancesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19572,7 +19572,7 @@ func (c *ProjectsLocationsDatasetsDicomStoresStudiesSeriesDeleteCall) Header() h func (c *ProjectsLocationsDatasetsDicomStoresStudiesSeriesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19734,7 +19734,7 @@ func (c *ProjectsLocationsDatasetsDicomStoresStudiesSeriesRetrieveMetadataCall) func (c *ProjectsLocationsDatasetsDicomStoresStudiesSeriesRetrieveMetadataCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19866,7 +19866,7 @@ func (c *ProjectsLocationsDatasetsDicomStoresStudiesSeriesRetrieveSeriesCall) He func (c *ProjectsLocationsDatasetsDicomStoresStudiesSeriesRetrieveSeriesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19998,7 +19998,7 @@ func (c *ProjectsLocationsDatasetsDicomStoresStudiesSeriesSearchForInstancesCall func (c *ProjectsLocationsDatasetsDicomStoresStudiesSeriesSearchForInstancesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -20116,7 +20116,7 @@ func (c *ProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesDeleteCall) H func (c *ProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -20279,7 +20279,7 @@ func (c *ProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesRetrieveInsta func (c *ProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesRetrieveInstanceCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -20412,7 +20412,7 @@ func (c *ProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesRetrieveMetad func (c *ProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesRetrieveMetadataCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -20545,7 +20545,7 @@ func (c *ProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesRetrieveRende func (c *ProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesRetrieveRenderedCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -20676,7 +20676,7 @@ func (c *ProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesFramesRetriev func (c *ProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesFramesRetrieveFramesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -20809,7 +20809,7 @@ func (c *ProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesFramesRetriev func (c *ProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesFramesRetrieveRenderedCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -20928,7 +20928,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresCreateCall) Header() http.Header { func (c *ProjectsLocationsDatasetsFhirStoresCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21079,7 +21079,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresDeidentifyCall) Header() http.Header func (c *ProjectsLocationsDatasetsFhirStoresDeidentifyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21218,7 +21218,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresDeleteCall) Header() http.Header { func (c *ProjectsLocationsDatasetsFhirStoresDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21358,7 +21358,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresExportCall) Header() http.Header { func (c *ProjectsLocationsDatasetsFhirStoresExportCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21507,7 +21507,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresGetCall) Header() http.Header { func (c *ProjectsLocationsDatasetsFhirStoresGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21668,7 +21668,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresGetIamPolicyCall) Header() http.Head func (c *ProjectsLocationsDatasetsFhirStoresGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21863,7 +21863,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresImportCall) Header() http.Header { func (c *ProjectsLocationsDatasetsFhirStoresImportCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -22037,7 +22037,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresListCall) Header() http.Header { func (c *ProjectsLocationsDatasetsFhirStoresListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -22217,7 +22217,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresPatchCall) Header() http.Header { func (c *ProjectsLocationsDatasetsFhirStoresPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -22365,7 +22365,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresSetIamPolicyCall) Header() http.Head func (c *ProjectsLocationsDatasetsFhirStoresSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -22510,7 +22510,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresTestIamPermissionsCall) Header() htt func (c *ProjectsLocationsDatasetsFhirStoresTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -22717,7 +22717,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresFhirConceptMapSearchTranslateCall) H func (c *ProjectsLocationsDatasetsFhirStoresFhirConceptMapSearchTranslateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -22893,7 +22893,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresFhirConceptMapTranslateCall) Header( func (c *ProjectsLocationsDatasetsFhirStoresFhirConceptMapTranslateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -23045,7 +23045,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresFhirObservationLastnCall) Header() h func (c *ProjectsLocationsDatasetsFhirStoresFhirObservationLastnCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -23236,7 +23236,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresFhirPatientEverythingCall) Header() func (c *ProjectsLocationsDatasetsFhirStoresFhirPatientEverythingCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -23374,7 +23374,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresFhirResourcePurgeCall) Header() http func (c *ProjectsLocationsDatasetsFhirStoresFhirResourcePurgeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -23531,7 +23531,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresFhirCapabilitiesCall) Header() http. func (c *ProjectsLocationsDatasetsFhirStoresFhirCapabilitiesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -23652,7 +23652,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresFhirConditionalDeleteCall) Header() func (c *ProjectsLocationsDatasetsFhirStoresFhirConditionalDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -23820,7 +23820,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresFhirConditionalPatchCall) Header() h func (c *ProjectsLocationsDatasetsFhirStoresFhirConditionalPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -23963,7 +23963,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresFhirConditionalUpdateCall) Header() func (c *ProjectsLocationsDatasetsFhirStoresFhirConditionalUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -24103,7 +24103,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresFhirCreateCall) Header() http.Header func (c *ProjectsLocationsDatasetsFhirStoresFhirCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -24225,7 +24225,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresFhirDeleteCall) Header() http.Header func (c *ProjectsLocationsDatasetsFhirStoresFhirDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -24364,7 +24364,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresFhirExecuteBundleCall) Header() http func (c *ProjectsLocationsDatasetsFhirStoresFhirExecuteBundleCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -24533,7 +24533,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresFhirHistoryCall) Header() http.Heade func (c *ProjectsLocationsDatasetsFhirStoresFhirHistoryCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -24673,7 +24673,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresFhirPatchCall) Header() http.Header func (c *ProjectsLocationsDatasetsFhirStoresFhirPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -24803,7 +24803,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresFhirReadCall) Header() http.Header { func (c *ProjectsLocationsDatasetsFhirStoresFhirReadCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -24953,7 +24953,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresFhirSearchCall) Header() http.Header func (c *ProjectsLocationsDatasetsFhirStoresFhirSearchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -25081,7 +25081,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresFhirUpdateCall) Header() http.Header func (c *ProjectsLocationsDatasetsFhirStoresFhirUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -25206,7 +25206,7 @@ func (c *ProjectsLocationsDatasetsFhirStoresFhirVreadCall) Header() http.Header func (c *ProjectsLocationsDatasetsFhirStoresFhirVreadCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -25316,7 +25316,7 @@ func (c *ProjectsLocationsDatasetsHl7V2StoresCreateCall) Header() http.Header { func (c *ProjectsLocationsDatasetsHl7V2StoresCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -25460,7 +25460,7 @@ func (c *ProjectsLocationsDatasetsHl7V2StoresDeleteCall) Header() http.Header { func (c *ProjectsLocationsDatasetsHl7V2StoresDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -25599,7 +25599,7 @@ func (c *ProjectsLocationsDatasetsHl7V2StoresExportCall) Header() http.Header { func (c *ProjectsLocationsDatasetsHl7V2StoresExportCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -25748,7 +25748,7 @@ func (c *ProjectsLocationsDatasetsHl7V2StoresGetCall) Header() http.Header { func (c *ProjectsLocationsDatasetsHl7V2StoresGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -25909,7 +25909,7 @@ func (c *ProjectsLocationsDatasetsHl7V2StoresGetIamPolicyCall) Header() http.Hea func (c *ProjectsLocationsDatasetsHl7V2StoresGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -26075,7 +26075,7 @@ func (c *ProjectsLocationsDatasetsHl7V2StoresImportCall) Header() http.Header { func (c *ProjectsLocationsDatasetsHl7V2StoresImportCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -26249,7 +26249,7 @@ func (c *ProjectsLocationsDatasetsHl7V2StoresListCall) Header() http.Header { func (c *ProjectsLocationsDatasetsHl7V2StoresListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -26429,7 +26429,7 @@ func (c *ProjectsLocationsDatasetsHl7V2StoresPatchCall) Header() http.Header { func (c *ProjectsLocationsDatasetsHl7V2StoresPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -26577,7 +26577,7 @@ func (c *ProjectsLocationsDatasetsHl7V2StoresSetIamPolicyCall) Header() http.Hea func (c *ProjectsLocationsDatasetsHl7V2StoresSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -26722,7 +26722,7 @@ func (c *ProjectsLocationsDatasetsHl7V2StoresTestIamPermissionsCall) Header() ht func (c *ProjectsLocationsDatasetsHl7V2StoresTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -26867,7 +26867,7 @@ func (c *ProjectsLocationsDatasetsHl7V2StoresMessagesCreateCall) Header() http.H func (c *ProjectsLocationsDatasetsHl7V2StoresMessagesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -27005,7 +27005,7 @@ func (c *ProjectsLocationsDatasetsHl7V2StoresMessagesDeleteCall) Header() http.H func (c *ProjectsLocationsDatasetsHl7V2StoresMessagesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -27166,7 +27166,7 @@ func (c *ProjectsLocationsDatasetsHl7V2StoresMessagesGetCall) Header() http.Head func (c *ProjectsLocationsDatasetsHl7V2StoresMessagesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -27331,7 +27331,7 @@ func (c *ProjectsLocationsDatasetsHl7V2StoresMessagesIngestCall) Header() http.H func (c *ProjectsLocationsDatasetsHl7V2StoresMessagesIngestCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -27539,7 +27539,7 @@ func (c *ProjectsLocationsDatasetsHl7V2StoresMessagesListCall) Header() http.Hea func (c *ProjectsLocationsDatasetsHl7V2StoresMessagesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -27750,7 +27750,7 @@ func (c *ProjectsLocationsDatasetsHl7V2StoresMessagesPatchCall) Header() http.He func (c *ProjectsLocationsDatasetsHl7V2StoresMessagesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -27905,7 +27905,7 @@ func (c *ProjectsLocationsDatasetsOperationsCancelCall) Header() http.Header { func (c *ProjectsLocationsDatasetsOperationsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -28056,7 +28056,7 @@ func (c *ProjectsLocationsDatasetsOperationsGetCall) Header() http.Header { func (c *ProjectsLocationsDatasetsOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -28230,7 +28230,7 @@ func (c *ProjectsLocationsDatasetsOperationsListCall) Header() http.Header { func (c *ProjectsLocationsDatasetsOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -28404,7 +28404,7 @@ func (c *ProjectsLocationsServicesNlpAnalyzeEntitiesCall) Header() http.Header { func (c *ProjectsLocationsServicesNlpAnalyzeEntitiesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/homegraph/v1/homegraph-gen.go b/homegraph/v1/homegraph-gen.go index bd944bd414b..0d27af65190 100644 --- a/homegraph/v1/homegraph-gen.go +++ b/homegraph/v1/homegraph-gen.go @@ -910,7 +910,7 @@ func (c *AgentUsersDeleteCall) Header() http.Header { func (c *AgentUsersDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1049,7 +1049,7 @@ func (c *DevicesQueryCall) Header() http.Header { func (c *DevicesQueryCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1186,7 +1186,7 @@ func (c *DevicesReportStateAndNotificationCall) Header() http.Header { func (c *DevicesReportStateAndNotificationCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1318,7 +1318,7 @@ func (c *DevicesRequestSyncCall) Header() http.Header { func (c *DevicesRequestSyncCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1446,7 +1446,7 @@ func (c *DevicesSyncCall) Header() http.Header { func (c *DevicesSyncCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/iam/v1/iam-gen.go b/iam/v1/iam-gen.go index e53b4ccc54c..f1987ce7da4 100644 --- a/iam/v1/iam-gen.go +++ b/iam/v1/iam-gen.go @@ -2335,7 +2335,7 @@ func (c *IamPoliciesLintPolicyCall) Header() http.Header { func (c *IamPoliciesLintPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2463,7 +2463,7 @@ func (c *IamPoliciesQueryAuditableServicesCall) Header() http.Header { func (c *IamPoliciesQueryAuditableServicesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2590,7 +2590,7 @@ func (c *OrganizationsRolesCreateCall) Header() http.Header { func (c *OrganizationsRolesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2743,7 +2743,7 @@ func (c *OrganizationsRolesDeleteCall) Header() http.Header { func (c *OrganizationsRolesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2890,7 +2890,7 @@ func (c *OrganizationsRolesGetCall) Header() http.Header { func (c *OrganizationsRolesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3072,7 +3072,7 @@ func (c *OrganizationsRolesListCall) Header() http.Header { func (c *OrganizationsRolesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3264,7 +3264,7 @@ func (c *OrganizationsRolesPatchCall) Header() http.Header { func (c *OrganizationsRolesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3410,7 +3410,7 @@ func (c *OrganizationsRolesUndeleteCall) Header() http.Header { func (c *OrganizationsRolesUndeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3550,7 +3550,7 @@ func (c *PermissionsQueryTestablePermissionsCall) Header() http.Header { func (c *PermissionsQueryTestablePermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3709,7 +3709,7 @@ func (c *ProjectsLocationsWorkloadIdentityPoolsOperationsGetCall) Header() http. func (c *ProjectsLocationsWorkloadIdentityPoolsOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3855,7 +3855,7 @@ func (c *ProjectsLocationsWorkloadIdentityPoolsProvidersOperationsGetCall) Heade func (c *ProjectsLocationsWorkloadIdentityPoolsProvidersOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3990,7 +3990,7 @@ func (c *ProjectsRolesCreateCall) Header() http.Header { func (c *ProjectsRolesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4143,7 +4143,7 @@ func (c *ProjectsRolesDeleteCall) Header() http.Header { func (c *ProjectsRolesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4290,7 +4290,7 @@ func (c *ProjectsRolesGetCall) Header() http.Header { func (c *ProjectsRolesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4472,7 +4472,7 @@ func (c *ProjectsRolesListCall) Header() http.Header { func (c *ProjectsRolesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4664,7 +4664,7 @@ func (c *ProjectsRolesPatchCall) Header() http.Header { func (c *ProjectsRolesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4810,7 +4810,7 @@ func (c *ProjectsRolesUndeleteCall) Header() http.Header { func (c *ProjectsRolesUndeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4950,7 +4950,7 @@ func (c *ProjectsServiceAccountsCreateCall) Header() http.Header { func (c *ProjectsServiceAccountsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5099,7 +5099,7 @@ func (c *ProjectsServiceAccountsDeleteCall) Header() http.Header { func (c *ProjectsServiceAccountsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5242,7 +5242,7 @@ func (c *ProjectsServiceAccountsDisableCall) Header() http.Header { func (c *ProjectsServiceAccountsDisableCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5387,7 +5387,7 @@ func (c *ProjectsServiceAccountsEnableCall) Header() http.Header { func (c *ProjectsServiceAccountsEnableCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5536,7 +5536,7 @@ func (c *ProjectsServiceAccountsGetCall) Header() http.Header { func (c *ProjectsServiceAccountsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5692,7 +5692,7 @@ func (c *ProjectsServiceAccountsGetIamPolicyCall) Header() http.Header { func (c *ProjectsServiceAccountsGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5857,7 +5857,7 @@ func (c *ProjectsServiceAccountsListCall) Header() http.Header { func (c *ProjectsServiceAccountsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6024,7 +6024,7 @@ func (c *ProjectsServiceAccountsPatchCall) Header() http.Header { func (c *ProjectsServiceAccountsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6176,7 +6176,7 @@ func (c *ProjectsServiceAccountsSetIamPolicyCall) Header() http.Header { func (c *ProjectsServiceAccountsSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6324,7 +6324,7 @@ func (c *ProjectsServiceAccountsSignBlobCall) Header() http.Header { func (c *ProjectsServiceAccountsSignBlobCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6472,7 +6472,7 @@ func (c *ProjectsServiceAccountsSignJwtCall) Header() http.Header { func (c *ProjectsServiceAccountsSignJwtCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6613,7 +6613,7 @@ func (c *ProjectsServiceAccountsTestIamPermissionsCall) Header() http.Header { func (c *ProjectsServiceAccountsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6758,7 +6758,7 @@ func (c *ProjectsServiceAccountsUndeleteCall) Header() http.Header { func (c *ProjectsServiceAccountsUndeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6900,7 +6900,7 @@ func (c *ProjectsServiceAccountsUpdateCall) Header() http.Header { func (c *ProjectsServiceAccountsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7040,7 +7040,7 @@ func (c *ProjectsServiceAccountsKeysCreateCall) Header() http.Header { func (c *ProjectsServiceAccountsKeysCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7180,7 +7180,7 @@ func (c *ProjectsServiceAccountsKeysDeleteCall) Header() http.Header { func (c *ProjectsServiceAccountsKeysDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7334,7 +7334,7 @@ func (c *ProjectsServiceAccountsKeysGetCall) Header() http.Header { func (c *ProjectsServiceAccountsKeysGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7510,7 +7510,7 @@ func (c *ProjectsServiceAccountsKeysListCall) Header() http.Header { func (c *ProjectsServiceAccountsKeysListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7662,7 +7662,7 @@ func (c *ProjectsServiceAccountsKeysUploadCall) Header() http.Header { func (c *ProjectsServiceAccountsKeysUploadCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7811,7 +7811,7 @@ func (c *RolesGetCall) Header() http.Header { func (c *RolesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8018,7 +8018,7 @@ func (c *RolesListCall) Header() http.Header { func (c *RolesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8196,7 +8196,7 @@ func (c *RolesQueryGrantableRolesCall) Header() http.Header { func (c *RolesQueryGrantableRolesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/iamcredentials/v1/iamcredentials-gen.go b/iamcredentials/v1/iamcredentials-gen.go index 0ce290011bd..295ba7f5951 100644 --- a/iamcredentials/v1/iamcredentials-gen.go +++ b/iamcredentials/v1/iamcredentials-gen.go @@ -546,7 +546,7 @@ func (c *ProjectsServiceAccountsGenerateAccessTokenCall) Header() http.Header { func (c *ProjectsServiceAccountsGenerateAccessTokenCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -687,7 +687,7 @@ func (c *ProjectsServiceAccountsGenerateIdTokenCall) Header() http.Header { func (c *ProjectsServiceAccountsGenerateIdTokenCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -828,7 +828,7 @@ func (c *ProjectsServiceAccountsSignBlobCall) Header() http.Header { func (c *ProjectsServiceAccountsSignBlobCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -969,7 +969,7 @@ func (c *ProjectsServiceAccountsSignJwtCall) Header() http.Header { func (c *ProjectsServiceAccountsSignJwtCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/iap/v1/iap-gen.go b/iap/v1/iap-gen.go index ea621f84c06..76293534b87 100644 --- a/iap/v1/iap-gen.go +++ b/iap/v1/iap-gen.go @@ -1244,7 +1244,7 @@ func (c *ProjectsBrandsCreateCall) Header() http.Header { func (c *ProjectsBrandsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1393,7 +1393,7 @@ func (c *ProjectsBrandsGetCall) Header() http.Header { func (c *ProjectsBrandsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1537,7 +1537,7 @@ func (c *ProjectsBrandsListCall) Header() http.Header { func (c *ProjectsBrandsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1674,7 +1674,7 @@ func (c *ProjectsBrandsIdentityAwareProxyClientsCreateCall) Header() http.Header func (c *ProjectsBrandsIdentityAwareProxyClientsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1815,7 +1815,7 @@ func (c *ProjectsBrandsIdentityAwareProxyClientsDeleteCall) Header() http.Header func (c *ProjectsBrandsIdentityAwareProxyClientsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1957,7 +1957,7 @@ func (c *ProjectsBrandsIdentityAwareProxyClientsGetCall) Header() http.Header { func (c *ProjectsBrandsIdentityAwareProxyClientsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2120,7 +2120,7 @@ func (c *ProjectsBrandsIdentityAwareProxyClientsListCall) Header() http.Header { func (c *ProjectsBrandsIdentityAwareProxyClientsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2290,7 +2290,7 @@ func (c *ProjectsBrandsIdentityAwareProxyClientsResetSecretCall) Header() http.H func (c *ProjectsBrandsIdentityAwareProxyClientsResetSecretCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2433,7 +2433,7 @@ func (c *V1GetIamPolicyCall) Header() http.Header { func (c *V1GetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2583,7 +2583,7 @@ func (c *V1GetIapSettingsCall) Header() http.Header { func (c *V1GetIapSettingsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2721,7 +2721,7 @@ func (c *V1SetIamPolicyCall) Header() http.Header { func (c *V1SetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2864,7 +2864,7 @@ func (c *V1TestIamPermissionsCall) Header() http.Header { func (c *V1TestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3015,7 +3015,7 @@ func (c *V1UpdateIapSettingsCall) Header() http.Header { func (c *V1UpdateIapSettingsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/iap/v1beta1/iap-gen.go b/iap/v1beta1/iap-gen.go index c4ecad27e4b..8121f565982 100644 --- a/iap/v1beta1/iap-gen.go +++ b/iap/v1beta1/iap-gen.go @@ -590,7 +590,7 @@ func (c *V1beta1GetIamPolicyCall) Header() http.Header { func (c *V1beta1GetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -733,7 +733,7 @@ func (c *V1beta1SetIamPolicyCall) Header() http.Header { func (c *V1beta1SetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -878,7 +878,7 @@ func (c *V1beta1TestIamPermissionsCall) Header() http.Header { func (c *V1beta1TestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/identitytoolkit/v3/identitytoolkit-gen.go b/identitytoolkit/v3/identitytoolkit-gen.go index b1e7858c05d..575972240d7 100644 --- a/identitytoolkit/v3/identitytoolkit-gen.go +++ b/identitytoolkit/v3/identitytoolkit-gen.go @@ -2461,7 +2461,7 @@ func (c *RelyingpartyCreateAuthUriCall) Header() http.Header { func (c *RelyingpartyCreateAuthUriCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2583,7 +2583,7 @@ func (c *RelyingpartyDeleteAccountCall) Header() http.Header { func (c *RelyingpartyDeleteAccountCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2705,7 +2705,7 @@ func (c *RelyingpartyDownloadAccountCall) Header() http.Header { func (c *RelyingpartyDownloadAccountCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2849,7 +2849,7 @@ func (c *RelyingpartyEmailLinkSigninCall) Header() http.Header { func (c *RelyingpartyEmailLinkSigninCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2971,7 +2971,7 @@ func (c *RelyingpartyGetAccountInfoCall) Header() http.Header { func (c *RelyingpartyGetAccountInfoCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3093,7 +3093,7 @@ func (c *RelyingpartyGetOobConfirmationCodeCall) Header() http.Header { func (c *RelyingpartyGetOobConfirmationCodeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3239,7 +3239,7 @@ func (c *RelyingpartyGetProjectConfigCall) Header() http.Header { func (c *RelyingpartyGetProjectConfigCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3379,7 +3379,7 @@ func (c *RelyingpartyGetPublicKeysCall) Header() http.Header { func (c *RelyingpartyGetPublicKeysCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3485,7 +3485,7 @@ func (c *RelyingpartyGetRecaptchaParamCall) Header() http.Header { func (c *RelyingpartyGetRecaptchaParamCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3602,7 +3602,7 @@ func (c *RelyingpartyResetPasswordCall) Header() http.Header { func (c *RelyingpartyResetPasswordCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3724,7 +3724,7 @@ func (c *RelyingpartySendVerificationCodeCall) Header() http.Header { func (c *RelyingpartySendVerificationCodeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3849,7 +3849,7 @@ func (c *RelyingpartySetAccountInfoCall) Header() http.Header { func (c *RelyingpartySetAccountInfoCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3971,7 +3971,7 @@ func (c *RelyingpartySetProjectConfigCall) Header() http.Header { func (c *RelyingpartySetProjectConfigCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4095,7 +4095,7 @@ func (c *RelyingpartySignOutUserCall) Header() http.Header { func (c *RelyingpartySignOutUserCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4219,7 +4219,7 @@ func (c *RelyingpartySignupNewUserCall) Header() http.Header { func (c *RelyingpartySignupNewUserCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4341,7 +4341,7 @@ func (c *RelyingpartyUploadAccountCall) Header() http.Header { func (c *RelyingpartyUploadAccountCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4464,7 +4464,7 @@ func (c *RelyingpartyVerifyAssertionCall) Header() http.Header { func (c *RelyingpartyVerifyAssertionCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4586,7 +4586,7 @@ func (c *RelyingpartyVerifyCustomTokenCall) Header() http.Header { func (c *RelyingpartyVerifyCustomTokenCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4708,7 +4708,7 @@ func (c *RelyingpartyVerifyPasswordCall) Header() http.Header { func (c *RelyingpartyVerifyPasswordCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4831,7 +4831,7 @@ func (c *RelyingpartyVerifyPhoneNumberCall) Header() http.Header { func (c *RelyingpartyVerifyPhoneNumberCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/indexing/v3/indexing-gen.go b/indexing/v3/indexing-gen.go index fe064139bf4..5c7d4b8c815 100644 --- a/indexing/v3/indexing-gen.go +++ b/indexing/v3/indexing-gen.go @@ -324,7 +324,7 @@ func (c *UrlNotificationsGetMetadataCall) Header() http.Header { func (c *UrlNotificationsGetMetadataCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -450,7 +450,7 @@ func (c *UrlNotificationsPublishCall) Header() http.Header { func (c *UrlNotificationsPublishCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/internal/version/version.go b/internal/version/version.go index f3267f31785..5cac8d6a6c8 100644 --- a/internal/version/version.go +++ b/internal/version/version.go @@ -10,4 +10,4 @@ package version // Repo is the current version of the client libraries in this // repo. It should be a date in YYYYMMDD format. -const Repo = "20201217" +const Repo = "20201218" diff --git a/jobs/v3/jobs-gen.go b/jobs/v3/jobs-gen.go index 06d6d78b60c..2ed5aa18005 100644 --- a/jobs/v3/jobs-gen.go +++ b/jobs/v3/jobs-gen.go @@ -3784,7 +3784,7 @@ func (c *ProjectsCompleteCall) Header() http.Header { func (c *ProjectsCompleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3985,7 +3985,7 @@ func (c *ProjectsClientEventsCreateCall) Header() http.Header { func (c *ProjectsClientEventsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4126,7 +4126,7 @@ func (c *ProjectsCompaniesCreateCall) Header() http.Header { func (c *ProjectsCompaniesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4266,7 +4266,7 @@ func (c *ProjectsCompaniesDeleteCall) Header() http.Header { func (c *ProjectsCompaniesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4408,7 +4408,7 @@ func (c *ProjectsCompaniesGetCall) Header() http.Header { func (c *ProjectsCompaniesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4577,7 +4577,7 @@ func (c *ProjectsCompaniesListCall) Header() http.Header { func (c *ProjectsCompaniesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4752,7 +4752,7 @@ func (c *ProjectsCompaniesPatchCall) Header() http.Header { func (c *ProjectsCompaniesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4893,7 +4893,7 @@ func (c *ProjectsJobsBatchDeleteCall) Header() http.Header { func (c *ProjectsJobsBatchDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5035,7 +5035,7 @@ func (c *ProjectsJobsCreateCall) Header() http.Header { func (c *ProjectsJobsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5175,7 +5175,7 @@ func (c *ProjectsJobsDeleteCall) Header() http.Header { func (c *ProjectsJobsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5318,7 +5318,7 @@ func (c *ProjectsJobsGetCall) Header() http.Header { func (c *ProjectsJobsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5513,7 +5513,7 @@ func (c *ProjectsJobsListCall) Header() http.Header { func (c *ProjectsJobsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5707,7 +5707,7 @@ func (c *ProjectsJobsPatchCall) Header() http.Header { func (c *ProjectsJobsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5850,7 +5850,7 @@ func (c *ProjectsJobsSearchCall) Header() http.Header { func (c *ProjectsJobsSearchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6019,7 +6019,7 @@ func (c *ProjectsJobsSearchForAlertCall) Header() http.Header { func (c *ProjectsJobsSearchForAlertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/jobs/v3p1beta1/jobs-gen.go b/jobs/v3p1beta1/jobs-gen.go index fb91825f024..5b2da8e25e9 100644 --- a/jobs/v3p1beta1/jobs-gen.go +++ b/jobs/v3p1beta1/jobs-gen.go @@ -4140,7 +4140,7 @@ func (c *ProjectsCompleteCall) Header() http.Header { func (c *ProjectsCompleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4341,7 +4341,7 @@ func (c *ProjectsClientEventsCreateCall) Header() http.Header { func (c *ProjectsClientEventsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4482,7 +4482,7 @@ func (c *ProjectsCompaniesCreateCall) Header() http.Header { func (c *ProjectsCompaniesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4622,7 +4622,7 @@ func (c *ProjectsCompaniesDeleteCall) Header() http.Header { func (c *ProjectsCompaniesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4764,7 +4764,7 @@ func (c *ProjectsCompaniesGetCall) Header() http.Header { func (c *ProjectsCompaniesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4933,7 +4933,7 @@ func (c *ProjectsCompaniesListCall) Header() http.Header { func (c *ProjectsCompaniesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5108,7 +5108,7 @@ func (c *ProjectsCompaniesPatchCall) Header() http.Header { func (c *ProjectsCompaniesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5249,7 +5249,7 @@ func (c *ProjectsJobsBatchDeleteCall) Header() http.Header { func (c *ProjectsJobsBatchDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5391,7 +5391,7 @@ func (c *ProjectsJobsCreateCall) Header() http.Header { func (c *ProjectsJobsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5531,7 +5531,7 @@ func (c *ProjectsJobsDeleteCall) Header() http.Header { func (c *ProjectsJobsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5674,7 +5674,7 @@ func (c *ProjectsJobsGetCall) Header() http.Header { func (c *ProjectsJobsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5869,7 +5869,7 @@ func (c *ProjectsJobsListCall) Header() http.Header { func (c *ProjectsJobsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6063,7 +6063,7 @@ func (c *ProjectsJobsPatchCall) Header() http.Header { func (c *ProjectsJobsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6206,7 +6206,7 @@ func (c *ProjectsJobsSearchCall) Header() http.Header { func (c *ProjectsJobsSearchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6375,7 +6375,7 @@ func (c *ProjectsJobsSearchForAlertCall) Header() http.Header { func (c *ProjectsJobsSearchForAlertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6548,7 +6548,7 @@ func (c *ProjectsOperationsGetCall) Header() http.Header { func (c *ProjectsOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/jobs/v4/jobs-gen.go b/jobs/v4/jobs-gen.go index 1534c65db0e..b2967e1c351 100644 --- a/jobs/v4/jobs-gen.go +++ b/jobs/v4/jobs-gen.go @@ -3751,7 +3751,7 @@ func (c *ProjectsTenantsCompleteQueryCall) Header() http.Header { func (c *ProjectsTenantsCompleteQueryCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3941,7 +3941,7 @@ func (c *ProjectsTenantsCreateCall) Header() http.Header { func (c *ProjectsTenantsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4080,7 +4080,7 @@ func (c *ProjectsTenantsDeleteCall) Header() http.Header { func (c *ProjectsTenantsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4222,7 +4222,7 @@ func (c *ProjectsTenantsGetCall) Header() http.Header { func (c *ProjectsTenantsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4382,7 +4382,7 @@ func (c *ProjectsTenantsListCall) Header() http.Header { func (c *ProjectsTenantsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4560,7 +4560,7 @@ func (c *ProjectsTenantsPatchCall) Header() http.Header { func (c *ProjectsTenantsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4713,7 +4713,7 @@ func (c *ProjectsTenantsClientEventsCreateCall) Header() http.Header { func (c *ProjectsTenantsClientEventsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4854,7 +4854,7 @@ func (c *ProjectsTenantsCompaniesCreateCall) Header() http.Header { func (c *ProjectsTenantsCompaniesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4994,7 +4994,7 @@ func (c *ProjectsTenantsCompaniesDeleteCall) Header() http.Header { func (c *ProjectsTenantsCompaniesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5136,7 +5136,7 @@ func (c *ProjectsTenantsCompaniesGetCall) Header() http.Header { func (c *ProjectsTenantsCompaniesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5305,7 +5305,7 @@ func (c *ProjectsTenantsCompaniesListCall) Header() http.Header { func (c *ProjectsTenantsCompaniesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5488,7 +5488,7 @@ func (c *ProjectsTenantsCompaniesPatchCall) Header() http.Header { func (c *ProjectsTenantsCompaniesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5635,7 +5635,7 @@ func (c *ProjectsTenantsJobsBatchCreateCall) Header() http.Header { func (c *ProjectsTenantsJobsBatchCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5776,7 +5776,7 @@ func (c *ProjectsTenantsJobsBatchDeleteCall) Header() http.Header { func (c *ProjectsTenantsJobsBatchDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5917,7 +5917,7 @@ func (c *ProjectsTenantsJobsBatchUpdateCall) Header() http.Header { func (c *ProjectsTenantsJobsBatchUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6059,7 +6059,7 @@ func (c *ProjectsTenantsJobsCreateCall) Header() http.Header { func (c *ProjectsTenantsJobsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6199,7 +6199,7 @@ func (c *ProjectsTenantsJobsDeleteCall) Header() http.Header { func (c *ProjectsTenantsJobsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6342,7 +6342,7 @@ func (c *ProjectsTenantsJobsGetCall) Header() http.Header { func (c *ProjectsTenantsJobsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6540,7 +6540,7 @@ func (c *ProjectsTenantsJobsListCall) Header() http.Header { func (c *ProjectsTenantsJobsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6744,7 +6744,7 @@ func (c *ProjectsTenantsJobsPatchCall) Header() http.Header { func (c *ProjectsTenantsJobsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6893,7 +6893,7 @@ func (c *ProjectsTenantsJobsSearchCall) Header() http.Header { func (c *ProjectsTenantsJobsSearchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7062,7 +7062,7 @@ func (c *ProjectsTenantsJobsSearchForAlertCall) Header() http.Header { func (c *ProjectsTenantsJobsSearchForAlertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/kgsearch/v1/kgsearch-gen.go b/kgsearch/v1/kgsearch-gen.go index ac48c5d60f4..edd25904b09 100644 --- a/kgsearch/v1/kgsearch-gen.go +++ b/kgsearch/v1/kgsearch-gen.go @@ -276,7 +276,7 @@ func (c *EntitiesSearchCall) Header() http.Header { func (c *EntitiesSearchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/language/v1/language-gen.go b/language/v1/language-gen.go index 20900b057f2..b3b08356475 100644 --- a/language/v1/language-gen.go +++ b/language/v1/language-gen.go @@ -1506,7 +1506,7 @@ func (c *DocumentsAnalyzeEntitiesCall) Header() http.Header { func (c *DocumentsAnalyzeEntitiesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1634,7 +1634,7 @@ func (c *DocumentsAnalyzeEntitySentimentCall) Header() http.Header { func (c *DocumentsAnalyzeEntitySentimentCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1760,7 +1760,7 @@ func (c *DocumentsAnalyzeSentimentCall) Header() http.Header { func (c *DocumentsAnalyzeSentimentCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1888,7 +1888,7 @@ func (c *DocumentsAnalyzeSyntaxCall) Header() http.Header { func (c *DocumentsAnalyzeSyntaxCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2016,7 +2016,7 @@ func (c *DocumentsAnnotateTextCall) Header() http.Header { func (c *DocumentsAnnotateTextCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2142,7 +2142,7 @@ func (c *DocumentsClassifyTextCall) Header() http.Header { func (c *DocumentsClassifyTextCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/language/v1beta1/language-gen.go b/language/v1beta1/language-gen.go index 8c2209f9fd6..44f4ceedc5d 100644 --- a/language/v1beta1/language-gen.go +++ b/language/v1beta1/language-gen.go @@ -1274,7 +1274,7 @@ func (c *DocumentsAnalyzeEntitiesCall) Header() http.Header { func (c *DocumentsAnalyzeEntitiesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1400,7 +1400,7 @@ func (c *DocumentsAnalyzeSentimentCall) Header() http.Header { func (c *DocumentsAnalyzeSentimentCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1528,7 +1528,7 @@ func (c *DocumentsAnalyzeSyntaxCall) Header() http.Header { func (c *DocumentsAnalyzeSyntaxCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1656,7 +1656,7 @@ func (c *DocumentsAnnotateTextCall) Header() http.Header { func (c *DocumentsAnnotateTextCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/language/v1beta2/language-gen.go b/language/v1beta2/language-gen.go index d05aaf7b374..1ceeaa2d342 100644 --- a/language/v1beta2/language-gen.go +++ b/language/v1beta2/language-gen.go @@ -1525,7 +1525,7 @@ func (c *DocumentsAnalyzeEntitiesCall) Header() http.Header { func (c *DocumentsAnalyzeEntitiesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1653,7 +1653,7 @@ func (c *DocumentsAnalyzeEntitySentimentCall) Header() http.Header { func (c *DocumentsAnalyzeEntitySentimentCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1779,7 +1779,7 @@ func (c *DocumentsAnalyzeSentimentCall) Header() http.Header { func (c *DocumentsAnalyzeSentimentCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1907,7 +1907,7 @@ func (c *DocumentsAnalyzeSyntaxCall) Header() http.Header { func (c *DocumentsAnalyzeSyntaxCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2034,7 +2034,7 @@ func (c *DocumentsAnnotateTextCall) Header() http.Header { func (c *DocumentsAnnotateTextCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2160,7 +2160,7 @@ func (c *DocumentsClassifyTextCall) Header() http.Header { func (c *DocumentsClassifyTextCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/libraryagent/v1/libraryagent-gen.go b/libraryagent/v1/libraryagent-gen.go index a2ccf6168ee..536302e41b3 100644 --- a/libraryagent/v1/libraryagent-gen.go +++ b/libraryagent/v1/libraryagent-gen.go @@ -368,7 +368,7 @@ func (c *ShelvesGetCall) Header() http.Header { func (c *ShelvesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -529,7 +529,7 @@ func (c *ShelvesListCall) Header() http.Header { func (c *ShelvesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -687,7 +687,7 @@ func (c *ShelvesBooksBorrowCall) Header() http.Header { func (c *ShelvesBooksBorrowCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -828,7 +828,7 @@ func (c *ShelvesBooksGetCall) Header() http.Header { func (c *ShelvesBooksGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -991,7 +991,7 @@ func (c *ShelvesBooksListCall) Header() http.Header { func (c *ShelvesBooksListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1160,7 +1160,7 @@ func (c *ShelvesBooksReturnCall) Header() http.Header { func (c *ShelvesBooksReturnCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/licensing/v1/licensing-gen.go b/licensing/v1/licensing-gen.go index 69766e59b1d..ab43e349f31 100644 --- a/licensing/v1/licensing-gen.go +++ b/licensing/v1/licensing-gen.go @@ -337,7 +337,7 @@ func (c *LicenseAssignmentsDeleteCall) Header() http.Header { func (c *LicenseAssignmentsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -497,7 +497,7 @@ func (c *LicenseAssignmentsGetCall) Header() http.Header { func (c *LicenseAssignmentsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -649,7 +649,7 @@ func (c *LicenseAssignmentsInsertCall) Header() http.Header { func (c *LicenseAssignmentsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -826,7 +826,7 @@ func (c *LicenseAssignmentsListForProductCall) Header() http.Header { func (c *LicenseAssignmentsListForProductCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1035,7 +1035,7 @@ func (c *LicenseAssignmentsListForProductAndSkuCall) Header() http.Header { func (c *LicenseAssignmentsListForProductAndSkuCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1225,7 +1225,7 @@ func (c *LicenseAssignmentsPatchCall) Header() http.Header { func (c *LicenseAssignmentsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1385,7 +1385,7 @@ func (c *LicenseAssignmentsUpdateCall) Header() http.Header { func (c *LicenseAssignmentsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/lifesciences/v2beta/lifesciences-gen.go b/lifesciences/v2beta/lifesciences-gen.go index 49b29408d14..496abce8465 100644 --- a/lifesciences/v2beta/lifesciences-gen.go +++ b/lifesciences/v2beta/lifesciences-gen.go @@ -1813,7 +1813,7 @@ func (c *ProjectsLocationsGetCall) Header() http.Header { func (c *ProjectsLocationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1979,7 +1979,7 @@ func (c *ProjectsLocationsListCall) Header() http.Header { func (c *ProjectsLocationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2157,7 +2157,7 @@ func (c *ProjectsLocationsOperationsCancelCall) Header() http.Header { func (c *ProjectsLocationsOperationsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2310,7 +2310,7 @@ func (c *ProjectsLocationsOperationsGetCall) Header() http.Header { func (c *ProjectsLocationsOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2486,7 +2486,7 @@ func (c *ProjectsLocationsOperationsListCall) Header() http.Header { func (c *ProjectsLocationsOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2669,7 +2669,7 @@ func (c *ProjectsLocationsPipelinesRunCall) Header() http.Header { func (c *ProjectsLocationsPipelinesRunCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/localservices/v1/localservices-gen.go b/localservices/v1/localservices-gen.go index d5e6053482a..80d99814858 100644 --- a/localservices/v1/localservices-gen.go +++ b/localservices/v1/localservices-gen.go @@ -730,7 +730,7 @@ func (c *AccountReportsSearchCall) Header() http.Header { func (c *AccountReportsSearchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1018,7 +1018,7 @@ func (c *DetailedLeadReportsSearchCall) Header() http.Header { func (c *DetailedLeadReportsSearchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/logging/v2/logging-gen.go b/logging/v2/logging-gen.go index 97cb904d812..7a4908c56d0 100644 --- a/logging/v2/logging-gen.go +++ b/logging/v2/logging-gen.go @@ -3283,7 +3283,7 @@ func (c *BillingAccountsBucketsGetCall) Header() http.Header { func (c *BillingAccountsBucketsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3430,7 +3430,7 @@ func (c *BillingAccountsBucketsViewsGetCall) Header() http.Header { func (c *BillingAccountsBucketsViewsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3570,7 +3570,7 @@ func (c *BillingAccountsExclusionsCreateCall) Header() http.Header { func (c *BillingAccountsExclusionsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3709,7 +3709,7 @@ func (c *BillingAccountsExclusionsDeleteCall) Header() http.Header { func (c *BillingAccountsExclusionsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3851,7 +3851,7 @@ func (c *BillingAccountsExclusionsGetCall) Header() http.Header { func (c *BillingAccountsExclusionsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4017,7 +4017,7 @@ func (c *BillingAccountsExclusionsListCall) Header() http.Header { func (c *BillingAccountsExclusionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4199,7 +4199,7 @@ func (c *BillingAccountsExclusionsPatchCall) Header() http.Header { func (c *BillingAccountsExclusionsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4355,7 +4355,7 @@ func (c *BillingAccountsLocationsGetCall) Header() http.Header { func (c *BillingAccountsLocationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4524,7 +4524,7 @@ func (c *BillingAccountsLocationsListCall) Header() http.Header { func (c *BillingAccountsLocationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4709,7 +4709,7 @@ func (c *BillingAccountsLocationsBucketsCreateCall) Header() http.Header { func (c *BillingAccountsLocationsBucketsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4855,7 +4855,7 @@ func (c *BillingAccountsLocationsBucketsDeleteCall) Header() http.Header { func (c *BillingAccountsLocationsBucketsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5016,7 +5016,7 @@ func (c *BillingAccountsLocationsBucketsListCall) Header() http.Header { func (c *BillingAccountsLocationsBucketsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5203,7 +5203,7 @@ func (c *BillingAccountsLocationsBucketsPatchCall) Header() http.Header { func (c *BillingAccountsLocationsBucketsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5351,7 +5351,7 @@ func (c *BillingAccountsLocationsBucketsUndeleteCall) Header() http.Header { func (c *BillingAccountsLocationsBucketsUndeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5500,7 +5500,7 @@ func (c *BillingAccountsLocationsBucketsViewsCreateCall) Header() http.Header { func (c *BillingAccountsLocationsBucketsViewsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5644,7 +5644,7 @@ func (c *BillingAccountsLocationsBucketsViewsDeleteCall) Header() http.Header { func (c *BillingAccountsLocationsBucketsViewsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5805,7 +5805,7 @@ func (c *BillingAccountsLocationsBucketsViewsListCall) Header() http.Header { func (c *BillingAccountsLocationsBucketsViewsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5988,7 +5988,7 @@ func (c *BillingAccountsLocationsBucketsViewsPatchCall) Header() http.Header { func (c *BillingAccountsLocationsBucketsViewsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6136,7 +6136,7 @@ func (c *BillingAccountsLogsDeleteCall) Header() http.Header { func (c *BillingAccountsLogsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6315,7 +6315,7 @@ func (c *BillingAccountsLogsListCall) Header() http.Header { func (c *BillingAccountsLogsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6511,7 +6511,7 @@ func (c *BillingAccountsSinksCreateCall) Header() http.Header { func (c *BillingAccountsSinksCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6656,7 +6656,7 @@ func (c *BillingAccountsSinksDeleteCall) Header() http.Header { func (c *BillingAccountsSinksDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6798,7 +6798,7 @@ func (c *BillingAccountsSinksGetCall) Header() http.Header { func (c *BillingAccountsSinksGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6964,7 +6964,7 @@ func (c *BillingAccountsSinksListCall) Header() http.Header { func (c *BillingAccountsSinksListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7167,7 +7167,7 @@ func (c *BillingAccountsSinksPatchCall) Header() http.Header { func (c *BillingAccountsSinksPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7352,7 +7352,7 @@ func (c *BillingAccountsSinksUpdateCall) Header() http.Header { func (c *BillingAccountsSinksUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7505,7 +7505,7 @@ func (c *EntriesListCall) Header() http.Header { func (c *EntriesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7655,7 +7655,7 @@ func (c *EntriesTailCall) Header() http.Header { func (c *EntriesTailCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7788,7 +7788,7 @@ func (c *EntriesWriteCall) Header() http.Header { func (c *EntriesWriteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7919,7 +7919,7 @@ func (c *ExclusionsCreateCall) Header() http.Header { func (c *ExclusionsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8058,7 +8058,7 @@ func (c *ExclusionsDeleteCall) Header() http.Header { func (c *ExclusionsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8200,7 +8200,7 @@ func (c *ExclusionsGetCall) Header() http.Header { func (c *ExclusionsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8366,7 +8366,7 @@ func (c *ExclusionsListCall) Header() http.Header { func (c *ExclusionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8548,7 +8548,7 @@ func (c *ExclusionsPatchCall) Header() http.Header { func (c *ExclusionsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8697,7 +8697,7 @@ func (c *FoldersExclusionsCreateCall) Header() http.Header { func (c *FoldersExclusionsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8836,7 +8836,7 @@ func (c *FoldersExclusionsDeleteCall) Header() http.Header { func (c *FoldersExclusionsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8978,7 +8978,7 @@ func (c *FoldersExclusionsGetCall) Header() http.Header { func (c *FoldersExclusionsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9144,7 +9144,7 @@ func (c *FoldersExclusionsListCall) Header() http.Header { func (c *FoldersExclusionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9326,7 +9326,7 @@ func (c *FoldersExclusionsPatchCall) Header() http.Header { func (c *FoldersExclusionsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9482,7 +9482,7 @@ func (c *FoldersLocationsGetCall) Header() http.Header { func (c *FoldersLocationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9651,7 +9651,7 @@ func (c *FoldersLocationsListCall) Header() http.Header { func (c *FoldersLocationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9836,7 +9836,7 @@ func (c *FoldersLocationsBucketsCreateCall) Header() http.Header { func (c *FoldersLocationsBucketsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9982,7 +9982,7 @@ func (c *FoldersLocationsBucketsDeleteCall) Header() http.Header { func (c *FoldersLocationsBucketsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10124,7 +10124,7 @@ func (c *FoldersLocationsBucketsGetCall) Header() http.Header { func (c *FoldersLocationsBucketsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10290,7 +10290,7 @@ func (c *FoldersLocationsBucketsListCall) Header() http.Header { func (c *FoldersLocationsBucketsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10477,7 +10477,7 @@ func (c *FoldersLocationsBucketsPatchCall) Header() http.Header { func (c *FoldersLocationsBucketsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10625,7 +10625,7 @@ func (c *FoldersLocationsBucketsUndeleteCall) Header() http.Header { func (c *FoldersLocationsBucketsUndeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10774,7 +10774,7 @@ func (c *FoldersLocationsBucketsViewsCreateCall) Header() http.Header { func (c *FoldersLocationsBucketsViewsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10918,7 +10918,7 @@ func (c *FoldersLocationsBucketsViewsDeleteCall) Header() http.Header { func (c *FoldersLocationsBucketsViewsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11060,7 +11060,7 @@ func (c *FoldersLocationsBucketsViewsGetCall) Header() http.Header { func (c *FoldersLocationsBucketsViewsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11226,7 +11226,7 @@ func (c *FoldersLocationsBucketsViewsListCall) Header() http.Header { func (c *FoldersLocationsBucketsViewsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11409,7 +11409,7 @@ func (c *FoldersLocationsBucketsViewsPatchCall) Header() http.Header { func (c *FoldersLocationsBucketsViewsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11557,7 +11557,7 @@ func (c *FoldersLogsDeleteCall) Header() http.Header { func (c *FoldersLogsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11736,7 +11736,7 @@ func (c *FoldersLogsListCall) Header() http.Header { func (c *FoldersLogsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11932,7 +11932,7 @@ func (c *FoldersSinksCreateCall) Header() http.Header { func (c *FoldersSinksCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12077,7 +12077,7 @@ func (c *FoldersSinksDeleteCall) Header() http.Header { func (c *FoldersSinksDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12219,7 +12219,7 @@ func (c *FoldersSinksGetCall) Header() http.Header { func (c *FoldersSinksGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12385,7 +12385,7 @@ func (c *FoldersSinksListCall) Header() http.Header { func (c *FoldersSinksListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12588,7 +12588,7 @@ func (c *FoldersSinksPatchCall) Header() http.Header { func (c *FoldersSinksPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12773,7 +12773,7 @@ func (c *FoldersSinksUpdateCall) Header() http.Header { func (c *FoldersSinksUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12934,7 +12934,7 @@ func (c *LocationsGetCall) Header() http.Header { func (c *LocationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13103,7 +13103,7 @@ func (c *LocationsListCall) Header() http.Header { func (c *LocationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13288,7 +13288,7 @@ func (c *LocationsBucketsCreateCall) Header() http.Header { func (c *LocationsBucketsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13434,7 +13434,7 @@ func (c *LocationsBucketsDeleteCall) Header() http.Header { func (c *LocationsBucketsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13576,7 +13576,7 @@ func (c *LocationsBucketsGetCall) Header() http.Header { func (c *LocationsBucketsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13742,7 +13742,7 @@ func (c *LocationsBucketsListCall) Header() http.Header { func (c *LocationsBucketsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13929,7 +13929,7 @@ func (c *LocationsBucketsPatchCall) Header() http.Header { func (c *LocationsBucketsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14077,7 +14077,7 @@ func (c *LocationsBucketsUndeleteCall) Header() http.Header { func (c *LocationsBucketsUndeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14226,7 +14226,7 @@ func (c *LocationsBucketsViewsCreateCall) Header() http.Header { func (c *LocationsBucketsViewsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14370,7 +14370,7 @@ func (c *LocationsBucketsViewsDeleteCall) Header() http.Header { func (c *LocationsBucketsViewsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14512,7 +14512,7 @@ func (c *LocationsBucketsViewsGetCall) Header() http.Header { func (c *LocationsBucketsViewsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14678,7 +14678,7 @@ func (c *LocationsBucketsViewsListCall) Header() http.Header { func (c *LocationsBucketsViewsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14861,7 +14861,7 @@ func (c *LocationsBucketsViewsPatchCall) Header() http.Header { func (c *LocationsBucketsViewsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15009,7 +15009,7 @@ func (c *LogsDeleteCall) Header() http.Header { func (c *LogsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15188,7 +15188,7 @@ func (c *LogsListCall) Header() http.Header { func (c *LogsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15391,7 +15391,7 @@ func (c *MonitoredResourceDescriptorsListCall) Header() http.Header { func (c *MonitoredResourceDescriptorsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15566,7 +15566,7 @@ func (c *OrganizationsGetCmekSettingsCall) Header() http.Header { func (c *OrganizationsGetCmekSettingsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15723,7 +15723,7 @@ func (c *OrganizationsUpdateCmekSettingsCall) Header() http.Header { func (c *OrganizationsUpdateCmekSettingsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15872,7 +15872,7 @@ func (c *OrganizationsExclusionsCreateCall) Header() http.Header { func (c *OrganizationsExclusionsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16011,7 +16011,7 @@ func (c *OrganizationsExclusionsDeleteCall) Header() http.Header { func (c *OrganizationsExclusionsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16153,7 +16153,7 @@ func (c *OrganizationsExclusionsGetCall) Header() http.Header { func (c *OrganizationsExclusionsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16319,7 +16319,7 @@ func (c *OrganizationsExclusionsListCall) Header() http.Header { func (c *OrganizationsExclusionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16501,7 +16501,7 @@ func (c *OrganizationsExclusionsPatchCall) Header() http.Header { func (c *OrganizationsExclusionsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16657,7 +16657,7 @@ func (c *OrganizationsLocationsGetCall) Header() http.Header { func (c *OrganizationsLocationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16826,7 +16826,7 @@ func (c *OrganizationsLocationsListCall) Header() http.Header { func (c *OrganizationsLocationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17011,7 +17011,7 @@ func (c *OrganizationsLocationsBucketsCreateCall) Header() http.Header { func (c *OrganizationsLocationsBucketsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17157,7 +17157,7 @@ func (c *OrganizationsLocationsBucketsDeleteCall) Header() http.Header { func (c *OrganizationsLocationsBucketsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17299,7 +17299,7 @@ func (c *OrganizationsLocationsBucketsGetCall) Header() http.Header { func (c *OrganizationsLocationsBucketsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17465,7 +17465,7 @@ func (c *OrganizationsLocationsBucketsListCall) Header() http.Header { func (c *OrganizationsLocationsBucketsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17652,7 +17652,7 @@ func (c *OrganizationsLocationsBucketsPatchCall) Header() http.Header { func (c *OrganizationsLocationsBucketsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17800,7 +17800,7 @@ func (c *OrganizationsLocationsBucketsUndeleteCall) Header() http.Header { func (c *OrganizationsLocationsBucketsUndeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17949,7 +17949,7 @@ func (c *OrganizationsLocationsBucketsViewsCreateCall) Header() http.Header { func (c *OrganizationsLocationsBucketsViewsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18093,7 +18093,7 @@ func (c *OrganizationsLocationsBucketsViewsDeleteCall) Header() http.Header { func (c *OrganizationsLocationsBucketsViewsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18235,7 +18235,7 @@ func (c *OrganizationsLocationsBucketsViewsGetCall) Header() http.Header { func (c *OrganizationsLocationsBucketsViewsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18401,7 +18401,7 @@ func (c *OrganizationsLocationsBucketsViewsListCall) Header() http.Header { func (c *OrganizationsLocationsBucketsViewsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18584,7 +18584,7 @@ func (c *OrganizationsLocationsBucketsViewsPatchCall) Header() http.Header { func (c *OrganizationsLocationsBucketsViewsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18732,7 +18732,7 @@ func (c *OrganizationsLogsDeleteCall) Header() http.Header { func (c *OrganizationsLogsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18911,7 +18911,7 @@ func (c *OrganizationsLogsListCall) Header() http.Header { func (c *OrganizationsLogsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19107,7 +19107,7 @@ func (c *OrganizationsSinksCreateCall) Header() http.Header { func (c *OrganizationsSinksCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19252,7 +19252,7 @@ func (c *OrganizationsSinksDeleteCall) Header() http.Header { func (c *OrganizationsSinksDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19394,7 +19394,7 @@ func (c *OrganizationsSinksGetCall) Header() http.Header { func (c *OrganizationsSinksGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19560,7 +19560,7 @@ func (c *OrganizationsSinksListCall) Header() http.Header { func (c *OrganizationsSinksListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19763,7 +19763,7 @@ func (c *OrganizationsSinksPatchCall) Header() http.Header { func (c *OrganizationsSinksPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19948,7 +19948,7 @@ func (c *OrganizationsSinksUpdateCall) Header() http.Header { func (c *OrganizationsSinksUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -20102,7 +20102,7 @@ func (c *ProjectsExclusionsCreateCall) Header() http.Header { func (c *ProjectsExclusionsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -20241,7 +20241,7 @@ func (c *ProjectsExclusionsDeleteCall) Header() http.Header { func (c *ProjectsExclusionsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -20383,7 +20383,7 @@ func (c *ProjectsExclusionsGetCall) Header() http.Header { func (c *ProjectsExclusionsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -20549,7 +20549,7 @@ func (c *ProjectsExclusionsListCall) Header() http.Header { func (c *ProjectsExclusionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -20731,7 +20731,7 @@ func (c *ProjectsExclusionsPatchCall) Header() http.Header { func (c *ProjectsExclusionsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -20887,7 +20887,7 @@ func (c *ProjectsLocationsGetCall) Header() http.Header { func (c *ProjectsLocationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21056,7 +21056,7 @@ func (c *ProjectsLocationsListCall) Header() http.Header { func (c *ProjectsLocationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21241,7 +21241,7 @@ func (c *ProjectsLocationsBucketsCreateCall) Header() http.Header { func (c *ProjectsLocationsBucketsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21387,7 +21387,7 @@ func (c *ProjectsLocationsBucketsDeleteCall) Header() http.Header { func (c *ProjectsLocationsBucketsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21529,7 +21529,7 @@ func (c *ProjectsLocationsBucketsGetCall) Header() http.Header { func (c *ProjectsLocationsBucketsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21695,7 +21695,7 @@ func (c *ProjectsLocationsBucketsListCall) Header() http.Header { func (c *ProjectsLocationsBucketsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21882,7 +21882,7 @@ func (c *ProjectsLocationsBucketsPatchCall) Header() http.Header { func (c *ProjectsLocationsBucketsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -22030,7 +22030,7 @@ func (c *ProjectsLocationsBucketsUndeleteCall) Header() http.Header { func (c *ProjectsLocationsBucketsUndeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -22179,7 +22179,7 @@ func (c *ProjectsLocationsBucketsViewsCreateCall) Header() http.Header { func (c *ProjectsLocationsBucketsViewsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -22323,7 +22323,7 @@ func (c *ProjectsLocationsBucketsViewsDeleteCall) Header() http.Header { func (c *ProjectsLocationsBucketsViewsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -22465,7 +22465,7 @@ func (c *ProjectsLocationsBucketsViewsGetCall) Header() http.Header { func (c *ProjectsLocationsBucketsViewsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -22631,7 +22631,7 @@ func (c *ProjectsLocationsBucketsViewsListCall) Header() http.Header { func (c *ProjectsLocationsBucketsViewsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -22814,7 +22814,7 @@ func (c *ProjectsLocationsBucketsViewsPatchCall) Header() http.Header { func (c *ProjectsLocationsBucketsViewsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -22962,7 +22962,7 @@ func (c *ProjectsLogsDeleteCall) Header() http.Header { func (c *ProjectsLogsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -23141,7 +23141,7 @@ func (c *ProjectsLogsListCall) Header() http.Header { func (c *ProjectsLogsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -23317,7 +23317,7 @@ func (c *ProjectsMetricsCreateCall) Header() http.Header { func (c *ProjectsMetricsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -23457,7 +23457,7 @@ func (c *ProjectsMetricsDeleteCall) Header() http.Header { func (c *ProjectsMetricsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -23600,7 +23600,7 @@ func (c *ProjectsMetricsGetCall) Header() http.Header { func (c *ProjectsMetricsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -23766,7 +23766,7 @@ func (c *ProjectsMetricsListCall) Header() http.Header { func (c *ProjectsMetricsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -23936,7 +23936,7 @@ func (c *ProjectsMetricsUpdateCall) Header() http.Header { func (c *ProjectsMetricsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -24098,7 +24098,7 @@ func (c *ProjectsSinksCreateCall) Header() http.Header { func (c *ProjectsSinksCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -24243,7 +24243,7 @@ func (c *ProjectsSinksDeleteCall) Header() http.Header { func (c *ProjectsSinksDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -24385,7 +24385,7 @@ func (c *ProjectsSinksGetCall) Header() http.Header { func (c *ProjectsSinksGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -24551,7 +24551,7 @@ func (c *ProjectsSinksListCall) Header() http.Header { func (c *ProjectsSinksListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -24754,7 +24754,7 @@ func (c *ProjectsSinksPatchCall) Header() http.Header { func (c *ProjectsSinksPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -24939,7 +24939,7 @@ func (c *ProjectsSinksUpdateCall) Header() http.Header { func (c *ProjectsSinksUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -25111,7 +25111,7 @@ func (c *SinksCreateCall) Header() http.Header { func (c *SinksCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -25256,7 +25256,7 @@ func (c *SinksDeleteCall) Header() http.Header { func (c *SinksDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -25398,7 +25398,7 @@ func (c *SinksGetCall) Header() http.Header { func (c *SinksGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -25564,7 +25564,7 @@ func (c *SinksListCall) Header() http.Header { func (c *SinksListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -25767,7 +25767,7 @@ func (c *SinksUpdateCall) Header() http.Header { func (c *SinksUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -25934,7 +25934,7 @@ func (c *V2GetCmekSettingsCall) Header() http.Header { func (c *V2GetCmekSettingsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -26091,7 +26091,7 @@ func (c *V2UpdateCmekSettingsCall) Header() http.Header { func (c *V2UpdateCmekSettingsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/managedidentities/v1/managedidentities-gen.go b/managedidentities/v1/managedidentities-gen.go index bdc64810b60..ecf0ea0c867 100644 --- a/managedidentities/v1/managedidentities-gen.go +++ b/managedidentities/v1/managedidentities-gen.go @@ -2200,7 +2200,7 @@ func (c *ProjectsLocationsGetCall) Header() http.Header { func (c *ProjectsLocationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2366,7 +2366,7 @@ func (c *ProjectsLocationsListCall) Header() http.Header { func (c *ProjectsLocationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2538,7 +2538,7 @@ func (c *ProjectsLocationsGlobalDomainsAttachTrustCall) Header() http.Header { func (c *ProjectsLocationsGlobalDomainsAttachTrustCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2692,7 +2692,7 @@ func (c *ProjectsLocationsGlobalDomainsCreateCall) Header() http.Header { func (c *ProjectsLocationsGlobalDomainsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2835,7 +2835,7 @@ func (c *ProjectsLocationsGlobalDomainsDeleteCall) Header() http.Header { func (c *ProjectsLocationsGlobalDomainsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2967,7 +2967,7 @@ func (c *ProjectsLocationsGlobalDomainsDetachTrustCall) Header() http.Header { func (c *ProjectsLocationsGlobalDomainsDetachTrustCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3116,7 +3116,7 @@ func (c *ProjectsLocationsGlobalDomainsGetCall) Header() http.Header { func (c *ProjectsLocationsGlobalDomainsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3277,7 +3277,7 @@ func (c *ProjectsLocationsGlobalDomainsGetIamPolicyCall) Header() http.Header { func (c *ProjectsLocationsGlobalDomainsGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3462,7 +3462,7 @@ func (c *ProjectsLocationsGlobalDomainsListCall) Header() http.Header { func (c *ProjectsLocationsGlobalDomainsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3648,7 +3648,7 @@ func (c *ProjectsLocationsGlobalDomainsPatchCall) Header() http.Header { func (c *ProjectsLocationsGlobalDomainsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3794,7 +3794,7 @@ func (c *ProjectsLocationsGlobalDomainsReconfigureTrustCall) Header() http.Heade func (c *ProjectsLocationsGlobalDomainsReconfigureTrustCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3934,7 +3934,7 @@ func (c *ProjectsLocationsGlobalDomainsResetAdminPasswordCall) Header() http.Hea func (c *ProjectsLocationsGlobalDomainsResetAdminPasswordCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4076,7 +4076,7 @@ func (c *ProjectsLocationsGlobalDomainsSetIamPolicyCall) Header() http.Header { func (c *ProjectsLocationsGlobalDomainsSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4221,7 +4221,7 @@ func (c *ProjectsLocationsGlobalDomainsTestIamPermissionsCall) Header() http.Hea func (c *ProjectsLocationsGlobalDomainsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4363,7 +4363,7 @@ func (c *ProjectsLocationsGlobalDomainsValidateTrustCall) Header() http.Header { func (c *ProjectsLocationsGlobalDomainsValidateTrustCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4512,7 +4512,7 @@ func (c *ProjectsLocationsGlobalOperationsCancelCall) Header() http.Header { func (c *ProjectsLocationsGlobalOperationsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4653,7 +4653,7 @@ func (c *ProjectsLocationsGlobalOperationsDeleteCall) Header() http.Header { func (c *ProjectsLocationsGlobalOperationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4796,7 +4796,7 @@ func (c *ProjectsLocationsGlobalOperationsGetCall) Header() http.Header { func (c *ProjectsLocationsGlobalOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4970,7 +4970,7 @@ func (c *ProjectsLocationsGlobalOperationsListCall) Header() http.Header { func (c *ProjectsLocationsGlobalOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/managedidentities/v1alpha1/managedidentities-gen.go b/managedidentities/v1alpha1/managedidentities-gen.go index 29ce2db8fcd..65da003d25c 100644 --- a/managedidentities/v1alpha1/managedidentities-gen.go +++ b/managedidentities/v1alpha1/managedidentities-gen.go @@ -2298,7 +2298,7 @@ func (c *ProjectsLocationsGetCall) Header() http.Header { func (c *ProjectsLocationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2464,7 +2464,7 @@ func (c *ProjectsLocationsListCall) Header() http.Header { func (c *ProjectsLocationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2636,7 +2636,7 @@ func (c *ProjectsLocationsGlobalDomainsAttachTrustCall) Header() http.Header { func (c *ProjectsLocationsGlobalDomainsAttachTrustCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2790,7 +2790,7 @@ func (c *ProjectsLocationsGlobalDomainsCreateCall) Header() http.Header { func (c *ProjectsLocationsGlobalDomainsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2933,7 +2933,7 @@ func (c *ProjectsLocationsGlobalDomainsDeleteCall) Header() http.Header { func (c *ProjectsLocationsGlobalDomainsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3065,7 +3065,7 @@ func (c *ProjectsLocationsGlobalDomainsDetachTrustCall) Header() http.Header { func (c *ProjectsLocationsGlobalDomainsDetachTrustCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3214,7 +3214,7 @@ func (c *ProjectsLocationsGlobalDomainsGetCall) Header() http.Header { func (c *ProjectsLocationsGlobalDomainsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3375,7 +3375,7 @@ func (c *ProjectsLocationsGlobalDomainsGetIamPolicyCall) Header() http.Header { func (c *ProjectsLocationsGlobalDomainsGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3558,7 +3558,7 @@ func (c *ProjectsLocationsGlobalDomainsListCall) Header() http.Header { func (c *ProjectsLocationsGlobalDomainsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3746,7 +3746,7 @@ func (c *ProjectsLocationsGlobalDomainsPatchCall) Header() http.Header { func (c *ProjectsLocationsGlobalDomainsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3892,7 +3892,7 @@ func (c *ProjectsLocationsGlobalDomainsReconfigureTrustCall) Header() http.Heade func (c *ProjectsLocationsGlobalDomainsReconfigureTrustCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4033,7 +4033,7 @@ func (c *ProjectsLocationsGlobalDomainsResetAdminPasswordCall) Header() http.Hea func (c *ProjectsLocationsGlobalDomainsResetAdminPasswordCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4175,7 +4175,7 @@ func (c *ProjectsLocationsGlobalDomainsSetIamPolicyCall) Header() http.Header { func (c *ProjectsLocationsGlobalDomainsSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4320,7 +4320,7 @@ func (c *ProjectsLocationsGlobalDomainsTestIamPermissionsCall) Header() http.Hea func (c *ProjectsLocationsGlobalDomainsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4460,7 +4460,7 @@ func (c *ProjectsLocationsGlobalDomainsValidateTrustCall) Header() http.Header { func (c *ProjectsLocationsGlobalDomainsValidateTrustCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4609,7 +4609,7 @@ func (c *ProjectsLocationsGlobalDomainsSqlIntegrationsGetCall) Header() http.Hea func (c *ProjectsLocationsGlobalDomainsSqlIntegrationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4787,7 +4787,7 @@ func (c *ProjectsLocationsGlobalDomainsSqlIntegrationsListCall) Header() http.He func (c *ProjectsLocationsGlobalDomainsSqlIntegrationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4973,7 +4973,7 @@ func (c *ProjectsLocationsGlobalOperationsCancelCall) Header() http.Header { func (c *ProjectsLocationsGlobalOperationsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5114,7 +5114,7 @@ func (c *ProjectsLocationsGlobalOperationsDeleteCall) Header() http.Header { func (c *ProjectsLocationsGlobalOperationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5257,7 +5257,7 @@ func (c *ProjectsLocationsGlobalOperationsGetCall) Header() http.Header { func (c *ProjectsLocationsGlobalOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5431,7 +5431,7 @@ func (c *ProjectsLocationsGlobalOperationsListCall) Header() http.Header { func (c *ProjectsLocationsGlobalOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/managedidentities/v1beta1/managedidentities-gen.go b/managedidentities/v1beta1/managedidentities-gen.go index 555ec54fa75..aec6e4a84cc 100644 --- a/managedidentities/v1beta1/managedidentities-gen.go +++ b/managedidentities/v1beta1/managedidentities-gen.go @@ -2303,7 +2303,7 @@ func (c *ProjectsLocationsGetCall) Header() http.Header { func (c *ProjectsLocationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2469,7 +2469,7 @@ func (c *ProjectsLocationsListCall) Header() http.Header { func (c *ProjectsLocationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2641,7 +2641,7 @@ func (c *ProjectsLocationsGlobalDomainsAttachTrustCall) Header() http.Header { func (c *ProjectsLocationsGlobalDomainsAttachTrustCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2794,7 +2794,7 @@ func (c *ProjectsLocationsGlobalDomainsCreateCall) Header() http.Header { func (c *ProjectsLocationsGlobalDomainsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2937,7 +2937,7 @@ func (c *ProjectsLocationsGlobalDomainsDeleteCall) Header() http.Header { func (c *ProjectsLocationsGlobalDomainsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3069,7 +3069,7 @@ func (c *ProjectsLocationsGlobalDomainsDetachTrustCall) Header() http.Header { func (c *ProjectsLocationsGlobalDomainsDetachTrustCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3218,7 +3218,7 @@ func (c *ProjectsLocationsGlobalDomainsGetCall) Header() http.Header { func (c *ProjectsLocationsGlobalDomainsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3379,7 +3379,7 @@ func (c *ProjectsLocationsGlobalDomainsGetIamPolicyCall) Header() http.Header { func (c *ProjectsLocationsGlobalDomainsGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3564,7 +3564,7 @@ func (c *ProjectsLocationsGlobalDomainsListCall) Header() http.Header { func (c *ProjectsLocationsGlobalDomainsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3751,7 +3751,7 @@ func (c *ProjectsLocationsGlobalDomainsPatchCall) Header() http.Header { func (c *ProjectsLocationsGlobalDomainsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3897,7 +3897,7 @@ func (c *ProjectsLocationsGlobalDomainsReconfigureTrustCall) Header() http.Heade func (c *ProjectsLocationsGlobalDomainsReconfigureTrustCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4037,7 +4037,7 @@ func (c *ProjectsLocationsGlobalDomainsResetAdminPasswordCall) Header() http.Hea func (c *ProjectsLocationsGlobalDomainsResetAdminPasswordCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4179,7 +4179,7 @@ func (c *ProjectsLocationsGlobalDomainsSetIamPolicyCall) Header() http.Header { func (c *ProjectsLocationsGlobalDomainsSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4324,7 +4324,7 @@ func (c *ProjectsLocationsGlobalDomainsTestIamPermissionsCall) Header() http.Hea func (c *ProjectsLocationsGlobalDomainsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4466,7 +4466,7 @@ func (c *ProjectsLocationsGlobalDomainsValidateTrustCall) Header() http.Header { func (c *ProjectsLocationsGlobalDomainsValidateTrustCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4615,7 +4615,7 @@ func (c *ProjectsLocationsGlobalDomainsSqlIntegrationsGetCall) Header() http.Hea func (c *ProjectsLocationsGlobalDomainsSqlIntegrationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4793,7 +4793,7 @@ func (c *ProjectsLocationsGlobalDomainsSqlIntegrationsListCall) Header() http.He func (c *ProjectsLocationsGlobalDomainsSqlIntegrationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4979,7 +4979,7 @@ func (c *ProjectsLocationsGlobalOperationsCancelCall) Header() http.Header { func (c *ProjectsLocationsGlobalOperationsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5120,7 +5120,7 @@ func (c *ProjectsLocationsGlobalOperationsDeleteCall) Header() http.Header { func (c *ProjectsLocationsGlobalOperationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5263,7 +5263,7 @@ func (c *ProjectsLocationsGlobalOperationsGetCall) Header() http.Header { func (c *ProjectsLocationsGlobalOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5437,7 +5437,7 @@ func (c *ProjectsLocationsGlobalOperationsListCall) Header() http.Header { func (c *ProjectsLocationsGlobalOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/manufacturers/v1/manufacturers-gen.go b/manufacturers/v1/manufacturers-gen.go index 7a6b8b984c3..6fbe815ec7a 100644 --- a/manufacturers/v1/manufacturers-gen.go +++ b/manufacturers/v1/manufacturers-gen.go @@ -837,7 +837,7 @@ func (c *AccountsProductsDeleteCall) Header() http.Header { func (c *AccountsProductsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1007,7 +1007,7 @@ func (c *AccountsProductsGetCall) Header() http.Header { func (c *AccountsProductsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1206,7 +1206,7 @@ func (c *AccountsProductsListCall) Header() http.Header { func (c *AccountsProductsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1405,7 +1405,7 @@ func (c *AccountsProductsUpdateCall) Header() http.Header { func (c *AccountsProductsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/memcache/v1beta2/memcache-gen.go b/memcache/v1beta2/memcache-gen.go index 02e9ee86bdf..c4c54149600 100644 --- a/memcache/v1beta2/memcache-gen.go +++ b/memcache/v1beta2/memcache-gen.go @@ -1745,7 +1745,7 @@ func (c *ProjectsLocationsGetCall) Header() http.Header { func (c *ProjectsLocationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1911,7 +1911,7 @@ func (c *ProjectsLocationsListCall) Header() http.Header { func (c *ProjectsLocationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2085,7 +2085,7 @@ func (c *ProjectsLocationsInstancesApplyParametersCall) Header() http.Header { func (c *ProjectsLocationsInstancesApplyParametersCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2237,7 +2237,7 @@ func (c *ProjectsLocationsInstancesCreateCall) Header() http.Header { func (c *ProjectsLocationsInstancesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2380,7 +2380,7 @@ func (c *ProjectsLocationsInstancesDeleteCall) Header() http.Header { func (c *ProjectsLocationsInstancesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2521,7 +2521,7 @@ func (c *ProjectsLocationsInstancesGetCall) Header() http.Header { func (c *ProjectsLocationsInstancesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2698,7 +2698,7 @@ func (c *ProjectsLocationsInstancesListCall) Header() http.Header { func (c *ProjectsLocationsInstancesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2882,7 +2882,7 @@ func (c *ProjectsLocationsInstancesPatchCall) Header() http.Header { func (c *ProjectsLocationsInstancesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3031,7 +3031,7 @@ func (c *ProjectsLocationsInstancesUpdateParametersCall) Header() http.Header { func (c *ProjectsLocationsInstancesUpdateParametersCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3180,7 +3180,7 @@ func (c *ProjectsLocationsOperationsCancelCall) Header() http.Header { func (c *ProjectsLocationsOperationsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3321,7 +3321,7 @@ func (c *ProjectsLocationsOperationsDeleteCall) Header() http.Header { func (c *ProjectsLocationsOperationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3464,7 +3464,7 @@ func (c *ProjectsLocationsOperationsGetCall) Header() http.Header { func (c *ProjectsLocationsOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3638,7 +3638,7 @@ func (c *ProjectsLocationsOperationsListCall) Header() http.Header { func (c *ProjectsLocationsOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/metastore/v1alpha/metastore-gen.go b/metastore/v1alpha/metastore-gen.go index 05e953b6e0d..87308f62614 100644 --- a/metastore/v1alpha/metastore-gen.go +++ b/metastore/v1alpha/metastore-gen.go @@ -1633,7 +1633,7 @@ func (c *ProjectsLocationsGetCall) Header() http.Header { func (c *ProjectsLocationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1799,7 +1799,7 @@ func (c *ProjectsLocationsListCall) Header() http.Header { func (c *ProjectsLocationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1972,7 +1972,7 @@ func (c *ProjectsLocationsOperationsDeleteCall) Header() http.Header { func (c *ProjectsLocationsOperationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2115,7 +2115,7 @@ func (c *ProjectsLocationsOperationsGetCall) Header() http.Header { func (c *ProjectsLocationsOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2289,7 +2289,7 @@ func (c *ProjectsLocationsOperationsListCall) Header() http.Header { func (c *ProjectsLocationsOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2486,7 +2486,7 @@ func (c *ProjectsLocationsServicesCreateCall) Header() http.Header { func (c *ProjectsLocationsServicesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2649,7 +2649,7 @@ func (c *ProjectsLocationsServicesDeleteCall) Header() http.Header { func (c *ProjectsLocationsServicesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2786,7 +2786,7 @@ func (c *ProjectsLocationsServicesExportMetadataCall) Header() http.Header { func (c *ProjectsLocationsServicesExportMetadataCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2935,7 +2935,7 @@ func (c *ProjectsLocationsServicesGetCall) Header() http.Header { func (c *ProjectsLocationsServicesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3095,7 +3095,7 @@ func (c *ProjectsLocationsServicesGetIamPolicyCall) Header() http.Header { func (c *ProjectsLocationsServicesGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3280,7 +3280,7 @@ func (c *ProjectsLocationsServicesListCall) Header() http.Header { func (c *ProjectsLocationsServicesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3482,7 +3482,7 @@ func (c *ProjectsLocationsServicesPatchCall) Header() http.Header { func (c *ProjectsLocationsServicesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3635,7 +3635,7 @@ func (c *ProjectsLocationsServicesSetIamPolicyCall) Header() http.Header { func (c *ProjectsLocationsServicesSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3780,7 +3780,7 @@ func (c *ProjectsLocationsServicesTestIamPermissionsCall) Header() http.Header { func (c *ProjectsLocationsServicesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3945,7 +3945,7 @@ func (c *ProjectsLocationsServicesMetadataImportsCreateCall) Header() http.Heade func (c *ProjectsLocationsServicesMetadataImportsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4104,7 +4104,7 @@ func (c *ProjectsLocationsServicesMetadataImportsGetCall) Header() http.Header { func (c *ProjectsLocationsServicesMetadataImportsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4283,7 +4283,7 @@ func (c *ProjectsLocationsServicesMetadataImportsListCall) Header() http.Header func (c *ProjectsLocationsServicesMetadataImportsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4486,7 +4486,7 @@ func (c *ProjectsLocationsServicesMetadataImportsPatchCall) Header() http.Header func (c *ProjectsLocationsServicesMetadataImportsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/metastore/v1beta/metastore-gen.go b/metastore/v1beta/metastore-gen.go index d2d074620c3..30d26f25d73 100644 --- a/metastore/v1beta/metastore-gen.go +++ b/metastore/v1beta/metastore-gen.go @@ -1581,7 +1581,7 @@ func (c *ProjectsLocationsGetCall) Header() http.Header { func (c *ProjectsLocationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1747,7 +1747,7 @@ func (c *ProjectsLocationsListCall) Header() http.Header { func (c *ProjectsLocationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1920,7 +1920,7 @@ func (c *ProjectsLocationsOperationsDeleteCall) Header() http.Header { func (c *ProjectsLocationsOperationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2063,7 +2063,7 @@ func (c *ProjectsLocationsOperationsGetCall) Header() http.Header { func (c *ProjectsLocationsOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2237,7 +2237,7 @@ func (c *ProjectsLocationsOperationsListCall) Header() http.Header { func (c *ProjectsLocationsOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2434,7 +2434,7 @@ func (c *ProjectsLocationsServicesCreateCall) Header() http.Header { func (c *ProjectsLocationsServicesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2597,7 +2597,7 @@ func (c *ProjectsLocationsServicesDeleteCall) Header() http.Header { func (c *ProjectsLocationsServicesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2734,7 +2734,7 @@ func (c *ProjectsLocationsServicesExportMetadataCall) Header() http.Header { func (c *ProjectsLocationsServicesExportMetadataCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2883,7 +2883,7 @@ func (c *ProjectsLocationsServicesGetCall) Header() http.Header { func (c *ProjectsLocationsServicesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3043,7 +3043,7 @@ func (c *ProjectsLocationsServicesGetIamPolicyCall) Header() http.Header { func (c *ProjectsLocationsServicesGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3228,7 +3228,7 @@ func (c *ProjectsLocationsServicesListCall) Header() http.Header { func (c *ProjectsLocationsServicesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3430,7 +3430,7 @@ func (c *ProjectsLocationsServicesPatchCall) Header() http.Header { func (c *ProjectsLocationsServicesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3583,7 +3583,7 @@ func (c *ProjectsLocationsServicesSetIamPolicyCall) Header() http.Header { func (c *ProjectsLocationsServicesSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3728,7 +3728,7 @@ func (c *ProjectsLocationsServicesTestIamPermissionsCall) Header() http.Header { func (c *ProjectsLocationsServicesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3893,7 +3893,7 @@ func (c *ProjectsLocationsServicesMetadataImportsCreateCall) Header() http.Heade func (c *ProjectsLocationsServicesMetadataImportsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4052,7 +4052,7 @@ func (c *ProjectsLocationsServicesMetadataImportsGetCall) Header() http.Header { func (c *ProjectsLocationsServicesMetadataImportsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4231,7 +4231,7 @@ func (c *ProjectsLocationsServicesMetadataImportsListCall) Header() http.Header func (c *ProjectsLocationsServicesMetadataImportsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4434,7 +4434,7 @@ func (c *ProjectsLocationsServicesMetadataImportsPatchCall) Header() http.Header func (c *ProjectsLocationsServicesMetadataImportsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/ml/v1/ml-gen.go b/ml/v1/ml-gen.go index 089f828235a..de76e3cb6ce 100644 --- a/ml/v1/ml-gen.go +++ b/ml/v1/ml-gen.go @@ -4761,7 +4761,7 @@ func (c *ProjectsExplainCall) Header() http.Header { func (c *ProjectsExplainCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4914,7 +4914,7 @@ func (c *ProjectsGetConfigCall) Header() http.Header { func (c *ProjectsGetConfigCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5051,7 +5051,7 @@ func (c *ProjectsPredictCall) Header() http.Header { func (c *ProjectsPredictCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5196,7 +5196,7 @@ func (c *ProjectsJobsCancelCall) Header() http.Header { func (c *ProjectsJobsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5336,7 +5336,7 @@ func (c *ProjectsJobsCreateCall) Header() http.Header { func (c *ProjectsJobsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5485,7 +5485,7 @@ func (c *ProjectsJobsGetCall) Header() http.Header { func (c *ProjectsJobsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5647,7 +5647,7 @@ func (c *ProjectsJobsGetIamPolicyCall) Header() http.Header { func (c *ProjectsJobsGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5829,7 +5829,7 @@ func (c *ProjectsJobsListCall) Header() http.Header { func (c *ProjectsJobsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6020,7 +6020,7 @@ func (c *ProjectsJobsPatchCall) Header() http.Header { func (c *ProjectsJobsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6168,7 +6168,7 @@ func (c *ProjectsJobsSetIamPolicyCall) Header() http.Header { func (c *ProjectsJobsSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6313,7 +6313,7 @@ func (c *ProjectsJobsTestIamPermissionsCall) Header() http.Header { func (c *ProjectsJobsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6464,7 +6464,7 @@ func (c *ProjectsLocationsGetCall) Header() http.Header { func (c *ProjectsLocationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6628,7 +6628,7 @@ func (c *ProjectsLocationsListCall) Header() http.Header { func (c *ProjectsLocationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6804,7 +6804,7 @@ func (c *ProjectsLocationsOperationsCancelCall) Header() http.Header { func (c *ProjectsLocationsOperationsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6947,7 +6947,7 @@ func (c *ProjectsLocationsOperationsGetCall) Header() http.Header { func (c *ProjectsLocationsOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7090,7 +7090,7 @@ func (c *ProjectsLocationsStudiesCreateCall) Header() http.Header { func (c *ProjectsLocationsStudiesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7233,7 +7233,7 @@ func (c *ProjectsLocationsStudiesDeleteCall) Header() http.Header { func (c *ProjectsLocationsStudiesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7374,7 +7374,7 @@ func (c *ProjectsLocationsStudiesGetCall) Header() http.Header { func (c *ProjectsLocationsStudiesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7518,7 +7518,7 @@ func (c *ProjectsLocationsStudiesListCall) Header() http.Header { func (c *ProjectsLocationsStudiesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7656,7 +7656,7 @@ func (c *ProjectsLocationsStudiesTrialsAddMeasurementCall) Header() http.Header func (c *ProjectsLocationsStudiesTrialsAddMeasurementCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7798,7 +7798,7 @@ func (c *ProjectsLocationsStudiesTrialsCheckEarlyStoppingStateCall) Header() htt func (c *ProjectsLocationsStudiesTrialsCheckEarlyStoppingStateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7938,7 +7938,7 @@ func (c *ProjectsLocationsStudiesTrialsCompleteCall) Header() http.Header { func (c *ProjectsLocationsStudiesTrialsCompleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8078,7 +8078,7 @@ func (c *ProjectsLocationsStudiesTrialsCreateCall) Header() http.Header { func (c *ProjectsLocationsStudiesTrialsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8216,7 +8216,7 @@ func (c *ProjectsLocationsStudiesTrialsDeleteCall) Header() http.Header { func (c *ProjectsLocationsStudiesTrialsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8357,7 +8357,7 @@ func (c *ProjectsLocationsStudiesTrialsGetCall) Header() http.Header { func (c *ProjectsLocationsStudiesTrialsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8501,7 +8501,7 @@ func (c *ProjectsLocationsStudiesTrialsListCall) Header() http.Header { func (c *ProjectsLocationsStudiesTrialsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8640,7 +8640,7 @@ func (c *ProjectsLocationsStudiesTrialsListOptimalTrialsCall) Header() http.Head func (c *ProjectsLocationsStudiesTrialsListOptimalTrialsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8782,7 +8782,7 @@ func (c *ProjectsLocationsStudiesTrialsStopCall) Header() http.Header { func (c *ProjectsLocationsStudiesTrialsStopCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8926,7 +8926,7 @@ func (c *ProjectsLocationsStudiesTrialsSuggestCall) Header() http.Header { func (c *ProjectsLocationsStudiesTrialsSuggestCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9069,7 +9069,7 @@ func (c *ProjectsModelsCreateCall) Header() http.Header { func (c *ProjectsModelsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9209,7 +9209,7 @@ func (c *ProjectsModelsDeleteCall) Header() http.Header { func (c *ProjectsModelsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9352,7 +9352,7 @@ func (c *ProjectsModelsGetCall) Header() http.Header { func (c *ProjectsModelsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9514,7 +9514,7 @@ func (c *ProjectsModelsGetIamPolicyCall) Header() http.Header { func (c *ProjectsModelsGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9692,7 +9692,7 @@ func (c *ProjectsModelsListCall) Header() http.Header { func (c *ProjectsModelsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9882,7 +9882,7 @@ func (c *ProjectsModelsPatchCall) Header() http.Header { func (c *ProjectsModelsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10030,7 +10030,7 @@ func (c *ProjectsModelsSetIamPolicyCall) Header() http.Header { func (c *ProjectsModelsSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10175,7 +10175,7 @@ func (c *ProjectsModelsTestIamPermissionsCall) Header() http.Header { func (c *ProjectsModelsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10322,7 +10322,7 @@ func (c *ProjectsModelsVersionsCreateCall) Header() http.Header { func (c *ProjectsModelsVersionsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10464,7 +10464,7 @@ func (c *ProjectsModelsVersionsDeleteCall) Header() http.Header { func (c *ProjectsModelsVersionsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10608,7 +10608,7 @@ func (c *ProjectsModelsVersionsGetCall) Header() http.Header { func (c *ProjectsModelsVersionsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10782,7 +10782,7 @@ func (c *ProjectsModelsVersionsListCall) Header() http.Header { func (c *ProjectsModelsVersionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10974,7 +10974,7 @@ func (c *ProjectsModelsVersionsPatchCall) Header() http.Header { func (c *ProjectsModelsVersionsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11125,7 +11125,7 @@ func (c *ProjectsModelsVersionsSetDefaultCall) Header() http.Header { func (c *ProjectsModelsVersionsSetDefaultCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11272,7 +11272,7 @@ func (c *ProjectsOperationsCancelCall) Header() http.Header { func (c *ProjectsOperationsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11415,7 +11415,7 @@ func (c *ProjectsOperationsGetCall) Header() http.Header { func (c *ProjectsOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11589,7 +11589,7 @@ func (c *ProjectsOperationsListCall) Header() http.Header { func (c *ProjectsOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/monitoring/v1/monitoring-gen.go b/monitoring/v1/monitoring-gen.go index e81e72d5322..64b76b7c61c 100644 --- a/monitoring/v1/monitoring-gen.go +++ b/monitoring/v1/monitoring-gen.go @@ -1898,7 +1898,7 @@ func (c *ProjectsDashboardsCreateCall) Header() http.Header { func (c *ProjectsDashboardsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2041,7 +2041,7 @@ func (c *ProjectsDashboardsDeleteCall) Header() http.Header { func (c *ProjectsDashboardsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2187,7 +2187,7 @@ func (c *ProjectsDashboardsGetCall) Header() http.Header { func (c *ProjectsDashboardsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2353,7 +2353,7 @@ func (c *ProjectsDashboardsListCall) Header() http.Header { func (c *ProjectsDashboardsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2525,7 +2525,7 @@ func (c *ProjectsDashboardsPatchCall) Header() http.Header { func (c *ProjectsDashboardsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/monitoring/v3/monitoring-gen.go b/monitoring/v3/monitoring-gen.go index 7d8674875f4..950f5553023 100644 --- a/monitoring/v3/monitoring-gen.go +++ b/monitoring/v3/monitoring-gen.go @@ -5560,7 +5560,7 @@ func (c *ProjectsAlertPoliciesCreateCall) Header() http.Header { func (c *ProjectsAlertPoliciesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5699,7 +5699,7 @@ func (c *ProjectsAlertPoliciesDeleteCall) Header() http.Header { func (c *ProjectsAlertPoliciesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5841,7 +5841,7 @@ func (c *ProjectsAlertPoliciesGetCall) Header() http.Header { func (c *ProjectsAlertPoliciesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6023,7 +6023,7 @@ func (c *ProjectsAlertPoliciesListCall) Header() http.Header { func (c *ProjectsAlertPoliciesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6228,7 +6228,7 @@ func (c *ProjectsAlertPoliciesPatchCall) Header() http.Header { func (c *ProjectsAlertPoliciesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6377,7 +6377,7 @@ func (c *ProjectsCollectdTimeSeriesCreateCall) Header() http.Header { func (c *ProjectsCollectdTimeSeriesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6526,7 +6526,7 @@ func (c *ProjectsGroupsCreateCall) Header() http.Header { func (c *ProjectsGroupsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6679,7 +6679,7 @@ func (c *ProjectsGroupsDeleteCall) Header() http.Header { func (c *ProjectsGroupsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6826,7 +6826,7 @@ func (c *ProjectsGroupsGetCall) Header() http.Header { func (c *ProjectsGroupsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7021,7 +7021,7 @@ func (c *ProjectsGroupsListCall) Header() http.Header { func (c *ProjectsGroupsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7213,7 +7213,7 @@ func (c *ProjectsGroupsUpdateCall) Header() http.Header { func (c *ProjectsGroupsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7412,7 +7412,7 @@ func (c *ProjectsGroupsMembersListCall) Header() http.Header { func (c *ProjectsGroupsMembersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7600,7 +7600,7 @@ func (c *ProjectsMetricDescriptorsCreateCall) Header() http.Header { func (c *ProjectsMetricDescriptorsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7741,7 +7741,7 @@ func (c *ProjectsMetricDescriptorsDeleteCall) Header() http.Header { func (c *ProjectsMetricDescriptorsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7884,7 +7884,7 @@ func (c *ProjectsMetricDescriptorsGetCall) Header() http.Header { func (c *ProjectsMetricDescriptorsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8061,7 +8061,7 @@ func (c *ProjectsMetricDescriptorsListCall) Header() http.Header { func (c *ProjectsMetricDescriptorsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8246,7 +8246,7 @@ func (c *ProjectsMonitoredResourceDescriptorsGetCall) Header() http.Header { func (c *ProjectsMonitoredResourceDescriptorsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8421,7 +8421,7 @@ func (c *ProjectsMonitoredResourceDescriptorsListCall) Header() http.Header { func (c *ProjectsMonitoredResourceDescriptorsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8609,7 +8609,7 @@ func (c *ProjectsNotificationChannelDescriptorsGetCall) Header() http.Header { func (c *ProjectsNotificationChannelDescriptorsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8773,7 +8773,7 @@ func (c *ProjectsNotificationChannelDescriptorsListCall) Header() http.Header { func (c *ProjectsNotificationChannelDescriptorsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8946,7 +8946,7 @@ func (c *ProjectsNotificationChannelsCreateCall) Header() http.Header { func (c *ProjectsNotificationChannelsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9095,7 +9095,7 @@ func (c *ProjectsNotificationChannelsDeleteCall) Header() http.Header { func (c *ProjectsNotificationChannelsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9247,7 +9247,7 @@ func (c *ProjectsNotificationChannelsGetCall) Header() http.Header { func (c *ProjectsNotificationChannelsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9404,7 +9404,7 @@ func (c *ProjectsNotificationChannelsGetVerificationCodeCall) Header() http.Head func (c *ProjectsNotificationChannelsGetVerificationCodeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9594,7 +9594,7 @@ func (c *ProjectsNotificationChannelsListCall) Header() http.Header { func (c *ProjectsNotificationChannelsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9781,7 +9781,7 @@ func (c *ProjectsNotificationChannelsPatchCall) Header() http.Header { func (c *ProjectsNotificationChannelsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9930,7 +9930,7 @@ func (c *ProjectsNotificationChannelsSendVerificationCodeCall) Header() http.Hea func (c *ProjectsNotificationChannelsSendVerificationCodeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10073,7 +10073,7 @@ func (c *ProjectsNotificationChannelsVerifyCall) Header() http.Header { func (c *ProjectsNotificationChannelsVerifyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10217,7 +10217,7 @@ func (c *ProjectsTimeSeriesCreateCall) Header() http.Header { func (c *ProjectsTimeSeriesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10916,7 +10916,7 @@ func (c *ProjectsTimeSeriesListCall) Header() http.Header { func (c *ProjectsTimeSeriesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11313,7 +11313,7 @@ func (c *ProjectsTimeSeriesQueryCall) Header() http.Header { func (c *ProjectsTimeSeriesQueryCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11476,7 +11476,7 @@ func (c *ProjectsUptimeCheckConfigsCreateCall) Header() http.Header { func (c *ProjectsUptimeCheckConfigsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11618,7 +11618,7 @@ func (c *ProjectsUptimeCheckConfigsDeleteCall) Header() http.Header { func (c *ProjectsUptimeCheckConfigsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11760,7 +11760,7 @@ func (c *ProjectsUptimeCheckConfigsGetCall) Header() http.Header { func (c *ProjectsUptimeCheckConfigsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11926,7 +11926,7 @@ func (c *ProjectsUptimeCheckConfigsListCall) Header() http.Header { func (c *ProjectsUptimeCheckConfigsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12108,7 +12108,7 @@ func (c *ProjectsUptimeCheckConfigsPatchCall) Header() http.Header { func (c *ProjectsUptimeCheckConfigsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12263,7 +12263,7 @@ func (c *ServicesCreateCall) Header() http.Header { func (c *ServicesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12407,7 +12407,7 @@ func (c *ServicesDeleteCall) Header() http.Header { func (c *ServicesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12549,7 +12549,7 @@ func (c *ServicesGetCall) Header() http.Header { func (c *ServicesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12731,7 +12731,7 @@ func (c *ServicesListCall) Header() http.Header { func (c *ServicesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12912,7 +12912,7 @@ func (c *ServicesPatchCall) Header() http.Header { func (c *ServicesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13068,7 +13068,7 @@ func (c *ServicesServiceLevelObjectivesCreateCall) Header() http.Header { func (c *ServicesServiceLevelObjectivesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13212,7 +13212,7 @@ func (c *ServicesServiceLevelObjectivesDeleteCall) Header() http.Header { func (c *ServicesServiceLevelObjectivesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13375,7 +13375,7 @@ func (c *ServicesServiceLevelObjectivesGetCall) Header() http.Header { func (c *ServicesServiceLevelObjectivesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13581,7 +13581,7 @@ func (c *ServicesServiceLevelObjectivesListCall) Header() http.Header { func (c *ServicesServiceLevelObjectivesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13778,7 +13778,7 @@ func (c *ServicesServiceLevelObjectivesPatchCall) Header() http.Header { func (c *ServicesServiceLevelObjectivesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13952,7 +13952,7 @@ func (c *UptimeCheckIpsListCall) Header() http.Header { func (c *UptimeCheckIpsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/networkmanagement/v1/networkmanagement-gen.go b/networkmanagement/v1/networkmanagement-gen.go index 811d826db5c..8cf1b8560af 100644 --- a/networkmanagement/v1/networkmanagement-gen.go +++ b/networkmanagement/v1/networkmanagement-gen.go @@ -2175,7 +2175,7 @@ func (c *ProjectsLocationsGetCall) Header() http.Header { func (c *ProjectsLocationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2341,7 +2341,7 @@ func (c *ProjectsLocationsListCall) Header() http.Header { func (c *ProjectsLocationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2533,7 +2533,7 @@ func (c *ProjectsLocationsGlobalConnectivityTestsCreateCall) Header() http.Heade func (c *ProjectsLocationsGlobalConnectivityTestsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2676,7 +2676,7 @@ func (c *ProjectsLocationsGlobalConnectivityTestsDeleteCall) Header() http.Heade func (c *ProjectsLocationsGlobalConnectivityTestsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2817,7 +2817,7 @@ func (c *ProjectsLocationsGlobalConnectivityTestsGetCall) Header() http.Header { func (c *ProjectsLocationsGlobalConnectivityTestsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2978,7 +2978,7 @@ func (c *ProjectsLocationsGlobalConnectivityTestsGetIamPolicyCall) Header() http func (c *ProjectsLocationsGlobalConnectivityTestsGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3166,7 +3166,7 @@ func (c *ProjectsLocationsGlobalConnectivityTestsListCall) Header() http.Header func (c *ProjectsLocationsGlobalConnectivityTestsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3362,7 +3362,7 @@ func (c *ProjectsLocationsGlobalConnectivityTestsPatchCall) Header() http.Header func (c *ProjectsLocationsGlobalConnectivityTestsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3516,7 +3516,7 @@ func (c *ProjectsLocationsGlobalConnectivityTestsRerunCall) Header() http.Header func (c *ProjectsLocationsGlobalConnectivityTestsRerunCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3658,7 +3658,7 @@ func (c *ProjectsLocationsGlobalConnectivityTestsSetIamPolicyCall) Header() http func (c *ProjectsLocationsGlobalConnectivityTestsSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3803,7 +3803,7 @@ func (c *ProjectsLocationsGlobalConnectivityTestsTestIamPermissionsCall) Header( func (c *ProjectsLocationsGlobalConnectivityTestsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3952,7 +3952,7 @@ func (c *ProjectsLocationsGlobalOperationsCancelCall) Header() http.Header { func (c *ProjectsLocationsGlobalOperationsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4093,7 +4093,7 @@ func (c *ProjectsLocationsGlobalOperationsDeleteCall) Header() http.Header { func (c *ProjectsLocationsGlobalOperationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4236,7 +4236,7 @@ func (c *ProjectsLocationsGlobalOperationsGetCall) Header() http.Header { func (c *ProjectsLocationsGlobalOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4410,7 +4410,7 @@ func (c *ProjectsLocationsGlobalOperationsListCall) Header() http.Header { func (c *ProjectsLocationsGlobalOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/networkmanagement/v1beta1/networkmanagement-gen.go b/networkmanagement/v1beta1/networkmanagement-gen.go index 094b5a7d507..200ab6c5df8 100644 --- a/networkmanagement/v1beta1/networkmanagement-gen.go +++ b/networkmanagement/v1beta1/networkmanagement-gen.go @@ -2441,7 +2441,7 @@ func (c *ProjectsLocationsGetCall) Header() http.Header { func (c *ProjectsLocationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2607,7 +2607,7 @@ func (c *ProjectsLocationsListCall) Header() http.Header { func (c *ProjectsLocationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2799,7 +2799,7 @@ func (c *ProjectsLocationsGlobalConnectivityTestsCreateCall) Header() http.Heade func (c *ProjectsLocationsGlobalConnectivityTestsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2942,7 +2942,7 @@ func (c *ProjectsLocationsGlobalConnectivityTestsDeleteCall) Header() http.Heade func (c *ProjectsLocationsGlobalConnectivityTestsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3083,7 +3083,7 @@ func (c *ProjectsLocationsGlobalConnectivityTestsGetCall) Header() http.Header { func (c *ProjectsLocationsGlobalConnectivityTestsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3244,7 +3244,7 @@ func (c *ProjectsLocationsGlobalConnectivityTestsGetIamPolicyCall) Header() http func (c *ProjectsLocationsGlobalConnectivityTestsGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3432,7 +3432,7 @@ func (c *ProjectsLocationsGlobalConnectivityTestsListCall) Header() http.Header func (c *ProjectsLocationsGlobalConnectivityTestsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3628,7 +3628,7 @@ func (c *ProjectsLocationsGlobalConnectivityTestsPatchCall) Header() http.Header func (c *ProjectsLocationsGlobalConnectivityTestsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3782,7 +3782,7 @@ func (c *ProjectsLocationsGlobalConnectivityTestsRerunCall) Header() http.Header func (c *ProjectsLocationsGlobalConnectivityTestsRerunCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3924,7 +3924,7 @@ func (c *ProjectsLocationsGlobalConnectivityTestsSetIamPolicyCall) Header() http func (c *ProjectsLocationsGlobalConnectivityTestsSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4069,7 +4069,7 @@ func (c *ProjectsLocationsGlobalConnectivityTestsTestIamPermissionsCall) Header( func (c *ProjectsLocationsGlobalConnectivityTestsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4218,7 +4218,7 @@ func (c *ProjectsLocationsGlobalOperationsCancelCall) Header() http.Header { func (c *ProjectsLocationsGlobalOperationsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4359,7 +4359,7 @@ func (c *ProjectsLocationsGlobalOperationsDeleteCall) Header() http.Header { func (c *ProjectsLocationsGlobalOperationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4502,7 +4502,7 @@ func (c *ProjectsLocationsGlobalOperationsGetCall) Header() http.Header { func (c *ProjectsLocationsGlobalOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4676,7 +4676,7 @@ func (c *ProjectsLocationsGlobalOperationsListCall) Header() http.Header { func (c *ProjectsLocationsGlobalOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/notebooks/v1/notebooks-gen.go b/notebooks/v1/notebooks-gen.go index f1d2fb87b18..32265e696da 100644 --- a/notebooks/v1/notebooks-gen.go +++ b/notebooks/v1/notebooks-gen.go @@ -1764,7 +1764,7 @@ func (c *ProjectsLocationsGetCall) Header() http.Header { func (c *ProjectsLocationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1930,7 +1930,7 @@ func (c *ProjectsLocationsListCall) Header() http.Header { func (c *ProjectsLocationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2112,7 +2112,7 @@ func (c *ProjectsLocationsEnvironmentsCreateCall) Header() http.Header { func (c *ProjectsLocationsEnvironmentsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2255,7 +2255,7 @@ func (c *ProjectsLocationsEnvironmentsDeleteCall) Header() http.Header { func (c *ProjectsLocationsEnvironmentsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2396,7 +2396,7 @@ func (c *ProjectsLocationsEnvironmentsGetCall) Header() http.Header { func (c *ProjectsLocationsEnvironmentsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2555,7 +2555,7 @@ func (c *ProjectsLocationsEnvironmentsListCall) Header() http.Header { func (c *ProjectsLocationsEnvironmentsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2729,7 +2729,7 @@ func (c *ProjectsLocationsInstancesCreateCall) Header() http.Header { func (c *ProjectsLocationsInstancesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2872,7 +2872,7 @@ func (c *ProjectsLocationsInstancesDeleteCall) Header() http.Header { func (c *ProjectsLocationsInstancesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3013,7 +3013,7 @@ func (c *ProjectsLocationsInstancesGetCall) Header() http.Header { func (c *ProjectsLocationsInstancesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3174,7 +3174,7 @@ func (c *ProjectsLocationsInstancesGetIamPolicyCall) Header() http.Header { func (c *ProjectsLocationsInstancesGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3324,7 +3324,7 @@ func (c *ProjectsLocationsInstancesIsUpgradeableCall) Header() http.Header { func (c *ProjectsLocationsInstancesIsUpgradeableCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3483,7 +3483,7 @@ func (c *ProjectsLocationsInstancesListCall) Header() http.Header { func (c *ProjectsLocationsInstancesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3654,7 +3654,7 @@ func (c *ProjectsLocationsInstancesRegisterCall) Header() http.Header { func (c *ProjectsLocationsInstancesRegisterCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3797,7 +3797,7 @@ func (c *ProjectsLocationsInstancesReportCall) Header() http.Header { func (c *ProjectsLocationsInstancesReportCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3937,7 +3937,7 @@ func (c *ProjectsLocationsInstancesResetCall) Header() http.Header { func (c *ProjectsLocationsInstancesResetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4077,7 +4077,7 @@ func (c *ProjectsLocationsInstancesSetAcceleratorCall) Header() http.Header { func (c *ProjectsLocationsInstancesSetAcceleratorCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4219,7 +4219,7 @@ func (c *ProjectsLocationsInstancesSetIamPolicyCall) Header() http.Header { func (c *ProjectsLocationsInstancesSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4359,7 +4359,7 @@ func (c *ProjectsLocationsInstancesSetLabelsCall) Header() http.Header { func (c *ProjectsLocationsInstancesSetLabelsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4499,7 +4499,7 @@ func (c *ProjectsLocationsInstancesSetMachineTypeCall) Header() http.Header { func (c *ProjectsLocationsInstancesSetMachineTypeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4639,7 +4639,7 @@ func (c *ProjectsLocationsInstancesStartCall) Header() http.Header { func (c *ProjectsLocationsInstancesStartCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4779,7 +4779,7 @@ func (c *ProjectsLocationsInstancesStopCall) Header() http.Header { func (c *ProjectsLocationsInstancesStopCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4924,7 +4924,7 @@ func (c *ProjectsLocationsInstancesTestIamPermissionsCall) Header() http.Header func (c *ProjectsLocationsInstancesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5064,7 +5064,7 @@ func (c *ProjectsLocationsInstancesUpgradeCall) Header() http.Header { func (c *ProjectsLocationsInstancesUpgradeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5205,7 +5205,7 @@ func (c *ProjectsLocationsInstancesUpgradeInternalCall) Header() http.Header { func (c *ProjectsLocationsInstancesUpgradeInternalCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5354,7 +5354,7 @@ func (c *ProjectsLocationsOperationsCancelCall) Header() http.Header { func (c *ProjectsLocationsOperationsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5495,7 +5495,7 @@ func (c *ProjectsLocationsOperationsDeleteCall) Header() http.Header { func (c *ProjectsLocationsOperationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5638,7 +5638,7 @@ func (c *ProjectsLocationsOperationsGetCall) Header() http.Header { func (c *ProjectsLocationsOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5812,7 +5812,7 @@ func (c *ProjectsLocationsOperationsListCall) Header() http.Header { func (c *ProjectsLocationsOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/oauth2/v2/oauth2-gen.go b/oauth2/v2/oauth2-gen.go index a280ffde192..f72dca785c6 100644 --- a/oauth2/v2/oauth2-gen.go +++ b/oauth2/v2/oauth2-gen.go @@ -353,7 +353,7 @@ func (c *TokeninfoCall) Header() http.Header { func (c *TokeninfoCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -482,7 +482,7 @@ func (c *UserinfoGetCall) Header() http.Header { func (c *UserinfoGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -609,7 +609,7 @@ func (c *UserinfoV2MeGetCall) Header() http.Header { func (c *UserinfoV2MeGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/osconfig/v1/osconfig-gen.go b/osconfig/v1/osconfig-gen.go index 534021535ff..d799b6b7a41 100644 --- a/osconfig/v1/osconfig-gen.go +++ b/osconfig/v1/osconfig-gen.go @@ -2061,7 +2061,7 @@ func (c *ProjectsPatchDeploymentsCreateCall) Header() http.Header { func (c *ProjectsPatchDeploymentsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2204,7 +2204,7 @@ func (c *ProjectsPatchDeploymentsDeleteCall) Header() http.Header { func (c *ProjectsPatchDeploymentsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2345,7 +2345,7 @@ func (c *ProjectsPatchDeploymentsGetCall) Header() http.Header { func (c *ProjectsPatchDeploymentsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2504,7 +2504,7 @@ func (c *ProjectsPatchDeploymentsListCall) Header() http.Header { func (c *ProjectsPatchDeploymentsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2672,7 +2672,7 @@ func (c *ProjectsPatchJobsCancelCall) Header() http.Header { func (c *ProjectsPatchJobsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2812,7 +2812,7 @@ func (c *ProjectsPatchJobsExecuteCall) Header() http.Header { func (c *ProjectsPatchJobsExecuteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2962,7 +2962,7 @@ func (c *ProjectsPatchJobsGetCall) Header() http.Header { func (c *ProjectsPatchJobsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3130,7 +3130,7 @@ func (c *ProjectsPatchJobsListCall) Header() http.Header { func (c *ProjectsPatchJobsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3334,7 +3334,7 @@ func (c *ProjectsPatchJobsInstanceDetailsListCall) Header() http.Header { func (c *ProjectsPatchJobsInstanceDetailsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/osconfig/v1beta/osconfig-gen.go b/osconfig/v1beta/osconfig-gen.go index 07543691012..ccd75dfa1d7 100644 --- a/osconfig/v1beta/osconfig-gen.go +++ b/osconfig/v1beta/osconfig-gen.go @@ -3332,7 +3332,7 @@ func (c *ProjectsGuestPoliciesCreateCall) Header() http.Header { func (c *ProjectsGuestPoliciesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3475,7 +3475,7 @@ func (c *ProjectsGuestPoliciesDeleteCall) Header() http.Header { func (c *ProjectsGuestPoliciesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3616,7 +3616,7 @@ func (c *ProjectsGuestPoliciesGetCall) Header() http.Header { func (c *ProjectsGuestPoliciesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3775,7 +3775,7 @@ func (c *ProjectsGuestPoliciesListCall) Header() http.Header { func (c *ProjectsGuestPoliciesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3949,7 +3949,7 @@ func (c *ProjectsGuestPoliciesPatchCall) Header() http.Header { func (c *ProjectsGuestPoliciesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4106,7 +4106,7 @@ func (c *ProjectsPatchDeploymentsCreateCall) Header() http.Header { func (c *ProjectsPatchDeploymentsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4249,7 +4249,7 @@ func (c *ProjectsPatchDeploymentsDeleteCall) Header() http.Header { func (c *ProjectsPatchDeploymentsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4390,7 +4390,7 @@ func (c *ProjectsPatchDeploymentsGetCall) Header() http.Header { func (c *ProjectsPatchDeploymentsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4549,7 +4549,7 @@ func (c *ProjectsPatchDeploymentsListCall) Header() http.Header { func (c *ProjectsPatchDeploymentsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4717,7 +4717,7 @@ func (c *ProjectsPatchJobsCancelCall) Header() http.Header { func (c *ProjectsPatchJobsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4857,7 +4857,7 @@ func (c *ProjectsPatchJobsExecuteCall) Header() http.Header { func (c *ProjectsPatchJobsExecuteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5007,7 +5007,7 @@ func (c *ProjectsPatchJobsGetCall) Header() http.Header { func (c *ProjectsPatchJobsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5175,7 +5175,7 @@ func (c *ProjectsPatchJobsListCall) Header() http.Header { func (c *ProjectsPatchJobsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5379,7 +5379,7 @@ func (c *ProjectsPatchJobsInstanceDetailsListCall) Header() http.Header { func (c *ProjectsPatchJobsInstanceDetailsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5554,7 +5554,7 @@ func (c *ProjectsZonesInstancesLookupEffectiveGuestPolicyCall) Header() http.Hea func (c *ProjectsZonesInstancesLookupEffectiveGuestPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/oslogin/v1/oslogin-gen.go b/oslogin/v1/oslogin-gen.go index b788daacf22..ad49a8a2c7c 100644 --- a/oslogin/v1/oslogin-gen.go +++ b/oslogin/v1/oslogin-gen.go @@ -447,7 +447,7 @@ func (c *UsersGetLoginProfileCall) Header() http.Header { func (c *UsersGetLoginProfileCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -602,7 +602,7 @@ func (c *UsersImportSshPublicKeyCall) Header() http.Header { func (c *UsersImportSshPublicKeyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -746,7 +746,7 @@ func (c *UsersProjectsDeleteCall) Header() http.Header { func (c *UsersProjectsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -877,7 +877,7 @@ func (c *UsersSshPublicKeysDeleteCall) Header() http.Header { func (c *UsersSshPublicKeysDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1019,7 +1019,7 @@ func (c *UsersSshPublicKeysGetCall) Header() http.Header { func (c *UsersSshPublicKeysGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1163,7 +1163,7 @@ func (c *UsersSshPublicKeysPatchCall) Header() http.Header { func (c *UsersSshPublicKeysPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/oslogin/v1alpha/oslogin-gen.go b/oslogin/v1alpha/oslogin-gen.go index 6a8a1751214..1b2b34ea115 100644 --- a/oslogin/v1alpha/oslogin-gen.go +++ b/oslogin/v1alpha/oslogin-gen.go @@ -469,7 +469,7 @@ func (c *UsersGetLoginProfileCall) Header() http.Header { func (c *UsersGetLoginProfileCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -641,7 +641,7 @@ func (c *UsersImportSshPublicKeyCall) Header() http.Header { func (c *UsersImportSshPublicKeyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -799,7 +799,7 @@ func (c *UsersProjectsDeleteCall) Header() http.Header { func (c *UsersProjectsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -945,7 +945,7 @@ func (c *UsersSshPublicKeysDeleteCall) Header() http.Header { func (c *UsersSshPublicKeysDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1087,7 +1087,7 @@ func (c *UsersSshPublicKeysGetCall) Header() http.Header { func (c *UsersSshPublicKeysGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1231,7 +1231,7 @@ func (c *UsersSshPublicKeysPatchCall) Header() http.Header { func (c *UsersSshPublicKeysPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/oslogin/v1beta/oslogin-gen.go b/oslogin/v1beta/oslogin-gen.go index d8a745acab4..6dc16cfa5c3 100644 --- a/oslogin/v1beta/oslogin-gen.go +++ b/oslogin/v1beta/oslogin-gen.go @@ -455,7 +455,7 @@ func (c *UsersGetLoginProfileCall) Header() http.Header { func (c *UsersGetLoginProfileCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -612,7 +612,7 @@ func (c *UsersImportSshPublicKeyCall) Header() http.Header { func (c *UsersImportSshPublicKeyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -756,7 +756,7 @@ func (c *UsersProjectsDeleteCall) Header() http.Header { func (c *UsersProjectsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -887,7 +887,7 @@ func (c *UsersSshPublicKeysDeleteCall) Header() http.Header { func (c *UsersSshPublicKeysDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1029,7 +1029,7 @@ func (c *UsersSshPublicKeysGetCall) Header() http.Header { func (c *UsersSshPublicKeysGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1173,7 +1173,7 @@ func (c *UsersSshPublicKeysPatchCall) Header() http.Header { func (c *UsersSshPublicKeysPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/pagespeedonline/v5/pagespeedonline-gen.go b/pagespeedonline/v5/pagespeedonline-gen.go index c001f626286..237bba95cab 100644 --- a/pagespeedonline/v5/pagespeedonline-gen.go +++ b/pagespeedonline/v5/pagespeedonline-gen.go @@ -1139,7 +1139,7 @@ func (c *PagespeedapiRunpagespeedCall) Header() http.Header { func (c *PagespeedapiRunpagespeedCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/people/v1/people-gen.go b/people/v1/people-gen.go index 1520ae31559..c41306dc7b8 100644 --- a/people/v1/people-gen.go +++ b/people/v1/people-gen.go @@ -3076,7 +3076,7 @@ func (c *ContactGroupsBatchGetCall) Header() http.Header { func (c *ContactGroupsBatchGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3210,7 +3210,7 @@ func (c *ContactGroupsCreateCall) Header() http.Header { func (c *ContactGroupsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3343,7 +3343,7 @@ func (c *ContactGroupsDeleteCall) Header() http.Header { func (c *ContactGroupsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3498,7 +3498,7 @@ func (c *ContactGroupsGetCall) Header() http.Header { func (c *ContactGroupsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3673,7 +3673,7 @@ func (c *ContactGroupsListCall) Header() http.Header { func (c *ContactGroupsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3835,7 +3835,7 @@ func (c *ContactGroupsUpdateCall) Header() http.Header { func (c *ContactGroupsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3979,7 +3979,7 @@ func (c *ContactGroupsMembersModifyCall) Header() http.Header { func (c *ContactGroupsMembersModifyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4121,7 +4121,7 @@ func (c *OtherContactsCopyOtherContactToMyContactsGroupCall) Header() http.Heade func (c *OtherContactsCopyOtherContactToMyContactsGroupCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4319,7 +4319,7 @@ func (c *OtherContactsListCall) Header() http.Header { func (c *OtherContactsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4522,7 +4522,7 @@ func (c *PeopleCreateContactCall) Header() http.Header { func (c *PeopleCreateContactCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4673,7 +4673,7 @@ func (c *PeopleDeleteContactCall) Header() http.Header { func (c *PeopleDeleteContactCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4834,7 +4834,7 @@ func (c *PeopleDeleteContactPhotoCall) Header() http.Header { func (c *PeopleDeleteContactPhotoCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5040,7 +5040,7 @@ func (c *PeopleGetCall) Header() http.Header { func (c *PeopleGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5279,7 +5279,7 @@ func (c *PeopleGetBatchGetCall) Header() http.Header { func (c *PeopleGetBatchGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5532,7 +5532,7 @@ func (c *PeopleListDirectoryPeopleCall) Header() http.Header { func (c *PeopleListDirectoryPeopleCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5807,7 +5807,7 @@ func (c *PeopleSearchDirectoryPeopleCall) Header() http.Header { func (c *PeopleSearchDirectoryPeopleCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6062,7 +6062,7 @@ func (c *PeopleUpdateContactCall) Header() http.Header { func (c *PeopleUpdateContactCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6232,7 +6232,7 @@ func (c *PeopleUpdateContactPhotoCall) Header() http.Header { func (c *PeopleUpdateContactPhotoCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6480,7 +6480,7 @@ func (c *PeopleConnectionsListCall) Header() http.Header { func (c *PeopleConnectionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/playablelocations/v3/playablelocations-gen.go b/playablelocations/v3/playablelocations-gen.go index c8a173f2d7f..4c83d809423 100644 --- a/playablelocations/v3/playablelocations-gen.go +++ b/playablelocations/v3/playablelocations-gen.go @@ -882,7 +882,7 @@ func (c *V3LogImpressionsCall) Header() http.Header { func (c *V3LogImpressionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1009,7 +1009,7 @@ func (c *V3LogPlayerReportsCall) Header() http.Header { func (c *V3LogPlayerReportsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1136,7 +1136,7 @@ func (c *V3SamplePlayableLocationsCall) Header() http.Header { func (c *V3SamplePlayableLocationsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/playcustomapp/v1/playcustomapp-gen.go b/playcustomapp/v1/playcustomapp-gen.go index a7f8f49ec3c..b25c2d2a1c0 100644 --- a/playcustomapp/v1/playcustomapp-gen.go +++ b/playcustomapp/v1/playcustomapp-gen.go @@ -281,7 +281,7 @@ func (c *AccountsCustomAppsCreateCall) Header() http.Header { func (c *AccountsCustomAppsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/policytroubleshooter/v1/policytroubleshooter-gen.go b/policytroubleshooter/v1/policytroubleshooter-gen.go index ab294f1f7ff..affa29e3e43 100644 --- a/policytroubleshooter/v1/policytroubleshooter-gen.go +++ b/policytroubleshooter/v1/policytroubleshooter-gen.go @@ -897,7 +897,7 @@ func (c *IamTroubleshootCall) Header() http.Header { func (c *IamTroubleshootCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/policytroubleshooter/v1beta/policytroubleshooter-gen.go b/policytroubleshooter/v1beta/policytroubleshooter-gen.go index 9c180cbd332..50d4fe617d8 100644 --- a/policytroubleshooter/v1beta/policytroubleshooter-gen.go +++ b/policytroubleshooter/v1beta/policytroubleshooter-gen.go @@ -897,7 +897,7 @@ func (c *IamTroubleshootCall) Header() http.Header { func (c *IamTroubleshootCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/poly/v1/poly-gen.go b/poly/v1/poly-gen.go index 862b087f304..128b94beb2f 100644 --- a/poly/v1/poly-gen.go +++ b/poly/v1/poly-gen.go @@ -1004,7 +1004,7 @@ func (c *AssetsGetCall) Header() http.Header { func (c *AssetsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1219,7 +1219,7 @@ func (c *AssetsListCall) Header() http.Header { func (c *AssetsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1473,7 +1473,7 @@ func (c *UsersAssetsListCall) Header() http.Header { func (c *UsersAssetsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1707,7 +1707,7 @@ func (c *UsersLikedassetsListCall) Header() http.Header { func (c *UsersLikedassetsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/privateca/v1beta1/privateca-gen.go b/privateca/v1beta1/privateca-gen.go index a87c7c9971e..71aa85ae225 100644 --- a/privateca/v1beta1/privateca-gen.go +++ b/privateca/v1beta1/privateca-gen.go @@ -3058,7 +3058,7 @@ func (c *ProjectsLocationsGetCall) Header() http.Header { func (c *ProjectsLocationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3224,7 +3224,7 @@ func (c *ProjectsLocationsListCall) Header() http.Header { func (c *ProjectsLocationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3400,7 +3400,7 @@ func (c *ProjectsLocationsCertificateAuthoritiesActivateCall) Header() http.Head func (c *ProjectsLocationsCertificateAuthoritiesActivateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3566,7 +3566,7 @@ func (c *ProjectsLocationsCertificateAuthoritiesCreateCall) Header() http.Header func (c *ProjectsLocationsCertificateAuthoritiesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3716,7 +3716,7 @@ func (c *ProjectsLocationsCertificateAuthoritiesDisableCall) Header() http.Heade func (c *ProjectsLocationsCertificateAuthoritiesDisableCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3856,7 +3856,7 @@ func (c *ProjectsLocationsCertificateAuthoritiesEnableCall) Header() http.Header func (c *ProjectsLocationsCertificateAuthoritiesEnableCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4010,7 +4010,7 @@ func (c *ProjectsLocationsCertificateAuthoritiesFetchCall) Header() http.Header func (c *ProjectsLocationsCertificateAuthoritiesFetchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4155,7 +4155,7 @@ func (c *ProjectsLocationsCertificateAuthoritiesGetCall) Header() http.Header { func (c *ProjectsLocationsCertificateAuthoritiesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4316,7 +4316,7 @@ func (c *ProjectsLocationsCertificateAuthoritiesGetIamPolicyCall) Header() http. func (c *ProjectsLocationsCertificateAuthoritiesGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4498,7 +4498,7 @@ func (c *ProjectsLocationsCertificateAuthoritiesListCall) Header() http.Header { func (c *ProjectsLocationsCertificateAuthoritiesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4700,7 +4700,7 @@ func (c *ProjectsLocationsCertificateAuthoritiesPatchCall) Header() http.Header func (c *ProjectsLocationsCertificateAuthoritiesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4852,7 +4852,7 @@ func (c *ProjectsLocationsCertificateAuthoritiesRestoreCall) Header() http.Heade func (c *ProjectsLocationsCertificateAuthoritiesRestoreCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4992,7 +4992,7 @@ func (c *ProjectsLocationsCertificateAuthoritiesScheduleDeleteCall) Header() htt func (c *ProjectsLocationsCertificateAuthoritiesScheduleDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5134,7 +5134,7 @@ func (c *ProjectsLocationsCertificateAuthoritiesSetIamPolicyCall) Header() http. func (c *ProjectsLocationsCertificateAuthoritiesSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5279,7 +5279,7 @@ func (c *ProjectsLocationsCertificateAuthoritiesTestIamPermissionsCall) Header() func (c *ProjectsLocationsCertificateAuthoritiesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5428,7 +5428,7 @@ func (c *ProjectsLocationsCertificateAuthoritiesCertificateRevocationListsGetCal func (c *ProjectsLocationsCertificateAuthoritiesCertificateRevocationListsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5589,7 +5589,7 @@ func (c *ProjectsLocationsCertificateAuthoritiesCertificateRevocationListsGetIam func (c *ProjectsLocationsCertificateAuthoritiesCertificateRevocationListsGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5772,7 +5772,7 @@ func (c *ProjectsLocationsCertificateAuthoritiesCertificateRevocationListsListCa func (c *ProjectsLocationsCertificateAuthoritiesCertificateRevocationListsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5974,7 +5974,7 @@ func (c *ProjectsLocationsCertificateAuthoritiesCertificateRevocationListsPatchC func (c *ProjectsLocationsCertificateAuthoritiesCertificateRevocationListsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6127,7 +6127,7 @@ func (c *ProjectsLocationsCertificateAuthoritiesCertificateRevocationListsSetIam func (c *ProjectsLocationsCertificateAuthoritiesCertificateRevocationListsSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6272,7 +6272,7 @@ func (c *ProjectsLocationsCertificateAuthoritiesCertificateRevocationListsTestIa func (c *ProjectsLocationsCertificateAuthoritiesCertificateRevocationListsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6440,7 +6440,7 @@ func (c *ProjectsLocationsCertificateAuthoritiesCertificatesCreateCall) Header() func (c *ProjectsLocationsCertificateAuthoritiesCertificatesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6599,7 +6599,7 @@ func (c *ProjectsLocationsCertificateAuthoritiesCertificatesGetCall) Header() ht func (c *ProjectsLocationsCertificateAuthoritiesCertificatesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6780,7 +6780,7 @@ func (c *ProjectsLocationsCertificateAuthoritiesCertificatesListCall) Header() h func (c *ProjectsLocationsCertificateAuthoritiesCertificatesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6982,7 +6982,7 @@ func (c *ProjectsLocationsCertificateAuthoritiesCertificatesPatchCall) Header() func (c *ProjectsLocationsCertificateAuthoritiesCertificatesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7133,7 +7133,7 @@ func (c *ProjectsLocationsCertificateAuthoritiesCertificatesRevokeCall) Header() func (c *ProjectsLocationsCertificateAuthoritiesCertificatesRevokeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7282,7 +7282,7 @@ func (c *ProjectsLocationsOperationsCancelCall) Header() http.Header { func (c *ProjectsLocationsOperationsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7423,7 +7423,7 @@ func (c *ProjectsLocationsOperationsDeleteCall) Header() http.Header { func (c *ProjectsLocationsOperationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7566,7 +7566,7 @@ func (c *ProjectsLocationsOperationsGetCall) Header() http.Header { func (c *ProjectsLocationsOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7740,7 +7740,7 @@ func (c *ProjectsLocationsOperationsListCall) Header() http.Header { func (c *ProjectsLocationsOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7921,7 +7921,7 @@ func (c *ProjectsLocationsReusableConfigsGetCall) Header() http.Header { func (c *ProjectsLocationsReusableConfigsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8082,7 +8082,7 @@ func (c *ProjectsLocationsReusableConfigsGetIamPolicyCall) Header() http.Header func (c *ProjectsLocationsReusableConfigsGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8263,7 +8263,7 @@ func (c *ProjectsLocationsReusableConfigsListCall) Header() http.Header { func (c *ProjectsLocationsReusableConfigsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8442,7 +8442,7 @@ func (c *ProjectsLocationsReusableConfigsSetIamPolicyCall) Header() http.Header func (c *ProjectsLocationsReusableConfigsSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8587,7 +8587,7 @@ func (c *ProjectsLocationsReusableConfigsTestIamPermissionsCall) Header() http.H func (c *ProjectsLocationsReusableConfigsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/prod_tt_sasportal/v1alpha1/prod_tt_sasportal-gen.go b/prod_tt_sasportal/v1alpha1/prod_tt_sasportal-gen.go index 1129f5fe61b..d05e0992117 100644 --- a/prod_tt_sasportal/v1alpha1/prod_tt_sasportal-gen.go +++ b/prod_tt_sasportal/v1alpha1/prod_tt_sasportal-gen.go @@ -1777,7 +1777,7 @@ func (c *CustomersGetCall) Header() http.Header { func (c *CustomersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1934,7 +1934,7 @@ func (c *CustomersListCall) Header() http.Header { func (c *CustomersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2096,7 +2096,7 @@ func (c *CustomersPatchCall) Header() http.Header { func (c *CustomersPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2242,7 +2242,7 @@ func (c *CustomersDeploymentsMoveCall) Header() http.Header { func (c *CustomersDeploymentsMoveCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2382,7 +2382,7 @@ func (c *CustomersDeploymentsDevicesCreateCall) Header() http.Header { func (c *CustomersDeploymentsDevicesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2522,7 +2522,7 @@ func (c *CustomersDeploymentsDevicesCreateSignedCall) Header() http.Header { func (c *CustomersDeploymentsDevicesCreateSignedCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2696,7 +2696,7 @@ func (c *CustomersDeploymentsDevicesListCall) Header() http.Header { func (c *CustomersDeploymentsDevicesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2869,7 +2869,7 @@ func (c *CustomersDevicesBulkCall) Header() http.Header { func (c *CustomersDevicesBulkCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3010,7 +3010,7 @@ func (c *CustomersDevicesCreateCall) Header() http.Header { func (c *CustomersDevicesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3150,7 +3150,7 @@ func (c *CustomersDevicesCreateSignedCall) Header() http.Header { func (c *CustomersDevicesCreateSignedCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3288,7 +3288,7 @@ func (c *CustomersDevicesDeleteCall) Header() http.Header { func (c *CustomersDevicesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3429,7 +3429,7 @@ func (c *CustomersDevicesGetCall) Header() http.Header { func (c *CustomersDevicesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3598,7 +3598,7 @@ func (c *CustomersDevicesListCall) Header() http.Header { func (c *CustomersDevicesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3770,7 +3770,7 @@ func (c *CustomersDevicesMoveCall) Header() http.Header { func (c *CustomersDevicesMoveCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3917,7 +3917,7 @@ func (c *CustomersDevicesPatchCall) Header() http.Header { func (c *CustomersDevicesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4063,7 +4063,7 @@ func (c *CustomersDevicesSignDeviceCall) Header() http.Header { func (c *CustomersDevicesSignDeviceCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4203,7 +4203,7 @@ func (c *CustomersDevicesUpdateSignedCall) Header() http.Header { func (c *CustomersDevicesUpdateSignedCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4343,7 +4343,7 @@ func (c *CustomersNodesCreateCall) Header() http.Header { func (c *CustomersNodesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4481,7 +4481,7 @@ func (c *CustomersNodesDeleteCall) Header() http.Header { func (c *CustomersNodesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4622,7 +4622,7 @@ func (c *CustomersNodesGetCall) Header() http.Header { func (c *CustomersNodesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4781,7 +4781,7 @@ func (c *CustomersNodesListCall) Header() http.Header { func (c *CustomersNodesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4948,7 +4948,7 @@ func (c *CustomersNodesMoveCall) Header() http.Header { func (c *CustomersNodesMoveCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5095,7 +5095,7 @@ func (c *CustomersNodesPatchCall) Header() http.Header { func (c *CustomersNodesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5241,7 +5241,7 @@ func (c *CustomersNodesDevicesCreateCall) Header() http.Header { func (c *CustomersNodesDevicesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5381,7 +5381,7 @@ func (c *CustomersNodesDevicesCreateSignedCall) Header() http.Header { func (c *CustomersNodesDevicesCreateSignedCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5555,7 +5555,7 @@ func (c *CustomersNodesDevicesListCall) Header() http.Header { func (c *CustomersNodesDevicesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5727,7 +5727,7 @@ func (c *CustomersNodesNodesCreateCall) Header() http.Header { func (c *CustomersNodesNodesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5891,7 +5891,7 @@ func (c *CustomersNodesNodesListCall) Header() http.Header { func (c *CustomersNodesNodesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6056,7 +6056,7 @@ func (c *DeploymentsDevicesDeleteCall) Header() http.Header { func (c *DeploymentsDevicesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6197,7 +6197,7 @@ func (c *DeploymentsDevicesGetCall) Header() http.Header { func (c *DeploymentsDevicesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6332,7 +6332,7 @@ func (c *DeploymentsDevicesMoveCall) Header() http.Header { func (c *DeploymentsDevicesMoveCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6479,7 +6479,7 @@ func (c *DeploymentsDevicesPatchCall) Header() http.Header { func (c *DeploymentsDevicesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6625,7 +6625,7 @@ func (c *DeploymentsDevicesSignDeviceCall) Header() http.Header { func (c *DeploymentsDevicesSignDeviceCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6765,7 +6765,7 @@ func (c *DeploymentsDevicesUpdateSignedCall) Header() http.Header { func (c *DeploymentsDevicesUpdateSignedCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6904,7 +6904,7 @@ func (c *InstallerGenerateSecretCall) Header() http.Header { func (c *InstallerGenerateSecretCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7030,7 +7030,7 @@ func (c *InstallerValidateCall) Header() http.Header { func (c *InstallerValidateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7167,7 +7167,7 @@ func (c *NodesGetCall) Header() http.Header { func (c *NodesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7302,7 +7302,7 @@ func (c *NodesDeploymentsMoveCall) Header() http.Header { func (c *NodesDeploymentsMoveCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7442,7 +7442,7 @@ func (c *NodesDeploymentsDevicesCreateCall) Header() http.Header { func (c *NodesDeploymentsDevicesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7582,7 +7582,7 @@ func (c *NodesDeploymentsDevicesCreateSignedCall) Header() http.Header { func (c *NodesDeploymentsDevicesCreateSignedCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7756,7 +7756,7 @@ func (c *NodesDeploymentsDevicesListCall) Header() http.Header { func (c *NodesDeploymentsDevicesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7929,7 +7929,7 @@ func (c *NodesDevicesBulkCall) Header() http.Header { func (c *NodesDevicesBulkCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8070,7 +8070,7 @@ func (c *NodesDevicesCreateCall) Header() http.Header { func (c *NodesDevicesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8210,7 +8210,7 @@ func (c *NodesDevicesCreateSignedCall) Header() http.Header { func (c *NodesDevicesCreateSignedCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8348,7 +8348,7 @@ func (c *NodesDevicesDeleteCall) Header() http.Header { func (c *NodesDevicesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8489,7 +8489,7 @@ func (c *NodesDevicesGetCall) Header() http.Header { func (c *NodesDevicesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8658,7 +8658,7 @@ func (c *NodesDevicesListCall) Header() http.Header { func (c *NodesDevicesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8830,7 +8830,7 @@ func (c *NodesDevicesMoveCall) Header() http.Header { func (c *NodesDevicesMoveCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8977,7 +8977,7 @@ func (c *NodesDevicesPatchCall) Header() http.Header { func (c *NodesDevicesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9123,7 +9123,7 @@ func (c *NodesDevicesSignDeviceCall) Header() http.Header { func (c *NodesDevicesSignDeviceCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9263,7 +9263,7 @@ func (c *NodesDevicesUpdateSignedCall) Header() http.Header { func (c *NodesDevicesUpdateSignedCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9403,7 +9403,7 @@ func (c *NodesNodesCreateCall) Header() http.Header { func (c *NodesNodesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9541,7 +9541,7 @@ func (c *NodesNodesDeleteCall) Header() http.Header { func (c *NodesNodesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9682,7 +9682,7 @@ func (c *NodesNodesGetCall) Header() http.Header { func (c *NodesNodesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9841,7 +9841,7 @@ func (c *NodesNodesListCall) Header() http.Header { func (c *NodesNodesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10008,7 +10008,7 @@ func (c *NodesNodesMoveCall) Header() http.Header { func (c *NodesNodesMoveCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10155,7 +10155,7 @@ func (c *NodesNodesPatchCall) Header() http.Header { func (c *NodesNodesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10302,7 +10302,7 @@ func (c *NodesNodesDevicesBulkCall) Header() http.Header { func (c *NodesNodesDevicesBulkCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10443,7 +10443,7 @@ func (c *NodesNodesDevicesCreateCall) Header() http.Header { func (c *NodesNodesDevicesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10583,7 +10583,7 @@ func (c *NodesNodesDevicesCreateSignedCall) Header() http.Header { func (c *NodesNodesDevicesCreateSignedCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10757,7 +10757,7 @@ func (c *NodesNodesDevicesListCall) Header() http.Header { func (c *NodesNodesDevicesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10929,7 +10929,7 @@ func (c *NodesNodesNodesCreateCall) Header() http.Header { func (c *NodesNodesNodesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11093,7 +11093,7 @@ func (c *NodesNodesNodesListCall) Header() http.Header { func (c *NodesNodesNodesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11259,7 +11259,7 @@ func (c *PoliciesGetCall) Header() http.Header { func (c *PoliciesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11385,7 +11385,7 @@ func (c *PoliciesSetCall) Header() http.Header { func (c *PoliciesSetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11511,7 +11511,7 @@ func (c *PoliciesTestCall) Header() http.Header { func (c *PoliciesTestCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/pubsub/v1/pubsub-gen.go b/pubsub/v1/pubsub-gen.go index 478b5edfb7f..597157c66ae 100644 --- a/pubsub/v1/pubsub-gen.go +++ b/pubsub/v1/pubsub-gen.go @@ -1855,7 +1855,7 @@ func (c *ProjectsSnapshotsCreateCall) Header() http.Header { func (c *ProjectsSnapshotsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2003,7 +2003,7 @@ func (c *ProjectsSnapshotsDeleteCall) Header() http.Header { func (c *ProjectsSnapshotsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2148,7 +2148,7 @@ func (c *ProjectsSnapshotsGetCall) Header() http.Header { func (c *ProjectsSnapshotsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2310,7 +2310,7 @@ func (c *ProjectsSnapshotsGetIamPolicyCall) Header() http.Header { func (c *ProjectsSnapshotsGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2481,7 +2481,7 @@ func (c *ProjectsSnapshotsListCall) Header() http.Header { func (c *ProjectsSnapshotsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2652,7 +2652,7 @@ func (c *ProjectsSnapshotsPatchCall) Header() http.Header { func (c *ProjectsSnapshotsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2795,7 +2795,7 @@ func (c *ProjectsSnapshotsSetIamPolicyCall) Header() http.Header { func (c *ProjectsSnapshotsSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2941,7 +2941,7 @@ func (c *ProjectsSnapshotsTestIamPermissionsCall) Header() http.Header { func (c *ProjectsSnapshotsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3087,7 +3087,7 @@ func (c *ProjectsSubscriptionsAcknowledgeCall) Header() http.Header { func (c *ProjectsSubscriptionsAcknowledgeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3238,7 +3238,7 @@ func (c *ProjectsSubscriptionsCreateCall) Header() http.Header { func (c *ProjectsSubscriptionsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3382,7 +3382,7 @@ func (c *ProjectsSubscriptionsDeleteCall) Header() http.Header { func (c *ProjectsSubscriptionsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3517,7 +3517,7 @@ func (c *ProjectsSubscriptionsDetachCall) Header() http.Header { func (c *ProjectsSubscriptionsDetachCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3659,7 +3659,7 @@ func (c *ProjectsSubscriptionsGetCall) Header() http.Header { func (c *ProjectsSubscriptionsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3821,7 +3821,7 @@ func (c *ProjectsSubscriptionsGetIamPolicyCall) Header() http.Header { func (c *ProjectsSubscriptionsGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3988,7 +3988,7 @@ func (c *ProjectsSubscriptionsListCall) Header() http.Header { func (c *ProjectsSubscriptionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4161,7 +4161,7 @@ func (c *ProjectsSubscriptionsModifyAckDeadlineCall) Header() http.Header { func (c *ProjectsSubscriptionsModifyAckDeadlineCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4307,7 +4307,7 @@ func (c *ProjectsSubscriptionsModifyPushConfigCall) Header() http.Header { func (c *ProjectsSubscriptionsModifyPushConfigCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4449,7 +4449,7 @@ func (c *ProjectsSubscriptionsPatchCall) Header() http.Header { func (c *ProjectsSubscriptionsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4592,7 +4592,7 @@ func (c *ProjectsSubscriptionsPullCall) Header() http.Header { func (c *ProjectsSubscriptionsPullCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4739,7 +4739,7 @@ func (c *ProjectsSubscriptionsSeekCall) Header() http.Header { func (c *ProjectsSubscriptionsSeekCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4882,7 +4882,7 @@ func (c *ProjectsSubscriptionsSetIamPolicyCall) Header() http.Header { func (c *ProjectsSubscriptionsSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5028,7 +5028,7 @@ func (c *ProjectsSubscriptionsTestIamPermissionsCall) Header() http.Header { func (c *ProjectsSubscriptionsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5171,7 +5171,7 @@ func (c *ProjectsTopicsCreateCall) Header() http.Header { func (c *ProjectsTopicsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5315,7 +5315,7 @@ func (c *ProjectsTopicsDeleteCall) Header() http.Header { func (c *ProjectsTopicsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5457,7 +5457,7 @@ func (c *ProjectsTopicsGetCall) Header() http.Header { func (c *ProjectsTopicsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5619,7 +5619,7 @@ func (c *ProjectsTopicsGetIamPolicyCall) Header() http.Header { func (c *ProjectsTopicsGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5786,7 +5786,7 @@ func (c *ProjectsTopicsListCall) Header() http.Header { func (c *ProjectsTopicsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5955,7 +5955,7 @@ func (c *ProjectsTopicsPatchCall) Header() http.Header { func (c *ProjectsTopicsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6097,7 +6097,7 @@ func (c *ProjectsTopicsPublishCall) Header() http.Header { func (c *ProjectsTopicsPublishCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6240,7 +6240,7 @@ func (c *ProjectsTopicsSetIamPolicyCall) Header() http.Header { func (c *ProjectsTopicsSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6386,7 +6386,7 @@ func (c *ProjectsTopicsTestIamPermissionsCall) Header() http.Header { func (c *ProjectsTopicsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6556,7 +6556,7 @@ func (c *ProjectsTopicsSnapshotsListCall) Header() http.Header { func (c *ProjectsTopicsSnapshotsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6749,7 +6749,7 @@ func (c *ProjectsTopicsSubscriptionsListCall) Header() http.Header { func (c *ProjectsTopicsSubscriptionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/pubsub/v1beta1a/pubsub-gen.go b/pubsub/v1beta1a/pubsub-gen.go index 00e7c5ec337..4f45621d704 100644 --- a/pubsub/v1beta1a/pubsub-gen.go +++ b/pubsub/v1beta1a/pubsub-gen.go @@ -908,7 +908,7 @@ func (c *SubscriptionsAcknowledgeCall) Header() http.Header { func (c *SubscriptionsAcknowledgeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1039,7 +1039,7 @@ func (c *SubscriptionsCreateCall) Header() http.Header { func (c *SubscriptionsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1167,7 +1167,7 @@ func (c *SubscriptionsDeleteCall) Header() http.Header { func (c *SubscriptionsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1309,7 +1309,7 @@ func (c *SubscriptionsGetCall) Header() http.Header { func (c *SubscriptionsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1473,7 +1473,7 @@ func (c *SubscriptionsListCall) Header() http.Header { func (c *SubscriptionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1633,7 +1633,7 @@ func (c *SubscriptionsModifyAckDeadlineCall) Header() http.Header { func (c *SubscriptionsModifyAckDeadlineCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1763,7 +1763,7 @@ func (c *SubscriptionsModifyPushConfigCall) Header() http.Header { func (c *SubscriptionsModifyPushConfigCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1893,7 +1893,7 @@ func (c *SubscriptionsPullCall) Header() http.Header { func (c *SubscriptionsPullCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2022,7 +2022,7 @@ func (c *SubscriptionsPullBatchCall) Header() http.Header { func (c *SubscriptionsPullBatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2148,7 +2148,7 @@ func (c *TopicsCreateCall) Header() http.Header { func (c *TopicsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2276,7 +2276,7 @@ func (c *TopicsDeleteCall) Header() http.Header { func (c *TopicsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2421,7 +2421,7 @@ func (c *TopicsGetCall) Header() http.Header { func (c *TopicsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2585,7 +2585,7 @@ func (c *TopicsListCall) Header() http.Header { func (c *TopicsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2745,7 +2745,7 @@ func (c *TopicsPublishCall) Header() http.Header { func (c *TopicsPublishCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2872,7 +2872,7 @@ func (c *TopicsPublishBatchCall) Header() http.Header { func (c *TopicsPublishBatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/pubsub/v1beta2/pubsub-gen.go b/pubsub/v1beta2/pubsub-gen.go index ab776dbd9dc..299269ad57a 100644 --- a/pubsub/v1beta2/pubsub-gen.go +++ b/pubsub/v1beta2/pubsub-gen.go @@ -1210,7 +1210,7 @@ func (c *ProjectsSubscriptionsAcknowledgeCall) Header() http.Header { func (c *ProjectsSubscriptionsAcknowledgeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1356,7 +1356,7 @@ func (c *ProjectsSubscriptionsCreateCall) Header() http.Header { func (c *ProjectsSubscriptionsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1500,7 +1500,7 @@ func (c *ProjectsSubscriptionsDeleteCall) Header() http.Header { func (c *ProjectsSubscriptionsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1642,7 +1642,7 @@ func (c *ProjectsSubscriptionsGetCall) Header() http.Header { func (c *ProjectsSubscriptionsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1804,7 +1804,7 @@ func (c *ProjectsSubscriptionsGetIamPolicyCall) Header() http.Header { func (c *ProjectsSubscriptionsGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1971,7 +1971,7 @@ func (c *ProjectsSubscriptionsListCall) Header() http.Header { func (c *ProjectsSubscriptionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2144,7 +2144,7 @@ func (c *ProjectsSubscriptionsModifyAckDeadlineCall) Header() http.Header { func (c *ProjectsSubscriptionsModifyAckDeadlineCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2290,7 +2290,7 @@ func (c *ProjectsSubscriptionsModifyPushConfigCall) Header() http.Header { func (c *ProjectsSubscriptionsModifyPushConfigCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2434,7 +2434,7 @@ func (c *ProjectsSubscriptionsPullCall) Header() http.Header { func (c *ProjectsSubscriptionsPullCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2577,7 +2577,7 @@ func (c *ProjectsSubscriptionsSetIamPolicyCall) Header() http.Header { func (c *ProjectsSubscriptionsSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2723,7 +2723,7 @@ func (c *ProjectsSubscriptionsTestIamPermissionsCall) Header() http.Header { func (c *ProjectsSubscriptionsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2864,7 +2864,7 @@ func (c *ProjectsTopicsCreateCall) Header() http.Header { func (c *ProjectsTopicsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3008,7 +3008,7 @@ func (c *ProjectsTopicsDeleteCall) Header() http.Header { func (c *ProjectsTopicsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3150,7 +3150,7 @@ func (c *ProjectsTopicsGetCall) Header() http.Header { func (c *ProjectsTopicsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3312,7 +3312,7 @@ func (c *ProjectsTopicsGetIamPolicyCall) Header() http.Header { func (c *ProjectsTopicsGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3479,7 +3479,7 @@ func (c *ProjectsTopicsListCall) Header() http.Header { func (c *ProjectsTopicsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3650,7 +3650,7 @@ func (c *ProjectsTopicsPublishCall) Header() http.Header { func (c *ProjectsTopicsPublishCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3793,7 +3793,7 @@ func (c *ProjectsTopicsSetIamPolicyCall) Header() http.Header { func (c *ProjectsTopicsSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3939,7 +3939,7 @@ func (c *ProjectsTopicsTestIamPermissionsCall) Header() http.Header { func (c *ProjectsTopicsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4105,7 +4105,7 @@ func (c *ProjectsTopicsSubscriptionsListCall) Header() http.Header { func (c *ProjectsTopicsSubscriptionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/pubsublite/v1/pubsublite-gen.go b/pubsublite/v1/pubsublite-gen.go index fbb77e9fdd9..e65751388f6 100644 --- a/pubsublite/v1/pubsublite-gen.go +++ b/pubsublite/v1/pubsublite-gen.go @@ -944,7 +944,7 @@ func (c *AdminProjectsLocationsSubscriptionsCreateCall) Header() http.Header { func (c *AdminProjectsLocationsSubscriptionsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1087,7 +1087,7 @@ func (c *AdminProjectsLocationsSubscriptionsDeleteCall) Header() http.Header { func (c *AdminProjectsLocationsSubscriptionsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1228,7 +1228,7 @@ func (c *AdminProjectsLocationsSubscriptionsGetCall) Header() http.Header { func (c *AdminProjectsLocationsSubscriptionsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1391,7 +1391,7 @@ func (c *AdminProjectsLocationsSubscriptionsListCall) Header() http.Header { func (c *AdminProjectsLocationsSubscriptionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1565,7 +1565,7 @@ func (c *AdminProjectsLocationsSubscriptionsPatchCall) Header() http.Header { func (c *AdminProjectsLocationsSubscriptionsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1719,7 +1719,7 @@ func (c *AdminProjectsLocationsTopicsCreateCall) Header() http.Header { func (c *AdminProjectsLocationsTopicsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1862,7 +1862,7 @@ func (c *AdminProjectsLocationsTopicsDeleteCall) Header() http.Header { func (c *AdminProjectsLocationsTopicsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2003,7 +2003,7 @@ func (c *AdminProjectsLocationsTopicsGetCall) Header() http.Header { func (c *AdminProjectsLocationsTopicsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2148,7 +2148,7 @@ func (c *AdminProjectsLocationsTopicsGetPartitionsCall) Header() http.Header { func (c *AdminProjectsLocationsTopicsGetPartitionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2309,7 +2309,7 @@ func (c *AdminProjectsLocationsTopicsListCall) Header() http.Header { func (c *AdminProjectsLocationsTopicsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2483,7 +2483,7 @@ func (c *AdminProjectsLocationsTopicsPatchCall) Header() http.Header { func (c *AdminProjectsLocationsTopicsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2657,7 +2657,7 @@ func (c *AdminProjectsLocationsTopicsSubscriptionsListCall) Header() http.Header func (c *AdminProjectsLocationsTopicsSubscriptionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2851,7 +2851,7 @@ func (c *CursorProjectsLocationsSubscriptionsCursorsListCall) Header() http.Head func (c *CursorProjectsLocationsSubscriptionsCursorsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3019,7 +3019,7 @@ func (c *TopicStatsProjectsLocationsTopicsComputeMessageStatsCall) Header() http func (c *TopicStatsProjectsLocationsTopicsComputeMessageStatsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/realtimebidding/v1/realtimebidding-gen.go b/realtimebidding/v1/realtimebidding-gen.go index 05aa6c1342d..dfb903c6a74 100644 --- a/realtimebidding/v1/realtimebidding-gen.go +++ b/realtimebidding/v1/realtimebidding-gen.go @@ -2558,7 +2558,7 @@ func (c *BiddersCreativesListCall) Header() http.Header { func (c *BiddersCreativesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2751,7 +2751,7 @@ func (c *BiddersCreativesWatchCall) Header() http.Header { func (c *BiddersCreativesWatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2891,7 +2891,7 @@ func (c *BiddersPretargetingConfigsActivateCall) Header() http.Header { func (c *BiddersPretargetingConfigsActivateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3032,7 +3032,7 @@ func (c *BiddersPretargetingConfigsAddTargetedAppsCall) Header() http.Header { func (c *BiddersPretargetingConfigsAddTargetedAppsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3173,7 +3173,7 @@ func (c *BiddersPretargetingConfigsAddTargetedPublishersCall) Header() http.Head func (c *BiddersPretargetingConfigsAddTargetedPublishersCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3314,7 +3314,7 @@ func (c *BiddersPretargetingConfigsAddTargetedSitesCall) Header() http.Header { func (c *BiddersPretargetingConfigsAddTargetedSitesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3458,7 +3458,7 @@ func (c *BiddersPretargetingConfigsCreateCall) Header() http.Header { func (c *BiddersPretargetingConfigsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3596,7 +3596,7 @@ func (c *BiddersPretargetingConfigsDeleteCall) Header() http.Header { func (c *BiddersPretargetingConfigsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3737,7 +3737,7 @@ func (c *BiddersPretargetingConfigsGetCall) Header() http.Header { func (c *BiddersPretargetingConfigsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3899,7 +3899,7 @@ func (c *BiddersPretargetingConfigsListCall) Header() http.Header { func (c *BiddersPretargetingConfigsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4073,7 +4073,7 @@ func (c *BiddersPretargetingConfigsPatchCall) Header() http.Header { func (c *BiddersPretargetingConfigsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4220,7 +4220,7 @@ func (c *BiddersPretargetingConfigsRemoveTargetedAppsCall) Header() http.Header func (c *BiddersPretargetingConfigsRemoveTargetedAppsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4361,7 +4361,7 @@ func (c *BiddersPretargetingConfigsRemoveTargetedPublishersCall) Header() http.H func (c *BiddersPretargetingConfigsRemoveTargetedPublishersCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4502,7 +4502,7 @@ func (c *BiddersPretargetingConfigsRemoveTargetedSitesCall) Header() http.Header func (c *BiddersPretargetingConfigsRemoveTargetedSitesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4642,7 +4642,7 @@ func (c *BiddersPretargetingConfigsSuspendCall) Header() http.Header { func (c *BiddersPretargetingConfigsSuspendCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4794,7 +4794,7 @@ func (c *BuyersGetRemarketingTagCall) Header() http.Header { func (c *BuyersGetRemarketingTagCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4929,7 +4929,7 @@ func (c *BuyersCreativesCreateCall) Header() http.Header { func (c *BuyersCreativesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5096,7 +5096,7 @@ func (c *BuyersCreativesGetCall) Header() http.Header { func (c *BuyersCreativesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5302,7 +5302,7 @@ func (c *BuyersCreativesListCall) Header() http.Header { func (c *BuyersCreativesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5496,7 +5496,7 @@ func (c *BuyersCreativesPatchCall) Header() http.Header { func (c *BuyersCreativesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5643,7 +5643,7 @@ func (c *BuyersUserListsCloseCall) Header() http.Header { func (c *BuyersUserListsCloseCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5783,7 +5783,7 @@ func (c *BuyersUserListsCreateCall) Header() http.Header { func (c *BuyersUserListsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5932,7 +5932,7 @@ func (c *BuyersUserListsGetCall) Header() http.Header { func (c *BuyersUserListsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6079,7 +6079,7 @@ func (c *BuyersUserListsGetRemarketingTagCall) Header() http.Header { func (c *BuyersUserListsGetRemarketingTagCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6237,7 +6237,7 @@ func (c *BuyersUserListsListCall) Header() http.Header { func (c *BuyersUserListsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6405,7 +6405,7 @@ func (c *BuyersUserListsOpenCall) Header() http.Header { func (c *BuyersUserListsOpenCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6546,7 +6546,7 @@ func (c *BuyersUserListsUpdateCall) Header() http.Header { func (c *BuyersUserListsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/recommendationengine/v1beta1/recommendationengine-gen.go b/recommendationengine/v1beta1/recommendationengine-gen.go index ef06e206561..8ee6cbf5976 100644 --- a/recommendationengine/v1beta1/recommendationengine-gen.go +++ b/recommendationengine/v1beta1/recommendationengine-gen.go @@ -2645,7 +2645,7 @@ func (c *ProjectsLocationsCatalogsListCall) Header() http.Header { func (c *ProjectsLocationsCatalogsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2824,7 +2824,7 @@ func (c *ProjectsLocationsCatalogsPatchCall) Header() http.Header { func (c *ProjectsLocationsCatalogsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2972,7 +2972,7 @@ func (c *ProjectsLocationsCatalogsCatalogItemsCreateCall) Header() http.Header { func (c *ProjectsLocationsCatalogsCatalogItemsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3112,7 +3112,7 @@ func (c *ProjectsLocationsCatalogsCatalogItemsDeleteCall) Header() http.Header { func (c *ProjectsLocationsCatalogsCatalogItemsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3253,7 +3253,7 @@ func (c *ProjectsLocationsCatalogsCatalogItemsGetCall) Header() http.Header { func (c *ProjectsLocationsCatalogsCatalogItemsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3394,7 +3394,7 @@ func (c *ProjectsLocationsCatalogsCatalogItemsImportCall) Header() http.Header { func (c *ProjectsLocationsCatalogsCatalogItemsImportCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3565,7 +3565,7 @@ func (c *ProjectsLocationsCatalogsCatalogItemsListCall) Header() http.Header { func (c *ProjectsLocationsCatalogsCatalogItemsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3749,7 +3749,7 @@ func (c *ProjectsLocationsCatalogsCatalogItemsPatchCall) Header() http.Header { func (c *ProjectsLocationsCatalogsCatalogItemsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3908,7 +3908,7 @@ func (c *ProjectsLocationsCatalogsEventStoresOperationsGetCall) Header() http.He func (c *ProjectsLocationsCatalogsEventStoresOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4082,7 +4082,7 @@ func (c *ProjectsLocationsCatalogsEventStoresOperationsListCall) Header() http.H func (c *ProjectsLocationsCatalogsEventStoresOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4259,7 +4259,7 @@ func (c *ProjectsLocationsCatalogsEventStoresPlacementsPredictCall) Header() htt func (c *ProjectsLocationsCatalogsEventStoresPlacementsPredictCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4422,7 +4422,7 @@ func (c *ProjectsLocationsCatalogsEventStoresPredictionApiKeyRegistrationsCreate func (c *ProjectsLocationsCatalogsEventStoresPredictionApiKeyRegistrationsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4563,7 +4563,7 @@ func (c *ProjectsLocationsCatalogsEventStoresPredictionApiKeyRegistrationsDelete func (c *ProjectsLocationsCatalogsEventStoresPredictionApiKeyRegistrationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4719,7 +4719,7 @@ func (c *ProjectsLocationsCatalogsEventStoresPredictionApiKeyRegistrationsListCa func (c *ProjectsLocationsCatalogsEventStoresPredictionApiKeyRegistrationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4926,7 +4926,7 @@ func (c *ProjectsLocationsCatalogsEventStoresUserEventsCollectCall) Header() htt func (c *ProjectsLocationsCatalogsEventStoresUserEventsCollectCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5082,7 +5082,7 @@ func (c *ProjectsLocationsCatalogsEventStoresUserEventsImportCall) Header() http func (c *ProjectsLocationsCatalogsEventStoresUserEventsImportCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5279,7 +5279,7 @@ func (c *ProjectsLocationsCatalogsEventStoresUserEventsListCall) Header() http.H func (c *ProjectsLocationsCatalogsEventStoresUserEventsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5457,7 +5457,7 @@ func (c *ProjectsLocationsCatalogsEventStoresUserEventsPurgeCall) Header() http. func (c *ProjectsLocationsCatalogsEventStoresUserEventsPurgeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5604,7 +5604,7 @@ func (c *ProjectsLocationsCatalogsEventStoresUserEventsRejoinCall) Header() http func (c *ProjectsLocationsCatalogsEventStoresUserEventsRejoinCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5744,7 +5744,7 @@ func (c *ProjectsLocationsCatalogsEventStoresUserEventsWriteCall) Header() http. func (c *ProjectsLocationsCatalogsEventStoresUserEventsWriteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5897,7 +5897,7 @@ func (c *ProjectsLocationsCatalogsOperationsGetCall) Header() http.Header { func (c *ProjectsLocationsCatalogsOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6071,7 +6071,7 @@ func (c *ProjectsLocationsCatalogsOperationsListCall) Header() http.Header { func (c *ProjectsLocationsCatalogsOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/recommender/v1/recommender-gen.go b/recommender/v1/recommender-gen.go index 6a16267fc58..56bc0285770 100644 --- a/recommender/v1/recommender-gen.go +++ b/recommender/v1/recommender-gen.go @@ -1104,7 +1104,7 @@ func (c *ProjectsLocationsInsightTypesInsightsGetCall) Header() http.Header { func (c *ProjectsLocationsInsightTypesInsightsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1276,7 +1276,7 @@ func (c *ProjectsLocationsInsightTypesInsightsListCall) Header() http.Header { func (c *ProjectsLocationsInsightTypesInsightsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1455,7 +1455,7 @@ func (c *ProjectsLocationsInsightTypesInsightsMarkAcceptedCall) Header() http.He func (c *ProjectsLocationsInsightTypesInsightsMarkAcceptedCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1605,7 +1605,7 @@ func (c *ProjectsLocationsRecommendersRecommendationsGetCall) Header() http.Head func (c *ProjectsLocationsRecommendersRecommendationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1779,7 +1779,7 @@ func (c *ProjectsLocationsRecommendersRecommendationsListCall) Header() http.Hea func (c *ProjectsLocationsRecommendersRecommendationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1960,7 +1960,7 @@ func (c *ProjectsLocationsRecommendersRecommendationsMarkClaimedCall) Header() h func (c *ProjectsLocationsRecommendersRecommendationsMarkClaimedCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2108,7 +2108,7 @@ func (c *ProjectsLocationsRecommendersRecommendationsMarkFailedCall) Header() ht func (c *ProjectsLocationsRecommendersRecommendationsMarkFailedCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2256,7 +2256,7 @@ func (c *ProjectsLocationsRecommendersRecommendationsMarkSucceededCall) Header() func (c *ProjectsLocationsRecommendersRecommendationsMarkSucceededCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/recommender/v1beta1/recommender-gen.go b/recommender/v1beta1/recommender-gen.go index 6daddf723bd..23bc461cfa5 100644 --- a/recommender/v1beta1/recommender-gen.go +++ b/recommender/v1beta1/recommender-gen.go @@ -1176,7 +1176,7 @@ func (c *BillingAccountsLocationsInsightTypesInsightsGetCall) Header() http.Head func (c *BillingAccountsLocationsInsightTypesInsightsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1349,7 +1349,7 @@ func (c *BillingAccountsLocationsInsightTypesInsightsListCall) Header() http.Hea func (c *BillingAccountsLocationsInsightTypesInsightsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1528,7 +1528,7 @@ func (c *BillingAccountsLocationsInsightTypesInsightsMarkAcceptedCall) Header() func (c *BillingAccountsLocationsInsightTypesInsightsMarkAcceptedCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1679,7 +1679,7 @@ func (c *BillingAccountsLocationsRecommendersRecommendationsGetCall) Header() ht func (c *BillingAccountsLocationsRecommendersRecommendationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1854,7 +1854,7 @@ func (c *BillingAccountsLocationsRecommendersRecommendationsListCall) Header() h func (c *BillingAccountsLocationsRecommendersRecommendationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2035,7 +2035,7 @@ func (c *BillingAccountsLocationsRecommendersRecommendationsMarkClaimedCall) Hea func (c *BillingAccountsLocationsRecommendersRecommendationsMarkClaimedCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2184,7 +2184,7 @@ func (c *BillingAccountsLocationsRecommendersRecommendationsMarkFailedCall) Head func (c *BillingAccountsLocationsRecommendersRecommendationsMarkFailedCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2333,7 +2333,7 @@ func (c *BillingAccountsLocationsRecommendersRecommendationsMarkSucceededCall) H func (c *BillingAccountsLocationsRecommendersRecommendationsMarkSucceededCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2485,7 +2485,7 @@ func (c *ProjectsLocationsInsightTypesInsightsGetCall) Header() http.Header { func (c *ProjectsLocationsInsightTypesInsightsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2658,7 +2658,7 @@ func (c *ProjectsLocationsInsightTypesInsightsListCall) Header() http.Header { func (c *ProjectsLocationsInsightTypesInsightsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2837,7 +2837,7 @@ func (c *ProjectsLocationsInsightTypesInsightsMarkAcceptedCall) Header() http.He func (c *ProjectsLocationsInsightTypesInsightsMarkAcceptedCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2988,7 +2988,7 @@ func (c *ProjectsLocationsRecommendersRecommendationsGetCall) Header() http.Head func (c *ProjectsLocationsRecommendersRecommendationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3163,7 +3163,7 @@ func (c *ProjectsLocationsRecommendersRecommendationsListCall) Header() http.Hea func (c *ProjectsLocationsRecommendersRecommendationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3344,7 +3344,7 @@ func (c *ProjectsLocationsRecommendersRecommendationsMarkClaimedCall) Header() h func (c *ProjectsLocationsRecommendersRecommendationsMarkClaimedCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3493,7 +3493,7 @@ func (c *ProjectsLocationsRecommendersRecommendationsMarkFailedCall) Header() ht func (c *ProjectsLocationsRecommendersRecommendationsMarkFailedCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3642,7 +3642,7 @@ func (c *ProjectsLocationsRecommendersRecommendationsMarkSucceededCall) Header() func (c *ProjectsLocationsRecommendersRecommendationsMarkSucceededCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/redis/v1/redis-gen.go b/redis/v1/redis-gen.go index 75ad30a74a0..6e4267542fa 100644 --- a/redis/v1/redis-gen.go +++ b/redis/v1/redis-gen.go @@ -1118,7 +1118,7 @@ func (c *ProjectsLocationsGetCall) Header() http.Header { func (c *ProjectsLocationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1284,7 +1284,7 @@ func (c *ProjectsLocationsListCall) Header() http.Header { func (c *ProjectsLocationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1475,7 +1475,7 @@ func (c *ProjectsLocationsInstancesCreateCall) Header() http.Header { func (c *ProjectsLocationsInstancesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1619,7 +1619,7 @@ func (c *ProjectsLocationsInstancesDeleteCall) Header() http.Header { func (c *ProjectsLocationsInstancesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1754,7 +1754,7 @@ func (c *ProjectsLocationsInstancesExportCall) Header() http.Header { func (c *ProjectsLocationsInstancesExportCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1896,7 +1896,7 @@ func (c *ProjectsLocationsInstancesFailoverCall) Header() http.Header { func (c *ProjectsLocationsInstancesFailoverCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2045,7 +2045,7 @@ func (c *ProjectsLocationsInstancesGetCall) Header() http.Header { func (c *ProjectsLocationsInstancesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2191,7 +2191,7 @@ func (c *ProjectsLocationsInstancesGetAuthStringCall) Header() http.Header { func (c *ProjectsLocationsInstancesGetAuthStringCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2331,7 +2331,7 @@ func (c *ProjectsLocationsInstancesImportCall) Header() http.Header { func (c *ProjectsLocationsInstancesImportCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2504,7 +2504,7 @@ func (c *ProjectsLocationsInstancesListCall) Header() http.Header { func (c *ProjectsLocationsInstancesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2685,7 +2685,7 @@ func (c *ProjectsLocationsInstancesPatchCall) Header() http.Header { func (c *ProjectsLocationsInstancesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2832,7 +2832,7 @@ func (c *ProjectsLocationsInstancesUpgradeCall) Header() http.Header { func (c *ProjectsLocationsInstancesUpgradeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2979,7 +2979,7 @@ func (c *ProjectsLocationsOperationsCancelCall) Header() http.Header { func (c *ProjectsLocationsOperationsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3112,7 +3112,7 @@ func (c *ProjectsLocationsOperationsDeleteCall) Header() http.Header { func (c *ProjectsLocationsOperationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3255,7 +3255,7 @@ func (c *ProjectsLocationsOperationsGetCall) Header() http.Header { func (c *ProjectsLocationsOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3429,7 +3429,7 @@ func (c *ProjectsLocationsOperationsListCall) Header() http.Header { func (c *ProjectsLocationsOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/redis/v1beta1/redis-gen.go b/redis/v1beta1/redis-gen.go index 1574e86f0fd..23419302027 100644 --- a/redis/v1beta1/redis-gen.go +++ b/redis/v1beta1/redis-gen.go @@ -1123,7 +1123,7 @@ func (c *ProjectsLocationsGetCall) Header() http.Header { func (c *ProjectsLocationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1289,7 +1289,7 @@ func (c *ProjectsLocationsListCall) Header() http.Header { func (c *ProjectsLocationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1480,7 +1480,7 @@ func (c *ProjectsLocationsInstancesCreateCall) Header() http.Header { func (c *ProjectsLocationsInstancesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1624,7 +1624,7 @@ func (c *ProjectsLocationsInstancesDeleteCall) Header() http.Header { func (c *ProjectsLocationsInstancesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1759,7 +1759,7 @@ func (c *ProjectsLocationsInstancesExportCall) Header() http.Header { func (c *ProjectsLocationsInstancesExportCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1901,7 +1901,7 @@ func (c *ProjectsLocationsInstancesFailoverCall) Header() http.Header { func (c *ProjectsLocationsInstancesFailoverCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2050,7 +2050,7 @@ func (c *ProjectsLocationsInstancesGetCall) Header() http.Header { func (c *ProjectsLocationsInstancesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2196,7 +2196,7 @@ func (c *ProjectsLocationsInstancesGetAuthStringCall) Header() http.Header { func (c *ProjectsLocationsInstancesGetAuthStringCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2336,7 +2336,7 @@ func (c *ProjectsLocationsInstancesImportCall) Header() http.Header { func (c *ProjectsLocationsInstancesImportCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2509,7 +2509,7 @@ func (c *ProjectsLocationsInstancesListCall) Header() http.Header { func (c *ProjectsLocationsInstancesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2690,7 +2690,7 @@ func (c *ProjectsLocationsInstancesPatchCall) Header() http.Header { func (c *ProjectsLocationsInstancesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2837,7 +2837,7 @@ func (c *ProjectsLocationsInstancesUpgradeCall) Header() http.Header { func (c *ProjectsLocationsInstancesUpgradeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2984,7 +2984,7 @@ func (c *ProjectsLocationsOperationsCancelCall) Header() http.Header { func (c *ProjectsLocationsOperationsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3117,7 +3117,7 @@ func (c *ProjectsLocationsOperationsDeleteCall) Header() http.Header { func (c *ProjectsLocationsOperationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3260,7 +3260,7 @@ func (c *ProjectsLocationsOperationsGetCall) Header() http.Header { func (c *ProjectsLocationsOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3434,7 +3434,7 @@ func (c *ProjectsLocationsOperationsListCall) Header() http.Header { func (c *ProjectsLocationsOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/remotebuildexecution/v1/remotebuildexecution-gen.go b/remotebuildexecution/v1/remotebuildexecution-gen.go index 703f03b2704..efb9060500e 100644 --- a/remotebuildexecution/v1/remotebuildexecution-gen.go +++ b/remotebuildexecution/v1/remotebuildexecution-gen.go @@ -3346,7 +3346,7 @@ func (c *MediaDownloadCall) Header() http.Header { func (c *MediaDownloadCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3539,7 +3539,7 @@ func (c *MediaUploadCall) Header() http.Header { func (c *MediaUploadCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3728,7 +3728,7 @@ func (c *OperationsCancelCall) Header() http.Header { func (c *OperationsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3869,7 +3869,7 @@ func (c *OperationsDeleteCall) Header() http.Header { func (c *OperationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4040,7 +4040,7 @@ func (c *OperationsListCall) Header() http.Header { func (c *OperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4224,7 +4224,7 @@ func (c *ProjectsOperationsGetCall) Header() http.Header { func (c *ProjectsOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/remotebuildexecution/v1alpha/remotebuildexecution-gen.go b/remotebuildexecution/v1alpha/remotebuildexecution-gen.go index 98ad689d44a..8ddde00c725 100644 --- a/remotebuildexecution/v1alpha/remotebuildexecution-gen.go +++ b/remotebuildexecution/v1alpha/remotebuildexecution-gen.go @@ -3269,7 +3269,7 @@ func (c *ProjectsInstancesCreateCall) Header() http.Header { func (c *ProjectsInstancesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3410,7 +3410,7 @@ func (c *ProjectsInstancesDeleteCall) Header() http.Header { func (c *ProjectsInstancesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3551,7 +3551,7 @@ func (c *ProjectsInstancesGetCall) Header() http.Header { func (c *ProjectsInstancesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3698,7 +3698,7 @@ func (c *ProjectsInstancesListCall) Header() http.Header { func (c *ProjectsInstancesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3863,7 +3863,7 @@ func (c *ProjectsInstancesPatchCall) Header() http.Header { func (c *ProjectsInstancesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4023,7 +4023,7 @@ func (c *ProjectsInstancesWorkerpoolsCreateCall) Header() http.Header { func (c *ProjectsInstancesWorkerpoolsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4164,7 +4164,7 @@ func (c *ProjectsInstancesWorkerpoolsDeleteCall) Header() http.Header { func (c *ProjectsInstancesWorkerpoolsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4305,7 +4305,7 @@ func (c *ProjectsInstancesWorkerpoolsGetCall) Header() http.Header { func (c *ProjectsInstancesWorkerpoolsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4474,7 +4474,7 @@ func (c *ProjectsInstancesWorkerpoolsListCall) Header() http.Header { func (c *ProjectsInstancesWorkerpoolsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4621,7 +4621,7 @@ func (c *ProjectsInstancesWorkerpoolsPatchCall) Header() http.Header { func (c *ProjectsInstancesWorkerpoolsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4772,7 +4772,7 @@ func (c *ProjectsOperationsGetCall) Header() http.Header { func (c *ProjectsOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/remotebuildexecution/v2/remotebuildexecution-gen.go b/remotebuildexecution/v2/remotebuildexecution-gen.go index 8f22f0ac34f..4e6e4245724 100644 --- a/remotebuildexecution/v2/remotebuildexecution-gen.go +++ b/remotebuildexecution/v2/remotebuildexecution-gen.go @@ -4065,7 +4065,7 @@ func (c *ActionResultsGetCall) Header() http.Header { func (c *ActionResultsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4260,7 +4260,7 @@ func (c *ActionResultsUpdateCall) Header() http.Header { func (c *ActionResultsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4467,7 +4467,7 @@ func (c *ActionsExecuteCall) Header() http.Header { func (c *ActionsExecuteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4616,7 +4616,7 @@ func (c *BlobsBatchReadCall) Header() http.Header { func (c *BlobsBatchReadCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4769,7 +4769,7 @@ func (c *BlobsBatchUpdateCall) Header() http.Header { func (c *BlobsBatchUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4915,7 +4915,7 @@ func (c *BlobsFindMissingCall) Header() http.Header { func (c *BlobsFindMissingCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5103,7 +5103,7 @@ func (c *BlobsGetTreeCall) Header() http.Header { func (c *BlobsGetTreeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5295,7 +5295,7 @@ func (c *OperationsWaitExecutionCall) Header() http.Header { func (c *OperationsWaitExecutionCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5450,7 +5450,7 @@ func (c *V2GetCapabilitiesCall) Header() http.Header { func (c *V2GetCapabilitiesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/reseller/v1/reseller-gen.go b/reseller/v1/reseller-gen.go index b5959cd61ea..0c178ce77bb 100644 --- a/reseller/v1/reseller-gen.go +++ b/reseller/v1/reseller-gen.go @@ -929,7 +929,7 @@ func (c *CustomersGetCall) Header() http.Header { func (c *CustomersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1074,7 +1074,7 @@ func (c *CustomersInsertCall) Header() http.Header { func (c *CustomersInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1208,7 +1208,7 @@ func (c *CustomersPatchCall) Header() http.Header { func (c *CustomersPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1347,7 +1347,7 @@ func (c *CustomersUpdateCall) Header() http.Header { func (c *CustomersUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1494,7 +1494,7 @@ func (c *ResellernotifyGetwatchdetailsCall) Header() http.Header { func (c *ResellernotifyGetwatchdetailsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1622,7 +1622,7 @@ func (c *ResellernotifyRegisterCall) Header() http.Header { func (c *ResellernotifyRegisterCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1751,7 +1751,7 @@ func (c *ResellernotifyUnregisterCall) Header() http.Header { func (c *ResellernotifyUnregisterCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1877,7 +1877,7 @@ func (c *SubscriptionsActivateCall) Header() http.Header { func (c *SubscriptionsActivateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2020,7 +2020,7 @@ func (c *SubscriptionsChangePlanCall) Header() http.Header { func (c *SubscriptionsChangePlanCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2170,7 +2170,7 @@ func (c *SubscriptionsChangeRenewalSettingsCall) Header() http.Header { func (c *SubscriptionsChangeRenewalSettingsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2319,7 +2319,7 @@ func (c *SubscriptionsChangeSeatsCall) Header() http.Header { func (c *SubscriptionsChangeSeatsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2467,7 +2467,7 @@ func (c *SubscriptionsDeleteCall) Header() http.Header { func (c *SubscriptionsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2606,7 +2606,7 @@ func (c *SubscriptionsGetCall) Header() http.Header { func (c *SubscriptionsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2761,7 +2761,7 @@ func (c *SubscriptionsInsertCall) Header() http.Header { func (c *SubscriptionsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2965,7 +2965,7 @@ func (c *SubscriptionsListCall) Header() http.Header { func (c *SubscriptionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3139,7 +3139,7 @@ func (c *SubscriptionsStartPaidServiceCall) Header() http.Header { func (c *SubscriptionsStartPaidServiceCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3278,7 +3278,7 @@ func (c *SubscriptionsSuspendCall) Header() http.Header { func (c *SubscriptionsSuspendCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/run/v1/run-gen.go b/run/v1/run-gen.go index 5892bffe765..d009d244f76 100644 --- a/run/v1/run-gen.go +++ b/run/v1/run-gen.go @@ -3686,7 +3686,7 @@ func (c *NamespacesAuthorizeddomainsListCall) Header() http.Header { func (c *NamespacesAuthorizeddomainsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3862,7 +3862,7 @@ func (c *NamespacesConfigurationsGetCall) Header() http.Header { func (c *NamespacesConfigurationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4060,7 +4060,7 @@ func (c *NamespacesConfigurationsListCall) Header() http.Header { func (c *NamespacesConfigurationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4231,7 +4231,7 @@ func (c *NamespacesDomainmappingsCreateCall) Header() http.Header { func (c *NamespacesDomainmappingsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4393,7 +4393,7 @@ func (c *NamespacesDomainmappingsDeleteCall) Header() http.Header { func (c *NamespacesDomainmappingsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4549,7 +4549,7 @@ func (c *NamespacesDomainmappingsGetCall) Header() http.Header { func (c *NamespacesDomainmappingsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4747,7 +4747,7 @@ func (c *NamespacesDomainmappingsListCall) Header() http.Header { func (c *NamespacesDomainmappingsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4940,7 +4940,7 @@ func (c *NamespacesRevisionsDeleteCall) Header() http.Header { func (c *NamespacesRevisionsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5096,7 +5096,7 @@ func (c *NamespacesRevisionsGetCall) Header() http.Header { func (c *NamespacesRevisionsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5294,7 +5294,7 @@ func (c *NamespacesRevisionsListCall) Header() http.Header { func (c *NamespacesRevisionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5474,7 +5474,7 @@ func (c *NamespacesRoutesGetCall) Header() http.Header { func (c *NamespacesRoutesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5672,7 +5672,7 @@ func (c *NamespacesRoutesListCall) Header() http.Header { func (c *NamespacesRoutesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5843,7 +5843,7 @@ func (c *NamespacesServicesCreateCall) Header() http.Header { func (c *NamespacesServicesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6007,7 +6007,7 @@ func (c *NamespacesServicesDeleteCall) Header() http.Header { func (c *NamespacesServicesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6163,7 +6163,7 @@ func (c *NamespacesServicesGetCall) Header() http.Header { func (c *NamespacesServicesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6361,7 +6361,7 @@ func (c *NamespacesServicesListCall) Header() http.Header { func (c *NamespacesServicesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6536,7 +6536,7 @@ func (c *NamespacesServicesReplaceServiceCall) Header() http.Header { func (c *NamespacesServicesReplaceServiceCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6699,7 +6699,7 @@ func (c *ProjectsAuthorizeddomainsListCall) Header() http.Header { func (c *ProjectsAuthorizeddomainsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6897,7 +6897,7 @@ func (c *ProjectsLocationsListCall) Header() http.Header { func (c *ProjectsLocationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7092,7 +7092,7 @@ func (c *ProjectsLocationsAuthorizeddomainsListCall) Header() http.Header { func (c *ProjectsLocationsAuthorizeddomainsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7268,7 +7268,7 @@ func (c *ProjectsLocationsConfigurationsGetCall) Header() http.Header { func (c *ProjectsLocationsConfigurationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7466,7 +7466,7 @@ func (c *ProjectsLocationsConfigurationsListCall) Header() http.Header { func (c *ProjectsLocationsConfigurationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7637,7 +7637,7 @@ func (c *ProjectsLocationsDomainmappingsCreateCall) Header() http.Header { func (c *ProjectsLocationsDomainmappingsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7799,7 +7799,7 @@ func (c *ProjectsLocationsDomainmappingsDeleteCall) Header() http.Header { func (c *ProjectsLocationsDomainmappingsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7955,7 +7955,7 @@ func (c *ProjectsLocationsDomainmappingsGetCall) Header() http.Header { func (c *ProjectsLocationsDomainmappingsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8153,7 +8153,7 @@ func (c *ProjectsLocationsDomainmappingsListCall) Header() http.Header { func (c *ProjectsLocationsDomainmappingsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8346,7 +8346,7 @@ func (c *ProjectsLocationsRevisionsDeleteCall) Header() http.Header { func (c *ProjectsLocationsRevisionsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8502,7 +8502,7 @@ func (c *ProjectsLocationsRevisionsGetCall) Header() http.Header { func (c *ProjectsLocationsRevisionsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8700,7 +8700,7 @@ func (c *ProjectsLocationsRevisionsListCall) Header() http.Header { func (c *ProjectsLocationsRevisionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8880,7 +8880,7 @@ func (c *ProjectsLocationsRoutesGetCall) Header() http.Header { func (c *ProjectsLocationsRoutesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9078,7 +9078,7 @@ func (c *ProjectsLocationsRoutesListCall) Header() http.Header { func (c *ProjectsLocationsRoutesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9249,7 +9249,7 @@ func (c *ProjectsLocationsServicesCreateCall) Header() http.Header { func (c *ProjectsLocationsServicesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9413,7 +9413,7 @@ func (c *ProjectsLocationsServicesDeleteCall) Header() http.Header { func (c *ProjectsLocationsServicesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9569,7 +9569,7 @@ func (c *ProjectsLocationsServicesGetCall) Header() http.Header { func (c *ProjectsLocationsServicesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9730,7 +9730,7 @@ func (c *ProjectsLocationsServicesGetIamPolicyCall) Header() http.Header { func (c *ProjectsLocationsServicesGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9934,7 +9934,7 @@ func (c *ProjectsLocationsServicesListCall) Header() http.Header { func (c *ProjectsLocationsServicesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10109,7 +10109,7 @@ func (c *ProjectsLocationsServicesReplaceServiceCall) Header() http.Header { func (c *ProjectsLocationsServicesReplaceServiceCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10250,7 +10250,7 @@ func (c *ProjectsLocationsServicesSetIamPolicyCall) Header() http.Header { func (c *ProjectsLocationsServicesSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10392,7 +10392,7 @@ func (c *ProjectsLocationsServicesTestIamPermissionsCall) Header() http.Header { func (c *ProjectsLocationsServicesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/run/v1alpha1/run-gen.go b/run/v1alpha1/run-gen.go index d8de4572b08..dd2b753027b 100644 --- a/run/v1alpha1/run-gen.go +++ b/run/v1alpha1/run-gen.go @@ -5543,7 +5543,7 @@ func (c *NamespacesAuthorizeddomainsListCall) Header() http.Header { func (c *NamespacesAuthorizeddomainsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5710,7 +5710,7 @@ func (c *NamespacesCloudauditlogssourcesCreateCall) Header() http.Header { func (c *NamespacesCloudauditlogssourcesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5872,7 +5872,7 @@ func (c *NamespacesCloudauditlogssourcesDeleteCall) Header() http.Header { func (c *NamespacesCloudauditlogssourcesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6028,7 +6028,7 @@ func (c *NamespacesCloudauditlogssourcesGetCall) Header() http.Header { func (c *NamespacesCloudauditlogssourcesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6226,7 +6226,7 @@ func (c *NamespacesCloudauditlogssourcesListCall) Header() http.Header { func (c *NamespacesCloudauditlogssourcesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6398,7 +6398,7 @@ func (c *NamespacesCloudpubsubsourcesCreateCall) Header() http.Header { func (c *NamespacesCloudpubsubsourcesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6560,7 +6560,7 @@ func (c *NamespacesCloudpubsubsourcesDeleteCall) Header() http.Header { func (c *NamespacesCloudpubsubsourcesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6716,7 +6716,7 @@ func (c *NamespacesCloudpubsubsourcesGetCall) Header() http.Header { func (c *NamespacesCloudpubsubsourcesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6914,7 +6914,7 @@ func (c *NamespacesCloudpubsubsourcesListCall) Header() http.Header { func (c *NamespacesCloudpubsubsourcesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7085,7 +7085,7 @@ func (c *NamespacesCloudschedulersourcesCreateCall) Header() http.Header { func (c *NamespacesCloudschedulersourcesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7247,7 +7247,7 @@ func (c *NamespacesCloudschedulersourcesDeleteCall) Header() http.Header { func (c *NamespacesCloudschedulersourcesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7403,7 +7403,7 @@ func (c *NamespacesCloudschedulersourcesGetCall) Header() http.Header { func (c *NamespacesCloudschedulersourcesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7601,7 +7601,7 @@ func (c *NamespacesCloudschedulersourcesListCall) Header() http.Header { func (c *NamespacesCloudschedulersourcesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7777,7 +7777,7 @@ func (c *NamespacesCloudschedulersourcesReplaceCloudSchedulerSourceCall) Header( func (c *NamespacesCloudschedulersourcesReplaceCloudSchedulerSourceCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7917,7 +7917,7 @@ func (c *NamespacesCloudstoragesourcesCreateCall) Header() http.Header { func (c *NamespacesCloudstoragesourcesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8079,7 +8079,7 @@ func (c *NamespacesCloudstoragesourcesDeleteCall) Header() http.Header { func (c *NamespacesCloudstoragesourcesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8235,7 +8235,7 @@ func (c *NamespacesCloudstoragesourcesGetCall) Header() http.Header { func (c *NamespacesCloudstoragesourcesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8433,7 +8433,7 @@ func (c *NamespacesCloudstoragesourcesListCall) Header() http.Header { func (c *NamespacesCloudstoragesourcesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8608,7 +8608,7 @@ func (c *NamespacesCloudstoragesourcesReplaceCloudStorageSourceCall) Header() ht func (c *NamespacesCloudstoragesourcesReplaceCloudStorageSourceCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8757,7 +8757,7 @@ func (c *NamespacesConfigurationsGetCall) Header() http.Header { func (c *NamespacesConfigurationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8955,7 +8955,7 @@ func (c *NamespacesConfigurationsListCall) Header() http.Header { func (c *NamespacesConfigurationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9126,7 +9126,7 @@ func (c *NamespacesDomainmappingsCreateCall) Header() http.Header { func (c *NamespacesDomainmappingsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9298,7 +9298,7 @@ func (c *NamespacesDomainmappingsDeleteCall) Header() http.Header { func (c *NamespacesDomainmappingsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9459,7 +9459,7 @@ func (c *NamespacesDomainmappingsGetCall) Header() http.Header { func (c *NamespacesDomainmappingsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9657,7 +9657,7 @@ func (c *NamespacesDomainmappingsListCall) Header() http.Header { func (c *NamespacesDomainmappingsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9860,7 +9860,7 @@ func (c *NamespacesRevisionsDeleteCall) Header() http.Header { func (c *NamespacesRevisionsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10021,7 +10021,7 @@ func (c *NamespacesRevisionsGetCall) Header() http.Header { func (c *NamespacesRevisionsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10219,7 +10219,7 @@ func (c *NamespacesRevisionsListCall) Header() http.Header { func (c *NamespacesRevisionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10399,7 +10399,7 @@ func (c *NamespacesRoutesGetCall) Header() http.Header { func (c *NamespacesRoutesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10597,7 +10597,7 @@ func (c *NamespacesRoutesListCall) Header() http.Header { func (c *NamespacesRoutesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10768,7 +10768,7 @@ func (c *NamespacesServicesCreateCall) Header() http.Header { func (c *NamespacesServicesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10942,7 +10942,7 @@ func (c *NamespacesServicesDeleteCall) Header() http.Header { func (c *NamespacesServicesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11103,7 +11103,7 @@ func (c *NamespacesServicesGetCall) Header() http.Header { func (c *NamespacesServicesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11301,7 +11301,7 @@ func (c *NamespacesServicesListCall) Header() http.Header { func (c *NamespacesServicesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11476,7 +11476,7 @@ func (c *NamespacesServicesReplaceServiceCall) Header() http.Header { func (c *NamespacesServicesReplaceServiceCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11616,7 +11616,7 @@ func (c *NamespacesTriggersCreateCall) Header() http.Header { func (c *NamespacesTriggersCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11778,7 +11778,7 @@ func (c *NamespacesTriggersDeleteCall) Header() http.Header { func (c *NamespacesTriggersDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11934,7 +11934,7 @@ func (c *NamespacesTriggersGetCall) Header() http.Header { func (c *NamespacesTriggersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12132,7 +12132,7 @@ func (c *NamespacesTriggersListCall) Header() http.Header { func (c *NamespacesTriggersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12334,7 +12334,7 @@ func (c *ProjectsLocationsListCall) Header() http.Header { func (c *ProjectsLocationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12529,7 +12529,7 @@ func (c *ProjectsLocationsAuthorizeddomainsListCall) Header() http.Header { func (c *ProjectsLocationsAuthorizeddomainsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12696,7 +12696,7 @@ func (c *ProjectsLocationsCloudauditlogssourcesCreateCall) Header() http.Header func (c *ProjectsLocationsCloudauditlogssourcesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12858,7 +12858,7 @@ func (c *ProjectsLocationsCloudauditlogssourcesDeleteCall) Header() http.Header func (c *ProjectsLocationsCloudauditlogssourcesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13014,7 +13014,7 @@ func (c *ProjectsLocationsCloudauditlogssourcesGetCall) Header() http.Header { func (c *ProjectsLocationsCloudauditlogssourcesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13212,7 +13212,7 @@ func (c *ProjectsLocationsCloudauditlogssourcesListCall) Header() http.Header { func (c *ProjectsLocationsCloudauditlogssourcesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13384,7 +13384,7 @@ func (c *ProjectsLocationsCloudpubsubsourcesCreateCall) Header() http.Header { func (c *ProjectsLocationsCloudpubsubsourcesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13546,7 +13546,7 @@ func (c *ProjectsLocationsCloudpubsubsourcesDeleteCall) Header() http.Header { func (c *ProjectsLocationsCloudpubsubsourcesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13702,7 +13702,7 @@ func (c *ProjectsLocationsCloudpubsubsourcesGetCall) Header() http.Header { func (c *ProjectsLocationsCloudpubsubsourcesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13900,7 +13900,7 @@ func (c *ProjectsLocationsCloudpubsubsourcesListCall) Header() http.Header { func (c *ProjectsLocationsCloudpubsubsourcesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14071,7 +14071,7 @@ func (c *ProjectsLocationsCloudschedulersourcesCreateCall) Header() http.Header func (c *ProjectsLocationsCloudschedulersourcesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14233,7 +14233,7 @@ func (c *ProjectsLocationsCloudschedulersourcesDeleteCall) Header() http.Header func (c *ProjectsLocationsCloudschedulersourcesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14389,7 +14389,7 @@ func (c *ProjectsLocationsCloudschedulersourcesGetCall) Header() http.Header { func (c *ProjectsLocationsCloudschedulersourcesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14587,7 +14587,7 @@ func (c *ProjectsLocationsCloudschedulersourcesListCall) Header() http.Header { func (c *ProjectsLocationsCloudschedulersourcesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14763,7 +14763,7 @@ func (c *ProjectsLocationsCloudschedulersourcesReplaceCloudSchedulerSourceCall) func (c *ProjectsLocationsCloudschedulersourcesReplaceCloudSchedulerSourceCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14903,7 +14903,7 @@ func (c *ProjectsLocationsCloudstoragesourcesCreateCall) Header() http.Header { func (c *ProjectsLocationsCloudstoragesourcesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15065,7 +15065,7 @@ func (c *ProjectsLocationsCloudstoragesourcesDeleteCall) Header() http.Header { func (c *ProjectsLocationsCloudstoragesourcesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15221,7 +15221,7 @@ func (c *ProjectsLocationsCloudstoragesourcesGetCall) Header() http.Header { func (c *ProjectsLocationsCloudstoragesourcesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15419,7 +15419,7 @@ func (c *ProjectsLocationsCloudstoragesourcesListCall) Header() http.Header { func (c *ProjectsLocationsCloudstoragesourcesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15594,7 +15594,7 @@ func (c *ProjectsLocationsCloudstoragesourcesReplaceCloudStorageSourceCall) Head func (c *ProjectsLocationsCloudstoragesourcesReplaceCloudStorageSourceCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15743,7 +15743,7 @@ func (c *ProjectsLocationsConfigurationsGetCall) Header() http.Header { func (c *ProjectsLocationsConfigurationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15941,7 +15941,7 @@ func (c *ProjectsLocationsConfigurationsListCall) Header() http.Header { func (c *ProjectsLocationsConfigurationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16112,7 +16112,7 @@ func (c *ProjectsLocationsDomainmappingsCreateCall) Header() http.Header { func (c *ProjectsLocationsDomainmappingsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16284,7 +16284,7 @@ func (c *ProjectsLocationsDomainmappingsDeleteCall) Header() http.Header { func (c *ProjectsLocationsDomainmappingsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16445,7 +16445,7 @@ func (c *ProjectsLocationsDomainmappingsGetCall) Header() http.Header { func (c *ProjectsLocationsDomainmappingsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16643,7 +16643,7 @@ func (c *ProjectsLocationsDomainmappingsListCall) Header() http.Header { func (c *ProjectsLocationsDomainmappingsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16846,7 +16846,7 @@ func (c *ProjectsLocationsRevisionsDeleteCall) Header() http.Header { func (c *ProjectsLocationsRevisionsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17007,7 +17007,7 @@ func (c *ProjectsLocationsRevisionsGetCall) Header() http.Header { func (c *ProjectsLocationsRevisionsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17205,7 +17205,7 @@ func (c *ProjectsLocationsRevisionsListCall) Header() http.Header { func (c *ProjectsLocationsRevisionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17385,7 +17385,7 @@ func (c *ProjectsLocationsRoutesGetCall) Header() http.Header { func (c *ProjectsLocationsRoutesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17583,7 +17583,7 @@ func (c *ProjectsLocationsRoutesListCall) Header() http.Header { func (c *ProjectsLocationsRoutesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17754,7 +17754,7 @@ func (c *ProjectsLocationsServicesCreateCall) Header() http.Header { func (c *ProjectsLocationsServicesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17928,7 +17928,7 @@ func (c *ProjectsLocationsServicesDeleteCall) Header() http.Header { func (c *ProjectsLocationsServicesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18089,7 +18089,7 @@ func (c *ProjectsLocationsServicesGetCall) Header() http.Header { func (c *ProjectsLocationsServicesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18250,7 +18250,7 @@ func (c *ProjectsLocationsServicesGetIamPolicyCall) Header() http.Header { func (c *ProjectsLocationsServicesGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18454,7 +18454,7 @@ func (c *ProjectsLocationsServicesListCall) Header() http.Header { func (c *ProjectsLocationsServicesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18629,7 +18629,7 @@ func (c *ProjectsLocationsServicesReplaceServiceCall) Header() http.Header { func (c *ProjectsLocationsServicesReplaceServiceCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18770,7 +18770,7 @@ func (c *ProjectsLocationsServicesSetIamPolicyCall) Header() http.Header { func (c *ProjectsLocationsServicesSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18912,7 +18912,7 @@ func (c *ProjectsLocationsServicesTestIamPermissionsCall) Header() http.Header { func (c *ProjectsLocationsServicesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19052,7 +19052,7 @@ func (c *ProjectsLocationsTriggersCreateCall) Header() http.Header { func (c *ProjectsLocationsTriggersCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19214,7 +19214,7 @@ func (c *ProjectsLocationsTriggersDeleteCall) Header() http.Header { func (c *ProjectsLocationsTriggersDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19370,7 +19370,7 @@ func (c *ProjectsLocationsTriggersGetCall) Header() http.Header { func (c *ProjectsLocationsTriggersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19568,7 +19568,7 @@ func (c *ProjectsLocationsTriggersListCall) Header() http.Header { func (c *ProjectsLocationsTriggersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/run/v1beta1/run-gen.go b/run/v1beta1/run-gen.go index 9ba121f6c7d..50bdede2744 100644 --- a/run/v1beta1/run-gen.go +++ b/run/v1beta1/run-gen.go @@ -1279,7 +1279,7 @@ func (c *CustomresourcedefinitionsListCall) Header() http.Header { func (c *CustomresourcedefinitionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1452,7 +1452,7 @@ func (c *NamespacesCustomresourcedefinitionsGetCall) Header() http.Header { func (c *NamespacesCustomresourcedefinitionsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1596,7 +1596,7 @@ func (c *ProjectsLocationsCustomresourcedefinitionsGetCall) Header() http.Header func (c *ProjectsLocationsCustomresourcedefinitionsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1793,7 +1793,7 @@ func (c *ProjectsLocationsCustomresourcedefinitionsListCall) Header() http.Heade func (c *ProjectsLocationsCustomresourcedefinitionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/runtimeconfig/v1/runtimeconfig-gen.go b/runtimeconfig/v1/runtimeconfig-gen.go index 288395154f4..c80dd8ae1cb 100644 --- a/runtimeconfig/v1/runtimeconfig-gen.go +++ b/runtimeconfig/v1/runtimeconfig-gen.go @@ -363,7 +363,7 @@ func (c *OperationsCancelCall) Header() http.Header { func (c *OperationsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -505,7 +505,7 @@ func (c *OperationsDeleteCall) Header() http.Header { func (c *OperationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -677,7 +677,7 @@ func (c *OperationsListCall) Header() http.Header { func (c *OperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/runtimeconfig/v1beta1/runtimeconfig-gen.go b/runtimeconfig/v1beta1/runtimeconfig-gen.go index e61cef22090..2bad4abe5ba 100644 --- a/runtimeconfig/v1beta1/runtimeconfig-gen.go +++ b/runtimeconfig/v1beta1/runtimeconfig-gen.go @@ -1142,7 +1142,7 @@ func (c *ProjectsConfigsCreateCall) Header() http.Header { func (c *ProjectsConfigsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1286,7 +1286,7 @@ func (c *ProjectsConfigsDeleteCall) Header() http.Header { func (c *ProjectsConfigsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1428,7 +1428,7 @@ func (c *ProjectsConfigsGetCall) Header() http.Header { func (c *ProjectsConfigsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1590,7 +1590,7 @@ func (c *ProjectsConfigsGetIamPolicyCall) Header() http.Header { func (c *ProjectsConfigsGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1757,7 +1757,7 @@ func (c *ProjectsConfigsListCall) Header() http.Header { func (c *ProjectsConfigsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1927,7 +1927,7 @@ func (c *ProjectsConfigsSetIamPolicyCall) Header() http.Header { func (c *ProjectsConfigsSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2073,7 +2073,7 @@ func (c *ProjectsConfigsTestIamPermissionsCall) Header() http.Header { func (c *ProjectsConfigsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2215,7 +2215,7 @@ func (c *ProjectsConfigsUpdateCall) Header() http.Header { func (c *ProjectsConfigsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2367,7 +2367,7 @@ func (c *ProjectsConfigsOperationsGetCall) Header() http.Header { func (c *ProjectsConfigsOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2508,7 +2508,7 @@ func (c *ProjectsConfigsOperationsTestIamPermissionsCall) Header() http.Header { func (c *ProjectsConfigsOperationsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2667,7 +2667,7 @@ func (c *ProjectsConfigsVariablesCreateCall) Header() http.Header { func (c *ProjectsConfigsVariablesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2822,7 +2822,7 @@ func (c *ProjectsConfigsVariablesDeleteCall) Header() http.Header { func (c *ProjectsConfigsVariablesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2969,7 +2969,7 @@ func (c *ProjectsConfigsVariablesGetCall) Header() http.Header { func (c *ProjectsConfigsVariablesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3151,7 +3151,7 @@ func (c *ProjectsConfigsVariablesListCall) Header() http.Header { func (c *ProjectsConfigsVariablesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3334,7 +3334,7 @@ func (c *ProjectsConfigsVariablesTestIamPermissionsCall) Header() http.Header { func (c *ProjectsConfigsVariablesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3475,7 +3475,7 @@ func (c *ProjectsConfigsVariablesUpdateCall) Header() http.Header { func (c *ProjectsConfigsVariablesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3626,7 +3626,7 @@ func (c *ProjectsConfigsVariablesWatchCall) Header() http.Header { func (c *ProjectsConfigsVariablesWatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3784,7 +3784,7 @@ func (c *ProjectsConfigsWaitersCreateCall) Header() http.Header { func (c *ProjectsConfigsWaitersCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3928,7 +3928,7 @@ func (c *ProjectsConfigsWaitersDeleteCall) Header() http.Header { func (c *ProjectsConfigsWaitersDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4070,7 +4070,7 @@ func (c *ProjectsConfigsWaitersGetCall) Header() http.Header { func (c *ProjectsConfigsWaitersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4231,7 +4231,7 @@ func (c *ProjectsConfigsWaitersListCall) Header() http.Header { func (c *ProjectsConfigsWaitersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4404,7 +4404,7 @@ func (c *ProjectsConfigsWaitersTestIamPermissionsCall) Header() http.Header { func (c *ProjectsConfigsWaitersTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/safebrowsing/v4/safebrowsing-gen.go b/safebrowsing/v4/safebrowsing-gen.go index 71938f9c49f..5e735321eac 100644 --- a/safebrowsing/v4/safebrowsing-gen.go +++ b/safebrowsing/v4/safebrowsing-gen.go @@ -1551,7 +1551,7 @@ func (c *EncodedFullHashesGetCall) Header() http.Header { func (c *EncodedFullHashesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1717,7 +1717,7 @@ func (c *EncodedUpdatesGetCall) Header() http.Header { func (c *EncodedUpdatesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1857,7 +1857,7 @@ func (c *FullHashesFindCall) Header() http.Header { func (c *FullHashesFindCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1980,7 +1980,7 @@ func (c *ThreatHitsCreateCall) Header() http.Header { func (c *ThreatHitsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2103,7 +2103,7 @@ func (c *ThreatListUpdatesFetchCall) Header() http.Header { func (c *ThreatListUpdatesFetchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2234,7 +2234,7 @@ func (c *ThreatListsListCall) Header() http.Header { func (c *ThreatListsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2351,7 +2351,7 @@ func (c *ThreatMatchesFindCall) Header() http.Header { func (c *ThreatMatchesFindCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/sasportal/v1alpha1/sasportal-gen.go b/sasportal/v1alpha1/sasportal-gen.go index f7ab6f9f736..032e6135cff 100644 --- a/sasportal/v1alpha1/sasportal-gen.go +++ b/sasportal/v1alpha1/sasportal-gen.go @@ -1777,7 +1777,7 @@ func (c *CustomersGetCall) Header() http.Header { func (c *CustomersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1934,7 +1934,7 @@ func (c *CustomersListCall) Header() http.Header { func (c *CustomersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2096,7 +2096,7 @@ func (c *CustomersPatchCall) Header() http.Header { func (c *CustomersPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2242,7 +2242,7 @@ func (c *CustomersDeploymentsMoveCall) Header() http.Header { func (c *CustomersDeploymentsMoveCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2382,7 +2382,7 @@ func (c *CustomersDeploymentsDevicesCreateCall) Header() http.Header { func (c *CustomersDeploymentsDevicesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2522,7 +2522,7 @@ func (c *CustomersDeploymentsDevicesCreateSignedCall) Header() http.Header { func (c *CustomersDeploymentsDevicesCreateSignedCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2696,7 +2696,7 @@ func (c *CustomersDeploymentsDevicesListCall) Header() http.Header { func (c *CustomersDeploymentsDevicesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2869,7 +2869,7 @@ func (c *CustomersDevicesBulkCall) Header() http.Header { func (c *CustomersDevicesBulkCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3010,7 +3010,7 @@ func (c *CustomersDevicesCreateCall) Header() http.Header { func (c *CustomersDevicesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3150,7 +3150,7 @@ func (c *CustomersDevicesCreateSignedCall) Header() http.Header { func (c *CustomersDevicesCreateSignedCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3288,7 +3288,7 @@ func (c *CustomersDevicesDeleteCall) Header() http.Header { func (c *CustomersDevicesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3429,7 +3429,7 @@ func (c *CustomersDevicesGetCall) Header() http.Header { func (c *CustomersDevicesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3598,7 +3598,7 @@ func (c *CustomersDevicesListCall) Header() http.Header { func (c *CustomersDevicesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3770,7 +3770,7 @@ func (c *CustomersDevicesMoveCall) Header() http.Header { func (c *CustomersDevicesMoveCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3917,7 +3917,7 @@ func (c *CustomersDevicesPatchCall) Header() http.Header { func (c *CustomersDevicesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4063,7 +4063,7 @@ func (c *CustomersDevicesSignDeviceCall) Header() http.Header { func (c *CustomersDevicesSignDeviceCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4203,7 +4203,7 @@ func (c *CustomersDevicesUpdateSignedCall) Header() http.Header { func (c *CustomersDevicesUpdateSignedCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4343,7 +4343,7 @@ func (c *CustomersNodesCreateCall) Header() http.Header { func (c *CustomersNodesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4481,7 +4481,7 @@ func (c *CustomersNodesDeleteCall) Header() http.Header { func (c *CustomersNodesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4622,7 +4622,7 @@ func (c *CustomersNodesGetCall) Header() http.Header { func (c *CustomersNodesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4781,7 +4781,7 @@ func (c *CustomersNodesListCall) Header() http.Header { func (c *CustomersNodesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4948,7 +4948,7 @@ func (c *CustomersNodesMoveCall) Header() http.Header { func (c *CustomersNodesMoveCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5095,7 +5095,7 @@ func (c *CustomersNodesPatchCall) Header() http.Header { func (c *CustomersNodesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5241,7 +5241,7 @@ func (c *CustomersNodesDevicesCreateCall) Header() http.Header { func (c *CustomersNodesDevicesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5381,7 +5381,7 @@ func (c *CustomersNodesDevicesCreateSignedCall) Header() http.Header { func (c *CustomersNodesDevicesCreateSignedCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5555,7 +5555,7 @@ func (c *CustomersNodesDevicesListCall) Header() http.Header { func (c *CustomersNodesDevicesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5727,7 +5727,7 @@ func (c *CustomersNodesNodesCreateCall) Header() http.Header { func (c *CustomersNodesNodesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5891,7 +5891,7 @@ func (c *CustomersNodesNodesListCall) Header() http.Header { func (c *CustomersNodesNodesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6056,7 +6056,7 @@ func (c *DeploymentsDevicesDeleteCall) Header() http.Header { func (c *DeploymentsDevicesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6197,7 +6197,7 @@ func (c *DeploymentsDevicesGetCall) Header() http.Header { func (c *DeploymentsDevicesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6332,7 +6332,7 @@ func (c *DeploymentsDevicesMoveCall) Header() http.Header { func (c *DeploymentsDevicesMoveCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6479,7 +6479,7 @@ func (c *DeploymentsDevicesPatchCall) Header() http.Header { func (c *DeploymentsDevicesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6625,7 +6625,7 @@ func (c *DeploymentsDevicesSignDeviceCall) Header() http.Header { func (c *DeploymentsDevicesSignDeviceCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6765,7 +6765,7 @@ func (c *DeploymentsDevicesUpdateSignedCall) Header() http.Header { func (c *DeploymentsDevicesUpdateSignedCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6904,7 +6904,7 @@ func (c *InstallerGenerateSecretCall) Header() http.Header { func (c *InstallerGenerateSecretCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7030,7 +7030,7 @@ func (c *InstallerValidateCall) Header() http.Header { func (c *InstallerValidateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7167,7 +7167,7 @@ func (c *NodesGetCall) Header() http.Header { func (c *NodesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7302,7 +7302,7 @@ func (c *NodesDeploymentsMoveCall) Header() http.Header { func (c *NodesDeploymentsMoveCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7442,7 +7442,7 @@ func (c *NodesDeploymentsDevicesCreateCall) Header() http.Header { func (c *NodesDeploymentsDevicesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7582,7 +7582,7 @@ func (c *NodesDeploymentsDevicesCreateSignedCall) Header() http.Header { func (c *NodesDeploymentsDevicesCreateSignedCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7756,7 +7756,7 @@ func (c *NodesDeploymentsDevicesListCall) Header() http.Header { func (c *NodesDeploymentsDevicesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7929,7 +7929,7 @@ func (c *NodesDevicesBulkCall) Header() http.Header { func (c *NodesDevicesBulkCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8070,7 +8070,7 @@ func (c *NodesDevicesCreateCall) Header() http.Header { func (c *NodesDevicesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8210,7 +8210,7 @@ func (c *NodesDevicesCreateSignedCall) Header() http.Header { func (c *NodesDevicesCreateSignedCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8348,7 +8348,7 @@ func (c *NodesDevicesDeleteCall) Header() http.Header { func (c *NodesDevicesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8489,7 +8489,7 @@ func (c *NodesDevicesGetCall) Header() http.Header { func (c *NodesDevicesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8658,7 +8658,7 @@ func (c *NodesDevicesListCall) Header() http.Header { func (c *NodesDevicesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8830,7 +8830,7 @@ func (c *NodesDevicesMoveCall) Header() http.Header { func (c *NodesDevicesMoveCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8977,7 +8977,7 @@ func (c *NodesDevicesPatchCall) Header() http.Header { func (c *NodesDevicesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9123,7 +9123,7 @@ func (c *NodesDevicesSignDeviceCall) Header() http.Header { func (c *NodesDevicesSignDeviceCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9263,7 +9263,7 @@ func (c *NodesDevicesUpdateSignedCall) Header() http.Header { func (c *NodesDevicesUpdateSignedCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9403,7 +9403,7 @@ func (c *NodesNodesCreateCall) Header() http.Header { func (c *NodesNodesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9541,7 +9541,7 @@ func (c *NodesNodesDeleteCall) Header() http.Header { func (c *NodesNodesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9682,7 +9682,7 @@ func (c *NodesNodesGetCall) Header() http.Header { func (c *NodesNodesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9841,7 +9841,7 @@ func (c *NodesNodesListCall) Header() http.Header { func (c *NodesNodesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10008,7 +10008,7 @@ func (c *NodesNodesMoveCall) Header() http.Header { func (c *NodesNodesMoveCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10155,7 +10155,7 @@ func (c *NodesNodesPatchCall) Header() http.Header { func (c *NodesNodesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10302,7 +10302,7 @@ func (c *NodesNodesDevicesBulkCall) Header() http.Header { func (c *NodesNodesDevicesBulkCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10443,7 +10443,7 @@ func (c *NodesNodesDevicesCreateCall) Header() http.Header { func (c *NodesNodesDevicesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10583,7 +10583,7 @@ func (c *NodesNodesDevicesCreateSignedCall) Header() http.Header { func (c *NodesNodesDevicesCreateSignedCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10757,7 +10757,7 @@ func (c *NodesNodesDevicesListCall) Header() http.Header { func (c *NodesNodesDevicesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10929,7 +10929,7 @@ func (c *NodesNodesNodesCreateCall) Header() http.Header { func (c *NodesNodesNodesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11093,7 +11093,7 @@ func (c *NodesNodesNodesListCall) Header() http.Header { func (c *NodesNodesNodesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11259,7 +11259,7 @@ func (c *PoliciesGetCall) Header() http.Header { func (c *PoliciesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11385,7 +11385,7 @@ func (c *PoliciesSetCall) Header() http.Header { func (c *PoliciesSetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11511,7 +11511,7 @@ func (c *PoliciesTestCall) Header() http.Header { func (c *PoliciesTestCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/script/v1/script-gen.go b/script/v1/script-gen.go index c5ee3a78520..7a7fa72a21c 100644 --- a/script/v1/script-gen.go +++ b/script/v1/script-gen.go @@ -1906,7 +1906,7 @@ func (c *ProcessesListCall) Header() http.Header { func (c *ProcessesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2293,7 +2293,7 @@ func (c *ProcessesListScriptProcessesCall) Header() http.Header { func (c *ProcessesListScriptProcessesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2552,7 +2552,7 @@ func (c *ProjectsCreateCall) Header() http.Header { func (c *ProjectsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2688,7 +2688,7 @@ func (c *ProjectsGetCall) Header() http.Header { func (c *ProjectsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2841,7 +2841,7 @@ func (c *ProjectsGetContentCall) Header() http.Header { func (c *ProjectsGetContentCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3013,7 +3013,7 @@ func (c *ProjectsGetMetricsCall) Header() http.Header { func (c *ProjectsGetMetricsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3171,7 +3171,7 @@ func (c *ProjectsUpdateContentCall) Header() http.Header { func (c *ProjectsUpdateContentCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3310,7 +3310,7 @@ func (c *ProjectsDeploymentsCreateCall) Header() http.Header { func (c *ProjectsDeploymentsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3449,7 +3449,7 @@ func (c *ProjectsDeploymentsDeleteCall) Header() http.Header { func (c *ProjectsDeploymentsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3599,7 +3599,7 @@ func (c *ProjectsDeploymentsGetCall) Header() http.Header { func (c *ProjectsDeploymentsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3766,7 +3766,7 @@ func (c *ProjectsDeploymentsListCall) Header() http.Header { func (c *ProjectsDeploymentsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3935,7 +3935,7 @@ func (c *ProjectsDeploymentsUpdateCall) Header() http.Header { func (c *ProjectsDeploymentsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4083,7 +4083,7 @@ func (c *ProjectsVersionsCreateCall) Header() http.Header { func (c *ProjectsVersionsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4233,7 +4233,7 @@ func (c *ProjectsVersionsGetCall) Header() http.Header { func (c *ProjectsVersionsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4401,7 +4401,7 @@ func (c *ProjectsVersionsListCall) Header() http.Header { func (c *ProjectsVersionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4580,7 +4580,7 @@ func (c *ScriptsRunCall) Header() http.Header { func (c *ScriptsRunCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/searchconsole/v1/searchconsole-gen.go b/searchconsole/v1/searchconsole-gen.go index 83ab3068db8..ccd9d465580 100644 --- a/searchconsole/v1/searchconsole-gen.go +++ b/searchconsole/v1/searchconsole-gen.go @@ -1047,7 +1047,7 @@ func (c *SearchanalyticsQueryCall) Header() http.Header { func (c *SearchanalyticsQueryCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1187,7 +1187,7 @@ func (c *SitemapsDeleteCall) Header() http.Header { func (c *SitemapsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1309,7 +1309,7 @@ func (c *SitemapsGetCall) Header() http.Header { func (c *SitemapsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1471,7 +1471,7 @@ func (c *SitemapsListCall) Header() http.Header { func (c *SitemapsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1611,7 +1611,7 @@ func (c *SitemapsSubmitCall) Header() http.Header { func (c *SitemapsSubmitCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1720,7 +1720,7 @@ func (c *SitesAddCall) Header() http.Header { func (c *SitesAddCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1822,7 +1822,7 @@ func (c *SitesDeleteCall) Header() http.Header { func (c *SitesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1934,7 +1934,7 @@ func (c *SitesGetCall) Header() http.Header { func (c *SitesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2076,7 +2076,7 @@ func (c *SitesListCall) Header() http.Header { func (c *SitesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2197,7 +2197,7 @@ func (c *UrlTestingToolsMobileFriendlyTestRunCall) Header() http.Header { func (c *UrlTestingToolsMobileFriendlyTestRunCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/secretmanager/v1/secretmanager-gen.go b/secretmanager/v1/secretmanager-gen.go index fc6c25b2ba1..59b89c47afe 100644 --- a/secretmanager/v1/secretmanager-gen.go +++ b/secretmanager/v1/secretmanager-gen.go @@ -1421,7 +1421,7 @@ func (c *ProjectsLocationsGetCall) Header() http.Header { func (c *ProjectsLocationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1587,7 +1587,7 @@ func (c *ProjectsLocationsListCall) Header() http.Header { func (c *ProjectsLocationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1760,7 +1760,7 @@ func (c *ProjectsSecretsAddVersionCall) Header() http.Header { func (c *ProjectsSecretsAddVersionCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1910,7 +1910,7 @@ func (c *ProjectsSecretsCreateCall) Header() http.Header { func (c *ProjectsSecretsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2053,7 +2053,7 @@ func (c *ProjectsSecretsDeleteCall) Header() http.Header { func (c *ProjectsSecretsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2194,7 +2194,7 @@ func (c *ProjectsSecretsGetCall) Header() http.Header { func (c *ProjectsSecretsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2354,7 +2354,7 @@ func (c *ProjectsSecretsGetIamPolicyCall) Header() http.Header { func (c *ProjectsSecretsGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2520,7 +2520,7 @@ func (c *ProjectsSecretsListCall) Header() http.Header { func (c *ProjectsSecretsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2694,7 +2694,7 @@ func (c *ProjectsSecretsPatchCall) Header() http.Header { func (c *ProjectsSecretsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2842,7 +2842,7 @@ func (c *ProjectsSecretsSetIamPolicyCall) Header() http.Header { func (c *ProjectsSecretsSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2987,7 +2987,7 @@ func (c *ProjectsSecretsTestIamPermissionsCall) Header() http.Header { func (c *ProjectsSecretsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3138,7 +3138,7 @@ func (c *ProjectsSecretsVersionsAccessCall) Header() http.Header { func (c *ProjectsSecretsVersionsAccessCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3274,7 +3274,7 @@ func (c *ProjectsSecretsVersionsDestroyCall) Header() http.Header { func (c *ProjectsSecretsVersionsDestroyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3415,7 +3415,7 @@ func (c *ProjectsSecretsVersionsDisableCall) Header() http.Header { func (c *ProjectsSecretsVersionsDisableCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3556,7 +3556,7 @@ func (c *ProjectsSecretsVersionsEnableCall) Header() http.Header { func (c *ProjectsSecretsVersionsEnableCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3707,7 +3707,7 @@ func (c *ProjectsSecretsVersionsGetCall) Header() http.Header { func (c *ProjectsSecretsVersionsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3867,7 +3867,7 @@ func (c *ProjectsSecretsVersionsListCall) Header() http.Header { func (c *ProjectsSecretsVersionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/secretmanager/v1beta1/secretmanager-gen.go b/secretmanager/v1beta1/secretmanager-gen.go index f33aee22e10..0e8be7977d3 100644 --- a/secretmanager/v1beta1/secretmanager-gen.go +++ b/secretmanager/v1beta1/secretmanager-gen.go @@ -1173,7 +1173,7 @@ func (c *ProjectsLocationsGetCall) Header() http.Header { func (c *ProjectsLocationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1339,7 +1339,7 @@ func (c *ProjectsLocationsListCall) Header() http.Header { func (c *ProjectsLocationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1512,7 +1512,7 @@ func (c *ProjectsSecretsAddVersionCall) Header() http.Header { func (c *ProjectsSecretsAddVersionCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1662,7 +1662,7 @@ func (c *ProjectsSecretsCreateCall) Header() http.Header { func (c *ProjectsSecretsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1805,7 +1805,7 @@ func (c *ProjectsSecretsDeleteCall) Header() http.Header { func (c *ProjectsSecretsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1946,7 +1946,7 @@ func (c *ProjectsSecretsGetCall) Header() http.Header { func (c *ProjectsSecretsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2106,7 +2106,7 @@ func (c *ProjectsSecretsGetIamPolicyCall) Header() http.Header { func (c *ProjectsSecretsGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2272,7 +2272,7 @@ func (c *ProjectsSecretsListCall) Header() http.Header { func (c *ProjectsSecretsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2446,7 +2446,7 @@ func (c *ProjectsSecretsPatchCall) Header() http.Header { func (c *ProjectsSecretsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2594,7 +2594,7 @@ func (c *ProjectsSecretsSetIamPolicyCall) Header() http.Header { func (c *ProjectsSecretsSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2739,7 +2739,7 @@ func (c *ProjectsSecretsTestIamPermissionsCall) Header() http.Header { func (c *ProjectsSecretsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2890,7 +2890,7 @@ func (c *ProjectsSecretsVersionsAccessCall) Header() http.Header { func (c *ProjectsSecretsVersionsAccessCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3026,7 +3026,7 @@ func (c *ProjectsSecretsVersionsDestroyCall) Header() http.Header { func (c *ProjectsSecretsVersionsDestroyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3167,7 +3167,7 @@ func (c *ProjectsSecretsVersionsDisableCall) Header() http.Header { func (c *ProjectsSecretsVersionsDisableCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3308,7 +3308,7 @@ func (c *ProjectsSecretsVersionsEnableCall) Header() http.Header { func (c *ProjectsSecretsVersionsEnableCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3459,7 +3459,7 @@ func (c *ProjectsSecretsVersionsGetCall) Header() http.Header { func (c *ProjectsSecretsVersionsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3619,7 +3619,7 @@ func (c *ProjectsSecretsVersionsListCall) Header() http.Header { func (c *ProjectsSecretsVersionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/securitycenter/v1/securitycenter-gen.go b/securitycenter/v1/securitycenter-gen.go index 9db01a51d3f..5088210d048 100644 --- a/securitycenter/v1/securitycenter-gen.go +++ b/securitycenter/v1/securitycenter-gen.go @@ -2780,7 +2780,7 @@ func (c *FoldersAssetsGroupCall) Header() http.Header { func (c *FoldersAssetsGroupCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3073,7 +3073,7 @@ func (c *FoldersAssetsListCall) Header() http.Header { func (c *FoldersAssetsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3286,7 +3286,7 @@ func (c *FoldersAssetsUpdateSecurityMarksCall) Header() http.Header { func (c *FoldersAssetsUpdateSecurityMarksCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3464,7 +3464,7 @@ func (c *FoldersSourcesListCall) Header() http.Header { func (c *FoldersSourcesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3636,7 +3636,7 @@ func (c *FoldersSourcesFindingsGroupCall) Header() http.Header { func (c *FoldersSourcesFindingsGroupCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3916,7 +3916,7 @@ func (c *FoldersSourcesFindingsListCall) Header() http.Header { func (c *FoldersSourcesFindingsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4123,7 +4123,7 @@ func (c *FoldersSourcesFindingsPatchCall) Header() http.Header { func (c *FoldersSourcesFindingsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4269,7 +4269,7 @@ func (c *FoldersSourcesFindingsSetStateCall) Header() http.Header { func (c *FoldersSourcesFindingsSetStateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4427,7 +4427,7 @@ func (c *FoldersSourcesFindingsUpdateSecurityMarksCall) Header() http.Header { func (c *FoldersSourcesFindingsUpdateSecurityMarksCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4588,7 +4588,7 @@ func (c *OrganizationsGetOrganizationSettingsCall) Header() http.Header { func (c *OrganizationsGetOrganizationSettingsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4731,7 +4731,7 @@ func (c *OrganizationsUpdateOrganizationSettingsCall) Header() http.Header { func (c *OrganizationsUpdateOrganizationSettingsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4878,7 +4878,7 @@ func (c *OrganizationsAssetsGroupCall) Header() http.Header { func (c *OrganizationsAssetsGroupCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5171,7 +5171,7 @@ func (c *OrganizationsAssetsListCall) Header() http.Header { func (c *OrganizationsAssetsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5369,7 +5369,7 @@ func (c *OrganizationsAssetsRunDiscoveryCall) Header() http.Header { func (c *OrganizationsAssetsRunDiscoveryCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5527,7 +5527,7 @@ func (c *OrganizationsAssetsUpdateSecurityMarksCall) Header() http.Header { func (c *OrganizationsAssetsUpdateSecurityMarksCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5688,7 +5688,7 @@ func (c *OrganizationsNotificationConfigsCreateCall) Header() http.Header { func (c *OrganizationsNotificationConfigsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5831,7 +5831,7 @@ func (c *OrganizationsNotificationConfigsDeleteCall) Header() http.Header { func (c *OrganizationsNotificationConfigsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5972,7 +5972,7 @@ func (c *OrganizationsNotificationConfigsGetCall) Header() http.Header { func (c *OrganizationsNotificationConfigsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6133,7 +6133,7 @@ func (c *OrganizationsNotificationConfigsListCall) Header() http.Header { func (c *OrganizationsNotificationConfigsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6309,7 +6309,7 @@ func (c *OrganizationsNotificationConfigsPatchCall) Header() http.Header { func (c *OrganizationsNotificationConfigsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6462,7 +6462,7 @@ func (c *OrganizationsOperationsCancelCall) Header() http.Header { func (c *OrganizationsOperationsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6595,7 +6595,7 @@ func (c *OrganizationsOperationsDeleteCall) Header() http.Header { func (c *OrganizationsOperationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6738,7 +6738,7 @@ func (c *OrganizationsOperationsGetCall) Header() http.Header { func (c *OrganizationsOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6912,7 +6912,7 @@ func (c *OrganizationsOperationsListCall) Header() http.Header { func (c *OrganizationsOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7084,7 +7084,7 @@ func (c *OrganizationsSourcesCreateCall) Header() http.Header { func (c *OrganizationsSourcesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7233,7 +7233,7 @@ func (c *OrganizationsSourcesGetCall) Header() http.Header { func (c *OrganizationsSourcesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7368,7 +7368,7 @@ func (c *OrganizationsSourcesGetIamPolicyCall) Header() http.Header { func (c *OrganizationsSourcesGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7534,7 +7534,7 @@ func (c *OrganizationsSourcesListCall) Header() http.Header { func (c *OrganizationsSourcesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7709,7 +7709,7 @@ func (c *OrganizationsSourcesPatchCall) Header() http.Header { func (c *OrganizationsSourcesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7855,7 +7855,7 @@ func (c *OrganizationsSourcesSetIamPolicyCall) Header() http.Header { func (c *OrganizationsSourcesSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7996,7 +7996,7 @@ func (c *OrganizationsSourcesTestIamPermissionsCall) Header() http.Header { func (c *OrganizationsSourcesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8146,7 +8146,7 @@ func (c *OrganizationsSourcesFindingsCreateCall) Header() http.Header { func (c *OrganizationsSourcesFindingsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8296,7 +8296,7 @@ func (c *OrganizationsSourcesFindingsGroupCall) Header() http.Header { func (c *OrganizationsSourcesFindingsGroupCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8576,7 +8576,7 @@ func (c *OrganizationsSourcesFindingsListCall) Header() http.Header { func (c *OrganizationsSourcesFindingsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8783,7 +8783,7 @@ func (c *OrganizationsSourcesFindingsPatchCall) Header() http.Header { func (c *OrganizationsSourcesFindingsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8929,7 +8929,7 @@ func (c *OrganizationsSourcesFindingsSetStateCall) Header() http.Header { func (c *OrganizationsSourcesFindingsSetStateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9087,7 +9087,7 @@ func (c *OrganizationsSourcesFindingsUpdateSecurityMarksCall) Header() http.Head func (c *OrganizationsSourcesFindingsUpdateSecurityMarksCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9240,7 +9240,7 @@ func (c *ProjectsAssetsGroupCall) Header() http.Header { func (c *ProjectsAssetsGroupCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9533,7 +9533,7 @@ func (c *ProjectsAssetsListCall) Header() http.Header { func (c *ProjectsAssetsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9746,7 +9746,7 @@ func (c *ProjectsAssetsUpdateSecurityMarksCall) Header() http.Header { func (c *ProjectsAssetsUpdateSecurityMarksCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9924,7 +9924,7 @@ func (c *ProjectsSourcesListCall) Header() http.Header { func (c *ProjectsSourcesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10096,7 +10096,7 @@ func (c *ProjectsSourcesFindingsGroupCall) Header() http.Header { func (c *ProjectsSourcesFindingsGroupCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10376,7 +10376,7 @@ func (c *ProjectsSourcesFindingsListCall) Header() http.Header { func (c *ProjectsSourcesFindingsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10583,7 +10583,7 @@ func (c *ProjectsSourcesFindingsPatchCall) Header() http.Header { func (c *ProjectsSourcesFindingsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10729,7 +10729,7 @@ func (c *ProjectsSourcesFindingsSetStateCall) Header() http.Header { func (c *ProjectsSourcesFindingsSetStateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10887,7 +10887,7 @@ func (c *ProjectsSourcesFindingsUpdateSecurityMarksCall) Header() http.Header { func (c *ProjectsSourcesFindingsUpdateSecurityMarksCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/securitycenter/v1beta1/securitycenter-gen.go b/securitycenter/v1beta1/securitycenter-gen.go index ce9446c78f2..3f9efc7962e 100644 --- a/securitycenter/v1beta1/securitycenter-gen.go +++ b/securitycenter/v1beta1/securitycenter-gen.go @@ -2461,7 +2461,7 @@ func (c *OrganizationsGetOrganizationSettingsCall) Header() http.Header { func (c *OrganizationsGetOrganizationSettingsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2603,7 +2603,7 @@ func (c *OrganizationsUpdateOrganizationSettingsCall) Header() http.Header { func (c *OrganizationsUpdateOrganizationSettingsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2750,7 +2750,7 @@ func (c *OrganizationsAssetsGroupCall) Header() http.Header { func (c *OrganizationsAssetsGroupCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3013,7 +3013,7 @@ func (c *OrganizationsAssetsListCall) Header() http.Header { func (c *OrganizationsAssetsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3211,7 +3211,7 @@ func (c *OrganizationsAssetsRunDiscoveryCall) Header() http.Header { func (c *OrganizationsAssetsRunDiscoveryCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3365,7 +3365,7 @@ func (c *OrganizationsAssetsUpdateSecurityMarksCall) Header() http.Header { func (c *OrganizationsAssetsUpdateSecurityMarksCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3528,7 +3528,7 @@ func (c *OrganizationsOperationsCancelCall) Header() http.Header { func (c *OrganizationsOperationsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3669,7 +3669,7 @@ func (c *OrganizationsOperationsDeleteCall) Header() http.Header { func (c *OrganizationsOperationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3812,7 +3812,7 @@ func (c *OrganizationsOperationsGetCall) Header() http.Header { func (c *OrganizationsOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3986,7 +3986,7 @@ func (c *OrganizationsOperationsListCall) Header() http.Header { func (c *OrganizationsOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4158,7 +4158,7 @@ func (c *OrganizationsSourcesCreateCall) Header() http.Header { func (c *OrganizationsSourcesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4307,7 +4307,7 @@ func (c *OrganizationsSourcesGetCall) Header() http.Header { func (c *OrganizationsSourcesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4442,7 +4442,7 @@ func (c *OrganizationsSourcesGetIamPolicyCall) Header() http.Header { func (c *OrganizationsSourcesGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4608,7 +4608,7 @@ func (c *OrganizationsSourcesListCall) Header() http.Header { func (c *OrganizationsSourcesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4782,7 +4782,7 @@ func (c *OrganizationsSourcesPatchCall) Header() http.Header { func (c *OrganizationsSourcesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4928,7 +4928,7 @@ func (c *OrganizationsSourcesSetIamPolicyCall) Header() http.Header { func (c *OrganizationsSourcesSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5069,7 +5069,7 @@ func (c *OrganizationsSourcesTestIamPermissionsCall) Header() http.Header { func (c *OrganizationsSourcesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5219,7 +5219,7 @@ func (c *OrganizationsSourcesFindingsCreateCall) Header() http.Header { func (c *OrganizationsSourcesFindingsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5368,7 +5368,7 @@ func (c *OrganizationsSourcesFindingsGroupCall) Header() http.Header { func (c *OrganizationsSourcesFindingsGroupCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5607,7 +5607,7 @@ func (c *OrganizationsSourcesFindingsListCall) Header() http.Header { func (c *OrganizationsSourcesFindingsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5805,7 +5805,7 @@ func (c *OrganizationsSourcesFindingsPatchCall) Header() http.Header { func (c *OrganizationsSourcesFindingsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5952,7 +5952,7 @@ func (c *OrganizationsSourcesFindingsSetStateCall) Header() http.Header { func (c *OrganizationsSourcesFindingsSetStateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6107,7 +6107,7 @@ func (c *OrganizationsSourcesFindingsUpdateSecurityMarksCall) Header() http.Head func (c *OrganizationsSourcesFindingsUpdateSecurityMarksCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/securitycenter/v1beta2/securitycenter-gen.go b/securitycenter/v1beta2/securitycenter-gen.go index 91e7fdd01af..c233f00a8fd 100644 --- a/securitycenter/v1beta2/securitycenter-gen.go +++ b/securitycenter/v1beta2/securitycenter-gen.go @@ -1506,7 +1506,7 @@ func (c *FoldersGetContainerThreatDetectionSettingsCall) Header() http.Header { func (c *FoldersGetContainerThreatDetectionSettingsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1651,7 +1651,7 @@ func (c *FoldersGetEventThreatDetectionSettingsCall) Header() http.Header { func (c *FoldersGetEventThreatDetectionSettingsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1796,7 +1796,7 @@ func (c *FoldersGetSecurityHealthAnalyticsSettingsCall) Header() http.Header { func (c *FoldersGetSecurityHealthAnalyticsSettingsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1941,7 +1941,7 @@ func (c *FoldersGetWebSecurityScannerSettingsCall) Header() http.Header { func (c *FoldersGetWebSecurityScannerSettingsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2084,7 +2084,7 @@ func (c *FoldersUpdateContainerThreatDetectionSettingsCall) Header() http.Header func (c *FoldersUpdateContainerThreatDetectionSettingsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2238,7 +2238,7 @@ func (c *FoldersUpdateEventThreatDetectionSettingsCall) Header() http.Header { func (c *FoldersUpdateEventThreatDetectionSettingsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2392,7 +2392,7 @@ func (c *FoldersUpdateSecurityHealthAnalyticsSettingsCall) Header() http.Header func (c *FoldersUpdateSecurityHealthAnalyticsSettingsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2546,7 +2546,7 @@ func (c *FoldersUpdateWebSecurityScannerSettingsCall) Header() http.Header { func (c *FoldersUpdateWebSecurityScannerSettingsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2702,7 +2702,7 @@ func (c *FoldersContainerThreatDetectionSettingsCalculateCall) Header() http.Hea func (c *FoldersContainerThreatDetectionSettingsCalculateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2847,7 +2847,7 @@ func (c *FoldersEventThreatDetectionSettingsCalculateCall) Header() http.Header func (c *FoldersEventThreatDetectionSettingsCalculateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2992,7 +2992,7 @@ func (c *FoldersSecurityHealthAnalyticsSettingsCalculateCall) Header() http.Head func (c *FoldersSecurityHealthAnalyticsSettingsCalculateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3137,7 +3137,7 @@ func (c *FoldersWebSecurityScannerSettingsCalculateCall) Header() http.Header { func (c *FoldersWebSecurityScannerSettingsCalculateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3282,7 +3282,7 @@ func (c *OrganizationsGetContainerThreatDetectionSettingsCall) Header() http.Hea func (c *OrganizationsGetContainerThreatDetectionSettingsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3427,7 +3427,7 @@ func (c *OrganizationsGetEventThreatDetectionSettingsCall) Header() http.Header func (c *OrganizationsGetEventThreatDetectionSettingsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3571,7 +3571,7 @@ func (c *OrganizationsGetSecurityCenterSettingsCall) Header() http.Header { func (c *OrganizationsGetSecurityCenterSettingsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3716,7 +3716,7 @@ func (c *OrganizationsGetSecurityHealthAnalyticsSettingsCall) Header() http.Head func (c *OrganizationsGetSecurityHealthAnalyticsSettingsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3860,7 +3860,7 @@ func (c *OrganizationsGetSubscriptionCall) Header() http.Header { func (c *OrganizationsGetSubscriptionCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4005,7 +4005,7 @@ func (c *OrganizationsGetWebSecurityScannerSettingsCall) Header() http.Header { func (c *OrganizationsGetWebSecurityScannerSettingsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4148,7 +4148,7 @@ func (c *OrganizationsUpdateContainerThreatDetectionSettingsCall) Header() http. func (c *OrganizationsUpdateContainerThreatDetectionSettingsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4302,7 +4302,7 @@ func (c *OrganizationsUpdateEventThreatDetectionSettingsCall) Header() http.Head func (c *OrganizationsUpdateEventThreatDetectionSettingsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4456,7 +4456,7 @@ func (c *OrganizationsUpdateSecurityHealthAnalyticsSettingsCall) Header() http.H func (c *OrganizationsUpdateSecurityHealthAnalyticsSettingsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4610,7 +4610,7 @@ func (c *OrganizationsUpdateWebSecurityScannerSettingsCall) Header() http.Header func (c *OrganizationsUpdateWebSecurityScannerSettingsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4766,7 +4766,7 @@ func (c *OrganizationsContainerThreatDetectionSettingsCalculateCall) Header() ht func (c *OrganizationsContainerThreatDetectionSettingsCalculateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4911,7 +4911,7 @@ func (c *OrganizationsEventThreatDetectionSettingsCalculateCall) Header() http.H func (c *OrganizationsEventThreatDetectionSettingsCalculateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5056,7 +5056,7 @@ func (c *OrganizationsSecurityHealthAnalyticsSettingsCalculateCall) Header() htt func (c *OrganizationsSecurityHealthAnalyticsSettingsCalculateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5201,7 +5201,7 @@ func (c *OrganizationsWebSecurityScannerSettingsCalculateCall) Header() http.Hea func (c *OrganizationsWebSecurityScannerSettingsCalculateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5346,7 +5346,7 @@ func (c *ProjectsGetContainerThreatDetectionSettingsCall) Header() http.Header { func (c *ProjectsGetContainerThreatDetectionSettingsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5491,7 +5491,7 @@ func (c *ProjectsGetEventThreatDetectionSettingsCall) Header() http.Header { func (c *ProjectsGetEventThreatDetectionSettingsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5636,7 +5636,7 @@ func (c *ProjectsGetSecurityHealthAnalyticsSettingsCall) Header() http.Header { func (c *ProjectsGetSecurityHealthAnalyticsSettingsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5781,7 +5781,7 @@ func (c *ProjectsGetWebSecurityScannerSettingsCall) Header() http.Header { func (c *ProjectsGetWebSecurityScannerSettingsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5924,7 +5924,7 @@ func (c *ProjectsUpdateContainerThreatDetectionSettingsCall) Header() http.Heade func (c *ProjectsUpdateContainerThreatDetectionSettingsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6078,7 +6078,7 @@ func (c *ProjectsUpdateEventThreatDetectionSettingsCall) Header() http.Header { func (c *ProjectsUpdateEventThreatDetectionSettingsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6232,7 +6232,7 @@ func (c *ProjectsUpdateSecurityHealthAnalyticsSettingsCall) Header() http.Header func (c *ProjectsUpdateSecurityHealthAnalyticsSettingsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6386,7 +6386,7 @@ func (c *ProjectsUpdateWebSecurityScannerSettingsCall) Header() http.Header { func (c *ProjectsUpdateWebSecurityScannerSettingsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6542,7 +6542,7 @@ func (c *ProjectsContainerThreatDetectionSettingsCalculateCall) Header() http.He func (c *ProjectsContainerThreatDetectionSettingsCalculateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6687,7 +6687,7 @@ func (c *ProjectsEventThreatDetectionSettingsCalculateCall) Header() http.Header func (c *ProjectsEventThreatDetectionSettingsCalculateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6832,7 +6832,7 @@ func (c *ProjectsLocationsClustersGetContainerThreatDetectionSettingsCall) Heade func (c *ProjectsLocationsClustersGetContainerThreatDetectionSettingsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6975,7 +6975,7 @@ func (c *ProjectsLocationsClustersUpdateContainerThreatDetectionSettingsCall) He func (c *ProjectsLocationsClustersUpdateContainerThreatDetectionSettingsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7131,7 +7131,7 @@ func (c *ProjectsLocationsClustersContainerThreatDetectionSettingsCalculateCall) func (c *ProjectsLocationsClustersContainerThreatDetectionSettingsCalculateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7276,7 +7276,7 @@ func (c *ProjectsSecurityHealthAnalyticsSettingsCalculateCall) Header() http.Hea func (c *ProjectsSecurityHealthAnalyticsSettingsCalculateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7421,7 +7421,7 @@ func (c *ProjectsWebSecurityScannerSettingsCalculateCall) Header() http.Header { func (c *ProjectsWebSecurityScannerSettingsCalculateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/serviceconsumermanagement/v1/serviceconsumermanagement-gen.go b/serviceconsumermanagement/v1/serviceconsumermanagement-gen.go index ae7816ffeaf..4c9c53297e0 100644 --- a/serviceconsumermanagement/v1/serviceconsumermanagement-gen.go +++ b/serviceconsumermanagement/v1/serviceconsumermanagement-gen.go @@ -4501,7 +4501,7 @@ func (c *OperationsCancelCall) Header() http.Header { func (c *OperationsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4642,7 +4642,7 @@ func (c *OperationsDeleteCall) Header() http.Header { func (c *OperationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4785,7 +4785,7 @@ func (c *OperationsGetCall) Header() http.Header { func (c *OperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4959,7 +4959,7 @@ func (c *OperationsListCall) Header() http.Header { func (c *OperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5176,7 +5176,7 @@ func (c *ServicesSearchCall) Header() http.Header { func (c *ServicesSearchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5352,7 +5352,7 @@ func (c *ServicesTenancyUnitsAddProjectCall) Header() http.Header { func (c *ServicesTenancyUnitsAddProjectCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5507,7 +5507,7 @@ func (c *ServicesTenancyUnitsApplyProjectConfigCall) Header() http.Header { func (c *ServicesTenancyUnitsApplyProjectConfigCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5656,7 +5656,7 @@ func (c *ServicesTenancyUnitsAttachProjectCall) Header() http.Header { func (c *ServicesTenancyUnitsAttachProjectCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5800,7 +5800,7 @@ func (c *ServicesTenancyUnitsCreateCall) Header() http.Header { func (c *ServicesTenancyUnitsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5940,7 +5940,7 @@ func (c *ServicesTenancyUnitsDeleteCall) Header() http.Header { func (c *ServicesTenancyUnitsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6080,7 +6080,7 @@ func (c *ServicesTenancyUnitsDeleteProjectCall) Header() http.Header { func (c *ServicesTenancyUnitsDeleteProjectCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6256,7 +6256,7 @@ func (c *ServicesTenancyUnitsListCall) Header() http.Header { func (c *ServicesTenancyUnitsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6435,7 +6435,7 @@ func (c *ServicesTenancyUnitsRemoveProjectCall) Header() http.Header { func (c *ServicesTenancyUnitsRemoveProjectCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6580,7 +6580,7 @@ func (c *ServicesTenancyUnitsUndeleteProjectCall) Header() http.Header { func (c *ServicesTenancyUnitsUndeleteProjectCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/serviceconsumermanagement/v1beta1/serviceconsumermanagement-gen.go b/serviceconsumermanagement/v1beta1/serviceconsumermanagement-gen.go index 454e390882a..c261d2e8065 100644 --- a/serviceconsumermanagement/v1beta1/serviceconsumermanagement-gen.go +++ b/serviceconsumermanagement/v1beta1/serviceconsumermanagement-gen.go @@ -4197,7 +4197,7 @@ func (c *OperationsGetCall) Header() http.Header { func (c *OperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4360,7 +4360,7 @@ func (c *ServicesConsumerQuotaMetricsGetCall) Header() http.Header { func (c *ServicesConsumerQuotaMetricsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4513,7 +4513,7 @@ func (c *ServicesConsumerQuotaMetricsImportProducerOverridesCall) Header() http. func (c *ServicesConsumerQuotaMetricsImportProducerOverridesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4699,7 +4699,7 @@ func (c *ServicesConsumerQuotaMetricsListCall) Header() http.Header { func (c *ServicesConsumerQuotaMetricsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4910,7 +4910,7 @@ func (c *ServicesConsumerQuotaMetricsLimitsGetCall) Header() http.Header { func (c *ServicesConsumerQuotaMetricsLimitsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5078,7 +5078,7 @@ func (c *ServicesConsumerQuotaMetricsLimitsProducerOverridesCreateCall) Header() func (c *ServicesConsumerQuotaMetricsLimitsProducerOverridesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5232,7 +5232,7 @@ func (c *ServicesConsumerQuotaMetricsLimitsProducerOverridesDeleteCall) Header() func (c *ServicesConsumerQuotaMetricsLimitsProducerOverridesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5392,7 +5392,7 @@ func (c *ServicesConsumerQuotaMetricsLimitsProducerOverridesListCall) Header() h func (c *ServicesConsumerQuotaMetricsLimitsProducerOverridesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5578,7 +5578,7 @@ func (c *ServicesConsumerQuotaMetricsLimitsProducerOverridesPatchCall) Header() func (c *ServicesConsumerQuotaMetricsLimitsProducerOverridesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/servicecontrol/v1/servicecontrol-gen.go b/servicecontrol/v1/servicecontrol-gen.go index f8ee1240586..dcca10f36b2 100644 --- a/servicecontrol/v1/servicecontrol-gen.go +++ b/servicecontrol/v1/servicecontrol-gen.go @@ -2947,7 +2947,7 @@ func (c *ServicesAllocateQuotaCall) Header() http.Header { func (c *ServicesAllocateQuotaCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3099,7 +3099,7 @@ func (c *ServicesCheckCall) Header() http.Header { func (c *ServicesCheckCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3249,7 +3249,7 @@ func (c *ServicesReportCall) Header() http.Header { func (c *ServicesReportCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/servicecontrol/v2/servicecontrol-gen.go b/servicecontrol/v2/servicecontrol-gen.go index 3461a84b230..cfdeabb05d8 100644 --- a/servicecontrol/v2/servicecontrol-gen.go +++ b/servicecontrol/v2/servicecontrol-gen.go @@ -1319,7 +1319,7 @@ func (c *ServicesCheckCall) Header() http.Header { func (c *ServicesCheckCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1473,7 +1473,7 @@ func (c *ServicesReportCall) Header() http.Header { func (c *ServicesReportCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/servicedirectory/v1/servicedirectory-gen.go b/servicedirectory/v1/servicedirectory-gen.go index fc843eec217..e47056052a5 100644 --- a/servicedirectory/v1/servicedirectory-gen.go +++ b/servicedirectory/v1/servicedirectory-gen.go @@ -1098,7 +1098,7 @@ func (c *ProjectsLocationsGetCall) Header() http.Header { func (c *ProjectsLocationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1264,7 +1264,7 @@ func (c *ProjectsLocationsListCall) Header() http.Header { func (c *ProjectsLocationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1448,7 +1448,7 @@ func (c *ProjectsLocationsNamespacesCreateCall) Header() http.Header { func (c *ProjectsLocationsNamespacesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1592,7 +1592,7 @@ func (c *ProjectsLocationsNamespacesDeleteCall) Header() http.Header { func (c *ProjectsLocationsNamespacesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1733,7 +1733,7 @@ func (c *ProjectsLocationsNamespacesGetCall) Header() http.Header { func (c *ProjectsLocationsNamespacesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1869,7 +1869,7 @@ func (c *ProjectsLocationsNamespacesGetIamPolicyCall) Header() http.Header { func (c *ProjectsLocationsNamespacesGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2063,7 +2063,7 @@ func (c *ProjectsLocationsNamespacesListCall) Header() http.Header { func (c *ProjectsLocationsNamespacesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2247,7 +2247,7 @@ func (c *ProjectsLocationsNamespacesPatchCall) Header() http.Header { func (c *ProjectsLocationsNamespacesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2394,7 +2394,7 @@ func (c *ProjectsLocationsNamespacesSetIamPolicyCall) Header() http.Header { func (c *ProjectsLocationsNamespacesSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2535,7 +2535,7 @@ func (c *ProjectsLocationsNamespacesTestIamPermissionsCall) Header() http.Header func (c *ProjectsLocationsNamespacesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2687,7 +2687,7 @@ func (c *ProjectsLocationsNamespacesServicesCreateCall) Header() http.Header { func (c *ProjectsLocationsNamespacesServicesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2831,7 +2831,7 @@ func (c *ProjectsLocationsNamespacesServicesDeleteCall) Header() http.Header { func (c *ProjectsLocationsNamespacesServicesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2972,7 +2972,7 @@ func (c *ProjectsLocationsNamespacesServicesGetCall) Header() http.Header { func (c *ProjectsLocationsNamespacesServicesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3108,7 +3108,7 @@ func (c *ProjectsLocationsNamespacesServicesGetIamPolicyCall) Header() http.Head func (c *ProjectsLocationsNamespacesServicesGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3301,7 +3301,7 @@ func (c *ProjectsLocationsNamespacesServicesListCall) Header() http.Header { func (c *ProjectsLocationsNamespacesServicesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3485,7 +3485,7 @@ func (c *ProjectsLocationsNamespacesServicesPatchCall) Header() http.Header { func (c *ProjectsLocationsNamespacesServicesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3632,7 +3632,7 @@ func (c *ProjectsLocationsNamespacesServicesResolveCall) Header() http.Header { func (c *ProjectsLocationsNamespacesServicesResolveCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3773,7 +3773,7 @@ func (c *ProjectsLocationsNamespacesServicesSetIamPolicyCall) Header() http.Head func (c *ProjectsLocationsNamespacesServicesSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3914,7 +3914,7 @@ func (c *ProjectsLocationsNamespacesServicesTestIamPermissionsCall) Header() htt func (c *ProjectsLocationsNamespacesServicesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4066,7 +4066,7 @@ func (c *ProjectsLocationsNamespacesServicesEndpointsCreateCall) Header() http.H func (c *ProjectsLocationsNamespacesServicesEndpointsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4209,7 +4209,7 @@ func (c *ProjectsLocationsNamespacesServicesEndpointsDeleteCall) Header() http.H func (c *ProjectsLocationsNamespacesServicesEndpointsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4350,7 +4350,7 @@ func (c *ProjectsLocationsNamespacesServicesEndpointsGetCall) Header() http.Head func (c *ProjectsLocationsNamespacesServicesEndpointsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4540,7 +4540,7 @@ func (c *ProjectsLocationsNamespacesServicesEndpointsListCall) Header() http.Hea func (c *ProjectsLocationsNamespacesServicesEndpointsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4724,7 +4724,7 @@ func (c *ProjectsLocationsNamespacesServicesEndpointsPatchCall) Header() http.He func (c *ProjectsLocationsNamespacesServicesEndpointsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/servicedirectory/v1beta1/servicedirectory-gen.go b/servicedirectory/v1beta1/servicedirectory-gen.go index f7a792bf8de..9ba595e036c 100644 --- a/servicedirectory/v1beta1/servicedirectory-gen.go +++ b/servicedirectory/v1beta1/servicedirectory-gen.go @@ -1092,7 +1092,7 @@ func (c *ProjectsLocationsGetCall) Header() http.Header { func (c *ProjectsLocationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1258,7 +1258,7 @@ func (c *ProjectsLocationsListCall) Header() http.Header { func (c *ProjectsLocationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1442,7 +1442,7 @@ func (c *ProjectsLocationsNamespacesCreateCall) Header() http.Header { func (c *ProjectsLocationsNamespacesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1586,7 +1586,7 @@ func (c *ProjectsLocationsNamespacesDeleteCall) Header() http.Header { func (c *ProjectsLocationsNamespacesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1727,7 +1727,7 @@ func (c *ProjectsLocationsNamespacesGetCall) Header() http.Header { func (c *ProjectsLocationsNamespacesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1863,7 +1863,7 @@ func (c *ProjectsLocationsNamespacesGetIamPolicyCall) Header() http.Header { func (c *ProjectsLocationsNamespacesGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2057,7 +2057,7 @@ func (c *ProjectsLocationsNamespacesListCall) Header() http.Header { func (c *ProjectsLocationsNamespacesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2241,7 +2241,7 @@ func (c *ProjectsLocationsNamespacesPatchCall) Header() http.Header { func (c *ProjectsLocationsNamespacesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2388,7 +2388,7 @@ func (c *ProjectsLocationsNamespacesSetIamPolicyCall) Header() http.Header { func (c *ProjectsLocationsNamespacesSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2529,7 +2529,7 @@ func (c *ProjectsLocationsNamespacesTestIamPermissionsCall) Header() http.Header func (c *ProjectsLocationsNamespacesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2681,7 +2681,7 @@ func (c *ProjectsLocationsNamespacesServicesCreateCall) Header() http.Header { func (c *ProjectsLocationsNamespacesServicesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2825,7 +2825,7 @@ func (c *ProjectsLocationsNamespacesServicesDeleteCall) Header() http.Header { func (c *ProjectsLocationsNamespacesServicesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2966,7 +2966,7 @@ func (c *ProjectsLocationsNamespacesServicesGetCall) Header() http.Header { func (c *ProjectsLocationsNamespacesServicesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3102,7 +3102,7 @@ func (c *ProjectsLocationsNamespacesServicesGetIamPolicyCall) Header() http.Head func (c *ProjectsLocationsNamespacesServicesGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3295,7 +3295,7 @@ func (c *ProjectsLocationsNamespacesServicesListCall) Header() http.Header { func (c *ProjectsLocationsNamespacesServicesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3479,7 +3479,7 @@ func (c *ProjectsLocationsNamespacesServicesPatchCall) Header() http.Header { func (c *ProjectsLocationsNamespacesServicesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3626,7 +3626,7 @@ func (c *ProjectsLocationsNamespacesServicesResolveCall) Header() http.Header { func (c *ProjectsLocationsNamespacesServicesResolveCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3767,7 +3767,7 @@ func (c *ProjectsLocationsNamespacesServicesSetIamPolicyCall) Header() http.Head func (c *ProjectsLocationsNamespacesServicesSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3908,7 +3908,7 @@ func (c *ProjectsLocationsNamespacesServicesTestIamPermissionsCall) Header() htt func (c *ProjectsLocationsNamespacesServicesTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4060,7 +4060,7 @@ func (c *ProjectsLocationsNamespacesServicesEndpointsCreateCall) Header() http.H func (c *ProjectsLocationsNamespacesServicesEndpointsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4203,7 +4203,7 @@ func (c *ProjectsLocationsNamespacesServicesEndpointsDeleteCall) Header() http.H func (c *ProjectsLocationsNamespacesServicesEndpointsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4344,7 +4344,7 @@ func (c *ProjectsLocationsNamespacesServicesEndpointsGetCall) Header() http.Head func (c *ProjectsLocationsNamespacesServicesEndpointsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4534,7 +4534,7 @@ func (c *ProjectsLocationsNamespacesServicesEndpointsListCall) Header() http.Hea func (c *ProjectsLocationsNamespacesServicesEndpointsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4718,7 +4718,7 @@ func (c *ProjectsLocationsNamespacesServicesEndpointsPatchCall) Header() http.He func (c *ProjectsLocationsNamespacesServicesEndpointsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/servicenetworking/v1/servicenetworking-gen.go b/servicenetworking/v1/servicenetworking-gen.go index d0fa6ce6b51..1779364414d 100644 --- a/servicenetworking/v1/servicenetworking-gen.go +++ b/servicenetworking/v1/servicenetworking-gen.go @@ -4828,7 +4828,7 @@ func (c *OperationsCancelCall) Header() http.Header { func (c *OperationsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4970,7 +4970,7 @@ func (c *OperationsDeleteCall) Header() http.Header { func (c *OperationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5114,7 +5114,7 @@ func (c *OperationsGetCall) Header() http.Header { func (c *OperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5289,7 +5289,7 @@ func (c *OperationsListCall) Header() http.Header { func (c *OperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5470,7 +5470,7 @@ func (c *ServicesAddSubnetworkCall) Header() http.Header { func (c *ServicesAddSubnetworkCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5612,7 +5612,7 @@ func (c *ServicesDisableVpcServiceControlsCall) Header() http.Header { func (c *ServicesDisableVpcServiceControlsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5754,7 +5754,7 @@ func (c *ServicesEnableVpcServiceControlsCall) Header() http.Header { func (c *ServicesEnableVpcServiceControlsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5900,7 +5900,7 @@ func (c *ServicesSearchRangeCall) Header() http.Header { func (c *ServicesSearchRangeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6045,7 +6045,7 @@ func (c *ServicesValidateCall) Header() http.Header { func (c *ServicesValidateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6193,7 +6193,7 @@ func (c *ServicesConnectionsCreateCall) Header() http.Header { func (c *ServicesConnectionsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6356,7 +6356,7 @@ func (c *ServicesConnectionsListCall) Header() http.Header { func (c *ServicesConnectionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6513,7 +6513,7 @@ func (c *ServicesConnectionsPatchCall) Header() http.Header { func (c *ServicesConnectionsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6666,7 +6666,7 @@ func (c *ServicesDnsRecordSetsAddCall) Header() http.Header { func (c *ServicesDnsRecordSetsAddCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6808,7 +6808,7 @@ func (c *ServicesDnsRecordSetsRemoveCall) Header() http.Header { func (c *ServicesDnsRecordSetsRemoveCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6950,7 +6950,7 @@ func (c *ServicesDnsRecordSetsUpdateCall) Header() http.Header { func (c *ServicesDnsRecordSetsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7093,7 +7093,7 @@ func (c *ServicesDnsZonesAddCall) Header() http.Header { func (c *ServicesDnsZonesAddCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7236,7 +7236,7 @@ func (c *ServicesDnsZonesRemoveCall) Header() http.Header { func (c *ServicesDnsZonesRemoveCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7388,7 +7388,7 @@ func (c *ServicesProjectsGlobalNetworksGetCall) Header() http.Header { func (c *ServicesProjectsGlobalNetworksGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7526,7 +7526,7 @@ func (c *ServicesProjectsGlobalNetworksUpdateConsumerConfigCall) Header() http.H func (c *ServicesProjectsGlobalNetworksUpdateConsumerConfigCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7669,7 +7669,7 @@ func (c *ServicesProjectsGlobalNetworksPeeredDnsDomainsCreateCall) Header() http func (c *ServicesProjectsGlobalNetworksPeeredDnsDomainsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7808,7 +7808,7 @@ func (c *ServicesProjectsGlobalNetworksPeeredDnsDomainsDeleteCall) Header() http func (c *ServicesProjectsGlobalNetworksPeeredDnsDomainsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7950,7 +7950,7 @@ func (c *ServicesProjectsGlobalNetworksPeeredDnsDomainsListCall) Header() http.H func (c *ServicesProjectsGlobalNetworksPeeredDnsDomainsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8089,7 +8089,7 @@ func (c *ServicesRolesAddCall) Header() http.Header { func (c *ServicesRolesAddCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/servicenetworking/v1beta/servicenetworking-gen.go b/servicenetworking/v1beta/servicenetworking-gen.go index 77a3f5f9332..196c29f4199 100644 --- a/servicenetworking/v1beta/servicenetworking-gen.go +++ b/servicenetworking/v1beta/servicenetworking-gen.go @@ -4062,7 +4062,7 @@ func (c *OperationsGetCall) Header() http.Header { func (c *OperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4207,7 +4207,7 @@ func (c *ServicesAddSubnetworkCall) Header() http.Header { func (c *ServicesAddSubnetworkCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4354,7 +4354,7 @@ func (c *ServicesSearchRangeCall) Header() http.Header { func (c *ServicesSearchRangeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4512,7 +4512,7 @@ func (c *ServicesUpdateConnectionsCall) Header() http.Header { func (c *ServicesUpdateConnectionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4672,7 +4672,7 @@ func (c *ServicesConnectionsCreateCall) Header() http.Header { func (c *ServicesConnectionsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4835,7 +4835,7 @@ func (c *ServicesConnectionsListCall) Header() http.Header { func (c *ServicesConnectionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/serviceusage/v1/serviceusage-gen.go b/serviceusage/v1/serviceusage-gen.go index 7d66cfffd00..fc1a00310a1 100644 --- a/serviceusage/v1/serviceusage-gen.go +++ b/serviceusage/v1/serviceusage-gen.go @@ -4233,7 +4233,7 @@ func (c *OperationsCancelCall) Header() http.Header { func (c *OperationsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4375,7 +4375,7 @@ func (c *OperationsDeleteCall) Header() http.Header { func (c *OperationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4519,7 +4519,7 @@ func (c *OperationsGetCall) Header() http.Header { func (c *OperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4699,7 +4699,7 @@ func (c *OperationsListCall) Header() http.Header { func (c *OperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4868,7 +4868,7 @@ func (c *ServicesBatchEnableCall) Header() http.Header { func (c *ServicesBatchEnableCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5029,7 +5029,7 @@ func (c *ServicesBatchGetCall) Header() http.Header { func (c *ServicesBatchGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5176,7 +5176,7 @@ func (c *ServicesDisableCall) Header() http.Header { func (c *ServicesDisableCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5317,7 +5317,7 @@ func (c *ServicesEnableCall) Header() http.Header { func (c *ServicesEnableCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5468,7 +5468,7 @@ func (c *ServicesGetCall) Header() http.Header { func (c *ServicesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5647,7 +5647,7 @@ func (c *ServicesListCall) Header() http.Header { func (c *ServicesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/serviceusage/v1beta1/serviceusage-gen.go b/serviceusage/v1beta1/serviceusage-gen.go index ad8799523ff..42b0e8f6323 100644 --- a/serviceusage/v1beta1/serviceusage-gen.go +++ b/serviceusage/v1beta1/serviceusage-gen.go @@ -4697,7 +4697,7 @@ func (c *OperationsGetCall) Header() http.Header { func (c *OperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4877,7 +4877,7 @@ func (c *OperationsListCall) Header() http.Header { func (c *OperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5045,7 +5045,7 @@ func (c *ServicesBatchEnableCall) Header() http.Header { func (c *ServicesBatchEnableCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5191,7 +5191,7 @@ func (c *ServicesDisableCall) Header() http.Header { func (c *ServicesDisableCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5333,7 +5333,7 @@ func (c *ServicesEnableCall) Header() http.Header { func (c *ServicesEnableCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5472,7 +5472,7 @@ func (c *ServicesGenerateServiceIdentityCall) Header() http.Header { func (c *ServicesGenerateServiceIdentityCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5615,7 +5615,7 @@ func (c *ServicesGetCall) Header() http.Header { func (c *ServicesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5790,7 +5790,7 @@ func (c *ServicesListCall) Header() http.Header { func (c *ServicesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5991,7 +5991,7 @@ func (c *ServicesConsumerQuotaMetricsGetCall) Header() http.Header { func (c *ServicesConsumerQuotaMetricsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6145,7 +6145,7 @@ func (c *ServicesConsumerQuotaMetricsImportAdminOverridesCall) Header() http.Hea func (c *ServicesConsumerQuotaMetricsImportAdminOverridesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6289,7 +6289,7 @@ func (c *ServicesConsumerQuotaMetricsImportConsumerOverridesCall) Header() http. func (c *ServicesConsumerQuotaMetricsImportConsumerOverridesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6476,7 +6476,7 @@ func (c *ServicesConsumerQuotaMetricsListCall) Header() http.Header { func (c *ServicesConsumerQuotaMetricsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6687,7 +6687,7 @@ func (c *ServicesConsumerQuotaMetricsLimitsGetCall) Header() http.Header { func (c *ServicesConsumerQuotaMetricsLimitsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6853,7 +6853,7 @@ func (c *ServicesConsumerQuotaMetricsLimitsAdminOverridesCreateCall) Header() ht func (c *ServicesConsumerQuotaMetricsLimitsAdminOverridesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7008,7 +7008,7 @@ func (c *ServicesConsumerQuotaMetricsLimitsAdminOverridesDeleteCall) Header() ht func (c *ServicesConsumerQuotaMetricsLimitsAdminOverridesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7169,7 +7169,7 @@ func (c *ServicesConsumerQuotaMetricsLimitsAdminOverridesListCall) Header() http func (c *ServicesConsumerQuotaMetricsLimitsAdminOverridesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7356,7 +7356,7 @@ func (c *ServicesConsumerQuotaMetricsLimitsAdminOverridesPatchCall) Header() htt func (c *ServicesConsumerQuotaMetricsLimitsAdminOverridesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7523,7 +7523,7 @@ func (c *ServicesConsumerQuotaMetricsLimitsConsumerOverridesCreateCall) Header() func (c *ServicesConsumerQuotaMetricsLimitsConsumerOverridesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7678,7 +7678,7 @@ func (c *ServicesConsumerQuotaMetricsLimitsConsumerOverridesDeleteCall) Header() func (c *ServicesConsumerQuotaMetricsLimitsConsumerOverridesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7839,7 +7839,7 @@ func (c *ServicesConsumerQuotaMetricsLimitsConsumerOverridesListCall) Header() h func (c *ServicesConsumerQuotaMetricsLimitsConsumerOverridesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8026,7 +8026,7 @@ func (c *ServicesConsumerQuotaMetricsLimitsConsumerOverridesPatchCall) Header() func (c *ServicesConsumerQuotaMetricsLimitsConsumerOverridesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/sheets/v4/sheets-gen.go b/sheets/v4/sheets-gen.go index b3c84f49ea2..263196f6d00 100644 --- a/sheets/v4/sheets-gen.go +++ b/sheets/v4/sheets-gen.go @@ -11583,7 +11583,7 @@ func (c *SpreadsheetsBatchUpdateCall) Header() http.Header { func (c *SpreadsheetsBatchUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11723,7 +11723,7 @@ func (c *SpreadsheetsCreateCall) Header() http.Header { func (c *SpreadsheetsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11887,7 +11887,7 @@ func (c *SpreadsheetsGetCall) Header() http.Header { func (c *SpreadsheetsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12048,7 +12048,7 @@ func (c *SpreadsheetsGetByDataFilterCall) Header() http.Header { func (c *SpreadsheetsGetByDataFilterCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12202,7 +12202,7 @@ func (c *SpreadsheetsDeveloperMetadataGetCall) Header() http.Header { func (c *SpreadsheetsDeveloperMetadataGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12353,7 +12353,7 @@ func (c *SpreadsheetsDeveloperMetadataSearchCall) Header() http.Header { func (c *SpreadsheetsDeveloperMetadataSearchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12497,7 +12497,7 @@ func (c *SpreadsheetsSheetsCopyToCall) Header() http.Header { func (c *SpreadsheetsSheetsCopyToCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12744,7 +12744,7 @@ func (c *SpreadsheetsValuesAppendCall) Header() http.Header { func (c *SpreadsheetsValuesAppendCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12957,7 +12957,7 @@ func (c *SpreadsheetsValuesBatchClearCall) Header() http.Header { func (c *SpreadsheetsValuesBatchClearCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13102,7 +13102,7 @@ func (c *SpreadsheetsValuesBatchClearByDataFilterCall) Header() http.Header { func (c *SpreadsheetsValuesBatchClearByDataFilterCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13322,7 +13322,7 @@ func (c *SpreadsheetsValuesBatchGetCall) Header() http.Header { func (c *SpreadsheetsValuesBatchGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13512,7 +13512,7 @@ func (c *SpreadsheetsValuesBatchGetByDataFilterCall) Header() http.Header { func (c *SpreadsheetsValuesBatchGetByDataFilterCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13656,7 +13656,7 @@ func (c *SpreadsheetsValuesBatchUpdateCall) Header() http.Header { func (c *SpreadsheetsValuesBatchUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13799,7 +13799,7 @@ func (c *SpreadsheetsValuesBatchUpdateByDataFilterCall) Header() http.Header { func (c *SpreadsheetsValuesBatchUpdateByDataFilterCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13946,7 +13946,7 @@ func (c *SpreadsheetsValuesClearCall) Header() http.Header { func (c *SpreadsheetsValuesClearCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14168,7 +14168,7 @@ func (c *SpreadsheetsValuesGetCall) Header() http.Header { func (c *SpreadsheetsValuesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14435,7 +14435,7 @@ func (c *SpreadsheetsValuesUpdateCall) Header() http.Header { func (c *SpreadsheetsValuesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/siteverification/v1/siteverification-gen.go b/siteverification/v1/siteverification-gen.go index 6a0377d5c12..7acc414f6f1 100644 --- a/siteverification/v1/siteverification-gen.go +++ b/siteverification/v1/siteverification-gen.go @@ -406,7 +406,7 @@ func (c *WebResourceDeleteCall) Header() http.Header { func (c *WebResourceDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -517,7 +517,7 @@ func (c *WebResourceGetCall) Header() http.Header { func (c *WebResourceGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -650,7 +650,7 @@ func (c *WebResourceGetTokenCall) Header() http.Header { func (c *WebResourceGetTokenCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -776,7 +776,7 @@ func (c *WebResourceInsertCall) Header() http.Header { func (c *WebResourceInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -920,7 +920,7 @@ func (c *WebResourceListCall) Header() http.Header { func (c *WebResourceListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1041,7 +1041,7 @@ func (c *WebResourcePatchCall) Header() http.Header { func (c *WebResourcePatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1180,7 +1180,7 @@ func (c *WebResourceUpdateCall) Header() http.Header { func (c *WebResourceUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/slides/v1/slides-gen.go b/slides/v1/slides-gen.go index b1cdccda80b..f92e5b16ba4 100644 --- a/slides/v1/slides-gen.go +++ b/slides/v1/slides-gen.go @@ -7090,7 +7090,7 @@ func (c *PresentationsBatchUpdateCall) Header() http.Header { func (c *PresentationsBatchUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7236,7 +7236,7 @@ func (c *PresentationsCreateCall) Header() http.Header { func (c *PresentationsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7374,7 +7374,7 @@ func (c *PresentationsGetCall) Header() http.Header { func (c *PresentationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7525,7 +7525,7 @@ func (c *PresentationsPagesGetCall) Header() http.Header { func (c *PresentationsPagesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7714,7 +7714,7 @@ func (c *PresentationsPagesGetThumbnailCall) Header() http.Header { func (c *PresentationsPagesGetThumbnailCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/smartdevicemanagement/v1/smartdevicemanagement-gen.go b/smartdevicemanagement/v1/smartdevicemanagement-gen.go index 0a49ef7651a..2945e30ebb6 100644 --- a/smartdevicemanagement/v1/smartdevicemanagement-gen.go +++ b/smartdevicemanagement/v1/smartdevicemanagement-gen.go @@ -562,7 +562,7 @@ func (c *EnterprisesDevicesExecuteCommandCall) Header() http.Header { func (c *EnterprisesDevicesExecuteCommandCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -713,7 +713,7 @@ func (c *EnterprisesDevicesGetCall) Header() http.Header { func (c *EnterprisesDevicesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -880,7 +880,7 @@ func (c *EnterprisesDevicesListCall) Header() http.Header { func (c *EnterprisesDevicesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1063,7 +1063,7 @@ func (c *EnterprisesStructuresGetCall) Header() http.Header { func (c *EnterprisesStructuresGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1230,7 +1230,7 @@ func (c *EnterprisesStructuresListCall) Header() http.Header { func (c *EnterprisesStructuresListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1413,7 +1413,7 @@ func (c *EnterprisesStructuresRoomsGetCall) Header() http.Header { func (c *EnterprisesStructuresRoomsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1572,7 +1572,7 @@ func (c *EnterprisesStructuresRoomsListCall) Header() http.Header { func (c *EnterprisesStructuresRoomsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/sourcerepo/v1/sourcerepo-gen.go b/sourcerepo/v1/sourcerepo-gen.go index fa780bc5ff8..9e1ecec4816 100644 --- a/sourcerepo/v1/sourcerepo-gen.go +++ b/sourcerepo/v1/sourcerepo-gen.go @@ -1109,7 +1109,7 @@ func (c *ProjectsGetConfigCall) Header() http.Header { func (c *ProjectsGetConfigCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1245,7 +1245,7 @@ func (c *ProjectsUpdateConfigCall) Header() http.Header { func (c *ProjectsUpdateConfigCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1387,7 +1387,7 @@ func (c *ProjectsReposCreateCall) Header() http.Header { func (c *ProjectsReposCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1526,7 +1526,7 @@ func (c *ProjectsReposDeleteCall) Header() http.Header { func (c *ProjectsReposDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1668,7 +1668,7 @@ func (c *ProjectsReposGetCall) Header() http.Header { func (c *ProjectsReposGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1832,7 +1832,7 @@ func (c *ProjectsReposGetIamPolicyCall) Header() http.Header { func (c *ProjectsReposGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2004,7 +2004,7 @@ func (c *ProjectsReposListCall) Header() http.Header { func (c *ProjectsReposListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2174,7 +2174,7 @@ func (c *ProjectsReposPatchCall) Header() http.Header { func (c *ProjectsReposPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2315,7 +2315,7 @@ func (c *ProjectsReposSetIamPolicyCall) Header() http.Header { func (c *ProjectsReposSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2457,7 +2457,7 @@ func (c *ProjectsReposSyncCall) Header() http.Header { func (c *ProjectsReposSyncCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2599,7 +2599,7 @@ func (c *ProjectsReposTestIamPermissionsCall) Header() http.Header { func (c *ProjectsReposTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/speech/v1/speech-gen.go b/speech/v1/speech-gen.go index 76151bab208..0b0e76eede5 100644 --- a/speech/v1/speech-gen.go +++ b/speech/v1/speech-gen.go @@ -1126,7 +1126,7 @@ func (c *OperationsGetCall) Header() http.Header { func (c *OperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1305,7 +1305,7 @@ func (c *OperationsListCall) Header() http.Header { func (c *OperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1481,7 +1481,7 @@ func (c *ProjectsLocationsOperationsGetCall) Header() http.Header { func (c *ProjectsLocationsOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1655,7 +1655,7 @@ func (c *ProjectsLocationsOperationsListCall) Header() http.Header { func (c *ProjectsLocationsOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1831,7 +1831,7 @@ func (c *SpeechLongrunningrecognizeCall) Header() http.Header { func (c *SpeechLongrunningrecognizeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1957,7 +1957,7 @@ func (c *SpeechRecognizeCall) Header() http.Header { func (c *SpeechRecognizeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/speech/v1p1beta1/speech-gen.go b/speech/v1p1beta1/speech-gen.go index 1abb8d29d32..6123e2f6150 100644 --- a/speech/v1p1beta1/speech-gen.go +++ b/speech/v1p1beta1/speech-gen.go @@ -1461,7 +1461,7 @@ func (c *OperationsGetCall) Header() http.Header { func (c *OperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1640,7 +1640,7 @@ func (c *OperationsListCall) Header() http.Header { func (c *OperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1816,7 +1816,7 @@ func (c *ProjectsLocationsOperationsGetCall) Header() http.Header { func (c *ProjectsLocationsOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1990,7 +1990,7 @@ func (c *ProjectsLocationsOperationsListCall) Header() http.Header { func (c *ProjectsLocationsOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2166,7 +2166,7 @@ func (c *SpeechLongrunningrecognizeCall) Header() http.Header { func (c *SpeechLongrunningrecognizeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2292,7 +2292,7 @@ func (c *SpeechRecognizeCall) Header() http.Header { func (c *SpeechRecognizeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/speech/v2beta1/speech-gen.go b/speech/v2beta1/speech-gen.go index 56c6b2811f5..098e36bfe18 100644 --- a/speech/v2beta1/speech-gen.go +++ b/speech/v2beta1/speech-gen.go @@ -623,7 +623,7 @@ func (c *ProjectsLocationsOperationsGetCall) Header() http.Header { func (c *ProjectsLocationsOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -797,7 +797,7 @@ func (c *ProjectsLocationsOperationsListCall) Header() http.Header { func (c *ProjectsLocationsOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/sqladmin/v1beta4/sqladmin-gen.go b/sqladmin/v1beta4/sqladmin-gen.go index 43101a98a64..3c53508245a 100644 --- a/sqladmin/v1beta4/sqladmin-gen.go +++ b/sqladmin/v1beta4/sqladmin-gen.go @@ -3866,7 +3866,7 @@ func (c *BackupRunsDeleteCall) Header() http.Header { func (c *BackupRunsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4028,7 +4028,7 @@ func (c *BackupRunsGetCall) Header() http.Header { func (c *BackupRunsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4183,7 +4183,7 @@ func (c *BackupRunsInsertCall) Header() http.Header { func (c *BackupRunsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4359,7 +4359,7 @@ func (c *BackupRunsListCall) Header() http.Header { func (c *BackupRunsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4536,7 +4536,7 @@ func (c *DatabasesDeleteCall) Header() http.Header { func (c *DatabasesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4698,7 +4698,7 @@ func (c *DatabasesGetCall) Header() http.Header { func (c *DatabasesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4852,7 +4852,7 @@ func (c *DatabasesInsertCall) Header() http.Header { func (c *DatabasesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5011,7 +5011,7 @@ func (c *DatabasesListCall) Header() http.Header { func (c *DatabasesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5160,7 +5160,7 @@ func (c *DatabasesPatchCall) Header() http.Header { func (c *DatabasesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5321,7 +5321,7 @@ func (c *DatabasesUpdateCall) Header() http.Header { func (c *DatabasesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5492,7 +5492,7 @@ func (c *FlagsListCall) Header() http.Header { func (c *FlagsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5625,7 +5625,7 @@ func (c *InstancesAddServerCaCall) Header() http.Header { func (c *InstancesAddServerCaCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5768,7 +5768,7 @@ func (c *InstancesCloneCall) Header() http.Header { func (c *InstancesCloneCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5916,7 +5916,7 @@ func (c *InstancesDeleteCall) Header() http.Header { func (c *InstancesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6059,7 +6059,7 @@ func (c *InstancesDemoteMasterCall) Header() http.Header { func (c *InstancesDemoteMasterCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6210,7 +6210,7 @@ func (c *InstancesExportCall) Header() http.Header { func (c *InstancesExportCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6360,7 +6360,7 @@ func (c *InstancesFailoverCall) Header() http.Header { func (c *InstancesFailoverCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6520,7 +6520,7 @@ func (c *InstancesGetCall) Header() http.Header { func (c *InstancesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6666,7 +6666,7 @@ func (c *InstancesImportCall) Header() http.Header { func (c *InstancesImportCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6813,7 +6813,7 @@ func (c *InstancesInsertCall) Header() http.Header { func (c *InstancesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6991,7 +6991,7 @@ func (c *InstancesListCall) Header() http.Header { func (c *InstancesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7178,7 +7178,7 @@ func (c *InstancesListServerCasCall) Header() http.Header { func (c *InstancesListServerCasCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7324,7 +7324,7 @@ func (c *InstancesPatchCall) Header() http.Header { func (c *InstancesPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7474,7 +7474,7 @@ func (c *InstancesPromoteReplicaCall) Header() http.Header { func (c *InstancesPromoteReplicaCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7615,7 +7615,7 @@ func (c *InstancesResetSslConfigCall) Header() http.Header { func (c *InstancesResetSslConfigCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7755,7 +7755,7 @@ func (c *InstancesRestartCall) Header() http.Header { func (c *InstancesRestartCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7898,7 +7898,7 @@ func (c *InstancesRestoreBackupCall) Header() http.Header { func (c *InstancesRestoreBackupCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8050,7 +8050,7 @@ func (c *InstancesRotateServerCaCall) Header() http.Header { func (c *InstancesRotateServerCaCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8198,7 +8198,7 @@ func (c *InstancesStartReplicaCall) Header() http.Header { func (c *InstancesStartReplicaCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8338,7 +8338,7 @@ func (c *InstancesStopReplicaCall) Header() http.Header { func (c *InstancesStopReplicaCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8480,7 +8480,7 @@ func (c *InstancesTruncateLogCall) Header() http.Header { func (c *InstancesTruncateLogCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8631,7 +8631,7 @@ func (c *InstancesUpdateCall) Header() http.Header { func (c *InstancesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8791,7 +8791,7 @@ func (c *OperationsGetCall) Header() http.Header { func (c *OperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8967,7 +8967,7 @@ func (c *OperationsListCall) Header() http.Header { func (c *OperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9142,7 +9142,7 @@ func (c *ProjectsInstancesRescheduleMaintenanceCall) Header() http.Header { func (c *ProjectsInstancesRescheduleMaintenanceCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9311,7 +9311,7 @@ func (c *ProjectsInstancesStartExternalSyncCall) Header() http.Header { func (c *ProjectsInstancesStartExternalSyncCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9493,7 +9493,7 @@ func (c *ProjectsInstancesVerifyExternalSyncSettingsCall) Header() http.Header { func (c *ProjectsInstancesVerifyExternalSyncSettingsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9660,7 +9660,7 @@ func (c *SslCertsCreateEphemeralCall) Header() http.Header { func (c *SslCertsCreateEphemeralCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9811,7 +9811,7 @@ func (c *SslCertsDeleteCall) Header() http.Header { func (c *SslCertsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9974,7 +9974,7 @@ func (c *SslCertsGetCall) Header() http.Header { func (c *SslCertsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10129,7 +10129,7 @@ func (c *SslCertsInsertCall) Header() http.Header { func (c *SslCertsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10288,7 +10288,7 @@ func (c *SslCertsListCall) Header() http.Header { func (c *SslCertsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10441,7 +10441,7 @@ func (c *TiersListCall) Header() http.Header { func (c *TiersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10590,7 +10590,7 @@ func (c *UsersDeleteCall) Header() http.Header { func (c *UsersDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10742,7 +10742,7 @@ func (c *UsersInsertCall) Header() http.Header { func (c *UsersInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10901,7 +10901,7 @@ func (c *UsersListCall) Header() http.Header { func (c *UsersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11060,7 +11060,7 @@ func (c *UsersUpdateCall) Header() http.Header { func (c *UsersUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/storage/v1/storage-gen.go b/storage/v1/storage-gen.go index f9e72b93c6a..df04e7b291f 100644 --- a/storage/v1/storage-gen.go +++ b/storage/v1/storage-gen.go @@ -2446,7 +2446,7 @@ func (c *BucketAccessControlsDeleteCall) Header() http.Header { func (c *BucketAccessControlsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2594,7 +2594,7 @@ func (c *BucketAccessControlsGetCall) Header() http.Header { func (c *BucketAccessControlsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2761,7 +2761,7 @@ func (c *BucketAccessControlsInsertCall) Header() http.Header { func (c *BucketAccessControlsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2934,7 +2934,7 @@ func (c *BucketAccessControlsListCall) Header() http.Header { func (c *BucketAccessControlsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3095,7 +3095,7 @@ func (c *BucketAccessControlsPatchCall) Header() http.Header { func (c *BucketAccessControlsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3269,7 +3269,7 @@ func (c *BucketAccessControlsUpdateCall) Header() http.Header { func (c *BucketAccessControlsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3455,7 +3455,7 @@ func (c *BucketsDeleteCall) Header() http.Header { func (c *BucketsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3634,7 +3634,7 @@ func (c *BucketsGetCall) Header() http.Header { func (c *BucketsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3840,7 +3840,7 @@ func (c *BucketsGetIamPolicyCall) Header() http.Header { func (c *BucketsGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4057,7 +4057,7 @@ func (c *BucketsInsertCall) Header() http.Header { func (c *BucketsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4314,7 +4314,7 @@ func (c *BucketsListCall) Header() http.Header { func (c *BucketsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4524,7 +4524,7 @@ func (c *BucketsLockRetentionPolicyCall) Header() http.Header { func (c *BucketsLockRetentionPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4759,7 +4759,7 @@ func (c *BucketsPatchCall) Header() http.Header { func (c *BucketsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4988,7 +4988,7 @@ func (c *BucketsSetIamPolicyCall) Header() http.Header { func (c *BucketsSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5163,7 +5163,7 @@ func (c *BucketsTestIamPermissionsCall) Header() http.Header { func (c *BucketsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5403,7 +5403,7 @@ func (c *BucketsUpdateCall) Header() http.Header { func (c *BucketsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5615,7 +5615,7 @@ func (c *ChannelsStopCall) Header() http.Header { func (c *ChannelsStopCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5732,7 +5732,7 @@ func (c *DefaultObjectAccessControlsDeleteCall) Header() http.Header { func (c *DefaultObjectAccessControlsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5880,7 +5880,7 @@ func (c *DefaultObjectAccessControlsGetCall) Header() http.Header { func (c *DefaultObjectAccessControlsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6048,7 +6048,7 @@ func (c *DefaultObjectAccessControlsInsertCall) Header() http.Header { func (c *DefaultObjectAccessControlsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6238,7 +6238,7 @@ func (c *DefaultObjectAccessControlsListCall) Header() http.Header { func (c *DefaultObjectAccessControlsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6411,7 +6411,7 @@ func (c *DefaultObjectAccessControlsPatchCall) Header() http.Header { func (c *DefaultObjectAccessControlsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6585,7 +6585,7 @@ func (c *DefaultObjectAccessControlsUpdateCall) Header() http.Header { func (c *DefaultObjectAccessControlsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6757,7 +6757,7 @@ func (c *NotificationsDeleteCall) Header() http.Header { func (c *NotificationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6905,7 +6905,7 @@ func (c *NotificationsGetCall) Header() http.Header { func (c *NotificationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7075,7 +7075,7 @@ func (c *NotificationsInsertCall) Header() http.Header { func (c *NotificationsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7250,7 +7250,7 @@ func (c *NotificationsListCall) Header() http.Header { func (c *NotificationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7423,7 +7423,7 @@ func (c *ObjectAccessControlsDeleteCall) Header() http.Header { func (c *ObjectAccessControlsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7595,7 +7595,7 @@ func (c *ObjectAccessControlsGetCall) Header() http.Header { func (c *ObjectAccessControlsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7786,7 +7786,7 @@ func (c *ObjectAccessControlsInsertCall) Header() http.Header { func (c *ObjectAccessControlsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7983,7 +7983,7 @@ func (c *ObjectAccessControlsListCall) Header() http.Header { func (c *ObjectAccessControlsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8168,7 +8168,7 @@ func (c *ObjectAccessControlsPatchCall) Header() http.Header { func (c *ObjectAccessControlsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8366,7 +8366,7 @@ func (c *ObjectAccessControlsUpdateCall) Header() http.Header { func (c *ObjectAccessControlsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8603,7 +8603,7 @@ func (c *ObjectsComposeCall) Header() http.Header { func (c *ObjectsComposeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8946,7 +8946,7 @@ func (c *ObjectsCopyCall) Header() http.Header { func (c *ObjectsCopyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9274,7 +9274,7 @@ func (c *ObjectsDeleteCall) Header() http.Header { func (c *ObjectsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9507,7 +9507,7 @@ func (c *ObjectsGetCall) Header() http.Header { func (c *ObjectsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9757,7 +9757,7 @@ func (c *ObjectsGetIamPolicyCall) Header() http.Header { func (c *ObjectsGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10074,7 +10074,7 @@ func (c *ObjectsInsertCall) Header() http.Header { func (c *ObjectsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10447,7 +10447,7 @@ func (c *ObjectsListCall) Header() http.Header { func (c *ObjectsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10764,7 +10764,7 @@ func (c *ObjectsPatchCall) Header() http.Header { func (c *ObjectsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11156,7 +11156,7 @@ func (c *ObjectsRewriteCall) Header() http.Header { func (c *ObjectsRewriteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11459,7 +11459,7 @@ func (c *ObjectsSetIamPolicyCall) Header() http.Header { func (c *ObjectsSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11659,7 +11659,7 @@ func (c *ObjectsTestIamPermissionsCall) Header() http.Header { func (c *ObjectsTestIamPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11920,7 +11920,7 @@ func (c *ObjectsUpdateCall) Header() http.Header { func (c *ObjectsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12238,7 +12238,7 @@ func (c *ObjectsWatchAllCall) Header() http.Header { func (c *ObjectsWatchAllCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12454,7 +12454,7 @@ func (c *ProjectsHmacKeysCreateCall) Header() http.Header { func (c *ProjectsHmacKeysCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12604,7 +12604,7 @@ func (c *ProjectsHmacKeysDeleteCall) Header() http.Header { func (c *ProjectsHmacKeysDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12739,7 +12739,7 @@ func (c *ProjectsHmacKeysGetCall) Header() http.Header { func (c *ProjectsHmacKeysGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12939,7 +12939,7 @@ func (c *ProjectsHmacKeysListCall) Header() http.Header { func (c *ProjectsHmacKeysListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13134,7 +13134,7 @@ func (c *ProjectsHmacKeysUpdateCall) Header() http.Header { func (c *ProjectsHmacKeysUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13311,7 +13311,7 @@ func (c *ProjectsServiceAccountGetCall) Header() http.Header { func (c *ProjectsServiceAccountGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/storagetransfer/v1/storagetransfer-api.json b/storagetransfer/v1/storagetransfer-api.json index ebbd220324c..8bf1c071b9e 100644 --- a/storagetransfer/v1/storagetransfer-api.json +++ b/storagetransfer/v1/storagetransfer-api.json @@ -406,7 +406,7 @@ } } }, - "revision": "20201126", + "revision": "20201210", "rootUrl": "https://storagetransfer.googleapis.com/", "schemas": { "AwsAccessKey": { @@ -435,6 +435,10 @@ "bucketName": { "description": "Required. S3 Bucket name (see [Creating a bucket](https://docs.aws.amazon.com/AmazonS3/latest/dev/create-bucket-get-location-example.html)).", "type": "string" + }, + "path": { + "description": "Root path to transfer objects. Must be an empty string or full path name that ends with a '/'. This field is treated as an object prefix. As such, it should generally not begin with a '/'.", + "type": "string" } }, "type": "object" @@ -451,6 +455,10 @@ "description": "Required. The container to transfer from the Azure Storage account.", "type": "string" }, + "path": { + "description": "Root path to transfer objects. Must be an empty string or full path name that ends with a '/'. This field is treated as an object prefix. As such, it should generally not begin with a '/'.", + "type": "string" + }, "storageAccount": { "description": "Required. The name of the Azure Storage account.", "type": "string" @@ -589,6 +597,10 @@ "bucketName": { "description": "Required. Cloud Storage bucket name (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/naming#requirements)).", "type": "string" + }, + "path": { + "description": "Root path to transfer objects. Must be an empty string or full path name that ends with a '/'. This field is treated as an object prefix. As such, it should generally not begin with a '/'. (must meet Object Name Requirements](https://cloud.google.com/storage/docs/naming#objectnames)).", + "type": "string" } }, "type": "object" diff --git a/storagetransfer/v1/storagetransfer-gen.go b/storagetransfer/v1/storagetransfer-gen.go index 8e0fea4c334..d6cbf5b6af3 100644 --- a/storagetransfer/v1/storagetransfer-gen.go +++ b/storagetransfer/v1/storagetransfer-gen.go @@ -220,6 +220,11 @@ type AwsS3Data struct { // get-location-example.html)). BucketName string `json:"bucketName,omitempty"` + // Path: Root path to transfer objects. Must be an empty string or full + // path name that ends with a '/'. This field is treated as an object + // prefix. As such, it should generally not begin with a '/'. + Path string `json:"path,omitempty"` + // ForceSendFields is a list of field names (e.g. "AwsAccessKey") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, @@ -264,6 +269,11 @@ type AzureBlobStorageData struct { // account. Container string `json:"container,omitempty"` + // Path: Root path to transfer objects. Must be an empty string or full + // path name that ends with a '/'. This field is treated as an object + // prefix. As such, it should generally not begin with a '/'. + Path string `json:"path,omitempty"` + // StorageAccount: Required. The name of the Azure Storage account. StorageAccount string `json:"storageAccount,omitempty"` @@ -555,6 +565,14 @@ type GcsData struct { // s)). BucketName string `json:"bucketName,omitempty"` + // Path: Root path to transfer objects. Must be an empty string or full + // path name that ends with a '/'. This field is treated as an object + // prefix. As such, it should generally not begin with a '/'. (must meet + // Object Name + // Requirements](https://cloud.google.com/storage/docs/naming#objectnames + // )). + Path string `json:"path,omitempty"` + // ForceSendFields is a list of field names (e.g. "BucketName") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, @@ -1583,7 +1601,7 @@ func (c *GoogleServiceAccountsGetCall) Header() http.Header { func (c *GoogleServiceAccountsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1715,7 +1733,7 @@ func (c *TransferJobsCreateCall) Header() http.Header { func (c *TransferJobsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1852,7 +1870,7 @@ func (c *TransferJobsGetCall) Header() http.Header { func (c *TransferJobsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2016,7 +2034,7 @@ func (c *TransferJobsListCall) Header() http.Header { func (c *TransferJobsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2182,7 +2200,7 @@ func (c *TransferJobsPatchCall) Header() http.Header { func (c *TransferJobsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2340,7 +2358,7 @@ func (c *TransferOperationsCancelCall) Header() http.Header { func (c *TransferOperationsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2491,7 +2509,7 @@ func (c *TransferOperationsGetCall) Header() http.Header { func (c *TransferOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2650,7 +2668,7 @@ func (c *TransferOperationsListCall) Header() http.Header { func (c *TransferOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2824,7 +2842,7 @@ func (c *TransferOperationsPauseCall) Header() http.Header { func (c *TransferOperationsPauseCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2964,7 +2982,7 @@ func (c *TransferOperationsResumeCall) Header() http.Header { func (c *TransferOperationsResumeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201208") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/streetviewpublish/v1/streetviewpublish-gen.go b/streetviewpublish/v1/streetviewpublish-gen.go index 83e25644c29..e48b4bec464 100644 --- a/streetviewpublish/v1/streetviewpublish-gen.go +++ b/streetviewpublish/v1/streetviewpublish-gen.go @@ -1016,7 +1016,7 @@ func (c *PhotoCreateCall) Header() http.Header { func (c *PhotoCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1144,7 +1144,7 @@ func (c *PhotoDeleteCall) Header() http.Header { func (c *PhotoDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1313,7 +1313,7 @@ func (c *PhotoGetCall) Header() http.Header { func (c *PhotoGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1468,7 +1468,7 @@ func (c *PhotoStartUploadCall) Header() http.Header { func (c *PhotoStartUploadCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1621,7 +1621,7 @@ func (c *PhotoUpdateCall) Header() http.Header { func (c *PhotoUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1770,7 +1770,7 @@ func (c *PhotosBatchDeleteCall) Header() http.Header { func (c *PhotosBatchDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1942,7 +1942,7 @@ func (c *PhotosBatchGetCall) Header() http.Header { func (c *PhotosBatchGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2099,7 +2099,7 @@ func (c *PhotosBatchUpdateCall) Header() http.Header { func (c *PhotosBatchUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2285,7 +2285,7 @@ func (c *PhotosListCall) Header() http.Header { func (c *PhotosListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/sts/v1/sts-gen.go b/sts/v1/sts-gen.go index f6eeddb00b7..67d0d089abf 100644 --- a/sts/v1/sts-gen.go +++ b/sts/v1/sts-gen.go @@ -278,7 +278,7 @@ func (c *V1TokenCall) Header() http.Header { func (c *V1TokenCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/sts/v1beta/sts-gen.go b/sts/v1beta/sts-gen.go index b7fae45fef5..5be8e7327e5 100644 --- a/sts/v1beta/sts-gen.go +++ b/sts/v1beta/sts-gen.go @@ -346,7 +346,7 @@ func (c *V1betaTokenCall) Header() http.Header { func (c *V1betaTokenCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/synth.metadata b/synth.metadata index 7d72f069175..15737aa9f80 100644 --- a/synth.metadata +++ b/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/google-api-go-client.git", - "sha": "9c82d603ad3795da24b2c550e8099f3a951eaa9e" + "sha": "477ea0ccb63497757b340b023a92ca15b31933c7" } } ] diff --git a/tagmanager/v1/tagmanager-gen.go b/tagmanager/v1/tagmanager-gen.go index 1527f1c57a7..c3d1ef07edc 100644 --- a/tagmanager/v1/tagmanager-gen.go +++ b/tagmanager/v1/tagmanager-gen.go @@ -2249,7 +2249,7 @@ func (c *AccountsGetCall) Header() http.Header { func (c *AccountsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2392,7 +2392,7 @@ func (c *AccountsListCall) Header() http.Header { func (c *AccountsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2524,7 +2524,7 @@ func (c *AccountsUpdateCall) Header() http.Header { func (c *AccountsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2668,7 +2668,7 @@ func (c *AccountsContainersCreateCall) Header() http.Header { func (c *AccountsContainersCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2807,7 +2807,7 @@ func (c *AccountsContainersDeleteCall) Header() http.Header { func (c *AccountsContainersDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2929,7 +2929,7 @@ func (c *AccountsContainersGetCall) Header() http.Header { func (c *AccountsContainersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3081,7 +3081,7 @@ func (c *AccountsContainersListCall) Header() http.Header { func (c *AccountsContainersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3226,7 +3226,7 @@ func (c *AccountsContainersUpdateCall) Header() http.Header { func (c *AccountsContainersUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3380,7 +3380,7 @@ func (c *AccountsContainersEnvironmentsCreateCall) Header() http.Header { func (c *AccountsContainersEnvironmentsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3529,7 +3529,7 @@ func (c *AccountsContainersEnvironmentsDeleteCall) Header() http.Header { func (c *AccountsContainersEnvironmentsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3661,7 +3661,7 @@ func (c *AccountsContainersEnvironmentsGetCall) Header() http.Header { func (c *AccountsContainersEnvironmentsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3823,7 +3823,7 @@ func (c *AccountsContainersEnvironmentsListCall) Header() http.Header { func (c *AccountsContainersEnvironmentsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3978,7 +3978,7 @@ func (c *AccountsContainersEnvironmentsUpdateCall) Header() http.Header { func (c *AccountsContainersEnvironmentsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4140,7 +4140,7 @@ func (c *AccountsContainersFoldersCreateCall) Header() http.Header { func (c *AccountsContainersFoldersCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4289,7 +4289,7 @@ func (c *AccountsContainersFoldersDeleteCall) Header() http.Header { func (c *AccountsContainersFoldersDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4421,7 +4421,7 @@ func (c *AccountsContainersFoldersGetCall) Header() http.Header { func (c *AccountsContainersFoldersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4583,7 +4583,7 @@ func (c *AccountsContainersFoldersListCall) Header() http.Header { func (c *AccountsContainersFoldersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4737,7 +4737,7 @@ func (c *AccountsContainersFoldersUpdateCall) Header() http.Header { func (c *AccountsContainersFoldersUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4910,7 +4910,7 @@ func (c *AccountsContainersFoldersEntitiesListCall) Header() http.Header { func (c *AccountsContainersFoldersEntitiesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5086,7 +5086,7 @@ func (c *AccountsContainersMoveFoldersUpdateCall) Header() http.Header { func (c *AccountsContainersMoveFoldersUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5235,7 +5235,7 @@ func (c *AccountsContainersReauthorizeEnvironmentsUpdateCall) Header() http.Head func (c *AccountsContainersReauthorizeEnvironmentsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5392,7 +5392,7 @@ func (c *AccountsContainersTagsCreateCall) Header() http.Header { func (c *AccountsContainersTagsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5541,7 +5541,7 @@ func (c *AccountsContainersTagsDeleteCall) Header() http.Header { func (c *AccountsContainersTagsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5673,7 +5673,7 @@ func (c *AccountsContainersTagsGetCall) Header() http.Header { func (c *AccountsContainersTagsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5835,7 +5835,7 @@ func (c *AccountsContainersTagsListCall) Header() http.Header { func (c *AccountsContainersTagsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5989,7 +5989,7 @@ func (c *AccountsContainersTagsUpdateCall) Header() http.Header { func (c *AccountsContainersTagsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6151,7 +6151,7 @@ func (c *AccountsContainersTriggersCreateCall) Header() http.Header { func (c *AccountsContainersTriggersCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6300,7 +6300,7 @@ func (c *AccountsContainersTriggersDeleteCall) Header() http.Header { func (c *AccountsContainersTriggersDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6432,7 +6432,7 @@ func (c *AccountsContainersTriggersGetCall) Header() http.Header { func (c *AccountsContainersTriggersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6594,7 +6594,7 @@ func (c *AccountsContainersTriggersListCall) Header() http.Header { func (c *AccountsContainersTriggersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6749,7 +6749,7 @@ func (c *AccountsContainersTriggersUpdateCall) Header() http.Header { func (c *AccountsContainersTriggersUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6911,7 +6911,7 @@ func (c *AccountsContainersVariablesCreateCall) Header() http.Header { func (c *AccountsContainersVariablesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7060,7 +7060,7 @@ func (c *AccountsContainersVariablesDeleteCall) Header() http.Header { func (c *AccountsContainersVariablesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7192,7 +7192,7 @@ func (c *AccountsContainersVariablesGetCall) Header() http.Header { func (c *AccountsContainersVariablesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7354,7 +7354,7 @@ func (c *AccountsContainersVariablesListCall) Header() http.Header { func (c *AccountsContainersVariablesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7509,7 +7509,7 @@ func (c *AccountsContainersVariablesUpdateCall) Header() http.Header { func (c *AccountsContainersVariablesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7671,7 +7671,7 @@ func (c *AccountsContainersVersionsCreateCall) Header() http.Header { func (c *AccountsContainersVersionsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7820,7 +7820,7 @@ func (c *AccountsContainersVersionsDeleteCall) Header() http.Header { func (c *AccountsContainersVersionsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7952,7 +7952,7 @@ func (c *AccountsContainersVersionsGetCall) Header() http.Header { func (c *AccountsContainersVersionsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8129,7 +8129,7 @@ func (c *AccountsContainersVersionsListCall) Header() http.Header { func (c *AccountsContainersVersionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8295,7 +8295,7 @@ func (c *AccountsContainersVersionsPublishCall) Header() http.Header { func (c *AccountsContainersVersionsPublishCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8452,7 +8452,7 @@ func (c *AccountsContainersVersionsRestoreCall) Header() http.Header { func (c *AccountsContainersVersionsRestoreCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8601,7 +8601,7 @@ func (c *AccountsContainersVersionsUndeleteCall) Header() http.Header { func (c *AccountsContainersVersionsUndeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8760,7 +8760,7 @@ func (c *AccountsContainersVersionsUpdateCall) Header() http.Header { func (c *AccountsContainersVersionsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8920,7 +8920,7 @@ func (c *AccountsPermissionsCreateCall) Header() http.Header { func (c *AccountsPermissionsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9060,7 +9060,7 @@ func (c *AccountsPermissionsDeleteCall) Header() http.Header { func (c *AccountsPermissionsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9182,7 +9182,7 @@ func (c *AccountsPermissionsGetCall) Header() http.Header { func (c *AccountsPermissionsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9334,7 +9334,7 @@ func (c *AccountsPermissionsListCall) Header() http.Header { func (c *AccountsPermissionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9470,7 +9470,7 @@ func (c *AccountsPermissionsUpdateCall) Header() http.Header { func (c *AccountsPermissionsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/tagmanager/v2/tagmanager-gen.go b/tagmanager/v2/tagmanager-gen.go index f37e2dcebd8..89761bfad3c 100644 --- a/tagmanager/v2/tagmanager-gen.go +++ b/tagmanager/v2/tagmanager-gen.go @@ -3461,7 +3461,7 @@ func (c *AccountsGetCall) Header() http.Header { func (c *AccountsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3612,7 +3612,7 @@ func (c *AccountsListCall) Header() http.Header { func (c *AccountsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3771,7 +3771,7 @@ func (c *AccountsUpdateCall) Header() http.Header { func (c *AccountsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3916,7 +3916,7 @@ func (c *AccountsContainersCreateCall) Header() http.Header { func (c *AccountsContainersCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4054,7 +4054,7 @@ func (c *AccountsContainersDeleteCall) Header() http.Header { func (c *AccountsContainersDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4167,7 +4167,7 @@ func (c *AccountsContainersGetCall) Header() http.Header { func (c *AccountsContainersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4319,7 +4319,7 @@ func (c *AccountsContainersListCall) Header() http.Header { func (c *AccountsContainersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4489,7 +4489,7 @@ func (c *AccountsContainersUpdateCall) Header() http.Header { func (c *AccountsContainersUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4634,7 +4634,7 @@ func (c *AccountsContainersEnvironmentsCreateCall) Header() http.Header { func (c *AccountsContainersEnvironmentsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4772,7 +4772,7 @@ func (c *AccountsContainersEnvironmentsDeleteCall) Header() http.Header { func (c *AccountsContainersEnvironmentsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4885,7 +4885,7 @@ func (c *AccountsContainersEnvironmentsGetCall) Header() http.Header { func (c *AccountsContainersEnvironmentsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5037,7 +5037,7 @@ func (c *AccountsContainersEnvironmentsListCall) Header() http.Header { func (c *AccountsContainersEnvironmentsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5200,7 +5200,7 @@ func (c *AccountsContainersEnvironmentsReauthorizeCall) Header() http.Header { func (c *AccountsContainersEnvironmentsReauthorizeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5348,7 +5348,7 @@ func (c *AccountsContainersEnvironmentsUpdateCall) Header() http.Header { func (c *AccountsContainersEnvironmentsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5502,7 +5502,7 @@ func (c *AccountsContainersVersionHeadersLatestCall) Header() http.Header { func (c *AccountsContainersVersionHeadersLatestCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5661,7 +5661,7 @@ func (c *AccountsContainersVersionHeadersListCall) Header() http.Header { func (c *AccountsContainersVersionHeadersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5827,7 +5827,7 @@ func (c *AccountsContainersVersionsDeleteCall) Header() http.Header { func (c *AccountsContainersVersionsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5948,7 +5948,7 @@ func (c *AccountsContainersVersionsGetCall) Header() http.Header { func (c *AccountsContainersVersionsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6099,7 +6099,7 @@ func (c *AccountsContainersVersionsLiveCall) Header() http.Header { func (c *AccountsContainersVersionsLiveCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6241,7 +6241,7 @@ func (c *AccountsContainersVersionsPublishCall) Header() http.Header { func (c *AccountsContainersVersionsPublishCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6377,7 +6377,7 @@ func (c *AccountsContainersVersionsSetLatestCall) Header() http.Header { func (c *AccountsContainersVersionsSetLatestCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6507,7 +6507,7 @@ func (c *AccountsContainersVersionsUndeleteCall) Header() http.Header { func (c *AccountsContainersVersionsUndeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6647,7 +6647,7 @@ func (c *AccountsContainersVersionsUpdateCall) Header() http.Header { func (c *AccountsContainersVersionsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6792,7 +6792,7 @@ func (c *AccountsContainersWorkspacesCreateCall) Header() http.Header { func (c *AccountsContainersWorkspacesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6934,7 +6934,7 @@ func (c *AccountsContainersWorkspacesCreateVersionCall) Header() http.Header { func (c *AccountsContainersWorkspacesCreateVersionCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7072,7 +7072,7 @@ func (c *AccountsContainersWorkspacesDeleteCall) Header() http.Header { func (c *AccountsContainersWorkspacesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7185,7 +7185,7 @@ func (c *AccountsContainersWorkspacesGetCall) Header() http.Header { func (c *AccountsContainersWorkspacesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7330,7 +7330,7 @@ func (c *AccountsContainersWorkspacesGetStatusCall) Header() http.Header { func (c *AccountsContainersWorkspacesGetStatusCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7482,7 +7482,7 @@ func (c *AccountsContainersWorkspacesListCall) Header() http.Header { func (c *AccountsContainersWorkspacesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7643,7 +7643,7 @@ func (c *AccountsContainersWorkspacesQuickPreviewCall) Header() http.Header { func (c *AccountsContainersWorkspacesQuickPreviewCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7784,7 +7784,7 @@ func (c *AccountsContainersWorkspacesResolveConflictCall) Header() http.Header { func (c *AccountsContainersWorkspacesResolveConflictCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7901,7 +7901,7 @@ func (c *AccountsContainersWorkspacesSyncCall) Header() http.Header { func (c *AccountsContainersWorkspacesSyncCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8041,7 +8041,7 @@ func (c *AccountsContainersWorkspacesUpdateCall) Header() http.Header { func (c *AccountsContainersWorkspacesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8303,7 +8303,7 @@ func (c *AccountsContainersWorkspacesBuiltInVariablesCreateCall) Header() http.H func (c *AccountsContainersWorkspacesBuiltInVariablesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8782,7 +8782,7 @@ func (c *AccountsContainersWorkspacesBuiltInVariablesDeleteCall) Header() http.H func (c *AccountsContainersWorkspacesBuiltInVariablesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9132,7 +9132,7 @@ func (c *AccountsContainersWorkspacesBuiltInVariablesListCall) Header() http.Hea func (c *AccountsContainersWorkspacesBuiltInVariablesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9413,7 +9413,7 @@ func (c *AccountsContainersWorkspacesBuiltInVariablesRevertCall) Header() http.H func (c *AccountsContainersWorkspacesBuiltInVariablesRevertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9774,7 +9774,7 @@ func (c *AccountsContainersWorkspacesFoldersCreateCall) Header() http.Header { func (c *AccountsContainersWorkspacesFoldersCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9912,7 +9912,7 @@ func (c *AccountsContainersWorkspacesFoldersDeleteCall) Header() http.Header { func (c *AccountsContainersWorkspacesFoldersDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10021,7 +10021,7 @@ func (c *AccountsContainersWorkspacesFoldersEntitiesCall) Header() http.Header { func (c *AccountsContainersWorkspacesFoldersEntitiesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10189,7 +10189,7 @@ func (c *AccountsContainersWorkspacesFoldersGetCall) Header() http.Header { func (c *AccountsContainersWorkspacesFoldersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10341,7 +10341,7 @@ func (c *AccountsContainersWorkspacesFoldersListCall) Header() http.Header { func (c *AccountsContainersWorkspacesFoldersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10524,7 +10524,7 @@ func (c *AccountsContainersWorkspacesFoldersMoveEntitiesToFolderCall) Header() h func (c *AccountsContainersWorkspacesFoldersMoveEntitiesToFolderCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10659,7 +10659,7 @@ func (c *AccountsContainersWorkspacesFoldersRevertCall) Header() http.Header { func (c *AccountsContainersWorkspacesFoldersRevertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10803,7 +10803,7 @@ func (c *AccountsContainersWorkspacesFoldersUpdateCall) Header() http.Header { func (c *AccountsContainersWorkspacesFoldersUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10948,7 +10948,7 @@ func (c *AccountsContainersWorkspacesTagsCreateCall) Header() http.Header { func (c *AccountsContainersWorkspacesTagsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11086,7 +11086,7 @@ func (c *AccountsContainersWorkspacesTagsDeleteCall) Header() http.Header { func (c *AccountsContainersWorkspacesTagsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11199,7 +11199,7 @@ func (c *AccountsContainersWorkspacesTagsGetCall) Header() http.Header { func (c *AccountsContainersWorkspacesTagsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11351,7 +11351,7 @@ func (c *AccountsContainersWorkspacesTagsListCall) Header() http.Header { func (c *AccountsContainersWorkspacesTagsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11518,7 +11518,7 @@ func (c *AccountsContainersWorkspacesTagsRevertCall) Header() http.Header { func (c *AccountsContainersWorkspacesTagsRevertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11662,7 +11662,7 @@ func (c *AccountsContainersWorkspacesTagsUpdateCall) Header() http.Header { func (c *AccountsContainersWorkspacesTagsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11807,7 +11807,7 @@ func (c *AccountsContainersWorkspacesTemplatesCreateCall) Header() http.Header { func (c *AccountsContainersWorkspacesTemplatesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11945,7 +11945,7 @@ func (c *AccountsContainersWorkspacesTemplatesDeleteCall) Header() http.Header { func (c *AccountsContainersWorkspacesTemplatesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12058,7 +12058,7 @@ func (c *AccountsContainersWorkspacesTemplatesGetCall) Header() http.Header { func (c *AccountsContainersWorkspacesTemplatesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12210,7 +12210,7 @@ func (c *AccountsContainersWorkspacesTemplatesListCall) Header() http.Header { func (c *AccountsContainersWorkspacesTemplatesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12378,7 +12378,7 @@ func (c *AccountsContainersWorkspacesTemplatesRevertCall) Header() http.Header { func (c *AccountsContainersWorkspacesTemplatesRevertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12523,7 +12523,7 @@ func (c *AccountsContainersWorkspacesTemplatesUpdateCall) Header() http.Header { func (c *AccountsContainersWorkspacesTemplatesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12668,7 +12668,7 @@ func (c *AccountsContainersWorkspacesTriggersCreateCall) Header() http.Header { func (c *AccountsContainersWorkspacesTriggersCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12806,7 +12806,7 @@ func (c *AccountsContainersWorkspacesTriggersDeleteCall) Header() http.Header { func (c *AccountsContainersWorkspacesTriggersDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12919,7 +12919,7 @@ func (c *AccountsContainersWorkspacesTriggersGetCall) Header() http.Header { func (c *AccountsContainersWorkspacesTriggersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13071,7 +13071,7 @@ func (c *AccountsContainersWorkspacesTriggersListCall) Header() http.Header { func (c *AccountsContainersWorkspacesTriggersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13239,7 +13239,7 @@ func (c *AccountsContainersWorkspacesTriggersRevertCall) Header() http.Header { func (c *AccountsContainersWorkspacesTriggersRevertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13384,7 +13384,7 @@ func (c *AccountsContainersWorkspacesTriggersUpdateCall) Header() http.Header { func (c *AccountsContainersWorkspacesTriggersUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13529,7 +13529,7 @@ func (c *AccountsContainersWorkspacesVariablesCreateCall) Header() http.Header { func (c *AccountsContainersWorkspacesVariablesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13667,7 +13667,7 @@ func (c *AccountsContainersWorkspacesVariablesDeleteCall) Header() http.Header { func (c *AccountsContainersWorkspacesVariablesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13780,7 +13780,7 @@ func (c *AccountsContainersWorkspacesVariablesGetCall) Header() http.Header { func (c *AccountsContainersWorkspacesVariablesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13932,7 +13932,7 @@ func (c *AccountsContainersWorkspacesVariablesListCall) Header() http.Header { func (c *AccountsContainersWorkspacesVariablesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14100,7 +14100,7 @@ func (c *AccountsContainersWorkspacesVariablesRevertCall) Header() http.Header { func (c *AccountsContainersWorkspacesVariablesRevertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14245,7 +14245,7 @@ func (c *AccountsContainersWorkspacesVariablesUpdateCall) Header() http.Header { func (c *AccountsContainersWorkspacesVariablesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14390,7 +14390,7 @@ func (c *AccountsContainersWorkspacesZonesCreateCall) Header() http.Header { func (c *AccountsContainersWorkspacesZonesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14528,7 +14528,7 @@ func (c *AccountsContainersWorkspacesZonesDeleteCall) Header() http.Header { func (c *AccountsContainersWorkspacesZonesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14641,7 +14641,7 @@ func (c *AccountsContainersWorkspacesZonesGetCall) Header() http.Header { func (c *AccountsContainersWorkspacesZonesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14793,7 +14793,7 @@ func (c *AccountsContainersWorkspacesZonesListCall) Header() http.Header { func (c *AccountsContainersWorkspacesZonesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14960,7 +14960,7 @@ func (c *AccountsContainersWorkspacesZonesRevertCall) Header() http.Header { func (c *AccountsContainersWorkspacesZonesRevertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15104,7 +15104,7 @@ func (c *AccountsContainersWorkspacesZonesUpdateCall) Header() http.Header { func (c *AccountsContainersWorkspacesZonesUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15249,7 +15249,7 @@ func (c *AccountsUserPermissionsCreateCall) Header() http.Header { func (c *AccountsUserPermissionsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15388,7 +15388,7 @@ func (c *AccountsUserPermissionsDeleteCall) Header() http.Header { func (c *AccountsUserPermissionsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15501,7 +15501,7 @@ func (c *AccountsUserPermissionsGetCall) Header() http.Header { func (c *AccountsUserPermissionsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15653,7 +15653,7 @@ func (c *AccountsUserPermissionsListCall) Header() http.Header { func (c *AccountsUserPermissionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15814,7 +15814,7 @@ func (c *AccountsUserPermissionsUpdateCall) Header() http.Header { func (c *AccountsUserPermissionsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/tasks/v1/tasks-gen.go b/tasks/v1/tasks-gen.go index 50a7e6b24dd..b589a590de9 100644 --- a/tasks/v1/tasks-gen.go +++ b/tasks/v1/tasks-gen.go @@ -461,7 +461,7 @@ func (c *TasklistsDeleteCall) Header() http.Header { func (c *TasklistsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -573,7 +573,7 @@ func (c *TasklistsGetCall) Header() http.Header { func (c *TasklistsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -707,7 +707,7 @@ func (c *TasklistsInsertCall) Header() http.Header { func (c *TasklistsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -856,7 +856,7 @@ func (c *TasklistsListCall) Header() http.Header { func (c *TasklistsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1013,7 +1013,7 @@ func (c *TasklistsPatchCall) Header() http.Header { func (c *TasklistsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1152,7 +1152,7 @@ func (c *TasklistsUpdateCall) Header() http.Header { func (c *TasklistsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1291,7 +1291,7 @@ func (c *TasksClearCall) Header() http.Header { func (c *TasksClearCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1394,7 +1394,7 @@ func (c *TasksDeleteCall) Header() http.Header { func (c *TasksDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1516,7 +1516,7 @@ func (c *TasksGetCall) Header() http.Header { func (c *TasksGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1674,7 +1674,7 @@ func (c *TasksInsertCall) Header() http.Header { func (c *TasksInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1913,7 +1913,7 @@ func (c *TasksListCall) Header() http.Header { func (c *TasksListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2138,7 +2138,7 @@ func (c *TasksMoveCall) Header() http.Header { func (c *TasksMoveCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2290,7 +2290,7 @@ func (c *TasksPatchCall) Header() http.Header { func (c *TasksPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2439,7 +2439,7 @@ func (c *TasksUpdateCall) Header() http.Header { func (c *TasksUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/testing/v1/testing-gen.go b/testing/v1/testing-gen.go index 8fb4c1505a1..c476b652cc9 100644 --- a/testing/v1/testing-gen.go +++ b/testing/v1/testing-gen.go @@ -3265,7 +3265,7 @@ func (c *ApplicationDetailServiceGetApkDetailsCall) Header() http.Header { func (c *ApplicationDetailServiceGetApkDetailsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3398,7 +3398,7 @@ func (c *ProjectsTestMatricesCancelCall) Header() http.Header { func (c *ProjectsTestMatricesCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3552,7 +3552,7 @@ func (c *ProjectsTestMatricesCreateCall) Header() http.Header { func (c *ProjectsTestMatricesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3710,7 +3710,7 @@ func (c *ProjectsTestMatricesGetCall) Header() http.Header { func (c *ProjectsTestMatricesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3872,7 +3872,7 @@ func (c *TestEnvironmentCatalogGetCall) Header() http.Header { func (c *TestEnvironmentCatalogGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/texttospeech/v1/texttospeech-gen.go b/texttospeech/v1/texttospeech-gen.go index 277d7270967..bdfe8382726 100644 --- a/texttospeech/v1/texttospeech-gen.go +++ b/texttospeech/v1/texttospeech-gen.go @@ -562,7 +562,7 @@ func (c *TextSynthesizeCall) Header() http.Header { func (c *TextSynthesizeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -709,7 +709,7 @@ func (c *VoicesListCall) Header() http.Header { func (c *VoicesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/texttospeech/v1beta1/texttospeech-gen.go b/texttospeech/v1beta1/texttospeech-gen.go index 5117cb40d4e..71e32cbda44 100644 --- a/texttospeech/v1beta1/texttospeech-gen.go +++ b/texttospeech/v1beta1/texttospeech-gen.go @@ -631,7 +631,7 @@ func (c *TextSynthesizeCall) Header() http.Header { func (c *TextSynthesizeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -778,7 +778,7 @@ func (c *VoicesListCall) Header() http.Header { func (c *VoicesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/toolresults/v1beta3/toolresults-gen.go b/toolresults/v1beta3/toolresults-gen.go index 15a26dd153a..521105ba80f 100644 --- a/toolresults/v1beta3/toolresults-gen.go +++ b/toolresults/v1beta3/toolresults-gen.go @@ -4584,7 +4584,7 @@ func (c *ProjectsGetSettingsCall) Header() http.Header { func (c *ProjectsGetSettingsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4736,7 +4736,7 @@ func (c *ProjectsInitializeSettingsCall) Header() http.Header { func (c *ProjectsInitializeSettingsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4879,7 +4879,7 @@ func (c *ProjectsHistoriesCreateCall) Header() http.Header { func (c *ProjectsHistoriesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5037,7 +5037,7 @@ func (c *ProjectsHistoriesGetCall) Header() http.Header { func (c *ProjectsHistoriesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5216,7 +5216,7 @@ func (c *ProjectsHistoriesListCall) Header() http.Header { func (c *ProjectsHistoriesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5401,7 +5401,7 @@ func (c *ProjectsHistoriesExecutionsCreateCall) Header() http.Header { func (c *ProjectsHistoriesExecutionsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5569,7 +5569,7 @@ func (c *ProjectsHistoriesExecutionsGetCall) Header() http.Header { func (c *ProjectsHistoriesExecutionsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5751,7 +5751,7 @@ func (c *ProjectsHistoriesExecutionsListCall) Header() http.Header { func (c *ProjectsHistoriesExecutionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5942,7 +5942,7 @@ func (c *ProjectsHistoriesExecutionsPatchCall) Header() http.Header { func (c *ProjectsHistoriesExecutionsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6117,7 +6117,7 @@ func (c *ProjectsHistoriesExecutionsClustersGetCall) Header() http.Header { func (c *ProjectsHistoriesExecutionsClustersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6294,7 +6294,7 @@ func (c *ProjectsHistoriesExecutionsClustersListCall) Header() http.Header { func (c *ProjectsHistoriesExecutionsClustersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6462,7 +6462,7 @@ func (c *ProjectsHistoriesExecutionsEnvironmentsGetCall) Header() http.Header { func (c *ProjectsHistoriesExecutionsEnvironmentsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6652,7 +6652,7 @@ func (c *ProjectsHistoriesExecutionsEnvironmentsListCall) Header() http.Header { func (c *ProjectsHistoriesExecutionsEnvironmentsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6859,7 +6859,7 @@ func (c *ProjectsHistoriesExecutionsStepsAccessibilityClustersCall) Header() htt func (c *ProjectsHistoriesExecutionsStepsAccessibilityClustersCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7017,7 +7017,7 @@ func (c *ProjectsHistoriesExecutionsStepsCreateCall) Header() http.Header { func (c *ProjectsHistoriesExecutionsStepsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7195,7 +7195,7 @@ func (c *ProjectsHistoriesExecutionsStepsGetCall) Header() http.Header { func (c *ProjectsHistoriesExecutionsStepsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7370,7 +7370,7 @@ func (c *ProjectsHistoriesExecutionsStepsGetPerfMetricsSummaryCall) Header() htt func (c *ProjectsHistoriesExecutionsStepsGetPerfMetricsSummaryCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7564,7 +7564,7 @@ func (c *ProjectsHistoriesExecutionsStepsListCall) Header() http.Header { func (c *ProjectsHistoriesExecutionsStepsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7766,7 +7766,7 @@ func (c *ProjectsHistoriesExecutionsStepsPatchCall) Header() http.Header { func (c *ProjectsHistoriesExecutionsStepsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7946,7 +7946,7 @@ func (c *ProjectsHistoriesExecutionsStepsPublishXunitXmlFilesCall) Header() http func (c *ProjectsHistoriesExecutionsStepsPublishXunitXmlFilesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8117,7 +8117,7 @@ func (c *ProjectsHistoriesExecutionsStepsPerfMetricsSummaryCreateCall) Header() func (c *ProjectsHistoriesExecutionsStepsPerfMetricsSummaryCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8288,7 +8288,7 @@ func (c *ProjectsHistoriesExecutionsStepsPerfSampleSeriesCreateCall) Header() ht func (c *ProjectsHistoriesExecutionsStepsPerfSampleSeriesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8469,7 +8469,7 @@ func (c *ProjectsHistoriesExecutionsStepsPerfSampleSeriesGetCall) Header() http. func (c *ProjectsHistoriesExecutionsStepsPerfSampleSeriesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8669,7 +8669,7 @@ func (c *ProjectsHistoriesExecutionsStepsPerfSampleSeriesListCall) Header() http func (c *ProjectsHistoriesExecutionsStepsPerfSampleSeriesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8862,7 +8862,7 @@ func (c *ProjectsHistoriesExecutionsStepsPerfSampleSeriesSamplesBatchCreateCall) func (c *ProjectsHistoriesExecutionsStepsPerfSampleSeriesSamplesBatchCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9073,7 +9073,7 @@ func (c *ProjectsHistoriesExecutionsStepsPerfSampleSeriesSamplesListCall) Header func (c *ProjectsHistoriesExecutionsStepsPerfSampleSeriesSamplesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9292,7 +9292,7 @@ func (c *ProjectsHistoriesExecutionsStepsTestCasesGetCall) Header() http.Header func (c *ProjectsHistoriesExecutionsStepsTestCasesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9492,7 +9492,7 @@ func (c *ProjectsHistoriesExecutionsStepsTestCasesListCall) Header() http.Header func (c *ProjectsHistoriesExecutionsStepsTestCasesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9716,7 +9716,7 @@ func (c *ProjectsHistoriesExecutionsStepsThumbnailsListCall) Header() http.Heade func (c *ProjectsHistoriesExecutionsStepsThumbnailsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/tpu/v1/tpu-gen.go b/tpu/v1/tpu-gen.go index 6336129ff25..c8e27ce7439 100644 --- a/tpu/v1/tpu-gen.go +++ b/tpu/v1/tpu-gen.go @@ -1030,7 +1030,7 @@ func (c *ProjectsLocationsGetCall) Header() http.Header { func (c *ProjectsLocationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1196,7 +1196,7 @@ func (c *ProjectsLocationsListCall) Header() http.Header { func (c *ProjectsLocationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1377,7 +1377,7 @@ func (c *ProjectsLocationsAcceleratorTypesGetCall) Header() http.Header { func (c *ProjectsLocationsAcceleratorTypesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1547,7 +1547,7 @@ func (c *ProjectsLocationsAcceleratorTypesListCall) Header() http.Header { func (c *ProjectsLocationsAcceleratorTypesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1731,7 +1731,7 @@ func (c *ProjectsLocationsNodesCreateCall) Header() http.Header { func (c *ProjectsLocationsNodesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1874,7 +1874,7 @@ func (c *ProjectsLocationsNodesDeleteCall) Header() http.Header { func (c *ProjectsLocationsNodesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2015,7 +2015,7 @@ func (c *ProjectsLocationsNodesGetCall) Header() http.Header { func (c *ProjectsLocationsNodesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2173,7 +2173,7 @@ func (c *ProjectsLocationsNodesListCall) Header() http.Header { func (c *ProjectsLocationsNodesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2340,7 +2340,7 @@ func (c *ProjectsLocationsNodesReimageCall) Header() http.Header { func (c *ProjectsLocationsNodesReimageCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2480,7 +2480,7 @@ func (c *ProjectsLocationsNodesStartCall) Header() http.Header { func (c *ProjectsLocationsNodesStartCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2620,7 +2620,7 @@ func (c *ProjectsLocationsNodesStopCall) Header() http.Header { func (c *ProjectsLocationsNodesStopCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2767,7 +2767,7 @@ func (c *ProjectsLocationsOperationsCancelCall) Header() http.Header { func (c *ProjectsLocationsOperationsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2900,7 +2900,7 @@ func (c *ProjectsLocationsOperationsDeleteCall) Header() http.Header { func (c *ProjectsLocationsOperationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3043,7 +3043,7 @@ func (c *ProjectsLocationsOperationsGetCall) Header() http.Header { func (c *ProjectsLocationsOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3217,7 +3217,7 @@ func (c *ProjectsLocationsOperationsListCall) Header() http.Header { func (c *ProjectsLocationsOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3398,7 +3398,7 @@ func (c *ProjectsLocationsTensorflowVersionsGetCall) Header() http.Header { func (c *ProjectsLocationsTensorflowVersionsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3568,7 +3568,7 @@ func (c *ProjectsLocationsTensorflowVersionsListCall) Header() http.Header { func (c *ProjectsLocationsTensorflowVersionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/tpu/v1alpha1/tpu-gen.go b/tpu/v1alpha1/tpu-gen.go index aa282db58ea..adc92987b76 100644 --- a/tpu/v1alpha1/tpu-gen.go +++ b/tpu/v1alpha1/tpu-gen.go @@ -1030,7 +1030,7 @@ func (c *ProjectsLocationsGetCall) Header() http.Header { func (c *ProjectsLocationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1196,7 +1196,7 @@ func (c *ProjectsLocationsListCall) Header() http.Header { func (c *ProjectsLocationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1377,7 +1377,7 @@ func (c *ProjectsLocationsAcceleratorTypesGetCall) Header() http.Header { func (c *ProjectsLocationsAcceleratorTypesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1547,7 +1547,7 @@ func (c *ProjectsLocationsAcceleratorTypesListCall) Header() http.Header { func (c *ProjectsLocationsAcceleratorTypesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1731,7 +1731,7 @@ func (c *ProjectsLocationsNodesCreateCall) Header() http.Header { func (c *ProjectsLocationsNodesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1874,7 +1874,7 @@ func (c *ProjectsLocationsNodesDeleteCall) Header() http.Header { func (c *ProjectsLocationsNodesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2015,7 +2015,7 @@ func (c *ProjectsLocationsNodesGetCall) Header() http.Header { func (c *ProjectsLocationsNodesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2173,7 +2173,7 @@ func (c *ProjectsLocationsNodesListCall) Header() http.Header { func (c *ProjectsLocationsNodesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2340,7 +2340,7 @@ func (c *ProjectsLocationsNodesReimageCall) Header() http.Header { func (c *ProjectsLocationsNodesReimageCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2480,7 +2480,7 @@ func (c *ProjectsLocationsNodesStartCall) Header() http.Header { func (c *ProjectsLocationsNodesStartCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2620,7 +2620,7 @@ func (c *ProjectsLocationsNodesStopCall) Header() http.Header { func (c *ProjectsLocationsNodesStopCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2767,7 +2767,7 @@ func (c *ProjectsLocationsOperationsCancelCall) Header() http.Header { func (c *ProjectsLocationsOperationsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2900,7 +2900,7 @@ func (c *ProjectsLocationsOperationsDeleteCall) Header() http.Header { func (c *ProjectsLocationsOperationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3043,7 +3043,7 @@ func (c *ProjectsLocationsOperationsGetCall) Header() http.Header { func (c *ProjectsLocationsOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3217,7 +3217,7 @@ func (c *ProjectsLocationsOperationsListCall) Header() http.Header { func (c *ProjectsLocationsOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3398,7 +3398,7 @@ func (c *ProjectsLocationsTensorflowVersionsGetCall) Header() http.Header { func (c *ProjectsLocationsTensorflowVersionsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3568,7 +3568,7 @@ func (c *ProjectsLocationsTensorflowVersionsListCall) Header() http.Header { func (c *ProjectsLocationsTensorflowVersionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/trafficdirector/v2/trafficdirector-gen.go b/trafficdirector/v2/trafficdirector-gen.go index f88df7ed022..213b77354a8 100644 --- a/trafficdirector/v2/trafficdirector-gen.go +++ b/trafficdirector/v2/trafficdirector-gen.go @@ -1659,7 +1659,7 @@ func (c *DiscoveryClientStatusCall) Header() http.Header { func (c *DiscoveryClientStatusCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/transcoder/v1beta1/transcoder-gen.go b/transcoder/v1beta1/transcoder-gen.go index 31b3dbfd093..abd2c6047f1 100644 --- a/transcoder/v1beta1/transcoder-gen.go +++ b/transcoder/v1beta1/transcoder-gen.go @@ -2190,7 +2190,7 @@ func (c *ProjectsLocationsJobTemplatesCreateCall) Header() http.Header { func (c *ProjectsLocationsJobTemplatesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2333,7 +2333,7 @@ func (c *ProjectsLocationsJobTemplatesDeleteCall) Header() http.Header { func (c *ProjectsLocationsJobTemplatesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2474,7 +2474,7 @@ func (c *ProjectsLocationsJobTemplatesGetCall) Header() http.Header { func (c *ProjectsLocationsJobTemplatesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2633,7 +2633,7 @@ func (c *ProjectsLocationsJobTemplatesListCall) Header() http.Header { func (c *ProjectsLocationsJobTemplatesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2800,7 +2800,7 @@ func (c *ProjectsLocationsJobsCreateCall) Header() http.Header { func (c *ProjectsLocationsJobsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2938,7 +2938,7 @@ func (c *ProjectsLocationsJobsDeleteCall) Header() http.Header { func (c *ProjectsLocationsJobsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3079,7 +3079,7 @@ func (c *ProjectsLocationsJobsGetCall) Header() http.Header { func (c *ProjectsLocationsJobsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3238,7 +3238,7 @@ func (c *ProjectsLocationsJobsListCall) Header() http.Header { func (c *ProjectsLocationsJobsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/translate/v2/translate-gen.go b/translate/v2/translate-gen.go index 29cff3c4d22..792859c74ae 100644 --- a/translate/v2/translate-gen.go +++ b/translate/v2/translate-gen.go @@ -565,7 +565,7 @@ func (c *DetectionsDetectCall) Header() http.Header { func (c *DetectionsDetectCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -702,7 +702,7 @@ func (c *DetectionsListCall) Header() http.Header { func (c *DetectionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -858,7 +858,7 @@ func (c *LanguagesListCall) Header() http.Header { func (c *LanguagesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1041,7 +1041,7 @@ func (c *TranslationsListCall) Header() http.Header { func (c *TranslationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1209,7 +1209,7 @@ func (c *TranslationsTranslateCall) Header() http.Header { func (c *TranslationsTranslateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/translate/v3/translate-gen.go b/translate/v3/translate-gen.go index 789a2f66443..5962f5ab736 100644 --- a/translate/v3/translate-gen.go +++ b/translate/v3/translate-gen.go @@ -1380,7 +1380,7 @@ func (c *ProjectsDetectLanguageCall) Header() http.Header { func (c *ProjectsDetectLanguageCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1556,7 +1556,7 @@ func (c *ProjectsGetSupportedLanguagesCall) Header() http.Header { func (c *ProjectsGetSupportedLanguagesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1702,7 +1702,7 @@ func (c *ProjectsTranslateTextCall) Header() http.Header { func (c *ProjectsTranslateTextCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1849,7 +1849,7 @@ func (c *ProjectsLocationsBatchTranslateTextCall) Header() http.Header { func (c *ProjectsLocationsBatchTranslateTextCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1989,7 +1989,7 @@ func (c *ProjectsLocationsDetectLanguageCall) Header() http.Header { func (c *ProjectsLocationsDetectLanguageCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2139,7 +2139,7 @@ func (c *ProjectsLocationsGetCall) Header() http.Header { func (c *ProjectsLocationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2310,7 +2310,7 @@ func (c *ProjectsLocationsGetSupportedLanguagesCall) Header() http.Header { func (c *ProjectsLocationsGetSupportedLanguagesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2487,7 +2487,7 @@ func (c *ProjectsLocationsListCall) Header() http.Header { func (c *ProjectsLocationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2660,7 +2660,7 @@ func (c *ProjectsLocationsTranslateTextCall) Header() http.Header { func (c *ProjectsLocationsTranslateTextCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2802,7 +2802,7 @@ func (c *ProjectsLocationsGlossariesCreateCall) Header() http.Header { func (c *ProjectsLocationsGlossariesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2942,7 +2942,7 @@ func (c *ProjectsLocationsGlossariesDeleteCall) Header() http.Header { func (c *ProjectsLocationsGlossariesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3085,7 +3085,7 @@ func (c *ProjectsLocationsGlossariesGetCall) Header() http.Header { func (c *ProjectsLocationsGlossariesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3270,7 +3270,7 @@ func (c *ProjectsLocationsGlossariesListCall) Header() http.Header { func (c *ProjectsLocationsGlossariesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3452,7 +3452,7 @@ func (c *ProjectsLocationsOperationsCancelCall) Header() http.Header { func (c *ProjectsLocationsOperationsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3594,7 +3594,7 @@ func (c *ProjectsLocationsOperationsDeleteCall) Header() http.Header { func (c *ProjectsLocationsOperationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3738,7 +3738,7 @@ func (c *ProjectsLocationsOperationsGetCall) Header() http.Header { func (c *ProjectsLocationsOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3913,7 +3913,7 @@ func (c *ProjectsLocationsOperationsListCall) Header() http.Header { func (c *ProjectsLocationsOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4095,7 +4095,7 @@ func (c *ProjectsLocationsOperationsWaitCall) Header() http.Header { func (c *ProjectsLocationsOperationsWaitCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/translate/v3beta1/translate-gen.go b/translate/v3beta1/translate-gen.go index 428bd44980e..5f5a3b8facb 100644 --- a/translate/v3beta1/translate-gen.go +++ b/translate/v3beta1/translate-gen.go @@ -1375,7 +1375,7 @@ func (c *ProjectsDetectLanguageCall) Header() http.Header { func (c *ProjectsDetectLanguageCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1551,7 +1551,7 @@ func (c *ProjectsGetSupportedLanguagesCall) Header() http.Header { func (c *ProjectsGetSupportedLanguagesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1697,7 +1697,7 @@ func (c *ProjectsTranslateTextCall) Header() http.Header { func (c *ProjectsTranslateTextCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1844,7 +1844,7 @@ func (c *ProjectsLocationsBatchTranslateTextCall) Header() http.Header { func (c *ProjectsLocationsBatchTranslateTextCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1984,7 +1984,7 @@ func (c *ProjectsLocationsDetectLanguageCall) Header() http.Header { func (c *ProjectsLocationsDetectLanguageCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2134,7 +2134,7 @@ func (c *ProjectsLocationsGetCall) Header() http.Header { func (c *ProjectsLocationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2305,7 +2305,7 @@ func (c *ProjectsLocationsGetSupportedLanguagesCall) Header() http.Header { func (c *ProjectsLocationsGetSupportedLanguagesCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2482,7 +2482,7 @@ func (c *ProjectsLocationsListCall) Header() http.Header { func (c *ProjectsLocationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2655,7 +2655,7 @@ func (c *ProjectsLocationsTranslateTextCall) Header() http.Header { func (c *ProjectsLocationsTranslateTextCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2797,7 +2797,7 @@ func (c *ProjectsLocationsGlossariesCreateCall) Header() http.Header { func (c *ProjectsLocationsGlossariesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2937,7 +2937,7 @@ func (c *ProjectsLocationsGlossariesDeleteCall) Header() http.Header { func (c *ProjectsLocationsGlossariesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3080,7 +3080,7 @@ func (c *ProjectsLocationsGlossariesGetCall) Header() http.Header { func (c *ProjectsLocationsGlossariesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3265,7 +3265,7 @@ func (c *ProjectsLocationsGlossariesListCall) Header() http.Header { func (c *ProjectsLocationsGlossariesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3447,7 +3447,7 @@ func (c *ProjectsLocationsOperationsCancelCall) Header() http.Header { func (c *ProjectsLocationsOperationsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3589,7 +3589,7 @@ func (c *ProjectsLocationsOperationsDeleteCall) Header() http.Header { func (c *ProjectsLocationsOperationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3733,7 +3733,7 @@ func (c *ProjectsLocationsOperationsGetCall) Header() http.Header { func (c *ProjectsLocationsOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3908,7 +3908,7 @@ func (c *ProjectsLocationsOperationsListCall) Header() http.Header { func (c *ProjectsLocationsOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4090,7 +4090,7 @@ func (c *ProjectsLocationsOperationsWaitCall) Header() http.Header { func (c *ProjectsLocationsOperationsWaitCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/vault/v1/vault-gen.go b/vault/v1/vault-gen.go index be5bf8d8779..bd55d652cf3 100644 --- a/vault/v1/vault-gen.go +++ b/vault/v1/vault-gen.go @@ -2507,7 +2507,7 @@ func (c *MattersAddPermissionsCall) Header() http.Header { func (c *MattersAddPermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2647,7 +2647,7 @@ func (c *MattersCloseCall) Header() http.Header { func (c *MattersCloseCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2787,7 +2787,7 @@ func (c *MattersCountCall) Header() http.Header { func (c *MattersCountCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2926,7 +2926,7 @@ func (c *MattersCreateCall) Header() http.Header { func (c *MattersCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3052,7 +3052,7 @@ func (c *MattersDeleteCall) Header() http.Header { func (c *MattersDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3206,7 +3206,7 @@ func (c *MattersGetCall) Header() http.Header { func (c *MattersGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3405,7 +3405,7 @@ func (c *MattersListCall) Header() http.Header { func (c *MattersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3593,7 +3593,7 @@ func (c *MattersRemovePermissionsCall) Header() http.Header { func (c *MattersRemovePermissionsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3733,7 +3733,7 @@ func (c *MattersReopenCall) Header() http.Header { func (c *MattersReopenCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3873,7 +3873,7 @@ func (c *MattersUndeleteCall) Header() http.Header { func (c *MattersUndeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4014,7 +4014,7 @@ func (c *MattersUpdateCall) Header() http.Header { func (c *MattersUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4153,7 +4153,7 @@ func (c *MattersExportsCreateCall) Header() http.Header { func (c *MattersExportsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4292,7 +4292,7 @@ func (c *MattersExportsDeleteCall) Header() http.Header { func (c *MattersExportsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4442,7 +4442,7 @@ func (c *MattersExportsGetCall) Header() http.Header { func (c *MattersExportsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4608,7 +4608,7 @@ func (c *MattersExportsListCall) Header() http.Header { func (c *MattersExportsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4779,7 +4779,7 @@ func (c *MattersHoldsAddHeldAccountsCall) Header() http.Header { func (c *MattersHoldsAddHeldAccountsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -4926,7 +4926,7 @@ func (c *MattersHoldsCreateCall) Header() http.Header { func (c *MattersHoldsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5066,7 +5066,7 @@ func (c *MattersHoldsDeleteCall) Header() http.Header { func (c *MattersHoldsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5232,7 +5232,7 @@ func (c *MattersHoldsGetCall) Header() http.Header { func (c *MattersHoldsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5432,7 +5432,7 @@ func (c *MattersHoldsListCall) Header() http.Header { func (c *MattersHoldsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5619,7 +5619,7 @@ func (c *MattersHoldsRemoveHeldAccountsCall) Header() http.Header { func (c *MattersHoldsRemoveHeldAccountsCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5771,7 +5771,7 @@ func (c *MattersHoldsUpdateCall) Header() http.Header { func (c *MattersHoldsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -5922,7 +5922,7 @@ func (c *MattersHoldsAccountsCreateCall) Header() http.Header { func (c *MattersHoldsAccountsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6072,7 +6072,7 @@ func (c *MattersHoldsAccountsDeleteCall) Header() http.Header { func (c *MattersHoldsAccountsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6232,7 +6232,7 @@ func (c *MattersHoldsAccountsListCall) Header() http.Header { func (c *MattersHoldsAccountsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6375,7 +6375,7 @@ func (c *MattersSavedQueriesCreateCall) Header() http.Header { func (c *MattersSavedQueriesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6514,7 +6514,7 @@ func (c *MattersSavedQueriesDeleteCall) Header() http.Header { func (c *MattersSavedQueriesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6664,7 +6664,7 @@ func (c *MattersSavedQueriesGetCall) Header() http.Header { func (c *MattersSavedQueriesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -6832,7 +6832,7 @@ func (c *MattersSavedQueriesListCall) Header() http.Header { func (c *MattersSavedQueriesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7008,7 +7008,7 @@ func (c *OperationsCancelCall) Header() http.Header { func (c *OperationsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7146,7 +7146,7 @@ func (c *OperationsDeleteCall) Header() http.Header { func (c *OperationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7286,7 +7286,7 @@ func (c *OperationsGetCall) Header() http.Header { func (c *OperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -7461,7 +7461,7 @@ func (c *OperationsListCall) Header() http.Header { func (c *OperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/vectortile/v1/vectortile-gen.go b/vectortile/v1/vectortile-gen.go index e867daeaa5d..9e761edffb1 100644 --- a/vectortile/v1/vectortile-gen.go +++ b/vectortile/v1/vectortile-gen.go @@ -1362,7 +1362,7 @@ func (c *FeaturetilesGetCall) Header() http.Header { func (c *FeaturetilesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1725,7 +1725,7 @@ func (c *TerraintilesGetCall) Header() http.Header { func (c *TerraintilesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/verifiedaccess/v1/verifiedaccess-gen.go b/verifiedaccess/v1/verifiedaccess-gen.go index fb171caf978..616659f178a 100644 --- a/verifiedaccess/v1/verifiedaccess-gen.go +++ b/verifiedaccess/v1/verifiedaccess-gen.go @@ -356,7 +356,7 @@ func (c *ChallengeCreateCall) Header() http.Header { func (c *ChallengeCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -481,7 +481,7 @@ func (c *ChallengeVerifyCall) Header() http.Header { func (c *ChallengeVerifyCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/videointelligence/v1/videointelligence-gen.go b/videointelligence/v1/videointelligence-gen.go index 30598bb05c9..12a5d1190e4 100644 --- a/videointelligence/v1/videointelligence-gen.go +++ b/videointelligence/v1/videointelligence-gen.go @@ -8549,7 +8549,7 @@ func (c *OperationsProjectsLocationsOperationsCancelCall) Header() http.Header { func (c *OperationsProjectsLocationsOperationsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8682,7 +8682,7 @@ func (c *OperationsProjectsLocationsOperationsDeleteCall) Header() http.Header { func (c *OperationsProjectsLocationsOperationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8825,7 +8825,7 @@ func (c *OperationsProjectsLocationsOperationsGetCall) Header() http.Header { func (c *OperationsProjectsLocationsOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -8969,7 +8969,7 @@ func (c *ProjectsLocationsOperationsCancelCall) Header() http.Header { func (c *ProjectsLocationsOperationsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9110,7 +9110,7 @@ func (c *ProjectsLocationsOperationsDeleteCall) Header() http.Header { func (c *ProjectsLocationsOperationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9253,7 +9253,7 @@ func (c *ProjectsLocationsOperationsGetCall) Header() http.Header { func (c *ProjectsLocationsOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9427,7 +9427,7 @@ func (c *ProjectsLocationsOperationsListCall) Header() http.Header { func (c *ProjectsLocationsOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -9602,7 +9602,7 @@ func (c *VideosAnnotateCall) Header() http.Header { func (c *VideosAnnotateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/videointelligence/v1beta2/videointelligence-gen.go b/videointelligence/v1beta2/videointelligence-gen.go index e07872b9088..8df55da58a6 100644 --- a/videointelligence/v1beta2/videointelligence-gen.go +++ b/videointelligence/v1beta2/videointelligence-gen.go @@ -8407,7 +8407,7 @@ func (c *VideosAnnotateCall) Header() http.Header { func (c *VideosAnnotateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/videointelligence/v1p1beta1/videointelligence-gen.go b/videointelligence/v1p1beta1/videointelligence-gen.go index 9148b58a9b4..53a64c748ab 100644 --- a/videointelligence/v1p1beta1/videointelligence-gen.go +++ b/videointelligence/v1p1beta1/videointelligence-gen.go @@ -8407,7 +8407,7 @@ func (c *VideosAnnotateCall) Header() http.Header { func (c *VideosAnnotateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/videointelligence/v1p2beta1/videointelligence-gen.go b/videointelligence/v1p2beta1/videointelligence-gen.go index d450a730a26..2bcbbee067c 100644 --- a/videointelligence/v1p2beta1/videointelligence-gen.go +++ b/videointelligence/v1p2beta1/videointelligence-gen.go @@ -8407,7 +8407,7 @@ func (c *VideosAnnotateCall) Header() http.Header { func (c *VideosAnnotateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/videointelligence/v1p3beta1/videointelligence-gen.go b/videointelligence/v1p3beta1/videointelligence-gen.go index b170d7cdaf3..b64c16eaab1 100644 --- a/videointelligence/v1p3beta1/videointelligence-gen.go +++ b/videointelligence/v1p3beta1/videointelligence-gen.go @@ -8408,7 +8408,7 @@ func (c *VideosAnnotateCall) Header() http.Header { func (c *VideosAnnotateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/vision/v1/vision-gen.go b/vision/v1/vision-gen.go index 429a2f4eafb..6f470b320f6 100644 --- a/vision/v1/vision-gen.go +++ b/vision/v1/vision-gen.go @@ -13944,7 +13944,7 @@ func (c *FilesAnnotateCall) Header() http.Header { func (c *FilesAnnotateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14076,7 +14076,7 @@ func (c *FilesAsyncBatchAnnotateCall) Header() http.Header { func (c *FilesAsyncBatchAnnotateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14202,7 +14202,7 @@ func (c *ImagesAnnotateCall) Header() http.Header { func (c *ImagesAnnotateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14334,7 +14334,7 @@ func (c *ImagesAsyncBatchAnnotateCall) Header() http.Header { func (c *ImagesAsyncBatchAnnotateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14473,7 +14473,7 @@ func (c *LocationsOperationsGetCall) Header() http.Header { func (c *LocationsOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14618,7 +14618,7 @@ func (c *OperationsCancelCall) Header() http.Header { func (c *OperationsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14760,7 +14760,7 @@ func (c *OperationsDeleteCall) Header() http.Header { func (c *OperationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14904,7 +14904,7 @@ func (c *OperationsGetCall) Header() http.Header { func (c *OperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15079,7 +15079,7 @@ func (c *OperationsListCall) Header() http.Header { func (c *OperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15257,7 +15257,7 @@ func (c *ProjectsFilesAnnotateCall) Header() http.Header { func (c *ProjectsFilesAnnotateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15404,7 +15404,7 @@ func (c *ProjectsFilesAsyncBatchAnnotateCall) Header() http.Header { func (c *ProjectsFilesAsyncBatchAnnotateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15545,7 +15545,7 @@ func (c *ProjectsImagesAnnotateCall) Header() http.Header { func (c *ProjectsImagesAnnotateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15692,7 +15692,7 @@ func (c *ProjectsImagesAsyncBatchAnnotateCall) Header() http.Header { func (c *ProjectsImagesAsyncBatchAnnotateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15838,7 +15838,7 @@ func (c *ProjectsLocationsFilesAnnotateCall) Header() http.Header { func (c *ProjectsLocationsFilesAnnotateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15985,7 +15985,7 @@ func (c *ProjectsLocationsFilesAsyncBatchAnnotateCall) Header() http.Header { func (c *ProjectsLocationsFilesAsyncBatchAnnotateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16126,7 +16126,7 @@ func (c *ProjectsLocationsImagesAnnotateCall) Header() http.Header { func (c *ProjectsLocationsImagesAnnotateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16273,7 +16273,7 @@ func (c *ProjectsLocationsImagesAsyncBatchAnnotateCall) Header() http.Header { func (c *ProjectsLocationsImagesAsyncBatchAnnotateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16425,7 +16425,7 @@ func (c *ProjectsLocationsOperationsGetCall) Header() http.Header { func (c *ProjectsLocationsOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16564,7 +16564,7 @@ func (c *ProjectsLocationsProductSetsAddProductCall) Header() http.Header { func (c *ProjectsLocationsProductSetsAddProductCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16717,7 +16717,7 @@ func (c *ProjectsLocationsProductSetsCreateCall) Header() http.Header { func (c *ProjectsLocationsProductSetsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16863,7 +16863,7 @@ func (c *ProjectsLocationsProductSetsDeleteCall) Header() http.Header { func (c *ProjectsLocationsProductSetsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17006,7 +17006,7 @@ func (c *ProjectsLocationsProductSetsGetCall) Header() http.Header { func (c *ProjectsLocationsProductSetsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17149,7 +17149,7 @@ func (c *ProjectsLocationsProductSetsImportCall) Header() http.Header { func (c *ProjectsLocationsProductSetsImportCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17315,7 +17315,7 @@ func (c *ProjectsLocationsProductSetsListCall) Header() http.Header { func (c *ProjectsLocationsProductSetsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17496,7 +17496,7 @@ func (c *ProjectsLocationsProductSetsPatchCall) Header() http.Header { func (c *ProjectsLocationsProductSetsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17643,7 +17643,7 @@ func (c *ProjectsLocationsProductSetsRemoveProductCall) Header() http.Header { func (c *ProjectsLocationsProductSetsRemoveProductCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17810,7 +17810,7 @@ func (c *ProjectsLocationsProductSetsProductsListCall) Header() http.Header { func (c *ProjectsLocationsProductSetsProductsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17992,7 +17992,7 @@ func (c *ProjectsLocationsProductsCreateCall) Header() http.Header { func (c *ProjectsLocationsProductsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18139,7 +18139,7 @@ func (c *ProjectsLocationsProductsDeleteCall) Header() http.Header { func (c *ProjectsLocationsProductsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18282,7 +18282,7 @@ func (c *ProjectsLocationsProductsGetCall) Header() http.Header { func (c *ProjectsLocationsProductsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18443,7 +18443,7 @@ func (c *ProjectsLocationsProductsListCall) Header() http.Header { func (c *ProjectsLocationsProductsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18628,7 +18628,7 @@ func (c *ProjectsLocationsProductsPatchCall) Header() http.Header { func (c *ProjectsLocationsProductsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18792,7 +18792,7 @@ func (c *ProjectsLocationsProductsPurgeCall) Header() http.Header { func (c *ProjectsLocationsProductsPurgeCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18957,7 +18957,7 @@ func (c *ProjectsLocationsProductsReferenceImagesCreateCall) Header() http.Heade func (c *ProjectsLocationsProductsReferenceImagesCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19105,7 +19105,7 @@ func (c *ProjectsLocationsProductsReferenceImagesDeleteCall) Header() http.Heade func (c *ProjectsLocationsProductsReferenceImagesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19248,7 +19248,7 @@ func (c *ProjectsLocationsProductsReferenceImagesGetCall) Header() http.Header { func (c *ProjectsLocationsProductsReferenceImagesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19411,7 +19411,7 @@ func (c *ProjectsLocationsProductsReferenceImagesListCall) Header() http.Header func (c *ProjectsLocationsProductsReferenceImagesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19590,7 +19590,7 @@ func (c *ProjectsOperationsGetCall) Header() http.Header { func (c *ProjectsOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/vision/v1p1beta1/vision-gen.go b/vision/v1p1beta1/vision-gen.go index 2e8a85814a9..f6630e00d49 100644 --- a/vision/v1p1beta1/vision-gen.go +++ b/vision/v1p1beta1/vision-gen.go @@ -13355,7 +13355,7 @@ func (c *FilesAnnotateCall) Header() http.Header { func (c *FilesAnnotateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13489,7 +13489,7 @@ func (c *FilesAsyncBatchAnnotateCall) Header() http.Header { func (c *FilesAsyncBatchAnnotateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13615,7 +13615,7 @@ func (c *ImagesAnnotateCall) Header() http.Header { func (c *ImagesAnnotateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13749,7 +13749,7 @@ func (c *ImagesAsyncBatchAnnotateCall) Header() http.Header { func (c *ImagesAsyncBatchAnnotateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13882,7 +13882,7 @@ func (c *ProjectsFilesAnnotateCall) Header() http.Header { func (c *ProjectsFilesAnnotateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14031,7 +14031,7 @@ func (c *ProjectsFilesAsyncBatchAnnotateCall) Header() http.Header { func (c *ProjectsFilesAsyncBatchAnnotateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14172,7 +14172,7 @@ func (c *ProjectsImagesAnnotateCall) Header() http.Header { func (c *ProjectsImagesAnnotateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14321,7 +14321,7 @@ func (c *ProjectsImagesAsyncBatchAnnotateCall) Header() http.Header { func (c *ProjectsImagesAsyncBatchAnnotateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14467,7 +14467,7 @@ func (c *ProjectsLocationsFilesAnnotateCall) Header() http.Header { func (c *ProjectsLocationsFilesAnnotateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14616,7 +14616,7 @@ func (c *ProjectsLocationsFilesAsyncBatchAnnotateCall) Header() http.Header { func (c *ProjectsLocationsFilesAsyncBatchAnnotateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14757,7 +14757,7 @@ func (c *ProjectsLocationsImagesAnnotateCall) Header() http.Header { func (c *ProjectsLocationsImagesAnnotateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14906,7 +14906,7 @@ func (c *ProjectsLocationsImagesAsyncBatchAnnotateCall) Header() http.Header { func (c *ProjectsLocationsImagesAsyncBatchAnnotateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/vision/v1p2beta1/vision-gen.go b/vision/v1p2beta1/vision-gen.go index b34551abe76..ded3cdd77b1 100644 --- a/vision/v1p2beta1/vision-gen.go +++ b/vision/v1p2beta1/vision-gen.go @@ -13355,7 +13355,7 @@ func (c *FilesAnnotateCall) Header() http.Header { func (c *FilesAnnotateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13489,7 +13489,7 @@ func (c *FilesAsyncBatchAnnotateCall) Header() http.Header { func (c *FilesAsyncBatchAnnotateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13615,7 +13615,7 @@ func (c *ImagesAnnotateCall) Header() http.Header { func (c *ImagesAnnotateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13749,7 +13749,7 @@ func (c *ImagesAsyncBatchAnnotateCall) Header() http.Header { func (c *ImagesAsyncBatchAnnotateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13882,7 +13882,7 @@ func (c *ProjectsFilesAnnotateCall) Header() http.Header { func (c *ProjectsFilesAnnotateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14031,7 +14031,7 @@ func (c *ProjectsFilesAsyncBatchAnnotateCall) Header() http.Header { func (c *ProjectsFilesAsyncBatchAnnotateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14172,7 +14172,7 @@ func (c *ProjectsImagesAnnotateCall) Header() http.Header { func (c *ProjectsImagesAnnotateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14321,7 +14321,7 @@ func (c *ProjectsImagesAsyncBatchAnnotateCall) Header() http.Header { func (c *ProjectsImagesAsyncBatchAnnotateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14467,7 +14467,7 @@ func (c *ProjectsLocationsFilesAnnotateCall) Header() http.Header { func (c *ProjectsLocationsFilesAnnotateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14616,7 +14616,7 @@ func (c *ProjectsLocationsFilesAsyncBatchAnnotateCall) Header() http.Header { func (c *ProjectsLocationsFilesAsyncBatchAnnotateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14757,7 +14757,7 @@ func (c *ProjectsLocationsImagesAnnotateCall) Header() http.Header { func (c *ProjectsLocationsImagesAnnotateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14906,7 +14906,7 @@ func (c *ProjectsLocationsImagesAsyncBatchAnnotateCall) Header() http.Header { func (c *ProjectsLocationsImagesAsyncBatchAnnotateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/webfonts/v1/webfonts-gen.go b/webfonts/v1/webfonts-gen.go index b107898f962..106436be344 100644 --- a/webfonts/v1/webfonts-gen.go +++ b/webfonts/v1/webfonts-gen.go @@ -290,7 +290,7 @@ func (c *WebfontsListCall) Header() http.Header { func (c *WebfontsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/webmasters/v3/webmasters-gen.go b/webmasters/v3/webmasters-gen.go index 3c9dc2c605b..18ad5f06fbe 100644 --- a/webmasters/v3/webmasters-gen.go +++ b/webmasters/v3/webmasters-gen.go @@ -664,7 +664,7 @@ func (c *SearchanalyticsQueryCall) Header() http.Header { func (c *SearchanalyticsQueryCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -803,7 +803,7 @@ func (c *SitemapsDeleteCall) Header() http.Header { func (c *SitemapsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -924,7 +924,7 @@ func (c *SitemapsGetCall) Header() http.Header { func (c *SitemapsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1085,7 +1085,7 @@ func (c *SitemapsListCall) Header() http.Header { func (c *SitemapsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1224,7 +1224,7 @@ func (c *SitemapsSubmitCall) Header() http.Header { func (c *SitemapsSubmitCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1332,7 +1332,7 @@ func (c *SitesAddCall) Header() http.Header { func (c *SitesAddCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1433,7 +1433,7 @@ func (c *SitesDeleteCall) Header() http.Header { func (c *SitesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1544,7 +1544,7 @@ func (c *SitesGetCall) Header() http.Header { func (c *SitesGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1685,7 +1685,7 @@ func (c *SitesListCall) Header() http.Header { func (c *SitesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/websecurityscanner/v1/websecurityscanner-gen.go b/websecurityscanner/v1/websecurityscanner-gen.go index b61fe2b15cf..2d3957f8636 100644 --- a/websecurityscanner/v1/websecurityscanner-gen.go +++ b/websecurityscanner/v1/websecurityscanner-gen.go @@ -1522,7 +1522,7 @@ func (c *ProjectsScanConfigsCreateCall) Header() http.Header { func (c *ProjectsScanConfigsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1660,7 +1660,7 @@ func (c *ProjectsScanConfigsDeleteCall) Header() http.Header { func (c *ProjectsScanConfigsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1801,7 +1801,7 @@ func (c *ProjectsScanConfigsGetCall) Header() http.Header { func (c *ProjectsScanConfigsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1962,7 +1962,7 @@ func (c *ProjectsScanConfigsListCall) Header() http.Header { func (c *ProjectsScanConfigsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2139,7 +2139,7 @@ func (c *ProjectsScanConfigsPatchCall) Header() http.Header { func (c *ProjectsScanConfigsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2285,7 +2285,7 @@ func (c *ProjectsScanConfigsStartCall) Header() http.Header { func (c *ProjectsScanConfigsStartCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2434,7 +2434,7 @@ func (c *ProjectsScanConfigsScanRunsGetCall) Header() http.Header { func (c *ProjectsScanConfigsScanRunsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2596,7 +2596,7 @@ func (c *ProjectsScanConfigsScanRunsListCall) Header() http.Header { func (c *ProjectsScanConfigsScanRunsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2763,7 +2763,7 @@ func (c *ProjectsScanConfigsScanRunsStopCall) Header() http.Header { func (c *ProjectsScanConfigsScanRunsStopCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2929,7 +2929,7 @@ func (c *ProjectsScanConfigsScanRunsCrawledUrlsListCall) Header() http.Header { func (c *ProjectsScanConfigsScanRunsCrawledUrlsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3105,7 +3105,7 @@ func (c *ProjectsScanConfigsScanRunsFindingTypeStatsListCall) Header() http.Head func (c *ProjectsScanConfigsScanRunsFindingTypeStatsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3249,7 +3249,7 @@ func (c *ProjectsScanConfigsScanRunsFindingsGetCall) Header() http.Header { func (c *ProjectsScanConfigsScanRunsFindingsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3418,7 +3418,7 @@ func (c *ProjectsScanConfigsScanRunsFindingsListCall) Header() http.Header { func (c *ProjectsScanConfigsScanRunsFindingsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/websecurityscanner/v1alpha/websecurityscanner-gen.go b/websecurityscanner/v1alpha/websecurityscanner-gen.go index d46b75843ae..f8717147510 100644 --- a/websecurityscanner/v1alpha/websecurityscanner-gen.go +++ b/websecurityscanner/v1alpha/websecurityscanner-gen.go @@ -1201,7 +1201,7 @@ func (c *ProjectsScanConfigsCreateCall) Header() http.Header { func (c *ProjectsScanConfigsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1339,7 +1339,7 @@ func (c *ProjectsScanConfigsDeleteCall) Header() http.Header { func (c *ProjectsScanConfigsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1480,7 +1480,7 @@ func (c *ProjectsScanConfigsGetCall) Header() http.Header { func (c *ProjectsScanConfigsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1641,7 +1641,7 @@ func (c *ProjectsScanConfigsListCall) Header() http.Header { func (c *ProjectsScanConfigsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1818,7 +1818,7 @@ func (c *ProjectsScanConfigsPatchCall) Header() http.Header { func (c *ProjectsScanConfigsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1964,7 +1964,7 @@ func (c *ProjectsScanConfigsStartCall) Header() http.Header { func (c *ProjectsScanConfigsStartCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2113,7 +2113,7 @@ func (c *ProjectsScanConfigsScanRunsGetCall) Header() http.Header { func (c *ProjectsScanConfigsScanRunsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2275,7 +2275,7 @@ func (c *ProjectsScanConfigsScanRunsListCall) Header() http.Header { func (c *ProjectsScanConfigsScanRunsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2442,7 +2442,7 @@ func (c *ProjectsScanConfigsScanRunsStopCall) Header() http.Header { func (c *ProjectsScanConfigsScanRunsStopCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2608,7 +2608,7 @@ func (c *ProjectsScanConfigsScanRunsCrawledUrlsListCall) Header() http.Header { func (c *ProjectsScanConfigsScanRunsCrawledUrlsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2784,7 +2784,7 @@ func (c *ProjectsScanConfigsScanRunsFindingTypeStatsListCall) Header() http.Head func (c *ProjectsScanConfigsScanRunsFindingTypeStatsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2928,7 +2928,7 @@ func (c *ProjectsScanConfigsScanRunsFindingsGetCall) Header() http.Header { func (c *ProjectsScanConfigsScanRunsFindingsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3097,7 +3097,7 @@ func (c *ProjectsScanConfigsScanRunsFindingsListCall) Header() http.Header { func (c *ProjectsScanConfigsScanRunsFindingsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/websecurityscanner/v1beta/websecurityscanner-gen.go b/websecurityscanner/v1beta/websecurityscanner-gen.go index 3642695e6ce..1c845c37058 100644 --- a/websecurityscanner/v1beta/websecurityscanner-gen.go +++ b/websecurityscanner/v1beta/websecurityscanner-gen.go @@ -1494,7 +1494,7 @@ func (c *ProjectsScanConfigsCreateCall) Header() http.Header { func (c *ProjectsScanConfigsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1632,7 +1632,7 @@ func (c *ProjectsScanConfigsDeleteCall) Header() http.Header { func (c *ProjectsScanConfigsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1773,7 +1773,7 @@ func (c *ProjectsScanConfigsGetCall) Header() http.Header { func (c *ProjectsScanConfigsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1934,7 +1934,7 @@ func (c *ProjectsScanConfigsListCall) Header() http.Header { func (c *ProjectsScanConfigsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2111,7 +2111,7 @@ func (c *ProjectsScanConfigsPatchCall) Header() http.Header { func (c *ProjectsScanConfigsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2257,7 +2257,7 @@ func (c *ProjectsScanConfigsStartCall) Header() http.Header { func (c *ProjectsScanConfigsStartCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2406,7 +2406,7 @@ func (c *ProjectsScanConfigsScanRunsGetCall) Header() http.Header { func (c *ProjectsScanConfigsScanRunsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2568,7 +2568,7 @@ func (c *ProjectsScanConfigsScanRunsListCall) Header() http.Header { func (c *ProjectsScanConfigsScanRunsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2735,7 +2735,7 @@ func (c *ProjectsScanConfigsScanRunsStopCall) Header() http.Header { func (c *ProjectsScanConfigsScanRunsStopCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2901,7 +2901,7 @@ func (c *ProjectsScanConfigsScanRunsCrawledUrlsListCall) Header() http.Header { func (c *ProjectsScanConfigsScanRunsCrawledUrlsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3077,7 +3077,7 @@ func (c *ProjectsScanConfigsScanRunsFindingTypeStatsListCall) Header() http.Head func (c *ProjectsScanConfigsScanRunsFindingTypeStatsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3221,7 +3221,7 @@ func (c *ProjectsScanConfigsScanRunsFindingsGetCall) Header() http.Header { func (c *ProjectsScanConfigsScanRunsFindingsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -3390,7 +3390,7 @@ func (c *ProjectsScanConfigsScanRunsFindingsListCall) Header() http.Header { func (c *ProjectsScanConfigsScanRunsFindingsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/workflowexecutions/v1beta/workflowexecutions-gen.go b/workflowexecutions/v1beta/workflowexecutions-gen.go index f6af80ec1fe..8d48d7e2d8f 100644 --- a/workflowexecutions/v1beta/workflowexecutions-gen.go +++ b/workflowexecutions/v1beta/workflowexecutions-gen.go @@ -370,7 +370,7 @@ func (c *ProjectsLocationsWorkflowsExecutionsCancelCall) Header() http.Header { func (c *ProjectsLocationsWorkflowsExecutionsCancelCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -511,7 +511,7 @@ func (c *ProjectsLocationsWorkflowsExecutionsCreateCall) Header() http.Header { func (c *ProjectsLocationsWorkflowsExecutionsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -675,7 +675,7 @@ func (c *ProjectsLocationsWorkflowsExecutionsGetCall) Header() http.Header { func (c *ProjectsLocationsWorkflowsExecutionsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -873,7 +873,7 @@ func (c *ProjectsLocationsWorkflowsExecutionsListCall) Header() http.Header { func (c *ProjectsLocationsWorkflowsExecutionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/workflows/v1beta/workflows-gen.go b/workflows/v1beta/workflows-gen.go index 2fb7ed89a7e..bdcc8defdaf 100644 --- a/workflows/v1beta/workflows-gen.go +++ b/workflows/v1beta/workflows-gen.go @@ -643,7 +643,7 @@ func (c *ProjectsLocationsGetCall) Header() http.Header { func (c *ProjectsLocationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -809,7 +809,7 @@ func (c *ProjectsLocationsListCall) Header() http.Header { func (c *ProjectsLocationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -982,7 +982,7 @@ func (c *ProjectsLocationsOperationsDeleteCall) Header() http.Header { func (c *ProjectsLocationsOperationsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1125,7 +1125,7 @@ func (c *ProjectsLocationsOperationsGetCall) Header() http.Header { func (c *ProjectsLocationsOperationsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1299,7 +1299,7 @@ func (c *ProjectsLocationsOperationsListCall) Header() http.Header { func (c *ProjectsLocationsOperationsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1484,7 +1484,7 @@ func (c *ProjectsLocationsWorkflowsCreateCall) Header() http.Header { func (c *ProjectsLocationsWorkflowsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1628,7 +1628,7 @@ func (c *ProjectsLocationsWorkflowsDeleteCall) Header() http.Header { func (c *ProjectsLocationsWorkflowsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1769,7 +1769,7 @@ func (c *ProjectsLocationsWorkflowsGetCall) Header() http.Header { func (c *ProjectsLocationsWorkflowsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1951,7 +1951,7 @@ func (c *ProjectsLocationsWorkflowsListCall) Header() http.Header { func (c *ProjectsLocationsWorkflowsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2139,7 +2139,7 @@ func (c *ProjectsLocationsWorkflowsPatchCall) Header() http.Header { func (c *ProjectsLocationsWorkflowsPatchCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/youtube/v3/youtube-gen.go b/youtube/v3/youtube-gen.go index bdf61f1da31..b1931853b5f 100644 --- a/youtube/v3/youtube-gen.go +++ b/youtube/v3/youtube-gen.go @@ -10123,7 +10123,7 @@ func (c *AbuseReportsInsertCall) Header() http.Header { func (c *AbuseReportsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10322,7 +10322,7 @@ func (c *ActivitiesListCall) Header() http.Header { func (c *ActivitiesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10537,7 +10537,7 @@ func (c *CaptionsDeleteCall) Header() http.Header { func (c *CaptionsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10695,7 +10695,7 @@ func (c *CaptionsDownloadCall) Header() http.Header { func (c *CaptionsDownloadCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -10911,7 +10911,7 @@ func (c *CaptionsInsertCall) Header() http.Header { func (c *CaptionsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11152,7 +11152,7 @@ func (c *CaptionsListCall) Header() http.Header { func (c *CaptionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11379,7 +11379,7 @@ func (c *CaptionsUpdateCall) Header() http.Header { func (c *CaptionsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11666,7 +11666,7 @@ func (c *ChannelBannersInsertCall) Header() http.Header { func (c *ChannelBannersInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -11872,7 +11872,7 @@ func (c *ChannelSectionsDeleteCall) Header() http.Header { func (c *ChannelSectionsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12018,7 +12018,7 @@ func (c *ChannelSectionsInsertCall) Header() http.Header { func (c *ChannelSectionsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12220,7 +12220,7 @@ func (c *ChannelSectionsListCall) Header() http.Header { func (c *ChannelSectionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12397,7 +12397,7 @@ func (c *ChannelSectionsUpdateCall) Header() http.Header { func (c *ChannelSectionsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12636,7 +12636,7 @@ func (c *ChannelsListCall) Header() http.Header { func (c *ChannelsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -12860,7 +12860,7 @@ func (c *ChannelsUpdateCall) Header() http.Header { func (c *ChannelsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13003,7 +13003,7 @@ func (c *CommentThreadsInsertCall) Header() http.Header { func (c *CommentThreadsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13243,7 +13243,7 @@ func (c *CommentThreadsListCall) Header() http.Header { func (c *CommentThreadsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13482,7 +13482,7 @@ func (c *CommentThreadsUpdateCall) Header() http.Header { func (c *CommentThreadsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13616,7 +13616,7 @@ func (c *CommentsDeleteCall) Header() http.Header { func (c *CommentsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13714,7 +13714,7 @@ func (c *CommentsInsertCall) Header() http.Header { func (c *CommentsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -13905,7 +13905,7 @@ func (c *CommentsListCall) Header() http.Header { func (c *CommentsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14095,7 +14095,7 @@ func (c *CommentsMarkAsSpamCall) Header() http.Header { func (c *CommentsMarkAsSpamCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14204,7 +14204,7 @@ func (c *CommentsSetModerationStatusCall) Header() http.Header { func (c *CommentsSetModerationStatusCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14329,7 +14329,7 @@ func (c *CommentsUpdateCall) Header() http.Header { func (c *CommentsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14480,7 +14480,7 @@ func (c *I18nLanguagesListCall) Header() http.Header { func (c *I18nLanguagesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14634,7 +14634,7 @@ func (c *I18nRegionsListCall) Header() http.Header { func (c *I18nRegionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -14820,7 +14820,7 @@ func (c *LiveBroadcastsBindCall) Header() http.Header { func (c *LiveBroadcastsBindCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15038,7 +15038,7 @@ func (c *LiveBroadcastsControlCall) Header() http.Header { func (c *LiveBroadcastsControlCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15240,7 +15240,7 @@ func (c *LiveBroadcastsDeleteCall) Header() http.Header { func (c *LiveBroadcastsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15391,7 +15391,7 @@ func (c *LiveBroadcastsInsertCall) Header() http.Header { func (c *LiveBroadcastsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15646,7 +15646,7 @@ func (c *LiveBroadcastsListCall) Header() http.Header { func (c *LiveBroadcastsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -15910,7 +15910,7 @@ func (c *LiveBroadcastsTransitionCall) Header() http.Header { func (c *LiveBroadcastsTransitionCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16116,7 +16116,7 @@ func (c *LiveBroadcastsUpdateCall) Header() http.Header { func (c *LiveBroadcastsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16261,7 +16261,7 @@ func (c *LiveChatBansDeleteCall) Header() http.Header { func (c *LiveChatBansDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16360,7 +16360,7 @@ func (c *LiveChatBansInsertCall) Header() http.Header { func (c *LiveChatBansInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16495,7 +16495,7 @@ func (c *LiveChatMessagesDeleteCall) Header() http.Header { func (c *LiveChatMessagesDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16594,7 +16594,7 @@ func (c *LiveChatMessagesInsertCall) Header() http.Header { func (c *LiveChatMessagesInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16773,7 +16773,7 @@ func (c *LiveChatMessagesListCall) Header() http.Header { func (c *LiveChatMessagesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -16955,7 +16955,7 @@ func (c *LiveChatModeratorsDeleteCall) Header() http.Header { func (c *LiveChatModeratorsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17054,7 +17054,7 @@ func (c *LiveChatModeratorsInsertCall) Header() http.Header { func (c *LiveChatModeratorsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17218,7 +17218,7 @@ func (c *LiveChatModeratorsListCall) Header() http.Header { func (c *LiveChatModeratorsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17430,7 +17430,7 @@ func (c *LiveStreamsDeleteCall) Header() http.Header { func (c *LiveStreamsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17580,7 +17580,7 @@ func (c *LiveStreamsInsertCall) Header() http.Header { func (c *LiveStreamsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -17808,7 +17808,7 @@ func (c *LiveStreamsListCall) Header() http.Header { func (c *LiveStreamsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18035,7 +18035,7 @@ func (c *LiveStreamsUpdateCall) Header() http.Header { func (c *LiveStreamsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18240,7 +18240,7 @@ func (c *MembersListCall) Header() http.Header { func (c *MembersListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18440,7 +18440,7 @@ func (c *MembershipsLevelsListCall) Header() http.Header { func (c *MembershipsLevelsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18586,7 +18586,7 @@ func (c *PlaylistItemsDeleteCall) Header() http.Header { func (c *PlaylistItemsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18708,7 +18708,7 @@ func (c *PlaylistItemsInsertCall) Header() http.Header { func (c *PlaylistItemsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -18914,7 +18914,7 @@ func (c *PlaylistItemsListCall) Header() http.Header { func (c *PlaylistItemsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19118,7 +19118,7 @@ func (c *PlaylistItemsUpdateCall) Header() http.Header { func (c *PlaylistItemsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19276,7 +19276,7 @@ func (c *PlaylistsDeleteCall) Header() http.Header { func (c *PlaylistsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19422,7 +19422,7 @@ func (c *PlaylistsInsertCall) Header() http.Header { func (c *PlaylistsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19665,7 +19665,7 @@ func (c *PlaylistsListCall) Header() http.Header { func (c *PlaylistsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -19880,7 +19880,7 @@ func (c *PlaylistsUpdateCall) Header() http.Header { func (c *PlaylistsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -20342,7 +20342,7 @@ func (c *SearchListCall) Header() http.Header { func (c *SearchListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -20793,7 +20793,7 @@ func (c *SubscriptionsDeleteCall) Header() http.Header { func (c *SubscriptionsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -20893,7 +20893,7 @@ func (c *SubscriptionsInsertCall) Header() http.Header { func (c *SubscriptionsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21154,7 +21154,7 @@ func (c *SubscriptionsListCall) Header() http.Header { func (c *SubscriptionsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21412,7 +21412,7 @@ func (c *SuperChatEventsListCall) Header() http.Header { func (c *SuperChatEventsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21583,7 +21583,7 @@ func (c *TestsInsertCall) Header() http.Header { func (c *TestsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21724,7 +21724,7 @@ func (c *ThirdPartyLinksDeleteCall) Header() http.Header { func (c *ThirdPartyLinksDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -21841,7 +21841,7 @@ func (c *ThirdPartyLinksInsertCall) Header() http.Header { func (c *ThirdPartyLinksInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -22003,7 +22003,7 @@ func (c *ThirdPartyLinksListCall) Header() http.Header { func (c *ThirdPartyLinksListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -22149,7 +22149,7 @@ func (c *ThirdPartyLinksUpdateCall) Header() http.Header { func (c *ThirdPartyLinksUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -22340,7 +22340,7 @@ func (c *ThumbnailsSetCall) Header() http.Header { func (c *ThumbnailsSetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -22537,7 +22537,7 @@ func (c *VideoAbuseReportReasonsListCall) Header() http.Header { func (c *VideoAbuseReportReasonsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -22704,7 +22704,7 @@ func (c *VideoCategoriesListCall) Header() http.Header { func (c *VideoCategoriesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -22869,7 +22869,7 @@ func (c *VideosDeleteCall) Header() http.Header { func (c *VideosDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -23001,7 +23001,7 @@ func (c *VideosGetRatingCall) Header() http.Header { func (c *VideosGetRatingCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -23241,7 +23241,7 @@ func (c *VideosInsertCall) Header() http.Header { func (c *VideosInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -23576,7 +23576,7 @@ func (c *VideosListCall) Header() http.Header { func (c *VideosListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -23813,7 +23813,7 @@ func (c *VideosRateCall) Header() http.Header { func (c *VideosRateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -23945,7 +23945,7 @@ func (c *VideosReportAbuseCall) Header() http.Header { func (c *VideosReportAbuseCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -24069,7 +24069,7 @@ func (c *VideosUpdateCall) Header() http.Header { func (c *VideosUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -24269,7 +24269,7 @@ func (c *WatermarksSetCall) Header() http.Header { func (c *WatermarksSetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -24445,7 +24445,7 @@ func (c *WatermarksUnsetCall) Header() http.Header { func (c *WatermarksUnsetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/youtubeanalytics/v2/youtubeanalytics-gen.go b/youtubeanalytics/v2/youtubeanalytics-gen.go index cc030326656..26a774f3f2c 100644 --- a/youtubeanalytics/v2/youtubeanalytics-gen.go +++ b/youtubeanalytics/v2/youtubeanalytics-gen.go @@ -797,7 +797,7 @@ func (c *GroupItemsDeleteCall) Header() http.Header { func (c *GroupItemsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -946,7 +946,7 @@ func (c *GroupItemsInsertCall) Header() http.Header { func (c *GroupItemsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1116,7 +1116,7 @@ func (c *GroupItemsListCall) Header() http.Header { func (c *GroupItemsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1273,7 +1273,7 @@ func (c *GroupsDeleteCall) Header() http.Header { func (c *GroupsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1422,7 +1422,7 @@ func (c *GroupsInsertCall) Header() http.Header { func (c *GroupsInsertCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1615,7 +1615,7 @@ func (c *GroupsListCall) Header() http.Header { func (c *GroupsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1799,7 +1799,7 @@ func (c *GroupsUpdateCall) Header() http.Header { func (c *GroupsUpdateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2056,7 +2056,7 @@ func (c *ReportsQueryCall) Header() http.Header { func (c *ReportsQueryCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } diff --git a/youtubereporting/v1/youtubereporting-gen.go b/youtubereporting/v1/youtubereporting-gen.go index e935ef7ee79..1739f19cd40 100644 --- a/youtubereporting/v1/youtubereporting-gen.go +++ b/youtubereporting/v1/youtubereporting-gen.go @@ -1027,7 +1027,7 @@ func (c *JobsCreateCall) Header() http.Header { func (c *JobsCreateCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1168,7 +1168,7 @@ func (c *JobsDeleteCall) Header() http.Header { func (c *JobsDeleteCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1323,7 +1323,7 @@ func (c *JobsGetCall) Header() http.Header { func (c *JobsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1505,7 +1505,7 @@ func (c *JobsListCall) Header() http.Header { func (c *JobsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1691,7 +1691,7 @@ func (c *JobsReportsGetCall) Header() http.Header { func (c *JobsReportsGetCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -1898,7 +1898,7 @@ func (c *JobsReportsListCall) Header() http.Header { func (c *JobsReportsListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2098,7 +2098,7 @@ func (c *MediaDownloadCall) Header() http.Header { func (c *MediaDownloadCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v } @@ -2294,7 +2294,7 @@ func (c *ReportTypesListCall) Header() http.Header { func (c *ReportTypesListCall) doRequest(alt string) (*http.Response, error) { reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201216") + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/20201217") for k, v := range c.header_ { reqHeaders[k] = v }