vendor: update all dependencies

This commit is contained in:
Nick Craig-Wood
2018-03-19 15:51:38 +00:00
parent 940df88eb2
commit d64789528d
4309 changed files with 1327230 additions and 1001070 deletions
File diff suppressed because one or more lines are too long
@@ -112,7 +112,7 @@ type ServicesTenancyUnitsService struct {
}
// AddTenantProjectRequest: Request to add a newly created and
// configured tenant project to tenancy
// configured tenant project to a tenancy
// unit.
type AddTenantProjectRequest struct {
// ProjectConfig: Configuration of the new tenant project that will be
@@ -767,8 +767,8 @@ func (s *Billing) MarshalJSON() ([]byte, error) {
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
// BillingConfig: Describes billing configuration for new a Tenant
// Project
// BillingConfig: Describes billing configuration for a new tenant
// project.
type BillingConfig struct {
// BillingAccount: Name of the billing account.
// For example `billingAccounts/012345-567890-ABCDEF`.
@@ -858,8 +858,35 @@ type CancelOperationRequest struct {
// and
// `google.rpc.context.OriginContext`.
//
// Available context types are defined in package
// Available context types are defined in
// package
// `google.rpc.context`.
//
// This also provides mechanism to whitelist any protobuf message
// extension that
// can be sent in grpc metadata using
// “x-goog-ext-<extension_id>-bin”
// and
// “x-goog-ext-<extension_id>-jspb” format. For example, list any
// service
// specific protobuf types that can appear in grpc metadata as follows
// in your
// yaml file:
//
// Example:
//
// context:
// rules:
// - selector:
// "google.example.library.v1.LibraryService.CreateBook"
// allowed_request_extensions:
// - google.foo.v1.NewExtension
// allowed_response_extensions:
// - google.foo.v1.NewExtension
//
// You can also specify extension ID instead of fully qualified
// extension name
// here.
type Context struct {
// Rules: A list of RPC context rules that apply to individual API
// methods.
@@ -895,6 +922,16 @@ func (s *Context) MarshalJSON() ([]byte, error) {
// for an individual API
// element.
type ContextRule struct {
// AllowedRequestExtensions: A list of full type names or extension IDs
// of extensions allowed in grpc
// side channel from client to backend.
AllowedRequestExtensions []string `json:"allowedRequestExtensions,omitempty"`
// AllowedResponseExtensions: A list of full type names or extension IDs
// of extensions allowed in grpc
// side channel from backend to client.
AllowedResponseExtensions []string `json:"allowedResponseExtensions,omitempty"`
// Provided: A list of full type names of provided contexts.
Provided []string `json:"provided,omitempty"`
@@ -906,20 +943,22 @@ type ContextRule struct {
// Refer to selector for syntax details.
Selector string `json:"selector,omitempty"`
// ForceSendFields is a list of field names (e.g. "Provided") to
// unconditionally include in API requests. By default, fields with
// empty values are omitted from API requests. However, any non-pointer,
// non-interface field appearing in ForceSendFields will be sent 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.
// "AllowedRequestExtensions") to unconditionally include in API
// requests. By default, fields with empty values are omitted from API
// requests. However, any non-pointer, non-interface field appearing in
// ForceSendFields will be sent to the server regardless of whether the
// field is empty or not. This may be used to include empty fields in
// Patch requests.
ForceSendFields []string `json:"-"`
// NullFields is a list of field names (e.g. "Provided") to include in
// API requests with the JSON null value. By default, fields with empty
// values are omitted from API requests. However, any field with an
// empty value appearing in NullFields will be sent to the server as
// null. It is an 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. "AllowedRequestExtensions")
// to include in API requests with the JSON null value. By default,
// fields with empty values are omitted from API requests. However, any
// field with an empty value appearing in NullFields will be sent to the
// server as null. It is an error if a field in this list has a
// non-empty value. This may be used to include null fields in Patch
// requests.
NullFields []string `json:"-"`
}
@@ -967,16 +1006,16 @@ func (s *Control) MarshalJSON() ([]byte, error) {
// consumer of a service.
type CreateTenancyUnitRequest struct {
// TenancyUnitId: Optional producer provided identifier of the tenancy
// unit
// Must be no longer than 40 characters and preferably URI friendly
// If it is not provided, UID for the tenancy unit will be auto
// generated
// unit.
// Must be no longer than 40 characters and preferably URI friendly.
// If it is not provided, a UID for the tenancy unit will be auto
// generated.
// It must be unique across a service.
// If the tenancy unit already exists for the service and consumer
// pair,
// CreateTenancyUnit will return existing tenancy unit if provided
// identifier
// is identical or empty, otherwise the call will fail.
// `CreateTenancyUnit` will return the existing tenancy unit if the
// provided
// identifier is identical or empty, otherwise the call will fail.
TenancyUnitId string `json:"tenancyUnitId,omitempty"`
// ForceSendFields is a list of field names (e.g. "TenancyUnitId") to
@@ -2164,7 +2203,7 @@ type ListTenancyUnitsResponse struct {
// NextPageToken: Pagination token for large results.
NextPageToken string `json:"nextPageToken,omitempty"`
// TenancyUnits: Tenancy Units matching the request.
// TenancyUnits: Tenancy units matching the request.
TenancyUnits []*TenancyUnit `json:"tenancyUnits,omitempty"`
// ServerResponse contains the HTTP response code and headers from the
@@ -2648,8 +2687,6 @@ type MetricDescriptor struct {
//
// **Grammar**
//
// The grammar includes the dimensionless unit `1`, such as `1/s`.
//
// The grammar also includes these connectors:
//
// * `/` division (as an infix operator, e.g. `1/s`).
@@ -2659,7 +2696,7 @@ type MetricDescriptor struct {
//
// Expression = Component { "." Component } { "/" Component } ;
//
// Component = [ PREFIX ] UNIT [ Annotation ]
// Component = ( [ PREFIX ] UNIT | "%" ) [ Annotation ]
// | Annotation
// | "1"
// ;
@@ -2673,6 +2710,10 @@ type MetricDescriptor struct {
// `{requests}/s == 1/s`, `By{transmitted}/s == By/s`.
// * `NAME` is a sequence of non-blank printable ASCII characters not
// containing '{' or '}'.
// * `1` represents dimensionless value 1, such as in `1/s`.
// * `%` represents dimensionless value 1/100, and annotates values
// giving
// a percentage.
Unit string `json:"unit,omitempty"`
// ValueType: Whether the measurement is an integer, a floating-point
@@ -3324,7 +3365,7 @@ func (s *Page) MarshalJSON() ([]byte, error) {
// this level)
type PolicyBinding struct {
// Members: Uses the same format as in IAM policy.
// `member` must include both prefix and id. E.g.,
// `member` must include both prefix and ID. For example,
// `user:{emailId}`,
// `serviceAccount:{emailId}`, `group:{emailId}`.
Members []string `json:"members,omitempty"`
@@ -3851,8 +3892,8 @@ type ServiceAccountConfig struct {
// have to guarantee it.
AccountId string `json:"accountId,omitempty"`
// TenantProjectRoles: Roles for the service account above on tenant
// project.
// TenantProjectRoles: Roles for the associated service account for the
// tenant project.
TenantProjectRoles []string `json:"tenantProjectRoles,omitempty"`
// ForceSendFields is a list of field names (e.g. "AccountId") to
@@ -4215,9 +4256,9 @@ func (s *SystemParameters) MarshalJSON() ([]byte, error) {
// TenancyUnit: Representation of a tenancy unit.
type TenancyUnit struct {
// Consumer: @OutputOnly Cloud resource One Platform Name of the
// consumer of this
// service. For example 'projects/123456'.
// Consumer: @OutputOnly Cloud resource name of the consumer of this
// service.
// For example 'projects/123456'.
Consumer string `json:"consumer,omitempty"`
// CreateTime: @OutputOnly The time this tenancy unit was created.
@@ -4235,6 +4276,7 @@ type TenancyUnit struct {
Service string `json:"service,omitempty"`
// TenantResources: Resources constituting the tenancy unit.
// There can be at most 512 tenant resources in a tenancy unit.
TenantResources []*TenantResource `json:"tenantResources,omitempty"`
// ServerResponse contains the HTTP response code and headers from the
@@ -4275,7 +4317,7 @@ func (s *TenancyUnit) MarshalJSON() ([]byte, error) {
// removal.
type TenantProjectConfig struct {
// BillingConfig: Billing account properties.
// It may be specified explicitly, or created from the specified
// It might be specified explicitly, or created from the specified
// group
// during provisioning
BillingConfig *BillingConfig `json:"billingConfig,omitempty"`
@@ -4301,7 +4343,7 @@ type TenantProjectConfig struct {
// on this project
// during provisioning. If any of these services can not be
// activated,
// addTenantProject method will fail.
// the `addTenantProject` method will fail.
// For example: 'compute.googleapis.com','cloudfunctions.googleapis.com'
Services []string `json:"services,omitempty"`
@@ -4334,15 +4376,18 @@ func (s *TenantProjectConfig) MarshalJSON() ([]byte, error) {
// TenantProjectPolicy: Describes policy settings that need to be
// applied to a newly
// created Tenant Project.
// created tenant project.
type TenantProjectPolicy struct {
// PolicyBindings: Additional policy bindings to be applied on the
// tenant
// project.
// At least one owner must be set in the bindings. Among the list of
// members
// as owners, at least one of them must be either `user` or `group`
// based.
// PolicyBindings: Policy bindings to be applied to the tenant project,
// in addition to the
// 'roles/owner' role granted to the Service Consumer Management
// service
// account.
// At least one binding must have the role `roles/owner`. Among the list
// of
// members for `roles/owner`, at least one of them must be either `user`
// or
// `group` type.
PolicyBindings []*PolicyBinding `json:"policyBindings,omitempty"`
// ForceSendFields is a list of field names (e.g. "PolicyBindings") to
@@ -4372,7 +4417,7 @@ func (s *TenantProjectPolicy) MarshalJSON() ([]byte, error) {
// TenantResource: Resource constituting the TenancyUnit.
type TenantResource struct {
// Resource: @OutputOnly Identifier of the tenant resource.
// For cloud projects it is in the form 'projects/{number}'.
// For cloud projects, it is in the form 'projects/{number}'.
// For example 'projects/123456'.
Resource string `json:"resource,omitempty"`
@@ -5370,9 +5415,11 @@ func (r *ServicesService) Search(parent string) *ServicesSearchCall {
// PageSize sets the optional parameter "pageSize": The maximum number
// of results returned by this request. Currently, the
// default maximum is set to 1000. If page_size is not provided or
// provided a
// number larger than 1000, it will be automatically set to 1000.
// default maximum is set to 1000. If page_size is not provided or the
// size
// provided is a number larger than 1000, it will be automatically set
// to
// 1000.
func (c *ServicesSearchCall) PageSize(pageSize int64) *ServicesSearchCall {
c.urlParams_.Set("pageSize", fmt.Sprint(pageSize))
return c
@@ -5394,7 +5441,7 @@ func (c *ServicesSearchCall) PageToken(pageToken string) *ServicesSearchCall {
// is the
// name of the field you want to compare. Supported fields
// are
// `tenant_resources.tag` and`tenant_resources.resource`.
// `tenant_resources.tag` and `tenant_resources.resource`.
//
// For example, to search tenancy units that contain at least one
// tenant
@@ -5520,7 +5567,7 @@ func (c *ServicesSearchCall) Do(opts ...googleapi.CallOption) (*SearchTenancyUni
// ],
// "parameters": {
// "pageSize": {
// "description": "The maximum number of results returned by this request. Currently, the\ndefault maximum is set to 1000. If page_size is not provided or provided a\nnumber larger than 1000, it will be automatically set to 1000.\n\nOptional.",
// "description": "The maximum number of results returned by this request. Currently, the\ndefault maximum is set to 1000. If page_size is not provided or the size\nprovided is a number larger than 1000, it will be automatically set to\n1000.\n\nOptional.",
// "format": "int32",
// "location": "query",
// "type": "integer"
@@ -5538,7 +5585,7 @@ func (c *ServicesSearchCall) Do(opts ...googleapi.CallOption) (*SearchTenancyUni
// "type": "string"
// },
// "query": {
// "description": "Set a query `{expression}` for querying tenancy units. Your `{expression}`\nmust be in the format: `field_name=literal_string`. The `field_name` is the\nname of the field you want to compare. Supported fields are\n`tenant_resources.tag` and`tenant_resources.resource`.\n\nFor example, to search tenancy units that contain at least one tenant\nresource with given tag 'xyz', use query `tenant_resources.tag=xyz`.\nTo search tenancy units that contain at least one tenant resource with\ngiven resource name 'projects/123456', use query\n`tenant_resources.resource=projects/123456`.\n\nMultiple expressions can be joined with `AND`s. Tenancy units must match\nall expressions to be included in the result set. For example,\n`tenant_resources.tag=xyz AND tenant_resources.resource=projects/123456`\n\nOptional.",
// "description": "Set a query `{expression}` for querying tenancy units. Your `{expression}`\nmust be in the format: `field_name=literal_string`. The `field_name` is the\nname of the field you want to compare. Supported fields are\n`tenant_resources.tag` and `tenant_resources.resource`.\n\nFor example, to search tenancy units that contain at least one tenant\nresource with given tag 'xyz', use query `tenant_resources.tag=xyz`.\nTo search tenancy units that contain at least one tenant resource with\ngiven resource name 'projects/123456', use query\n`tenant_resources.resource=projects/123456`.\n\nMultiple expressions can be joined with `AND`s. Tenancy units must match\nall expressions to be included in the result set. For example,\n`tenant_resources.tag=xyz AND tenant_resources.resource=projects/123456`\n\nOptional.",
// "location": "query",
// "type": "string"
// }
@@ -5587,11 +5634,12 @@ type ServicesTenancyUnitsAddProjectCall struct {
}
// AddProject: Add a new tenant project to the tenancy unit.
// If there are previously failed AddTenantProject calls, you might need
// to
// call RemoveTenantProject first to clean them before you can make
// There can be at most 512 tenant projects in a tenancy unit.
// If there are previously failed `AddTenantProject` calls, you might
// need to
// call `RemoveTenantProject` first to clean them before you can make
// another
// AddTenantProject with the same tag.
// `AddTenantProject` with the same tag.
// Operation<response: Empty>.
func (r *ServicesTenancyUnitsService) AddProject(parent string, addtenantprojectrequest *AddTenantProjectRequest) *ServicesTenancyUnitsAddProjectCall {
c := &ServicesTenancyUnitsAddProjectCall{s: r.s, urlParams_: make(gensupport.URLParams)}
@@ -5686,7 +5734,7 @@ func (c *ServicesTenancyUnitsAddProjectCall) Do(opts ...googleapi.CallOption) (*
}
return ret, nil
// {
// "description": "Add a new tenant project to the tenancy unit.\nIf there are previously failed AddTenantProject calls, you might need to\ncall RemoveTenantProject first to clean them before you can make another\nAddTenantProject with the same tag.\nOperation\u003cresponse: Empty\u003e.",
// "description": "Add a new tenant project to the tenancy unit.\nThere can be at most 512 tenant projects in a tenancy unit.\nIf there are previously failed `AddTenantProject` calls, you might need to\ncall `RemoveTenantProject` first to clean them before you can make another\n`AddTenantProject` with the same tag.\nOperation\u003cresponse: Empty\u003e.",
// "flatPath": "v1/services/{servicesId}/{servicesId1}/{servicesId2}/tenancyUnits/{tenancyUnitsId}:addProject",
// "httpMethod": "POST",
// "id": "serviceconsumermanagement.services.tenancyUnits.addProject",
@@ -5861,7 +5909,7 @@ type ServicesTenancyUnitsDeleteCall struct {
header_ http.Header
}
// Delete: Delete tenancy unit. Before the tenancy unit is deleted,
// Delete: Delete a tenancy unit. Before the tenancy unit is deleted,
// there should be
// no tenant resource in it.
// Operation<response: Empty>.
@@ -5952,7 +6000,7 @@ func (c *ServicesTenancyUnitsDeleteCall) Do(opts ...googleapi.CallOption) (*Oper
}
return ret, nil
// {
// "description": "Delete tenancy unit. Before the tenancy unit is deleted, there should be\nno tenant resource in it.\nOperation\u003cresponse: Empty\u003e.",
// "description": "Delete a tenancy unit. Before the tenancy unit is deleted, there should be\nno tenant resource in it.\nOperation\u003cresponse: Empty\u003e.",
// "flatPath": "v1/services/{servicesId}/{servicesId1}/{servicesId2}/tenancyUnits/{tenancyUnitsId}",
// "httpMethod": "DELETE",
// "id": "serviceconsumermanagement.services.tenancyUnits.delete",
@@ -5990,12 +6038,12 @@ type ServicesTenancyUnitsListCall struct {
header_ http.Header
}
// List: Find tenancy unit for a service and consumer.
// This method should not be used in producers' runtime path, e.g.
// finding
// the tenant project number when creating VMs. Producers should
// persist
// the tenant project information after the project is created.
// List: Find the tenancy unit for a service and consumer.
// This method should not be used in producers' runtime path, for
// example
// finding the tenant project number when creating VMs. Producers
// should
// persist the tenant project information after the project is created.
func (r *ServicesTenancyUnitsService) List(parent string) *ServicesTenancyUnitsListCall {
c := &ServicesTenancyUnitsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
c.parent = parent
@@ -6120,7 +6168,7 @@ func (c *ServicesTenancyUnitsListCall) Do(opts ...googleapi.CallOption) (*ListTe
}
return ret, nil
// {
// "description": "Find tenancy unit for a service and consumer.\nThis method should not be used in producers' runtime path, e.g. finding\nthe tenant project number when creating VMs. Producers should persist\nthe tenant project information after the project is created.",
// "description": "Find the tenancy unit for a service and consumer.\nThis method should not be used in producers' runtime path, for example\nfinding the tenant project number when creating VMs. Producers should\npersist the tenant project information after the project is created.",
// "flatPath": "v1/services/{servicesId}/{servicesId1}/{servicesId2}/tenancyUnits",
// "httpMethod": "GET",
// "id": "serviceconsumermanagement.services.tenancyUnits.list",