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
44
vendor/google.golang.org/api/container/v1/container-api.json
generated
vendored
44
vendor/google.golang.org/api/container/v1/container-api.json
generated
vendored
|
@ -330,7 +330,7 @@
|
|||
]
|
||||
},
|
||||
"setAddons": {
|
||||
"description": "Sets the addons of a specific cluster.",
|
||||
"description": "Sets the addons for a specific cluster.",
|
||||
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}:setAddons",
|
||||
"httpMethod": "POST",
|
||||
"id": "container.projects.locations.clusters.setAddons",
|
||||
|
@ -386,7 +386,7 @@
|
|||
]
|
||||
},
|
||||
"setLocations": {
|
||||
"description": "Sets the locations of a specific cluster.",
|
||||
"description": "Sets the locations for a specific cluster.",
|
||||
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}:setLocations",
|
||||
"httpMethod": "POST",
|
||||
"id": "container.projects.locations.clusters.setLocations",
|
||||
|
@ -414,7 +414,7 @@
|
|||
]
|
||||
},
|
||||
"setLogging": {
|
||||
"description": "Sets the logging service of a specific cluster.",
|
||||
"description": "Sets the logging service for a specific cluster.",
|
||||
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}:setLogging",
|
||||
"httpMethod": "POST",
|
||||
"id": "container.projects.locations.clusters.setLogging",
|
||||
|
@ -470,7 +470,7 @@
|
|||
]
|
||||
},
|
||||
"setMasterAuth": {
|
||||
"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 the password.",
|
||||
"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 the password.",
|
||||
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}:setMasterAuth",
|
||||
"httpMethod": "POST",
|
||||
"id": "container.projects.locations.clusters.setMasterAuth",
|
||||
|
@ -498,7 +498,7 @@
|
|||
]
|
||||
},
|
||||
"setMonitoring": {
|
||||
"description": "Sets the monitoring service of a specific cluster.",
|
||||
"description": "Sets the monitoring service for a specific cluster.",
|
||||
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}:setMonitoring",
|
||||
"httpMethod": "POST",
|
||||
"id": "container.projects.locations.clusters.setMonitoring",
|
||||
|
@ -638,7 +638,7 @@
|
|||
]
|
||||
},
|
||||
"updateMaster": {
|
||||
"description": "Updates the master of a specific cluster.",
|
||||
"description": "Updates the master for a specific cluster.",
|
||||
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}:updateMaster",
|
||||
"httpMethod": "POST",
|
||||
"id": "container.projects.locations.clusters.updateMaster",
|
||||
|
@ -856,7 +856,7 @@
|
|||
]
|
||||
},
|
||||
"setAutoscaling": {
|
||||
"description": "Sets the autoscaling settings of a specific node pool.",
|
||||
"description": "Sets the autoscaling settings for a specific node pool.",
|
||||
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}/nodePools/{nodePoolsId}:setAutoscaling",
|
||||
"httpMethod": "POST",
|
||||
"id": "container.projects.locations.clusters.nodePools.setAutoscaling",
|
||||
|
@ -912,7 +912,7 @@
|
|||
]
|
||||
},
|
||||
"setSize": {
|
||||
"description": "Sets the size of a specific node pool.",
|
||||
"description": "Sets the size for a specific node pool.",
|
||||
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}/nodePools/{nodePoolsId}:setSize",
|
||||
"httpMethod": "POST",
|
||||
"id": "container.projects.locations.clusters.nodePools.setSize",
|
||||
|
@ -940,7 +940,7 @@
|
|||
]
|
||||
},
|
||||
"update": {
|
||||
"description": "Updates the version and/or image type of a specific node pool.",
|
||||
"description": "Updates the version and/or image type for a specific node pool.",
|
||||
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}/nodePools/{nodePoolsId}",
|
||||
"httpMethod": "PUT",
|
||||
"id": "container.projects.locations.clusters.nodePools.update",
|
||||
|
@ -1123,7 +1123,7 @@
|
|||
"clusters": {
|
||||
"methods": {
|
||||
"addons": {
|
||||
"description": "Sets the addons of a specific cluster.",
|
||||
"description": "Sets the addons for a specific cluster.",
|
||||
"flatPath": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/addons",
|
||||
"httpMethod": "POST",
|
||||
"id": "container.projects.zones.clusters.addons",
|
||||
|
@ -1402,7 +1402,7 @@
|
|||
]
|
||||
},
|
||||
"locations": {
|
||||
"description": "Sets the locations of a specific cluster.",
|
||||
"description": "Sets the locations for a specific cluster.",
|
||||
"flatPath": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/locations",
|
||||
"httpMethod": "POST",
|
||||
"id": "container.projects.zones.clusters.locations",
|
||||
|
@ -1443,7 +1443,7 @@
|
|||
]
|
||||
},
|
||||
"logging": {
|
||||
"description": "Sets the logging service of a specific cluster.",
|
||||
"description": "Sets the logging service for a specific cluster.",
|
||||
"flatPath": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/logging",
|
||||
"httpMethod": "POST",
|
||||
"id": "container.projects.zones.clusters.logging",
|
||||
|
@ -1484,7 +1484,7 @@
|
|||
]
|
||||
},
|
||||
"master": {
|
||||
"description": "Updates the master of a specific cluster.",
|
||||
"description": "Updates the master for a specific cluster.",
|
||||
"flatPath": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/master",
|
||||
"httpMethod": "POST",
|
||||
"id": "container.projects.zones.clusters.master",
|
||||
|
@ -1525,7 +1525,7 @@
|
|||
]
|
||||
},
|
||||
"monitoring": {
|
||||
"description": "Sets the monitoring service of a specific cluster.",
|
||||
"description": "Sets the monitoring service for a specific cluster.",
|
||||
"flatPath": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/monitoring",
|
||||
"httpMethod": "POST",
|
||||
"id": "container.projects.zones.clusters.monitoring",
|
||||
|
@ -1648,7 +1648,7 @@
|
|||
]
|
||||
},
|
||||
"setMasterAuth": {
|
||||
"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 the password.",
|
||||
"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 the password.",
|
||||
"flatPath": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}:setMasterAuth",
|
||||
"httpMethod": "POST",
|
||||
"id": "container.projects.zones.clusters.setMasterAuth",
|
||||
|
@ -1816,7 +1816,7 @@
|
|||
"nodePools": {
|
||||
"methods": {
|
||||
"autoscaling": {
|
||||
"description": "Sets the autoscaling settings of a specific node pool.",
|
||||
"description": "Sets the autoscaling settings for a specific node pool.",
|
||||
"flatPath": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}/autoscaling",
|
||||
"httpMethod": "POST",
|
||||
"id": "container.projects.zones.clusters.nodePools.autoscaling",
|
||||
|
@ -2144,7 +2144,7 @@
|
|||
]
|
||||
},
|
||||
"setSize": {
|
||||
"description": "Sets the size of a specific node pool.",
|
||||
"description": "Sets the size for a specific node pool.",
|
||||
"flatPath": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}/setSize",
|
||||
"httpMethod": "POST",
|
||||
"id": "container.projects.zones.clusters.nodePools.setSize",
|
||||
|
@ -2192,7 +2192,7 @@
|
|||
]
|
||||
},
|
||||
"update": {
|
||||
"description": "Updates the version and/or image type of a specific node pool.",
|
||||
"description": "Updates the version and/or image type for a specific node pool.",
|
||||
"flatPath": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}/update",
|
||||
"httpMethod": "POST",
|
||||
"id": "container.projects.zones.clusters.nodePools.update",
|
||||
|
@ -2372,7 +2372,7 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"revision": "20180412",
|
||||
"revision": "20180504",
|
||||
"rootUrl": "https://container.googleapis.com/",
|
||||
"schemas": {
|
||||
"AcceleratorConfig": {
|
||||
|
@ -2576,7 +2576,7 @@
|
|||
},
|
||||
"masterAuthorizedNetworksConfig": {
|
||||
"$ref": "MasterAuthorizedNetworksConfig",
|
||||
"description": "Master authorized networks is a Beta feature.\nThe configuration options for master authorized networks feature."
|
||||
"description": "The configuration options for master authorized networks feature."
|
||||
},
|
||||
"monitoringService": {
|
||||
"description": "The monitoring service the cluster should use to write metrics.\nCurrently available options:\n\n* `monitoring.googleapis.com` - the Google Cloud Monitoring service.\n* `none` - no metrics will be exported from the cluster.\n* if left as an empty string, `monitoring.googleapis.com` will be used.",
|
||||
|
@ -2683,7 +2683,7 @@
|
|||
},
|
||||
"desiredMasterAuthorizedNetworksConfig": {
|
||||
"$ref": "MasterAuthorizedNetworksConfig",
|
||||
"description": "Master authorized networks is a Beta feature.\nThe desired configuration options for master authorized networks feature."
|
||||
"description": "The desired configuration options for master authorized networks feature."
|
||||
},
|
||||
"desiredMasterVersion": {
|
||||
"description": "The Kubernetes version to change the master to.\n\nUsers may specify either explicit versions offered by\nKubernetes Engine or version aliases, which have the following behavior:\n\n- \"latest\": picks the highest valid Kubernetes version\n- \"1.X\": picks the highest valid patch+gke.N patch in the 1.X version\n- \"1.X.Y\": picks the highest valid gke.N patch in the 1.X.Y version\n- \"1.X.Y-gke.N\": picks an explicit Kubernetes version\n- \"-\": picks the default Kubernetes version",
|
||||
|
@ -3007,7 +3007,7 @@
|
|||
"type": "object"
|
||||
},
|
||||
"MasterAuthorizedNetworksConfig": {
|
||||
"description": "Master authorized networks is a Beta feature.\nConfiguration options for the master authorized networks feature. Enabled\nmaster authorized networks will disallow all external traffic to access\nKubernetes master through HTTPS except traffic from the given CIDR blocks,\nGoogle Compute Engine Public IPs and Google Prod IPs.",
|
||||
"description": "Configuration options for the master authorized networks feature. Enabled\nmaster authorized networks will disallow all external traffic to access\nKubernetes master through HTTPS except traffic from the given CIDR blocks,\nGoogle Compute Engine Public IPs and Google Prod IPs.",
|
||||
"id": "MasterAuthorizedNetworksConfig",
|
||||
"properties": {
|
||||
"cidrBlocks": {
|
||||
|
|
89
vendor/google.golang.org/api/container/v1/container-gen.go
generated
vendored
89
vendor/google.golang.org/api/container/v1/container-gen.go
generated
vendored
|
@ -570,9 +570,8 @@ type Cluster struct {
|
|||
// endpoint.
|
||||
MasterAuth *MasterAuth `json:"masterAuth,omitempty"`
|
||||
|
||||
// MasterAuthorizedNetworksConfig: Master authorized networks is a Beta
|
||||
// feature.
|
||||
// The configuration options for master authorized networks feature.
|
||||
// MasterAuthorizedNetworksConfig: The configuration options for master
|
||||
// authorized networks feature.
|
||||
MasterAuthorizedNetworksConfig *MasterAuthorizedNetworksConfig `json:"masterAuthorizedNetworksConfig,omitempty"`
|
||||
|
||||
// MonitoringService: The monitoring service the cluster should use to
|
||||
|
@ -752,10 +751,8 @@ type ClusterUpdate struct {
|
|||
// This list must always include the cluster's primary zone.
|
||||
DesiredLocations []string `json:"desiredLocations,omitempty"`
|
||||
|
||||
// DesiredMasterAuthorizedNetworksConfig: Master authorized networks is
|
||||
// a Beta feature.
|
||||
// The desired configuration options for master authorized networks
|
||||
// feature.
|
||||
// DesiredMasterAuthorizedNetworksConfig: The desired configuration
|
||||
// options for master authorized networks feature.
|
||||
DesiredMasterAuthorizedNetworksConfig *MasterAuthorizedNetworksConfig `json:"desiredMasterAuthorizedNetworksConfig,omitempty"`
|
||||
|
||||
// DesiredMasterVersion: The Kubernetes version to change the master
|
||||
|
@ -1574,10 +1571,8 @@ func (s *MasterAuth) MarshalJSON() ([]byte, error) {
|
|||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// MasterAuthorizedNetworksConfig: Master authorized networks is a Beta
|
||||
// feature.
|
||||
// Configuration options for the master authorized networks feature.
|
||||
// Enabled
|
||||
// MasterAuthorizedNetworksConfig: Configuration options for the master
|
||||
// authorized networks feature. Enabled
|
||||
// master authorized networks will disallow all external traffic to
|
||||
// access
|
||||
// Kubernetes master through HTTPS except traffic from the given CIDR
|
||||
|
@ -4218,7 +4213,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
|
||||
|
@ -4312,7 +4307,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": "v1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}:setAddons",
|
||||
// "httpMethod": "POST",
|
||||
// "id": "container.projects.locations.clusters.setAddons",
|
||||
|
@ -4489,7 +4484,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
|
||||
|
@ -4583,7 +4578,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": "v1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}:setLocations",
|
||||
// "httpMethod": "POST",
|
||||
// "id": "container.projects.locations.clusters.setLocations",
|
||||
|
@ -4624,7 +4619,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
|
||||
|
@ -4718,7 +4713,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": "v1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}:setLogging",
|
||||
// "httpMethod": "POST",
|
||||
// "id": "container.projects.locations.clusters.setLogging",
|
||||
|
@ -4896,7 +4891,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 the
|
||||
// password.
|
||||
func (r *ProjectsLocationsClustersService) SetMasterAuth(name string, setmasterauthrequest *SetMasterAuthRequest) *ProjectsLocationsClustersSetMasterAuthCall {
|
||||
|
@ -4992,7 +4987,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 the password.",
|
||||
// "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 the password.",
|
||||
// "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}:setMasterAuth",
|
||||
// "httpMethod": "POST",
|
||||
// "id": "container.projects.locations.clusters.setMasterAuth",
|
||||
|
@ -5033,7 +5028,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
|
||||
|
@ -5127,7 +5122,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": "v1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}:setMonitoring",
|
||||
// "httpMethod": "POST",
|
||||
// "id": "container.projects.locations.clusters.setMonitoring",
|
||||
|
@ -5708,7 +5703,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
|
||||
|
@ -5802,7 +5797,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": "v1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}:updateMaster",
|
||||
// "httpMethod": "POST",
|
||||
// "id": "container.projects.locations.clusters.updateMaster",
|
||||
|
@ -6679,7 +6674,7 @@ type ProjectsLocationsClustersNodePoolsSetAutoscalingCall struct {
|
|||
header_ http.Header
|
||||
}
|
||||
|
||||
// SetAutoscaling: Sets the autoscaling settings of a specific node
|
||||
// SetAutoscaling: Sets the autoscaling settings for a specific node
|
||||
// pool.
|
||||
func (r *ProjectsLocationsClustersNodePoolsService) SetAutoscaling(name string, setnodepoolautoscalingrequest *SetNodePoolAutoscalingRequest) *ProjectsLocationsClustersNodePoolsSetAutoscalingCall {
|
||||
c := &ProjectsLocationsClustersNodePoolsSetAutoscalingCall{s: r.s, urlParams_: make(gensupport.URLParams)}
|
||||
|
@ -6774,7 +6769,7 @@ func (c *ProjectsLocationsClustersNodePoolsSetAutoscalingCall) Do(opts ...google
|
|||
}
|
||||
return ret, nil
|
||||
// {
|
||||
// "description": "Sets the autoscaling settings of a specific node pool.",
|
||||
// "description": "Sets the autoscaling settings for a specific node pool.",
|
||||
// "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}/nodePools/{nodePoolsId}:setAutoscaling",
|
||||
// "httpMethod": "POST",
|
||||
// "id": "container.projects.locations.clusters.nodePools.setAutoscaling",
|
||||
|
@ -6950,7 +6945,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
|
||||
|
@ -7044,7 +7039,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": "v1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}/nodePools/{nodePoolsId}:setSize",
|
||||
// "httpMethod": "POST",
|
||||
// "id": "container.projects.locations.clusters.nodePools.setSize",
|
||||
|
@ -7085,7 +7080,7 @@ type ProjectsLocationsClustersNodePoolsUpdateCall struct {
|
|||
header_ http.Header
|
||||
}
|
||||
|
||||
// Update: Updates the version and/or image type of a specific node
|
||||
// Update: Updates the version and/or image type for a specific node
|
||||
// pool.
|
||||
func (r *ProjectsLocationsClustersNodePoolsService) Update(name string, updatenodepoolrequest *UpdateNodePoolRequest) *ProjectsLocationsClustersNodePoolsUpdateCall {
|
||||
c := &ProjectsLocationsClustersNodePoolsUpdateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
|
||||
|
@ -7180,7 +7175,7 @@ func (c *ProjectsLocationsClustersNodePoolsUpdateCall) Do(opts ...googleapi.Call
|
|||
}
|
||||
return ret, nil
|
||||
// {
|
||||
// "description": "Updates the version and/or image type of a specific node pool.",
|
||||
// "description": "Updates the version and/or image type for a specific node pool.",
|
||||
// "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}/nodePools/{nodePoolsId}",
|
||||
// "httpMethod": "PUT",
|
||||
// "id": "container.projects.locations.clusters.nodePools.update",
|
||||
|
@ -7876,7 +7871,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
|
||||
|
@ -7974,7 +7969,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": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/addons",
|
||||
// "httpMethod": "POST",
|
||||
// "id": "container.projects.zones.clusters.addons",
|
||||
|
@ -9002,7 +8997,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
|
||||
|
@ -9100,7 +9095,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": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/locations",
|
||||
// "httpMethod": "POST",
|
||||
// "id": "container.projects.zones.clusters.locations",
|
||||
|
@ -9156,7 +9151,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
|
||||
|
@ -9254,7 +9249,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": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/logging",
|
||||
// "httpMethod": "POST",
|
||||
// "id": "container.projects.zones.clusters.logging",
|
||||
|
@ -9310,7 +9305,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
|
||||
|
@ -9408,7 +9403,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": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/master",
|
||||
// "httpMethod": "POST",
|
||||
// "id": "container.projects.zones.clusters.master",
|
||||
|
@ -9464,7 +9459,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
|
||||
|
@ -9562,7 +9557,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": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/monitoring",
|
||||
// "httpMethod": "POST",
|
||||
// "id": "container.projects.zones.clusters.monitoring",
|
||||
|
@ -9928,7 +9923,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 the
|
||||
// password.
|
||||
func (r *ProjectsZonesClustersService) SetMasterAuth(projectId string, zone string, clusterId string, setmasterauthrequest *SetMasterAuthRequest) *ProjectsZonesClustersSetMasterAuthCall {
|
||||
|
@ -10028,7 +10023,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 the password.",
|
||||
// "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 the password.",
|
||||
// "flatPath": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}:setMasterAuth",
|
||||
// "httpMethod": "POST",
|
||||
// "id": "container.projects.zones.clusters.setMasterAuth",
|
||||
|
@ -10547,7 +10542,7 @@ type ProjectsZonesClustersNodePoolsAutoscalingCall struct {
|
|||
header_ http.Header
|
||||
}
|
||||
|
||||
// Autoscaling: Sets the autoscaling settings of a specific node pool.
|
||||
// Autoscaling: Sets the autoscaling settings for a specific node pool.
|
||||
func (r *ProjectsZonesClustersNodePoolsService) Autoscaling(projectId string, zone string, clusterId string, nodePoolId string, setnodepoolautoscalingrequest *SetNodePoolAutoscalingRequest) *ProjectsZonesClustersNodePoolsAutoscalingCall {
|
||||
c := &ProjectsZonesClustersNodePoolsAutoscalingCall{s: r.s, urlParams_: make(gensupport.URLParams)}
|
||||
c.projectId = projectId
|
||||
|
@ -10647,7 +10642,7 @@ func (c *ProjectsZonesClustersNodePoolsAutoscalingCall) Do(opts ...googleapi.Cal
|
|||
}
|
||||
return ret, nil
|
||||
// {
|
||||
// "description": "Sets the autoscaling settings of a specific node pool.",
|
||||
// "description": "Sets the autoscaling settings for a specific node pool.",
|
||||
// "flatPath": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}/autoscaling",
|
||||
// "httpMethod": "POST",
|
||||
// "id": "container.projects.zones.clusters.nodePools.autoscaling",
|
||||
|
@ -11718,7 +11713,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
|
||||
|
@ -11818,7 +11813,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": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}/setSize",
|
||||
// "httpMethod": "POST",
|
||||
// "id": "container.projects.zones.clusters.nodePools.setSize",
|
||||
|
@ -11882,7 +11877,7 @@ type ProjectsZonesClustersNodePoolsUpdateCall struct {
|
|||
header_ http.Header
|
||||
}
|
||||
|
||||
// Update: Updates the version and/or image type of a specific node
|
||||
// Update: Updates the version and/or image type for a specific node
|
||||
// pool.
|
||||
func (r *ProjectsZonesClustersNodePoolsService) Update(projectId string, zone string, clusterId string, nodePoolId string, updatenodepoolrequest *UpdateNodePoolRequest) *ProjectsZonesClustersNodePoolsUpdateCall {
|
||||
c := &ProjectsZonesClustersNodePoolsUpdateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
|
||||
|
@ -11983,7 +11978,7 @@ func (c *ProjectsZonesClustersNodePoolsUpdateCall) Do(opts ...googleapi.CallOpti
|
|||
}
|
||||
return ret, nil
|
||||
// {
|
||||
// "description": "Updates the version and/or image type of a specific node pool.",
|
||||
// "description": "Updates the version and/or image type for a specific node pool.",
|
||||
// "flatPath": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}/update",
|
||||
// "httpMethod": "POST",
|
||||
// "id": "container.projects.zones.clusters.nodePools.update",
|
||||
|
|
205
vendor/google.golang.org/api/container/v1beta1/container-api.json
generated
vendored
205
vendor/google.golang.org/api/container/v1beta1/container-api.json
generated
vendored
|
@ -202,6 +202,31 @@
|
|||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform"
|
||||
]
|
||||
},
|
||||
"list": {
|
||||
"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"
|
||||
]
|
||||
}
|
||||
},
|
||||
"resources": {
|
||||
|
@ -304,7 +329,7 @@
|
|||
]
|
||||
},
|
||||
"get": {
|
||||
"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",
|
||||
|
@ -379,7 +404,7 @@
|
|||
]
|
||||
},
|
||||
"setAddons": {
|
||||
"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",
|
||||
|
@ -435,7 +460,7 @@
|
|||
]
|
||||
},
|
||||
"setLocations": {
|
||||
"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",
|
||||
|
@ -463,7 +488,7 @@
|
|||
]
|
||||
},
|
||||
"setLogging": {
|
||||
"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",
|
||||
|
@ -519,7 +544,7 @@
|
|||
]
|
||||
},
|
||||
"setMasterAuth": {
|
||||
"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",
|
||||
|
@ -547,7 +572,7 @@
|
|||
]
|
||||
},
|
||||
"setMonitoring": {
|
||||
"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",
|
||||
|
@ -659,7 +684,7 @@
|
|||
]
|
||||
},
|
||||
"update": {
|
||||
"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",
|
||||
|
@ -687,7 +712,7 @@
|
|||
]
|
||||
},
|
||||
"updateMaster": {
|
||||
"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",
|
||||
|
@ -961,7 +986,7 @@
|
|||
]
|
||||
},
|
||||
"setSize": {
|
||||
"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",
|
||||
|
@ -1172,7 +1197,7 @@
|
|||
"clusters": {
|
||||
"methods": {
|
||||
"addons": {
|
||||
"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",
|
||||
|
@ -1331,7 +1356,7 @@
|
|||
]
|
||||
},
|
||||
"get": {
|
||||
"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",
|
||||
|
@ -1451,7 +1476,7 @@
|
|||
]
|
||||
},
|
||||
"locations": {
|
||||
"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",
|
||||
|
@ -1492,7 +1517,7 @@
|
|||
]
|
||||
},
|
||||
"logging": {
|
||||
"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",
|
||||
|
@ -1533,7 +1558,7 @@
|
|||
]
|
||||
},
|
||||
"master": {
|
||||
"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",
|
||||
|
@ -1574,7 +1599,7 @@
|
|||
]
|
||||
},
|
||||
"monitoring": {
|
||||
"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",
|
||||
|
@ -1697,7 +1722,7 @@
|
|||
]
|
||||
},
|
||||
"setMasterAuth": {
|
||||
"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",
|
||||
|
@ -1820,7 +1845,7 @@
|
|||
]
|
||||
},
|
||||
"update": {
|
||||
"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",
|
||||
|
@ -2193,7 +2218,7 @@
|
|||
]
|
||||
},
|
||||
"setSize": {
|
||||
"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",
|
||||
|
@ -2421,7 +2446,7 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"revision": "20180412",
|
||||
"revision": "20180524",
|
||||
"rootUrl": "https://container.googleapis.com/",
|
||||
"schemas": {
|
||||
"AcceleratorConfig": {
|
||||
|
@ -2478,6 +2503,17 @@
|
|||
},
|
||||
"type": "object"
|
||||
},
|
||||
"BinaryAuthorization": {
|
||||
"description": "Configuration for Binary Authorization.",
|
||||
"id": "BinaryAuthorization",
|
||||
"properties": {
|
||||
"enabled": {
|
||||
"description": "Enable Binary Authorization for this cluster. If enabled, all container\nimages will be validated by Google Binauthz.",
|
||||
"type": "boolean"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"CancelOperationRequest": {
|
||||
"description": "CancelOperationRequest cancels a single operation.",
|
||||
"id": "CancelOperationRequest",
|
||||
|
@ -2535,6 +2571,10 @@
|
|||
"$ref": "AddonsConfig",
|
||||
"description": "Configurations for the various addons available to run in the cluster."
|
||||
},
|
||||
"binaryAuthorization": {
|
||||
"$ref": "BinaryAuthorization",
|
||||
"description": "Configuration for Binary Authorization."
|
||||
},
|
||||
"clusterIpv4Cidr": {
|
||||
"description": "The IP address range of the container pods in this cluster, in\n[CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)\nnotation (e.g. `10.96.0.0/14`). Leave blank to have\none automatically chosen or specify a `/14` block in `10.0.0.0/8`.",
|
||||
"type": "string"
|
||||
|
@ -2735,6 +2775,10 @@
|
|||
"$ref": "AddonsConfig",
|
||||
"description": "Configurations for the various addons available to run in the cluster."
|
||||
},
|
||||
"desiredBinaryAuthorization": {
|
||||
"$ref": "BinaryAuthorization",
|
||||
"description": "The desired configuration options for the Binary Authorization feature."
|
||||
},
|
||||
"desiredImageType": {
|
||||
"description": "The desired image type for the node pool.\nNOTE: Set the \"desired_node_pool\" field as well.",
|
||||
"type": "string"
|
||||
|
@ -2991,6 +3035,24 @@
|
|||
},
|
||||
"type": "object"
|
||||
},
|
||||
"ListLocationsResponse": {
|
||||
"description": "ListLocationsResponse returns the list of all GKE locations and their\nrecommendation state.",
|
||||
"id": "ListLocationsResponse",
|
||||
"properties": {
|
||||
"locations": {
|
||||
"description": "A full list of GKE locations.",
|
||||
"items": {
|
||||
"$ref": "Location"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"nextPageToken": {
|
||||
"description": "Only return ListLocationsResponse that occur after the page_token. This\nvalue should be populated from the ListLocationsResponse.next_page_token if\nthat response token was set (which happens when listing more Locations than\nfit in a single ListLocationsResponse).",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"ListNodePoolsResponse": {
|
||||
"description": "ListNodePoolsResponse is the result of ListNodePoolsRequest.",
|
||||
"id": "ListNodePoolsResponse",
|
||||
|
@ -3044,6 +3106,35 @@
|
|||
},
|
||||
"type": "object"
|
||||
},
|
||||
"Location": {
|
||||
"description": "Location returns the location name, and if the location is recommended\nfor GKE cluster scheduling.",
|
||||
"id": "Location",
|
||||
"properties": {
|
||||
"name": {
|
||||
"description": "Contains the name of the resource requested.\nSpecific in the format 'projects/*/locations/*'.",
|
||||
"type": "string"
|
||||
},
|
||||
"recommended": {
|
||||
"description": "Recommended is a bool combining the drain state of the location (ie- has\nthe region been drained manually?), and the stockout status of any zone\naccording to Zone Advisor. This will be internal only for use by pantheon.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"type": {
|
||||
"description": "Contains the type of location this Location is for.\nRegional or Zonal.",
|
||||
"enum": [
|
||||
"LOCATION_TYPE_UNSPECIFIED",
|
||||
"ZONE",
|
||||
"REGION"
|
||||
],
|
||||
"enumDescriptions": [
|
||||
"LOCATION_TYPE_UNSPECIFIED means the location type was not determined.",
|
||||
"A GKE Location where Zonal clusters can be created.",
|
||||
"A GKE Location where Regional clusters can be created."
|
||||
],
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"MaintenancePolicy": {
|
||||
"description": "MaintenancePolicy defines the maintenance policy to be used for the cluster.",
|
||||
"id": "MaintenancePolicy",
|
||||
|
@ -3115,6 +3206,31 @@
|
|||
},
|
||||
"type": "object"
|
||||
},
|
||||
"Metric": {
|
||||
"description": "Progress metric is (string, int|float|string) pair.",
|
||||
"id": "Metric",
|
||||
"properties": {
|
||||
"doubleValue": {
|
||||
"description": "For metrics with floating point value.",
|
||||
"format": "double",
|
||||
"type": "number"
|
||||
},
|
||||
"intValue": {
|
||||
"description": "For metrics with integer value.",
|
||||
"format": "int64",
|
||||
"type": "string"
|
||||
},
|
||||
"name": {
|
||||
"description": "Metric name, required.\ne.g., \"nodes total\", \"percent done\"",
|
||||
"type": "string"
|
||||
},
|
||||
"stringValue": {
|
||||
"description": "For metrics with custom values (ratios, visual progress, etc.).",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"NetworkConfig": {
|
||||
"description": "NetworkConfig reports the relative names of network \u0026 subnetwork.",
|
||||
"id": "NetworkConfig",
|
||||
|
@ -3180,6 +3296,10 @@
|
|||
"format": "int32",
|
||||
"type": "integer"
|
||||
},
|
||||
"diskType": {
|
||||
"description": "Type of the disk attached to each node (e.g. 'pd-standard' or 'pd-ssd')\n\nIf unspecified, the default disk type is 'pd-standard'",
|
||||
"type": "string"
|
||||
},
|
||||
"imageType": {
|
||||
"description": "The image type to use for this node. Note that for a given image type,\nthe latest version of it will be used.",
|
||||
"type": "string"
|
||||
|
@ -3449,6 +3569,10 @@
|
|||
],
|
||||
"type": "string"
|
||||
},
|
||||
"progress": {
|
||||
"$ref": "OperationProgress",
|
||||
"description": "[Output only] Progress information for an operation."
|
||||
},
|
||||
"selfLink": {
|
||||
"description": "Server-defined URL for the resource.",
|
||||
"type": "string"
|
||||
|
@ -3490,6 +3614,49 @@
|
|||
},
|
||||
"type": "object"
|
||||
},
|
||||
"OperationProgress": {
|
||||
"description": "Information about operation (or operation stage) progress.",
|
||||
"id": "OperationProgress",
|
||||
"properties": {
|
||||
"metrics": {
|
||||
"description": "Progress metric bundle, for example:\n metrics: [{name: \"nodes done\", int_value: 15},\n {name: \"nodes total\", int_value: 32}]\nor\n metrics: [{name: \"progress\", double_value: 0.56},\n {name: \"progress scale\", double_value: 1.0}]",
|
||||
"items": {
|
||||
"$ref": "Metric"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"name": {
|
||||
"description": "A non-parameterized string describing an operation stage.\nUnset for single-stage operations.",
|
||||
"type": "string"
|
||||
},
|
||||
"stages": {
|
||||
"description": "Substages of an operation or a stage.",
|
||||
"items": {
|
||||
"$ref": "OperationProgress"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"status": {
|
||||
"description": "Status of an operation stage.\nUnset for single-stage operations.",
|
||||
"enum": [
|
||||
"STATUS_UNSPECIFIED",
|
||||
"PENDING",
|
||||
"RUNNING",
|
||||
"DONE",
|
||||
"ABORTING"
|
||||
],
|
||||
"enumDescriptions": [
|
||||
"Not set.",
|
||||
"The operation has been created.",
|
||||
"The operation is currently running.",
|
||||
"The operation is done, either cancelled or completed.",
|
||||
"The operation is aborting."
|
||||
],
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"PodSecurityPolicyConfig": {
|
||||
"description": "Configuration for the PodSecurityPolicy feature.",
|
||||
"id": "PodSecurityPolicyConfig",
|
||||
|
|
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