forked from TrueCloudLab/rclone
vendor: update all dependencies
This commit is contained in:
parent
3f0789e2db
commit
08021c4636
2474 changed files with 435818 additions and 282709 deletions
454
vendor/google.golang.org/api/container/v1beta1/container-gen.go
generated
vendored
454
vendor/google.golang.org/api/container/v1beta1/container-gen.go
generated
vendored
|
@ -333,6 +333,36 @@ func (s *AutoUpgradeOptions) MarshalJSON() ([]byte, error) {
|
|||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// BinaryAuthorization: Configuration for Binary Authorization.
|
||||
type BinaryAuthorization struct {
|
||||
// Enabled: Enable Binary Authorization for this cluster. If enabled,
|
||||
// all container
|
||||
// images will be validated by Google Binauthz.
|
||||
Enabled bool `json:"enabled,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "Enabled") to
|
||||
// unconditionally include in API requests. By default, fields with
|
||||
// empty values are omitted from API requests. However, any non-pointer,
|
||||
// non-interface field appearing in ForceSendFields will be sent to the
|
||||
// server regardless of whether the field is empty or not. This may be
|
||||
// used to include empty fields in Patch requests.
|
||||
ForceSendFields []string `json:"-"`
|
||||
|
||||
// NullFields is a list of field names (e.g. "Enabled") to include in
|
||||
// API requests with the JSON null value. By default, fields with empty
|
||||
// values are omitted from API requests. However, any field with an
|
||||
// empty value appearing in NullFields will be sent to the server as
|
||||
// null. It is an error if a field in this list has a non-empty value.
|
||||
// This may be used to include null fields in Patch requests.
|
||||
NullFields []string `json:"-"`
|
||||
}
|
||||
|
||||
func (s *BinaryAuthorization) MarshalJSON() ([]byte, error) {
|
||||
type NoMethod BinaryAuthorization
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// CancelOperationRequest: CancelOperationRequest cancels a single
|
||||
// operation.
|
||||
type CancelOperationRequest struct {
|
||||
|
@ -452,6 +482,9 @@ type Cluster struct {
|
|||
// in the cluster.
|
||||
AddonsConfig *AddonsConfig `json:"addonsConfig,omitempty"`
|
||||
|
||||
// BinaryAuthorization: Configuration for Binary Authorization.
|
||||
BinaryAuthorization *BinaryAuthorization `json:"binaryAuthorization,omitempty"`
|
||||
|
||||
// ClusterIpv4Cidr: The IP address range of the container pods in this
|
||||
// cluster,
|
||||
// in
|
||||
|
@ -782,6 +815,10 @@ type ClusterUpdate struct {
|
|||
// to run in the cluster.
|
||||
DesiredAddonsConfig *AddonsConfig `json:"desiredAddonsConfig,omitempty"`
|
||||
|
||||
// DesiredBinaryAuthorization: The desired configuration options for the
|
||||
// Binary Authorization feature.
|
||||
DesiredBinaryAuthorization *BinaryAuthorization `json:"desiredBinaryAuthorization,omitempty"`
|
||||
|
||||
// DesiredImageType: The desired image type for the node pool.
|
||||
// NOTE: Set the "desired_node_pool" field as well.
|
||||
DesiredImageType string `json:"desiredImageType,omitempty"`
|
||||
|
@ -1440,6 +1477,49 @@ func (s *ListClustersResponse) MarshalJSON() ([]byte, error) {
|
|||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// ListLocationsResponse: ListLocationsResponse returns the list of all
|
||||
// GKE locations and their
|
||||
// recommendation state.
|
||||
type ListLocationsResponse struct {
|
||||
// Locations: A full list of GKE locations.
|
||||
Locations []*Location `json:"locations,omitempty"`
|
||||
|
||||
// NextPageToken: Only return ListLocationsResponse that occur after the
|
||||
// page_token. This
|
||||
// value should be populated from the
|
||||
// ListLocationsResponse.next_page_token if
|
||||
// that response token was set (which happens when listing more
|
||||
// Locations than
|
||||
// fit in a single ListLocationsResponse).
|
||||
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 *ListLocationsResponse) MarshalJSON() ([]byte, error) {
|
||||
type NoMethod ListLocationsResponse
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// ListNodePoolsResponse: ListNodePoolsResponse is the result of
|
||||
// ListNodePoolsRequest.
|
||||
type ListNodePoolsResponse struct {
|
||||
|
@ -1557,6 +1637,55 @@ func (s *ListUsableSubnetworksResponse) MarshalJSON() ([]byte, error) {
|
|||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// Location: Location returns the location name, and if the location is
|
||||
// recommended
|
||||
// for GKE cluster scheduling.
|
||||
type Location struct {
|
||||
// Name: Contains the name of the resource requested.
|
||||
// Specific in the format 'projects/*/locations/*'.
|
||||
Name string `json:"name,omitempty"`
|
||||
|
||||
// Recommended: Recommended is a bool combining the drain state of the
|
||||
// location (ie- has
|
||||
// the region been drained manually?), and the stockout status of any
|
||||
// zone
|
||||
// according to Zone Advisor. This will be internal only for use by
|
||||
// pantheon.
|
||||
Recommended bool `json:"recommended,omitempty"`
|
||||
|
||||
// Type: Contains the type of location this Location is for.
|
||||
// Regional or Zonal.
|
||||
//
|
||||
// Possible values:
|
||||
// "LOCATION_TYPE_UNSPECIFIED" - LOCATION_TYPE_UNSPECIFIED means the
|
||||
// location type was not determined.
|
||||
// "ZONE" - A GKE Location where Zonal clusters can be created.
|
||||
// "REGION" - A GKE Location where Regional clusters can be created.
|
||||
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 *Location) MarshalJSON() ([]byte, error) {
|
||||
type NoMethod Location
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// MaintenancePolicy: MaintenancePolicy defines the maintenance policy
|
||||
// to be used for the cluster.
|
||||
type MaintenancePolicy struct {
|
||||
|
@ -1724,6 +1853,59 @@ func (s *MasterAuthorizedNetworksConfig) MarshalJSON() ([]byte, error) {
|
|||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// Metric: Progress metric is (string, int|float|string) pair.
|
||||
type Metric struct {
|
||||
// DoubleValue: For metrics with floating point value.
|
||||
DoubleValue float64 `json:"doubleValue,omitempty"`
|
||||
|
||||
// IntValue: For metrics with integer value.
|
||||
IntValue int64 `json:"intValue,omitempty,string"`
|
||||
|
||||
// Name: Metric name, required.
|
||||
// e.g., "nodes total", "percent done"
|
||||
Name string `json:"name,omitempty"`
|
||||
|
||||
// StringValue: For metrics with custom values (ratios, visual progress,
|
||||
// etc.).
|
||||
StringValue string `json:"stringValue,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "DoubleValue") to
|
||||
// unconditionally include in API requests. By default, fields with
|
||||
// empty values are omitted from API requests. However, any non-pointer,
|
||||
// non-interface field appearing in ForceSendFields will be sent to the
|
||||
// server regardless of whether the field is empty or not. This may be
|
||||
// used to include empty fields in Patch requests.
|
||||
ForceSendFields []string `json:"-"`
|
||||
|
||||
// NullFields is a list of field names (e.g. "DoubleValue") to include
|
||||
// in API requests with the JSON null value. By default, fields with
|
||||
// empty values are omitted from API requests. However, any field with
|
||||
// an empty value appearing in NullFields will be sent to the server as
|
||||
// null. It is an error if a field in this list has a non-empty value.
|
||||
// This may be used to include null fields in Patch requests.
|
||||
NullFields []string `json:"-"`
|
||||
}
|
||||
|
||||
func (s *Metric) MarshalJSON() ([]byte, error) {
|
||||
type NoMethod Metric
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
func (s *Metric) UnmarshalJSON(data []byte) error {
|
||||
type NoMethod Metric
|
||||
var s1 struct {
|
||||
DoubleValue gensupport.JSONFloat64 `json:"doubleValue"`
|
||||
*NoMethod
|
||||
}
|
||||
s1.NoMethod = (*NoMethod)(s)
|
||||
if err := json.Unmarshal(data, &s1); err != nil {
|
||||
return err
|
||||
}
|
||||
s.DoubleValue = float64(s1.DoubleValue)
|
||||
return nil
|
||||
}
|
||||
|
||||
// NetworkConfig: NetworkConfig reports the relative names of network &
|
||||
// subnetwork.
|
||||
type NetworkConfig struct {
|
||||
|
@ -1850,6 +2032,12 @@ type NodeConfig struct {
|
|||
// If unspecified, the default disk size is 100GB.
|
||||
DiskSizeGb int64 `json:"diskSizeGb,omitempty"`
|
||||
|
||||
// DiskType: Type of the disk attached to each node (e.g. 'pd-standard'
|
||||
// or 'pd-ssd')
|
||||
//
|
||||
// If unspecified, the default disk type is 'pd-standard'
|
||||
DiskType string `json:"diskType,omitempty"`
|
||||
|
||||
// ImageType: The image type to use for this node. Note that for a given
|
||||
// image type,
|
||||
// the latest version of it will be used.
|
||||
|
@ -2293,6 +2481,9 @@ type Operation struct {
|
|||
// "SET_MAINTENANCE_POLICY" - Set the maintenance policy.
|
||||
OperationType string `json:"operationType,omitempty"`
|
||||
|
||||
// Progress: [Output only] Progress information for an operation.
|
||||
Progress *OperationProgress `json:"progress,omitempty"`
|
||||
|
||||
// SelfLink: Server-defined URL for the resource.
|
||||
SelfLink string `json:"selfLink,omitempty"`
|
||||
|
||||
|
@ -2352,6 +2543,58 @@ func (s *Operation) MarshalJSON() ([]byte, error) {
|
|||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// OperationProgress: Information about operation (or operation stage)
|
||||
// progress.
|
||||
type OperationProgress struct {
|
||||
// Metrics: Progress metric bundle, for example:
|
||||
// metrics: [{name: "nodes done", int_value: 15},
|
||||
// {name: "nodes total", int_value: 32}]
|
||||
// or
|
||||
// metrics: [{name: "progress", double_value: 0.56},
|
||||
// {name: "progress scale", double_value: 1.0}]
|
||||
Metrics []*Metric `json:"metrics,omitempty"`
|
||||
|
||||
// Name: A non-parameterized string describing an operation stage.
|
||||
// Unset for single-stage operations.
|
||||
Name string `json:"name,omitempty"`
|
||||
|
||||
// Stages: Substages of an operation or a stage.
|
||||
Stages []*OperationProgress `json:"stages,omitempty"`
|
||||
|
||||
// Status: Status of an operation stage.
|
||||
// Unset for single-stage operations.
|
||||
//
|
||||
// Possible values:
|
||||
// "STATUS_UNSPECIFIED" - Not set.
|
||||
// "PENDING" - The operation has been created.
|
||||
// "RUNNING" - The operation is currently running.
|
||||
// "DONE" - The operation is done, either cancelled or completed.
|
||||
// "ABORTING" - The operation is aborting.
|
||||
Status string `json:"status,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "Metrics") to
|
||||
// unconditionally include in API requests. By default, fields with
|
||||
// empty values are omitted from API requests. However, any non-pointer,
|
||||
// non-interface field appearing in ForceSendFields will be sent to the
|
||||
// server regardless of whether the field is empty or not. This may be
|
||||
// used to include empty fields in Patch requests.
|
||||
ForceSendFields []string `json:"-"`
|
||||
|
||||
// NullFields is a list of field names (e.g. "Metrics") to include in
|
||||
// API requests with the JSON null value. By default, fields with empty
|
||||
// values are omitted from API requests. However, any field with an
|
||||
// empty value appearing in NullFields will be sent to the server as
|
||||
// null. It is an error if a field in this list has a non-empty value.
|
||||
// This may be used to include null fields in Patch requests.
|
||||
NullFields []string `json:"-"`
|
||||
}
|
||||
|
||||
func (s *OperationProgress) MarshalJSON() ([]byte, error) {
|
||||
type NoMethod OperationProgress
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// PodSecurityPolicyConfig: Configuration for the PodSecurityPolicy
|
||||
// feature.
|
||||
type PodSecurityPolicyConfig struct {
|
||||
|
@ -3912,6 +4155,145 @@ func (c *ProjectsLocationsGetServerConfigCall) Do(opts ...googleapi.CallOption)
|
|||
|
||||
}
|
||||
|
||||
// method id "container.projects.locations.list":
|
||||
|
||||
type ProjectsLocationsListCall struct {
|
||||
s *Service
|
||||
parent string
|
||||
urlParams_ gensupport.URLParams
|
||||
ifNoneMatch_ string
|
||||
ctx_ context.Context
|
||||
header_ http.Header
|
||||
}
|
||||
|
||||
// List:
|
||||
func (r *ProjectsLocationsService) List(parent string) *ProjectsLocationsListCall {
|
||||
c := &ProjectsLocationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
|
||||
c.parent = parent
|
||||
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)
|
||||
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)
|
||||
urls := googleapi.ResolveRelative(c.s.BasePath, "v1beta1/{+parent}/locations")
|
||||
urls += "?" + c.urlParams_.Encode()
|
||||
req, _ := http.NewRequest("GET", urls, body)
|
||||
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 "container.projects.locations.list" call.
|
||||
// Exactly one of *ListLocationsResponse or error will be non-nil. Any
|
||||
// non-2xx status code is an error. Response headers are in either
|
||||
// *ListLocationsResponse.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) (*ListLocationsResponse, 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 := &ListLocationsResponse{
|
||||
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": "",
|
||||
// "flatPath": "v1beta1/projects/{projectsId}/locations",
|
||||
// "httpMethod": "GET",
|
||||
// "id": "container.projects.locations.list",
|
||||
// "parameterOrder": [
|
||||
// "parent"
|
||||
// ],
|
||||
// "parameters": {
|
||||
// "parent": {
|
||||
// "description": "Contains the name of the resource requested.\nSpecific in the format 'projects/*/locations'.",
|
||||
// "location": "path",
|
||||
// "pattern": "^projects/[^/]+$",
|
||||
// "required": true,
|
||||
// "type": "string"
|
||||
// }
|
||||
// },
|
||||
// "path": "v1beta1/{+parent}/locations",
|
||||
// "response": {
|
||||
// "$ref": "ListLocationsResponse"
|
||||
// },
|
||||
// "scopes": [
|
||||
// "https://www.googleapis.com/auth/cloud-platform"
|
||||
// ]
|
||||
// }
|
||||
|
||||
}
|
||||
|
||||
// method id "container.projects.locations.clusters.completeIpRotation":
|
||||
|
||||
type ProjectsLocationsClustersCompleteIpRotationCall struct {
|
||||
|
@ -4390,7 +4772,7 @@ type ProjectsLocationsClustersGetCall struct {
|
|||
header_ http.Header
|
||||
}
|
||||
|
||||
// Get: Gets the details of a specific cluster.
|
||||
// Get: Gets the details for a specific cluster.
|
||||
func (r *ProjectsLocationsClustersService) Get(name string) *ProjectsLocationsClustersGetCall {
|
||||
c := &ProjectsLocationsClustersGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
|
||||
c.name = name
|
||||
|
@ -4521,7 +4903,7 @@ func (c *ProjectsLocationsClustersGetCall) Do(opts ...googleapi.CallOption) (*Cl
|
|||
}
|
||||
return ret, nil
|
||||
// {
|
||||
// "description": "Gets the details of a specific cluster.",
|
||||
// "description": "Gets the details for a specific cluster.",
|
||||
// "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}",
|
||||
// "httpMethod": "GET",
|
||||
// "id": "container.projects.locations.clusters.get",
|
||||
|
@ -4746,7 +5128,7 @@ type ProjectsLocationsClustersSetAddonsCall struct {
|
|||
header_ http.Header
|
||||
}
|
||||
|
||||
// SetAddons: Sets the addons of a specific cluster.
|
||||
// SetAddons: Sets the addons for a specific cluster.
|
||||
func (r *ProjectsLocationsClustersService) SetAddons(name string, setaddonsconfigrequest *SetAddonsConfigRequest) *ProjectsLocationsClustersSetAddonsCall {
|
||||
c := &ProjectsLocationsClustersSetAddonsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
|
||||
c.name = name
|
||||
|
@ -4840,7 +5222,7 @@ func (c *ProjectsLocationsClustersSetAddonsCall) Do(opts ...googleapi.CallOption
|
|||
}
|
||||
return ret, nil
|
||||
// {
|
||||
// "description": "Sets the addons of a specific cluster.",
|
||||
// "description": "Sets the addons for a specific cluster.",
|
||||
// "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}:setAddons",
|
||||
// "httpMethod": "POST",
|
||||
// "id": "container.projects.locations.clusters.setAddons",
|
||||
|
@ -5017,7 +5399,7 @@ type ProjectsLocationsClustersSetLocationsCall struct {
|
|||
header_ http.Header
|
||||
}
|
||||
|
||||
// SetLocations: Sets the locations of a specific cluster.
|
||||
// SetLocations: Sets the locations for a specific cluster.
|
||||
func (r *ProjectsLocationsClustersService) SetLocations(name string, setlocationsrequest *SetLocationsRequest) *ProjectsLocationsClustersSetLocationsCall {
|
||||
c := &ProjectsLocationsClustersSetLocationsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
|
||||
c.name = name
|
||||
|
@ -5111,7 +5493,7 @@ func (c *ProjectsLocationsClustersSetLocationsCall) Do(opts ...googleapi.CallOpt
|
|||
}
|
||||
return ret, nil
|
||||
// {
|
||||
// "description": "Sets the locations of a specific cluster.",
|
||||
// "description": "Sets the locations for a specific cluster.",
|
||||
// "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}:setLocations",
|
||||
// "httpMethod": "POST",
|
||||
// "id": "container.projects.locations.clusters.setLocations",
|
||||
|
@ -5152,7 +5534,7 @@ type ProjectsLocationsClustersSetLoggingCall struct {
|
|||
header_ http.Header
|
||||
}
|
||||
|
||||
// SetLogging: Sets the logging service of a specific cluster.
|
||||
// SetLogging: Sets the logging service for a specific cluster.
|
||||
func (r *ProjectsLocationsClustersService) SetLogging(name string, setloggingservicerequest *SetLoggingServiceRequest) *ProjectsLocationsClustersSetLoggingCall {
|
||||
c := &ProjectsLocationsClustersSetLoggingCall{s: r.s, urlParams_: make(gensupport.URLParams)}
|
||||
c.name = name
|
||||
|
@ -5246,7 +5628,7 @@ func (c *ProjectsLocationsClustersSetLoggingCall) Do(opts ...googleapi.CallOptio
|
|||
}
|
||||
return ret, nil
|
||||
// {
|
||||
// "description": "Sets the logging service of a specific cluster.",
|
||||
// "description": "Sets the logging service for a specific cluster.",
|
||||
// "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}:setLogging",
|
||||
// "httpMethod": "POST",
|
||||
// "id": "container.projects.locations.clusters.setLogging",
|
||||
|
@ -5424,7 +5806,7 @@ type ProjectsLocationsClustersSetMasterAuthCall struct {
|
|||
|
||||
// SetMasterAuth: Used to set master auth materials. Currently supports
|
||||
// :-
|
||||
// Changing the admin password of a specific cluster.
|
||||
// Changing the admin password for a specific cluster.
|
||||
// This can be either via password generation or explicitly set.
|
||||
// Modify basic_auth.csv and reset the K8S API server.
|
||||
func (r *ProjectsLocationsClustersService) SetMasterAuth(name string, setmasterauthrequest *SetMasterAuthRequest) *ProjectsLocationsClustersSetMasterAuthCall {
|
||||
|
@ -5520,7 +5902,7 @@ func (c *ProjectsLocationsClustersSetMasterAuthCall) Do(opts ...googleapi.CallOp
|
|||
}
|
||||
return ret, nil
|
||||
// {
|
||||
// "description": "Used to set master auth materials. Currently supports :-\nChanging the admin password of a specific cluster.\nThis can be either via password generation or explicitly set.\nModify basic_auth.csv and reset the K8S API server.",
|
||||
// "description": "Used to set master auth materials. Currently supports :-\nChanging the admin password for a specific cluster.\nThis can be either via password generation or explicitly set.\nModify basic_auth.csv and reset the K8S API server.",
|
||||
// "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}:setMasterAuth",
|
||||
// "httpMethod": "POST",
|
||||
// "id": "container.projects.locations.clusters.setMasterAuth",
|
||||
|
@ -5561,7 +5943,7 @@ type ProjectsLocationsClustersSetMonitoringCall struct {
|
|||
header_ http.Header
|
||||
}
|
||||
|
||||
// SetMonitoring: Sets the monitoring service of a specific cluster.
|
||||
// SetMonitoring: Sets the monitoring service for a specific cluster.
|
||||
func (r *ProjectsLocationsClustersService) SetMonitoring(name string, setmonitoringservicerequest *SetMonitoringServiceRequest) *ProjectsLocationsClustersSetMonitoringCall {
|
||||
c := &ProjectsLocationsClustersSetMonitoringCall{s: r.s, urlParams_: make(gensupport.URLParams)}
|
||||
c.name = name
|
||||
|
@ -5655,7 +6037,7 @@ func (c *ProjectsLocationsClustersSetMonitoringCall) Do(opts ...googleapi.CallOp
|
|||
}
|
||||
return ret, nil
|
||||
// {
|
||||
// "description": "Sets the monitoring service of a specific cluster.",
|
||||
// "description": "Sets the monitoring service for a specific cluster.",
|
||||
// "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}:setMonitoring",
|
||||
// "httpMethod": "POST",
|
||||
// "id": "container.projects.locations.clusters.setMonitoring",
|
||||
|
@ -6101,7 +6483,7 @@ type ProjectsLocationsClustersUpdateCall struct {
|
|||
header_ http.Header
|
||||
}
|
||||
|
||||
// Update: Updates the settings of a specific cluster.
|
||||
// Update: Updates the settings for a specific cluster.
|
||||
func (r *ProjectsLocationsClustersService) Update(name string, updateclusterrequest *UpdateClusterRequest) *ProjectsLocationsClustersUpdateCall {
|
||||
c := &ProjectsLocationsClustersUpdateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
|
||||
c.name = name
|
||||
|
@ -6195,7 +6577,7 @@ func (c *ProjectsLocationsClustersUpdateCall) Do(opts ...googleapi.CallOption) (
|
|||
}
|
||||
return ret, nil
|
||||
// {
|
||||
// "description": "Updates the settings of a specific cluster.",
|
||||
// "description": "Updates the settings for a specific cluster.",
|
||||
// "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}",
|
||||
// "httpMethod": "PUT",
|
||||
// "id": "container.projects.locations.clusters.update",
|
||||
|
@ -6236,7 +6618,7 @@ type ProjectsLocationsClustersUpdateMasterCall struct {
|
|||
header_ http.Header
|
||||
}
|
||||
|
||||
// UpdateMaster: Updates the master of a specific cluster.
|
||||
// UpdateMaster: Updates the master for a specific cluster.
|
||||
func (r *ProjectsLocationsClustersService) UpdateMaster(name string, updatemasterrequest *UpdateMasterRequest) *ProjectsLocationsClustersUpdateMasterCall {
|
||||
c := &ProjectsLocationsClustersUpdateMasterCall{s: r.s, urlParams_: make(gensupport.URLParams)}
|
||||
c.name = name
|
||||
|
@ -6330,7 +6712,7 @@ func (c *ProjectsLocationsClustersUpdateMasterCall) Do(opts ...googleapi.CallOpt
|
|||
}
|
||||
return ret, nil
|
||||
// {
|
||||
// "description": "Updates the master of a specific cluster.",
|
||||
// "description": "Updates the master for a specific cluster.",
|
||||
// "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}:updateMaster",
|
||||
// "httpMethod": "POST",
|
||||
// "id": "container.projects.locations.clusters.updateMaster",
|
||||
|
@ -7478,7 +7860,7 @@ type ProjectsLocationsClustersNodePoolsSetSizeCall struct {
|
|||
header_ http.Header
|
||||
}
|
||||
|
||||
// SetSize: Sets the size of a specific node pool.
|
||||
// SetSize: Sets the size for a specific node pool.
|
||||
func (r *ProjectsLocationsClustersNodePoolsService) SetSize(name string, setnodepoolsizerequest *SetNodePoolSizeRequest) *ProjectsLocationsClustersNodePoolsSetSizeCall {
|
||||
c := &ProjectsLocationsClustersNodePoolsSetSizeCall{s: r.s, urlParams_: make(gensupport.URLParams)}
|
||||
c.name = name
|
||||
|
@ -7572,7 +7954,7 @@ func (c *ProjectsLocationsClustersNodePoolsSetSizeCall) Do(opts ...googleapi.Cal
|
|||
}
|
||||
return ret, nil
|
||||
// {
|
||||
// "description": "Sets the size of a specific node pool.",
|
||||
// "description": "Sets the size for a specific node pool.",
|
||||
// "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}/nodePools/{nodePoolsId}:setSize",
|
||||
// "httpMethod": "POST",
|
||||
// "id": "container.projects.locations.clusters.nodePools.setSize",
|
||||
|
@ -8404,7 +8786,7 @@ type ProjectsZonesClustersAddonsCall struct {
|
|||
header_ http.Header
|
||||
}
|
||||
|
||||
// Addons: Sets the addons of a specific cluster.
|
||||
// Addons: Sets the addons for a specific cluster.
|
||||
func (r *ProjectsZonesClustersService) Addons(projectId string, zone string, clusterId string, setaddonsconfigrequest *SetAddonsConfigRequest) *ProjectsZonesClustersAddonsCall {
|
||||
c := &ProjectsZonesClustersAddonsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
|
||||
c.projectId = projectId
|
||||
|
@ -8502,7 +8884,7 @@ func (c *ProjectsZonesClustersAddonsCall) Do(opts ...googleapi.CallOption) (*Ope
|
|||
}
|
||||
return ret, nil
|
||||
// {
|
||||
// "description": "Sets the addons of a specific cluster.",
|
||||
// "description": "Sets the addons for a specific cluster.",
|
||||
// "flatPath": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/addons",
|
||||
// "httpMethod": "POST",
|
||||
// "id": "container.projects.zones.clusters.addons",
|
||||
|
@ -9040,7 +9422,7 @@ type ProjectsZonesClustersGetCall struct {
|
|||
header_ http.Header
|
||||
}
|
||||
|
||||
// Get: Gets the details of a specific cluster.
|
||||
// Get: Gets the details for a specific cluster.
|
||||
func (r *ProjectsZonesClustersService) Get(projectId string, zone string, clusterId string) *ProjectsZonesClustersGetCall {
|
||||
c := &ProjectsZonesClustersGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
|
||||
c.projectId = projectId
|
||||
|
@ -9153,7 +9535,7 @@ func (c *ProjectsZonesClustersGetCall) Do(opts ...googleapi.CallOption) (*Cluste
|
|||
}
|
||||
return ret, nil
|
||||
// {
|
||||
// "description": "Gets the details of a specific cluster.",
|
||||
// "description": "Gets the details for a specific cluster.",
|
||||
// "flatPath": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}",
|
||||
// "httpMethod": "GET",
|
||||
// "id": "container.projects.zones.clusters.get",
|
||||
|
@ -9530,7 +9912,7 @@ type ProjectsZonesClustersLocationsCall struct {
|
|||
header_ http.Header
|
||||
}
|
||||
|
||||
// Locations: Sets the locations of a specific cluster.
|
||||
// Locations: Sets the locations for a specific cluster.
|
||||
func (r *ProjectsZonesClustersService) Locations(projectId string, zone string, clusterId string, setlocationsrequest *SetLocationsRequest) *ProjectsZonesClustersLocationsCall {
|
||||
c := &ProjectsZonesClustersLocationsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
|
||||
c.projectId = projectId
|
||||
|
@ -9628,7 +10010,7 @@ func (c *ProjectsZonesClustersLocationsCall) Do(opts ...googleapi.CallOption) (*
|
|||
}
|
||||
return ret, nil
|
||||
// {
|
||||
// "description": "Sets the locations of a specific cluster.",
|
||||
// "description": "Sets the locations for a specific cluster.",
|
||||
// "flatPath": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/locations",
|
||||
// "httpMethod": "POST",
|
||||
// "id": "container.projects.zones.clusters.locations",
|
||||
|
@ -9684,7 +10066,7 @@ type ProjectsZonesClustersLoggingCall struct {
|
|||
header_ http.Header
|
||||
}
|
||||
|
||||
// Logging: Sets the logging service of a specific cluster.
|
||||
// Logging: Sets the logging service for a specific cluster.
|
||||
func (r *ProjectsZonesClustersService) Logging(projectId string, zone string, clusterId string, setloggingservicerequest *SetLoggingServiceRequest) *ProjectsZonesClustersLoggingCall {
|
||||
c := &ProjectsZonesClustersLoggingCall{s: r.s, urlParams_: make(gensupport.URLParams)}
|
||||
c.projectId = projectId
|
||||
|
@ -9782,7 +10164,7 @@ func (c *ProjectsZonesClustersLoggingCall) Do(opts ...googleapi.CallOption) (*Op
|
|||
}
|
||||
return ret, nil
|
||||
// {
|
||||
// "description": "Sets the logging service of a specific cluster.",
|
||||
// "description": "Sets the logging service for a specific cluster.",
|
||||
// "flatPath": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/logging",
|
||||
// "httpMethod": "POST",
|
||||
// "id": "container.projects.zones.clusters.logging",
|
||||
|
@ -9838,7 +10220,7 @@ type ProjectsZonesClustersMasterCall struct {
|
|||
header_ http.Header
|
||||
}
|
||||
|
||||
// Master: Updates the master of a specific cluster.
|
||||
// Master: Updates the master for a specific cluster.
|
||||
func (r *ProjectsZonesClustersService) Master(projectId string, zone string, clusterId string, updatemasterrequest *UpdateMasterRequest) *ProjectsZonesClustersMasterCall {
|
||||
c := &ProjectsZonesClustersMasterCall{s: r.s, urlParams_: make(gensupport.URLParams)}
|
||||
c.projectId = projectId
|
||||
|
@ -9936,7 +10318,7 @@ func (c *ProjectsZonesClustersMasterCall) Do(opts ...googleapi.CallOption) (*Ope
|
|||
}
|
||||
return ret, nil
|
||||
// {
|
||||
// "description": "Updates the master of a specific cluster.",
|
||||
// "description": "Updates the master for a specific cluster.",
|
||||
// "flatPath": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/master",
|
||||
// "httpMethod": "POST",
|
||||
// "id": "container.projects.zones.clusters.master",
|
||||
|
@ -9992,7 +10374,7 @@ type ProjectsZonesClustersMonitoringCall struct {
|
|||
header_ http.Header
|
||||
}
|
||||
|
||||
// Monitoring: Sets the monitoring service of a specific cluster.
|
||||
// Monitoring: Sets the monitoring service for a specific cluster.
|
||||
func (r *ProjectsZonesClustersService) Monitoring(projectId string, zone string, clusterId string, setmonitoringservicerequest *SetMonitoringServiceRequest) *ProjectsZonesClustersMonitoringCall {
|
||||
c := &ProjectsZonesClustersMonitoringCall{s: r.s, urlParams_: make(gensupport.URLParams)}
|
||||
c.projectId = projectId
|
||||
|
@ -10090,7 +10472,7 @@ func (c *ProjectsZonesClustersMonitoringCall) Do(opts ...googleapi.CallOption) (
|
|||
}
|
||||
return ret, nil
|
||||
// {
|
||||
// "description": "Sets the monitoring service of a specific cluster.",
|
||||
// "description": "Sets the monitoring service for a specific cluster.",
|
||||
// "flatPath": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/monitoring",
|
||||
// "httpMethod": "POST",
|
||||
// "id": "container.projects.zones.clusters.monitoring",
|
||||
|
@ -10456,7 +10838,7 @@ type ProjectsZonesClustersSetMasterAuthCall struct {
|
|||
|
||||
// SetMasterAuth: Used to set master auth materials. Currently supports
|
||||
// :-
|
||||
// Changing the admin password of a specific cluster.
|
||||
// Changing the admin password for a specific cluster.
|
||||
// This can be either via password generation or explicitly set.
|
||||
// Modify basic_auth.csv and reset the K8S API server.
|
||||
func (r *ProjectsZonesClustersService) SetMasterAuth(projectId string, zone string, clusterId string, setmasterauthrequest *SetMasterAuthRequest) *ProjectsZonesClustersSetMasterAuthCall {
|
||||
|
@ -10556,7 +10938,7 @@ func (c *ProjectsZonesClustersSetMasterAuthCall) Do(opts ...googleapi.CallOption
|
|||
}
|
||||
return ret, nil
|
||||
// {
|
||||
// "description": "Used to set master auth materials. Currently supports :-\nChanging the admin password of a specific cluster.\nThis can be either via password generation or explicitly set.\nModify basic_auth.csv and reset the K8S API server.",
|
||||
// "description": "Used to set master auth materials. Currently supports :-\nChanging the admin password for a specific cluster.\nThis can be either via password generation or explicitly set.\nModify basic_auth.csv and reset the K8S API server.",
|
||||
// "flatPath": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}:setMasterAuth",
|
||||
// "httpMethod": "POST",
|
||||
// "id": "container.projects.zones.clusters.setMasterAuth",
|
||||
|
@ -10920,7 +11302,7 @@ type ProjectsZonesClustersUpdateCall struct {
|
|||
header_ http.Header
|
||||
}
|
||||
|
||||
// Update: Updates the settings of a specific cluster.
|
||||
// Update: Updates the settings for a specific cluster.
|
||||
func (r *ProjectsZonesClustersService) Update(projectId string, zone string, clusterId string, updateclusterrequest *UpdateClusterRequest) *ProjectsZonesClustersUpdateCall {
|
||||
c := &ProjectsZonesClustersUpdateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
|
||||
c.projectId = projectId
|
||||
|
@ -11018,7 +11400,7 @@ func (c *ProjectsZonesClustersUpdateCall) Do(opts ...googleapi.CallOption) (*Ope
|
|||
}
|
||||
return ret, nil
|
||||
// {
|
||||
// "description": "Updates the settings of a specific cluster.",
|
||||
// "description": "Updates the settings for a specific cluster.",
|
||||
// "flatPath": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}",
|
||||
// "httpMethod": "PUT",
|
||||
// "id": "container.projects.zones.clusters.update",
|
||||
|
@ -12246,7 +12628,7 @@ type ProjectsZonesClustersNodePoolsSetSizeCall struct {
|
|||
header_ http.Header
|
||||
}
|
||||
|
||||
// SetSize: Sets the size of a specific node pool.
|
||||
// SetSize: Sets the size for a specific node pool.
|
||||
func (r *ProjectsZonesClustersNodePoolsService) SetSize(projectId string, zone string, clusterId string, nodePoolId string, setnodepoolsizerequest *SetNodePoolSizeRequest) *ProjectsZonesClustersNodePoolsSetSizeCall {
|
||||
c := &ProjectsZonesClustersNodePoolsSetSizeCall{s: r.s, urlParams_: make(gensupport.URLParams)}
|
||||
c.projectId = projectId
|
||||
|
@ -12346,7 +12728,7 @@ func (c *ProjectsZonesClustersNodePoolsSetSizeCall) Do(opts ...googleapi.CallOpt
|
|||
}
|
||||
return ret, nil
|
||||
// {
|
||||
// "description": "Sets the size of a specific node pool.",
|
||||
// "description": "Sets the size for a specific node pool.",
|
||||
// "flatPath": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}/setSize",
|
||||
// "httpMethod": "POST",
|
||||
// "id": "container.projects.zones.clusters.nodePools.setSize",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue