gkeonprem
packageThis package is not in the latest version of its module.
Details
Validgo.mod file
The Go module system was introduced in Go 1.11 and is the official dependency management solution for Go.
Redistributable license
Redistributable licenses place minimal restrictions on how software can be used, modified, and redistributed.
Tagged version
Modules with tagged versions give importers more predictable builds.
Stable version
When a project reaches major version v1 it is considered stable.
- Learn more about best practices
Repository
Links
Documentation¶
Overview¶
Package gkeonprem provides access to the GKE On-Prem API.
For product documentation, see:https://cloud.google.com/anthos/clusters/docs/on-prem/
Library status¶
These client libraries are officially supported by Google. However, thislibrary is considered complete and is in maintenance mode. This meansthat we will address critical bugs and security issues but will not addany new features.
When possible, we recommend using our newer[Cloud Client Libraries for Go](https://pkg.go.dev/cloud.google.com/go)that are still actively being worked and iterated on.
Creating a client¶
Usage example:
import "google.golang.org/api/gkeonprem/v1"...ctx := context.Background()gkeonpremService, err := gkeonprem.NewService(ctx)
In this example, Google Application Default Credentials are used forauthentication. For information on how to create and obtain ApplicationDefault Credentials, seehttps://developers.google.com/identity/protocols/application-default-credentials.
Other authentication options¶
To use an API key for authentication (note: some APIs do not support APIkeys), usegoogle.golang.org/api/option.WithAPIKey:
gkeonpremService, err := gkeonprem.NewService(ctx, option.WithAPIKey("AIza..."))To use an OAuth token (e.g., a user token obtained via a three-legged OAuthflow, usegoogle.golang.org/api/option.WithTokenSource:
config := &oauth2.Config{...}// ...token, err := config.Exchange(ctx, ...)gkeonpremService, err := gkeonprem.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))Seegoogle.golang.org/api/option.ClientOption for details on options.
Index¶
- Constants
- type Authorization
- type BareMetalAdminApiServerArgument
- type BareMetalAdminBgpLbConfig
- type BareMetalAdminBgpPeerConfig
- type BareMetalAdminCluster
- type BareMetalAdminClusterOperationsConfig
- type BareMetalAdminControlPlaneConfig
- type BareMetalAdminControlPlaneNodePoolConfig
- type BareMetalAdminDrainedMachine
- type BareMetalAdminDrainingMachine
- type BareMetalAdminIslandModeCidrConfig
- type BareMetalAdminLoadBalancerAddressPool
- type BareMetalAdminLoadBalancerConfig
- type BareMetalAdminLoadBalancerNodePoolConfig
- type BareMetalAdminMachineDrainStatus
- type BareMetalAdminMaintenanceConfig
- type BareMetalAdminMaintenanceStatus
- type BareMetalAdminManualLbConfig
- type BareMetalAdminMultipleNetworkInterfacesConfig
- type BareMetalAdminNetworkConfig
- type BareMetalAdminNodeAccessConfig
- type BareMetalAdminOsEnvironmentConfig
- type BareMetalAdminPortConfig
- type BareMetalAdminProxyConfig
- type BareMetalAdminSecurityConfig
- type BareMetalAdminStorageConfig
- type BareMetalAdminVipConfig
- type BareMetalAdminWorkloadNodeConfig
- type BareMetalApiServerArgument
- type BareMetalBgpLbConfig
- type BareMetalBgpPeerConfig
- type BareMetalCluster
- type BareMetalClusterOperationsConfig
- type BareMetalClusterUpgradePolicy
- type BareMetalControlPlaneConfig
- type BareMetalControlPlaneNodePoolConfig
- type BareMetalDrainedMachine
- type BareMetalDrainingMachine
- type BareMetalIslandModeCidrConfig
- type BareMetalKubeletConfig
- type BareMetalLoadBalancerAddressPool
- type BareMetalLoadBalancerConfig
- type BareMetalLoadBalancerNodePoolConfig
- type BareMetalLvpConfig
- type BareMetalLvpShareConfig
- type BareMetalMachineDrainStatus
- type BareMetalMaintenanceConfig
- type BareMetalMaintenanceStatus
- type BareMetalManualLbConfig
- type BareMetalMetalLbConfig
- type BareMetalMultipleNetworkInterfacesConfig
- type BareMetalNetworkConfig
- type BareMetalNodeAccessConfig
- type BareMetalNodeConfig
- type BareMetalNodePool
- type BareMetalNodePoolConfig
- type BareMetalNodePoolUpgradePolicy
- type BareMetalOsEnvironmentConfig
- type BareMetalParallelUpgradeConfig
- type BareMetalPortConfig
- type BareMetalProxyConfig
- type BareMetalSecurityConfig
- type BareMetalSrIovConfig
- type BareMetalStorageConfig
- type BareMetalVersionInfo
- type BareMetalVipConfig
- type BareMetalWorkloadNodeConfig
- type BinaryAuthorization
- type Binding
- type CancelOperationRequest
- type ClusterUser
- type Empty
- type EnrollBareMetalAdminClusterRequest
- type EnrollBareMetalClusterRequest
- type EnrollBareMetalNodePoolRequest
- type EnrollVmwareAdminClusterRequest
- type EnrollVmwareClusterRequest
- type EnrollVmwareNodePoolRequest
- type Expr
- type Fleet
- type ListBareMetalAdminClustersResponse
- type ListBareMetalClustersResponse
- type ListBareMetalNodePoolsResponse
- type ListLocationsResponse
- type ListOperationsResponse
- type ListVmwareAdminClustersResponse
- type ListVmwareClustersResponse
- type ListVmwareNodePoolsResponse
- type Location
- type Metric
- type NodeTaint
- type Operation
- type OperationMetadata
- type OperationProgress
- type OperationStage
- type Policy
- type ProjectsLocationsBareMetalAdminClustersCreateCall
- func (c *ProjectsLocationsBareMetalAdminClustersCreateCall) AllowPreflightFailure(allowPreflightFailure bool) *ProjectsLocationsBareMetalAdminClustersCreateCall
- func (c *ProjectsLocationsBareMetalAdminClustersCreateCall) BareMetalAdminClusterId(bareMetalAdminClusterId string) *ProjectsLocationsBareMetalAdminClustersCreateCall
- func (c *ProjectsLocationsBareMetalAdminClustersCreateCall) Context(ctx context.Context) *ProjectsLocationsBareMetalAdminClustersCreateCall
- func (c *ProjectsLocationsBareMetalAdminClustersCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsBareMetalAdminClustersCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsBareMetalAdminClustersCreateCall
- func (c *ProjectsLocationsBareMetalAdminClustersCreateCall) Header() http.Header
- func (c *ProjectsLocationsBareMetalAdminClustersCreateCall) ValidateOnly(validateOnly bool) *ProjectsLocationsBareMetalAdminClustersCreateCall
- type ProjectsLocationsBareMetalAdminClustersEnrollCall
- func (c *ProjectsLocationsBareMetalAdminClustersEnrollCall) Context(ctx context.Context) *ProjectsLocationsBareMetalAdminClustersEnrollCall
- func (c *ProjectsLocationsBareMetalAdminClustersEnrollCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsBareMetalAdminClustersEnrollCall) Fields(s ...googleapi.Field) *ProjectsLocationsBareMetalAdminClustersEnrollCall
- func (c *ProjectsLocationsBareMetalAdminClustersEnrollCall) Header() http.Header
- type ProjectsLocationsBareMetalAdminClustersGetCall
- func (c *ProjectsLocationsBareMetalAdminClustersGetCall) AllowMissing(allowMissing bool) *ProjectsLocationsBareMetalAdminClustersGetCall
- func (c *ProjectsLocationsBareMetalAdminClustersGetCall) Context(ctx context.Context) *ProjectsLocationsBareMetalAdminClustersGetCall
- func (c *ProjectsLocationsBareMetalAdminClustersGetCall) Do(opts ...googleapi.CallOption) (*BareMetalAdminCluster, error)
- func (c *ProjectsLocationsBareMetalAdminClustersGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsBareMetalAdminClustersGetCall
- func (c *ProjectsLocationsBareMetalAdminClustersGetCall) Header() http.Header
- func (c *ProjectsLocationsBareMetalAdminClustersGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsBareMetalAdminClustersGetCall
- func (c *ProjectsLocationsBareMetalAdminClustersGetCall) View(view string) *ProjectsLocationsBareMetalAdminClustersGetCall
- type ProjectsLocationsBareMetalAdminClustersGetIamPolicyCall
- func (c *ProjectsLocationsBareMetalAdminClustersGetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsBareMetalAdminClustersGetIamPolicyCall
- func (c *ProjectsLocationsBareMetalAdminClustersGetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
- func (c *ProjectsLocationsBareMetalAdminClustersGetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsBareMetalAdminClustersGetIamPolicyCall
- func (c *ProjectsLocationsBareMetalAdminClustersGetIamPolicyCall) Header() http.Header
- func (c *ProjectsLocationsBareMetalAdminClustersGetIamPolicyCall) IfNoneMatch(entityTag string) *ProjectsLocationsBareMetalAdminClustersGetIamPolicyCall
- func (c *ProjectsLocationsBareMetalAdminClustersGetIamPolicyCall) OptionsRequestedPolicyVersion(optionsRequestedPolicyVersion int64) *ProjectsLocationsBareMetalAdminClustersGetIamPolicyCall
- type ProjectsLocationsBareMetalAdminClustersListCall
- func (c *ProjectsLocationsBareMetalAdminClustersListCall) AllowMissing(allowMissing bool) *ProjectsLocationsBareMetalAdminClustersListCall
- func (c *ProjectsLocationsBareMetalAdminClustersListCall) Context(ctx context.Context) *ProjectsLocationsBareMetalAdminClustersListCall
- func (c *ProjectsLocationsBareMetalAdminClustersListCall) Do(opts ...googleapi.CallOption) (*ListBareMetalAdminClustersResponse, error)
- func (c *ProjectsLocationsBareMetalAdminClustersListCall) Fields(s ...googleapi.Field) *ProjectsLocationsBareMetalAdminClustersListCall
- func (c *ProjectsLocationsBareMetalAdminClustersListCall) Header() http.Header
- func (c *ProjectsLocationsBareMetalAdminClustersListCall) IfNoneMatch(entityTag string) *ProjectsLocationsBareMetalAdminClustersListCall
- func (c *ProjectsLocationsBareMetalAdminClustersListCall) PageSize(pageSize int64) *ProjectsLocationsBareMetalAdminClustersListCall
- func (c *ProjectsLocationsBareMetalAdminClustersListCall) PageToken(pageToken string) *ProjectsLocationsBareMetalAdminClustersListCall
- func (c *ProjectsLocationsBareMetalAdminClustersListCall) Pages(ctx context.Context, f func(*ListBareMetalAdminClustersResponse) error) error
- func (c *ProjectsLocationsBareMetalAdminClustersListCall) View(view string) *ProjectsLocationsBareMetalAdminClustersListCall
- type ProjectsLocationsBareMetalAdminClustersOperationsGetCall
- func (c *ProjectsLocationsBareMetalAdminClustersOperationsGetCall) Context(ctx context.Context) *ProjectsLocationsBareMetalAdminClustersOperationsGetCall
- func (c *ProjectsLocationsBareMetalAdminClustersOperationsGetCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsBareMetalAdminClustersOperationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsBareMetalAdminClustersOperationsGetCall
- func (c *ProjectsLocationsBareMetalAdminClustersOperationsGetCall) Header() http.Header
- func (c *ProjectsLocationsBareMetalAdminClustersOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsBareMetalAdminClustersOperationsGetCall
- type ProjectsLocationsBareMetalAdminClustersOperationsListCall
- func (c *ProjectsLocationsBareMetalAdminClustersOperationsListCall) Context(ctx context.Context) *ProjectsLocationsBareMetalAdminClustersOperationsListCall
- func (c *ProjectsLocationsBareMetalAdminClustersOperationsListCall) Do(opts ...googleapi.CallOption) (*ListOperationsResponse, error)
- func (c *ProjectsLocationsBareMetalAdminClustersOperationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsBareMetalAdminClustersOperationsListCall
- func (c *ProjectsLocationsBareMetalAdminClustersOperationsListCall) Filter(filter string) *ProjectsLocationsBareMetalAdminClustersOperationsListCall
- func (c *ProjectsLocationsBareMetalAdminClustersOperationsListCall) Header() http.Header
- func (c *ProjectsLocationsBareMetalAdminClustersOperationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsBareMetalAdminClustersOperationsListCall
- func (c *ProjectsLocationsBareMetalAdminClustersOperationsListCall) PageSize(pageSize int64) *ProjectsLocationsBareMetalAdminClustersOperationsListCall
- func (c *ProjectsLocationsBareMetalAdminClustersOperationsListCall) PageToken(pageToken string) *ProjectsLocationsBareMetalAdminClustersOperationsListCall
- func (c *ProjectsLocationsBareMetalAdminClustersOperationsListCall) Pages(ctx context.Context, f func(*ListOperationsResponse) error) error
- func (c *ProjectsLocationsBareMetalAdminClustersOperationsListCall) ReturnPartialSuccess(returnPartialSuccess bool) *ProjectsLocationsBareMetalAdminClustersOperationsListCall
- type ProjectsLocationsBareMetalAdminClustersOperationsService
- type ProjectsLocationsBareMetalAdminClustersPatchCall
- func (c *ProjectsLocationsBareMetalAdminClustersPatchCall) Context(ctx context.Context) *ProjectsLocationsBareMetalAdminClustersPatchCall
- func (c *ProjectsLocationsBareMetalAdminClustersPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsBareMetalAdminClustersPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsBareMetalAdminClustersPatchCall
- func (c *ProjectsLocationsBareMetalAdminClustersPatchCall) Header() http.Header
- func (c *ProjectsLocationsBareMetalAdminClustersPatchCall) UpdateMask(updateMask string) *ProjectsLocationsBareMetalAdminClustersPatchCall
- func (c *ProjectsLocationsBareMetalAdminClustersPatchCall) ValidateOnly(validateOnly bool) *ProjectsLocationsBareMetalAdminClustersPatchCall
- type ProjectsLocationsBareMetalAdminClustersQueryVersionConfigCall
- func (c *ProjectsLocationsBareMetalAdminClustersQueryVersionConfigCall) Context(ctx context.Context) *ProjectsLocationsBareMetalAdminClustersQueryVersionConfigCall
- func (c *ProjectsLocationsBareMetalAdminClustersQueryVersionConfigCall) Do(opts ...googleapi.CallOption) (*QueryBareMetalAdminVersionConfigResponse, error)
- func (c *ProjectsLocationsBareMetalAdminClustersQueryVersionConfigCall) Fields(s ...googleapi.Field) *ProjectsLocationsBareMetalAdminClustersQueryVersionConfigCall
- func (c *ProjectsLocationsBareMetalAdminClustersQueryVersionConfigCall) Header() http.Header
- func (c *ProjectsLocationsBareMetalAdminClustersQueryVersionConfigCall) UpgradeConfigClusterName(upgradeConfigClusterName string) *ProjectsLocationsBareMetalAdminClustersQueryVersionConfigCall
- type ProjectsLocationsBareMetalAdminClustersService
- func (r *ProjectsLocationsBareMetalAdminClustersService) Create(parent string, baremetaladmincluster *BareMetalAdminCluster) *ProjectsLocationsBareMetalAdminClustersCreateCall
- func (r *ProjectsLocationsBareMetalAdminClustersService) Enroll(parent string, ...) *ProjectsLocationsBareMetalAdminClustersEnrollCall
- func (r *ProjectsLocationsBareMetalAdminClustersService) Get(name string) *ProjectsLocationsBareMetalAdminClustersGetCall
- func (r *ProjectsLocationsBareMetalAdminClustersService) GetIamPolicy(resource string) *ProjectsLocationsBareMetalAdminClustersGetIamPolicyCall
- func (r *ProjectsLocationsBareMetalAdminClustersService) List(parent string) *ProjectsLocationsBareMetalAdminClustersListCall
- func (r *ProjectsLocationsBareMetalAdminClustersService) Patch(name string, baremetaladmincluster *BareMetalAdminCluster) *ProjectsLocationsBareMetalAdminClustersPatchCall
- func (r *ProjectsLocationsBareMetalAdminClustersService) QueryVersionConfig(parent string) *ProjectsLocationsBareMetalAdminClustersQueryVersionConfigCall
- func (r *ProjectsLocationsBareMetalAdminClustersService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsBareMetalAdminClustersSetIamPolicyCall
- func (r *ProjectsLocationsBareMetalAdminClustersService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsBareMetalAdminClustersTestIamPermissionsCall
- func (r *ProjectsLocationsBareMetalAdminClustersService) Unenroll(name string) *ProjectsLocationsBareMetalAdminClustersUnenrollCall
- type ProjectsLocationsBareMetalAdminClustersSetIamPolicyCall
- func (c *ProjectsLocationsBareMetalAdminClustersSetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsBareMetalAdminClustersSetIamPolicyCall
- func (c *ProjectsLocationsBareMetalAdminClustersSetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
- func (c *ProjectsLocationsBareMetalAdminClustersSetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsBareMetalAdminClustersSetIamPolicyCall
- func (c *ProjectsLocationsBareMetalAdminClustersSetIamPolicyCall) Header() http.Header
- type ProjectsLocationsBareMetalAdminClustersTestIamPermissionsCall
- func (c *ProjectsLocationsBareMetalAdminClustersTestIamPermissionsCall) Context(ctx context.Context) *ProjectsLocationsBareMetalAdminClustersTestIamPermissionsCall
- func (c *ProjectsLocationsBareMetalAdminClustersTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestIamPermissionsResponse, error)
- func (c *ProjectsLocationsBareMetalAdminClustersTestIamPermissionsCall) Fields(s ...googleapi.Field) *ProjectsLocationsBareMetalAdminClustersTestIamPermissionsCall
- func (c *ProjectsLocationsBareMetalAdminClustersTestIamPermissionsCall) Header() http.Header
- type ProjectsLocationsBareMetalAdminClustersUnenrollCall
- func (c *ProjectsLocationsBareMetalAdminClustersUnenrollCall) AllowMissing(allowMissing bool) *ProjectsLocationsBareMetalAdminClustersUnenrollCall
- func (c *ProjectsLocationsBareMetalAdminClustersUnenrollCall) Context(ctx context.Context) *ProjectsLocationsBareMetalAdminClustersUnenrollCall
- func (c *ProjectsLocationsBareMetalAdminClustersUnenrollCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsBareMetalAdminClustersUnenrollCall) Etag(etag string) *ProjectsLocationsBareMetalAdminClustersUnenrollCall
- func (c *ProjectsLocationsBareMetalAdminClustersUnenrollCall) Fields(s ...googleapi.Field) *ProjectsLocationsBareMetalAdminClustersUnenrollCall
- func (c *ProjectsLocationsBareMetalAdminClustersUnenrollCall) Header() http.Header
- func (c *ProjectsLocationsBareMetalAdminClustersUnenrollCall) IgnoreErrors(ignoreErrors bool) *ProjectsLocationsBareMetalAdminClustersUnenrollCall
- func (c *ProjectsLocationsBareMetalAdminClustersUnenrollCall) ValidateOnly(validateOnly bool) *ProjectsLocationsBareMetalAdminClustersUnenrollCall
- type ProjectsLocationsBareMetalClustersBareMetalNodePoolsCreateCall
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsCreateCall) BareMetalNodePoolId(bareMetalNodePoolId string) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsCreateCall
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsCreateCall) Context(ctx context.Context) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsCreateCall
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsCreateCall
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsCreateCall) Header() http.Header
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsCreateCall) ValidateOnly(validateOnly bool) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsCreateCall
- type ProjectsLocationsBareMetalClustersBareMetalNodePoolsDeleteCall
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsDeleteCall) AllowMissing(allowMissing bool) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsDeleteCall
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsDeleteCall) Context(ctx context.Context) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsDeleteCall
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsDeleteCall) Etag(etag string) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsDeleteCall
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsDeleteCall
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsDeleteCall) Header() http.Header
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsDeleteCall) IgnoreErrors(ignoreErrors bool) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsDeleteCall
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsDeleteCall) ValidateOnly(validateOnly bool) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsDeleteCall
- type ProjectsLocationsBareMetalClustersBareMetalNodePoolsEnrollCall
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsEnrollCall) Context(ctx context.Context) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsEnrollCall
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsEnrollCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsEnrollCall) Fields(s ...googleapi.Field) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsEnrollCall
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsEnrollCall) Header() http.Header
- type ProjectsLocationsBareMetalClustersBareMetalNodePoolsGetCall
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsGetCall) Context(ctx context.Context) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsGetCall
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsGetCall) Do(opts ...googleapi.CallOption) (*BareMetalNodePool, error)
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsGetCall
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsGetCall) Header() http.Header
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsGetCall
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsGetCall) View(view string) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsGetCall
- type ProjectsLocationsBareMetalClustersBareMetalNodePoolsGetIamPolicyCall
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsGetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsGetIamPolicyCall
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsGetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsGetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsGetIamPolicyCall
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsGetIamPolicyCall) Header() http.Header
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsGetIamPolicyCall) IfNoneMatch(entityTag string) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsGetIamPolicyCall
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsGetIamPolicyCall) OptionsRequestedPolicyVersion(optionsRequestedPolicyVersion int64) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsGetIamPolicyCall
- type ProjectsLocationsBareMetalClustersBareMetalNodePoolsListCall
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsListCall) Context(ctx context.Context) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsListCall
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsListCall) Do(opts ...googleapi.CallOption) (*ListBareMetalNodePoolsResponse, error)
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsListCall
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsListCall) Header() http.Header
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsListCall
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsListCall) PageSize(pageSize int64) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsListCall
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsListCall) PageToken(pageToken string) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsListCall
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsListCall) Pages(ctx context.Context, f func(*ListBareMetalNodePoolsResponse) error) error
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsListCall) View(view string) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsListCall
- type ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsGetCall
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsGetCall) Context(ctx context.Context) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsGetCall
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsGetCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsGetCall
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsGetCall) Header() http.Header
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsGetCall
- type ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsListCall
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsListCall) Context(ctx context.Context) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsListCall
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsListCall) Do(opts ...googleapi.CallOption) (*ListOperationsResponse, error)
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsListCall
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsListCall) Filter(filter string) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsListCall
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsListCall) Header() http.Header
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsListCall
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsListCall) PageSize(pageSize int64) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsListCall
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsListCall) PageToken(pageToken string) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsListCall
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsListCall) Pages(ctx context.Context, f func(*ListOperationsResponse) error) error
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsListCall) ReturnPartialSuccess(returnPartialSuccess bool) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsListCall
- type ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsService
- func (r *ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsService) Get(name string) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsGetCall
- func (r *ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsService) List(name string) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsListCall
- type ProjectsLocationsBareMetalClustersBareMetalNodePoolsPatchCall
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsPatchCall) AllowMissing(allowMissing bool) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsPatchCall
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsPatchCall) Context(ctx context.Context) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsPatchCall
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsPatchCall
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsPatchCall) Header() http.Header
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsPatchCall
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsPatchCall) ValidateOnly(validateOnly bool) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsPatchCall
- type ProjectsLocationsBareMetalClustersBareMetalNodePoolsService
- func (r *ProjectsLocationsBareMetalClustersBareMetalNodePoolsService) Create(parent string, baremetalnodepool *BareMetalNodePool) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsCreateCall
- func (r *ProjectsLocationsBareMetalClustersBareMetalNodePoolsService) Delete(name string) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsDeleteCall
- func (r *ProjectsLocationsBareMetalClustersBareMetalNodePoolsService) Enroll(parent string, enrollbaremetalnodepoolrequest *EnrollBareMetalNodePoolRequest) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsEnrollCall
- func (r *ProjectsLocationsBareMetalClustersBareMetalNodePoolsService) Get(name string) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsGetCall
- func (r *ProjectsLocationsBareMetalClustersBareMetalNodePoolsService) GetIamPolicy(resource string) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsGetIamPolicyCall
- func (r *ProjectsLocationsBareMetalClustersBareMetalNodePoolsService) List(parent string) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsListCall
- func (r *ProjectsLocationsBareMetalClustersBareMetalNodePoolsService) Patch(name string, baremetalnodepool *BareMetalNodePool) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsPatchCall
- func (r *ProjectsLocationsBareMetalClustersBareMetalNodePoolsService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsSetIamPolicyCall
- func (r *ProjectsLocationsBareMetalClustersBareMetalNodePoolsService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsTestIamPermissionsCall
- func (r *ProjectsLocationsBareMetalClustersBareMetalNodePoolsService) Unenroll(name string) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsUnenrollCall
- type ProjectsLocationsBareMetalClustersBareMetalNodePoolsSetIamPolicyCall
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsSetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsSetIamPolicyCall
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsSetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsSetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsSetIamPolicyCall
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsSetIamPolicyCall) Header() http.Header
- type ProjectsLocationsBareMetalClustersBareMetalNodePoolsTestIamPermissionsCall
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsTestIamPermissionsCall) Context(ctx context.Context) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsTestIamPermissionsCall
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestIamPermissionsResponse, error)
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsTestIamPermissionsCall) Fields(s ...googleapi.Field) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsTestIamPermissionsCall
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsTestIamPermissionsCall) Header() http.Header
- type ProjectsLocationsBareMetalClustersBareMetalNodePoolsUnenrollCall
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsUnenrollCall) AllowMissing(allowMissing bool) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsUnenrollCall
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsUnenrollCall) Context(ctx context.Context) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsUnenrollCall
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsUnenrollCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsUnenrollCall) Etag(etag string) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsUnenrollCall
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsUnenrollCall) Fields(s ...googleapi.Field) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsUnenrollCall
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsUnenrollCall) Header() http.Header
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsUnenrollCall) ValidateOnly(validateOnly bool) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsUnenrollCall
- type ProjectsLocationsBareMetalClustersCreateCall
- func (c *ProjectsLocationsBareMetalClustersCreateCall) AllowPreflightFailure(allowPreflightFailure bool) *ProjectsLocationsBareMetalClustersCreateCall
- func (c *ProjectsLocationsBareMetalClustersCreateCall) BareMetalClusterId(bareMetalClusterId string) *ProjectsLocationsBareMetalClustersCreateCall
- func (c *ProjectsLocationsBareMetalClustersCreateCall) Context(ctx context.Context) *ProjectsLocationsBareMetalClustersCreateCall
- func (c *ProjectsLocationsBareMetalClustersCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsBareMetalClustersCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsBareMetalClustersCreateCall
- func (c *ProjectsLocationsBareMetalClustersCreateCall) Header() http.Header
- func (c *ProjectsLocationsBareMetalClustersCreateCall) ValidateOnly(validateOnly bool) *ProjectsLocationsBareMetalClustersCreateCall
- type ProjectsLocationsBareMetalClustersDeleteCall
- func (c *ProjectsLocationsBareMetalClustersDeleteCall) AllowMissing(allowMissing bool) *ProjectsLocationsBareMetalClustersDeleteCall
- func (c *ProjectsLocationsBareMetalClustersDeleteCall) Context(ctx context.Context) *ProjectsLocationsBareMetalClustersDeleteCall
- func (c *ProjectsLocationsBareMetalClustersDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsBareMetalClustersDeleteCall) Etag(etag string) *ProjectsLocationsBareMetalClustersDeleteCall
- func (c *ProjectsLocationsBareMetalClustersDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsBareMetalClustersDeleteCall
- func (c *ProjectsLocationsBareMetalClustersDeleteCall) Force(force bool) *ProjectsLocationsBareMetalClustersDeleteCall
- func (c *ProjectsLocationsBareMetalClustersDeleteCall) Header() http.Header
- func (c *ProjectsLocationsBareMetalClustersDeleteCall) IgnoreErrors(ignoreErrors bool) *ProjectsLocationsBareMetalClustersDeleteCall
- func (c *ProjectsLocationsBareMetalClustersDeleteCall) ValidateOnly(validateOnly bool) *ProjectsLocationsBareMetalClustersDeleteCall
- type ProjectsLocationsBareMetalClustersEnrollCall
- func (c *ProjectsLocationsBareMetalClustersEnrollCall) Context(ctx context.Context) *ProjectsLocationsBareMetalClustersEnrollCall
- func (c *ProjectsLocationsBareMetalClustersEnrollCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsBareMetalClustersEnrollCall) Fields(s ...googleapi.Field) *ProjectsLocationsBareMetalClustersEnrollCall
- func (c *ProjectsLocationsBareMetalClustersEnrollCall) Header() http.Header
- type ProjectsLocationsBareMetalClustersGetCall
- func (c *ProjectsLocationsBareMetalClustersGetCall) AllowMissing(allowMissing bool) *ProjectsLocationsBareMetalClustersGetCall
- func (c *ProjectsLocationsBareMetalClustersGetCall) Context(ctx context.Context) *ProjectsLocationsBareMetalClustersGetCall
- func (c *ProjectsLocationsBareMetalClustersGetCall) Do(opts ...googleapi.CallOption) (*BareMetalCluster, error)
- func (c *ProjectsLocationsBareMetalClustersGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsBareMetalClustersGetCall
- func (c *ProjectsLocationsBareMetalClustersGetCall) Header() http.Header
- func (c *ProjectsLocationsBareMetalClustersGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsBareMetalClustersGetCall
- func (c *ProjectsLocationsBareMetalClustersGetCall) View(view string) *ProjectsLocationsBareMetalClustersGetCall
- type ProjectsLocationsBareMetalClustersGetIamPolicyCall
- func (c *ProjectsLocationsBareMetalClustersGetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsBareMetalClustersGetIamPolicyCall
- func (c *ProjectsLocationsBareMetalClustersGetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
- func (c *ProjectsLocationsBareMetalClustersGetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsBareMetalClustersGetIamPolicyCall
- func (c *ProjectsLocationsBareMetalClustersGetIamPolicyCall) Header() http.Header
- func (c *ProjectsLocationsBareMetalClustersGetIamPolicyCall) IfNoneMatch(entityTag string) *ProjectsLocationsBareMetalClustersGetIamPolicyCall
- func (c *ProjectsLocationsBareMetalClustersGetIamPolicyCall) OptionsRequestedPolicyVersion(optionsRequestedPolicyVersion int64) *ProjectsLocationsBareMetalClustersGetIamPolicyCall
- type ProjectsLocationsBareMetalClustersListCall
- func (c *ProjectsLocationsBareMetalClustersListCall) AllowMissing(allowMissing bool) *ProjectsLocationsBareMetalClustersListCall
- func (c *ProjectsLocationsBareMetalClustersListCall) Context(ctx context.Context) *ProjectsLocationsBareMetalClustersListCall
- func (c *ProjectsLocationsBareMetalClustersListCall) Do(opts ...googleapi.CallOption) (*ListBareMetalClustersResponse, error)
- func (c *ProjectsLocationsBareMetalClustersListCall) Fields(s ...googleapi.Field) *ProjectsLocationsBareMetalClustersListCall
- func (c *ProjectsLocationsBareMetalClustersListCall) Filter(filter string) *ProjectsLocationsBareMetalClustersListCall
- func (c *ProjectsLocationsBareMetalClustersListCall) Header() http.Header
- func (c *ProjectsLocationsBareMetalClustersListCall) IfNoneMatch(entityTag string) *ProjectsLocationsBareMetalClustersListCall
- func (c *ProjectsLocationsBareMetalClustersListCall) PageSize(pageSize int64) *ProjectsLocationsBareMetalClustersListCall
- func (c *ProjectsLocationsBareMetalClustersListCall) PageToken(pageToken string) *ProjectsLocationsBareMetalClustersListCall
- func (c *ProjectsLocationsBareMetalClustersListCall) Pages(ctx context.Context, f func(*ListBareMetalClustersResponse) error) error
- func (c *ProjectsLocationsBareMetalClustersListCall) View(view string) *ProjectsLocationsBareMetalClustersListCall
- type ProjectsLocationsBareMetalClustersOperationsGetCall
- func (c *ProjectsLocationsBareMetalClustersOperationsGetCall) Context(ctx context.Context) *ProjectsLocationsBareMetalClustersOperationsGetCall
- func (c *ProjectsLocationsBareMetalClustersOperationsGetCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsBareMetalClustersOperationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsBareMetalClustersOperationsGetCall
- func (c *ProjectsLocationsBareMetalClustersOperationsGetCall) Header() http.Header
- func (c *ProjectsLocationsBareMetalClustersOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsBareMetalClustersOperationsGetCall
- type ProjectsLocationsBareMetalClustersOperationsListCall
- func (c *ProjectsLocationsBareMetalClustersOperationsListCall) Context(ctx context.Context) *ProjectsLocationsBareMetalClustersOperationsListCall
- func (c *ProjectsLocationsBareMetalClustersOperationsListCall) Do(opts ...googleapi.CallOption) (*ListOperationsResponse, error)
- func (c *ProjectsLocationsBareMetalClustersOperationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsBareMetalClustersOperationsListCall
- func (c *ProjectsLocationsBareMetalClustersOperationsListCall) Filter(filter string) *ProjectsLocationsBareMetalClustersOperationsListCall
- func (c *ProjectsLocationsBareMetalClustersOperationsListCall) Header() http.Header
- func (c *ProjectsLocationsBareMetalClustersOperationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsBareMetalClustersOperationsListCall
- func (c *ProjectsLocationsBareMetalClustersOperationsListCall) PageSize(pageSize int64) *ProjectsLocationsBareMetalClustersOperationsListCall
- func (c *ProjectsLocationsBareMetalClustersOperationsListCall) PageToken(pageToken string) *ProjectsLocationsBareMetalClustersOperationsListCall
- func (c *ProjectsLocationsBareMetalClustersOperationsListCall) Pages(ctx context.Context, f func(*ListOperationsResponse) error) error
- func (c *ProjectsLocationsBareMetalClustersOperationsListCall) ReturnPartialSuccess(returnPartialSuccess bool) *ProjectsLocationsBareMetalClustersOperationsListCall
- type ProjectsLocationsBareMetalClustersOperationsService
- type ProjectsLocationsBareMetalClustersPatchCall
- func (c *ProjectsLocationsBareMetalClustersPatchCall) AllowMissing(allowMissing bool) *ProjectsLocationsBareMetalClustersPatchCall
- func (c *ProjectsLocationsBareMetalClustersPatchCall) Context(ctx context.Context) *ProjectsLocationsBareMetalClustersPatchCall
- func (c *ProjectsLocationsBareMetalClustersPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsBareMetalClustersPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsBareMetalClustersPatchCall
- func (c *ProjectsLocationsBareMetalClustersPatchCall) Header() http.Header
- func (c *ProjectsLocationsBareMetalClustersPatchCall) UpdateMask(updateMask string) *ProjectsLocationsBareMetalClustersPatchCall
- func (c *ProjectsLocationsBareMetalClustersPatchCall) ValidateOnly(validateOnly bool) *ProjectsLocationsBareMetalClustersPatchCall
- type ProjectsLocationsBareMetalClustersQueryVersionConfigCall
- func (c *ProjectsLocationsBareMetalClustersQueryVersionConfigCall) Context(ctx context.Context) *ProjectsLocationsBareMetalClustersQueryVersionConfigCall
- func (c *ProjectsLocationsBareMetalClustersQueryVersionConfigCall) CreateConfigAdminClusterMembership(createConfigAdminClusterMembership string) *ProjectsLocationsBareMetalClustersQueryVersionConfigCall
- func (c *ProjectsLocationsBareMetalClustersQueryVersionConfigCall) CreateConfigAdminClusterName(createConfigAdminClusterName string) *ProjectsLocationsBareMetalClustersQueryVersionConfigCall
- func (c *ProjectsLocationsBareMetalClustersQueryVersionConfigCall) Do(opts ...googleapi.CallOption) (*QueryBareMetalVersionConfigResponse, error)
- func (c *ProjectsLocationsBareMetalClustersQueryVersionConfigCall) Fields(s ...googleapi.Field) *ProjectsLocationsBareMetalClustersQueryVersionConfigCall
- func (c *ProjectsLocationsBareMetalClustersQueryVersionConfigCall) Header() http.Header
- func (c *ProjectsLocationsBareMetalClustersQueryVersionConfigCall) UpgradeConfigClusterName(upgradeConfigClusterName string) *ProjectsLocationsBareMetalClustersQueryVersionConfigCall
- type ProjectsLocationsBareMetalClustersService
- func (r *ProjectsLocationsBareMetalClustersService) Create(parent string, baremetalcluster *BareMetalCluster) *ProjectsLocationsBareMetalClustersCreateCall
- func (r *ProjectsLocationsBareMetalClustersService) Delete(name string) *ProjectsLocationsBareMetalClustersDeleteCall
- func (r *ProjectsLocationsBareMetalClustersService) Enroll(parent string, enrollbaremetalclusterrequest *EnrollBareMetalClusterRequest) *ProjectsLocationsBareMetalClustersEnrollCall
- func (r *ProjectsLocationsBareMetalClustersService) Get(name string) *ProjectsLocationsBareMetalClustersGetCall
- func (r *ProjectsLocationsBareMetalClustersService) GetIamPolicy(resource string) *ProjectsLocationsBareMetalClustersGetIamPolicyCall
- func (r *ProjectsLocationsBareMetalClustersService) List(parent string) *ProjectsLocationsBareMetalClustersListCall
- func (r *ProjectsLocationsBareMetalClustersService) Patch(name string, baremetalcluster *BareMetalCluster) *ProjectsLocationsBareMetalClustersPatchCall
- func (r *ProjectsLocationsBareMetalClustersService) QueryVersionConfig(parent string) *ProjectsLocationsBareMetalClustersQueryVersionConfigCall
- func (r *ProjectsLocationsBareMetalClustersService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsBareMetalClustersSetIamPolicyCall
- func (r *ProjectsLocationsBareMetalClustersService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsBareMetalClustersTestIamPermissionsCall
- func (r *ProjectsLocationsBareMetalClustersService) Unenroll(name string) *ProjectsLocationsBareMetalClustersUnenrollCall
- type ProjectsLocationsBareMetalClustersSetIamPolicyCall
- func (c *ProjectsLocationsBareMetalClustersSetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsBareMetalClustersSetIamPolicyCall
- func (c *ProjectsLocationsBareMetalClustersSetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
- func (c *ProjectsLocationsBareMetalClustersSetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsBareMetalClustersSetIamPolicyCall
- func (c *ProjectsLocationsBareMetalClustersSetIamPolicyCall) Header() http.Header
- type ProjectsLocationsBareMetalClustersTestIamPermissionsCall
- func (c *ProjectsLocationsBareMetalClustersTestIamPermissionsCall) Context(ctx context.Context) *ProjectsLocationsBareMetalClustersTestIamPermissionsCall
- func (c *ProjectsLocationsBareMetalClustersTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestIamPermissionsResponse, error)
- func (c *ProjectsLocationsBareMetalClustersTestIamPermissionsCall) Fields(s ...googleapi.Field) *ProjectsLocationsBareMetalClustersTestIamPermissionsCall
- func (c *ProjectsLocationsBareMetalClustersTestIamPermissionsCall) Header() http.Header
- type ProjectsLocationsBareMetalClustersUnenrollCall
- func (c *ProjectsLocationsBareMetalClustersUnenrollCall) AllowMissing(allowMissing bool) *ProjectsLocationsBareMetalClustersUnenrollCall
- func (c *ProjectsLocationsBareMetalClustersUnenrollCall) Context(ctx context.Context) *ProjectsLocationsBareMetalClustersUnenrollCall
- func (c *ProjectsLocationsBareMetalClustersUnenrollCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsBareMetalClustersUnenrollCall) Etag(etag string) *ProjectsLocationsBareMetalClustersUnenrollCall
- func (c *ProjectsLocationsBareMetalClustersUnenrollCall) Fields(s ...googleapi.Field) *ProjectsLocationsBareMetalClustersUnenrollCall
- func (c *ProjectsLocationsBareMetalClustersUnenrollCall) Force(force bool) *ProjectsLocationsBareMetalClustersUnenrollCall
- func (c *ProjectsLocationsBareMetalClustersUnenrollCall) Header() http.Header
- func (c *ProjectsLocationsBareMetalClustersUnenrollCall) ValidateOnly(validateOnly bool) *ProjectsLocationsBareMetalClustersUnenrollCall
- type ProjectsLocationsGetCall
- func (c *ProjectsLocationsGetCall) Context(ctx context.Context) *ProjectsLocationsGetCall
- func (c *ProjectsLocationsGetCall) Do(opts ...googleapi.CallOption) (*Location, error)
- func (c *ProjectsLocationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsGetCall
- func (c *ProjectsLocationsGetCall) Header() http.Header
- func (c *ProjectsLocationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsGetCall
- type ProjectsLocationsListCall
- func (c *ProjectsLocationsListCall) Context(ctx context.Context) *ProjectsLocationsListCall
- func (c *ProjectsLocationsListCall) Do(opts ...googleapi.CallOption) (*ListLocationsResponse, error)
- func (c *ProjectsLocationsListCall) ExtraLocationTypes(extraLocationTypes ...string) *ProjectsLocationsListCall
- func (c *ProjectsLocationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsListCall
- func (c *ProjectsLocationsListCall) Filter(filter string) *ProjectsLocationsListCall
- func (c *ProjectsLocationsListCall) Header() http.Header
- func (c *ProjectsLocationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsListCall
- func (c *ProjectsLocationsListCall) PageSize(pageSize int64) *ProjectsLocationsListCall
- func (c *ProjectsLocationsListCall) PageToken(pageToken string) *ProjectsLocationsListCall
- func (c *ProjectsLocationsListCall) Pages(ctx context.Context, f func(*ListLocationsResponse) error) error
- type ProjectsLocationsOperationsCancelCall
- func (c *ProjectsLocationsOperationsCancelCall) Context(ctx context.Context) *ProjectsLocationsOperationsCancelCall
- func (c *ProjectsLocationsOperationsCancelCall) Do(opts ...googleapi.CallOption) (*Empty, error)
- func (c *ProjectsLocationsOperationsCancelCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsCancelCall
- func (c *ProjectsLocationsOperationsCancelCall) Header() http.Header
- type ProjectsLocationsOperationsDeleteCall
- func (c *ProjectsLocationsOperationsDeleteCall) Context(ctx context.Context) *ProjectsLocationsOperationsDeleteCall
- func (c *ProjectsLocationsOperationsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)
- func (c *ProjectsLocationsOperationsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsDeleteCall
- func (c *ProjectsLocationsOperationsDeleteCall) Header() http.Header
- type ProjectsLocationsOperationsGetCall
- func (c *ProjectsLocationsOperationsGetCall) Context(ctx context.Context) *ProjectsLocationsOperationsGetCall
- func (c *ProjectsLocationsOperationsGetCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsOperationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsGetCall
- func (c *ProjectsLocationsOperationsGetCall) Header() http.Header
- func (c *ProjectsLocationsOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsOperationsGetCall
- type ProjectsLocationsOperationsListCall
- func (c *ProjectsLocationsOperationsListCall) Context(ctx context.Context) *ProjectsLocationsOperationsListCall
- func (c *ProjectsLocationsOperationsListCall) Do(opts ...googleapi.CallOption) (*ListOperationsResponse, error)
- func (c *ProjectsLocationsOperationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsListCall
- func (c *ProjectsLocationsOperationsListCall) Filter(filter string) *ProjectsLocationsOperationsListCall
- func (c *ProjectsLocationsOperationsListCall) Header() http.Header
- func (c *ProjectsLocationsOperationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsOperationsListCall
- func (c *ProjectsLocationsOperationsListCall) PageSize(pageSize int64) *ProjectsLocationsOperationsListCall
- func (c *ProjectsLocationsOperationsListCall) PageToken(pageToken string) *ProjectsLocationsOperationsListCall
- func (c *ProjectsLocationsOperationsListCall) Pages(ctx context.Context, f func(*ListOperationsResponse) error) error
- func (c *ProjectsLocationsOperationsListCall) ReturnPartialSuccess(returnPartialSuccess bool) *ProjectsLocationsOperationsListCall
- type ProjectsLocationsOperationsService
- func (r *ProjectsLocationsOperationsService) Cancel(name string, canceloperationrequest *CancelOperationRequest) *ProjectsLocationsOperationsCancelCall
- func (r *ProjectsLocationsOperationsService) Delete(name string) *ProjectsLocationsOperationsDeleteCall
- func (r *ProjectsLocationsOperationsService) Get(name string) *ProjectsLocationsOperationsGetCall
- func (r *ProjectsLocationsOperationsService) List(name string) *ProjectsLocationsOperationsListCall
- type ProjectsLocationsService
- type ProjectsLocationsVmwareAdminClustersCreateCall
- func (c *ProjectsLocationsVmwareAdminClustersCreateCall) AllowPreflightFailure(allowPreflightFailure bool) *ProjectsLocationsVmwareAdminClustersCreateCall
- func (c *ProjectsLocationsVmwareAdminClustersCreateCall) Context(ctx context.Context) *ProjectsLocationsVmwareAdminClustersCreateCall
- func (c *ProjectsLocationsVmwareAdminClustersCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsVmwareAdminClustersCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareAdminClustersCreateCall
- func (c *ProjectsLocationsVmwareAdminClustersCreateCall) Header() http.Header
- func (c *ProjectsLocationsVmwareAdminClustersCreateCall) SkipValidations(skipValidations ...string) *ProjectsLocationsVmwareAdminClustersCreateCall
- func (c *ProjectsLocationsVmwareAdminClustersCreateCall) ValidateOnly(validateOnly bool) *ProjectsLocationsVmwareAdminClustersCreateCall
- func (c *ProjectsLocationsVmwareAdminClustersCreateCall) VmwareAdminClusterId(vmwareAdminClusterId string) *ProjectsLocationsVmwareAdminClustersCreateCall
- type ProjectsLocationsVmwareAdminClustersEnrollCall
- func (c *ProjectsLocationsVmwareAdminClustersEnrollCall) Context(ctx context.Context) *ProjectsLocationsVmwareAdminClustersEnrollCall
- func (c *ProjectsLocationsVmwareAdminClustersEnrollCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsVmwareAdminClustersEnrollCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareAdminClustersEnrollCall
- func (c *ProjectsLocationsVmwareAdminClustersEnrollCall) Header() http.Header
- type ProjectsLocationsVmwareAdminClustersGetCall
- func (c *ProjectsLocationsVmwareAdminClustersGetCall) AllowMissing(allowMissing bool) *ProjectsLocationsVmwareAdminClustersGetCall
- func (c *ProjectsLocationsVmwareAdminClustersGetCall) Context(ctx context.Context) *ProjectsLocationsVmwareAdminClustersGetCall
- func (c *ProjectsLocationsVmwareAdminClustersGetCall) Do(opts ...googleapi.CallOption) (*VmwareAdminCluster, error)
- func (c *ProjectsLocationsVmwareAdminClustersGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareAdminClustersGetCall
- func (c *ProjectsLocationsVmwareAdminClustersGetCall) Header() http.Header
- func (c *ProjectsLocationsVmwareAdminClustersGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsVmwareAdminClustersGetCall
- func (c *ProjectsLocationsVmwareAdminClustersGetCall) View(view string) *ProjectsLocationsVmwareAdminClustersGetCall
- type ProjectsLocationsVmwareAdminClustersGetIamPolicyCall
- func (c *ProjectsLocationsVmwareAdminClustersGetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsVmwareAdminClustersGetIamPolicyCall
- func (c *ProjectsLocationsVmwareAdminClustersGetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
- func (c *ProjectsLocationsVmwareAdminClustersGetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareAdminClustersGetIamPolicyCall
- func (c *ProjectsLocationsVmwareAdminClustersGetIamPolicyCall) Header() http.Header
- func (c *ProjectsLocationsVmwareAdminClustersGetIamPolicyCall) IfNoneMatch(entityTag string) *ProjectsLocationsVmwareAdminClustersGetIamPolicyCall
- func (c *ProjectsLocationsVmwareAdminClustersGetIamPolicyCall) OptionsRequestedPolicyVersion(optionsRequestedPolicyVersion int64) *ProjectsLocationsVmwareAdminClustersGetIamPolicyCall
- type ProjectsLocationsVmwareAdminClustersListCall
- func (c *ProjectsLocationsVmwareAdminClustersListCall) AllowMissing(allowMissing bool) *ProjectsLocationsVmwareAdminClustersListCall
- func (c *ProjectsLocationsVmwareAdminClustersListCall) Context(ctx context.Context) *ProjectsLocationsVmwareAdminClustersListCall
- func (c *ProjectsLocationsVmwareAdminClustersListCall) Do(opts ...googleapi.CallOption) (*ListVmwareAdminClustersResponse, error)
- func (c *ProjectsLocationsVmwareAdminClustersListCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareAdminClustersListCall
- func (c *ProjectsLocationsVmwareAdminClustersListCall) Header() http.Header
- func (c *ProjectsLocationsVmwareAdminClustersListCall) IfNoneMatch(entityTag string) *ProjectsLocationsVmwareAdminClustersListCall
- func (c *ProjectsLocationsVmwareAdminClustersListCall) PageSize(pageSize int64) *ProjectsLocationsVmwareAdminClustersListCall
- func (c *ProjectsLocationsVmwareAdminClustersListCall) PageToken(pageToken string) *ProjectsLocationsVmwareAdminClustersListCall
- func (c *ProjectsLocationsVmwareAdminClustersListCall) Pages(ctx context.Context, f func(*ListVmwareAdminClustersResponse) error) error
- func (c *ProjectsLocationsVmwareAdminClustersListCall) View(view string) *ProjectsLocationsVmwareAdminClustersListCall
- type ProjectsLocationsVmwareAdminClustersOperationsGetCall
- func (c *ProjectsLocationsVmwareAdminClustersOperationsGetCall) Context(ctx context.Context) *ProjectsLocationsVmwareAdminClustersOperationsGetCall
- func (c *ProjectsLocationsVmwareAdminClustersOperationsGetCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsVmwareAdminClustersOperationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareAdminClustersOperationsGetCall
- func (c *ProjectsLocationsVmwareAdminClustersOperationsGetCall) Header() http.Header
- func (c *ProjectsLocationsVmwareAdminClustersOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsVmwareAdminClustersOperationsGetCall
- type ProjectsLocationsVmwareAdminClustersOperationsListCall
- func (c *ProjectsLocationsVmwareAdminClustersOperationsListCall) Context(ctx context.Context) *ProjectsLocationsVmwareAdminClustersOperationsListCall
- func (c *ProjectsLocationsVmwareAdminClustersOperationsListCall) Do(opts ...googleapi.CallOption) (*ListOperationsResponse, error)
- func (c *ProjectsLocationsVmwareAdminClustersOperationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareAdminClustersOperationsListCall
- func (c *ProjectsLocationsVmwareAdminClustersOperationsListCall) Filter(filter string) *ProjectsLocationsVmwareAdminClustersOperationsListCall
- func (c *ProjectsLocationsVmwareAdminClustersOperationsListCall) Header() http.Header
- func (c *ProjectsLocationsVmwareAdminClustersOperationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsVmwareAdminClustersOperationsListCall
- func (c *ProjectsLocationsVmwareAdminClustersOperationsListCall) PageSize(pageSize int64) *ProjectsLocationsVmwareAdminClustersOperationsListCall
- func (c *ProjectsLocationsVmwareAdminClustersOperationsListCall) PageToken(pageToken string) *ProjectsLocationsVmwareAdminClustersOperationsListCall
- func (c *ProjectsLocationsVmwareAdminClustersOperationsListCall) Pages(ctx context.Context, f func(*ListOperationsResponse) error) error
- func (c *ProjectsLocationsVmwareAdminClustersOperationsListCall) ReturnPartialSuccess(returnPartialSuccess bool) *ProjectsLocationsVmwareAdminClustersOperationsListCall
- type ProjectsLocationsVmwareAdminClustersOperationsService
- type ProjectsLocationsVmwareAdminClustersPatchCall
- func (c *ProjectsLocationsVmwareAdminClustersPatchCall) Context(ctx context.Context) *ProjectsLocationsVmwareAdminClustersPatchCall
- func (c *ProjectsLocationsVmwareAdminClustersPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsVmwareAdminClustersPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareAdminClustersPatchCall
- func (c *ProjectsLocationsVmwareAdminClustersPatchCall) Header() http.Header
- func (c *ProjectsLocationsVmwareAdminClustersPatchCall) SkipValidations(skipValidations ...string) *ProjectsLocationsVmwareAdminClustersPatchCall
- func (c *ProjectsLocationsVmwareAdminClustersPatchCall) UpdateMask(updateMask string) *ProjectsLocationsVmwareAdminClustersPatchCall
- func (c *ProjectsLocationsVmwareAdminClustersPatchCall) ValidateOnly(validateOnly bool) *ProjectsLocationsVmwareAdminClustersPatchCall
- type ProjectsLocationsVmwareAdminClustersService
- func (r *ProjectsLocationsVmwareAdminClustersService) Create(parent string, vmwareadmincluster *VmwareAdminCluster) *ProjectsLocationsVmwareAdminClustersCreateCall
- func (r *ProjectsLocationsVmwareAdminClustersService) Enroll(parent string, ...) *ProjectsLocationsVmwareAdminClustersEnrollCall
- func (r *ProjectsLocationsVmwareAdminClustersService) Get(name string) *ProjectsLocationsVmwareAdminClustersGetCall
- func (r *ProjectsLocationsVmwareAdminClustersService) GetIamPolicy(resource string) *ProjectsLocationsVmwareAdminClustersGetIamPolicyCall
- func (r *ProjectsLocationsVmwareAdminClustersService) List(parent string) *ProjectsLocationsVmwareAdminClustersListCall
- func (r *ProjectsLocationsVmwareAdminClustersService) Patch(name string, vmwareadmincluster *VmwareAdminCluster) *ProjectsLocationsVmwareAdminClustersPatchCall
- func (r *ProjectsLocationsVmwareAdminClustersService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsVmwareAdminClustersSetIamPolicyCall
- func (r *ProjectsLocationsVmwareAdminClustersService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsVmwareAdminClustersTestIamPermissionsCall
- func (r *ProjectsLocationsVmwareAdminClustersService) Unenroll(name string) *ProjectsLocationsVmwareAdminClustersUnenrollCall
- type ProjectsLocationsVmwareAdminClustersSetIamPolicyCall
- func (c *ProjectsLocationsVmwareAdminClustersSetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsVmwareAdminClustersSetIamPolicyCall
- func (c *ProjectsLocationsVmwareAdminClustersSetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
- func (c *ProjectsLocationsVmwareAdminClustersSetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareAdminClustersSetIamPolicyCall
- func (c *ProjectsLocationsVmwareAdminClustersSetIamPolicyCall) Header() http.Header
- type ProjectsLocationsVmwareAdminClustersTestIamPermissionsCall
- func (c *ProjectsLocationsVmwareAdminClustersTestIamPermissionsCall) Context(ctx context.Context) *ProjectsLocationsVmwareAdminClustersTestIamPermissionsCall
- func (c *ProjectsLocationsVmwareAdminClustersTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestIamPermissionsResponse, error)
- func (c *ProjectsLocationsVmwareAdminClustersTestIamPermissionsCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareAdminClustersTestIamPermissionsCall
- func (c *ProjectsLocationsVmwareAdminClustersTestIamPermissionsCall) Header() http.Header
- type ProjectsLocationsVmwareAdminClustersUnenrollCall
- func (c *ProjectsLocationsVmwareAdminClustersUnenrollCall) AllowMissing(allowMissing bool) *ProjectsLocationsVmwareAdminClustersUnenrollCall
- func (c *ProjectsLocationsVmwareAdminClustersUnenrollCall) Context(ctx context.Context) *ProjectsLocationsVmwareAdminClustersUnenrollCall
- func (c *ProjectsLocationsVmwareAdminClustersUnenrollCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsVmwareAdminClustersUnenrollCall) Etag(etag string) *ProjectsLocationsVmwareAdminClustersUnenrollCall
- func (c *ProjectsLocationsVmwareAdminClustersUnenrollCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareAdminClustersUnenrollCall
- func (c *ProjectsLocationsVmwareAdminClustersUnenrollCall) Header() http.Header
- func (c *ProjectsLocationsVmwareAdminClustersUnenrollCall) IgnoreErrors(ignoreErrors bool) *ProjectsLocationsVmwareAdminClustersUnenrollCall
- func (c *ProjectsLocationsVmwareAdminClustersUnenrollCall) ValidateOnly(validateOnly bool) *ProjectsLocationsVmwareAdminClustersUnenrollCall
- type ProjectsLocationsVmwareClustersCreateCall
- func (c *ProjectsLocationsVmwareClustersCreateCall) AllowPreflightFailure(allowPreflightFailure bool) *ProjectsLocationsVmwareClustersCreateCall
- func (c *ProjectsLocationsVmwareClustersCreateCall) Context(ctx context.Context) *ProjectsLocationsVmwareClustersCreateCall
- func (c *ProjectsLocationsVmwareClustersCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsVmwareClustersCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareClustersCreateCall
- func (c *ProjectsLocationsVmwareClustersCreateCall) Header() http.Header
- func (c *ProjectsLocationsVmwareClustersCreateCall) SkipValidations(skipValidations ...string) *ProjectsLocationsVmwareClustersCreateCall
- func (c *ProjectsLocationsVmwareClustersCreateCall) ValidateOnly(validateOnly bool) *ProjectsLocationsVmwareClustersCreateCall
- func (c *ProjectsLocationsVmwareClustersCreateCall) VmwareClusterId(vmwareClusterId string) *ProjectsLocationsVmwareClustersCreateCall
- type ProjectsLocationsVmwareClustersDeleteCall
- func (c *ProjectsLocationsVmwareClustersDeleteCall) AllowMissing(allowMissing bool) *ProjectsLocationsVmwareClustersDeleteCall
- func (c *ProjectsLocationsVmwareClustersDeleteCall) Context(ctx context.Context) *ProjectsLocationsVmwareClustersDeleteCall
- func (c *ProjectsLocationsVmwareClustersDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsVmwareClustersDeleteCall) Etag(etag string) *ProjectsLocationsVmwareClustersDeleteCall
- func (c *ProjectsLocationsVmwareClustersDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareClustersDeleteCall
- func (c *ProjectsLocationsVmwareClustersDeleteCall) Force(force bool) *ProjectsLocationsVmwareClustersDeleteCall
- func (c *ProjectsLocationsVmwareClustersDeleteCall) Header() http.Header
- func (c *ProjectsLocationsVmwareClustersDeleteCall) IgnoreErrors(ignoreErrors bool) *ProjectsLocationsVmwareClustersDeleteCall
- func (c *ProjectsLocationsVmwareClustersDeleteCall) ValidateOnly(validateOnly bool) *ProjectsLocationsVmwareClustersDeleteCall
- type ProjectsLocationsVmwareClustersEnrollCall
- func (c *ProjectsLocationsVmwareClustersEnrollCall) Context(ctx context.Context) *ProjectsLocationsVmwareClustersEnrollCall
- func (c *ProjectsLocationsVmwareClustersEnrollCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsVmwareClustersEnrollCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareClustersEnrollCall
- func (c *ProjectsLocationsVmwareClustersEnrollCall) Header() http.Header
- type ProjectsLocationsVmwareClustersGetCall
- func (c *ProjectsLocationsVmwareClustersGetCall) AllowMissing(allowMissing bool) *ProjectsLocationsVmwareClustersGetCall
- func (c *ProjectsLocationsVmwareClustersGetCall) Context(ctx context.Context) *ProjectsLocationsVmwareClustersGetCall
- func (c *ProjectsLocationsVmwareClustersGetCall) Do(opts ...googleapi.CallOption) (*VmwareCluster, error)
- func (c *ProjectsLocationsVmwareClustersGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareClustersGetCall
- func (c *ProjectsLocationsVmwareClustersGetCall) Header() http.Header
- func (c *ProjectsLocationsVmwareClustersGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsVmwareClustersGetCall
- func (c *ProjectsLocationsVmwareClustersGetCall) View(view string) *ProjectsLocationsVmwareClustersGetCall
- type ProjectsLocationsVmwareClustersGetIamPolicyCall
- func (c *ProjectsLocationsVmwareClustersGetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsVmwareClustersGetIamPolicyCall
- func (c *ProjectsLocationsVmwareClustersGetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
- func (c *ProjectsLocationsVmwareClustersGetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareClustersGetIamPolicyCall
- func (c *ProjectsLocationsVmwareClustersGetIamPolicyCall) Header() http.Header
- func (c *ProjectsLocationsVmwareClustersGetIamPolicyCall) IfNoneMatch(entityTag string) *ProjectsLocationsVmwareClustersGetIamPolicyCall
- func (c *ProjectsLocationsVmwareClustersGetIamPolicyCall) OptionsRequestedPolicyVersion(optionsRequestedPolicyVersion int64) *ProjectsLocationsVmwareClustersGetIamPolicyCall
- type ProjectsLocationsVmwareClustersListCall
- func (c *ProjectsLocationsVmwareClustersListCall) AllowMissing(allowMissing bool) *ProjectsLocationsVmwareClustersListCall
- func (c *ProjectsLocationsVmwareClustersListCall) Context(ctx context.Context) *ProjectsLocationsVmwareClustersListCall
- func (c *ProjectsLocationsVmwareClustersListCall) Do(opts ...googleapi.CallOption) (*ListVmwareClustersResponse, error)
- func (c *ProjectsLocationsVmwareClustersListCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareClustersListCall
- func (c *ProjectsLocationsVmwareClustersListCall) Filter(filter string) *ProjectsLocationsVmwareClustersListCall
- func (c *ProjectsLocationsVmwareClustersListCall) Header() http.Header
- func (c *ProjectsLocationsVmwareClustersListCall) IfNoneMatch(entityTag string) *ProjectsLocationsVmwareClustersListCall
- func (c *ProjectsLocationsVmwareClustersListCall) PageSize(pageSize int64) *ProjectsLocationsVmwareClustersListCall
- func (c *ProjectsLocationsVmwareClustersListCall) PageToken(pageToken string) *ProjectsLocationsVmwareClustersListCall
- func (c *ProjectsLocationsVmwareClustersListCall) Pages(ctx context.Context, f func(*ListVmwareClustersResponse) error) error
- func (c *ProjectsLocationsVmwareClustersListCall) View(view string) *ProjectsLocationsVmwareClustersListCall
- type ProjectsLocationsVmwareClustersOperationsGetCall
- func (c *ProjectsLocationsVmwareClustersOperationsGetCall) Context(ctx context.Context) *ProjectsLocationsVmwareClustersOperationsGetCall
- func (c *ProjectsLocationsVmwareClustersOperationsGetCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsVmwareClustersOperationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareClustersOperationsGetCall
- func (c *ProjectsLocationsVmwareClustersOperationsGetCall) Header() http.Header
- func (c *ProjectsLocationsVmwareClustersOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsVmwareClustersOperationsGetCall
- type ProjectsLocationsVmwareClustersOperationsListCall
- func (c *ProjectsLocationsVmwareClustersOperationsListCall) Context(ctx context.Context) *ProjectsLocationsVmwareClustersOperationsListCall
- func (c *ProjectsLocationsVmwareClustersOperationsListCall) Do(opts ...googleapi.CallOption) (*ListOperationsResponse, error)
- func (c *ProjectsLocationsVmwareClustersOperationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareClustersOperationsListCall
- func (c *ProjectsLocationsVmwareClustersOperationsListCall) Filter(filter string) *ProjectsLocationsVmwareClustersOperationsListCall
- func (c *ProjectsLocationsVmwareClustersOperationsListCall) Header() http.Header
- func (c *ProjectsLocationsVmwareClustersOperationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsVmwareClustersOperationsListCall
- func (c *ProjectsLocationsVmwareClustersOperationsListCall) PageSize(pageSize int64) *ProjectsLocationsVmwareClustersOperationsListCall
- func (c *ProjectsLocationsVmwareClustersOperationsListCall) PageToken(pageToken string) *ProjectsLocationsVmwareClustersOperationsListCall
- func (c *ProjectsLocationsVmwareClustersOperationsListCall) Pages(ctx context.Context, f func(*ListOperationsResponse) error) error
- func (c *ProjectsLocationsVmwareClustersOperationsListCall) ReturnPartialSuccess(returnPartialSuccess bool) *ProjectsLocationsVmwareClustersOperationsListCall
- type ProjectsLocationsVmwareClustersOperationsService
- type ProjectsLocationsVmwareClustersPatchCall
- func (c *ProjectsLocationsVmwareClustersPatchCall) Context(ctx context.Context) *ProjectsLocationsVmwareClustersPatchCall
- func (c *ProjectsLocationsVmwareClustersPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsVmwareClustersPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareClustersPatchCall
- func (c *ProjectsLocationsVmwareClustersPatchCall) Header() http.Header
- func (c *ProjectsLocationsVmwareClustersPatchCall) SkipValidations(skipValidations ...string) *ProjectsLocationsVmwareClustersPatchCall
- func (c *ProjectsLocationsVmwareClustersPatchCall) UpdateMask(updateMask string) *ProjectsLocationsVmwareClustersPatchCall
- func (c *ProjectsLocationsVmwareClustersPatchCall) ValidateOnly(validateOnly bool) *ProjectsLocationsVmwareClustersPatchCall
- type ProjectsLocationsVmwareClustersQueryVersionConfigCall
- func (c *ProjectsLocationsVmwareClustersQueryVersionConfigCall) Context(ctx context.Context) *ProjectsLocationsVmwareClustersQueryVersionConfigCall
- func (c *ProjectsLocationsVmwareClustersQueryVersionConfigCall) CreateConfigAdminClusterMembership(createConfigAdminClusterMembership string) *ProjectsLocationsVmwareClustersQueryVersionConfigCall
- func (c *ProjectsLocationsVmwareClustersQueryVersionConfigCall) CreateConfigAdminClusterName(createConfigAdminClusterName string) *ProjectsLocationsVmwareClustersQueryVersionConfigCall
- func (c *ProjectsLocationsVmwareClustersQueryVersionConfigCall) Do(opts ...googleapi.CallOption) (*QueryVmwareVersionConfigResponse, error)
- func (c *ProjectsLocationsVmwareClustersQueryVersionConfigCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareClustersQueryVersionConfigCall
- func (c *ProjectsLocationsVmwareClustersQueryVersionConfigCall) Header() http.Header
- func (c *ProjectsLocationsVmwareClustersQueryVersionConfigCall) UpgradeConfigClusterName(upgradeConfigClusterName string) *ProjectsLocationsVmwareClustersQueryVersionConfigCall
- type ProjectsLocationsVmwareClustersService
- func (r *ProjectsLocationsVmwareClustersService) Create(parent string, vmwarecluster *VmwareCluster) *ProjectsLocationsVmwareClustersCreateCall
- func (r *ProjectsLocationsVmwareClustersService) Delete(name string) *ProjectsLocationsVmwareClustersDeleteCall
- func (r *ProjectsLocationsVmwareClustersService) Enroll(parent string, enrollvmwareclusterrequest *EnrollVmwareClusterRequest) *ProjectsLocationsVmwareClustersEnrollCall
- func (r *ProjectsLocationsVmwareClustersService) Get(name string) *ProjectsLocationsVmwareClustersGetCall
- func (r *ProjectsLocationsVmwareClustersService) GetIamPolicy(resource string) *ProjectsLocationsVmwareClustersGetIamPolicyCall
- func (r *ProjectsLocationsVmwareClustersService) List(parent string) *ProjectsLocationsVmwareClustersListCall
- func (r *ProjectsLocationsVmwareClustersService) Patch(name string, vmwarecluster *VmwareCluster) *ProjectsLocationsVmwareClustersPatchCall
- func (r *ProjectsLocationsVmwareClustersService) QueryVersionConfig(parent string) *ProjectsLocationsVmwareClustersQueryVersionConfigCall
- func (r *ProjectsLocationsVmwareClustersService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsVmwareClustersSetIamPolicyCall
- func (r *ProjectsLocationsVmwareClustersService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsVmwareClustersTestIamPermissionsCall
- func (r *ProjectsLocationsVmwareClustersService) Unenroll(name string) *ProjectsLocationsVmwareClustersUnenrollCall
- type ProjectsLocationsVmwareClustersSetIamPolicyCall
- func (c *ProjectsLocationsVmwareClustersSetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsVmwareClustersSetIamPolicyCall
- func (c *ProjectsLocationsVmwareClustersSetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
- func (c *ProjectsLocationsVmwareClustersSetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareClustersSetIamPolicyCall
- func (c *ProjectsLocationsVmwareClustersSetIamPolicyCall) Header() http.Header
- type ProjectsLocationsVmwareClustersTestIamPermissionsCall
- func (c *ProjectsLocationsVmwareClustersTestIamPermissionsCall) Context(ctx context.Context) *ProjectsLocationsVmwareClustersTestIamPermissionsCall
- func (c *ProjectsLocationsVmwareClustersTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestIamPermissionsResponse, error)
- func (c *ProjectsLocationsVmwareClustersTestIamPermissionsCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareClustersTestIamPermissionsCall
- func (c *ProjectsLocationsVmwareClustersTestIamPermissionsCall) Header() http.Header
- type ProjectsLocationsVmwareClustersUnenrollCall
- func (c *ProjectsLocationsVmwareClustersUnenrollCall) AllowMissing(allowMissing bool) *ProjectsLocationsVmwareClustersUnenrollCall
- func (c *ProjectsLocationsVmwareClustersUnenrollCall) Context(ctx context.Context) *ProjectsLocationsVmwareClustersUnenrollCall
- func (c *ProjectsLocationsVmwareClustersUnenrollCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsVmwareClustersUnenrollCall) Etag(etag string) *ProjectsLocationsVmwareClustersUnenrollCall
- func (c *ProjectsLocationsVmwareClustersUnenrollCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareClustersUnenrollCall
- func (c *ProjectsLocationsVmwareClustersUnenrollCall) Force(force bool) *ProjectsLocationsVmwareClustersUnenrollCall
- func (c *ProjectsLocationsVmwareClustersUnenrollCall) Header() http.Header
- func (c *ProjectsLocationsVmwareClustersUnenrollCall) ValidateOnly(validateOnly bool) *ProjectsLocationsVmwareClustersUnenrollCall
- type ProjectsLocationsVmwareClustersVmwareNodePoolsCreateCall
- func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsCreateCall) Context(ctx context.Context) *ProjectsLocationsVmwareClustersVmwareNodePoolsCreateCall
- func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareClustersVmwareNodePoolsCreateCall
- func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsCreateCall) Header() http.Header
- func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsCreateCall) ValidateOnly(validateOnly bool) *ProjectsLocationsVmwareClustersVmwareNodePoolsCreateCall
- func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsCreateCall) VmwareNodePoolId(vmwareNodePoolId string) *ProjectsLocationsVmwareClustersVmwareNodePoolsCreateCall
- type ProjectsLocationsVmwareClustersVmwareNodePoolsDeleteCall
- func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsDeleteCall) AllowMissing(allowMissing bool) *ProjectsLocationsVmwareClustersVmwareNodePoolsDeleteCall
- func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsDeleteCall) Context(ctx context.Context) *ProjectsLocationsVmwareClustersVmwareNodePoolsDeleteCall
- func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsDeleteCall) Etag(etag string) *ProjectsLocationsVmwareClustersVmwareNodePoolsDeleteCall
- func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareClustersVmwareNodePoolsDeleteCall
- func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsDeleteCall) Header() http.Header
- func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsDeleteCall) IgnoreErrors(ignoreErrors bool) *ProjectsLocationsVmwareClustersVmwareNodePoolsDeleteCall
- func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsDeleteCall) ValidateOnly(validateOnly bool) *ProjectsLocationsVmwareClustersVmwareNodePoolsDeleteCall
- type ProjectsLocationsVmwareClustersVmwareNodePoolsEnrollCall
- func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsEnrollCall) Context(ctx context.Context) *ProjectsLocationsVmwareClustersVmwareNodePoolsEnrollCall
- func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsEnrollCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsEnrollCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareClustersVmwareNodePoolsEnrollCall
- func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsEnrollCall) Header() http.Header
- type ProjectsLocationsVmwareClustersVmwareNodePoolsGetCall
- func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsGetCall) Context(ctx context.Context) *ProjectsLocationsVmwareClustersVmwareNodePoolsGetCall
- func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsGetCall) Do(opts ...googleapi.CallOption) (*VmwareNodePool, error)
- func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareClustersVmwareNodePoolsGetCall
- func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsGetCall) Header() http.Header
- func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsVmwareClustersVmwareNodePoolsGetCall
- func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsGetCall) View(view string) *ProjectsLocationsVmwareClustersVmwareNodePoolsGetCall
- type ProjectsLocationsVmwareClustersVmwareNodePoolsGetIamPolicyCall
- func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsGetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsVmwareClustersVmwareNodePoolsGetIamPolicyCall
- func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsGetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
- func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsGetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareClustersVmwareNodePoolsGetIamPolicyCall
- func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsGetIamPolicyCall) Header() http.Header
- func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsGetIamPolicyCall) IfNoneMatch(entityTag string) *ProjectsLocationsVmwareClustersVmwareNodePoolsGetIamPolicyCall
- func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsGetIamPolicyCall) OptionsRequestedPolicyVersion(optionsRequestedPolicyVersion int64) *ProjectsLocationsVmwareClustersVmwareNodePoolsGetIamPolicyCall
- type ProjectsLocationsVmwareClustersVmwareNodePoolsListCall
- func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsListCall) Context(ctx context.Context) *ProjectsLocationsVmwareClustersVmwareNodePoolsListCall
- func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsListCall) Do(opts ...googleapi.CallOption) (*ListVmwareNodePoolsResponse, error)
- func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareClustersVmwareNodePoolsListCall
- func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsListCall) Header() http.Header
- func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsVmwareClustersVmwareNodePoolsListCall
- func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsListCall) PageSize(pageSize int64) *ProjectsLocationsVmwareClustersVmwareNodePoolsListCall
- func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsListCall) PageToken(pageToken string) *ProjectsLocationsVmwareClustersVmwareNodePoolsListCall
- func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsListCall) Pages(ctx context.Context, f func(*ListVmwareNodePoolsResponse) error) error
- func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsListCall) View(view string) *ProjectsLocationsVmwareClustersVmwareNodePoolsListCall
- type ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsGetCall
- func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsGetCall) Context(ctx context.Context) *ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsGetCall
- func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsGetCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsGetCall
- func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsGetCall) Header() http.Header
- func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsGetCall
- type ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsListCall
- func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsListCall) Context(ctx context.Context) *ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsListCall
- func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsListCall) Do(opts ...googleapi.CallOption) (*ListOperationsResponse, error)
- func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsListCall
- func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsListCall) Filter(filter string) *ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsListCall
- func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsListCall) Header() http.Header
- func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsListCall
- func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsListCall) PageSize(pageSize int64) *ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsListCall
- func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsListCall) PageToken(pageToken string) *ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsListCall
- func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsListCall) Pages(ctx context.Context, f func(*ListOperationsResponse) error) error
- func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsListCall) ReturnPartialSuccess(returnPartialSuccess bool) *ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsListCall
- type ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsService
- func (r *ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsService) Get(name string) *ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsGetCall
- func (r *ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsService) List(name string) *ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsListCall
- type ProjectsLocationsVmwareClustersVmwareNodePoolsPatchCall
- func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsPatchCall) Context(ctx context.Context) *ProjectsLocationsVmwareClustersVmwareNodePoolsPatchCall
- func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareClustersVmwareNodePoolsPatchCall
- func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsPatchCall) Header() http.Header
- func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsVmwareClustersVmwareNodePoolsPatchCall
- func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsPatchCall) ValidateOnly(validateOnly bool) *ProjectsLocationsVmwareClustersVmwareNodePoolsPatchCall
- type ProjectsLocationsVmwareClustersVmwareNodePoolsService
- func (r *ProjectsLocationsVmwareClustersVmwareNodePoolsService) Create(parent string, vmwarenodepool *VmwareNodePool) *ProjectsLocationsVmwareClustersVmwareNodePoolsCreateCall
- func (r *ProjectsLocationsVmwareClustersVmwareNodePoolsService) Delete(name string) *ProjectsLocationsVmwareClustersVmwareNodePoolsDeleteCall
- func (r *ProjectsLocationsVmwareClustersVmwareNodePoolsService) Enroll(parent string, enrollvmwarenodepoolrequest *EnrollVmwareNodePoolRequest) *ProjectsLocationsVmwareClustersVmwareNodePoolsEnrollCall
- func (r *ProjectsLocationsVmwareClustersVmwareNodePoolsService) Get(name string) *ProjectsLocationsVmwareClustersVmwareNodePoolsGetCall
- func (r *ProjectsLocationsVmwareClustersVmwareNodePoolsService) GetIamPolicy(resource string) *ProjectsLocationsVmwareClustersVmwareNodePoolsGetIamPolicyCall
- func (r *ProjectsLocationsVmwareClustersVmwareNodePoolsService) List(parent string) *ProjectsLocationsVmwareClustersVmwareNodePoolsListCall
- func (r *ProjectsLocationsVmwareClustersVmwareNodePoolsService) Patch(name string, vmwarenodepool *VmwareNodePool) *ProjectsLocationsVmwareClustersVmwareNodePoolsPatchCall
- func (r *ProjectsLocationsVmwareClustersVmwareNodePoolsService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsVmwareClustersVmwareNodePoolsSetIamPolicyCall
- func (r *ProjectsLocationsVmwareClustersVmwareNodePoolsService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsVmwareClustersVmwareNodePoolsTestIamPermissionsCall
- func (r *ProjectsLocationsVmwareClustersVmwareNodePoolsService) Unenroll(name string) *ProjectsLocationsVmwareClustersVmwareNodePoolsUnenrollCall
- type ProjectsLocationsVmwareClustersVmwareNodePoolsSetIamPolicyCall
- func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsSetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsVmwareClustersVmwareNodePoolsSetIamPolicyCall
- func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsSetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
- func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsSetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareClustersVmwareNodePoolsSetIamPolicyCall
- func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsSetIamPolicyCall) Header() http.Header
- type ProjectsLocationsVmwareClustersVmwareNodePoolsTestIamPermissionsCall
- func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsTestIamPermissionsCall) Context(ctx context.Context) *ProjectsLocationsVmwareClustersVmwareNodePoolsTestIamPermissionsCall
- func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestIamPermissionsResponse, error)
- func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsTestIamPermissionsCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareClustersVmwareNodePoolsTestIamPermissionsCall
- func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsTestIamPermissionsCall) Header() http.Header
- type ProjectsLocationsVmwareClustersVmwareNodePoolsUnenrollCall
- func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsUnenrollCall) AllowMissing(allowMissing bool) *ProjectsLocationsVmwareClustersVmwareNodePoolsUnenrollCall
- func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsUnenrollCall) Context(ctx context.Context) *ProjectsLocationsVmwareClustersVmwareNodePoolsUnenrollCall
- func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsUnenrollCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsUnenrollCall) Etag(etag string) *ProjectsLocationsVmwareClustersVmwareNodePoolsUnenrollCall
- func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsUnenrollCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareClustersVmwareNodePoolsUnenrollCall
- func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsUnenrollCall) Header() http.Header
- func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsUnenrollCall) ValidateOnly(validateOnly bool) *ProjectsLocationsVmwareClustersVmwareNodePoolsUnenrollCall
- type ProjectsService
- type QueryBareMetalAdminVersionConfigResponse
- type QueryBareMetalVersionConfigResponse
- type QueryVmwareVersionConfigResponse
- type ResourceCondition
- type ResourceStatus
- type Service
- type SetIamPolicyRequest
- type Status
- type TestIamPermissionsRequest
- type TestIamPermissionsResponse
- type UpgradeDependency
- type ValidationCheck
- type ValidationCheckResult
- type ValidationCheckStatus
- type Version
- type Versions
- type VmwareAAGConfig
- type VmwareAddressPool
- type VmwareAdminAddonNodeConfig
- type VmwareAdminAuthorizationConfig
- type VmwareAdminCluster
- type VmwareAdminControlPlaneNodeConfig
- type VmwareAdminF5BigIpConfig
- type VmwareAdminHAControlPlaneConfig
- type VmwareAdminLoadBalancerConfig
- type VmwareAdminManualLbConfig
- type VmwareAdminMetalLbConfig
- type VmwareAdminNetworkConfig
- type VmwareAdminPreparedSecretsConfig
- type VmwareAdminPrivateRegistryConfig
- type VmwareAdminProxy
- type VmwareAdminSeesawConfig
- type VmwareAdminVCenterConfig
- type VmwareAdminVipConfig
- type VmwareAutoRepairConfig
- type VmwareAutoResizeConfig
- type VmwareBundleConfig
- type VmwareCluster
- type VmwareClusterUpgradePolicy
- type VmwareControlPlaneNodeConfig
- type VmwareControlPlaneV2Config
- type VmwareControlPlaneVsphereConfig
- type VmwareDataplaneV2Config
- type VmwareDhcpIpConfig
- type VmwareF5BigIpConfig
- type VmwareHostConfig
- type VmwareHostIp
- type VmwareIpBlock
- type VmwareLoadBalancerConfig
- type VmwareManualLbConfig
- type VmwareMetalLbConfig
- type VmwareNetworkConfig
- type VmwareNodeConfig
- type VmwareNodePool
- type VmwareNodePoolAutoscalingConfig
- type VmwarePlatformConfig
- type VmwareSeesawConfig
- type VmwareStaticIpConfig
- type VmwareStorageConfig
- type VmwareVCenterConfig
- type VmwareVersionInfo
- type VmwareVipConfig
- type VmwareVsphereConfig
- type VmwareVsphereTag
Constants¶
const (// See, edit, configure, and delete your Google Cloud data and see the email// address for your Google Account.CloudPlatformScope = "https://www.googleapis.com/auth/cloud-platform")
OAuth2 scopes used by this API.
Variables¶
This section is empty.
Functions¶
This section is empty.
Types¶
typeAuthorization¶
type Authorization struct {// AdminUsers: For VMware and bare metal user clusters, users will be granted// the cluster-admin role on the cluster, which provides full administrative// access to the cluster. For bare metal admin clusters, users will be granted// the cluster-view role, which limits users to read-only access.AdminUsers []*ClusterUser `json:"adminUsers,omitempty"`// ForceSendFields is a list of field names (e.g. "AdminUsers") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AdminUsers") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}Authorization: Authorization defines the On-Prem cluster authorizationconfiguration to bootstrap onto the admin cluster.
func (Authorization)MarshalJSON¶
func (sAuthorization) MarshalJSON() ([]byte,error)
typeBareMetalAdminApiServerArgument¶
type BareMetalAdminApiServerArgument struct {// Argument: Required. The argument name as it appears on the API Server// command line please make sure to remove the leading dashes.Argumentstring `json:"argument,omitempty"`// Value: Required. The value of the arg as it will be passed to the API Server// command line.Valuestring `json:"value,omitempty"`// ForceSendFields is a list of field names (e.g. "Argument") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Argument") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}BareMetalAdminApiServerArgument: BareMetalAdminApiServerArgument representsan arg name->value pair. Only a subset of customized flags are supported.Please refer to the API server documentation below to know the exact format:https://kubernetes.io/docs/reference/command-line-tools-reference/kube-apiserver/
func (BareMetalAdminApiServerArgument)MarshalJSON¶
func (sBareMetalAdminApiServerArgument) MarshalJSON() ([]byte,error)
typeBareMetalAdminBgpLbConfig¶added inv0.257.0
type BareMetalAdminBgpLbConfig struct {// AddressPools: Required. AddressPools is a list of non-overlapping IP pools// used by load balancer typed services. All addresses must be routable to load// balancer nodes. IngressVIP must be included in the pools.AddressPools []*BareMetalAdminLoadBalancerAddressPool `json:"addressPools,omitempty"`// Asn: Required. BGP autonomous system number (ASN) of the cluster. This field// can be updated after cluster creation.Asnint64 `json:"asn,omitempty,string"`// BgpPeerConfigs: Required. The list of BGP peers that the cluster will// connect to. At least one peer must be configured for each control plane// node. Control plane nodes will connect to these peers to advertise the// control plane VIP. The Services load balancer also uses these peers by// default. This field can be updated after cluster creation.BgpPeerConfigs []*BareMetalAdminBgpPeerConfig `json:"bgpPeerConfigs,omitempty"`// LoadBalancerNodePoolConfig: Specifies the node pool running data plane load// balancing. L2 connectivity is required among nodes in this pool. If missing,// the control plane node pool is used for data plane load balancing.LoadBalancerNodePoolConfig *BareMetalAdminLoadBalancerNodePoolConfig `json:"loadBalancerNodePoolConfig,omitempty"`// ForceSendFields is a list of field names (e.g. "AddressPools") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AddressPools") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}BareMetalAdminBgpLbConfig: BareMetalAdminBgpLbConfig representsconfiguration parameters for a Border Gateway Protocol (BGP) load balancer.
func (BareMetalAdminBgpLbConfig)MarshalJSON¶added inv0.257.0
func (sBareMetalAdminBgpLbConfig) MarshalJSON() ([]byte,error)
typeBareMetalAdminBgpPeerConfig¶added inv0.257.0
type BareMetalAdminBgpPeerConfig struct {// Asn: Required. BGP autonomous system number (ASN) for the network that// contains the external peer device.Asnint64 `json:"asn,omitempty,string"`// ControlPlaneNodes: The IP address of the control plane node that connects to// the external peer. If you don't specify any control plane nodes, all control// plane nodes can connect to the external peer. If you specify one or more IP// addresses, only the nodes specified participate in peering sessions.ControlPlaneNodes []string `json:"controlPlaneNodes,omitempty"`// IpAddress: Required. The IP address of the external peer device.IpAddressstring `json:"ipAddress,omitempty"`// ForceSendFields is a list of field names (e.g. "Asn") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Asn") to include in API requests// with the JSON null value. By default, fields with empty values are omitted// from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}BareMetalAdminBgpPeerConfig: BareMetalAdminBgpPeerConfig representsconfiguration parameters for a Border Gateway Protocol (BGP) peer.
func (BareMetalAdminBgpPeerConfig)MarshalJSON¶added inv0.257.0
func (sBareMetalAdminBgpPeerConfig) MarshalJSON() ([]byte,error)
typeBareMetalAdminCluster¶
type BareMetalAdminCluster struct {// Annotations: Annotations on the bare metal admin cluster. This field has the// same restrictions as Kubernetes annotations. The total size of all keys and// values combined is limited to 256k. Key can have 2 segments: prefix// (optional) and name (required), separated by a slash (/). Prefix must be a// DNS subdomain. Name must be 63 characters or less, begin and end with// alphanumerics, with dashes (-), underscores (_), dots (.), and alphanumerics// between.Annotations map[string]string `json:"annotations,omitempty"`// BareMetalVersion: The Anthos clusters on bare metal version for the bare// metal admin cluster.BareMetalVersionstring `json:"bareMetalVersion,omitempty"`// BinaryAuthorization: Binary Authorization related configurations.BinaryAuthorization *BinaryAuthorization `json:"binaryAuthorization,omitempty"`// ClusterOperations: Cluster operations configuration.ClusterOperations *BareMetalAdminClusterOperationsConfig `json:"clusterOperations,omitempty"`// ControlPlane: Control plane configuration.ControlPlane *BareMetalAdminControlPlaneConfig `json:"controlPlane,omitempty"`// CreateTime: Output only. The time at which this bare metal admin cluster was// created.CreateTimestring `json:"createTime,omitempty"`// DeleteTime: Output only. The time at which this bare metal admin cluster was// deleted. If the resource is not deleted, this must be emptyDeleteTimestring `json:"deleteTime,omitempty"`// Description: A human readable description of this bare metal admin cluster.Descriptionstring `json:"description,omitempty"`// Endpoint: Output only. The IP address name of bare metal admin cluster's API// server.Endpointstring `json:"endpoint,omitempty"`// Etag: This checksum is computed by the server based on the value of other// fields, and may be sent on update and delete requests to ensure the client// has an up-to-date value before proceeding. Allows clients to perform// consistent read-modify-writes through optimistic concurrency control.Etagstring `json:"etag,omitempty"`// Fleet: Output only. Fleet configuration for the cluster.Fleet *Fleet `json:"fleet,omitempty"`// LoadBalancer: Load balancer configuration.LoadBalancer *BareMetalAdminLoadBalancerConfig `json:"loadBalancer,omitempty"`// LocalName: Output only. The object name of the bare metal cluster custom// resource. This field is used to support conflicting names when enrolling// existing clusters to the API. When used as a part of cluster enrollment,// this field will differ from the ID in the resource name. For new clusters,// this field will match the user provided cluster name and be visible in the// last component of the resource name. It is not modifiable. All users should// use this name to access their cluster using gkectl or kubectl and should// expect to see the local name when viewing admin cluster controller logs.LocalNamestring `json:"localName,omitempty"`// MaintenanceConfig: Maintenance configuration.MaintenanceConfig *BareMetalAdminMaintenanceConfig `json:"maintenanceConfig,omitempty"`// MaintenanceStatus: Output only. MaintenanceStatus representing state of// maintenance.MaintenanceStatus *BareMetalAdminMaintenanceStatus `json:"maintenanceStatus,omitempty"`// Name: Immutable. The bare metal admin cluster resource name.Namestring `json:"name,omitempty"`// NetworkConfig: Network configuration.NetworkConfig *BareMetalAdminNetworkConfig `json:"networkConfig,omitempty"`// NodeAccessConfig: Node access related configurations.NodeAccessConfig *BareMetalAdminNodeAccessConfig `json:"nodeAccessConfig,omitempty"`// NodeConfig: Workload node configuration.NodeConfig *BareMetalAdminWorkloadNodeConfig `json:"nodeConfig,omitempty"`// OsEnvironmentConfig: OS environment related configurations.OsEnvironmentConfig *BareMetalAdminOsEnvironmentConfig `json:"osEnvironmentConfig,omitempty"`// Proxy: Proxy configuration.Proxy *BareMetalAdminProxyConfig `json:"proxy,omitempty"`// Reconciling: Output only. If set, there are currently changes in flight to// the bare metal Admin Cluster.Reconcilingbool `json:"reconciling,omitempty"`// SecurityConfig: Security related configuration.SecurityConfig *BareMetalAdminSecurityConfig `json:"securityConfig,omitempty"`// State: Output only. The current state of the bare metal admin cluster.//// Possible values:// "STATE_UNSPECIFIED" - Not set.// "PROVISIONING" - The PROVISIONING state indicates the cluster is being// created.// "RUNNING" - The RUNNING state indicates the cluster has been created and// is fully usable.// "RECONCILING" - The RECONCILING state indicates that the cluster is being// updated. It remains available, but potentially with degraded performance.// "STOPPING" - The STOPPING state indicates the cluster is being deleted.// "ERROR" - The ERROR state indicates the cluster is in a broken// unrecoverable state.// "DEGRADED" - The DEGRADED state indicates the cluster requires user action// to restore full functionality.Statestring `json:"state,omitempty"`// Status: Output only. ResourceStatus representing detailed cluster status.Status *ResourceStatus `json:"status,omitempty"`// Storage: Storage configuration.Storage *BareMetalAdminStorageConfig `json:"storage,omitempty"`// Uid: Output only. The unique identifier of the bare metal admin cluster.Uidstring `json:"uid,omitempty"`// UpdateTime: Output only. The time at which this bare metal admin cluster was// last updated.UpdateTimestring `json:"updateTime,omitempty"`// ValidationCheck: Output only. ValidationCheck representing the result of the// preflight check.ValidationCheck *ValidationCheck `json:"validationCheck,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "Annotations") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Annotations") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}BareMetalAdminCluster: Resource that represents a bare metal admin cluster.
func (BareMetalAdminCluster)MarshalJSON¶
func (sBareMetalAdminCluster) MarshalJSON() ([]byte,error)
typeBareMetalAdminClusterOperationsConfig¶
type BareMetalAdminClusterOperationsConfig struct {// EnableApplicationLogs: Whether collection of application logs/metrics should// be enabled (in addition to system logs/metrics).EnableApplicationLogsbool `json:"enableApplicationLogs,omitempty"`// ForceSendFields is a list of field names (e.g. "EnableApplicationLogs") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "EnableApplicationLogs") to// include in API requests with the JSON null value. By default, fields with// empty values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}BareMetalAdminClusterOperationsConfig: BareMetalAdminClusterOperationsConfigspecifies the admin cluster's observability infrastructure.
func (BareMetalAdminClusterOperationsConfig)MarshalJSON¶
func (sBareMetalAdminClusterOperationsConfig) MarshalJSON() ([]byte,error)
typeBareMetalAdminControlPlaneConfig¶
type BareMetalAdminControlPlaneConfig struct {// ApiServerArgs: Customizes the default API server args. Only a subset of// customized flags are supported. Please refer to the API server documentation// below to know the exact format://https://kubernetes.io/docs/reference/command-line-tools-reference/kube-apiserver/ApiServerArgs []*BareMetalAdminApiServerArgument `json:"apiServerArgs,omitempty"`// ControlPlaneNodePoolConfig: Required. Configures the node pool running the// control plane. If specified the corresponding NodePool will be created for// the cluster's control plane. The NodePool will have the same name and// namespace as the cluster.ControlPlaneNodePoolConfig *BareMetalAdminControlPlaneNodePoolConfig `json:"controlPlaneNodePoolConfig,omitempty"`// ForceSendFields is a list of field names (e.g. "ApiServerArgs") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "ApiServerArgs") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}BareMetalAdminControlPlaneConfig: BareMetalAdminControlPlaneConfig specifiesthe control plane configuration.
func (BareMetalAdminControlPlaneConfig)MarshalJSON¶
func (sBareMetalAdminControlPlaneConfig) MarshalJSON() ([]byte,error)
typeBareMetalAdminControlPlaneNodePoolConfig¶
type BareMetalAdminControlPlaneNodePoolConfig struct {// NodePoolConfig: Required. The generic configuration for a node pool running// the control plane.NodePoolConfig *BareMetalNodePoolConfig `json:"nodePoolConfig,omitempty"`// ForceSendFields is a list of field names (e.g. "NodePoolConfig") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "NodePoolConfig") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}BareMetalAdminControlPlaneNodePoolConfig:BareMetalAdminControlPlaneNodePoolConfig specifies the control plane nodepool configuration. We have a control plane specific node pool config sothat we can flexible about supporting control plane specific fields in thefuture.
func (BareMetalAdminControlPlaneNodePoolConfig)MarshalJSON¶
func (sBareMetalAdminControlPlaneNodePoolConfig) MarshalJSON() ([]byte,error)
typeBareMetalAdminDrainedMachine¶
type BareMetalAdminDrainedMachine struct {// NodeIp: Drained machine IP address.NodeIpstring `json:"nodeIp,omitempty"`// ForceSendFields is a list of field names (e.g. "NodeIp") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "NodeIp") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}BareMetalAdminDrainedMachine: BareMetalAdminDrainedMachine represents themachines that are drained.
func (BareMetalAdminDrainedMachine)MarshalJSON¶
func (sBareMetalAdminDrainedMachine) MarshalJSON() ([]byte,error)
typeBareMetalAdminDrainingMachine¶
type BareMetalAdminDrainingMachine struct {// NodeIp: Draining machine IP address.NodeIpstring `json:"nodeIp,omitempty"`// PodCount: The count of pods yet to drain.PodCountint64 `json:"podCount,omitempty"`// ForceSendFields is a list of field names (e.g. "NodeIp") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "NodeIp") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}BareMetalAdminDrainingMachine: BareMetalAdminDrainingMachine represents themachines that are currently draining.
func (BareMetalAdminDrainingMachine)MarshalJSON¶
func (sBareMetalAdminDrainingMachine) MarshalJSON() ([]byte,error)
typeBareMetalAdminIslandModeCidrConfig¶
type BareMetalAdminIslandModeCidrConfig struct {// PodAddressCidrBlocks: Required. All pods in the cluster are assigned an// RFC1918 IPv4 address from these ranges. This field cannot be changed after// creation.PodAddressCidrBlocks []string `json:"podAddressCidrBlocks,omitempty"`// ServiceAddressCidrBlocks: Required. All services in the cluster are assigned// an RFC1918 IPv4 address from these ranges. This field cannot be changed// after creation.ServiceAddressCidrBlocks []string `json:"serviceAddressCidrBlocks,omitempty"`// ForceSendFields is a list of field names (e.g. "PodAddressCidrBlocks") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "PodAddressCidrBlocks") to include// in API requests with the JSON null value. By default, fields with empty// values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}BareMetalAdminIslandModeCidrConfig: BareMetalAdminIslandModeCidrConfigspecifies the cluster CIDR configuration while running in island mode.
func (BareMetalAdminIslandModeCidrConfig)MarshalJSON¶
func (sBareMetalAdminIslandModeCidrConfig) MarshalJSON() ([]byte,error)
typeBareMetalAdminLoadBalancerAddressPool¶added inv0.257.0
type BareMetalAdminLoadBalancerAddressPool struct {// Addresses: Required. The addresses that are part of this pool. Each address// must be either in the CIDR form (1.2.3.0/24) or range form// (1.2.3.1-1.2.3.5).Addresses []string `json:"addresses,omitempty"`// AvoidBuggyIps: If true, avoid using IPs ending in .0 or .255. This avoids// buggy consumer devices mistakenly dropping IPv4 traffic for those special IP// addresses.AvoidBuggyIpsbool `json:"avoidBuggyIps,omitempty"`// ManualAssign: If true, prevent IP addresses from being automatically// assigned.ManualAssignbool `json:"manualAssign,omitempty"`// Pool: Required. The name of the address pool.Poolstring `json:"pool,omitempty"`// ForceSendFields is a list of field names (e.g. "Addresses") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Addresses") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}BareMetalAdminLoadBalancerAddressPool: Represents an IP pool used by theload balancer.
func (BareMetalAdminLoadBalancerAddressPool)MarshalJSON¶added inv0.257.0
func (sBareMetalAdminLoadBalancerAddressPool) MarshalJSON() ([]byte,error)
typeBareMetalAdminLoadBalancerConfig¶
type BareMetalAdminLoadBalancerConfig struct {// BgpLbConfig: Configuration for BGP typed load balancers.BgpLbConfig *BareMetalAdminBgpLbConfig `json:"bgpLbConfig,omitempty"`// ManualLbConfig: Manually configured load balancers.ManualLbConfig *BareMetalAdminManualLbConfig `json:"manualLbConfig,omitempty"`// PortConfig: Configures the ports that the load balancer will listen on.PortConfig *BareMetalAdminPortConfig `json:"portConfig,omitempty"`// VipConfig: The VIPs used by the load balancer.VipConfig *BareMetalAdminVipConfig `json:"vipConfig,omitempty"`// ForceSendFields is a list of field names (e.g. "BgpLbConfig") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "BgpLbConfig") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}BareMetalAdminLoadBalancerConfig: BareMetalAdminLoadBalancerConfig specifiesthe load balancer configuration.
func (BareMetalAdminLoadBalancerConfig)MarshalJSON¶
func (sBareMetalAdminLoadBalancerConfig) MarshalJSON() ([]byte,error)
typeBareMetalAdminLoadBalancerNodePoolConfig¶added inv0.257.0
type BareMetalAdminLoadBalancerNodePoolConfig struct {// NodePoolConfig: The generic configuration for a node pool running a load// balancer.NodePoolConfig *BareMetalNodePoolConfig `json:"nodePoolConfig,omitempty"`// ForceSendFields is a list of field names (e.g. "NodePoolConfig") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "NodePoolConfig") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}BareMetalAdminLoadBalancerNodePoolConfig: Specifies the load balancer's nodepool configuration.
func (BareMetalAdminLoadBalancerNodePoolConfig)MarshalJSON¶added inv0.257.0
func (sBareMetalAdminLoadBalancerNodePoolConfig) MarshalJSON() ([]byte,error)
typeBareMetalAdminMachineDrainStatus¶
type BareMetalAdminMachineDrainStatus struct {// DrainedMachines: The list of drained machines.DrainedMachines []*BareMetalAdminDrainedMachine `json:"drainedMachines,omitempty"`// DrainingMachines: The list of draning machines.DrainingMachines []*BareMetalAdminDrainingMachine `json:"drainingMachines,omitempty"`// ForceSendFields is a list of field names (e.g. "DrainedMachines") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "DrainedMachines") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}BareMetalAdminMachineDrainStatus: BareMetalAdminMachineDrainStatusrepresents the status of bare metal node machines that are undergoing drainoperations.
func (BareMetalAdminMachineDrainStatus)MarshalJSON¶
func (sBareMetalAdminMachineDrainStatus) MarshalJSON() ([]byte,error)
typeBareMetalAdminMaintenanceConfig¶
type BareMetalAdminMaintenanceConfig struct {// MaintenanceAddressCidrBlocks: Required. All IPv4 address from these ranges// will be placed into maintenance mode. Nodes in maintenance mode will be// cordoned and drained. When both of these are true, the// "baremetal.cluster.gke.io/maintenance" annotation will be set on the node// resource.MaintenanceAddressCidrBlocks []string `json:"maintenanceAddressCidrBlocks,omitempty"`// ForceSendFields is a list of field names (e.g.// "MaintenanceAddressCidrBlocks") to unconditionally include in API requests.// By default, fields with empty or default values are omitted from API// requests. Seehttps://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields// for more details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "MaintenanceAddressCidrBlocks") to// include in API requests with the JSON null value. By default, fields with// empty values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}BareMetalAdminMaintenanceConfig: BareMetalAdminMaintenanceConfig specifiesconfigurations to put bare metal Admin cluster CRs nodes in and out ofmaintenance.
func (BareMetalAdminMaintenanceConfig)MarshalJSON¶
func (sBareMetalAdminMaintenanceConfig) MarshalJSON() ([]byte,error)
typeBareMetalAdminMaintenanceStatus¶
type BareMetalAdminMaintenanceStatus struct {// MachineDrainStatus: Represents the status of draining and drained machine// nodes. This is used to show the progress of cluster upgrade.MachineDrainStatus *BareMetalAdminMachineDrainStatus `json:"machineDrainStatus,omitempty"`// ForceSendFields is a list of field names (e.g. "MachineDrainStatus") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "MachineDrainStatus") to include// in API requests with the JSON null value. By default, fields with empty// values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}BareMetalAdminMaintenanceStatus: BareMetalAdminMaintenanceStatus representsthe maintenance status for bare metal Admin cluster CR's nodes.
func (BareMetalAdminMaintenanceStatus)MarshalJSON¶
func (sBareMetalAdminMaintenanceStatus) MarshalJSON() ([]byte,error)
typeBareMetalAdminManualLbConfig¶
type BareMetalAdminManualLbConfig struct {// Enabled: Whether manual load balancing is enabled.Enabledbool `json:"enabled,omitempty"`// ForceSendFields is a list of field names (e.g. "Enabled") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}BareMetalAdminManualLbConfig: BareMetalAdminManualLbConfig representsconfiguration parameters for a manual load balancer.
func (BareMetalAdminManualLbConfig)MarshalJSON¶
func (sBareMetalAdminManualLbConfig) MarshalJSON() ([]byte,error)
typeBareMetalAdminMultipleNetworkInterfacesConfig¶added inv0.257.0
type BareMetalAdminMultipleNetworkInterfacesConfig struct {// Enabled: Whether to enable multiple network interfaces for your pods. When// set network_config.advanced_networking is automatically set to true.Enabledbool `json:"enabled,omitempty"`// ForceSendFields is a list of field names (e.g. "Enabled") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}BareMetalAdminMultipleNetworkInterfacesConfig: Specifies the multiplenetworking interfaces cluster configuration.
func (BareMetalAdminMultipleNetworkInterfacesConfig)MarshalJSON¶added inv0.257.0
func (sBareMetalAdminMultipleNetworkInterfacesConfig) MarshalJSON() ([]byte,error)
typeBareMetalAdminNetworkConfig¶
type BareMetalAdminNetworkConfig struct {// AdvancedNetworking: Enables the use of advanced Anthos networking features,// such as Bundled Load Balancing with BGP or the egress NAT gateway. Setting// configuration for advanced networking features will automatically set this// flag.AdvancedNetworkingbool `json:"advancedNetworking,omitempty"`// IslandModeCidr: Configuration for Island mode CIDR.IslandModeCidr *BareMetalAdminIslandModeCidrConfig `json:"islandModeCidr,omitempty"`// MultipleNetworkInterfacesConfig: Configuration for multiple network// interfaces.MultipleNetworkInterfacesConfig *BareMetalAdminMultipleNetworkInterfacesConfig `json:"multipleNetworkInterfacesConfig,omitempty"`// ForceSendFields is a list of field names (e.g. "AdvancedNetworking") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AdvancedNetworking") to include// in API requests with the JSON null value. By default, fields with empty// values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}BareMetalAdminNetworkConfig: BareMetalAdminNetworkConfig specifies thecluster network configuration.
func (BareMetalAdminNetworkConfig)MarshalJSON¶
func (sBareMetalAdminNetworkConfig) MarshalJSON() ([]byte,error)
typeBareMetalAdminNodeAccessConfig¶
type BareMetalAdminNodeAccessConfig struct {// LoginUser: Required. LoginUser is the user name used to access node// machines. It defaults to "root" if not set.LoginUserstring `json:"loginUser,omitempty"`// ForceSendFields is a list of field names (e.g. "LoginUser") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "LoginUser") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}BareMetalAdminNodeAccessConfig: Specifies the node access related settingsfor the bare metal admin cluster.
func (BareMetalAdminNodeAccessConfig)MarshalJSON¶
func (sBareMetalAdminNodeAccessConfig) MarshalJSON() ([]byte,error)
typeBareMetalAdminOsEnvironmentConfig¶
type BareMetalAdminOsEnvironmentConfig struct {// PackageRepoExcluded: Whether the package repo should be added when// initializing bare metal machines.PackageRepoExcludedbool `json:"packageRepoExcluded,omitempty"`// ForceSendFields is a list of field names (e.g. "PackageRepoExcluded") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "PackageRepoExcluded") to include// in API requests with the JSON null value. By default, fields with empty// values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}BareMetalAdminOsEnvironmentConfig: Specifies operating system operationsettings for cluster provisioning.
func (BareMetalAdminOsEnvironmentConfig)MarshalJSON¶
func (sBareMetalAdminOsEnvironmentConfig) MarshalJSON() ([]byte,error)
typeBareMetalAdminPortConfig¶
type BareMetalAdminPortConfig struct {// ControlPlaneLoadBalancerPort: The port that control plane hosted load// balancers will listen on.ControlPlaneLoadBalancerPortint64 `json:"controlPlaneLoadBalancerPort,omitempty"`// ForceSendFields is a list of field names (e.g.// "ControlPlaneLoadBalancerPort") to unconditionally include in API requests.// By default, fields with empty or default values are omitted from API// requests. Seehttps://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields// for more details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "ControlPlaneLoadBalancerPort") to// include in API requests with the JSON null value. By default, fields with// empty values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}BareMetalAdminPortConfig: BareMetalAdminPortConfig is the specification ofload balancer ports.
func (BareMetalAdminPortConfig)MarshalJSON¶
func (sBareMetalAdminPortConfig) MarshalJSON() ([]byte,error)
typeBareMetalAdminProxyConfig¶
type BareMetalAdminProxyConfig struct {// NoProxy: A list of IPs, hostnames, and domains that should skip the proxy.// Examples: ["127.0.0.1", "example.com", ".corp", "localhost"].NoProxy []string `json:"noProxy,omitempty"`// Uri: Required. Specifies the address of your proxy server. Examples:// `http://domain` WARNING: Do not provide credentials in the format// `http://(username:password@)domain` these will be rejected by the server.Uristring `json:"uri,omitempty"`// ForceSendFields is a list of field names (e.g. "NoProxy") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "NoProxy") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}BareMetalAdminProxyConfig: BareMetalAdminProxyConfig specifies the clusterproxy configuration.
func (BareMetalAdminProxyConfig)MarshalJSON¶
func (sBareMetalAdminProxyConfig) MarshalJSON() ([]byte,error)
typeBareMetalAdminSecurityConfig¶
type BareMetalAdminSecurityConfig struct {// Authorization: Configures user access to the admin cluster.Authorization *Authorization `json:"authorization,omitempty"`// ForceSendFields is a list of field names (e.g. "Authorization") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Authorization") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}BareMetalAdminSecurityConfig: Specifies the security related settings forthe bare metal admin cluster.
func (BareMetalAdminSecurityConfig)MarshalJSON¶
func (sBareMetalAdminSecurityConfig) MarshalJSON() ([]byte,error)
typeBareMetalAdminStorageConfig¶
type BareMetalAdminStorageConfig struct {// LvpNodeMountsConfig: Required. Specifies the config for local// PersistentVolumes backed by mounted node disks. These disks need to be// formatted and mounted by the user, which can be done before or after cluster// creation.LvpNodeMountsConfig *BareMetalLvpConfig `json:"lvpNodeMountsConfig,omitempty"`// LvpShareConfig: Required. Specifies the config for local PersistentVolumes// backed by subdirectories in a shared filesystem. These subdirectores are// automatically created during cluster creation.LvpShareConfig *BareMetalLvpShareConfig `json:"lvpShareConfig,omitempty"`// ForceSendFields is a list of field names (e.g. "LvpNodeMountsConfig") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "LvpNodeMountsConfig") to include// in API requests with the JSON null value. By default, fields with empty// values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}BareMetalAdminStorageConfig: BareMetalAdminStorageConfig specifies thecluster storage configuration.
func (BareMetalAdminStorageConfig)MarshalJSON¶
func (sBareMetalAdminStorageConfig) MarshalJSON() ([]byte,error)
typeBareMetalAdminVipConfig¶
type BareMetalAdminVipConfig struct {// ControlPlaneVip: The VIP which you previously set aside for the Kubernetes// API of this bare metal admin cluster.ControlPlaneVipstring `json:"controlPlaneVip,omitempty"`// ForceSendFields is a list of field names (e.g. "ControlPlaneVip") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "ControlPlaneVip") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}BareMetalAdminVipConfig: BareMetalAdminVipConfig for bare metal loadbalancer configurations.
func (BareMetalAdminVipConfig)MarshalJSON¶
func (sBareMetalAdminVipConfig) MarshalJSON() ([]byte,error)
typeBareMetalAdminWorkloadNodeConfig¶
type BareMetalAdminWorkloadNodeConfig struct {// MaxPodsPerNode: The maximum number of pods a node can run. The size of the// CIDR range assigned to the node will be derived from this parameter. By// default 110 Pods are created per Node. Upper bound is 250 for both HA and// non-HA admin cluster. Lower bound is 64 for non-HA admin cluster and 32 for// HA admin cluster.MaxPodsPerNodeint64 `json:"maxPodsPerNode,omitempty,string"`// ForceSendFields is a list of field names (e.g. "MaxPodsPerNode") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "MaxPodsPerNode") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}BareMetalAdminWorkloadNodeConfig: BareMetalAdminWorkloadNodeConfig specifiesthe workload node configurations.
func (BareMetalAdminWorkloadNodeConfig)MarshalJSON¶
func (sBareMetalAdminWorkloadNodeConfig) MarshalJSON() ([]byte,error)
typeBareMetalApiServerArgument¶
type BareMetalApiServerArgument struct {// Argument: Required. The argument name as it appears on the API Server// command line, make sure to remove the leading dashes.Argumentstring `json:"argument,omitempty"`// Value: Required. The value of the arg as it will be passed to the API Server// command line.Valuestring `json:"value,omitempty"`// ForceSendFields is a list of field names (e.g. "Argument") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Argument") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}BareMetalApiServerArgument: Represents an arg name->value pair. Only asubset of customized flags are supported. For the exact format, refer to theAPI server documentation(https://kubernetes.io/docs/reference/command-line-tools-reference/kube-apiserver/).
func (BareMetalApiServerArgument)MarshalJSON¶
func (sBareMetalApiServerArgument) MarshalJSON() ([]byte,error)
typeBareMetalBgpLbConfig¶
type BareMetalBgpLbConfig struct {// AddressPools: Required. AddressPools is a list of non-overlapping IP pools// used by load balancer typed services. All addresses must be routable to load// balancer nodes. IngressVIP must be included in the pools.AddressPools []*BareMetalLoadBalancerAddressPool `json:"addressPools,omitempty"`// Asn: Required. BGP autonomous system number (ASN) of the cluster. This field// can be updated after cluster creation.Asnint64 `json:"asn,omitempty,string"`// BgpPeerConfigs: Required. The list of BGP peers that the cluster will// connect to. At least one peer must be configured for each control plane// node. Control plane nodes will connect to these peers to advertise the// control plane VIP. The Services load balancer also uses these peers by// default. This field can be updated after cluster creation.BgpPeerConfigs []*BareMetalBgpPeerConfig `json:"bgpPeerConfigs,omitempty"`// LoadBalancerNodePoolConfig: Specifies the node pool running data plane load// balancing. L2 connectivity is required among nodes in this pool. If missing,// the control plane node pool is used for data plane load balancing.LoadBalancerNodePoolConfig *BareMetalLoadBalancerNodePoolConfig `json:"loadBalancerNodePoolConfig,omitempty"`// ForceSendFields is a list of field names (e.g. "AddressPools") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AddressPools") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}BareMetalBgpLbConfig: BareMetalBgpLbConfig represents configurationparameters for a Border Gateway Protocol (BGP) load balancer.
func (BareMetalBgpLbConfig)MarshalJSON¶
func (sBareMetalBgpLbConfig) MarshalJSON() ([]byte,error)
typeBareMetalBgpPeerConfig¶
type BareMetalBgpPeerConfig struct {// Asn: Required. BGP autonomous system number (ASN) for the network that// contains the external peer device.Asnint64 `json:"asn,omitempty,string"`// ControlPlaneNodes: The IP address of the control plane node that connects to// the external peer. If you don't specify any control plane nodes, all control// plane nodes can connect to the external peer. If you specify one or more IP// addresses, only the nodes specified participate in peering sessions.ControlPlaneNodes []string `json:"controlPlaneNodes,omitempty"`// IpAddress: Required. The IP address of the external peer device.IpAddressstring `json:"ipAddress,omitempty"`// ForceSendFields is a list of field names (e.g. "Asn") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Asn") to include in API requests// with the JSON null value. By default, fields with empty values are omitted// from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}BareMetalBgpPeerConfig: BareMetalBgpPeerConfig represents configurationparameters for a Border Gateway Protocol (BGP) peer.
func (BareMetalBgpPeerConfig)MarshalJSON¶
func (sBareMetalBgpPeerConfig) MarshalJSON() ([]byte,error)
typeBareMetalCluster¶
type BareMetalCluster struct {// AdminClusterMembership: Required. The admin cluster this bare metal user// cluster belongs to. This is the full resource name of the admin cluster's// fleet membership.AdminClusterMembershipstring `json:"adminClusterMembership,omitempty"`// AdminClusterName: Output only. The resource name of the bare metal admin// cluster managing this user cluster.AdminClusterNamestring `json:"adminClusterName,omitempty"`// Annotations: Annotations on the bare metal user cluster. This field has the// same restrictions as Kubernetes annotations. The total size of all keys and// values combined is limited to 256k. Key can have 2 segments: prefix// (optional) and name (required), separated by a slash (/). Prefix must be a// DNS subdomain. Name must be 63 characters or less, begin and end with// alphanumerics, with dashes (-), underscores (_), dots (.), and alphanumerics// between.Annotations map[string]string `json:"annotations,omitempty"`// BareMetalVersion: Required. The Anthos clusters on bare metal version for// your user cluster.BareMetalVersionstring `json:"bareMetalVersion,omitempty"`// BinaryAuthorization: Binary Authorization related configurations.BinaryAuthorization *BinaryAuthorization `json:"binaryAuthorization,omitempty"`// ClusterOperations: Cluster operations configuration.ClusterOperations *BareMetalClusterOperationsConfig `json:"clusterOperations,omitempty"`// ControlPlane: Required. Control plane configuration.ControlPlane *BareMetalControlPlaneConfig `json:"controlPlane,omitempty"`// CreateTime: Output only. The time when the bare metal user cluster was// created.CreateTimestring `json:"createTime,omitempty"`// DeleteTime: Output only. The time when the bare metal user cluster was// deleted. If the resource is not deleted, this must be emptyDeleteTimestring `json:"deleteTime,omitempty"`// Description: A human readable description of this bare metal user cluster.Descriptionstring `json:"description,omitempty"`// Endpoint: Output only. The IP address of the bare metal user cluster's API// server.Endpointstring `json:"endpoint,omitempty"`// Etag: Output only. This checksum is computed by the server based on the// value of other fields, and may be sent on update and delete requests to// ensure the client has an up-to-date value before proceeding. Allows clients// to perform consistent read-modify-writes through optimistic concurrency// control.Etagstring `json:"etag,omitempty"`// Fleet: Output only. Fleet configuration for the cluster.Fleet *Fleet `json:"fleet,omitempty"`// LoadBalancer: Required. Load balancer configuration.LoadBalancer *BareMetalLoadBalancerConfig `json:"loadBalancer,omitempty"`// LocalName: Output only. The object name of the bare metal user cluster// custom resource on the associated admin cluster. This field is used to// support conflicting names when enrolling existing clusters to the API. When// used as a part of cluster enrollment, this field will differ from the name// in the resource name. For new clusters, this field will match the user// provided cluster name and be visible in the last component of the resource// name. It is not modifiable. When the local name and cluster name differ, the// local name is used in the admin cluster controller logs. You use the cluster// name when accessing the cluster using bmctl and kubectl.LocalNamestring `json:"localName,omitempty"`// LocalNamespace: Output only. The namespace of the cluster.LocalNamespacestring `json:"localNamespace,omitempty"`// MaintenanceConfig: Maintenance configuration.MaintenanceConfig *BareMetalMaintenanceConfig `json:"maintenanceConfig,omitempty"`// MaintenanceStatus: Output only. Status of on-going maintenance tasks.MaintenanceStatus *BareMetalMaintenanceStatus `json:"maintenanceStatus,omitempty"`// Name: Immutable. The bare metal user cluster resource name.Namestring `json:"name,omitempty"`// NetworkConfig: Required. Network configuration.NetworkConfig *BareMetalNetworkConfig `json:"networkConfig,omitempty"`// NodeAccessConfig: Node access related configurations.NodeAccessConfig *BareMetalNodeAccessConfig `json:"nodeAccessConfig,omitempty"`// NodeConfig: Workload node configuration.NodeConfig *BareMetalWorkloadNodeConfig `json:"nodeConfig,omitempty"`// OsEnvironmentConfig: OS environment related configurations.OsEnvironmentConfig *BareMetalOsEnvironmentConfig `json:"osEnvironmentConfig,omitempty"`// Proxy: Proxy configuration.Proxy *BareMetalProxyConfig `json:"proxy,omitempty"`// Reconciling: Output only. If set, there are currently changes in flight to// the bare metal user cluster.Reconcilingbool `json:"reconciling,omitempty"`// SecurityConfig: Security related setting configuration.SecurityConfig *BareMetalSecurityConfig `json:"securityConfig,omitempty"`// State: Output only. The current state of the bare metal user cluster.//// Possible values:// "STATE_UNSPECIFIED" - Not set.// "PROVISIONING" - The PROVISIONING state indicates the cluster is being// created.// "RUNNING" - The RUNNING state indicates the cluster has been created and// is fully usable.// "RECONCILING" - The RECONCILING state indicates that the cluster is being// updated. It remains available, but potentially with degraded performance.// "STOPPING" - The STOPPING state indicates the cluster is being deleted.// "ERROR" - The ERROR state indicates the cluster is in a broken// unrecoverable state.// "DEGRADED" - The DEGRADED state indicates the cluster requires user action// to restore full functionality.Statestring `json:"state,omitempty"`// Status: Output only. Detailed cluster status.Status *ResourceStatus `json:"status,omitempty"`// Storage: Required. Storage configuration.Storage *BareMetalStorageConfig `json:"storage,omitempty"`// Uid: Output only. The unique identifier of the bare metal user cluster.Uidstring `json:"uid,omitempty"`// UpdateTime: Output only. The time when the bare metal user cluster was last// updated.UpdateTimestring `json:"updateTime,omitempty"`// UpgradePolicy: The cluster upgrade policy.UpgradePolicy *BareMetalClusterUpgradePolicy `json:"upgradePolicy,omitempty"`// ValidationCheck: Output only. The result of the preflight check.ValidationCheck *ValidationCheck `json:"validationCheck,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "AdminClusterMembership") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AdminClusterMembership") to// include in API requests with the JSON null value. By default, fields with// empty values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}BareMetalCluster: Resource that represents a bare metal user cluster.
func (BareMetalCluster)MarshalJSON¶
func (sBareMetalCluster) MarshalJSON() ([]byte,error)
typeBareMetalClusterOperationsConfig¶
type BareMetalClusterOperationsConfig struct {// EnableApplicationLogs: Whether collection of application logs/metrics should// be enabled (in addition to system logs/metrics).EnableApplicationLogsbool `json:"enableApplicationLogs,omitempty"`// ForceSendFields is a list of field names (e.g. "EnableApplicationLogs") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "EnableApplicationLogs") to// include in API requests with the JSON null value. By default, fields with// empty values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}BareMetalClusterOperationsConfig: Specifies the bare metal user cluster'sobservability infrastructure.
func (BareMetalClusterOperationsConfig)MarshalJSON¶
func (sBareMetalClusterOperationsConfig) MarshalJSON() ([]byte,error)
typeBareMetalClusterUpgradePolicy¶added inv0.135.0
type BareMetalClusterUpgradePolicy struct {// Pause: Output only. Pause is used to show the upgrade pause status. It's// view only for now.Pausebool `json:"pause,omitempty"`// Policy: Specifies which upgrade policy to use.//// Possible values:// "NODE_POOL_POLICY_UNSPECIFIED" - No upgrade policy selected.// "SERIAL" - Upgrade worker node pools sequentially.// "CONCURRENT" - Upgrade all worker node pools in parallel.Policystring `json:"policy,omitempty"`// ForceSendFields is a list of field names (e.g. "Pause") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Pause") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}BareMetalClusterUpgradePolicy: BareMetalClusterUpgradePolicy defines thecluster upgrade policy.
func (BareMetalClusterUpgradePolicy)MarshalJSON¶added inv0.135.0
func (sBareMetalClusterUpgradePolicy) MarshalJSON() ([]byte,error)
typeBareMetalControlPlaneConfig¶
type BareMetalControlPlaneConfig struct {// ApiServerArgs: Customizes the default API server args. Only a subset of// customized flags are supported. For the exact format, refer to the API// server documentation// (https://kubernetes.io/docs/reference/command-line-tools-reference/kube-apiserver/).ApiServerArgs []*BareMetalApiServerArgument `json:"apiServerArgs,omitempty"`// ControlPlaneNodePoolConfig: Required. Configures the node pool running the// control plane.ControlPlaneNodePoolConfig *BareMetalControlPlaneNodePoolConfig `json:"controlPlaneNodePoolConfig,omitempty"`// ForceSendFields is a list of field names (e.g. "ApiServerArgs") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "ApiServerArgs") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}BareMetalControlPlaneConfig: Specifies the control plane configuration.
func (BareMetalControlPlaneConfig)MarshalJSON¶
func (sBareMetalControlPlaneConfig) MarshalJSON() ([]byte,error)
typeBareMetalControlPlaneNodePoolConfig¶
type BareMetalControlPlaneNodePoolConfig struct {// NodePoolConfig: Required. The generic configuration for a node pool running// the control plane.NodePoolConfig *BareMetalNodePoolConfig `json:"nodePoolConfig,omitempty"`// ForceSendFields is a list of field names (e.g. "NodePoolConfig") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "NodePoolConfig") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}BareMetalControlPlaneNodePoolConfig: Specifies the control plane node poolconfiguration.
func (BareMetalControlPlaneNodePoolConfig)MarshalJSON¶
func (sBareMetalControlPlaneNodePoolConfig) MarshalJSON() ([]byte,error)
typeBareMetalDrainedMachine¶
type BareMetalDrainedMachine struct {// NodeIp: Drained machine IP address.NodeIpstring `json:"nodeIp,omitempty"`// ForceSendFields is a list of field names (e.g. "NodeIp") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "NodeIp") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}BareMetalDrainedMachine: Represents a machine that is currently drained.
func (BareMetalDrainedMachine)MarshalJSON¶
func (sBareMetalDrainedMachine) MarshalJSON() ([]byte,error)
typeBareMetalDrainingMachine¶
type BareMetalDrainingMachine struct {// NodeIp: Draining machine IP address.NodeIpstring `json:"nodeIp,omitempty"`// PodCount: The count of pods yet to drain.PodCountint64 `json:"podCount,omitempty"`// ForceSendFields is a list of field names (e.g. "NodeIp") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "NodeIp") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}BareMetalDrainingMachine: Represents a machine that is currently draining.
func (BareMetalDrainingMachine)MarshalJSON¶
func (sBareMetalDrainingMachine) MarshalJSON() ([]byte,error)
typeBareMetalIslandModeCidrConfig¶
type BareMetalIslandModeCidrConfig struct {// PodAddressCidrBlocks: Required. All pods in the cluster are assigned an// RFC1918 IPv4 address from these ranges. This field cannot be changed after// creation.PodAddressCidrBlocks []string `json:"podAddressCidrBlocks,omitempty"`// ServiceAddressCidrBlocks: Required. All services in the cluster are assigned// an RFC1918 IPv4 address from these ranges. This field is mutable after// creation starting with version 1.15.ServiceAddressCidrBlocks []string `json:"serviceAddressCidrBlocks,omitempty"`// ForceSendFields is a list of field names (e.g. "PodAddressCidrBlocks") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "PodAddressCidrBlocks") to include// in API requests with the JSON null value. By default, fields with empty// values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}BareMetalIslandModeCidrConfig: Specifies the cluster CIDR configurationwhile running in island mode.
func (BareMetalIslandModeCidrConfig)MarshalJSON¶
func (sBareMetalIslandModeCidrConfig) MarshalJSON() ([]byte,error)
typeBareMetalKubeletConfig¶
type BareMetalKubeletConfig struct {// RegistryBurst: The maximum size of bursty pulls, temporarily allows pulls to// burst to this number, while still not exceeding registry_pull_qps. The value// must not be a negative number. Updating this field may impact scalability by// changing the amount of traffic produced by image pulls. Defaults to 10.RegistryBurstint64 `json:"registryBurst,omitempty"`// RegistryPullQps: The limit of registry pulls per second. Setting this value// to 0 means no limit. Updating this field may impact scalability by changing// the amount of traffic produced by image pulls. Defaults to 5.RegistryPullQpsint64 `json:"registryPullQps,omitempty"`// SerializeImagePullsDisabled: Prevents the Kubelet from pulling multiple// images at a time. We recommend *not* changing the default value on nodes// that run docker daemon with version < 1.9 or an Another Union File System// (Aufs) storage backend. Issue//https://github.com/kubernetes/kubernetes/issues/10959 has more details.SerializeImagePullsDisabledbool `json:"serializeImagePullsDisabled,omitempty"`// ForceSendFields is a list of field names (e.g. "RegistryBurst") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "RegistryBurst") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}BareMetalKubeletConfig: KubeletConfig defines the modifiable kubeletconfigurations for bare metal machines. Note: this list includes fieldssupported in GKE (seehttps://cloud.google.com/kubernetes-engine/docs/how-to/node-system-config#kubelet-options).
func (BareMetalKubeletConfig)MarshalJSON¶
func (sBareMetalKubeletConfig) MarshalJSON() ([]byte,error)
typeBareMetalLoadBalancerAddressPool¶
type BareMetalLoadBalancerAddressPool struct {// Addresses: Required. The addresses that are part of this pool. Each address// must be either in the CIDR form (1.2.3.0/24) or range form// (1.2.3.1-1.2.3.5).Addresses []string `json:"addresses,omitempty"`// AvoidBuggyIps: If true, avoid using IPs ending in .0 or .255. This avoids// buggy consumer devices mistakenly dropping IPv4 traffic for those special IP// addresses.AvoidBuggyIpsbool `json:"avoidBuggyIps,omitempty"`// ManualAssign: If true, prevent IP addresses from being automatically// assigned.ManualAssignbool `json:"manualAssign,omitempty"`// Pool: Required. The name of the address pool.Poolstring `json:"pool,omitempty"`// ForceSendFields is a list of field names (e.g. "Addresses") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Addresses") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}BareMetalLoadBalancerAddressPool: Represents an IP pool used by the loadbalancer.
func (BareMetalLoadBalancerAddressPool)MarshalJSON¶
func (sBareMetalLoadBalancerAddressPool) MarshalJSON() ([]byte,error)
typeBareMetalLoadBalancerConfig¶
type BareMetalLoadBalancerConfig struct {// BgpLbConfig: Configuration for BGP typed load balancers. When set// network_config.advanced_networking is automatically set to true.BgpLbConfig *BareMetalBgpLbConfig `json:"bgpLbConfig,omitempty"`// ManualLbConfig: Manually configured load balancers.ManualLbConfig *BareMetalManualLbConfig `json:"manualLbConfig,omitempty"`// MetalLbConfig: Configuration for MetalLB load balancers.MetalLbConfig *BareMetalMetalLbConfig `json:"metalLbConfig,omitempty"`// PortConfig: Configures the ports that the load balancer will listen on.PortConfig *BareMetalPortConfig `json:"portConfig,omitempty"`// VipConfig: The VIPs used by the load balancer.VipConfig *BareMetalVipConfig `json:"vipConfig,omitempty"`// ForceSendFields is a list of field names (e.g. "BgpLbConfig") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "BgpLbConfig") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}BareMetalLoadBalancerConfig: Specifies the load balancer configuration.
func (BareMetalLoadBalancerConfig)MarshalJSON¶
func (sBareMetalLoadBalancerConfig) MarshalJSON() ([]byte,error)
typeBareMetalLoadBalancerNodePoolConfig¶
type BareMetalLoadBalancerNodePoolConfig struct {// NodePoolConfig: The generic configuration for a node pool running a load// balancer.NodePoolConfig *BareMetalNodePoolConfig `json:"nodePoolConfig,omitempty"`// ForceSendFields is a list of field names (e.g. "NodePoolConfig") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "NodePoolConfig") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}BareMetalLoadBalancerNodePoolConfig: Specifies the load balancer's node poolconfiguration.
func (BareMetalLoadBalancerNodePoolConfig)MarshalJSON¶
func (sBareMetalLoadBalancerNodePoolConfig) MarshalJSON() ([]byte,error)
typeBareMetalLvpConfig¶
type BareMetalLvpConfig struct {// Path: Required. The host machine path.Pathstring `json:"path,omitempty"`// StorageClass: Required. The StorageClass name that PVs will be created with.StorageClassstring `json:"storageClass,omitempty"`// ForceSendFields is a list of field names (e.g. "Path") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Path") to include in API requests// with the JSON null value. By default, fields with empty values are omitted// from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}BareMetalLvpConfig: Specifies the configs for local persistent volumes(PVs).
func (BareMetalLvpConfig)MarshalJSON¶
func (sBareMetalLvpConfig) MarshalJSON() ([]byte,error)
typeBareMetalLvpShareConfig¶
type BareMetalLvpShareConfig struct {// LvpConfig: Required. Defines the machine path and storage class for the LVP// Share.LvpConfig *BareMetalLvpConfig `json:"lvpConfig,omitempty"`// SharedPathPvCount: The number of subdirectories to create under path.SharedPathPvCountint64 `json:"sharedPathPvCount,omitempty"`// ForceSendFields is a list of field names (e.g. "LvpConfig") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "LvpConfig") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}BareMetalLvpShareConfig: Specifies the configs for local persistent volumesunder a shared file system.
func (BareMetalLvpShareConfig)MarshalJSON¶
func (sBareMetalLvpShareConfig) MarshalJSON() ([]byte,error)
typeBareMetalMachineDrainStatus¶
type BareMetalMachineDrainStatus struct {// DrainedMachines: The list of drained machines.DrainedMachines []*BareMetalDrainedMachine `json:"drainedMachines,omitempty"`// DrainingMachines: The list of draning machines.DrainingMachines []*BareMetalDrainingMachine `json:"drainingMachines,omitempty"`// ForceSendFields is a list of field names (e.g. "DrainedMachines") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "DrainedMachines") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}BareMetalMachineDrainStatus: Represents the status of node machines that areundergoing drain operations.
func (BareMetalMachineDrainStatus)MarshalJSON¶
func (sBareMetalMachineDrainStatus) MarshalJSON() ([]byte,error)
typeBareMetalMaintenanceConfig¶
type BareMetalMaintenanceConfig struct {// MaintenanceAddressCidrBlocks: Required. All IPv4 address from these ranges// will be placed into maintenance mode. Nodes in maintenance mode will be// cordoned and drained. When both of these are true, the// "baremetal.cluster.gke.io/maintenance" annotation will be set on the node// resource.MaintenanceAddressCidrBlocks []string `json:"maintenanceAddressCidrBlocks,omitempty"`// ForceSendFields is a list of field names (e.g.// "MaintenanceAddressCidrBlocks") to unconditionally include in API requests.// By default, fields with empty or default values are omitted from API// requests. Seehttps://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields// for more details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "MaintenanceAddressCidrBlocks") to// include in API requests with the JSON null value. By default, fields with// empty values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}BareMetalMaintenanceConfig: Specifies configurations to put bare metal nodesin and out of maintenance.
func (BareMetalMaintenanceConfig)MarshalJSON¶
func (sBareMetalMaintenanceConfig) MarshalJSON() ([]byte,error)
typeBareMetalMaintenanceStatus¶
type BareMetalMaintenanceStatus struct {// MachineDrainStatus: The maintenance status of node machines.MachineDrainStatus *BareMetalMachineDrainStatus `json:"machineDrainStatus,omitempty"`// ForceSendFields is a list of field names (e.g. "MachineDrainStatus") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "MachineDrainStatus") to include// in API requests with the JSON null value. By default, fields with empty// values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}BareMetalMaintenanceStatus: Represents the maintenance status of the baremetal user cluster.
func (BareMetalMaintenanceStatus)MarshalJSON¶
func (sBareMetalMaintenanceStatus) MarshalJSON() ([]byte,error)
typeBareMetalManualLbConfig¶
type BareMetalManualLbConfig struct {// Enabled: Whether manual load balancing is enabled.Enabledbool `json:"enabled,omitempty"`// ForceSendFields is a list of field names (e.g. "Enabled") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}BareMetalManualLbConfig: Represents configuration parameters for a manualload balancer.
func (BareMetalManualLbConfig)MarshalJSON¶
func (sBareMetalManualLbConfig) MarshalJSON() ([]byte,error)
typeBareMetalMetalLbConfig¶
type BareMetalMetalLbConfig struct {// AddressPools: Required. AddressPools is a list of non-overlapping IP pools// used by load balancer typed services. All addresses must be routable to load// balancer nodes. IngressVIP must be included in the pools.AddressPools []*BareMetalLoadBalancerAddressPool `json:"addressPools,omitempty"`// LoadBalancerNodePoolConfig: Specifies the node pool running the load// balancer. L2 connectivity is required among nodes in this pool. If missing,// the control plane node pool is used as the load balancer pool.LoadBalancerNodePoolConfig *BareMetalLoadBalancerNodePoolConfig `json:"loadBalancerNodePoolConfig,omitempty"`// ForceSendFields is a list of field names (e.g. "AddressPools") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AddressPools") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}BareMetalMetalLbConfig: Represents configuration parameters for a MetalLBload balancer.
func (BareMetalMetalLbConfig)MarshalJSON¶
func (sBareMetalMetalLbConfig) MarshalJSON() ([]byte,error)
typeBareMetalMultipleNetworkInterfacesConfig¶
type BareMetalMultipleNetworkInterfacesConfig struct {// Enabled: Whether to enable multiple network interfaces for your pods. When// set network_config.advanced_networking is automatically set to true.Enabledbool `json:"enabled,omitempty"`// ForceSendFields is a list of field names (e.g. "Enabled") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}BareMetalMultipleNetworkInterfacesConfig: Specifies the multiple networkinginterfaces cluster configuration.
func (BareMetalMultipleNetworkInterfacesConfig)MarshalJSON¶
func (sBareMetalMultipleNetworkInterfacesConfig) MarshalJSON() ([]byte,error)
typeBareMetalNetworkConfig¶
type BareMetalNetworkConfig struct {// AdvancedNetworking: Enables the use of advanced Anthos networking features,// such as Bundled Load Balancing with BGP or the egress NAT gateway. Setting// configuration for advanced networking features will automatically set this// flag.AdvancedNetworkingbool `json:"advancedNetworking,omitempty"`// IslandModeCidr: Configuration for island mode CIDR. In an island-mode// network, nodes have unique IP addresses, but pods don't have unique// addresses across clusters. This doesn't cause problems because pods in one// cluster never directly communicate with pods in another cluster. Instead,// there are gateways that mediate between a pod in one cluster and a pod in// another cluster.IslandModeCidr *BareMetalIslandModeCidrConfig `json:"islandModeCidr,omitempty"`// MultipleNetworkInterfacesConfig: Configuration for multiple network// interfaces.MultipleNetworkInterfacesConfig *BareMetalMultipleNetworkInterfacesConfig `json:"multipleNetworkInterfacesConfig,omitempty"`// SrIovConfig: Configuration for SR-IOV.SrIovConfig *BareMetalSrIovConfig `json:"srIovConfig,omitempty"`// ForceSendFields is a list of field names (e.g. "AdvancedNetworking") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AdvancedNetworking") to include// in API requests with the JSON null value. By default, fields with empty// values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}BareMetalNetworkConfig: Specifies the cluster network configuration.
func (BareMetalNetworkConfig)MarshalJSON¶
func (sBareMetalNetworkConfig) MarshalJSON() ([]byte,error)
typeBareMetalNodeAccessConfig¶
type BareMetalNodeAccessConfig struct {// LoginUser: LoginUser is the user name used to access node machines. It// defaults to "root" if not set.LoginUserstring `json:"loginUser,omitempty"`// ForceSendFields is a list of field names (e.g. "LoginUser") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "LoginUser") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}BareMetalNodeAccessConfig: Specifies the node access related settings forthe bare metal user cluster.
func (BareMetalNodeAccessConfig)MarshalJSON¶
func (sBareMetalNodeAccessConfig) MarshalJSON() ([]byte,error)
typeBareMetalNodeConfig¶
type BareMetalNodeConfig struct {// Labels: The labels assigned to this node. An object containing a list of// key/value pairs. The labels here, unioned with the labels set on// BareMetalNodePoolConfig are the set of labels that will be applied to the// node. If there are any conflicts, the BareMetalNodeConfig labels take// precedence. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.Labels map[string]string `json:"labels,omitempty"`// NodeIp: The default IPv4 address for SSH access and Kubernetes node.// Example: 192.168.0.1NodeIpstring `json:"nodeIp,omitempty"`// ForceSendFields is a list of field names (e.g. "Labels") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Labels") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}BareMetalNodeConfig: BareMetalNodeConfig lists machine addresses to accessNodes.
func (BareMetalNodeConfig)MarshalJSON¶
func (sBareMetalNodeConfig) MarshalJSON() ([]byte,error)
typeBareMetalNodePool¶
type BareMetalNodePool struct {// Annotations: Annotations on the bare metal node pool. This field has the// same restrictions as Kubernetes annotations. The total size of all keys and// values combined is limited to 256k. Key can have 2 segments: prefix// (optional) and name (required), separated by a slash (/). Prefix must be a// DNS subdomain. Name must be 63 characters or less, begin and end with// alphanumerics, with dashes (-), underscores (_), dots (.), and alphanumerics// between.Annotations map[string]string `json:"annotations,omitempty"`// CreateTime: Output only. The time at which this bare metal node pool was// created.CreateTimestring `json:"createTime,omitempty"`// DeleteTime: Output only. The time at which this bare metal node pool was// deleted. If the resource is not deleted, this must be emptyDeleteTimestring `json:"deleteTime,omitempty"`// DisplayName: The display name for the bare metal node pool.DisplayNamestring `json:"displayName,omitempty"`// Etag: This checksum is computed by the server based on the value of other// fields, and may be sent on update and delete requests to ensure the client// has an up-to-date value before proceeding. Allows clients to perform// consistent read-modify-writes through optimistic concurrency control.Etagstring `json:"etag,omitempty"`// Name: Immutable. The bare metal node pool resource name.Namestring `json:"name,omitempty"`// NodePoolConfig: Required. Node pool configuration.NodePoolConfig *BareMetalNodePoolConfig `json:"nodePoolConfig,omitempty"`// Reconciling: Output only. If set, there are currently changes in flight to// the bare metal node pool.Reconcilingbool `json:"reconciling,omitempty"`// State: Output only. The current state of the bare metal node pool.//// Possible values:// "STATE_UNSPECIFIED" - Not set.// "PROVISIONING" - The PROVISIONING state indicates the bare metal node pool// is being created.// "RUNNING" - The RUNNING state indicates the bare metal node pool has been// created and is fully usable.// "RECONCILING" - The RECONCILING state indicates that the bare metal node// pool is being updated. It remains available, but potentially with degraded// performance.// "STOPPING" - The STOPPING state indicates the bare metal node pool is// being deleted.// "ERROR" - The ERROR state indicates the bare metal node pool is in a// broken unrecoverable state.// "DEGRADED" - The DEGRADED state indicates the bare metal node pool// requires user action to restore full functionality.Statestring `json:"state,omitempty"`// Status: Output only. ResourceStatus representing the detailed node pool// status.Status *ResourceStatus `json:"status,omitempty"`// Uid: Output only. The unique identifier of the bare metal node pool.Uidstring `json:"uid,omitempty"`// UpdateTime: Output only. The time at which this bare metal node pool was// last updated.UpdateTimestring `json:"updateTime,omitempty"`// UpgradePolicy: The worker node pool upgrade policy.UpgradePolicy *BareMetalNodePoolUpgradePolicy `json:"upgradePolicy,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "Annotations") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Annotations") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}BareMetalNodePool: Resource that represents a bare metal node pool.
func (BareMetalNodePool)MarshalJSON¶
func (sBareMetalNodePool) MarshalJSON() ([]byte,error)
typeBareMetalNodePoolConfig¶
type BareMetalNodePoolConfig struct {// KubeletConfig: The modifiable kubelet configurations for the bare metal// machines.KubeletConfig *BareMetalKubeletConfig `json:"kubeletConfig,omitempty"`// Labels: The labels assigned to nodes of this node pool. An object containing// a list of key/value pairs. Example: { "name": "wrench", "mass": "1.3kg",// "count": "3" }.Labels map[string]string `json:"labels,omitempty"`// NodeConfigs: Required. The list of machine addresses in the bare metal node// pool.NodeConfigs []*BareMetalNodeConfig `json:"nodeConfigs,omitempty"`// OperatingSystem: Specifies the nodes operating system (default: LINUX).//// Possible values:// "OPERATING_SYSTEM_UNSPECIFIED" - No operating system runtime selected.// "LINUX" - Linux operating system.OperatingSystemstring `json:"operatingSystem,omitempty"`// Taints: The initial taints assigned to nodes of this node pool.Taints []*NodeTaint `json:"taints,omitempty"`// ForceSendFields is a list of field names (e.g. "KubeletConfig") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "KubeletConfig") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}BareMetalNodePoolConfig: BareMetalNodePoolConfig describes the configurationof all nodes within a given bare metal node pool.
func (BareMetalNodePoolConfig)MarshalJSON¶
func (sBareMetalNodePoolConfig) MarshalJSON() ([]byte,error)
typeBareMetalNodePoolUpgradePolicy¶added inv0.127.0
type BareMetalNodePoolUpgradePolicy struct {// ParallelUpgradeConfig: The parallel upgrade settings for worker node pools.ParallelUpgradeConfig *BareMetalParallelUpgradeConfig `json:"parallelUpgradeConfig,omitempty"`// ForceSendFields is a list of field names (e.g. "ParallelUpgradeConfig") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "ParallelUpgradeConfig") to// include in API requests with the JSON null value. By default, fields with// empty values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}BareMetalNodePoolUpgradePolicy: BareMetalNodePoolUpgradePolicy defines thenode pool upgrade policy.
func (BareMetalNodePoolUpgradePolicy)MarshalJSON¶added inv0.127.0
func (sBareMetalNodePoolUpgradePolicy) MarshalJSON() ([]byte,error)
typeBareMetalOsEnvironmentConfig¶
type BareMetalOsEnvironmentConfig struct {// PackageRepoExcluded: Whether the package repo should not be included when// initializing bare metal machines.PackageRepoExcludedbool `json:"packageRepoExcluded,omitempty"`// ForceSendFields is a list of field names (e.g. "PackageRepoExcluded") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "PackageRepoExcluded") to include// in API requests with the JSON null value. By default, fields with empty// values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}BareMetalOsEnvironmentConfig: Specifies operating system settings forcluster provisioning.
func (BareMetalOsEnvironmentConfig)MarshalJSON¶
func (sBareMetalOsEnvironmentConfig) MarshalJSON() ([]byte,error)
typeBareMetalParallelUpgradeConfig¶added inv0.127.0
type BareMetalParallelUpgradeConfig struct {// ConcurrentNodes: The maximum number of nodes that can be upgraded at once.ConcurrentNodesint64 `json:"concurrentNodes,omitempty"`// MinimumAvailableNodes: The minimum number of nodes that should be healthy// and available during an upgrade. If set to the default value of 0, it is// possible that none of the nodes will be available during an upgrade.MinimumAvailableNodesint64 `json:"minimumAvailableNodes,omitempty"`// ForceSendFields is a list of field names (e.g. "ConcurrentNodes") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "ConcurrentNodes") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}BareMetalParallelUpgradeConfig: BareMetalParallelUpgradeConfig defines theparallel upgrade settings for worker node pools.
func (BareMetalParallelUpgradeConfig)MarshalJSON¶added inv0.127.0
func (sBareMetalParallelUpgradeConfig) MarshalJSON() ([]byte,error)
typeBareMetalPortConfig¶
type BareMetalPortConfig struct {// ControlPlaneLoadBalancerPort: The port that control plane hosted load// balancers will listen on.ControlPlaneLoadBalancerPortint64 `json:"controlPlaneLoadBalancerPort,omitempty"`// ForceSendFields is a list of field names (e.g.// "ControlPlaneLoadBalancerPort") to unconditionally include in API requests.// By default, fields with empty or default values are omitted from API// requests. Seehttps://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields// for more details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "ControlPlaneLoadBalancerPort") to// include in API requests with the JSON null value. By default, fields with// empty values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}BareMetalPortConfig: Specifies load balancer ports for the bare metal usercluster.
func (BareMetalPortConfig)MarshalJSON¶
func (sBareMetalPortConfig) MarshalJSON() ([]byte,error)
typeBareMetalProxyConfig¶
type BareMetalProxyConfig struct {// NoProxy: A list of IPs, hostnames, and domains that should skip the proxy.// Examples: ["127.0.0.1", "example.com", ".corp", "localhost"].NoProxy []string `json:"noProxy,omitempty"`// Uri: Required. Specifies the address of your proxy server. Examples:// `http://domain` Do not provide credentials in the format// `http://(username:password@)domain` these will be rejected by the server.Uristring `json:"uri,omitempty"`// ForceSendFields is a list of field names (e.g. "NoProxy") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "NoProxy") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}BareMetalProxyConfig: Specifies the cluster proxy configuration.
func (BareMetalProxyConfig)MarshalJSON¶
func (sBareMetalProxyConfig) MarshalJSON() ([]byte,error)
typeBareMetalSecurityConfig¶
type BareMetalSecurityConfig struct {// Authorization: Configures user access to the user cluster.Authorization *Authorization `json:"authorization,omitempty"`// ForceSendFields is a list of field names (e.g. "Authorization") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Authorization") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}BareMetalSecurityConfig: Specifies the security related settings for thebare metal user cluster.
func (BareMetalSecurityConfig)MarshalJSON¶
func (sBareMetalSecurityConfig) MarshalJSON() ([]byte,error)
typeBareMetalSrIovConfig¶
type BareMetalSrIovConfig struct {// Enabled: Whether to install the SR-IOV operator.Enabledbool `json:"enabled,omitempty"`// ForceSendFields is a list of field names (e.g. "Enabled") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}BareMetalSrIovConfig: Specifies the SR-IOV networking operator config.
func (BareMetalSrIovConfig)MarshalJSON¶
func (sBareMetalSrIovConfig) MarshalJSON() ([]byte,error)
typeBareMetalStorageConfig¶
type BareMetalStorageConfig struct {// LvpNodeMountsConfig: Required. Specifies the config for local// PersistentVolumes backed by mounted node disks. These disks need to be// formatted and mounted by the user, which can be done before or after cluster// creation.LvpNodeMountsConfig *BareMetalLvpConfig `json:"lvpNodeMountsConfig,omitempty"`// LvpShareConfig: Required. Specifies the config for local PersistentVolumes// backed by subdirectories in a shared filesystem. These subdirectores are// automatically created during cluster creation.LvpShareConfig *BareMetalLvpShareConfig `json:"lvpShareConfig,omitempty"`// ForceSendFields is a list of field names (e.g. "LvpNodeMountsConfig") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "LvpNodeMountsConfig") to include// in API requests with the JSON null value. By default, fields with empty// values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}BareMetalStorageConfig: BareMetalStorageConfig specifies the cluster storageconfiguration.
func (BareMetalStorageConfig)MarshalJSON¶
func (sBareMetalStorageConfig) MarshalJSON() ([]byte,error)
typeBareMetalVersionInfo¶
type BareMetalVersionInfo struct {// Dependencies: The list of upgrade dependencies for this version.Dependencies []*UpgradeDependency `json:"dependencies,omitempty"`// HasDependencies: If set, the cluster dependencies (e.g. the admin cluster,// other user clusters managed by the same admin cluster, version skew policy,// etc) must be upgraded before this version can be installed or upgraded to.HasDependenciesbool `json:"hasDependencies,omitempty"`// Version: Version number e.g. 1.13.1.Versionstring `json:"version,omitempty"`// ForceSendFields is a list of field names (e.g. "Dependencies") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Dependencies") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}BareMetalVersionInfo: Contains information about a specific Anthos on baremetal version.
func (BareMetalVersionInfo)MarshalJSON¶
func (sBareMetalVersionInfo) MarshalJSON() ([]byte,error)
typeBareMetalVipConfig¶
type BareMetalVipConfig struct {// ControlPlaneVip: The VIP which you previously set aside for the Kubernetes// API of this bare metal user cluster.ControlPlaneVipstring `json:"controlPlaneVip,omitempty"`// IngressVip: The VIP which you previously set aside for ingress traffic into// this bare metal user cluster.IngressVipstring `json:"ingressVip,omitempty"`// ForceSendFields is a list of field names (e.g. "ControlPlaneVip") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "ControlPlaneVip") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}BareMetalVipConfig: Specifies the VIP config for the bare metal loadbalancer.
func (BareMetalVipConfig)MarshalJSON¶
func (sBareMetalVipConfig) MarshalJSON() ([]byte,error)
typeBareMetalWorkloadNodeConfig¶
type BareMetalWorkloadNodeConfig struct {// ContainerRuntime: Specifies which container runtime will be used.//// Possible values:// "CONTAINER_RUNTIME_UNSPECIFIED" - No container runtime selected.// "CONTAINERD" - Containerd runtime.ContainerRuntimestring `json:"containerRuntime,omitempty"`// MaxPodsPerNode: The maximum number of pods a node can run. The size of the// CIDR range assigned to the node will be derived from this parameter.MaxPodsPerNodeint64 `json:"maxPodsPerNode,omitempty,string"`// ForceSendFields is a list of field names (e.g. "ContainerRuntime") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "ContainerRuntime") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}BareMetalWorkloadNodeConfig: Specifies the workload node configurations.
func (BareMetalWorkloadNodeConfig)MarshalJSON¶
func (sBareMetalWorkloadNodeConfig) MarshalJSON() ([]byte,error)
typeBinaryAuthorization¶added inv0.139.0
type BinaryAuthorization struct {// EvaluationMode: Mode of operation for binauthz policy evaluation. If// unspecified, defaults to DISABLED.//// Possible values:// "EVALUATION_MODE_UNSPECIFIED" - Default value// "DISABLED" - Disable BinaryAuthorization// "PROJECT_SINGLETON_POLICY_ENFORCE" - Enforce Kubernetes admission requests// with BinaryAuthorization using the project's singleton policy.EvaluationModestring `json:"evaluationMode,omitempty"`// ForceSendFields is a list of field names (e.g. "EvaluationMode") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "EvaluationMode") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}BinaryAuthorization: Configuration for Binary Authorization.
func (BinaryAuthorization)MarshalJSON¶added inv0.139.0
func (sBinaryAuthorization) MarshalJSON() ([]byte,error)
typeBinding¶
type Binding struct {// Condition: The condition that is associated with this binding. If the// condition evaluates to `true`, then this binding applies to the current// request. If the condition evaluates to `false`, then this binding does not// apply to the current request. However, a different role binding might grant// the same role to one or more of the principals in this binding. To learn// which resources support conditions in their IAM policies, see the IAM// documentation// (https://cloud.google.com/iam/help/conditions/resource-policies).Condition *Expr `json:"condition,omitempty"`// Members: Specifies the principals requesting access for a Google Cloud// resource. `members` can have the following values: * `allUsers`: A special// identifier that represents anyone who is on the internet; with or without a// Google account. * `allAuthenticatedUsers`: A special identifier that// represents anyone who is authenticated with a Google account or a service// account. Does not include identities that come from external identity// providers (IdPs) through identity federation. * `user:{emailid}`: An email// address that represents a specific Google account. For example,// `alice@example.com` . * `serviceAccount:{emailid}`: An email address that// represents a Google service account. For example,// `my-other-app@appspot.gserviceaccount.com`. *// `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An// identifier for a Kubernetes service account// (https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts).// For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. *// `group:{emailid}`: An email address that represents a Google group. For// example, `admins@example.com`. * `domain:{domain}`: The G Suite domain// (primary) that represents all the users of that domain. For example,// `google.com` or `example.com`. *// `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/sub// ject/{subject_attribute_value}`: A single identity in a workforce identity// pool. *// `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/// group/{group_id}`: All workforce identities in a group. *// `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/// attribute.{attribute_name}/{attribute_value}`: All workforce identities with// a specific attribute value. *// `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/// *`: All identities in a workforce identity pool. *// `principal://iam.googleapis.com/projects/{project_number}/locations/global/wo// rkloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: A single// identity in a workload identity pool. *// `principalSet://iam.googleapis.com/projects/{project_number}/locations/global// /workloadIdentityPools/{pool_id}/group/{group_id}`: A workload identity pool// group. *// `principalSet://iam.googleapis.com/projects/{project_number}/locations/global// /workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}// `: All identities in a workload identity pool with a certain attribute. *// `principalSet://iam.googleapis.com/projects/{project_number}/locations/global// /workloadIdentityPools/{pool_id}/*`: All identities in a workload identity// pool. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus// unique identifier) representing a user that has been recently deleted. For// example, `alice@example.com?uid=123456789012345678901`. If the user is// recovered, this value reverts to `user:{emailid}` and the recovered user// retains the role in the binding. *// `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus// unique identifier) representing a service account that has been recently// deleted. For example,// `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the// service account is undeleted, this value reverts to// `serviceAccount:{emailid}` and the undeleted service account retains the// role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email// address (plus unique identifier) representing a Google group that has been// recently deleted. For example,// `admins@example.com?uid=123456789012345678901`. If the group is recovered,// this value reverts to `group:{emailid}` and the recovered group retains the// role in the binding. *// `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool// _id}/subject/{subject_attribute_value}`: Deleted single identity in a// workforce identity pool. For example,// `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-po// ol-id/subject/my-subject-attribute-value`.Members []string `json:"members,omitempty"`// Role: Role that is assigned to the list of `members`, or principals. For// example, `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview// of the IAM roles and permissions, see the IAM documentation// (https://cloud.google.com/iam/docs/roles-overview). For a list of the// available pre-defined roles, see here// (https://cloud.google.com/iam/docs/understanding-roles).Rolestring `json:"role,omitempty"`// ForceSendFields is a list of field names (e.g. "Condition") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Condition") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}Binding: Associates `members`, or principals, with a `role`.
func (Binding)MarshalJSON¶
typeCancelOperationRequest¶
type CancelOperationRequest struct {}CancelOperationRequest: The request message for Operations.CancelOperation.
typeClusterUser¶
type ClusterUser struct {// Username: Required. The name of the user, e.g. `my-gcp-id@gmail.com`.Usernamestring `json:"username,omitempty"`// ForceSendFields is a list of field names (e.g. "Username") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Username") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}ClusterUser: ClusterUser configures user principals for an RBAC policy.
func (ClusterUser)MarshalJSON¶
func (sClusterUser) MarshalJSON() ([]byte,error)
typeEmpty¶
type Empty struct {// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`}Empty: A generic empty message that you can re-use to avoid definingduplicated empty messages in your APIs. A typical example is to use it asthe request or the response type of an API method. For instance: service Foo{ rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }
typeEnrollBareMetalAdminClusterRequest¶
type EnrollBareMetalAdminClusterRequest struct {// BareMetalAdminClusterId: User provided OnePlatform identifier that is used// as part of the resource name. This must be unique among all GKE on-prem// clusters within a project and location and will return a 409 if the cluster// already exists. (https://tools.ietf.org/html/rfc1123) format.BareMetalAdminClusterIdstring `json:"bareMetalAdminClusterId,omitempty"`// Membership: Required. This is the full resource name of this admin cluster's// fleet membership.Membershipstring `json:"membership,omitempty"`// ForceSendFields is a list of field names (e.g. "BareMetalAdminClusterId") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "BareMetalAdminClusterId") to// include in API requests with the JSON null value. By default, fields with// empty values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}EnrollBareMetalAdminClusterRequest: Message for enrolling an existing baremetal admin cluster to the GKE on-prem API.
func (EnrollBareMetalAdminClusterRequest)MarshalJSON¶
func (sEnrollBareMetalAdminClusterRequest) MarshalJSON() ([]byte,error)
typeEnrollBareMetalClusterRequest¶
type EnrollBareMetalClusterRequest struct {// AdminClusterMembership: Required. The admin cluster this bare metal user// cluster belongs to. This is the full resource name of the admin cluster's// fleet membership. In the future, references to other resource types might be// allowed if admin clusters are modeled as their own resources.AdminClusterMembershipstring `json:"adminClusterMembership,omitempty"`// BareMetalClusterId: User provided OnePlatform identifier that is used as// part of the resource name. This must be unique among all bare metal clusters// within a project and location and will return a 409 if the cluster already// exists. (https://tools.ietf.org/html/rfc1123) format.BareMetalClusterIdstring `json:"bareMetalClusterId,omitempty"`// LocalName: Optional. The object name of the bare metal cluster custom// resource on the associated admin cluster. This field is used to support// conflicting resource names when enrolling existing clusters to the API. When// not provided, this field will resolve to the bare_metal_cluster_id.// Otherwise, it must match the object name of the bare metal cluster custom// resource. It is not modifiable outside / beyond the enrollment operation.LocalNamestring `json:"localName,omitempty"`// LocalNamespace: Optional. The namespace of the cluster.LocalNamespacestring `json:"localNamespace,omitempty"`// ForceSendFields is a list of field names (e.g. "AdminClusterMembership") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AdminClusterMembership") to// include in API requests with the JSON null value. By default, fields with// empty values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}EnrollBareMetalClusterRequest: Message for enrolling an existing bare metalcluster to the Anthos On-Prem API.
func (EnrollBareMetalClusterRequest)MarshalJSON¶
func (sEnrollBareMetalClusterRequest) MarshalJSON() ([]byte,error)
typeEnrollBareMetalNodePoolRequest¶
type EnrollBareMetalNodePoolRequest struct {// BareMetalNodePoolId: User provided OnePlatform identifier that is used as// part of the resource name. (https://tools.ietf.org/html/rfc1123) format.BareMetalNodePoolIdstring `json:"bareMetalNodePoolId,omitempty"`// ValidateOnly: If set, only validate the request, but do not actually enroll// the node pool.ValidateOnlybool `json:"validateOnly,omitempty"`// ForceSendFields is a list of field names (e.g. "BareMetalNodePoolId") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "BareMetalNodePoolId") to include// in API requests with the JSON null value. By default, fields with empty// values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}EnrollBareMetalNodePoolRequest: Message for enrolling an existing bare metalnode pool to the GKE on-prem API.
func (EnrollBareMetalNodePoolRequest)MarshalJSON¶
func (sEnrollBareMetalNodePoolRequest) MarshalJSON() ([]byte,error)
typeEnrollVmwareAdminClusterRequest¶
type EnrollVmwareAdminClusterRequest struct {// Membership: Required. This is the full resource name of this admin cluster's// fleet membership.Membershipstring `json:"membership,omitempty"`// VmwareAdminClusterId: User provided OnePlatform identifier that is used as// part of the resource name. This must be unique among all GKE on-prem// clusters within a project and location and will return a 409 if the cluster// already exists. (https://tools.ietf.org/html/rfc1123) format.VmwareAdminClusterIdstring `json:"vmwareAdminClusterId,omitempty"`// ForceSendFields is a list of field names (e.g. "Membership") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Membership") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}EnrollVmwareAdminClusterRequest: Message for enrolling an existing VMwareadmin cluster to the GKE on-prem API.
func (EnrollVmwareAdminClusterRequest)MarshalJSON¶
func (sEnrollVmwareAdminClusterRequest) MarshalJSON() ([]byte,error)
typeEnrollVmwareClusterRequest¶
type EnrollVmwareClusterRequest struct {// AdminClusterMembership: Required. The admin cluster this VMware user cluster// belongs to. This is the full resource name of the admin cluster's fleet// membership. In the future, references to other resource types might be// allowed if admin clusters are modeled as their own resources.AdminClusterMembershipstring `json:"adminClusterMembership,omitempty"`// LocalName: Optional. The object name of the VMware OnPremUserCluster custom// resource on the associated admin cluster. This field is used to support// conflicting resource names when enrolling existing clusters to the API. When// not provided, this field will resolve to the vmware_cluster_id. Otherwise,// it must match the object name of the VMware OnPremUserCluster custom// resource. It is not modifiable outside / beyond the enrollment operation.LocalNamestring `json:"localName,omitempty"`// ValidateOnly: Validate the request without actually doing any updates.ValidateOnlybool `json:"validateOnly,omitempty"`// VmwareClusterId: User provided OnePlatform identifier that is used as part// of the resource name. This must be unique among all GKE on-prem clusters// within a project and location and will return a 409 if the cluster already// exists. (https://tools.ietf.org/html/rfc1123) format.VmwareClusterIdstring `json:"vmwareClusterId,omitempty"`// ForceSendFields is a list of field names (e.g. "AdminClusterMembership") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AdminClusterMembership") to// include in API requests with the JSON null value. By default, fields with// empty values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}EnrollVmwareClusterRequest: Message for enrolling an existing VMware clusterto the Anthos On-Prem API.
func (EnrollVmwareClusterRequest)MarshalJSON¶
func (sEnrollVmwareClusterRequest) MarshalJSON() ([]byte,error)
typeEnrollVmwareNodePoolRequest¶
type EnrollVmwareNodePoolRequest struct {// VmwareNodePoolId: The target node pool id to be enrolled.VmwareNodePoolIdstring `json:"vmwareNodePoolId,omitempty"`// ForceSendFields is a list of field names (e.g. "VmwareNodePoolId") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "VmwareNodePoolId") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}EnrollVmwareNodePoolRequest: Message for enrolling a VMware node pool.
func (EnrollVmwareNodePoolRequest)MarshalJSON¶
func (sEnrollVmwareNodePoolRequest) MarshalJSON() ([]byte,error)
typeExpr¶
type Expr struct {// Description: Optional. Description of the expression. This is a longer text// which describes the expression, e.g. when hovered over it in a UI.Descriptionstring `json:"description,omitempty"`// Expression: Textual representation of an expression in Common Expression// Language syntax.Expressionstring `json:"expression,omitempty"`// Location: Optional. String indicating the location of the expression for// error reporting, e.g. a file name and a position in the file.Locationstring `json:"location,omitempty"`// Title: Optional. Title for the expression, i.e. a short string describing// its purpose. This can be used e.g. in UIs which allow to enter the// expression.Titlestring `json:"title,omitempty"`// ForceSendFields is a list of field names (e.g. "Description") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Description") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}Expr: Represents a textual expression in the Common Expression Language(CEL) syntax. CEL is a C-like expression language. The syntax and semanticsof CEL are documented athttps://github.com/google/cel-spec. Example(Comparison): title: "Summary size limit" description: "Determines if asummary is less than 100 chars" expression: "document.summary.size() < 100"Example (Equality): title: "Requestor is owner" description: "Determines ifrequestor is the document owner" expression: "document.owner ==request.auth.claims.email" Example (Logic): title: "Public documents"description: "Determine whether the document should be publicly visible"expression: "document.type != 'private' && document.type != 'internal'"Example (Data Manipulation): title: "Notification string" description:"Create a notification string with a timestamp." expression: "'New messagereceived at ' + string(document.create_time)" The exact variables andfunctions that may be referenced within an expression are determined by theservice that evaluates it. See the service documentation for additionalinformation.
func (Expr)MarshalJSON¶
typeFleet¶
type Fleet struct {// Membership: Output only. The name of the managed fleet Membership resource// associated to this cluster. Membership names are formatted as// `projects//locations//memberships/`.Membershipstring `json:"membership,omitempty"`// ForceSendFields is a list of field names (e.g. "Membership") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Membership") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}Fleet: Fleet related configuration. Fleets are a Google Cloud concept forlogically organizing clusters, letting you use and manage multi-clustercapabilities and apply consistent policies across your systems. See AnthosFleets (`https://cloud.google.com/anthos/multicluster-management/fleets`)for more details on Anthos multi-cluster capabilities using Fleets. ##
func (Fleet)MarshalJSON¶
typeListBareMetalAdminClustersResponse¶
type ListBareMetalAdminClustersResponse struct {// BareMetalAdminClusters: The list of bare metal admin cluster.BareMetalAdminClusters []*BareMetalAdminCluster `json:"bareMetalAdminClusters,omitempty"`// NextPageToken: A token identifying a page of results the server should// return. If the token is not empty this means that more results are available// and should be retrieved by repeating the request with the provided page// token.NextPageTokenstring `json:"nextPageToken,omitempty"`// Unreachable: Locations that could not be reached.Unreachable []string `json:"unreachable,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "BareMetalAdminClusters") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "BareMetalAdminClusters") to// include in API requests with the JSON null value. By default, fields with// empty values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}ListBareMetalAdminClustersResponse: Response message for listing bare metaladmin clusters.
func (ListBareMetalAdminClustersResponse)MarshalJSON¶
func (sListBareMetalAdminClustersResponse) MarshalJSON() ([]byte,error)
typeListBareMetalClustersResponse¶
type ListBareMetalClustersResponse struct {// BareMetalClusters: The list of bare metal Clusters.BareMetalClusters []*BareMetalCluster `json:"bareMetalClusters,omitempty"`// NextPageToken: A token identifying a page of results the server should// return. If the token is not empty this means that more results are available// and should be retrieved by repeating the request with the provided page// token.NextPageTokenstring `json:"nextPageToken,omitempty"`// Unreachable: Locations that could not be reached.Unreachable []string `json:"unreachable,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "BareMetalClusters") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "BareMetalClusters") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}ListBareMetalClustersResponse: Response message for listing bare metalClusters.
func (ListBareMetalClustersResponse)MarshalJSON¶
func (sListBareMetalClustersResponse) MarshalJSON() ([]byte,error)
typeListBareMetalNodePoolsResponse¶
type ListBareMetalNodePoolsResponse struct {// BareMetalNodePools: The node pools from the specified parent resource.BareMetalNodePools []*BareMetalNodePool `json:"bareMetalNodePools,omitempty"`// NextPageToken: A token, which can be sent as `page_token` to retrieve the// next page. If this field is omitted, there are no subsequent pages.NextPageTokenstring `json:"nextPageToken,omitempty"`// Unreachable: Locations that could not be reached.Unreachable []string `json:"unreachable,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "BareMetalNodePools") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "BareMetalNodePools") to include// in API requests with the JSON null value. By default, fields with empty// values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}ListBareMetalNodePoolsResponse: Response message for listing bare metal nodepools.
func (ListBareMetalNodePoolsResponse)MarshalJSON¶
func (sListBareMetalNodePoolsResponse) MarshalJSON() ([]byte,error)
typeListLocationsResponse¶
type ListLocationsResponse struct {// Locations: A list of locations that matches the specified filter in the// request.Locations []*Location `json:"locations,omitempty"`// NextPageToken: The standard List next-page token.NextPageTokenstring `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 or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}ListLocationsResponse: The response message for Locations.ListLocations.
func (ListLocationsResponse)MarshalJSON¶
func (sListLocationsResponse) MarshalJSON() ([]byte,error)
typeListOperationsResponse¶
type ListOperationsResponse struct {// NextPageToken: The standard List next-page token.NextPageTokenstring `json:"nextPageToken,omitempty"`// Operations: A list of operations that matches the specified filter in the// request.Operations []*Operation `json:"operations,omitempty"`// Unreachable: Unordered list. Unreachable resources. Populated when the// request sets `ListOperationsRequest.return_partial_success` and reads across// collections e.g. when attempting to list all resources across all supported// locations.Unreachable []string `json:"unreachable,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "NextPageToken") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "NextPageToken") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}ListOperationsResponse: The response message for Operations.ListOperations.
func (ListOperationsResponse)MarshalJSON¶
func (sListOperationsResponse) MarshalJSON() ([]byte,error)
typeListVmwareAdminClustersResponse¶
type ListVmwareAdminClustersResponse struct {// NextPageToken: A token identifying a page of results the server should// return. If the token is not empty this means that more results are available// and should be retrieved by repeating the request with the provided page// token.NextPageTokenstring `json:"nextPageToken,omitempty"`// Unreachable: Locations that could not be reached.Unreachable []string `json:"unreachable,omitempty"`// VmwareAdminClusters: The list of VMware admin cluster.VmwareAdminClusters []*VmwareAdminCluster `json:"vmwareAdminClusters,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "NextPageToken") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "NextPageToken") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}ListVmwareAdminClustersResponse: Response message for listing VMware adminclusters.
func (ListVmwareAdminClustersResponse)MarshalJSON¶
func (sListVmwareAdminClustersResponse) MarshalJSON() ([]byte,error)
typeListVmwareClustersResponse¶
type ListVmwareClustersResponse struct {// NextPageToken: A token identifying a page of results the server should// return. If the token is not empty this means that more results are available// and should be retrieved by repeating the request with the provided page// token.NextPageTokenstring `json:"nextPageToken,omitempty"`// Unreachable: Locations that could not be reached.Unreachable []string `json:"unreachable,omitempty"`// VmwareClusters: The list of VMware Cluster.VmwareClusters []*VmwareCluster `json:"vmwareClusters,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "NextPageToken") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "NextPageToken") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}ListVmwareClustersResponse: Response message for listing VMware Clusters.
func (ListVmwareClustersResponse)MarshalJSON¶
func (sListVmwareClustersResponse) MarshalJSON() ([]byte,error)
typeListVmwareNodePoolsResponse¶
type ListVmwareNodePoolsResponse struct {// NextPageToken: A token, which can be sent as `page_token` to retrieve the// next page. If this field is omitted, there are no subsequent pages.NextPageTokenstring `json:"nextPageToken,omitempty"`// Unreachable: Locations that could not be reached.Unreachable []string `json:"unreachable,omitempty"`// VmwareNodePools: The node pools from the specified parent resource.VmwareNodePools []*VmwareNodePool `json:"vmwareNodePools,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "NextPageToken") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "NextPageToken") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}ListVmwareNodePoolsResponse: Response message for listing VMware node pools.
func (ListVmwareNodePoolsResponse)MarshalJSON¶
func (sListVmwareNodePoolsResponse) MarshalJSON() ([]byte,error)
typeLocation¶
type Location struct {// DisplayName: The friendly name for this location, typically a nearby city// name. For example, "Tokyo".DisplayNamestring `json:"displayName,omitempty"`// Labels: Cross-service attributes for the location. For example// {"cloud.googleapis.com/region": "us-east1"}Labels map[string]string `json:"labels,omitempty"`// LocationId: The canonical id for this location. For example: "us-east1".LocationIdstring `json:"locationId,omitempty"`// Metadata: Service-specific metadata. For example the available capacity at// the given location.Metadatagoogleapi.RawMessage `json:"metadata,omitempty"`// Name: Resource name for the location, which may vary between// implementations. For example:// "projects/example-project/locations/us-east1"Namestring `json:"name,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "DisplayName") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "DisplayName") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}Location: A resource that represents a Google Cloud location.
func (Location)MarshalJSON¶
typeMetric¶added inv0.130.0
type Metric struct {// DoubleValue: For metrics with floating point value.DoubleValuefloat64 `json:"doubleValue,omitempty"`// IntValue: For metrics with integer value.IntValueint64 `json:"intValue,omitempty,string"`// Metric: Required. The metric name.//// Possible values:// "METRIC_ID_UNSPECIFIED" - Not set.// "NODES_TOTAL" - The total number of nodes being actuated.// "NODES_DRAINING" - The number of nodes draining.// "NODES_UPGRADING" - The number of nodes actively upgrading.// "NODES_PENDING_UPGRADE" - The number of nodes to be upgraded.// "NODES_UPGRADED" - The number of nodes upgraded.// "NODES_FAILED" - The number of nodes to fail actuation.// "NODES_HEALTHY" - The number of nodes healthy.// "NODES_RECONCILING" - The number of nodes reconciling.// "NODES_IN_MAINTENANCE" - The number of nodes in maintenance mode.// "PREFLIGHTS_COMPLETED" - The number of completed preflight checks.// "PREFLIGHTS_RUNNING" - The number of preflight checks running.// "PREFLIGHTS_FAILED" - The number of preflight checks failed.// "PREFLIGHTS_TOTAL" - The total number of preflight checks.Metricstring `json:"metric,omitempty"`// StringValue: For metrics with custom values (ratios, visual progress, etc.).StringValuestring `json:"stringValue,omitempty"`// ForceSendFields is a list of field names (e.g. "DoubleValue") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}Metric: Progress metric is (string, int|float|string) pair.
func (Metric)MarshalJSON¶added inv0.130.0
func (*Metric)UnmarshalJSON¶added inv0.130.0
typeNodeTaint¶
type NodeTaint struct {// Effect: The taint effect.//// Possible values:// "EFFECT_UNSPECIFIED" - Not set.// "NO_SCHEDULE" - Do not allow new pods to schedule onto the node unless// they tolerate the taint, but allow all pods submitted to Kubelet without// going through the scheduler to start, and allow all already-running pods to// continue running. Enforced by the scheduler.// "PREFER_NO_SCHEDULE" - Like TaintEffectNoSchedule, but the scheduler tries// not to schedule new pods onto the node, rather than prohibiting new pods// from scheduling onto the node entirely. Enforced by the scheduler.// "NO_EXECUTE" - Evict any already-running pods that do not tolerate the// taint. Currently enforced by NodeController.Effectstring `json:"effect,omitempty"`// Key: Key associated with the effect.Keystring `json:"key,omitempty"`// Value: Value associated with the effect.Valuestring `json:"value,omitempty"`// ForceSendFields is a list of field names (e.g. "Effect") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Effect") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}NodeTaint: NodeTaint applied to every Kubernetes node in a node pool.Kubernetes taints can be used together with tolerations to control howworkloads are scheduled to your nodes. Node taints are permanent.
func (NodeTaint)MarshalJSON¶
typeOperation¶
type Operation struct {// Done: If the value is `false`, it means the operation is still in progress.// If `true`, the operation is completed, and either `error` or `response` is// available.Donebool `json:"done,omitempty"`// Error: The error result of the operation in case of failure or cancellation.Error *Status `json:"error,omitempty"`// Metadata: Service-specific metadata associated with the operation. It// typically contains progress information and common metadata such as create// time. Some services might not provide such metadata. Any method that returns// a long-running operation should document the metadata type, if any.Metadatagoogleapi.RawMessage `json:"metadata,omitempty"`// Name: The server-assigned name, which is only unique within the same service// that originally returns it. If you use the default HTTP mapping, the `name`// should be a resource name ending with `operations/{unique_id}`.Namestring `json:"name,omitempty"`// Response: The normal, successful response of the operation. If the original// method returns no data on success, such as `Delete`, the response is// `google.protobuf.Empty`. If the original method is standard// `Get`/`Create`/`Update`, the response should be the resource. For other// methods, the response should have the type `XxxResponse`, where `Xxx` is the// original method name. For example, if the original method name is// `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.Responsegoogleapi.RawMessage `json:"response,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "Done") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Done") to include in API requests// with the JSON null value. By default, fields with empty values are omitted// from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}Operation: This resource represents a long-running operation that is theresult of a network API call.
func (Operation)MarshalJSON¶
typeOperationMetadata¶
type OperationMetadata struct {// ApiVersion: Output only. API version used to start the operation.ApiVersionstring `json:"apiVersion,omitempty"`// ControlPlaneDisconnected: Output only. Denotes if the local managing// cluster's control plane is currently disconnected. This is expected to occur// temporarily during self-managed cluster upgrades.ControlPlaneDisconnectedbool `json:"controlPlaneDisconnected,omitempty"`// CreateTime: Output only. The time the operation was created.CreateTimestring `json:"createTime,omitempty"`// EndTime: Output only. The time the operation finished running.EndTimestring `json:"endTime,omitempty"`// Progress: Output only. Detailed progress information for the operation.Progress *OperationProgress `json:"progress,omitempty"`// RequestedCancellation: Output only. Identifies whether the user has// requested cancellation of the operation. Operations that have successfully// been cancelled have [Operation.error] value with a [google.rpc.Status.code]// of 1, corresponding to `Code.CANCELLED`.RequestedCancellationbool `json:"requestedCancellation,omitempty"`// StatusMessage: Output only. Human-readable status of the operation, if any.StatusMessagestring `json:"statusMessage,omitempty"`// Target: Output only. Server-defined resource path for the target of the// operation.Targetstring `json:"target,omitempty"`// Type: Output only. Type of operation being executed.//// Possible values:// "OPERATION_TYPE_UNSPECIFIED" - Not set.// "CREATE" - The resource is being created.// "DELETE" - The resource is being deleted.// "UPDATE" - The resource is being updated.// "UPGRADE" - The resource is being upgraded.// "PLATFORM_UPGRADE" - The platform is being upgraded.Typestring `json:"type,omitempty"`// Verb: Output only. Name of the verb executed by the operation.Verbstring `json:"verb,omitempty"`// ForceSendFields is a list of field names (e.g. "ApiVersion") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "ApiVersion") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}OperationMetadata: Represents the metadata of the long-running operation.
func (OperationMetadata)MarshalJSON¶
func (sOperationMetadata) MarshalJSON() ([]byte,error)
typeOperationProgress¶added inv0.130.0
type OperationProgress struct {// Stages: The stages of the operation.Stages []*OperationStage `json:"stages,omitempty"`// ForceSendFields is a list of field names (e.g. "Stages") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Stages") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}OperationProgress: Information about operation progress.
func (OperationProgress)MarshalJSON¶added inv0.130.0
func (sOperationProgress) MarshalJSON() ([]byte,error)
typeOperationStage¶added inv0.130.0
type OperationStage struct {// EndTime: Time the stage ended.EndTimestring `json:"endTime,omitempty"`// Metrics: Progress metric bundle.Metrics []*Metric `json:"metrics,omitempty"`// Stage: The high-level stage of the operation.//// Possible values:// "STAGE_UNSPECIFIED" - Not set.// "PREFLIGHT_CHECK" - Preflight checks are running.// "CONFIGURE" - Resource is being configured.// "DEPLOY" - Resource is being deployed.// "HEALTH_CHECK" - Waiting for the resource to become healthy.// "UPDATE" - Resource is being updated.Stagestring `json:"stage,omitempty"`// StartTime: Time the stage started.StartTimestring `json:"startTime,omitempty"`// State: Output only. State of the stage.//// Possible values:// "STATE_UNSPECIFIED" - Not set.// "PENDING" - The stage is pending.// "RUNNING" - The stage is running// "SUCCEEDED" - The stage has completed successfully.// "FAILED" - The stage has failed.Statestring `json:"state,omitempty"`// ForceSendFields is a list of field names (e.g. "EndTime") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "EndTime") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}OperationStage: Information about a particular stage of an operation.
func (OperationStage)MarshalJSON¶added inv0.130.0
func (sOperationStage) MarshalJSON() ([]byte,error)
typePolicy¶
type Policy struct {// Bindings: Associates a list of `members`, or principals, with a `role`.// Optionally, may specify a `condition` that determines how and when the// `bindings` are applied. Each of the `bindings` must contain at least one// principal. The `bindings` in a `Policy` can refer to up to 1,500 principals;// up to 250 of these principals can be Google groups. Each occurrence of a// principal counts towards these limits. For example, if the `bindings` grant// 50 different roles to `user:alice@example.com`, and not to any other// principal, then you can add another 1,450 principals to the `bindings` in// the `Policy`.Bindings []*Binding `json:"bindings,omitempty"`// Etag: `etag` is used for optimistic concurrency control as a way to help// prevent simultaneous updates of a policy from overwriting each other. It is// strongly suggested that systems make use of the `etag` in the// read-modify-write cycle to perform policy updates in order to avoid race// conditions: An `etag` is returned in the response to `getIamPolicy`, and// systems are expected to put that etag in the request to `setIamPolicy` to// ensure that their change will be applied to the same version of the policy.// **Important:** If you use IAM Conditions, you must include the `etag` field// whenever you call `setIamPolicy`. If you omit this field, then IAM allows// you to overwrite a version `3` policy with a version `1` policy, and all of// the conditions in the version `3` policy are lost.Etagstring `json:"etag,omitempty"`// Version: Specifies the format of the policy. Valid values are `0`, `1`, and// `3`. Requests that specify an invalid value are rejected. Any operation that// affects conditional role bindings must specify version `3`. This requirement// applies to the following operations: * Getting a policy that includes a// conditional role binding * Adding a conditional role binding to a policy *// Changing a conditional role binding in a policy * Removing any role binding,// with or without a condition, from a policy that includes conditions// **Important:** If you use IAM Conditions, you must include the `etag` field// whenever you call `setIamPolicy`. If you omit this field, then IAM allows// you to overwrite a version `3` policy with a version `1` policy, and all of// the conditions in the version `3` policy are lost. If a policy does not// include any conditions, operations on that policy may specify any valid// version or leave the field unset. To learn which resources support// conditions in their IAM policies, see the IAM documentation// (https://cloud.google.com/iam/help/conditions/resource-policies).Versionint64 `json:"version,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "Bindings") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Bindings") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}Policy: An Identity and Access Management (IAM) policy, which specifiesaccess controls for Google Cloud resources. A `Policy` is a collection of`bindings`. A `binding` binds one or more `members`, or principals, to asingle `role`. Principals can be user accounts, service accounts, Googlegroups, and domains (such as G Suite). A `role` is a named list ofpermissions; each `role` can be an IAM predefined role or a user-createdcustom role. For some types of Google Cloud resources, a `binding` can alsospecify a `condition`, which is a logical expression that allows access to aresource only if the expression evaluates to `true`. A condition can addconstraints based on attributes of the request, the resource, or both. Tolearn which resources support conditions in their IAM policies, see the IAMdocumentation(https://cloud.google.com/iam/help/conditions/resource-policies). **JSONexample:** ``` { "bindings": [ { "role":"roles/resourcemanager.organizationAdmin", "members": ["user:mike@example.com", "group:admins@example.com", "domain:google.com","serviceAccount:my-project-id@appspot.gserviceaccount.com" ] }, { "role":"roles/resourcemanager.organizationViewer", "members": ["user:eve@example.com" ], "condition": { "title": "expirable access","description": "Does not grant access after Sep 2020", "expression":"request.time < timestamp('2020-10-01T00:00:00.000Z')", } } ], "etag":"BwWWja0YfJA=", "version": 3 } ``` **YAML example:** ``` bindings: -members: - user:mike@example.com - group:admins@example.com -domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.comrole: roles/resourcemanager.organizationAdmin - members: -user:eve@example.com role: roles/resourcemanager.organizationViewercondition: title: expirable access description: Does not grant access afterSep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z')etag: BwWWja0YfJA= version: 3 ``` For a description of IAM and its features,see the IAM documentation (https://cloud.google.com/iam/docs/).
func (Policy)MarshalJSON¶
typeProjectsLocationsBareMetalAdminClustersCreateCall¶
type ProjectsLocationsBareMetalAdminClustersCreateCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsBareMetalAdminClustersCreateCall)AllowPreflightFailure¶added inv0.195.0
func (c *ProjectsLocationsBareMetalAdminClustersCreateCall) AllowPreflightFailure(allowPreflightFailurebool) *ProjectsLocationsBareMetalAdminClustersCreateCall
AllowPreflightFailure sets the optional parameter "allowPreflightFailure":If set to true, CLM will force CCFE to persist the cluster resource in RMSwhen the creation fails during standalone preflight checks. In that case thesubsequent create call will fail with "cluster already exists" error andhence a update cluster is required to fix the cluster.
func (*ProjectsLocationsBareMetalAdminClustersCreateCall)BareMetalAdminClusterId¶
func (c *ProjectsLocationsBareMetalAdminClustersCreateCall) BareMetalAdminClusterId(bareMetalAdminClusterIdstring) *ProjectsLocationsBareMetalAdminClustersCreateCall
BareMetalAdminClusterId sets the optional parameter"bareMetalAdminClusterId": Required. User provided identifier that is usedas part of the resource name; must conform to RFC-1034 and additionallyrestrict to lower-cased letters. This comes out roughly to: /^a-z+[a-z0-9]$/
func (*ProjectsLocationsBareMetalAdminClustersCreateCall)Context¶
func (c *ProjectsLocationsBareMetalAdminClustersCreateCall) Context(ctxcontext.Context) *ProjectsLocationsBareMetalAdminClustersCreateCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsBareMetalAdminClustersCreateCall)Do¶
func (c *ProjectsLocationsBareMetalAdminClustersCreateCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "gkeonprem.projects.locations.bareMetalAdminClusters.create" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsBareMetalAdminClustersCreateCall)Fields¶
func (c *ProjectsLocationsBareMetalAdminClustersCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsBareMetalAdminClustersCreateCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsBareMetalAdminClustersCreateCall)Header¶
func (c *ProjectsLocationsBareMetalAdminClustersCreateCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsBareMetalAdminClustersCreateCall)ValidateOnly¶
func (c *ProjectsLocationsBareMetalAdminClustersCreateCall) ValidateOnly(validateOnlybool) *ProjectsLocationsBareMetalAdminClustersCreateCall
ValidateOnly sets the optional parameter "validateOnly": Validate therequest without actually doing any updates.
typeProjectsLocationsBareMetalAdminClustersEnrollCall¶
type ProjectsLocationsBareMetalAdminClustersEnrollCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsBareMetalAdminClustersEnrollCall)Context¶
func (c *ProjectsLocationsBareMetalAdminClustersEnrollCall) Context(ctxcontext.Context) *ProjectsLocationsBareMetalAdminClustersEnrollCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsBareMetalAdminClustersEnrollCall)Do¶
func (c *ProjectsLocationsBareMetalAdminClustersEnrollCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "gkeonprem.projects.locations.bareMetalAdminClusters.enroll" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsBareMetalAdminClustersEnrollCall)Fields¶
func (c *ProjectsLocationsBareMetalAdminClustersEnrollCall) Fields(s ...googleapi.Field) *ProjectsLocationsBareMetalAdminClustersEnrollCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsBareMetalAdminClustersEnrollCall)Header¶
func (c *ProjectsLocationsBareMetalAdminClustersEnrollCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsBareMetalAdminClustersGetCall¶
type ProjectsLocationsBareMetalAdminClustersGetCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsBareMetalAdminClustersGetCall)AllowMissing¶added inv0.195.0
func (c *ProjectsLocationsBareMetalAdminClustersGetCall) AllowMissing(allowMissingbool) *ProjectsLocationsBareMetalAdminClustersGetCall
AllowMissing sets the optional parameter "allowMissing": If true, returnBareMetal Admin Cluster including the one that only exists in RMS.
func (*ProjectsLocationsBareMetalAdminClustersGetCall)Context¶
func (c *ProjectsLocationsBareMetalAdminClustersGetCall) Context(ctxcontext.Context) *ProjectsLocationsBareMetalAdminClustersGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsBareMetalAdminClustersGetCall)Do¶
func (c *ProjectsLocationsBareMetalAdminClustersGetCall) Do(opts ...googleapi.CallOption) (*BareMetalAdminCluster,error)
Do executes the "gkeonprem.projects.locations.bareMetalAdminClusters.get" call.Any non-2xx status code is an error. Response headers are in either*BareMetalAdminCluster.ServerResponse.Header or (if a response was returnedat all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModified wasreturned.
func (*ProjectsLocationsBareMetalAdminClustersGetCall)Fields¶
func (c *ProjectsLocationsBareMetalAdminClustersGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsBareMetalAdminClustersGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsBareMetalAdminClustersGetCall)Header¶
func (c *ProjectsLocationsBareMetalAdminClustersGetCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsBareMetalAdminClustersGetCall)IfNoneMatch¶
func (c *ProjectsLocationsBareMetalAdminClustersGetCall) IfNoneMatch(entityTagstring) *ProjectsLocationsBareMetalAdminClustersGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
func (*ProjectsLocationsBareMetalAdminClustersGetCall)View¶added inv0.123.0
func (c *ProjectsLocationsBareMetalAdminClustersGetCall) View(viewstring) *ProjectsLocationsBareMetalAdminClustersGetCall
View sets the optional parameter "view": View for bare metal admin cluster.When `BASIC` is specified, only the cluster resource name and membership arereturned. The default/unset value `CLUSTER_VIEW_UNSPECIFIED` is the same as`FULL', which returns the complete cluster configuration details.
Possible values:
"CLUSTER_VIEW_UNSPECIFIED" - If the value is not set, the default `FULL`
view is used.
"BASIC" - Includes basic information of a cluster resource including
cluster resource name and membership.
"FULL" - Includes the complete configuration for bare metal admin cluster
resource. This is the default value for GetBareMetalAdminClusterRequestmethod.
typeProjectsLocationsBareMetalAdminClustersGetIamPolicyCall¶
type ProjectsLocationsBareMetalAdminClustersGetIamPolicyCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsBareMetalAdminClustersGetIamPolicyCall)Context¶
func (c *ProjectsLocationsBareMetalAdminClustersGetIamPolicyCall) Context(ctxcontext.Context) *ProjectsLocationsBareMetalAdminClustersGetIamPolicyCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsBareMetalAdminClustersGetIamPolicyCall)Do¶
func (c *ProjectsLocationsBareMetalAdminClustersGetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy,error)
Do executes the "gkeonprem.projects.locations.bareMetalAdminClusters.getIamPolicy" call.Any non-2xx status code is an error. Response headers are in either*Policy.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsBareMetalAdminClustersGetIamPolicyCall)Fields¶
func (c *ProjectsLocationsBareMetalAdminClustersGetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsBareMetalAdminClustersGetIamPolicyCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsBareMetalAdminClustersGetIamPolicyCall)Header¶
func (c *ProjectsLocationsBareMetalAdminClustersGetIamPolicyCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsBareMetalAdminClustersGetIamPolicyCall)IfNoneMatch¶
func (c *ProjectsLocationsBareMetalAdminClustersGetIamPolicyCall) IfNoneMatch(entityTagstring) *ProjectsLocationsBareMetalAdminClustersGetIamPolicyCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
func (*ProjectsLocationsBareMetalAdminClustersGetIamPolicyCall)OptionsRequestedPolicyVersion¶
func (c *ProjectsLocationsBareMetalAdminClustersGetIamPolicyCall) OptionsRequestedPolicyVersion(optionsRequestedPolicyVersionint64) *ProjectsLocationsBareMetalAdminClustersGetIamPolicyCall
OptionsRequestedPolicyVersion sets the optional parameter"options.requestedPolicyVersion": The maximum policy version that will beused to format the policy. Valid values are 0, 1, and 3. Requests specifyingan invalid value will be rejected. Requests for policies with anyconditional role bindings must specify version 3. Policies with noconditional role bindings may specify any valid value or leave the fieldunset. The policy in the response might use the policy version that youspecified, or it might use a lower policy version. For example, if youspecify version 3, but the policy has no conditional role bindings, theresponse uses version 1. To learn which resources support conditions intheir IAM policies, see the IAM documentation(https://cloud.google.com/iam/help/conditions/resource-policies).
typeProjectsLocationsBareMetalAdminClustersListCall¶
type ProjectsLocationsBareMetalAdminClustersListCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsBareMetalAdminClustersListCall)AllowMissing¶added inv0.195.0
func (c *ProjectsLocationsBareMetalAdminClustersListCall) AllowMissing(allowMissingbool) *ProjectsLocationsBareMetalAdminClustersListCall
AllowMissing sets the optional parameter "allowMissing": If true, returnlist of BareMetal Admin Clusters including the ones that only exists in RMS.
func (*ProjectsLocationsBareMetalAdminClustersListCall)Context¶
func (c *ProjectsLocationsBareMetalAdminClustersListCall) Context(ctxcontext.Context) *ProjectsLocationsBareMetalAdminClustersListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsBareMetalAdminClustersListCall)Do¶
func (c *ProjectsLocationsBareMetalAdminClustersListCall) Do(opts ...googleapi.CallOption) (*ListBareMetalAdminClustersResponse,error)
Do executes the "gkeonprem.projects.locations.bareMetalAdminClusters.list" call.Any non-2xx status code is an error. Response headers are in either*ListBareMetalAdminClustersResponse.ServerResponse.Header or (if a responsewas returned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.
func (*ProjectsLocationsBareMetalAdminClustersListCall)Fields¶
func (c *ProjectsLocationsBareMetalAdminClustersListCall) Fields(s ...googleapi.Field) *ProjectsLocationsBareMetalAdminClustersListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsBareMetalAdminClustersListCall)Header¶
func (c *ProjectsLocationsBareMetalAdminClustersListCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsBareMetalAdminClustersListCall)IfNoneMatch¶
func (c *ProjectsLocationsBareMetalAdminClustersListCall) IfNoneMatch(entityTagstring) *ProjectsLocationsBareMetalAdminClustersListCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
func (*ProjectsLocationsBareMetalAdminClustersListCall)PageSize¶
func (c *ProjectsLocationsBareMetalAdminClustersListCall) PageSize(pageSizeint64) *ProjectsLocationsBareMetalAdminClustersListCall
PageSize sets the optional parameter "pageSize": Requested page size. Servermay return fewer items than requested. If unspecified, at most 50 clusterswill be returned. The maximum value is 1000; values above 1000 will becoerced to 1000.
func (*ProjectsLocationsBareMetalAdminClustersListCall)PageToken¶
func (c *ProjectsLocationsBareMetalAdminClustersListCall) PageToken(pageTokenstring) *ProjectsLocationsBareMetalAdminClustersListCall
PageToken sets the optional parameter "pageToken": A token identifying apage of results the server should return.
func (*ProjectsLocationsBareMetalAdminClustersListCall)Pages¶
func (c *ProjectsLocationsBareMetalAdminClustersListCall) Pages(ctxcontext.Context, f func(*ListBareMetalAdminClustersResponse)error)error
Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.
func (*ProjectsLocationsBareMetalAdminClustersListCall)View¶
func (c *ProjectsLocationsBareMetalAdminClustersListCall) View(viewstring) *ProjectsLocationsBareMetalAdminClustersListCall
View sets the optional parameter "view": View for bare metal admin clusters.When `BASIC` is specified, only the admin cluster resource name andmembership are returned. The default/unset value `CLUSTER_VIEW_UNSPECIFIED`is the same as `FULL', which returns the complete admin clusterconfiguration details.
Possible values:
"CLUSTER_VIEW_UNSPECIFIED" - If the value is not set, the default `FULL`
view is used.
"BASIC" - Includes basic information of a admin cluster resource including
admin cluster resource name and membership.
"FULL" - Includes the complete configuration for bare metal admin cluster
resource. This is the default value for ListBareMetalAdminClustersRequestmethod.
typeProjectsLocationsBareMetalAdminClustersOperationsGetCall¶
type ProjectsLocationsBareMetalAdminClustersOperationsGetCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsBareMetalAdminClustersOperationsGetCall)Context¶
func (c *ProjectsLocationsBareMetalAdminClustersOperationsGetCall) Context(ctxcontext.Context) *ProjectsLocationsBareMetalAdminClustersOperationsGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsBareMetalAdminClustersOperationsGetCall)Do¶
func (c *ProjectsLocationsBareMetalAdminClustersOperationsGetCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "gkeonprem.projects.locations.bareMetalAdminClusters.operations.get" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsBareMetalAdminClustersOperationsGetCall)Fields¶
func (c *ProjectsLocationsBareMetalAdminClustersOperationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsBareMetalAdminClustersOperationsGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsBareMetalAdminClustersOperationsGetCall)Header¶
func (c *ProjectsLocationsBareMetalAdminClustersOperationsGetCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsBareMetalAdminClustersOperationsGetCall)IfNoneMatch¶
func (c *ProjectsLocationsBareMetalAdminClustersOperationsGetCall) IfNoneMatch(entityTagstring) *ProjectsLocationsBareMetalAdminClustersOperationsGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
typeProjectsLocationsBareMetalAdminClustersOperationsListCall¶
type ProjectsLocationsBareMetalAdminClustersOperationsListCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsBareMetalAdminClustersOperationsListCall)Context¶
func (c *ProjectsLocationsBareMetalAdminClustersOperationsListCall) Context(ctxcontext.Context) *ProjectsLocationsBareMetalAdminClustersOperationsListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsBareMetalAdminClustersOperationsListCall)Do¶
func (c *ProjectsLocationsBareMetalAdminClustersOperationsListCall) Do(opts ...googleapi.CallOption) (*ListOperationsResponse,error)
Do executes the "gkeonprem.projects.locations.bareMetalAdminClusters.operations.list" call.Any non-2xx status code is an error. Response headers are in either*ListOperationsResponse.ServerResponse.Header or (if a response was returnedat all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModified wasreturned.
func (*ProjectsLocationsBareMetalAdminClustersOperationsListCall)Fields¶
func (c *ProjectsLocationsBareMetalAdminClustersOperationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsBareMetalAdminClustersOperationsListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsBareMetalAdminClustersOperationsListCall)Filter¶
func (c *ProjectsLocationsBareMetalAdminClustersOperationsListCall) Filter(filterstring) *ProjectsLocationsBareMetalAdminClustersOperationsListCall
Filter sets the optional parameter "filter": The standard list filter.
func (*ProjectsLocationsBareMetalAdminClustersOperationsListCall)Header¶
func (c *ProjectsLocationsBareMetalAdminClustersOperationsListCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsBareMetalAdminClustersOperationsListCall)IfNoneMatch¶
func (c *ProjectsLocationsBareMetalAdminClustersOperationsListCall) IfNoneMatch(entityTagstring) *ProjectsLocationsBareMetalAdminClustersOperationsListCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
func (*ProjectsLocationsBareMetalAdminClustersOperationsListCall)PageSize¶
func (c *ProjectsLocationsBareMetalAdminClustersOperationsListCall) PageSize(pageSizeint64) *ProjectsLocationsBareMetalAdminClustersOperationsListCall
PageSize sets the optional parameter "pageSize": The standard list pagesize.
func (*ProjectsLocationsBareMetalAdminClustersOperationsListCall)PageToken¶
func (c *ProjectsLocationsBareMetalAdminClustersOperationsListCall) PageToken(pageTokenstring) *ProjectsLocationsBareMetalAdminClustersOperationsListCall
PageToken sets the optional parameter "pageToken": The standard list pagetoken.
func (*ProjectsLocationsBareMetalAdminClustersOperationsListCall)Pages¶
func (c *ProjectsLocationsBareMetalAdminClustersOperationsListCall) Pages(ctxcontext.Context, f func(*ListOperationsResponse)error)error
Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.
func (*ProjectsLocationsBareMetalAdminClustersOperationsListCall)ReturnPartialSuccess¶added inv0.254.0
func (c *ProjectsLocationsBareMetalAdminClustersOperationsListCall) ReturnPartialSuccess(returnPartialSuccessbool) *ProjectsLocationsBareMetalAdminClustersOperationsListCall
ReturnPartialSuccess sets the optional parameter "returnPartialSuccess":When set to `true`, operations that are reachable are returned as normal,and those that are unreachable are returned in the[ListOperationsResponse.unreachable] field. This can only be `true` whenreading across collections e.g. when `parent` is set to"projects/example/locations/-". This field is not by default supported andwill result in an `UNIMPLEMENTED` error if set unless explicitly documentedotherwise in service or product specific documentation.
typeProjectsLocationsBareMetalAdminClustersOperationsService¶
type ProjectsLocationsBareMetalAdminClustersOperationsService struct {// contains filtered or unexported fields}funcNewProjectsLocationsBareMetalAdminClustersOperationsService¶
func NewProjectsLocationsBareMetalAdminClustersOperationsService(s *Service) *ProjectsLocationsBareMetalAdminClustersOperationsService
func (*ProjectsLocationsBareMetalAdminClustersOperationsService)Get¶
func (r *ProjectsLocationsBareMetalAdminClustersOperationsService) Get(namestring) *ProjectsLocationsBareMetalAdminClustersOperationsGetCall
Get: Gets the latest state of a long-running operation. Clients can use thismethod to poll the operation result at intervals as recommended by the APIservice.
- name: The name of the operation resource.
func (*ProjectsLocationsBareMetalAdminClustersOperationsService)List¶
func (r *ProjectsLocationsBareMetalAdminClustersOperationsService) List(namestring) *ProjectsLocationsBareMetalAdminClustersOperationsListCall
List: Lists operations that match the specified filter in the request. Ifthe server doesn't support this method, it returns `UNIMPLEMENTED`.
- name: The name of the operation's parent resource.
typeProjectsLocationsBareMetalAdminClustersPatchCall¶
type ProjectsLocationsBareMetalAdminClustersPatchCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsBareMetalAdminClustersPatchCall)Context¶
func (c *ProjectsLocationsBareMetalAdminClustersPatchCall) Context(ctxcontext.Context) *ProjectsLocationsBareMetalAdminClustersPatchCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsBareMetalAdminClustersPatchCall)Do¶
func (c *ProjectsLocationsBareMetalAdminClustersPatchCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "gkeonprem.projects.locations.bareMetalAdminClusters.patch" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsBareMetalAdminClustersPatchCall)Fields¶
func (c *ProjectsLocationsBareMetalAdminClustersPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsBareMetalAdminClustersPatchCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsBareMetalAdminClustersPatchCall)Header¶
func (c *ProjectsLocationsBareMetalAdminClustersPatchCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsBareMetalAdminClustersPatchCall)UpdateMask¶
func (c *ProjectsLocationsBareMetalAdminClustersPatchCall) UpdateMask(updateMaskstring) *ProjectsLocationsBareMetalAdminClustersPatchCall
UpdateMask sets the optional parameter "updateMask": Required. Field mask isused to specify the fields to be overwritten in the BareMetalAdminClusterresource by the update. The fields specified in the update_mask are relativeto the resource, not the full request. A field will be overwritten if it isin the mask. If the user does not provide a mask then all populated fieldsin the BareMetalAdminCluster message will be updated. Empty fields will beignored unless a field mask is used.
func (*ProjectsLocationsBareMetalAdminClustersPatchCall)ValidateOnly¶
func (c *ProjectsLocationsBareMetalAdminClustersPatchCall) ValidateOnly(validateOnlybool) *ProjectsLocationsBareMetalAdminClustersPatchCall
ValidateOnly sets the optional parameter "validateOnly": Validate therequest without actually doing any updates.
typeProjectsLocationsBareMetalAdminClustersQueryVersionConfigCall¶
type ProjectsLocationsBareMetalAdminClustersQueryVersionConfigCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsBareMetalAdminClustersQueryVersionConfigCall)Context¶
func (c *ProjectsLocationsBareMetalAdminClustersQueryVersionConfigCall) Context(ctxcontext.Context) *ProjectsLocationsBareMetalAdminClustersQueryVersionConfigCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsBareMetalAdminClustersQueryVersionConfigCall)Do¶
func (c *ProjectsLocationsBareMetalAdminClustersQueryVersionConfigCall) Do(opts ...googleapi.CallOption) (*QueryBareMetalAdminVersionConfigResponse,error)
Do executes the "gkeonprem.projects.locations.bareMetalAdminClusters.queryVersionConfig" call.Any non-2xx status code is an error. Response headers are in either*QueryBareMetalAdminVersionConfigResponse.ServerResponse.Header or (if aresponse was returned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.
func (*ProjectsLocationsBareMetalAdminClustersQueryVersionConfigCall)Fields¶
func (c *ProjectsLocationsBareMetalAdminClustersQueryVersionConfigCall) Fields(s ...googleapi.Field) *ProjectsLocationsBareMetalAdminClustersQueryVersionConfigCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsBareMetalAdminClustersQueryVersionConfigCall)Header¶
func (c *ProjectsLocationsBareMetalAdminClustersQueryVersionConfigCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsBareMetalAdminClustersQueryVersionConfigCall)UpgradeConfigClusterName¶
func (c *ProjectsLocationsBareMetalAdminClustersQueryVersionConfigCall) UpgradeConfigClusterName(upgradeConfigClusterNamestring) *ProjectsLocationsBareMetalAdminClustersQueryVersionConfigCall
UpgradeConfigClusterName sets the optional parameter"upgradeConfig.clusterName": The admin cluster resource name. This is thefull resource name of the admin cluster resource. Format:"projects/{project}/locations/{location}/bareMetalAdminClusters/{bare_metal_admin_cluster}"
typeProjectsLocationsBareMetalAdminClustersService¶
type ProjectsLocationsBareMetalAdminClustersService struct {Operations *ProjectsLocationsBareMetalAdminClustersOperationsService// contains filtered or unexported fields}funcNewProjectsLocationsBareMetalAdminClustersService¶
func NewProjectsLocationsBareMetalAdminClustersService(s *Service) *ProjectsLocationsBareMetalAdminClustersService
func (*ProjectsLocationsBareMetalAdminClustersService)Create¶
func (r *ProjectsLocationsBareMetalAdminClustersService) Create(parentstring, baremetaladmincluster *BareMetalAdminCluster) *ProjectsLocationsBareMetalAdminClustersCreateCall
Create: Creates a new bare metal admin cluster in a given project andlocation. The API needs to be combined with creating a bootstrap cluster towork. See:https://cloud.google.com/anthos/clusters/docs/bare-metal/latest/installing/creating-clusters/create-admin-cluster-api#prepare_bootstrap_environment
- parent: The parent of the project and location where the cluster iscreated in. Format: "projects/{project}/locations/{location}".
func (*ProjectsLocationsBareMetalAdminClustersService)Enroll¶
func (r *ProjectsLocationsBareMetalAdminClustersService) Enroll(parentstring, enrollbaremetaladminclusterrequest *EnrollBareMetalAdminClusterRequest) *ProjectsLocationsBareMetalAdminClustersEnrollCall
Enroll: Enrolls an existing bare metal admin cluster to the Anthos On-PremAPI within a given project and location. Through enrollment, an existingadmin cluster will become Anthos On-Prem API managed. The corresponding GCPresources will be created and all future modifications to the cluster willbe expected to be performed through the API.
- parent: The parent of the project and location where the cluster isenrolled in. Format: "projects/{project}/locations/{location}".
func (*ProjectsLocationsBareMetalAdminClustersService)Get¶
func (r *ProjectsLocationsBareMetalAdminClustersService) Get(namestring) *ProjectsLocationsBareMetalAdminClustersGetCall
Get: Gets details of a single bare metal admin cluster.
- name: Name of the bare metal admin cluster to get. Format:"projects/{project}/locations/{location}/bareMetalAdminClusters/{bare_metal_admin_cluster}".
func (*ProjectsLocationsBareMetalAdminClustersService)GetIamPolicy¶
func (r *ProjectsLocationsBareMetalAdminClustersService) GetIamPolicy(resourcestring) *ProjectsLocationsBareMetalAdminClustersGetIamPolicyCall
GetIamPolicy: Gets the access control policy for a resource. Returns anempty policy if the resource exists and does not have a policy set.
- resource: REQUIRED: The resource for which the policy is being requested.See Resource names (https://cloud.google.com/apis/design/resource_names)for the appropriate value for this field.
func (*ProjectsLocationsBareMetalAdminClustersService)List¶
func (r *ProjectsLocationsBareMetalAdminClustersService) List(parentstring) *ProjectsLocationsBareMetalAdminClustersListCall
List: Lists bare metal admin clusters in a given project and location.
- parent: The parent of the project and location where the clusters arelisted in. Format: "projects/{project}/locations/{location}".
func (*ProjectsLocationsBareMetalAdminClustersService)Patch¶
func (r *ProjectsLocationsBareMetalAdminClustersService) Patch(namestring, baremetaladmincluster *BareMetalAdminCluster) *ProjectsLocationsBareMetalAdminClustersPatchCall
Patch: Updates the parameters of a single bare metal admin cluster.
- name: Immutable. The bare metal admin cluster resource name.
func (*ProjectsLocationsBareMetalAdminClustersService)QueryVersionConfig¶
func (r *ProjectsLocationsBareMetalAdminClustersService) QueryVersionConfig(parentstring) *ProjectsLocationsBareMetalAdminClustersQueryVersionConfigCall
QueryVersionConfig: Queries the bare metal admin cluster version config.
- parent: The parent of the project and location to query for versionconfig. Format: "projects/{project}/locations/{location}".
func (*ProjectsLocationsBareMetalAdminClustersService)SetIamPolicy¶
func (r *ProjectsLocationsBareMetalAdminClustersService) SetIamPolicy(resourcestring, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsBareMetalAdminClustersSetIamPolicyCall
SetIamPolicy: Sets the access control policy on the specified resource.Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`,and `PERMISSION_DENIED` errors.
- resource: REQUIRED: The resource for which the policy is being specified.See Resource names (https://cloud.google.com/apis/design/resource_names)for the appropriate value for this field.
func (*ProjectsLocationsBareMetalAdminClustersService)TestIamPermissions¶
func (r *ProjectsLocationsBareMetalAdminClustersService) TestIamPermissions(resourcestring, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsBareMetalAdminClustersTestIamPermissionsCall
TestIamPermissions: Returns permissions that a caller has on the specifiedresource. If the resource does not exist, this will return an empty set ofpermissions, not a `NOT_FOUND` error. Note: This operation is designed to beused for building permission-aware UIs and command-line tools, not forauthorization checking. This operation may "fail open" without warning.
- resource: REQUIRED: The resource for which the policy detail is beingrequested. See Resource names(https://cloud.google.com/apis/design/resource_names) for the appropriatevalue for this field.
func (*ProjectsLocationsBareMetalAdminClustersService)Unenroll¶
func (r *ProjectsLocationsBareMetalAdminClustersService) Unenroll(namestring) *ProjectsLocationsBareMetalAdminClustersUnenrollCall
Unenroll: Unenrolls an existing bare metal admin cluster from the AnthosOn-Prem API within a given project and location. Unenrollment removes theCloud reference to the cluster without modifying the underlying OnPremResources. Clusters will continue to run; however, they will no longer beaccessible through the Anthos On-Prem API or its clients.
- name: Name of the bare metal admin cluster to be unenrolled. Format:"projects/{project}/locations/{location}/bareMetalAdminClusters/{cluster}".
typeProjectsLocationsBareMetalAdminClustersSetIamPolicyCall¶
type ProjectsLocationsBareMetalAdminClustersSetIamPolicyCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsBareMetalAdminClustersSetIamPolicyCall)Context¶
func (c *ProjectsLocationsBareMetalAdminClustersSetIamPolicyCall) Context(ctxcontext.Context) *ProjectsLocationsBareMetalAdminClustersSetIamPolicyCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsBareMetalAdminClustersSetIamPolicyCall)Do¶
func (c *ProjectsLocationsBareMetalAdminClustersSetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy,error)
Do executes the "gkeonprem.projects.locations.bareMetalAdminClusters.setIamPolicy" call.Any non-2xx status code is an error. Response headers are in either*Policy.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsBareMetalAdminClustersSetIamPolicyCall)Fields¶
func (c *ProjectsLocationsBareMetalAdminClustersSetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsBareMetalAdminClustersSetIamPolicyCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsBareMetalAdminClustersSetIamPolicyCall)Header¶
func (c *ProjectsLocationsBareMetalAdminClustersSetIamPolicyCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsBareMetalAdminClustersTestIamPermissionsCall¶
type ProjectsLocationsBareMetalAdminClustersTestIamPermissionsCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsBareMetalAdminClustersTestIamPermissionsCall)Context¶
func (c *ProjectsLocationsBareMetalAdminClustersTestIamPermissionsCall) Context(ctxcontext.Context) *ProjectsLocationsBareMetalAdminClustersTestIamPermissionsCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsBareMetalAdminClustersTestIamPermissionsCall)Do¶
func (c *ProjectsLocationsBareMetalAdminClustersTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestIamPermissionsResponse,error)
Do executes the "gkeonprem.projects.locations.bareMetalAdminClusters.testIamPermissions" call.Any non-2xx status code is an error. Response headers are in either*TestIamPermissionsResponse.ServerResponse.Header or (if a response wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.
func (*ProjectsLocationsBareMetalAdminClustersTestIamPermissionsCall)Fields¶
func (c *ProjectsLocationsBareMetalAdminClustersTestIamPermissionsCall) Fields(s ...googleapi.Field) *ProjectsLocationsBareMetalAdminClustersTestIamPermissionsCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsBareMetalAdminClustersTestIamPermissionsCall)Header¶
func (c *ProjectsLocationsBareMetalAdminClustersTestIamPermissionsCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsBareMetalAdminClustersUnenrollCall¶
type ProjectsLocationsBareMetalAdminClustersUnenrollCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsBareMetalAdminClustersUnenrollCall)AllowMissing¶
func (c *ProjectsLocationsBareMetalAdminClustersUnenrollCall) AllowMissing(allowMissingbool) *ProjectsLocationsBareMetalAdminClustersUnenrollCall
AllowMissing sets the optional parameter "allowMissing": If set to true, andthe bare metal admin cluster is not found, the request will succeed but noaction will be taken on the server and return a completed LRO.
func (*ProjectsLocationsBareMetalAdminClustersUnenrollCall)Context¶
func (c *ProjectsLocationsBareMetalAdminClustersUnenrollCall) Context(ctxcontext.Context) *ProjectsLocationsBareMetalAdminClustersUnenrollCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsBareMetalAdminClustersUnenrollCall)Do¶
func (c *ProjectsLocationsBareMetalAdminClustersUnenrollCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "gkeonprem.projects.locations.bareMetalAdminClusters.unenroll" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsBareMetalAdminClustersUnenrollCall)Etag¶
func (c *ProjectsLocationsBareMetalAdminClustersUnenrollCall) Etag(etagstring) *ProjectsLocationsBareMetalAdminClustersUnenrollCall
Etag sets the optional parameter "etag": The current etag of the bare metaladmin cluster. If an etag is provided and does not match the current etag ofthe cluster, deletion will be blocked and an ABORTED error will be returned.
func (*ProjectsLocationsBareMetalAdminClustersUnenrollCall)Fields¶
func (c *ProjectsLocationsBareMetalAdminClustersUnenrollCall) Fields(s ...googleapi.Field) *ProjectsLocationsBareMetalAdminClustersUnenrollCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsBareMetalAdminClustersUnenrollCall)Header¶
func (c *ProjectsLocationsBareMetalAdminClustersUnenrollCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsBareMetalAdminClustersUnenrollCall)IgnoreErrors¶added inv0.127.0
func (c *ProjectsLocationsBareMetalAdminClustersUnenrollCall) IgnoreErrors(ignoreErrorsbool) *ProjectsLocationsBareMetalAdminClustersUnenrollCall
IgnoreErrors sets the optional parameter "ignoreErrors": If set to true, theunenrollment of a bare metal admin cluster resource will succeed even iferrors occur during unenrollment. This parameter can be used when you wantto unenroll admin cluster resource and the on-prem admin cluster isdisconnected / unreachable. WARNING: Using this parameter when your admincluster still exists may result in a deleted GCP admin cluster but existingresourcelink in on-prem admin cluster and membership.
func (*ProjectsLocationsBareMetalAdminClustersUnenrollCall)ValidateOnly¶
func (c *ProjectsLocationsBareMetalAdminClustersUnenrollCall) ValidateOnly(validateOnlybool) *ProjectsLocationsBareMetalAdminClustersUnenrollCall
ValidateOnly sets the optional parameter "validateOnly": Validate therequest without actually doing any updates.
typeProjectsLocationsBareMetalClustersBareMetalNodePoolsCreateCall¶
type ProjectsLocationsBareMetalClustersBareMetalNodePoolsCreateCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsCreateCall)BareMetalNodePoolId¶
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsCreateCall) BareMetalNodePoolId(bareMetalNodePoolIdstring) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsCreateCall
BareMetalNodePoolId sets the optional parameter "bareMetalNodePoolId": TheID to use for the node pool, which will become the final component of thenode pool's resource name. This value must be up to 63 characters, and validcharacters are /a-z-/. The value must not be permitted to be a UUID (orUUID-like: anything matching/^[0-9a-f]{8}(-[0-9a-f]{4}){3}-[0-9a-f]{12}$/i).
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsCreateCall)Context¶
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsCreateCall) Context(ctxcontext.Context) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsCreateCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsCreateCall)Do¶
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsCreateCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "gkeonprem.projects.locations.bareMetalClusters.bareMetalNodePools.create" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsCreateCall)Fields¶
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsCreateCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsCreateCall)Header¶
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsCreateCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsCreateCall)ValidateOnly¶
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsCreateCall) ValidateOnly(validateOnlybool) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsCreateCall
ValidateOnly sets the optional parameter "validateOnly": If set, onlyvalidate the request, but do not actually create the node pool.
typeProjectsLocationsBareMetalClustersBareMetalNodePoolsDeleteCall¶
type ProjectsLocationsBareMetalClustersBareMetalNodePoolsDeleteCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsDeleteCall)AllowMissing¶
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsDeleteCall) AllowMissing(allowMissingbool) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsDeleteCall
AllowMissing sets the optional parameter "allowMissing": If set to true, andthe bare metal node pool is not found, the request will succeed but noaction will be taken on the server and return a completed LRO.
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsDeleteCall)Context¶
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsDeleteCall) Context(ctxcontext.Context) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsDeleteCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsDeleteCall)Do¶
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsDeleteCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "gkeonprem.projects.locations.bareMetalClusters.bareMetalNodePools.delete" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsDeleteCall)Etag¶
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsDeleteCall) Etag(etagstring) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsDeleteCall
Etag sets the optional parameter "etag": The current etag of theBareMetalNodePool. If an etag is provided and does not match the currentetag of the node pool, deletion will be blocked and an ABORTED error will bereturned.
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsDeleteCall)Fields¶
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsDeleteCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsDeleteCall)Header¶
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsDeleteCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsDeleteCall)IgnoreErrors¶
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsDeleteCall) IgnoreErrors(ignoreErrorsbool) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsDeleteCall
IgnoreErrors sets the optional parameter "ignoreErrors": If set to true, thedeletion of a bare metal node pool resource will succeed even if errorsoccur during deletion. This parameter can be used when you want to deleteGCP's node pool resource and you've already deleted the on-prem admincluster that hosted your node pool. WARNING: Using this parameter when youruser cluster still exists may result in a deleted GCP node pool but anexisting on-prem node pool.
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsDeleteCall)ValidateOnly¶
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsDeleteCall) ValidateOnly(validateOnlybool) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsDeleteCall
ValidateOnly sets the optional parameter "validateOnly": If set, onlyvalidate the request, but do not actually delete the node pool.
typeProjectsLocationsBareMetalClustersBareMetalNodePoolsEnrollCall¶
type ProjectsLocationsBareMetalClustersBareMetalNodePoolsEnrollCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsEnrollCall)Context¶
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsEnrollCall) Context(ctxcontext.Context) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsEnrollCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsEnrollCall)Do¶
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsEnrollCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "gkeonprem.projects.locations.bareMetalClusters.bareMetalNodePools.enroll" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsEnrollCall)Fields¶
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsEnrollCall) Fields(s ...googleapi.Field) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsEnrollCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsEnrollCall)Header¶
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsEnrollCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsBareMetalClustersBareMetalNodePoolsGetCall¶
type ProjectsLocationsBareMetalClustersBareMetalNodePoolsGetCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsGetCall)Context¶
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsGetCall) Context(ctxcontext.Context) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsGetCall)Do¶
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsGetCall) Do(opts ...googleapi.CallOption) (*BareMetalNodePool,error)
Do executes the "gkeonprem.projects.locations.bareMetalClusters.bareMetalNodePools.get" call.Any non-2xx status code is an error. Response headers are in either*BareMetalNodePool.ServerResponse.Header or (if a response was returned atall) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModified wasreturned.
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsGetCall)Fields¶
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsGetCall)Header¶
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsGetCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsGetCall)IfNoneMatch¶
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsGetCall) IfNoneMatch(entityTagstring) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsGetCall)View¶added inv0.125.0
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsGetCall) View(viewstring) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsGetCall
View sets the optional parameter "view": View for bare metal node pool. When`BASIC` is specified, only the node pool resource name is returned. Thedefault/unset value `NODE_POOL_VIEW_UNSPECIFIED` is the same as `FULL',which returns the complete node pool configuration details.
Possible values:
"NODE_POOL_VIEW_UNSPECIFIED" - If the value is not set, the default `FULL`
view is used.
"BASIC" - Includes basic information of a node pool resource including
node pool resource name.
"FULL" - Includes the complete configuration for bare metal node pool
resource. This is the default value for GetBareMetalNodePoolRequest method.
typeProjectsLocationsBareMetalClustersBareMetalNodePoolsGetIamPolicyCall¶
type ProjectsLocationsBareMetalClustersBareMetalNodePoolsGetIamPolicyCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsGetIamPolicyCall)Context¶
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsGetIamPolicyCall) Context(ctxcontext.Context) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsGetIamPolicyCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsGetIamPolicyCall)Do¶
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsGetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy,error)
Do executes the "gkeonprem.projects.locations.bareMetalClusters.bareMetalNodePools.getIamPolicy" call.Any non-2xx status code is an error. Response headers are in either*Policy.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsGetIamPolicyCall)Fields¶
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsGetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsGetIamPolicyCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsGetIamPolicyCall)Header¶
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsGetIamPolicyCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsGetIamPolicyCall)IfNoneMatch¶
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsGetIamPolicyCall) IfNoneMatch(entityTagstring) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsGetIamPolicyCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsGetIamPolicyCall)OptionsRequestedPolicyVersion¶
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsGetIamPolicyCall) OptionsRequestedPolicyVersion(optionsRequestedPolicyVersionint64) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsGetIamPolicyCall
OptionsRequestedPolicyVersion sets the optional parameter"options.requestedPolicyVersion": The maximum policy version that will beused to format the policy. Valid values are 0, 1, and 3. Requests specifyingan invalid value will be rejected. Requests for policies with anyconditional role bindings must specify version 3. Policies with noconditional role bindings may specify any valid value or leave the fieldunset. The policy in the response might use the policy version that youspecified, or it might use a lower policy version. For example, if youspecify version 3, but the policy has no conditional role bindings, theresponse uses version 1. To learn which resources support conditions intheir IAM policies, see the IAM documentation(https://cloud.google.com/iam/help/conditions/resource-policies).
typeProjectsLocationsBareMetalClustersBareMetalNodePoolsListCall¶
type ProjectsLocationsBareMetalClustersBareMetalNodePoolsListCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsListCall)Context¶
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsListCall) Context(ctxcontext.Context) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsListCall)Do¶
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsListCall) Do(opts ...googleapi.CallOption) (*ListBareMetalNodePoolsResponse,error)
Do executes the "gkeonprem.projects.locations.bareMetalClusters.bareMetalNodePools.list" call.Any non-2xx status code is an error. Response headers are in either*ListBareMetalNodePoolsResponse.ServerResponse.Header or (if a response wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsListCall)Fields¶
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsListCall)Header¶
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsListCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsListCall)IfNoneMatch¶
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsListCall) IfNoneMatch(entityTagstring) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsListCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsListCall)PageSize¶
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsListCall) PageSize(pageSizeint64) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsListCall
PageSize sets the optional parameter "pageSize": The maximum number of nodepools to return. The service may return fewer than this value. Ifunspecified, at most 50 node pools will be returned. The maximum value is1000; values above 1000 will be coerced to 1000.
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsListCall)PageToken¶
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsListCall) PageToken(pageTokenstring) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsListCall
PageToken sets the optional parameter "pageToken": A page token, receivedfrom a previous `ListBareMetalNodePools` call. Provide this to retrieve thesubsequent page. When paginating, all other parameters provided to`ListBareMetalNodePools` must match the call that provided the page token.
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsListCall)Pages¶
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsListCall) Pages(ctxcontext.Context, f func(*ListBareMetalNodePoolsResponse)error)error
Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsListCall)View¶added inv0.125.0
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsListCall) View(viewstring) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsListCall
View sets the optional parameter "view": View for bare metal node pools.When `BASIC` is specified, only the node pool resource name is returned. Thedefault/unset value `NODE_POOL_VIEW_UNSPECIFIED` is the same as `FULL',which returns the complete node pool configuration details.
Possible values:
"NODE_POOL_VIEW_UNSPECIFIED" - If the value is not set, the default `FULL`
view is used.
"BASIC" - Includes basic information of a node pool resource including
node pool resource name.
"FULL" - Includes the complete configuration for bare metal node pool
resource. This is the default value for ListBareMetalNodePoolsRequestmethod.
typeProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsGetCall¶
type ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsGetCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsGetCall)Context¶
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsGetCall) Context(ctxcontext.Context) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsGetCall)Do¶
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsGetCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "gkeonprem.projects.locations.bareMetalClusters.bareMetalNodePools.operations.get" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsGetCall)Fields¶
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsGetCall)Header¶
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsGetCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsGetCall)IfNoneMatch¶
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsGetCall) IfNoneMatch(entityTagstring) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
typeProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsListCall¶
type ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsListCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsListCall)Context¶
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsListCall) Context(ctxcontext.Context) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsListCall)Do¶
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsListCall) Do(opts ...googleapi.CallOption) (*ListOperationsResponse,error)
Do executes the "gkeonprem.projects.locations.bareMetalClusters.bareMetalNodePools.operations.list" call.Any non-2xx status code is an error. Response headers are in either*ListOperationsResponse.ServerResponse.Header or (if a response was returnedat all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModified wasreturned.
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsListCall)Fields¶
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsListCall)Filter¶
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsListCall) Filter(filterstring) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsListCall
Filter sets the optional parameter "filter": The standard list filter.
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsListCall)Header¶
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsListCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsListCall)IfNoneMatch¶
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsListCall) IfNoneMatch(entityTagstring) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsListCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsListCall)PageSize¶
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsListCall) PageSize(pageSizeint64) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsListCall
PageSize sets the optional parameter "pageSize": The standard list pagesize.
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsListCall)PageToken¶
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsListCall) PageToken(pageTokenstring) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsListCall
PageToken sets the optional parameter "pageToken": The standard list pagetoken.
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsListCall)Pages¶
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsListCall) Pages(ctxcontext.Context, f func(*ListOperationsResponse)error)error
Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsListCall)ReturnPartialSuccess¶added inv0.254.0
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsListCall) ReturnPartialSuccess(returnPartialSuccessbool) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsListCall
ReturnPartialSuccess sets the optional parameter "returnPartialSuccess":When set to `true`, operations that are reachable are returned as normal,and those that are unreachable are returned in the[ListOperationsResponse.unreachable] field. This can only be `true` whenreading across collections e.g. when `parent` is set to"projects/example/locations/-". This field is not by default supported andwill result in an `UNIMPLEMENTED` error if set unless explicitly documentedotherwise in service or product specific documentation.
typeProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsService¶
type ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsService struct {// contains filtered or unexported fields}funcNewProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsService¶
func NewProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsService(s *Service) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsService
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsService)Get¶
func (r *ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsService) Get(namestring) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsGetCall
Get: Gets the latest state of a long-running operation. Clients can use thismethod to poll the operation result at intervals as recommended by the APIservice.
- name: The name of the operation resource.
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsService)List¶
func (r *ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsService) List(namestring) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsListCall
List: Lists operations that match the specified filter in the request. Ifthe server doesn't support this method, it returns `UNIMPLEMENTED`.
- name: The name of the operation's parent resource.
typeProjectsLocationsBareMetalClustersBareMetalNodePoolsPatchCall¶
type ProjectsLocationsBareMetalClustersBareMetalNodePoolsPatchCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsPatchCall)AllowMissing¶added inv0.125.0
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsPatchCall) AllowMissing(allowMissingbool) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsPatchCall
AllowMissing sets the optional parameter "allowMissing": If set to true, andthe bare metal node pool is not found, the request will create a new baremetal node pool with the provided configuration. The user must have bothcreate and update permission to call Update with allow_missing set to true.
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsPatchCall)Context¶
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsPatchCall) Context(ctxcontext.Context) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsPatchCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsPatchCall)Do¶
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsPatchCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "gkeonprem.projects.locations.bareMetalClusters.bareMetalNodePools.patch" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsPatchCall)Fields¶
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsPatchCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsPatchCall)Header¶
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsPatchCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsPatchCall)UpdateMask¶
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsPatchCall) UpdateMask(updateMaskstring) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsPatchCall
UpdateMask sets the optional parameter "updateMask": Required. Field mask isused to specify the fields to be overwritten in the BareMetalNodePoolresource by the update. The fields specified in the update_mask are relativeto the resource, not the full request. A field will be overwritten if it isin the mask. If the user does not provide a mask then all populated fieldsin the BareMetalNodePool message will be updated. Empty fields will beignored unless a field mask is used.
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsPatchCall)ValidateOnly¶
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsPatchCall) ValidateOnly(validateOnlybool) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsPatchCall
ValidateOnly sets the optional parameter "validateOnly": Validate therequest without actually doing any updates.
typeProjectsLocationsBareMetalClustersBareMetalNodePoolsService¶
type ProjectsLocationsBareMetalClustersBareMetalNodePoolsService struct {Operations *ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsService// contains filtered or unexported fields}funcNewProjectsLocationsBareMetalClustersBareMetalNodePoolsService¶
func NewProjectsLocationsBareMetalClustersBareMetalNodePoolsService(s *Service) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsService
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsService)Create¶
func (r *ProjectsLocationsBareMetalClustersBareMetalNodePoolsService) Create(parentstring, baremetalnodepool *BareMetalNodePool) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsCreateCall
Create: Creates a new bare metal node pool in a given project, location andBare Metal cluster.
- parent: The parent resource where this node pool will be created.projects/{project}/locations/{location}/bareMetalClusters/{cluster}.
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsService)Delete¶
func (r *ProjectsLocationsBareMetalClustersBareMetalNodePoolsService) Delete(namestring) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsDeleteCall
Delete: Deletes a single bare metal node pool.
- name: The name of the node pool to delete. Format:projects/{project}/locations/{location}/bareMetalClusters/{cluster}/bareMetalNodePools/{nodepool}.
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsService)Enroll¶
func (r *ProjectsLocationsBareMetalClustersBareMetalNodePoolsService) Enroll(parentstring, enrollbaremetalnodepoolrequest *EnrollBareMetalNodePoolRequest) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsEnrollCall
Enroll: Enrolls an existing bare metal node pool to the Anthos On-Prem APIwithin a given project and location. Through enrollment, an existing nodepool will become Anthos On-Prem API managed. The corresponding GCP resourceswill be created.
- parent: The parent resource where this node pool will be created.projects/{project}/locations/{location}/bareMetalClusters/{cluster}.
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsService)Get¶
func (r *ProjectsLocationsBareMetalClustersBareMetalNodePoolsService) Get(namestring) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsGetCall
Get: Gets details of a single bare metal node pool.
- name: The name of the node pool to retrieve.projects/{project}/locations/{location}/bareMetalClusters/{cluster}/bareMetalNodePools/{nodepool}.
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsService)GetIamPolicy¶
func (r *ProjectsLocationsBareMetalClustersBareMetalNodePoolsService) GetIamPolicy(resourcestring) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsGetIamPolicyCall
GetIamPolicy: Gets the access control policy for a resource. Returns anempty policy if the resource exists and does not have a policy set.
- resource: REQUIRED: The resource for which the policy is being requested.See Resource names (https://cloud.google.com/apis/design/resource_names)for the appropriate value for this field.
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsService)List¶
func (r *ProjectsLocationsBareMetalClustersBareMetalNodePoolsService) List(parentstring) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsListCall
List: Lists bare metal node pools in a given project, location and baremetal cluster.
- parent: The parent, which owns this collection of node pools. Format:projects/{project}/locations/{location}/bareMetalClusters/{bareMetalCluster}.
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsService)Patch¶
func (r *ProjectsLocationsBareMetalClustersBareMetalNodePoolsService) Patch(namestring, baremetalnodepool *BareMetalNodePool) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsPatchCall
Patch: Updates the parameters of a single bare metal node pool.
- name: Immutable. The bare metal node pool resource name.
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsService)SetIamPolicy¶
func (r *ProjectsLocationsBareMetalClustersBareMetalNodePoolsService) SetIamPolicy(resourcestring, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsSetIamPolicyCall
SetIamPolicy: Sets the access control policy on the specified resource.Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`,and `PERMISSION_DENIED` errors.
- resource: REQUIRED: The resource for which the policy is being specified.See Resource names (https://cloud.google.com/apis/design/resource_names)for the appropriate value for this field.
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsService)TestIamPermissions¶
func (r *ProjectsLocationsBareMetalClustersBareMetalNodePoolsService) TestIamPermissions(resourcestring, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsTestIamPermissionsCall
TestIamPermissions: Returns permissions that a caller has on the specifiedresource. If the resource does not exist, this will return an empty set ofpermissions, not a `NOT_FOUND` error. Note: This operation is designed to beused for building permission-aware UIs and command-line tools, not forauthorization checking. This operation may "fail open" without warning.
- resource: REQUIRED: The resource for which the policy detail is beingrequested. See Resource names(https://cloud.google.com/apis/design/resource_names) for the appropriatevalue for this field.
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsService)Unenroll¶
func (r *ProjectsLocationsBareMetalClustersBareMetalNodePoolsService) Unenroll(namestring) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsUnenrollCall
Unenroll: Unenrolls a bare metal node pool from Anthos On-Prem API.
- name: The name of the node pool to unenroll. Format:projects/{project}/locations/{location}/bareMetalClusters/{cluster}/bareMetalNodePools/{nodepool}.
typeProjectsLocationsBareMetalClustersBareMetalNodePoolsSetIamPolicyCall¶
type ProjectsLocationsBareMetalClustersBareMetalNodePoolsSetIamPolicyCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsSetIamPolicyCall)Context¶
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsSetIamPolicyCall) Context(ctxcontext.Context) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsSetIamPolicyCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsSetIamPolicyCall)Do¶
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsSetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy,error)
Do executes the "gkeonprem.projects.locations.bareMetalClusters.bareMetalNodePools.setIamPolicy" call.Any non-2xx status code is an error. Response headers are in either*Policy.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsSetIamPolicyCall)Fields¶
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsSetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsSetIamPolicyCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsSetIamPolicyCall)Header¶
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsSetIamPolicyCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsBareMetalClustersBareMetalNodePoolsTestIamPermissionsCall¶
type ProjectsLocationsBareMetalClustersBareMetalNodePoolsTestIamPermissionsCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsTestIamPermissionsCall)Context¶
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsTestIamPermissionsCall) Context(ctxcontext.Context) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsTestIamPermissionsCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsTestIamPermissionsCall)Do¶
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestIamPermissionsResponse,error)
Do executes the "gkeonprem.projects.locations.bareMetalClusters.bareMetalNodePools.testIamPermissions" call.Any non-2xx status code is an error. Response headers are in either*TestIamPermissionsResponse.ServerResponse.Header or (if a response wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsTestIamPermissionsCall)Fields¶
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsTestIamPermissionsCall) Fields(s ...googleapi.Field) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsTestIamPermissionsCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsTestIamPermissionsCall)Header¶
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsTestIamPermissionsCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsBareMetalClustersBareMetalNodePoolsUnenrollCall¶
type ProjectsLocationsBareMetalClustersBareMetalNodePoolsUnenrollCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsUnenrollCall)AllowMissing¶
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsUnenrollCall) AllowMissing(allowMissingbool) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsUnenrollCall
AllowMissing sets the optional parameter "allowMissing": If set to true, andthe bare metal node pool is not found, the request will succeed but noaction will be taken on the server and return a completed LRO.
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsUnenrollCall)Context¶
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsUnenrollCall) Context(ctxcontext.Context) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsUnenrollCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsUnenrollCall)Do¶
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsUnenrollCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "gkeonprem.projects.locations.bareMetalClusters.bareMetalNodePools.unenroll" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsUnenrollCall)Etag¶
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsUnenrollCall) Etag(etagstring) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsUnenrollCall
Etag sets the optional parameter "etag": The current etag of the bare metalnode pool. If an etag is provided and does not match the current etag ofnode pool, deletion will be blocked and an ABORTED error will be returned.
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsUnenrollCall)Fields¶
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsUnenrollCall) Fields(s ...googleapi.Field) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsUnenrollCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsUnenrollCall)Header¶
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsUnenrollCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsUnenrollCall)ValidateOnly¶
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsUnenrollCall) ValidateOnly(validateOnlybool) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsUnenrollCall
ValidateOnly sets the optional parameter "validateOnly": If set, onlyvalidate the request, but do not actually unenroll the node pool.
typeProjectsLocationsBareMetalClustersCreateCall¶
type ProjectsLocationsBareMetalClustersCreateCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsBareMetalClustersCreateCall)AllowPreflightFailure¶added inv0.195.0
func (c *ProjectsLocationsBareMetalClustersCreateCall) AllowPreflightFailure(allowPreflightFailurebool) *ProjectsLocationsBareMetalClustersCreateCall
AllowPreflightFailure sets the optional parameter "allowPreflightFailure":If set to true, CLM will force CCFE to persist the cluster resource in RMSwhen the creation fails during standalone preflight checks. In that case thesubsequent create call will fail with "cluster already exists" error andhence a update cluster is required to fix the cluster.
func (*ProjectsLocationsBareMetalClustersCreateCall)BareMetalClusterId¶
func (c *ProjectsLocationsBareMetalClustersCreateCall) BareMetalClusterId(bareMetalClusterIdstring) *ProjectsLocationsBareMetalClustersCreateCall
BareMetalClusterId sets the optional parameter "bareMetalClusterId":Required. User provided identifier that is used as part of the resourcename; must conform to RFC-1034 and additionally restrict to lower-casedletters. This comes out roughly to: /^a-z+[a-z0-9]$/
func (*ProjectsLocationsBareMetalClustersCreateCall)Context¶
func (c *ProjectsLocationsBareMetalClustersCreateCall) Context(ctxcontext.Context) *ProjectsLocationsBareMetalClustersCreateCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsBareMetalClustersCreateCall)Do¶
func (c *ProjectsLocationsBareMetalClustersCreateCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "gkeonprem.projects.locations.bareMetalClusters.create" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsBareMetalClustersCreateCall)Fields¶
func (c *ProjectsLocationsBareMetalClustersCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsBareMetalClustersCreateCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsBareMetalClustersCreateCall)Header¶
func (c *ProjectsLocationsBareMetalClustersCreateCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsBareMetalClustersCreateCall)ValidateOnly¶
func (c *ProjectsLocationsBareMetalClustersCreateCall) ValidateOnly(validateOnlybool) *ProjectsLocationsBareMetalClustersCreateCall
ValidateOnly sets the optional parameter "validateOnly": Validate therequest without actually doing any updates.
typeProjectsLocationsBareMetalClustersDeleteCall¶
type ProjectsLocationsBareMetalClustersDeleteCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsBareMetalClustersDeleteCall)AllowMissing¶
func (c *ProjectsLocationsBareMetalClustersDeleteCall) AllowMissing(allowMissingbool) *ProjectsLocationsBareMetalClustersDeleteCall
AllowMissing sets the optional parameter "allowMissing": If set to true, andthe bare metal cluster is not found, the request will succeed but no actionwill be taken on the server and return a completed LRO.
func (*ProjectsLocationsBareMetalClustersDeleteCall)Context¶
func (c *ProjectsLocationsBareMetalClustersDeleteCall) Context(ctxcontext.Context) *ProjectsLocationsBareMetalClustersDeleteCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsBareMetalClustersDeleteCall)Do¶
func (c *ProjectsLocationsBareMetalClustersDeleteCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "gkeonprem.projects.locations.bareMetalClusters.delete" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsBareMetalClustersDeleteCall)Etag¶
func (c *ProjectsLocationsBareMetalClustersDeleteCall) Etag(etagstring) *ProjectsLocationsBareMetalClustersDeleteCall
Etag sets the optional parameter "etag": The current etag of the bare metalCluster. If an etag is provided and does not match the current etag of thecluster, deletion will be blocked and an ABORTED error will be returned.
func (*ProjectsLocationsBareMetalClustersDeleteCall)Fields¶
func (c *ProjectsLocationsBareMetalClustersDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsBareMetalClustersDeleteCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsBareMetalClustersDeleteCall)Force¶
func (c *ProjectsLocationsBareMetalClustersDeleteCall) Force(forcebool) *ProjectsLocationsBareMetalClustersDeleteCall
Force sets the optional parameter "force": If set to true, any node poolsfrom the cluster will also be deleted.
func (*ProjectsLocationsBareMetalClustersDeleteCall)Header¶
func (c *ProjectsLocationsBareMetalClustersDeleteCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsBareMetalClustersDeleteCall)IgnoreErrors¶
func (c *ProjectsLocationsBareMetalClustersDeleteCall) IgnoreErrors(ignoreErrorsbool) *ProjectsLocationsBareMetalClustersDeleteCall
IgnoreErrors sets the optional parameter "ignoreErrors": If set to true, thedeletion of a bare metal user cluster resource will succeed even if errorsoccur during deletion. This parameter can be used when you want to deleteGCP's cluster resource and the on-prem admin cluster that hosts your usercluster is disconnected / unreachable or deleted. WARNING: Using thisparameter when your user cluster still exists may result in a deleted GCPuser cluster but an existing on-prem user cluster.
func (*ProjectsLocationsBareMetalClustersDeleteCall)ValidateOnly¶
func (c *ProjectsLocationsBareMetalClustersDeleteCall) ValidateOnly(validateOnlybool) *ProjectsLocationsBareMetalClustersDeleteCall
ValidateOnly sets the optional parameter "validateOnly": Validate therequest without actually doing any updates.
typeProjectsLocationsBareMetalClustersEnrollCall¶
type ProjectsLocationsBareMetalClustersEnrollCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsBareMetalClustersEnrollCall)Context¶
func (c *ProjectsLocationsBareMetalClustersEnrollCall) Context(ctxcontext.Context) *ProjectsLocationsBareMetalClustersEnrollCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsBareMetalClustersEnrollCall)Do¶
func (c *ProjectsLocationsBareMetalClustersEnrollCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "gkeonprem.projects.locations.bareMetalClusters.enroll" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsBareMetalClustersEnrollCall)Fields¶
func (c *ProjectsLocationsBareMetalClustersEnrollCall) Fields(s ...googleapi.Field) *ProjectsLocationsBareMetalClustersEnrollCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsBareMetalClustersEnrollCall)Header¶
func (c *ProjectsLocationsBareMetalClustersEnrollCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsBareMetalClustersGetCall¶
type ProjectsLocationsBareMetalClustersGetCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsBareMetalClustersGetCall)AllowMissing¶added inv0.195.0
func (c *ProjectsLocationsBareMetalClustersGetCall) AllowMissing(allowMissingbool) *ProjectsLocationsBareMetalClustersGetCall
AllowMissing sets the optional parameter "allowMissing": If true, returnBareMetal Cluster including the one that only exists in RMS.
func (*ProjectsLocationsBareMetalClustersGetCall)Context¶
func (c *ProjectsLocationsBareMetalClustersGetCall) Context(ctxcontext.Context) *ProjectsLocationsBareMetalClustersGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsBareMetalClustersGetCall)Do¶
func (c *ProjectsLocationsBareMetalClustersGetCall) Do(opts ...googleapi.CallOption) (*BareMetalCluster,error)
Do executes the "gkeonprem.projects.locations.bareMetalClusters.get" call.Any non-2xx status code is an error. Response headers are in either*BareMetalCluster.ServerResponse.Header or (if a response was returned atall) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModified wasreturned.
func (*ProjectsLocationsBareMetalClustersGetCall)Fields¶
func (c *ProjectsLocationsBareMetalClustersGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsBareMetalClustersGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsBareMetalClustersGetCall)Header¶
func (c *ProjectsLocationsBareMetalClustersGetCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsBareMetalClustersGetCall)IfNoneMatch¶
func (c *ProjectsLocationsBareMetalClustersGetCall) IfNoneMatch(entityTagstring) *ProjectsLocationsBareMetalClustersGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
func (*ProjectsLocationsBareMetalClustersGetCall)View¶added inv0.123.0
func (c *ProjectsLocationsBareMetalClustersGetCall) View(viewstring) *ProjectsLocationsBareMetalClustersGetCall
View sets the optional parameter "view": View for bare metal user cluster.When `BASIC` is specified, only the cluster resource name and admin clustermembership are returned. The default/unset value `CLUSTER_VIEW_UNSPECIFIED`is the same as `FULL', which returns the complete cluster configurationdetails.
Possible values:
"CLUSTER_VIEW_UNSPECIFIED" - If the value is not set, the default `FULL`
view is used.
"BASIC" - Includes basic information of a cluster resource including
cluster resource name and admin cluster membership.
"FULL" - Includes the complete configuration for bare metal cluster
resource. This is the default value for GetBareMetalClusterRequest method.
typeProjectsLocationsBareMetalClustersGetIamPolicyCall¶
type ProjectsLocationsBareMetalClustersGetIamPolicyCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsBareMetalClustersGetIamPolicyCall)Context¶
func (c *ProjectsLocationsBareMetalClustersGetIamPolicyCall) Context(ctxcontext.Context) *ProjectsLocationsBareMetalClustersGetIamPolicyCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsBareMetalClustersGetIamPolicyCall)Do¶
func (c *ProjectsLocationsBareMetalClustersGetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy,error)
Do executes the "gkeonprem.projects.locations.bareMetalClusters.getIamPolicy" call.Any non-2xx status code is an error. Response headers are in either*Policy.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsBareMetalClustersGetIamPolicyCall)Fields¶
func (c *ProjectsLocationsBareMetalClustersGetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsBareMetalClustersGetIamPolicyCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsBareMetalClustersGetIamPolicyCall)Header¶
func (c *ProjectsLocationsBareMetalClustersGetIamPolicyCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsBareMetalClustersGetIamPolicyCall)IfNoneMatch¶
func (c *ProjectsLocationsBareMetalClustersGetIamPolicyCall) IfNoneMatch(entityTagstring) *ProjectsLocationsBareMetalClustersGetIamPolicyCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
func (*ProjectsLocationsBareMetalClustersGetIamPolicyCall)OptionsRequestedPolicyVersion¶
func (c *ProjectsLocationsBareMetalClustersGetIamPolicyCall) OptionsRequestedPolicyVersion(optionsRequestedPolicyVersionint64) *ProjectsLocationsBareMetalClustersGetIamPolicyCall
OptionsRequestedPolicyVersion sets the optional parameter"options.requestedPolicyVersion": The maximum policy version that will beused to format the policy. Valid values are 0, 1, and 3. Requests specifyingan invalid value will be rejected. Requests for policies with anyconditional role bindings must specify version 3. Policies with noconditional role bindings may specify any valid value or leave the fieldunset. The policy in the response might use the policy version that youspecified, or it might use a lower policy version. For example, if youspecify version 3, but the policy has no conditional role bindings, theresponse uses version 1. To learn which resources support conditions intheir IAM policies, see the IAM documentation(https://cloud.google.com/iam/help/conditions/resource-policies).
typeProjectsLocationsBareMetalClustersListCall¶
type ProjectsLocationsBareMetalClustersListCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsBareMetalClustersListCall)AllowMissing¶added inv0.195.0
func (c *ProjectsLocationsBareMetalClustersListCall) AllowMissing(allowMissingbool) *ProjectsLocationsBareMetalClustersListCall
AllowMissing sets the optional parameter "allowMissing": If true, returnlist of BareMetal Clusters including the ones that only exists in RMS.
func (*ProjectsLocationsBareMetalClustersListCall)Context¶
func (c *ProjectsLocationsBareMetalClustersListCall) Context(ctxcontext.Context) *ProjectsLocationsBareMetalClustersListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsBareMetalClustersListCall)Do¶
func (c *ProjectsLocationsBareMetalClustersListCall) Do(opts ...googleapi.CallOption) (*ListBareMetalClustersResponse,error)
Do executes the "gkeonprem.projects.locations.bareMetalClusters.list" call.Any non-2xx status code is an error. Response headers are in either*ListBareMetalClustersResponse.ServerResponse.Header or (if a response wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.
func (*ProjectsLocationsBareMetalClustersListCall)Fields¶
func (c *ProjectsLocationsBareMetalClustersListCall) Fields(s ...googleapi.Field) *ProjectsLocationsBareMetalClustersListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsBareMetalClustersListCall)Filter¶
func (c *ProjectsLocationsBareMetalClustersListCall) Filter(filterstring) *ProjectsLocationsBareMetalClustersListCall
Filter sets the optional parameter "filter": A resource filtering expressionfollowinghttps://google.aip.dev/160. When non-empty, only resource's whoseattributes field matches the filter are returned.
func (*ProjectsLocationsBareMetalClustersListCall)Header¶
func (c *ProjectsLocationsBareMetalClustersListCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsBareMetalClustersListCall)IfNoneMatch¶
func (c *ProjectsLocationsBareMetalClustersListCall) IfNoneMatch(entityTagstring) *ProjectsLocationsBareMetalClustersListCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
func (*ProjectsLocationsBareMetalClustersListCall)PageSize¶
func (c *ProjectsLocationsBareMetalClustersListCall) PageSize(pageSizeint64) *ProjectsLocationsBareMetalClustersListCall
PageSize sets the optional parameter "pageSize": Requested page size. Servermay return fewer items than requested. If unspecified, at most 50 clusterswill be returned. The maximum value is 1000; values above 1000 will becoerced to 1000.
func (*ProjectsLocationsBareMetalClustersListCall)PageToken¶
func (c *ProjectsLocationsBareMetalClustersListCall) PageToken(pageTokenstring) *ProjectsLocationsBareMetalClustersListCall
PageToken sets the optional parameter "pageToken": A token identifying apage of results the server should return.
func (*ProjectsLocationsBareMetalClustersListCall)Pages¶
func (c *ProjectsLocationsBareMetalClustersListCall) Pages(ctxcontext.Context, f func(*ListBareMetalClustersResponse)error)error
Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.
func (*ProjectsLocationsBareMetalClustersListCall)View¶
func (c *ProjectsLocationsBareMetalClustersListCall) View(viewstring) *ProjectsLocationsBareMetalClustersListCall
View sets the optional parameter "view": View for bare metal Clusters. When`BASIC` is specified, only the cluster resource name and admin clustermembership are returned. The default/unset value `CLUSTER_VIEW_UNSPECIFIED`is the same as `FULL', which returns the complete cluster configurationdetails.
Possible values:
"CLUSTER_VIEW_UNSPECIFIED" - If the value is not set, the default `FULL`
view is used.
"BASIC" - Includes basic information of a cluster resource including
cluster resource name and admin cluster membership.
"FULL" - Includes the complete configuration for bare metal cluster
resource. This is the default value for ListBareMetalClustersRequest method.
typeProjectsLocationsBareMetalClustersOperationsGetCall¶
type ProjectsLocationsBareMetalClustersOperationsGetCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsBareMetalClustersOperationsGetCall)Context¶
func (c *ProjectsLocationsBareMetalClustersOperationsGetCall) Context(ctxcontext.Context) *ProjectsLocationsBareMetalClustersOperationsGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsBareMetalClustersOperationsGetCall)Do¶
func (c *ProjectsLocationsBareMetalClustersOperationsGetCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "gkeonprem.projects.locations.bareMetalClusters.operations.get" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsBareMetalClustersOperationsGetCall)Fields¶
func (c *ProjectsLocationsBareMetalClustersOperationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsBareMetalClustersOperationsGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsBareMetalClustersOperationsGetCall)Header¶
func (c *ProjectsLocationsBareMetalClustersOperationsGetCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsBareMetalClustersOperationsGetCall)IfNoneMatch¶
func (c *ProjectsLocationsBareMetalClustersOperationsGetCall) IfNoneMatch(entityTagstring) *ProjectsLocationsBareMetalClustersOperationsGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
typeProjectsLocationsBareMetalClustersOperationsListCall¶
type ProjectsLocationsBareMetalClustersOperationsListCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsBareMetalClustersOperationsListCall)Context¶
func (c *ProjectsLocationsBareMetalClustersOperationsListCall) Context(ctxcontext.Context) *ProjectsLocationsBareMetalClustersOperationsListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsBareMetalClustersOperationsListCall)Do¶
func (c *ProjectsLocationsBareMetalClustersOperationsListCall) Do(opts ...googleapi.CallOption) (*ListOperationsResponse,error)
Do executes the "gkeonprem.projects.locations.bareMetalClusters.operations.list" call.Any non-2xx status code is an error. Response headers are in either*ListOperationsResponse.ServerResponse.Header or (if a response was returnedat all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModified wasreturned.
func (*ProjectsLocationsBareMetalClustersOperationsListCall)Fields¶
func (c *ProjectsLocationsBareMetalClustersOperationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsBareMetalClustersOperationsListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsBareMetalClustersOperationsListCall)Filter¶
func (c *ProjectsLocationsBareMetalClustersOperationsListCall) Filter(filterstring) *ProjectsLocationsBareMetalClustersOperationsListCall
Filter sets the optional parameter "filter": The standard list filter.
func (*ProjectsLocationsBareMetalClustersOperationsListCall)Header¶
func (c *ProjectsLocationsBareMetalClustersOperationsListCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsBareMetalClustersOperationsListCall)IfNoneMatch¶
func (c *ProjectsLocationsBareMetalClustersOperationsListCall) IfNoneMatch(entityTagstring) *ProjectsLocationsBareMetalClustersOperationsListCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
func (*ProjectsLocationsBareMetalClustersOperationsListCall)PageSize¶
func (c *ProjectsLocationsBareMetalClustersOperationsListCall) PageSize(pageSizeint64) *ProjectsLocationsBareMetalClustersOperationsListCall
PageSize sets the optional parameter "pageSize": The standard list pagesize.
func (*ProjectsLocationsBareMetalClustersOperationsListCall)PageToken¶
func (c *ProjectsLocationsBareMetalClustersOperationsListCall) PageToken(pageTokenstring) *ProjectsLocationsBareMetalClustersOperationsListCall
PageToken sets the optional parameter "pageToken": The standard list pagetoken.
func (*ProjectsLocationsBareMetalClustersOperationsListCall)Pages¶
func (c *ProjectsLocationsBareMetalClustersOperationsListCall) Pages(ctxcontext.Context, f func(*ListOperationsResponse)error)error
Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.
func (*ProjectsLocationsBareMetalClustersOperationsListCall)ReturnPartialSuccess¶added inv0.254.0
func (c *ProjectsLocationsBareMetalClustersOperationsListCall) ReturnPartialSuccess(returnPartialSuccessbool) *ProjectsLocationsBareMetalClustersOperationsListCall
ReturnPartialSuccess sets the optional parameter "returnPartialSuccess":When set to `true`, operations that are reachable are returned as normal,and those that are unreachable are returned in the[ListOperationsResponse.unreachable] field. This can only be `true` whenreading across collections e.g. when `parent` is set to"projects/example/locations/-". This field is not by default supported andwill result in an `UNIMPLEMENTED` error if set unless explicitly documentedotherwise in service or product specific documentation.
typeProjectsLocationsBareMetalClustersOperationsService¶
type ProjectsLocationsBareMetalClustersOperationsService struct {// contains filtered or unexported fields}funcNewProjectsLocationsBareMetalClustersOperationsService¶
func NewProjectsLocationsBareMetalClustersOperationsService(s *Service) *ProjectsLocationsBareMetalClustersOperationsService
func (*ProjectsLocationsBareMetalClustersOperationsService)Get¶
func (r *ProjectsLocationsBareMetalClustersOperationsService) Get(namestring) *ProjectsLocationsBareMetalClustersOperationsGetCall
Get: Gets the latest state of a long-running operation. Clients can use thismethod to poll the operation result at intervals as recommended by the APIservice.
- name: The name of the operation resource.
func (*ProjectsLocationsBareMetalClustersOperationsService)List¶
func (r *ProjectsLocationsBareMetalClustersOperationsService) List(namestring) *ProjectsLocationsBareMetalClustersOperationsListCall
List: Lists operations that match the specified filter in the request. Ifthe server doesn't support this method, it returns `UNIMPLEMENTED`.
- name: The name of the operation's parent resource.
typeProjectsLocationsBareMetalClustersPatchCall¶
type ProjectsLocationsBareMetalClustersPatchCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsBareMetalClustersPatchCall)AllowMissing¶
func (c *ProjectsLocationsBareMetalClustersPatchCall) AllowMissing(allowMissingbool) *ProjectsLocationsBareMetalClustersPatchCall
AllowMissing sets the optional parameter "allowMissing": If set to true, andthe bare metal cluster is not found, the request will create a new baremetal cluster with the provided configuration. The user must have bothcreate and update permission to call Update with allow_missing set to true.
func (*ProjectsLocationsBareMetalClustersPatchCall)Context¶
func (c *ProjectsLocationsBareMetalClustersPatchCall) Context(ctxcontext.Context) *ProjectsLocationsBareMetalClustersPatchCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsBareMetalClustersPatchCall)Do¶
func (c *ProjectsLocationsBareMetalClustersPatchCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "gkeonprem.projects.locations.bareMetalClusters.patch" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsBareMetalClustersPatchCall)Fields¶
func (c *ProjectsLocationsBareMetalClustersPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsBareMetalClustersPatchCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsBareMetalClustersPatchCall)Header¶
func (c *ProjectsLocationsBareMetalClustersPatchCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsBareMetalClustersPatchCall)UpdateMask¶
func (c *ProjectsLocationsBareMetalClustersPatchCall) UpdateMask(updateMaskstring) *ProjectsLocationsBareMetalClustersPatchCall
UpdateMask sets the optional parameter "updateMask": Required. Field mask isused to specify the fields to be overwritten in the BareMetalClusterresource by the update. The fields specified in the update_mask are relativeto the resource, not the full request. A field will be overwritten if it isin the mask. If the user does not provide a mask then all populated fieldsin the BareMetalCluster message will be updated. Empty fields will beignored unless a field mask is used.
func (*ProjectsLocationsBareMetalClustersPatchCall)ValidateOnly¶
func (c *ProjectsLocationsBareMetalClustersPatchCall) ValidateOnly(validateOnlybool) *ProjectsLocationsBareMetalClustersPatchCall
ValidateOnly sets the optional parameter "validateOnly": Validate therequest without actually doing any updates.
typeProjectsLocationsBareMetalClustersQueryVersionConfigCall¶
type ProjectsLocationsBareMetalClustersQueryVersionConfigCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsBareMetalClustersQueryVersionConfigCall)Context¶
func (c *ProjectsLocationsBareMetalClustersQueryVersionConfigCall) Context(ctxcontext.Context) *ProjectsLocationsBareMetalClustersQueryVersionConfigCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsBareMetalClustersQueryVersionConfigCall)CreateConfigAdminClusterMembership¶
func (c *ProjectsLocationsBareMetalClustersQueryVersionConfigCall) CreateConfigAdminClusterMembership(createConfigAdminClusterMembershipstring) *ProjectsLocationsBareMetalClustersQueryVersionConfigCall
CreateConfigAdminClusterMembership sets the optional parameter"createConfig.adminClusterMembership": The admin cluster membership. This isthe full resource name of the admin cluster's fleet membership. Format:"projects/{project}/locations/{location}/memberships/{membership}"
func (*ProjectsLocationsBareMetalClustersQueryVersionConfigCall)CreateConfigAdminClusterName¶
func (c *ProjectsLocationsBareMetalClustersQueryVersionConfigCall) CreateConfigAdminClusterName(createConfigAdminClusterNamestring) *ProjectsLocationsBareMetalClustersQueryVersionConfigCall
CreateConfigAdminClusterName sets the optional parameter"createConfig.adminClusterName": The admin cluster resource name. This isthe full resource name of the admin cluster resource. Format:"projects/{project}/locations/{location}/bareMetalAdminClusters/{bare_metal_admin_cluster}"
func (*ProjectsLocationsBareMetalClustersQueryVersionConfigCall)Do¶
func (c *ProjectsLocationsBareMetalClustersQueryVersionConfigCall) Do(opts ...googleapi.CallOption) (*QueryBareMetalVersionConfigResponse,error)
Do executes the "gkeonprem.projects.locations.bareMetalClusters.queryVersionConfig" call.Any non-2xx status code is an error. Response headers are in either*QueryBareMetalVersionConfigResponse.ServerResponse.Header or (if a responsewas returned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.
func (*ProjectsLocationsBareMetalClustersQueryVersionConfigCall)Fields¶
func (c *ProjectsLocationsBareMetalClustersQueryVersionConfigCall) Fields(s ...googleapi.Field) *ProjectsLocationsBareMetalClustersQueryVersionConfigCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsBareMetalClustersQueryVersionConfigCall)Header¶
func (c *ProjectsLocationsBareMetalClustersQueryVersionConfigCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsBareMetalClustersQueryVersionConfigCall)UpgradeConfigClusterName¶
func (c *ProjectsLocationsBareMetalClustersQueryVersionConfigCall) UpgradeConfigClusterName(upgradeConfigClusterNamestring) *ProjectsLocationsBareMetalClustersQueryVersionConfigCall
UpgradeConfigClusterName sets the optional parameter"upgradeConfig.clusterName": The user cluster resource name. This is thefull resource name of the user cluster resource. Format:"projects/{project}/locations/{location}/bareMetalClusters/{bare_metal_cluster}"
typeProjectsLocationsBareMetalClustersService¶
type ProjectsLocationsBareMetalClustersService struct {BareMetalNodePools *ProjectsLocationsBareMetalClustersBareMetalNodePoolsServiceOperations *ProjectsLocationsBareMetalClustersOperationsService// contains filtered or unexported fields}funcNewProjectsLocationsBareMetalClustersService¶
func NewProjectsLocationsBareMetalClustersService(s *Service) *ProjectsLocationsBareMetalClustersService
func (*ProjectsLocationsBareMetalClustersService)Create¶
func (r *ProjectsLocationsBareMetalClustersService) Create(parentstring, baremetalcluster *BareMetalCluster) *ProjectsLocationsBareMetalClustersCreateCall
Create: Creates a new bare metal cluster in a given project and location.
- parent: The parent of the project and location where the cluster iscreated in. Format: "projects/{project}/locations/{location}".
func (*ProjectsLocationsBareMetalClustersService)Delete¶
func (r *ProjectsLocationsBareMetalClustersService) Delete(namestring) *ProjectsLocationsBareMetalClustersDeleteCall
Delete: Deletes a single bare metal Cluster.
- name: Name of the bare metal user cluster to be deleted. Format:"projects/{project}/locations/{location}/bareMetalClusters/{bare_metal_cluster}".
func (*ProjectsLocationsBareMetalClustersService)Enroll¶
func (r *ProjectsLocationsBareMetalClustersService) Enroll(parentstring, enrollbaremetalclusterrequest *EnrollBareMetalClusterRequest) *ProjectsLocationsBareMetalClustersEnrollCall
Enroll: Enrolls an existing bare metal user cluster and its node pools tothe Anthos On-Prem API within a given project and location. Throughenrollment, an existing cluster will become Anthos On-Prem API managed. Thecorresponding GCP resources will be created and all future modifications tothe cluster and/or its node pools will be expected to be performed throughthe API.
- parent: The parent of the project and location where the cluster isenrolled in. Format: "projects/{project}/locations/{location}".
func (*ProjectsLocationsBareMetalClustersService)Get¶
func (r *ProjectsLocationsBareMetalClustersService) Get(namestring) *ProjectsLocationsBareMetalClustersGetCall
Get: Gets details of a single bare metal Cluster.
- name: Name of the bare metal user cluster to get. Format:"projects/{project}/locations/{location}/bareMetalClusters/{bare_metal_cluster}".
func (*ProjectsLocationsBareMetalClustersService)GetIamPolicy¶
func (r *ProjectsLocationsBareMetalClustersService) GetIamPolicy(resourcestring) *ProjectsLocationsBareMetalClustersGetIamPolicyCall
GetIamPolicy: Gets the access control policy for a resource. Returns anempty policy if the resource exists and does not have a policy set.
- resource: REQUIRED: The resource for which the policy is being requested.See Resource names (https://cloud.google.com/apis/design/resource_names)for the appropriate value for this field.
func (*ProjectsLocationsBareMetalClustersService)List¶
func (r *ProjectsLocationsBareMetalClustersService) List(parentstring) *ProjectsLocationsBareMetalClustersListCall
List: Lists bare metal clusters in a given project and location.
- parent: The parent of the project and location where the clusters arelisted in. Format: "projects/{project}/locations/{location}".
func (*ProjectsLocationsBareMetalClustersService)Patch¶
func (r *ProjectsLocationsBareMetalClustersService) Patch(namestring, baremetalcluster *BareMetalCluster) *ProjectsLocationsBareMetalClustersPatchCall
Patch: Updates the parameters of a single bare metal Cluster.
- name: Immutable. The bare metal user cluster resource name.
func (*ProjectsLocationsBareMetalClustersService)QueryVersionConfig¶
func (r *ProjectsLocationsBareMetalClustersService) QueryVersionConfig(parentstring) *ProjectsLocationsBareMetalClustersQueryVersionConfigCall
QueryVersionConfig: Queries the bare metal user cluster version config.
- parent: The parent of the project and location to query for versionconfig. Format: "projects/{project}/locations/{location}".
func (*ProjectsLocationsBareMetalClustersService)SetIamPolicy¶
func (r *ProjectsLocationsBareMetalClustersService) SetIamPolicy(resourcestring, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsBareMetalClustersSetIamPolicyCall
SetIamPolicy: Sets the access control policy on the specified resource.Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`,and `PERMISSION_DENIED` errors.
- resource: REQUIRED: The resource for which the policy is being specified.See Resource names (https://cloud.google.com/apis/design/resource_names)for the appropriate value for this field.
func (*ProjectsLocationsBareMetalClustersService)TestIamPermissions¶
func (r *ProjectsLocationsBareMetalClustersService) TestIamPermissions(resourcestring, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsBareMetalClustersTestIamPermissionsCall
TestIamPermissions: Returns permissions that a caller has on the specifiedresource. If the resource does not exist, this will return an empty set ofpermissions, not a `NOT_FOUND` error. Note: This operation is designed to beused for building permission-aware UIs and command-line tools, not forauthorization checking. This operation may "fail open" without warning.
- resource: REQUIRED: The resource for which the policy detail is beingrequested. See Resource names(https://cloud.google.com/apis/design/resource_names) for the appropriatevalue for this field.
func (*ProjectsLocationsBareMetalClustersService)Unenroll¶
func (r *ProjectsLocationsBareMetalClustersService) Unenroll(namestring) *ProjectsLocationsBareMetalClustersUnenrollCall
Unenroll: Unenrolls an existing bare metal user cluster and its node poolsfrom the Anthos On-Prem API within a given project and location.Unenrollment removes the Cloud reference to the cluster without modifyingthe underlying OnPrem Resources. Clusters and node pools will continue torun; however, they will no longer be accessible through the Anthos On-PremAPI or its clients.
- name: Name of the bare metal user cluster to be unenrolled. Format:"projects/{project}/locations/{location}/bareMetalClusters/{cluster}".
typeProjectsLocationsBareMetalClustersSetIamPolicyCall¶
type ProjectsLocationsBareMetalClustersSetIamPolicyCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsBareMetalClustersSetIamPolicyCall)Context¶
func (c *ProjectsLocationsBareMetalClustersSetIamPolicyCall) Context(ctxcontext.Context) *ProjectsLocationsBareMetalClustersSetIamPolicyCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsBareMetalClustersSetIamPolicyCall)Do¶
func (c *ProjectsLocationsBareMetalClustersSetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy,error)
Do executes the "gkeonprem.projects.locations.bareMetalClusters.setIamPolicy" call.Any non-2xx status code is an error. Response headers are in either*Policy.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsBareMetalClustersSetIamPolicyCall)Fields¶
func (c *ProjectsLocationsBareMetalClustersSetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsBareMetalClustersSetIamPolicyCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsBareMetalClustersSetIamPolicyCall)Header¶
func (c *ProjectsLocationsBareMetalClustersSetIamPolicyCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsBareMetalClustersTestIamPermissionsCall¶
type ProjectsLocationsBareMetalClustersTestIamPermissionsCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsBareMetalClustersTestIamPermissionsCall)Context¶
func (c *ProjectsLocationsBareMetalClustersTestIamPermissionsCall) Context(ctxcontext.Context) *ProjectsLocationsBareMetalClustersTestIamPermissionsCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsBareMetalClustersTestIamPermissionsCall)Do¶
func (c *ProjectsLocationsBareMetalClustersTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestIamPermissionsResponse,error)
Do executes the "gkeonprem.projects.locations.bareMetalClusters.testIamPermissions" call.Any non-2xx status code is an error. Response headers are in either*TestIamPermissionsResponse.ServerResponse.Header or (if a response wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.
func (*ProjectsLocationsBareMetalClustersTestIamPermissionsCall)Fields¶
func (c *ProjectsLocationsBareMetalClustersTestIamPermissionsCall) Fields(s ...googleapi.Field) *ProjectsLocationsBareMetalClustersTestIamPermissionsCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsBareMetalClustersTestIamPermissionsCall)Header¶
func (c *ProjectsLocationsBareMetalClustersTestIamPermissionsCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsBareMetalClustersUnenrollCall¶
type ProjectsLocationsBareMetalClustersUnenrollCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsBareMetalClustersUnenrollCall)AllowMissing¶
func (c *ProjectsLocationsBareMetalClustersUnenrollCall) AllowMissing(allowMissingbool) *ProjectsLocationsBareMetalClustersUnenrollCall
AllowMissing sets the optional parameter "allowMissing": If set to true, andthe bare metal cluster is not found, the request will succeed but no actionwill be taken on the server and return a completed LRO.
func (*ProjectsLocationsBareMetalClustersUnenrollCall)Context¶
func (c *ProjectsLocationsBareMetalClustersUnenrollCall) Context(ctxcontext.Context) *ProjectsLocationsBareMetalClustersUnenrollCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsBareMetalClustersUnenrollCall)Do¶
func (c *ProjectsLocationsBareMetalClustersUnenrollCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "gkeonprem.projects.locations.bareMetalClusters.unenroll" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsBareMetalClustersUnenrollCall)Etag¶
func (c *ProjectsLocationsBareMetalClustersUnenrollCall) Etag(etagstring) *ProjectsLocationsBareMetalClustersUnenrollCall
Etag sets the optional parameter "etag": The current etag of the bare metalCluster. If an etag is provided and does not match the current etag of thecluster, deletion will be blocked and an ABORTED error will be returned.
func (*ProjectsLocationsBareMetalClustersUnenrollCall)Fields¶
func (c *ProjectsLocationsBareMetalClustersUnenrollCall) Fields(s ...googleapi.Field) *ProjectsLocationsBareMetalClustersUnenrollCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsBareMetalClustersUnenrollCall)Force¶
func (c *ProjectsLocationsBareMetalClustersUnenrollCall) Force(forcebool) *ProjectsLocationsBareMetalClustersUnenrollCall
Force sets the optional parameter "force": This is required if the clusterhas any associated node pools. When set, any child node pools will also beunenrolled.
func (*ProjectsLocationsBareMetalClustersUnenrollCall)Header¶
func (c *ProjectsLocationsBareMetalClustersUnenrollCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsBareMetalClustersUnenrollCall)ValidateOnly¶
func (c *ProjectsLocationsBareMetalClustersUnenrollCall) ValidateOnly(validateOnlybool) *ProjectsLocationsBareMetalClustersUnenrollCall
ValidateOnly sets the optional parameter "validateOnly": Validate therequest without actually doing any updates.
typeProjectsLocationsGetCall¶
type ProjectsLocationsGetCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsGetCall)Context¶
func (c *ProjectsLocationsGetCall) Context(ctxcontext.Context) *ProjectsLocationsGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsGetCall)Do¶
func (c *ProjectsLocationsGetCall) Do(opts ...googleapi.CallOption) (*Location,error)
Do executes the "gkeonprem.projects.locations.get" call.Any non-2xx status code is an error. Response headers are in either*Location.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsGetCall)Fields¶
func (c *ProjectsLocationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsGetCall)Header¶
func (c *ProjectsLocationsGetCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsGetCall)IfNoneMatch¶
func (c *ProjectsLocationsGetCall) IfNoneMatch(entityTagstring) *ProjectsLocationsGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
typeProjectsLocationsListCall¶
type ProjectsLocationsListCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsListCall)Context¶
func (c *ProjectsLocationsListCall) Context(ctxcontext.Context) *ProjectsLocationsListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsListCall)Do¶
func (c *ProjectsLocationsListCall) Do(opts ...googleapi.CallOption) (*ListLocationsResponse,error)
Do executes the "gkeonprem.projects.locations.list" call.Any non-2xx status code is an error. Response headers are in either*ListLocationsResponse.ServerResponse.Header or (if a response was returnedat all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModified wasreturned.
func (*ProjectsLocationsListCall)ExtraLocationTypes¶added inv0.229.0
func (c *ProjectsLocationsListCall) ExtraLocationTypes(extraLocationTypes ...string) *ProjectsLocationsListCall
ExtraLocationTypes sets the optional parameter "extraLocationTypes": Do notuse this field. It is unsupported and is ignored unless explicitlydocumented otherwise. This is primarily for internal usage.
func (*ProjectsLocationsListCall)Fields¶
func (c *ProjectsLocationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsListCall)Filter¶
func (c *ProjectsLocationsListCall) Filter(filterstring) *ProjectsLocationsListCall
Filter sets the optional parameter "filter": A filter to narrow down resultsto a preferred subset. The filtering language accepts strings like"displayName=tokyo", and is documented in more detail in AIP-160(https://google.aip.dev/160).
func (*ProjectsLocationsListCall)Header¶
func (c *ProjectsLocationsListCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsListCall)IfNoneMatch¶
func (c *ProjectsLocationsListCall) IfNoneMatch(entityTagstring) *ProjectsLocationsListCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
func (*ProjectsLocationsListCall)PageSize¶
func (c *ProjectsLocationsListCall) PageSize(pageSizeint64) *ProjectsLocationsListCall
PageSize sets the optional parameter "pageSize": The maximum number ofresults to return. If not set, the service selects a default.
func (*ProjectsLocationsListCall)PageToken¶
func (c *ProjectsLocationsListCall) PageToken(pageTokenstring) *ProjectsLocationsListCall
PageToken sets the optional parameter "pageToken": A page token receivedfrom the `next_page_token` field in the response. Send that page token toreceive the subsequent page.
func (*ProjectsLocationsListCall)Pages¶
func (c *ProjectsLocationsListCall) Pages(ctxcontext.Context, f func(*ListLocationsResponse)error)error
Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.
typeProjectsLocationsOperationsCancelCall¶
type ProjectsLocationsOperationsCancelCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsOperationsCancelCall)Context¶
func (c *ProjectsLocationsOperationsCancelCall) Context(ctxcontext.Context) *ProjectsLocationsOperationsCancelCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsOperationsCancelCall)Do¶
func (c *ProjectsLocationsOperationsCancelCall) Do(opts ...googleapi.CallOption) (*Empty,error)
Do executes the "gkeonprem.projects.locations.operations.cancel" call.Any non-2xx status code is an error. Response headers are in either*Empty.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsOperationsCancelCall)Fields¶
func (c *ProjectsLocationsOperationsCancelCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsCancelCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsOperationsCancelCall)Header¶
func (c *ProjectsLocationsOperationsCancelCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsOperationsDeleteCall¶
type ProjectsLocationsOperationsDeleteCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsOperationsDeleteCall)Context¶
func (c *ProjectsLocationsOperationsDeleteCall) Context(ctxcontext.Context) *ProjectsLocationsOperationsDeleteCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsOperationsDeleteCall)Do¶
func (c *ProjectsLocationsOperationsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty,error)
Do executes the "gkeonprem.projects.locations.operations.delete" call.Any non-2xx status code is an error. Response headers are in either*Empty.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsOperationsDeleteCall)Fields¶
func (c *ProjectsLocationsOperationsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsDeleteCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsOperationsDeleteCall)Header¶
func (c *ProjectsLocationsOperationsDeleteCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsOperationsGetCall¶
type ProjectsLocationsOperationsGetCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsOperationsGetCall)Context¶
func (c *ProjectsLocationsOperationsGetCall) Context(ctxcontext.Context) *ProjectsLocationsOperationsGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsOperationsGetCall)Do¶
func (c *ProjectsLocationsOperationsGetCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "gkeonprem.projects.locations.operations.get" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsOperationsGetCall)Fields¶
func (c *ProjectsLocationsOperationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsOperationsGetCall)Header¶
func (c *ProjectsLocationsOperationsGetCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsOperationsGetCall)IfNoneMatch¶
func (c *ProjectsLocationsOperationsGetCall) IfNoneMatch(entityTagstring) *ProjectsLocationsOperationsGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
typeProjectsLocationsOperationsListCall¶
type ProjectsLocationsOperationsListCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsOperationsListCall)Context¶
func (c *ProjectsLocationsOperationsListCall) Context(ctxcontext.Context) *ProjectsLocationsOperationsListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsOperationsListCall)Do¶
func (c *ProjectsLocationsOperationsListCall) Do(opts ...googleapi.CallOption) (*ListOperationsResponse,error)
Do executes the "gkeonprem.projects.locations.operations.list" call.Any non-2xx status code is an error. Response headers are in either*ListOperationsResponse.ServerResponse.Header or (if a response was returnedat all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModified wasreturned.
func (*ProjectsLocationsOperationsListCall)Fields¶
func (c *ProjectsLocationsOperationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsOperationsListCall)Filter¶
func (c *ProjectsLocationsOperationsListCall) Filter(filterstring) *ProjectsLocationsOperationsListCall
Filter sets the optional parameter "filter": The standard list filter.
func (*ProjectsLocationsOperationsListCall)Header¶
func (c *ProjectsLocationsOperationsListCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsOperationsListCall)IfNoneMatch¶
func (c *ProjectsLocationsOperationsListCall) IfNoneMatch(entityTagstring) *ProjectsLocationsOperationsListCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
func (*ProjectsLocationsOperationsListCall)PageSize¶
func (c *ProjectsLocationsOperationsListCall) PageSize(pageSizeint64) *ProjectsLocationsOperationsListCall
PageSize sets the optional parameter "pageSize": The standard list pagesize.
func (*ProjectsLocationsOperationsListCall)PageToken¶
func (c *ProjectsLocationsOperationsListCall) PageToken(pageTokenstring) *ProjectsLocationsOperationsListCall
PageToken sets the optional parameter "pageToken": The standard list pagetoken.
func (*ProjectsLocationsOperationsListCall)Pages¶
func (c *ProjectsLocationsOperationsListCall) Pages(ctxcontext.Context, f func(*ListOperationsResponse)error)error
Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.
func (*ProjectsLocationsOperationsListCall)ReturnPartialSuccess¶added inv0.254.0
func (c *ProjectsLocationsOperationsListCall) ReturnPartialSuccess(returnPartialSuccessbool) *ProjectsLocationsOperationsListCall
ReturnPartialSuccess sets the optional parameter "returnPartialSuccess":When set to `true`, operations that are reachable are returned as normal,and those that are unreachable are returned in the[ListOperationsResponse.unreachable] field. This can only be `true` whenreading across collections e.g. when `parent` is set to"projects/example/locations/-". This field is not by default supported andwill result in an `UNIMPLEMENTED` error if set unless explicitly documentedotherwise in service or product specific documentation.
typeProjectsLocationsOperationsService¶
type ProjectsLocationsOperationsService struct {// contains filtered or unexported fields}funcNewProjectsLocationsOperationsService¶
func NewProjectsLocationsOperationsService(s *Service) *ProjectsLocationsOperationsService
func (*ProjectsLocationsOperationsService)Cancel¶
func (r *ProjectsLocationsOperationsService) Cancel(namestring, canceloperationrequest *CancelOperationRequest) *ProjectsLocationsOperationsCancelCall
Cancel: Starts asynchronous cancellation on a long-running operation. Theserver makes a best effort to cancel the operation, but success is notguaranteed. If the server doesn't support this method, it returns`google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation orother methods to check whether the cancellation succeeded or whether theoperation completed despite cancellation. On successful cancellation, theoperation is not deleted; instead, it becomes an operation with anOperation.error value with a google.rpc.Status.code of `1`, corresponding to`Code.CANCELLED`.
- name: The name of the operation resource to be cancelled.
func (*ProjectsLocationsOperationsService)Delete¶
func (r *ProjectsLocationsOperationsService) Delete(namestring) *ProjectsLocationsOperationsDeleteCall
Delete: Deletes a long-running operation. This method indicates that theclient is no longer interested in the operation result. It does not cancelthe operation. If the server doesn't support this method, it returns`google.rpc.Code.UNIMPLEMENTED`.
- name: The name of the operation resource to be deleted.
func (*ProjectsLocationsOperationsService)Get¶
func (r *ProjectsLocationsOperationsService) Get(namestring) *ProjectsLocationsOperationsGetCall
Get: Gets the latest state of a long-running operation. Clients can use thismethod to poll the operation result at intervals as recommended by the APIservice.
- name: The name of the operation resource.
func (*ProjectsLocationsOperationsService)List¶
func (r *ProjectsLocationsOperationsService) List(namestring) *ProjectsLocationsOperationsListCall
List: Lists operations that match the specified filter in the request. Ifthe server doesn't support this method, it returns `UNIMPLEMENTED`.
- name: The name of the operation's parent resource.
typeProjectsLocationsService¶
type ProjectsLocationsService struct {BareMetalAdminClusters *ProjectsLocationsBareMetalAdminClustersServiceBareMetalClusters *ProjectsLocationsBareMetalClustersServiceOperations *ProjectsLocationsOperationsServiceVmwareAdminClusters *ProjectsLocationsVmwareAdminClustersServiceVmwareClusters *ProjectsLocationsVmwareClustersService// contains filtered or unexported fields}funcNewProjectsLocationsService¶
func NewProjectsLocationsService(s *Service) *ProjectsLocationsService
func (*ProjectsLocationsService)Get¶
func (r *ProjectsLocationsService) Get(namestring) *ProjectsLocationsGetCall
Get: Gets information about a location.
- name: Resource name for the location.
func (*ProjectsLocationsService)List¶
func (r *ProjectsLocationsService) List(namestring) *ProjectsLocationsListCall
List: Lists information about the supported locations for this service.
- name: The resource that owns the locations collection, if applicable.
typeProjectsLocationsVmwareAdminClustersCreateCall¶added inv0.205.0
type ProjectsLocationsVmwareAdminClustersCreateCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsVmwareAdminClustersCreateCall)AllowPreflightFailure¶added inv0.205.0
func (c *ProjectsLocationsVmwareAdminClustersCreateCall) AllowPreflightFailure(allowPreflightFailurebool) *ProjectsLocationsVmwareAdminClustersCreateCall
AllowPreflightFailure sets the optional parameter "allowPreflightFailure":If set to true, CLM will force CCFE to persist the cluster resource in RMSwhen the creation fails during standalone preflight checks. In that case thesubsequent create call will fail with "cluster already exists" error andhence a update cluster is required to fix the cluster.
func (*ProjectsLocationsVmwareAdminClustersCreateCall)Context¶added inv0.205.0
func (c *ProjectsLocationsVmwareAdminClustersCreateCall) Context(ctxcontext.Context) *ProjectsLocationsVmwareAdminClustersCreateCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsVmwareAdminClustersCreateCall)Do¶added inv0.205.0
func (c *ProjectsLocationsVmwareAdminClustersCreateCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "gkeonprem.projects.locations.vmwareAdminClusters.create" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsVmwareAdminClustersCreateCall)Fields¶added inv0.205.0
func (c *ProjectsLocationsVmwareAdminClustersCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareAdminClustersCreateCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsVmwareAdminClustersCreateCall)Header¶added inv0.205.0
func (c *ProjectsLocationsVmwareAdminClustersCreateCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsVmwareAdminClustersCreateCall)SkipValidations¶added inv0.257.0
func (c *ProjectsLocationsVmwareAdminClustersCreateCall) SkipValidations(skipValidations ...string) *ProjectsLocationsVmwareAdminClustersCreateCall
SkipValidations sets the optional parameter "skipValidations": If set, skipthe specified validations.
func (*ProjectsLocationsVmwareAdminClustersCreateCall)ValidateOnly¶added inv0.205.0
func (c *ProjectsLocationsVmwareAdminClustersCreateCall) ValidateOnly(validateOnlybool) *ProjectsLocationsVmwareAdminClustersCreateCall
ValidateOnly sets the optional parameter "validateOnly": Validate therequest without actually doing any updates.
func (*ProjectsLocationsVmwareAdminClustersCreateCall)VmwareAdminClusterId¶added inv0.205.0
func (c *ProjectsLocationsVmwareAdminClustersCreateCall) VmwareAdminClusterId(vmwareAdminClusterIdstring) *ProjectsLocationsVmwareAdminClustersCreateCall
VmwareAdminClusterId sets the optional parameter "vmwareAdminClusterId":Required. User provided identifier that is used as part of the resourcename; must conform to RFC-1034 and additionally restrict to lower-casedletters. This comes out roughly to: /^a-z+[a-z0-9]$/
typeProjectsLocationsVmwareAdminClustersEnrollCall¶
type ProjectsLocationsVmwareAdminClustersEnrollCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsVmwareAdminClustersEnrollCall)Context¶
func (c *ProjectsLocationsVmwareAdminClustersEnrollCall) Context(ctxcontext.Context) *ProjectsLocationsVmwareAdminClustersEnrollCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsVmwareAdminClustersEnrollCall)Do¶
func (c *ProjectsLocationsVmwareAdminClustersEnrollCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "gkeonprem.projects.locations.vmwareAdminClusters.enroll" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsVmwareAdminClustersEnrollCall)Fields¶
func (c *ProjectsLocationsVmwareAdminClustersEnrollCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareAdminClustersEnrollCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsVmwareAdminClustersEnrollCall)Header¶
func (c *ProjectsLocationsVmwareAdminClustersEnrollCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsVmwareAdminClustersGetCall¶
type ProjectsLocationsVmwareAdminClustersGetCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsVmwareAdminClustersGetCall)AllowMissing¶added inv0.195.0
func (c *ProjectsLocationsVmwareAdminClustersGetCall) AllowMissing(allowMissingbool) *ProjectsLocationsVmwareAdminClustersGetCall
AllowMissing sets the optional parameter "allowMissing": If true, returnVmware Admin Cluster including the one that only exists in RMS.
func (*ProjectsLocationsVmwareAdminClustersGetCall)Context¶
func (c *ProjectsLocationsVmwareAdminClustersGetCall) Context(ctxcontext.Context) *ProjectsLocationsVmwareAdminClustersGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsVmwareAdminClustersGetCall)Do¶
func (c *ProjectsLocationsVmwareAdminClustersGetCall) Do(opts ...googleapi.CallOption) (*VmwareAdminCluster,error)
Do executes the "gkeonprem.projects.locations.vmwareAdminClusters.get" call.Any non-2xx status code is an error. Response headers are in either*VmwareAdminCluster.ServerResponse.Header or (if a response was returned atall) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModified wasreturned.
func (*ProjectsLocationsVmwareAdminClustersGetCall)Fields¶
func (c *ProjectsLocationsVmwareAdminClustersGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareAdminClustersGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsVmwareAdminClustersGetCall)Header¶
func (c *ProjectsLocationsVmwareAdminClustersGetCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsVmwareAdminClustersGetCall)IfNoneMatch¶
func (c *ProjectsLocationsVmwareAdminClustersGetCall) IfNoneMatch(entityTagstring) *ProjectsLocationsVmwareAdminClustersGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
func (*ProjectsLocationsVmwareAdminClustersGetCall)View¶added inv0.125.0
func (c *ProjectsLocationsVmwareAdminClustersGetCall) View(viewstring) *ProjectsLocationsVmwareAdminClustersGetCall
View sets the optional parameter "view": View for VMware admin cluster. When`BASIC` is specified, only the cluster resource name and membership arereturned. The default/unset value `CLUSTER_VIEW_UNSPECIFIED` is the same as`FULL', which returns the complete cluster configuration details.
Possible values:
"CLUSTER_VIEW_UNSPECIFIED" - If the value is not set, the default `FULL`
view is used.
"BASIC" - Includes basic information of a cluster resource including
cluster resource name and membership.
"FULL" - Includes the complete configuration for VMware admin cluster
resource. This is the default value for GetVmwareAdminClusterRequest method.
typeProjectsLocationsVmwareAdminClustersGetIamPolicyCall¶
type ProjectsLocationsVmwareAdminClustersGetIamPolicyCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsVmwareAdminClustersGetIamPolicyCall)Context¶
func (c *ProjectsLocationsVmwareAdminClustersGetIamPolicyCall) Context(ctxcontext.Context) *ProjectsLocationsVmwareAdminClustersGetIamPolicyCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsVmwareAdminClustersGetIamPolicyCall)Do¶
func (c *ProjectsLocationsVmwareAdminClustersGetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy,error)
Do executes the "gkeonprem.projects.locations.vmwareAdminClusters.getIamPolicy" call.Any non-2xx status code is an error. Response headers are in either*Policy.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsVmwareAdminClustersGetIamPolicyCall)Fields¶
func (c *ProjectsLocationsVmwareAdminClustersGetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareAdminClustersGetIamPolicyCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsVmwareAdminClustersGetIamPolicyCall)Header¶
func (c *ProjectsLocationsVmwareAdminClustersGetIamPolicyCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsVmwareAdminClustersGetIamPolicyCall)IfNoneMatch¶
func (c *ProjectsLocationsVmwareAdminClustersGetIamPolicyCall) IfNoneMatch(entityTagstring) *ProjectsLocationsVmwareAdminClustersGetIamPolicyCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
func (*ProjectsLocationsVmwareAdminClustersGetIamPolicyCall)OptionsRequestedPolicyVersion¶
func (c *ProjectsLocationsVmwareAdminClustersGetIamPolicyCall) OptionsRequestedPolicyVersion(optionsRequestedPolicyVersionint64) *ProjectsLocationsVmwareAdminClustersGetIamPolicyCall
OptionsRequestedPolicyVersion sets the optional parameter"options.requestedPolicyVersion": The maximum policy version that will beused to format the policy. Valid values are 0, 1, and 3. Requests specifyingan invalid value will be rejected. Requests for policies with anyconditional role bindings must specify version 3. Policies with noconditional role bindings may specify any valid value or leave the fieldunset. The policy in the response might use the policy version that youspecified, or it might use a lower policy version. For example, if youspecify version 3, but the policy has no conditional role bindings, theresponse uses version 1. To learn which resources support conditions intheir IAM policies, see the IAM documentation(https://cloud.google.com/iam/help/conditions/resource-policies).
typeProjectsLocationsVmwareAdminClustersListCall¶
type ProjectsLocationsVmwareAdminClustersListCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsVmwareAdminClustersListCall)AllowMissing¶added inv0.195.0
func (c *ProjectsLocationsVmwareAdminClustersListCall) AllowMissing(allowMissingbool) *ProjectsLocationsVmwareAdminClustersListCall
AllowMissing sets the optional parameter "allowMissing": If true, returnlist of Vmware Admin Clusters including the ones that only exists in RMS.
func (*ProjectsLocationsVmwareAdminClustersListCall)Context¶
func (c *ProjectsLocationsVmwareAdminClustersListCall) Context(ctxcontext.Context) *ProjectsLocationsVmwareAdminClustersListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsVmwareAdminClustersListCall)Do¶
func (c *ProjectsLocationsVmwareAdminClustersListCall) Do(opts ...googleapi.CallOption) (*ListVmwareAdminClustersResponse,error)
Do executes the "gkeonprem.projects.locations.vmwareAdminClusters.list" call.Any non-2xx status code is an error. Response headers are in either*ListVmwareAdminClustersResponse.ServerResponse.Header or (if a response wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.
func (*ProjectsLocationsVmwareAdminClustersListCall)Fields¶
func (c *ProjectsLocationsVmwareAdminClustersListCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareAdminClustersListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsVmwareAdminClustersListCall)Header¶
func (c *ProjectsLocationsVmwareAdminClustersListCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsVmwareAdminClustersListCall)IfNoneMatch¶
func (c *ProjectsLocationsVmwareAdminClustersListCall) IfNoneMatch(entityTagstring) *ProjectsLocationsVmwareAdminClustersListCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
func (*ProjectsLocationsVmwareAdminClustersListCall)PageSize¶
func (c *ProjectsLocationsVmwareAdminClustersListCall) PageSize(pageSizeint64) *ProjectsLocationsVmwareAdminClustersListCall
PageSize sets the optional parameter "pageSize": Requested page size. Servermay return fewer items than requested. If unspecified, at most 50 clusterswill be returned. The maximum value is 1000; values above 1000 will becoerced to 1000.
func (*ProjectsLocationsVmwareAdminClustersListCall)PageToken¶
func (c *ProjectsLocationsVmwareAdminClustersListCall) PageToken(pageTokenstring) *ProjectsLocationsVmwareAdminClustersListCall
PageToken sets the optional parameter "pageToken": A token identifying apage of results the server should return.
func (*ProjectsLocationsVmwareAdminClustersListCall)Pages¶
func (c *ProjectsLocationsVmwareAdminClustersListCall) Pages(ctxcontext.Context, f func(*ListVmwareAdminClustersResponse)error)error
Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.
func (*ProjectsLocationsVmwareAdminClustersListCall)View¶
func (c *ProjectsLocationsVmwareAdminClustersListCall) View(viewstring) *ProjectsLocationsVmwareAdminClustersListCall
View sets the optional parameter "view": View for VMware admin clusters.When `BASIC` is specified, only the admin cluster resource name andmembership are returned. The default/unset value `CLUSTER_VIEW_UNSPECIFIED`is the same as `FULL', which returns the complete admin clusterconfiguration details.
Possible values:
"CLUSTER_VIEW_UNSPECIFIED" - If the value is not set, the default `FULL`
view is used.
"BASIC" - Includes basic information of a admin cluster resource including
admin cluster resource name and membership.
"FULL" - Includes the complete configuration for bare metal admin cluster
resource. This is the default value for ListVmwareAdminClustersRequestmethod.
typeProjectsLocationsVmwareAdminClustersOperationsGetCall¶
type ProjectsLocationsVmwareAdminClustersOperationsGetCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsVmwareAdminClustersOperationsGetCall)Context¶
func (c *ProjectsLocationsVmwareAdminClustersOperationsGetCall) Context(ctxcontext.Context) *ProjectsLocationsVmwareAdminClustersOperationsGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsVmwareAdminClustersOperationsGetCall)Do¶
func (c *ProjectsLocationsVmwareAdminClustersOperationsGetCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "gkeonprem.projects.locations.vmwareAdminClusters.operations.get" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsVmwareAdminClustersOperationsGetCall)Fields¶
func (c *ProjectsLocationsVmwareAdminClustersOperationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareAdminClustersOperationsGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsVmwareAdminClustersOperationsGetCall)Header¶
func (c *ProjectsLocationsVmwareAdminClustersOperationsGetCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsVmwareAdminClustersOperationsGetCall)IfNoneMatch¶
func (c *ProjectsLocationsVmwareAdminClustersOperationsGetCall) IfNoneMatch(entityTagstring) *ProjectsLocationsVmwareAdminClustersOperationsGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
typeProjectsLocationsVmwareAdminClustersOperationsListCall¶
type ProjectsLocationsVmwareAdminClustersOperationsListCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsVmwareAdminClustersOperationsListCall)Context¶
func (c *ProjectsLocationsVmwareAdminClustersOperationsListCall) Context(ctxcontext.Context) *ProjectsLocationsVmwareAdminClustersOperationsListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsVmwareAdminClustersOperationsListCall)Do¶
func (c *ProjectsLocationsVmwareAdminClustersOperationsListCall) Do(opts ...googleapi.CallOption) (*ListOperationsResponse,error)
Do executes the "gkeonprem.projects.locations.vmwareAdminClusters.operations.list" call.Any non-2xx status code is an error. Response headers are in either*ListOperationsResponse.ServerResponse.Header or (if a response was returnedat all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModified wasreturned.
func (*ProjectsLocationsVmwareAdminClustersOperationsListCall)Fields¶
func (c *ProjectsLocationsVmwareAdminClustersOperationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareAdminClustersOperationsListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsVmwareAdminClustersOperationsListCall)Filter¶
func (c *ProjectsLocationsVmwareAdminClustersOperationsListCall) Filter(filterstring) *ProjectsLocationsVmwareAdminClustersOperationsListCall
Filter sets the optional parameter "filter": The standard list filter.
func (*ProjectsLocationsVmwareAdminClustersOperationsListCall)Header¶
func (c *ProjectsLocationsVmwareAdminClustersOperationsListCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsVmwareAdminClustersOperationsListCall)IfNoneMatch¶
func (c *ProjectsLocationsVmwareAdminClustersOperationsListCall) IfNoneMatch(entityTagstring) *ProjectsLocationsVmwareAdminClustersOperationsListCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
func (*ProjectsLocationsVmwareAdminClustersOperationsListCall)PageSize¶
func (c *ProjectsLocationsVmwareAdminClustersOperationsListCall) PageSize(pageSizeint64) *ProjectsLocationsVmwareAdminClustersOperationsListCall
PageSize sets the optional parameter "pageSize": The standard list pagesize.
func (*ProjectsLocationsVmwareAdminClustersOperationsListCall)PageToken¶
func (c *ProjectsLocationsVmwareAdminClustersOperationsListCall) PageToken(pageTokenstring) *ProjectsLocationsVmwareAdminClustersOperationsListCall
PageToken sets the optional parameter "pageToken": The standard list pagetoken.
func (*ProjectsLocationsVmwareAdminClustersOperationsListCall)Pages¶
func (c *ProjectsLocationsVmwareAdminClustersOperationsListCall) Pages(ctxcontext.Context, f func(*ListOperationsResponse)error)error
Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.
func (*ProjectsLocationsVmwareAdminClustersOperationsListCall)ReturnPartialSuccess¶added inv0.254.0
func (c *ProjectsLocationsVmwareAdminClustersOperationsListCall) ReturnPartialSuccess(returnPartialSuccessbool) *ProjectsLocationsVmwareAdminClustersOperationsListCall
ReturnPartialSuccess sets the optional parameter "returnPartialSuccess":When set to `true`, operations that are reachable are returned as normal,and those that are unreachable are returned in the[ListOperationsResponse.unreachable] field. This can only be `true` whenreading across collections e.g. when `parent` is set to"projects/example/locations/-". This field is not by default supported andwill result in an `UNIMPLEMENTED` error if set unless explicitly documentedotherwise in service or product specific documentation.
typeProjectsLocationsVmwareAdminClustersOperationsService¶
type ProjectsLocationsVmwareAdminClustersOperationsService struct {// contains filtered or unexported fields}funcNewProjectsLocationsVmwareAdminClustersOperationsService¶
func NewProjectsLocationsVmwareAdminClustersOperationsService(s *Service) *ProjectsLocationsVmwareAdminClustersOperationsService
func (*ProjectsLocationsVmwareAdminClustersOperationsService)Get¶
func (r *ProjectsLocationsVmwareAdminClustersOperationsService) Get(namestring) *ProjectsLocationsVmwareAdminClustersOperationsGetCall
Get: Gets the latest state of a long-running operation. Clients can use thismethod to poll the operation result at intervals as recommended by the APIservice.
- name: The name of the operation resource.
func (*ProjectsLocationsVmwareAdminClustersOperationsService)List¶
func (r *ProjectsLocationsVmwareAdminClustersOperationsService) List(namestring) *ProjectsLocationsVmwareAdminClustersOperationsListCall
List: Lists operations that match the specified filter in the request. Ifthe server doesn't support this method, it returns `UNIMPLEMENTED`.
- name: The name of the operation's parent resource.
typeProjectsLocationsVmwareAdminClustersPatchCall¶
type ProjectsLocationsVmwareAdminClustersPatchCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsVmwareAdminClustersPatchCall)Context¶
func (c *ProjectsLocationsVmwareAdminClustersPatchCall) Context(ctxcontext.Context) *ProjectsLocationsVmwareAdminClustersPatchCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsVmwareAdminClustersPatchCall)Do¶
func (c *ProjectsLocationsVmwareAdminClustersPatchCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "gkeonprem.projects.locations.vmwareAdminClusters.patch" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsVmwareAdminClustersPatchCall)Fields¶
func (c *ProjectsLocationsVmwareAdminClustersPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareAdminClustersPatchCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsVmwareAdminClustersPatchCall)Header¶
func (c *ProjectsLocationsVmwareAdminClustersPatchCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsVmwareAdminClustersPatchCall)SkipValidations¶added inv0.257.0
func (c *ProjectsLocationsVmwareAdminClustersPatchCall) SkipValidations(skipValidations ...string) *ProjectsLocationsVmwareAdminClustersPatchCall
SkipValidations sets the optional parameter "skipValidations": If set, theserver-side preflight checks will be skipped.
func (*ProjectsLocationsVmwareAdminClustersPatchCall)UpdateMask¶
func (c *ProjectsLocationsVmwareAdminClustersPatchCall) UpdateMask(updateMaskstring) *ProjectsLocationsVmwareAdminClustersPatchCall
UpdateMask sets the optional parameter "updateMask": Required. Field mask isused to specify the fields to be overwritten in the VMwareAdminClusterresource by the update. The fields specified in the update_mask are relativeto the resource, not the full request. A field will be overwritten if it isin the mask. If the user does not provide a mask then all populated fieldsin the VmwareAdminCluster message will be updated. Empty fields will beignored unless a field mask is used.
func (*ProjectsLocationsVmwareAdminClustersPatchCall)ValidateOnly¶
func (c *ProjectsLocationsVmwareAdminClustersPatchCall) ValidateOnly(validateOnlybool) *ProjectsLocationsVmwareAdminClustersPatchCall
ValidateOnly sets the optional parameter "validateOnly": Validate therequest without actually doing any updates.
typeProjectsLocationsVmwareAdminClustersService¶
type ProjectsLocationsVmwareAdminClustersService struct {Operations *ProjectsLocationsVmwareAdminClustersOperationsService// contains filtered or unexported fields}funcNewProjectsLocationsVmwareAdminClustersService¶
func NewProjectsLocationsVmwareAdminClustersService(s *Service) *ProjectsLocationsVmwareAdminClustersService
func (*ProjectsLocationsVmwareAdminClustersService)Create¶added inv0.205.0
func (r *ProjectsLocationsVmwareAdminClustersService) Create(parentstring, vmwareadmincluster *VmwareAdminCluster) *ProjectsLocationsVmwareAdminClustersCreateCall
Create: Creates a new VMware admin cluster in a given project and location.The API needs to be combined with creating a bootstrap cluster to work.
- parent: The parent of the project and location where the cluster iscreated in. Format: "projects/{project}/locations/{location}".
func (*ProjectsLocationsVmwareAdminClustersService)Enroll¶
func (r *ProjectsLocationsVmwareAdminClustersService) Enroll(parentstring, enrollvmwareadminclusterrequest *EnrollVmwareAdminClusterRequest) *ProjectsLocationsVmwareAdminClustersEnrollCall
Enroll: Enrolls an existing VMware admin cluster to the Anthos On-Prem APIwithin a given project and location. Through enrollment, an existing admincluster will become Anthos On-Prem API managed. The corresponding GCPresources will be created and all future modifications to the cluster willbe expected to be performed through the API.
- parent: The parent of the project and location where the cluster isenrolled in. Format: "projects/{project}/locations/{location}".
func (*ProjectsLocationsVmwareAdminClustersService)Get¶
func (r *ProjectsLocationsVmwareAdminClustersService) Get(namestring) *ProjectsLocationsVmwareAdminClustersGetCall
Get: Gets details of a single VMware admin cluster.
- name: Name of the VMware admin cluster to be returned. Format:"projects/{project}/locations/{location}/vmwareAdminClusters/{vmware_admin_cluster}".
func (*ProjectsLocationsVmwareAdminClustersService)GetIamPolicy¶
func (r *ProjectsLocationsVmwareAdminClustersService) GetIamPolicy(resourcestring) *ProjectsLocationsVmwareAdminClustersGetIamPolicyCall
GetIamPolicy: Gets the access control policy for a resource. Returns anempty policy if the resource exists and does not have a policy set.
- resource: REQUIRED: The resource for which the policy is being requested.See Resource names (https://cloud.google.com/apis/design/resource_names)for the appropriate value for this field.
func (*ProjectsLocationsVmwareAdminClustersService)List¶
func (r *ProjectsLocationsVmwareAdminClustersService) List(parentstring) *ProjectsLocationsVmwareAdminClustersListCall
List: Lists VMware admin clusters in a given project and location.
- parent: The parent of the project and location where the clusters arelisted in. Format: "projects/{project}/locations/{location}".
func (*ProjectsLocationsVmwareAdminClustersService)Patch¶
func (r *ProjectsLocationsVmwareAdminClustersService) Patch(namestring, vmwareadmincluster *VmwareAdminCluster) *ProjectsLocationsVmwareAdminClustersPatchCall
Patch: Updates the parameters of a single VMware admin cluster.
- name: Immutable. The VMware admin cluster resource name.
func (*ProjectsLocationsVmwareAdminClustersService)SetIamPolicy¶
func (r *ProjectsLocationsVmwareAdminClustersService) SetIamPolicy(resourcestring, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsVmwareAdminClustersSetIamPolicyCall
SetIamPolicy: Sets the access control policy on the specified resource.Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`,and `PERMISSION_DENIED` errors.
- resource: REQUIRED: The resource for which the policy is being specified.See Resource names (https://cloud.google.com/apis/design/resource_names)for the appropriate value for this field.
func (*ProjectsLocationsVmwareAdminClustersService)TestIamPermissions¶
func (r *ProjectsLocationsVmwareAdminClustersService) TestIamPermissions(resourcestring, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsVmwareAdminClustersTestIamPermissionsCall
TestIamPermissions: Returns permissions that a caller has on the specifiedresource. If the resource does not exist, this will return an empty set ofpermissions, not a `NOT_FOUND` error. Note: This operation is designed to beused for building permission-aware UIs and command-line tools, not forauthorization checking. This operation may "fail open" without warning.
- resource: REQUIRED: The resource for which the policy detail is beingrequested. See Resource names(https://cloud.google.com/apis/design/resource_names) for the appropriatevalue for this field.
func (*ProjectsLocationsVmwareAdminClustersService)Unenroll¶
func (r *ProjectsLocationsVmwareAdminClustersService) Unenroll(namestring) *ProjectsLocationsVmwareAdminClustersUnenrollCall
Unenroll: Unenrolls an existing VMware admin cluster from the Anthos On-PremAPI within a given project and location. Unenrollment removes the Cloudreference to the cluster without modifying the underlying OnPrem Resources.Clusters will continue to run; however, they will no longer be accessiblethrough the Anthos On-Prem API or its clients.
- name: Name of the VMware admin cluster to be unenrolled. Format:"projects/{project}/locations/{location}/vmwareAdminClusters/{cluster}".
typeProjectsLocationsVmwareAdminClustersSetIamPolicyCall¶
type ProjectsLocationsVmwareAdminClustersSetIamPolicyCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsVmwareAdminClustersSetIamPolicyCall)Context¶
func (c *ProjectsLocationsVmwareAdminClustersSetIamPolicyCall) Context(ctxcontext.Context) *ProjectsLocationsVmwareAdminClustersSetIamPolicyCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsVmwareAdminClustersSetIamPolicyCall)Do¶
func (c *ProjectsLocationsVmwareAdminClustersSetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy,error)
Do executes the "gkeonprem.projects.locations.vmwareAdminClusters.setIamPolicy" call.Any non-2xx status code is an error. Response headers are in either*Policy.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsVmwareAdminClustersSetIamPolicyCall)Fields¶
func (c *ProjectsLocationsVmwareAdminClustersSetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareAdminClustersSetIamPolicyCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsVmwareAdminClustersSetIamPolicyCall)Header¶
func (c *ProjectsLocationsVmwareAdminClustersSetIamPolicyCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsVmwareAdminClustersTestIamPermissionsCall¶
type ProjectsLocationsVmwareAdminClustersTestIamPermissionsCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsVmwareAdminClustersTestIamPermissionsCall)Context¶
func (c *ProjectsLocationsVmwareAdminClustersTestIamPermissionsCall) Context(ctxcontext.Context) *ProjectsLocationsVmwareAdminClustersTestIamPermissionsCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsVmwareAdminClustersTestIamPermissionsCall)Do¶
func (c *ProjectsLocationsVmwareAdminClustersTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestIamPermissionsResponse,error)
Do executes the "gkeonprem.projects.locations.vmwareAdminClusters.testIamPermissions" call.Any non-2xx status code is an error. Response headers are in either*TestIamPermissionsResponse.ServerResponse.Header or (if a response wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.
func (*ProjectsLocationsVmwareAdminClustersTestIamPermissionsCall)Fields¶
func (c *ProjectsLocationsVmwareAdminClustersTestIamPermissionsCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareAdminClustersTestIamPermissionsCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsVmwareAdminClustersTestIamPermissionsCall)Header¶
func (c *ProjectsLocationsVmwareAdminClustersTestIamPermissionsCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsVmwareAdminClustersUnenrollCall¶
type ProjectsLocationsVmwareAdminClustersUnenrollCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsVmwareAdminClustersUnenrollCall)AllowMissing¶
func (c *ProjectsLocationsVmwareAdminClustersUnenrollCall) AllowMissing(allowMissingbool) *ProjectsLocationsVmwareAdminClustersUnenrollCall
AllowMissing sets the optional parameter "allowMissing": If set to true, andthe VMware admin cluster is not found, the request will succeed but noaction will be taken on the server and return a completed LRO.
func (*ProjectsLocationsVmwareAdminClustersUnenrollCall)Context¶
func (c *ProjectsLocationsVmwareAdminClustersUnenrollCall) Context(ctxcontext.Context) *ProjectsLocationsVmwareAdminClustersUnenrollCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsVmwareAdminClustersUnenrollCall)Do¶
func (c *ProjectsLocationsVmwareAdminClustersUnenrollCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "gkeonprem.projects.locations.vmwareAdminClusters.unenroll" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsVmwareAdminClustersUnenrollCall)Etag¶
func (c *ProjectsLocationsVmwareAdminClustersUnenrollCall) Etag(etagstring) *ProjectsLocationsVmwareAdminClustersUnenrollCall
Etag sets the optional parameter "etag": The current etag of the VMwareadmin cluster. If an etag is provided and does not match the current etag ofthe cluster, deletion will be blocked and an ABORTED error will be returned.
func (*ProjectsLocationsVmwareAdminClustersUnenrollCall)Fields¶
func (c *ProjectsLocationsVmwareAdminClustersUnenrollCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareAdminClustersUnenrollCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsVmwareAdminClustersUnenrollCall)Header¶
func (c *ProjectsLocationsVmwareAdminClustersUnenrollCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsVmwareAdminClustersUnenrollCall)IgnoreErrors¶added inv0.238.0
func (c *ProjectsLocationsVmwareAdminClustersUnenrollCall) IgnoreErrors(ignoreErrorsbool) *ProjectsLocationsVmwareAdminClustersUnenrollCall
IgnoreErrors sets the optional parameter "ignoreErrors": If set to true, theunenrollment of a vmware admin cluster resource will succeed even if errorsoccur during unenrollment. This parameter can be used when you want tounenroll admin cluster resource and the on-prem admin cluster isdisconnected / unreachable. WARNING: Using this parameter when your admincluster still exists may result in a deleted GCP admin cluster but existingresourcelink in on-prem admin cluster and membership.
func (*ProjectsLocationsVmwareAdminClustersUnenrollCall)ValidateOnly¶
func (c *ProjectsLocationsVmwareAdminClustersUnenrollCall) ValidateOnly(validateOnlybool) *ProjectsLocationsVmwareAdminClustersUnenrollCall
ValidateOnly sets the optional parameter "validateOnly": Validate therequest without actually doing any updates.
typeProjectsLocationsVmwareClustersCreateCall¶
type ProjectsLocationsVmwareClustersCreateCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsVmwareClustersCreateCall)AllowPreflightFailure¶added inv0.195.0
func (c *ProjectsLocationsVmwareClustersCreateCall) AllowPreflightFailure(allowPreflightFailurebool) *ProjectsLocationsVmwareClustersCreateCall
AllowPreflightFailure sets the optional parameter "allowPreflightFailure":If set to true, CLM will force CCFE to persist the cluster resource in RMSwhen the creation fails during standalone preflight checks. In that case thesubsequent create call will fail with "cluster already exists" error andhence a update cluster is required to fix the cluster.
func (*ProjectsLocationsVmwareClustersCreateCall)Context¶
func (c *ProjectsLocationsVmwareClustersCreateCall) Context(ctxcontext.Context) *ProjectsLocationsVmwareClustersCreateCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsVmwareClustersCreateCall)Do¶
func (c *ProjectsLocationsVmwareClustersCreateCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "gkeonprem.projects.locations.vmwareClusters.create" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsVmwareClustersCreateCall)Fields¶
func (c *ProjectsLocationsVmwareClustersCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareClustersCreateCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsVmwareClustersCreateCall)Header¶
func (c *ProjectsLocationsVmwareClustersCreateCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsVmwareClustersCreateCall)SkipValidations¶added inv0.257.0
func (c *ProjectsLocationsVmwareClustersCreateCall) SkipValidations(skipValidations ...string) *ProjectsLocationsVmwareClustersCreateCall
SkipValidations sets the optional parameter "skipValidations": List ofvalidations to skip during cluster creation.
func (*ProjectsLocationsVmwareClustersCreateCall)ValidateOnly¶
func (c *ProjectsLocationsVmwareClustersCreateCall) ValidateOnly(validateOnlybool) *ProjectsLocationsVmwareClustersCreateCall
ValidateOnly sets the optional parameter "validateOnly": Validate therequest without actually doing any updates.
func (*ProjectsLocationsVmwareClustersCreateCall)VmwareClusterId¶
func (c *ProjectsLocationsVmwareClustersCreateCall) VmwareClusterId(vmwareClusterIdstring) *ProjectsLocationsVmwareClustersCreateCall
VmwareClusterId sets the optional parameter "vmwareClusterId": User providedidentifier that is used as part of the resource name; This value must be upto 40 characters and follow RFC-1123 (https://tools.ietf.org/html/rfc1123)format.
typeProjectsLocationsVmwareClustersDeleteCall¶
type ProjectsLocationsVmwareClustersDeleteCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsVmwareClustersDeleteCall)AllowMissing¶
func (c *ProjectsLocationsVmwareClustersDeleteCall) AllowMissing(allowMissingbool) *ProjectsLocationsVmwareClustersDeleteCall
AllowMissing sets the optional parameter "allowMissing": If set to true, andthe VMware cluster is not found, the request will succeed but no action willbe taken on the server and return a completed LRO.
func (*ProjectsLocationsVmwareClustersDeleteCall)Context¶
func (c *ProjectsLocationsVmwareClustersDeleteCall) Context(ctxcontext.Context) *ProjectsLocationsVmwareClustersDeleteCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsVmwareClustersDeleteCall)Do¶
func (c *ProjectsLocationsVmwareClustersDeleteCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "gkeonprem.projects.locations.vmwareClusters.delete" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsVmwareClustersDeleteCall)Etag¶
func (c *ProjectsLocationsVmwareClustersDeleteCall) Etag(etagstring) *ProjectsLocationsVmwareClustersDeleteCall
Etag sets the optional parameter "etag": The current etag of the VMwarecluster. If an etag is provided and does not match the current etag of thecluster, deletion will be blocked and an ABORTED error will be returned.
func (*ProjectsLocationsVmwareClustersDeleteCall)Fields¶
func (c *ProjectsLocationsVmwareClustersDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareClustersDeleteCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsVmwareClustersDeleteCall)Force¶
func (c *ProjectsLocationsVmwareClustersDeleteCall) Force(forcebool) *ProjectsLocationsVmwareClustersDeleteCall
Force sets the optional parameter "force": If set to true, any node poolsfrom the cluster will also be deleted.
func (*ProjectsLocationsVmwareClustersDeleteCall)Header¶
func (c *ProjectsLocationsVmwareClustersDeleteCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsVmwareClustersDeleteCall)IgnoreErrors¶
func (c *ProjectsLocationsVmwareClustersDeleteCall) IgnoreErrors(ignoreErrorsbool) *ProjectsLocationsVmwareClustersDeleteCall
IgnoreErrors sets the optional parameter "ignoreErrors": If set to true, thedeletion of a VMware user cluster resource will succeed even if errors occurduring deletion. This parameter can be used when you want to delete GCP'scluster resource and the on-prem admin cluster that hosts your user clusteris disconnected / unreachable or deleted. WARNING: Using this parameter whenyour user cluster still exists may result in a deleted GCP user cluster butan existing on-prem user cluster.
func (*ProjectsLocationsVmwareClustersDeleteCall)ValidateOnly¶
func (c *ProjectsLocationsVmwareClustersDeleteCall) ValidateOnly(validateOnlybool) *ProjectsLocationsVmwareClustersDeleteCall
ValidateOnly sets the optional parameter "validateOnly": Validate therequest without actually doing any updates.
typeProjectsLocationsVmwareClustersEnrollCall¶
type ProjectsLocationsVmwareClustersEnrollCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsVmwareClustersEnrollCall)Context¶
func (c *ProjectsLocationsVmwareClustersEnrollCall) Context(ctxcontext.Context) *ProjectsLocationsVmwareClustersEnrollCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsVmwareClustersEnrollCall)Do¶
func (c *ProjectsLocationsVmwareClustersEnrollCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "gkeonprem.projects.locations.vmwareClusters.enroll" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsVmwareClustersEnrollCall)Fields¶
func (c *ProjectsLocationsVmwareClustersEnrollCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareClustersEnrollCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsVmwareClustersEnrollCall)Header¶
func (c *ProjectsLocationsVmwareClustersEnrollCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsVmwareClustersGetCall¶
type ProjectsLocationsVmwareClustersGetCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsVmwareClustersGetCall)AllowMissing¶added inv0.195.0
func (c *ProjectsLocationsVmwareClustersGetCall) AllowMissing(allowMissingbool) *ProjectsLocationsVmwareClustersGetCall
AllowMissing sets the optional parameter "allowMissing": If true, returnVmware Cluster including the one that only exists in RMS.
func (*ProjectsLocationsVmwareClustersGetCall)Context¶
func (c *ProjectsLocationsVmwareClustersGetCall) Context(ctxcontext.Context) *ProjectsLocationsVmwareClustersGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsVmwareClustersGetCall)Do¶
func (c *ProjectsLocationsVmwareClustersGetCall) Do(opts ...googleapi.CallOption) (*VmwareCluster,error)
Do executes the "gkeonprem.projects.locations.vmwareClusters.get" call.Any non-2xx status code is an error. Response headers are in either*VmwareCluster.ServerResponse.Header or (if a response was returned at all)in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsVmwareClustersGetCall)Fields¶
func (c *ProjectsLocationsVmwareClustersGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareClustersGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsVmwareClustersGetCall)Header¶
func (c *ProjectsLocationsVmwareClustersGetCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsVmwareClustersGetCall)IfNoneMatch¶
func (c *ProjectsLocationsVmwareClustersGetCall) IfNoneMatch(entityTagstring) *ProjectsLocationsVmwareClustersGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
func (*ProjectsLocationsVmwareClustersGetCall)View¶added inv0.123.0
func (c *ProjectsLocationsVmwareClustersGetCall) View(viewstring) *ProjectsLocationsVmwareClustersGetCall
View sets the optional parameter "view": View for VMware user cluster. When`BASIC` is specified, only the cluster resource name and admin clustermembership are returned. The default/unset value `CLUSTER_VIEW_UNSPECIFIED`is the same as `FULL', which returns the complete cluster configurationdetails.
Possible values:
"CLUSTER_VIEW_UNSPECIFIED" - If the value is not set, the default `FULL`
view is used.
"BASIC" - Includes basic information of a cluster resource including
cluster resource name and admin cluster membership.
"FULL" - Includes the complete configuration for VMware cluster resource.
This is the default value for GetVmwareClusterRequest method.
typeProjectsLocationsVmwareClustersGetIamPolicyCall¶
type ProjectsLocationsVmwareClustersGetIamPolicyCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsVmwareClustersGetIamPolicyCall)Context¶
func (c *ProjectsLocationsVmwareClustersGetIamPolicyCall) Context(ctxcontext.Context) *ProjectsLocationsVmwareClustersGetIamPolicyCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsVmwareClustersGetIamPolicyCall)Do¶
func (c *ProjectsLocationsVmwareClustersGetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy,error)
Do executes the "gkeonprem.projects.locations.vmwareClusters.getIamPolicy" call.Any non-2xx status code is an error. Response headers are in either*Policy.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsVmwareClustersGetIamPolicyCall)Fields¶
func (c *ProjectsLocationsVmwareClustersGetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareClustersGetIamPolicyCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsVmwareClustersGetIamPolicyCall)Header¶
func (c *ProjectsLocationsVmwareClustersGetIamPolicyCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsVmwareClustersGetIamPolicyCall)IfNoneMatch¶
func (c *ProjectsLocationsVmwareClustersGetIamPolicyCall) IfNoneMatch(entityTagstring) *ProjectsLocationsVmwareClustersGetIamPolicyCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
func (*ProjectsLocationsVmwareClustersGetIamPolicyCall)OptionsRequestedPolicyVersion¶
func (c *ProjectsLocationsVmwareClustersGetIamPolicyCall) OptionsRequestedPolicyVersion(optionsRequestedPolicyVersionint64) *ProjectsLocationsVmwareClustersGetIamPolicyCall
OptionsRequestedPolicyVersion sets the optional parameter"options.requestedPolicyVersion": The maximum policy version that will beused to format the policy. Valid values are 0, 1, and 3. Requests specifyingan invalid value will be rejected. Requests for policies with anyconditional role bindings must specify version 3. Policies with noconditional role bindings may specify any valid value or leave the fieldunset. The policy in the response might use the policy version that youspecified, or it might use a lower policy version. For example, if youspecify version 3, but the policy has no conditional role bindings, theresponse uses version 1. To learn which resources support conditions intheir IAM policies, see the IAM documentation(https://cloud.google.com/iam/help/conditions/resource-policies).
typeProjectsLocationsVmwareClustersListCall¶
type ProjectsLocationsVmwareClustersListCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsVmwareClustersListCall)AllowMissing¶added inv0.195.0
func (c *ProjectsLocationsVmwareClustersListCall) AllowMissing(allowMissingbool) *ProjectsLocationsVmwareClustersListCall
AllowMissing sets the optional parameter "allowMissing": If true, returnlist of Vmware Clusters including the ones that only exists in RMS.
func (*ProjectsLocationsVmwareClustersListCall)Context¶
func (c *ProjectsLocationsVmwareClustersListCall) Context(ctxcontext.Context) *ProjectsLocationsVmwareClustersListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsVmwareClustersListCall)Do¶
func (c *ProjectsLocationsVmwareClustersListCall) Do(opts ...googleapi.CallOption) (*ListVmwareClustersResponse,error)
Do executes the "gkeonprem.projects.locations.vmwareClusters.list" call.Any non-2xx status code is an error. Response headers are in either*ListVmwareClustersResponse.ServerResponse.Header or (if a response wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.
func (*ProjectsLocationsVmwareClustersListCall)Fields¶
func (c *ProjectsLocationsVmwareClustersListCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareClustersListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsVmwareClustersListCall)Filter¶
func (c *ProjectsLocationsVmwareClustersListCall) Filter(filterstring) *ProjectsLocationsVmwareClustersListCall
Filter sets the optional parameter "filter": A resource filtering expressionfollowinghttps://google.aip.dev/160. When non-empty, only resource's whoseattributes field matches the filter are returned.
func (*ProjectsLocationsVmwareClustersListCall)Header¶
func (c *ProjectsLocationsVmwareClustersListCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsVmwareClustersListCall)IfNoneMatch¶
func (c *ProjectsLocationsVmwareClustersListCall) IfNoneMatch(entityTagstring) *ProjectsLocationsVmwareClustersListCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
func (*ProjectsLocationsVmwareClustersListCall)PageSize¶
func (c *ProjectsLocationsVmwareClustersListCall) PageSize(pageSizeint64) *ProjectsLocationsVmwareClustersListCall
PageSize sets the optional parameter "pageSize": Requested page size. Servermay return fewer items than requested. If unspecified, at most 50 clusterswill be returned. The maximum value is 1000; values above 1000 will becoerced to 1000.
func (*ProjectsLocationsVmwareClustersListCall)PageToken¶
func (c *ProjectsLocationsVmwareClustersListCall) PageToken(pageTokenstring) *ProjectsLocationsVmwareClustersListCall
PageToken sets the optional parameter "pageToken": A token identifying apage of results the server should return.
func (*ProjectsLocationsVmwareClustersListCall)Pages¶
func (c *ProjectsLocationsVmwareClustersListCall) Pages(ctxcontext.Context, f func(*ListVmwareClustersResponse)error)error
Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.
func (*ProjectsLocationsVmwareClustersListCall)View¶
func (c *ProjectsLocationsVmwareClustersListCall) View(viewstring) *ProjectsLocationsVmwareClustersListCall
View sets the optional parameter "view": View for VMware clusters. When`BASIC` is specified, only the cluster resource name and admin clustermembership are returned. The default/unset value `CLUSTER_VIEW_UNSPECIFIED`is the same as `FULL', which returns the complete cluster configurationdetails.
Possible values:
"CLUSTER_VIEW_UNSPECIFIED" - If the value is not set, the default `FULL`
view is used.
"BASIC" - Includes basic information of a cluster resource including
cluster resource name and admin cluster membership.
"FULL" - Includes the complete configuration for VMware cluster resource.
This is the default value for ListVmwareClustersRequest method.
typeProjectsLocationsVmwareClustersOperationsGetCall¶
type ProjectsLocationsVmwareClustersOperationsGetCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsVmwareClustersOperationsGetCall)Context¶
func (c *ProjectsLocationsVmwareClustersOperationsGetCall) Context(ctxcontext.Context) *ProjectsLocationsVmwareClustersOperationsGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsVmwareClustersOperationsGetCall)Do¶
func (c *ProjectsLocationsVmwareClustersOperationsGetCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "gkeonprem.projects.locations.vmwareClusters.operations.get" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsVmwareClustersOperationsGetCall)Fields¶
func (c *ProjectsLocationsVmwareClustersOperationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareClustersOperationsGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsVmwareClustersOperationsGetCall)Header¶
func (c *ProjectsLocationsVmwareClustersOperationsGetCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsVmwareClustersOperationsGetCall)IfNoneMatch¶
func (c *ProjectsLocationsVmwareClustersOperationsGetCall) IfNoneMatch(entityTagstring) *ProjectsLocationsVmwareClustersOperationsGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
typeProjectsLocationsVmwareClustersOperationsListCall¶
type ProjectsLocationsVmwareClustersOperationsListCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsVmwareClustersOperationsListCall)Context¶
func (c *ProjectsLocationsVmwareClustersOperationsListCall) Context(ctxcontext.Context) *ProjectsLocationsVmwareClustersOperationsListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsVmwareClustersOperationsListCall)Do¶
func (c *ProjectsLocationsVmwareClustersOperationsListCall) Do(opts ...googleapi.CallOption) (*ListOperationsResponse,error)
Do executes the "gkeonprem.projects.locations.vmwareClusters.operations.list" call.Any non-2xx status code is an error. Response headers are in either*ListOperationsResponse.ServerResponse.Header or (if a response was returnedat all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModified wasreturned.
func (*ProjectsLocationsVmwareClustersOperationsListCall)Fields¶
func (c *ProjectsLocationsVmwareClustersOperationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareClustersOperationsListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsVmwareClustersOperationsListCall)Filter¶
func (c *ProjectsLocationsVmwareClustersOperationsListCall) Filter(filterstring) *ProjectsLocationsVmwareClustersOperationsListCall
Filter sets the optional parameter "filter": The standard list filter.
func (*ProjectsLocationsVmwareClustersOperationsListCall)Header¶
func (c *ProjectsLocationsVmwareClustersOperationsListCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsVmwareClustersOperationsListCall)IfNoneMatch¶
func (c *ProjectsLocationsVmwareClustersOperationsListCall) IfNoneMatch(entityTagstring) *ProjectsLocationsVmwareClustersOperationsListCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
func (*ProjectsLocationsVmwareClustersOperationsListCall)PageSize¶
func (c *ProjectsLocationsVmwareClustersOperationsListCall) PageSize(pageSizeint64) *ProjectsLocationsVmwareClustersOperationsListCall
PageSize sets the optional parameter "pageSize": The standard list pagesize.
func (*ProjectsLocationsVmwareClustersOperationsListCall)PageToken¶
func (c *ProjectsLocationsVmwareClustersOperationsListCall) PageToken(pageTokenstring) *ProjectsLocationsVmwareClustersOperationsListCall
PageToken sets the optional parameter "pageToken": The standard list pagetoken.
func (*ProjectsLocationsVmwareClustersOperationsListCall)Pages¶
func (c *ProjectsLocationsVmwareClustersOperationsListCall) Pages(ctxcontext.Context, f func(*ListOperationsResponse)error)error
Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.
func (*ProjectsLocationsVmwareClustersOperationsListCall)ReturnPartialSuccess¶added inv0.254.0
func (c *ProjectsLocationsVmwareClustersOperationsListCall) ReturnPartialSuccess(returnPartialSuccessbool) *ProjectsLocationsVmwareClustersOperationsListCall
ReturnPartialSuccess sets the optional parameter "returnPartialSuccess":When set to `true`, operations that are reachable are returned as normal,and those that are unreachable are returned in the[ListOperationsResponse.unreachable] field. This can only be `true` whenreading across collections e.g. when `parent` is set to"projects/example/locations/-". This field is not by default supported andwill result in an `UNIMPLEMENTED` error if set unless explicitly documentedotherwise in service or product specific documentation.
typeProjectsLocationsVmwareClustersOperationsService¶
type ProjectsLocationsVmwareClustersOperationsService struct {// contains filtered or unexported fields}funcNewProjectsLocationsVmwareClustersOperationsService¶
func NewProjectsLocationsVmwareClustersOperationsService(s *Service) *ProjectsLocationsVmwareClustersOperationsService
func (*ProjectsLocationsVmwareClustersOperationsService)Get¶
func (r *ProjectsLocationsVmwareClustersOperationsService) Get(namestring) *ProjectsLocationsVmwareClustersOperationsGetCall
Get: Gets the latest state of a long-running operation. Clients can use thismethod to poll the operation result at intervals as recommended by the APIservice.
- name: The name of the operation resource.
func (*ProjectsLocationsVmwareClustersOperationsService)List¶
func (r *ProjectsLocationsVmwareClustersOperationsService) List(namestring) *ProjectsLocationsVmwareClustersOperationsListCall
List: Lists operations that match the specified filter in the request. Ifthe server doesn't support this method, it returns `UNIMPLEMENTED`.
- name: The name of the operation's parent resource.
typeProjectsLocationsVmwareClustersPatchCall¶
type ProjectsLocationsVmwareClustersPatchCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsVmwareClustersPatchCall)Context¶
func (c *ProjectsLocationsVmwareClustersPatchCall) Context(ctxcontext.Context) *ProjectsLocationsVmwareClustersPatchCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsVmwareClustersPatchCall)Do¶
func (c *ProjectsLocationsVmwareClustersPatchCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "gkeonprem.projects.locations.vmwareClusters.patch" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsVmwareClustersPatchCall)Fields¶
func (c *ProjectsLocationsVmwareClustersPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareClustersPatchCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsVmwareClustersPatchCall)Header¶
func (c *ProjectsLocationsVmwareClustersPatchCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsVmwareClustersPatchCall)SkipValidations¶added inv0.257.0
func (c *ProjectsLocationsVmwareClustersPatchCall) SkipValidations(skipValidations ...string) *ProjectsLocationsVmwareClustersPatchCall
SkipValidations sets the optional parameter "skipValidations":
func (*ProjectsLocationsVmwareClustersPatchCall)UpdateMask¶
func (c *ProjectsLocationsVmwareClustersPatchCall) UpdateMask(updateMaskstring) *ProjectsLocationsVmwareClustersPatchCall
UpdateMask sets the optional parameter "updateMask": Required. Field mask isused to specify the fields to be overwritten in the VMwareCluster resourceby the update. The fields specified in the update_mask are relative to theresource, not the full request. A field will be overwritten if it is in themask. If the user does not provide a mask then all populated fields in theVmwareCluster message will be updated. Empty fields will be ignored unless afield mask is used.
func (*ProjectsLocationsVmwareClustersPatchCall)ValidateOnly¶
func (c *ProjectsLocationsVmwareClustersPatchCall) ValidateOnly(validateOnlybool) *ProjectsLocationsVmwareClustersPatchCall
ValidateOnly sets the optional parameter "validateOnly": Validate therequest without actually doing any updates.
typeProjectsLocationsVmwareClustersQueryVersionConfigCall¶
type ProjectsLocationsVmwareClustersQueryVersionConfigCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsVmwareClustersQueryVersionConfigCall)Context¶
func (c *ProjectsLocationsVmwareClustersQueryVersionConfigCall) Context(ctxcontext.Context) *ProjectsLocationsVmwareClustersQueryVersionConfigCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsVmwareClustersQueryVersionConfigCall)CreateConfigAdminClusterMembership¶
func (c *ProjectsLocationsVmwareClustersQueryVersionConfigCall) CreateConfigAdminClusterMembership(createConfigAdminClusterMembershipstring) *ProjectsLocationsVmwareClustersQueryVersionConfigCall
CreateConfigAdminClusterMembership sets the optional parameter"createConfig.adminClusterMembership": The admin cluster membership. This isthe full resource name of the admin cluster's fleet membership. Format:"projects/{project}/locations/{location}/memberships/{membership}"
func (*ProjectsLocationsVmwareClustersQueryVersionConfigCall)CreateConfigAdminClusterName¶
func (c *ProjectsLocationsVmwareClustersQueryVersionConfigCall) CreateConfigAdminClusterName(createConfigAdminClusterNamestring) *ProjectsLocationsVmwareClustersQueryVersionConfigCall
CreateConfigAdminClusterName sets the optional parameter"createConfig.adminClusterName": The admin cluster resource name. This isthe full resource name of the admin cluster resource. Format:"projects/{project}/locations/{location}/vmwareAdminClusters/{vmware_admin_cluster}"
func (*ProjectsLocationsVmwareClustersQueryVersionConfigCall)Do¶
func (c *ProjectsLocationsVmwareClustersQueryVersionConfigCall) Do(opts ...googleapi.CallOption) (*QueryVmwareVersionConfigResponse,error)
Do executes the "gkeonprem.projects.locations.vmwareClusters.queryVersionConfig" call.Any non-2xx status code is an error. Response headers are in either*QueryVmwareVersionConfigResponse.ServerResponse.Header or (if a responsewas returned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.
func (*ProjectsLocationsVmwareClustersQueryVersionConfigCall)Fields¶
func (c *ProjectsLocationsVmwareClustersQueryVersionConfigCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareClustersQueryVersionConfigCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsVmwareClustersQueryVersionConfigCall)Header¶
func (c *ProjectsLocationsVmwareClustersQueryVersionConfigCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsVmwareClustersQueryVersionConfigCall)UpgradeConfigClusterName¶
func (c *ProjectsLocationsVmwareClustersQueryVersionConfigCall) UpgradeConfigClusterName(upgradeConfigClusterNamestring) *ProjectsLocationsVmwareClustersQueryVersionConfigCall
UpgradeConfigClusterName sets the optional parameter"upgradeConfig.clusterName": The user cluster resource name. This is thefull resource name of the user cluster resource. Format:"projects/{project}/locations/{location}/vmwareClusters/{vmware_cluster}"
typeProjectsLocationsVmwareClustersService¶
type ProjectsLocationsVmwareClustersService struct {Operations *ProjectsLocationsVmwareClustersOperationsServiceVmwareNodePools *ProjectsLocationsVmwareClustersVmwareNodePoolsService// contains filtered or unexported fields}funcNewProjectsLocationsVmwareClustersService¶
func NewProjectsLocationsVmwareClustersService(s *Service) *ProjectsLocationsVmwareClustersService
func (*ProjectsLocationsVmwareClustersService)Create¶
func (r *ProjectsLocationsVmwareClustersService) Create(parentstring, vmwarecluster *VmwareCluster) *ProjectsLocationsVmwareClustersCreateCall
Create: Creates a new VMware user cluster in a given project and location.
- parent: The parent of the project and location where this cluster iscreated in. Format: "projects/{project}/locations/{location}".
func (*ProjectsLocationsVmwareClustersService)Delete¶
func (r *ProjectsLocationsVmwareClustersService) Delete(namestring) *ProjectsLocationsVmwareClustersDeleteCall
Delete: Deletes a single VMware Cluster.
- name: Name of the VMware user cluster to be deleted. Format:"projects/{project}/locations/{location}/vmwareClusters/{vmware_cluster}".
func (*ProjectsLocationsVmwareClustersService)Enroll¶
func (r *ProjectsLocationsVmwareClustersService) Enroll(parentstring, enrollvmwareclusterrequest *EnrollVmwareClusterRequest) *ProjectsLocationsVmwareClustersEnrollCall
Enroll: Enrolls an existing VMware user cluster and its node pools to theAnthos On-Prem API within a given project and location. Through enrollment,an existing cluster will become Anthos On-Prem API managed. Thecorresponding GCP resources will be created and all future modifications tothe cluster and/or its node pools will be expected to be performed throughthe API.
- parent: The parent of the project and location where the cluster isEnrolled in. Format: "projects/{project}/locations/{location}".
func (*ProjectsLocationsVmwareClustersService)Get¶
func (r *ProjectsLocationsVmwareClustersService) Get(namestring) *ProjectsLocationsVmwareClustersGetCall
Get: Gets details of a single VMware Cluster.
- name: Name of the VMware user cluster to be returned. Format:"projects/{project}/locations/{location}/vmwareClusters/{vmware_cluster}".
func (*ProjectsLocationsVmwareClustersService)GetIamPolicy¶
func (r *ProjectsLocationsVmwareClustersService) GetIamPolicy(resourcestring) *ProjectsLocationsVmwareClustersGetIamPolicyCall
GetIamPolicy: Gets the access control policy for a resource. Returns anempty policy if the resource exists and does not have a policy set.
- resource: REQUIRED: The resource for which the policy is being requested.See Resource names (https://cloud.google.com/apis/design/resource_names)for the appropriate value for this field.
func (*ProjectsLocationsVmwareClustersService)List¶
func (r *ProjectsLocationsVmwareClustersService) List(parentstring) *ProjectsLocationsVmwareClustersListCall
List: Lists VMware Clusters in a given project and location.
- parent: The parent of the project and location where the clusters arelisted in. Format: "projects/{project}/locations/{location}".
func (*ProjectsLocationsVmwareClustersService)Patch¶
func (r *ProjectsLocationsVmwareClustersService) Patch(namestring, vmwarecluster *VmwareCluster) *ProjectsLocationsVmwareClustersPatchCall
Patch: Updates the parameters of a single VMware cluster.
- name: Immutable. The VMware user cluster resource name.
func (*ProjectsLocationsVmwareClustersService)QueryVersionConfig¶
func (r *ProjectsLocationsVmwareClustersService) QueryVersionConfig(parentstring) *ProjectsLocationsVmwareClustersQueryVersionConfigCall
QueryVersionConfig: Queries the VMware user cluster version config.
- parent: The parent of the project and location to query for versionconfig. Format: "projects/{project}/locations/{location}".
func (*ProjectsLocationsVmwareClustersService)SetIamPolicy¶
func (r *ProjectsLocationsVmwareClustersService) SetIamPolicy(resourcestring, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsVmwareClustersSetIamPolicyCall
SetIamPolicy: Sets the access control policy on the specified resource.Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`,and `PERMISSION_DENIED` errors.
- resource: REQUIRED: The resource for which the policy is being specified.See Resource names (https://cloud.google.com/apis/design/resource_names)for the appropriate value for this field.
func (*ProjectsLocationsVmwareClustersService)TestIamPermissions¶
func (r *ProjectsLocationsVmwareClustersService) TestIamPermissions(resourcestring, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsVmwareClustersTestIamPermissionsCall
TestIamPermissions: Returns permissions that a caller has on the specifiedresource. If the resource does not exist, this will return an empty set ofpermissions, not a `NOT_FOUND` error. Note: This operation is designed to beused for building permission-aware UIs and command-line tools, not forauthorization checking. This operation may "fail open" without warning.
- resource: REQUIRED: The resource for which the policy detail is beingrequested. See Resource names(https://cloud.google.com/apis/design/resource_names) for the appropriatevalue for this field.
func (*ProjectsLocationsVmwareClustersService)Unenroll¶
func (r *ProjectsLocationsVmwareClustersService) Unenroll(namestring) *ProjectsLocationsVmwareClustersUnenrollCall
Unenroll: Unenrolls an existing VMware user cluster and its node pools fromthe Anthos On-Prem API within a given project and location. Unenrollmentremoves the Cloud reference to the cluster without modifying the underlyingOnPrem Resources. Clusters and node pools will continue to run; however,they will no longer be accessible through the Anthos On-Prem API or UI.
- name: Name of the VMware user cluster to be unenrolled. Format:"projects/{project}/locations/{location}/vmwareClusters/{vmware_cluster}".
typeProjectsLocationsVmwareClustersSetIamPolicyCall¶
type ProjectsLocationsVmwareClustersSetIamPolicyCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsVmwareClustersSetIamPolicyCall)Context¶
func (c *ProjectsLocationsVmwareClustersSetIamPolicyCall) Context(ctxcontext.Context) *ProjectsLocationsVmwareClustersSetIamPolicyCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsVmwareClustersSetIamPolicyCall)Do¶
func (c *ProjectsLocationsVmwareClustersSetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy,error)
Do executes the "gkeonprem.projects.locations.vmwareClusters.setIamPolicy" call.Any non-2xx status code is an error. Response headers are in either*Policy.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsVmwareClustersSetIamPolicyCall)Fields¶
func (c *ProjectsLocationsVmwareClustersSetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareClustersSetIamPolicyCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsVmwareClustersSetIamPolicyCall)Header¶
func (c *ProjectsLocationsVmwareClustersSetIamPolicyCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsVmwareClustersTestIamPermissionsCall¶
type ProjectsLocationsVmwareClustersTestIamPermissionsCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsVmwareClustersTestIamPermissionsCall)Context¶
func (c *ProjectsLocationsVmwareClustersTestIamPermissionsCall) Context(ctxcontext.Context) *ProjectsLocationsVmwareClustersTestIamPermissionsCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsVmwareClustersTestIamPermissionsCall)Do¶
func (c *ProjectsLocationsVmwareClustersTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestIamPermissionsResponse,error)
Do executes the "gkeonprem.projects.locations.vmwareClusters.testIamPermissions" call.Any non-2xx status code is an error. Response headers are in either*TestIamPermissionsResponse.ServerResponse.Header or (if a response wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.
func (*ProjectsLocationsVmwareClustersTestIamPermissionsCall)Fields¶
func (c *ProjectsLocationsVmwareClustersTestIamPermissionsCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareClustersTestIamPermissionsCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsVmwareClustersTestIamPermissionsCall)Header¶
func (c *ProjectsLocationsVmwareClustersTestIamPermissionsCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsVmwareClustersUnenrollCall¶
type ProjectsLocationsVmwareClustersUnenrollCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsVmwareClustersUnenrollCall)AllowMissing¶
func (c *ProjectsLocationsVmwareClustersUnenrollCall) AllowMissing(allowMissingbool) *ProjectsLocationsVmwareClustersUnenrollCall
AllowMissing sets the optional parameter "allowMissing": If set to true, andthe VMware cluster is not found, the request will succeed but no action willbe taken on the server and return a completed LRO.
func (*ProjectsLocationsVmwareClustersUnenrollCall)Context¶
func (c *ProjectsLocationsVmwareClustersUnenrollCall) Context(ctxcontext.Context) *ProjectsLocationsVmwareClustersUnenrollCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsVmwareClustersUnenrollCall)Do¶
func (c *ProjectsLocationsVmwareClustersUnenrollCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "gkeonprem.projects.locations.vmwareClusters.unenroll" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsVmwareClustersUnenrollCall)Etag¶
func (c *ProjectsLocationsVmwareClustersUnenrollCall) Etag(etagstring) *ProjectsLocationsVmwareClustersUnenrollCall
Etag sets the optional parameter "etag": The current etag of the VMwareCluster. If an etag is provided and does not match the current etag of thecluster, deletion will be blocked and an ABORTED error will be returned.
func (*ProjectsLocationsVmwareClustersUnenrollCall)Fields¶
func (c *ProjectsLocationsVmwareClustersUnenrollCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareClustersUnenrollCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsVmwareClustersUnenrollCall)Force¶
func (c *ProjectsLocationsVmwareClustersUnenrollCall) Force(forcebool) *ProjectsLocationsVmwareClustersUnenrollCall
Force sets the optional parameter "force": This is required if the clusterhas any associated node pools. When set, any child node pools will also beunenrolled.
func (*ProjectsLocationsVmwareClustersUnenrollCall)Header¶
func (c *ProjectsLocationsVmwareClustersUnenrollCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsVmwareClustersUnenrollCall)ValidateOnly¶
func (c *ProjectsLocationsVmwareClustersUnenrollCall) ValidateOnly(validateOnlybool) *ProjectsLocationsVmwareClustersUnenrollCall
ValidateOnly sets the optional parameter "validateOnly": Validate therequest without actually doing any updates.
typeProjectsLocationsVmwareClustersVmwareNodePoolsCreateCall¶
type ProjectsLocationsVmwareClustersVmwareNodePoolsCreateCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsVmwareClustersVmwareNodePoolsCreateCall)Context¶
func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsCreateCall) Context(ctxcontext.Context) *ProjectsLocationsVmwareClustersVmwareNodePoolsCreateCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsVmwareClustersVmwareNodePoolsCreateCall)Do¶
func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsCreateCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "gkeonprem.projects.locations.vmwareClusters.vmwareNodePools.create" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsVmwareClustersVmwareNodePoolsCreateCall)Fields¶
func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareClustersVmwareNodePoolsCreateCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsVmwareClustersVmwareNodePoolsCreateCall)Header¶
func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsCreateCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsVmwareClustersVmwareNodePoolsCreateCall)ValidateOnly¶
func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsCreateCall) ValidateOnly(validateOnlybool) *ProjectsLocationsVmwareClustersVmwareNodePoolsCreateCall
ValidateOnly sets the optional parameter "validateOnly": If set, onlyvalidate the request, but do not actually create the node pool.
func (*ProjectsLocationsVmwareClustersVmwareNodePoolsCreateCall)VmwareNodePoolId¶
func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsCreateCall) VmwareNodePoolId(vmwareNodePoolIdstring) *ProjectsLocationsVmwareClustersVmwareNodePoolsCreateCall
VmwareNodePoolId sets the optional parameter "vmwareNodePoolId": The ID touse for the node pool, which will become the final component of the nodepool's resource name. This value must be up to 40 characters and followRFC-1123 (https://tools.ietf.org/html/rfc1123) format. The value must not bepermitted to be a UUID (or UUID-like: anything matching/^[0-9a-f]{8}(-[0-9a-f]{4}){3}-[0-9a-f]{12}$/i).
typeProjectsLocationsVmwareClustersVmwareNodePoolsDeleteCall¶
type ProjectsLocationsVmwareClustersVmwareNodePoolsDeleteCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsVmwareClustersVmwareNodePoolsDeleteCall)AllowMissing¶
func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsDeleteCall) AllowMissing(allowMissingbool) *ProjectsLocationsVmwareClustersVmwareNodePoolsDeleteCall
AllowMissing sets the optional parameter "allowMissing": If set to true, andthe VMware node pool is not found, the request will succeed but no actionwill be taken on the server and return a completed LRO.
func (*ProjectsLocationsVmwareClustersVmwareNodePoolsDeleteCall)Context¶
func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsDeleteCall) Context(ctxcontext.Context) *ProjectsLocationsVmwareClustersVmwareNodePoolsDeleteCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsVmwareClustersVmwareNodePoolsDeleteCall)Do¶
func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsDeleteCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "gkeonprem.projects.locations.vmwareClusters.vmwareNodePools.delete" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsVmwareClustersVmwareNodePoolsDeleteCall)Etag¶
func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsDeleteCall) Etag(etagstring) *ProjectsLocationsVmwareClustersVmwareNodePoolsDeleteCall
Etag sets the optional parameter "etag": The current etag of theVmwareNodePool. If an etag is provided and does not match the current etagof the node pool, deletion will be blocked and an ABORTED error will bereturned.
func (*ProjectsLocationsVmwareClustersVmwareNodePoolsDeleteCall)Fields¶
func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareClustersVmwareNodePoolsDeleteCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsVmwareClustersVmwareNodePoolsDeleteCall)Header¶
func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsDeleteCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsVmwareClustersVmwareNodePoolsDeleteCall)IgnoreErrors¶
func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsDeleteCall) IgnoreErrors(ignoreErrorsbool) *ProjectsLocationsVmwareClustersVmwareNodePoolsDeleteCall
IgnoreErrors sets the optional parameter "ignoreErrors": If set to true, thedeletion of a VMware node pool resource will succeed even if errors occurduring deletion. This parameter can be used when you want to delete GCP'snode pool resource and you've already deleted the on-prem admin cluster thathosted your node pool. WARNING: Using this parameter when your user clusterstill exists may result in a deleted GCP node pool but an existing on-premnode pool.
func (*ProjectsLocationsVmwareClustersVmwareNodePoolsDeleteCall)ValidateOnly¶
func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsDeleteCall) ValidateOnly(validateOnlybool) *ProjectsLocationsVmwareClustersVmwareNodePoolsDeleteCall
ValidateOnly sets the optional parameter "validateOnly": If set, onlyvalidate the request, but do not actually delete the node pool.
typeProjectsLocationsVmwareClustersVmwareNodePoolsEnrollCall¶
type ProjectsLocationsVmwareClustersVmwareNodePoolsEnrollCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsVmwareClustersVmwareNodePoolsEnrollCall)Context¶
func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsEnrollCall) Context(ctxcontext.Context) *ProjectsLocationsVmwareClustersVmwareNodePoolsEnrollCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsVmwareClustersVmwareNodePoolsEnrollCall)Do¶
func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsEnrollCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "gkeonprem.projects.locations.vmwareClusters.vmwareNodePools.enroll" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsVmwareClustersVmwareNodePoolsEnrollCall)Fields¶
func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsEnrollCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareClustersVmwareNodePoolsEnrollCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsVmwareClustersVmwareNodePoolsEnrollCall)Header¶
func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsEnrollCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsVmwareClustersVmwareNodePoolsGetCall¶
type ProjectsLocationsVmwareClustersVmwareNodePoolsGetCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsVmwareClustersVmwareNodePoolsGetCall)Context¶
func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsGetCall) Context(ctxcontext.Context) *ProjectsLocationsVmwareClustersVmwareNodePoolsGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsVmwareClustersVmwareNodePoolsGetCall)Do¶
func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsGetCall) Do(opts ...googleapi.CallOption) (*VmwareNodePool,error)
Do executes the "gkeonprem.projects.locations.vmwareClusters.vmwareNodePools.get" call.Any non-2xx status code is an error. Response headers are in either*VmwareNodePool.ServerResponse.Header or (if a response was returned at all)in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsVmwareClustersVmwareNodePoolsGetCall)Fields¶
func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareClustersVmwareNodePoolsGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsVmwareClustersVmwareNodePoolsGetCall)Header¶
func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsGetCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsVmwareClustersVmwareNodePoolsGetCall)IfNoneMatch¶
func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsGetCall) IfNoneMatch(entityTagstring) *ProjectsLocationsVmwareClustersVmwareNodePoolsGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
func (*ProjectsLocationsVmwareClustersVmwareNodePoolsGetCall)View¶added inv0.125.0
func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsGetCall) View(viewstring) *ProjectsLocationsVmwareClustersVmwareNodePoolsGetCall
View sets the optional parameter "view": View for VMware node pool. When`BASIC` is specified, only the node pool resource name is returned. Thedefault/unset value `NODE_POOL_VIEW_UNSPECIFIED` is the same as `FULL',which returns the complete node pool configuration details.
Possible values:
"NODE_POOL_VIEW_UNSPECIFIED" - If the value is not set, the default `FULL`
view is used.
"BASIC" - Includes basic information of a node pool resource including
node pool resource name.
"FULL" - Includes the complete configuration for VMware node pool
resource. This is the default value for GetVmwareNodePoolRequest method.
typeProjectsLocationsVmwareClustersVmwareNodePoolsGetIamPolicyCall¶
type ProjectsLocationsVmwareClustersVmwareNodePoolsGetIamPolicyCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsVmwareClustersVmwareNodePoolsGetIamPolicyCall)Context¶
func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsGetIamPolicyCall) Context(ctxcontext.Context) *ProjectsLocationsVmwareClustersVmwareNodePoolsGetIamPolicyCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsVmwareClustersVmwareNodePoolsGetIamPolicyCall)Do¶
func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsGetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy,error)
Do executes the "gkeonprem.projects.locations.vmwareClusters.vmwareNodePools.getIamPolicy" call.Any non-2xx status code is an error. Response headers are in either*Policy.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsVmwareClustersVmwareNodePoolsGetIamPolicyCall)Fields¶
func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsGetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareClustersVmwareNodePoolsGetIamPolicyCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsVmwareClustersVmwareNodePoolsGetIamPolicyCall)Header¶
func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsGetIamPolicyCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsVmwareClustersVmwareNodePoolsGetIamPolicyCall)IfNoneMatch¶
func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsGetIamPolicyCall) IfNoneMatch(entityTagstring) *ProjectsLocationsVmwareClustersVmwareNodePoolsGetIamPolicyCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
func (*ProjectsLocationsVmwareClustersVmwareNodePoolsGetIamPolicyCall)OptionsRequestedPolicyVersion¶
func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsGetIamPolicyCall) OptionsRequestedPolicyVersion(optionsRequestedPolicyVersionint64) *ProjectsLocationsVmwareClustersVmwareNodePoolsGetIamPolicyCall
OptionsRequestedPolicyVersion sets the optional parameter"options.requestedPolicyVersion": The maximum policy version that will beused to format the policy. Valid values are 0, 1, and 3. Requests specifyingan invalid value will be rejected. Requests for policies with anyconditional role bindings must specify version 3. Policies with noconditional role bindings may specify any valid value or leave the fieldunset. The policy in the response might use the policy version that youspecified, or it might use a lower policy version. For example, if youspecify version 3, but the policy has no conditional role bindings, theresponse uses version 1. To learn which resources support conditions intheir IAM policies, see the IAM documentation(https://cloud.google.com/iam/help/conditions/resource-policies).
typeProjectsLocationsVmwareClustersVmwareNodePoolsListCall¶
type ProjectsLocationsVmwareClustersVmwareNodePoolsListCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsVmwareClustersVmwareNodePoolsListCall)Context¶
func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsListCall) Context(ctxcontext.Context) *ProjectsLocationsVmwareClustersVmwareNodePoolsListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsVmwareClustersVmwareNodePoolsListCall)Do¶
func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsListCall) Do(opts ...googleapi.CallOption) (*ListVmwareNodePoolsResponse,error)
Do executes the "gkeonprem.projects.locations.vmwareClusters.vmwareNodePools.list" call.Any non-2xx status code is an error. Response headers are in either*ListVmwareNodePoolsResponse.ServerResponse.Header or (if a response wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.
func (*ProjectsLocationsVmwareClustersVmwareNodePoolsListCall)Fields¶
func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareClustersVmwareNodePoolsListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsVmwareClustersVmwareNodePoolsListCall)Header¶
func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsListCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsVmwareClustersVmwareNodePoolsListCall)IfNoneMatch¶
func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsListCall) IfNoneMatch(entityTagstring) *ProjectsLocationsVmwareClustersVmwareNodePoolsListCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
func (*ProjectsLocationsVmwareClustersVmwareNodePoolsListCall)PageSize¶
func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsListCall) PageSize(pageSizeint64) *ProjectsLocationsVmwareClustersVmwareNodePoolsListCall
PageSize sets the optional parameter "pageSize": The maximum number of nodepools to return. The service may return fewer than this value. Ifunspecified, at most 50 node pools will be returned. The maximum value is1000; values above 1000 will be coerced to 1000.
func (*ProjectsLocationsVmwareClustersVmwareNodePoolsListCall)PageToken¶
func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsListCall) PageToken(pageTokenstring) *ProjectsLocationsVmwareClustersVmwareNodePoolsListCall
PageToken sets the optional parameter "pageToken": A page token, receivedfrom a previous `ListVmwareNodePools` call. Provide this to retrieve thesubsequent page. When paginating, all other parameters provided to`ListVmwareNodePools` must match the call that provided the page token.
func (*ProjectsLocationsVmwareClustersVmwareNodePoolsListCall)Pages¶
func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsListCall) Pages(ctxcontext.Context, f func(*ListVmwareNodePoolsResponse)error)error
Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.
func (*ProjectsLocationsVmwareClustersVmwareNodePoolsListCall)View¶added inv0.125.0
func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsListCall) View(viewstring) *ProjectsLocationsVmwareClustersVmwareNodePoolsListCall
View sets the optional parameter "view": View for VMware node pools. When`BASIC` is specified, only the node pool resource name is returned. Thedefault/unset value `NODE_POOL_VIEW_UNSPECIFIED` is the same as `FULL',which returns the complete node pool configuration details.
Possible values:
"NODE_POOL_VIEW_UNSPECIFIED" - If the value is not set, the default `FULL`
view is used.
"BASIC" - Includes basic information of a node pool resource including
node pool resource name.
"FULL" - Includes the complete configuration for VMware node pool
resource. This is the default value for ListVmwareNodePoolsRequest method.
typeProjectsLocationsVmwareClustersVmwareNodePoolsOperationsGetCall¶
type ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsGetCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsGetCall)Context¶
func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsGetCall) Context(ctxcontext.Context) *ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsGetCall)Do¶
func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsGetCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "gkeonprem.projects.locations.vmwareClusters.vmwareNodePools.operations.get" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsGetCall)Fields¶
func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsGetCall)Header¶
func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsGetCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsGetCall)IfNoneMatch¶
func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsGetCall) IfNoneMatch(entityTagstring) *ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
typeProjectsLocationsVmwareClustersVmwareNodePoolsOperationsListCall¶
type ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsListCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsListCall)Context¶
func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsListCall) Context(ctxcontext.Context) *ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsListCall)Do¶
func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsListCall) Do(opts ...googleapi.CallOption) (*ListOperationsResponse,error)
Do executes the "gkeonprem.projects.locations.vmwareClusters.vmwareNodePools.operations.list" call.Any non-2xx status code is an error. Response headers are in either*ListOperationsResponse.ServerResponse.Header or (if a response was returnedat all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModified wasreturned.
func (*ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsListCall)Fields¶
func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsListCall)Filter¶
func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsListCall) Filter(filterstring) *ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsListCall
Filter sets the optional parameter "filter": The standard list filter.
func (*ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsListCall)Header¶
func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsListCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsListCall)IfNoneMatch¶
func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsListCall) IfNoneMatch(entityTagstring) *ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsListCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
func (*ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsListCall)PageSize¶
func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsListCall) PageSize(pageSizeint64) *ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsListCall
PageSize sets the optional parameter "pageSize": The standard list pagesize.
func (*ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsListCall)PageToken¶
func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsListCall) PageToken(pageTokenstring) *ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsListCall
PageToken sets the optional parameter "pageToken": The standard list pagetoken.
func (*ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsListCall)Pages¶
func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsListCall) Pages(ctxcontext.Context, f func(*ListOperationsResponse)error)error
Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.
func (*ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsListCall)ReturnPartialSuccess¶added inv0.254.0
func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsListCall) ReturnPartialSuccess(returnPartialSuccessbool) *ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsListCall
ReturnPartialSuccess sets the optional parameter "returnPartialSuccess":When set to `true`, operations that are reachable are returned as normal,and those that are unreachable are returned in the[ListOperationsResponse.unreachable] field. This can only be `true` whenreading across collections e.g. when `parent` is set to"projects/example/locations/-". This field is not by default supported andwill result in an `UNIMPLEMENTED` error if set unless explicitly documentedotherwise in service or product specific documentation.
typeProjectsLocationsVmwareClustersVmwareNodePoolsOperationsService¶
type ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsService struct {// contains filtered or unexported fields}funcNewProjectsLocationsVmwareClustersVmwareNodePoolsOperationsService¶
func NewProjectsLocationsVmwareClustersVmwareNodePoolsOperationsService(s *Service) *ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsService
func (*ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsService)Get¶
func (r *ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsService) Get(namestring) *ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsGetCall
Get: Gets the latest state of a long-running operation. Clients can use thismethod to poll the operation result at intervals as recommended by the APIservice.
- name: The name of the operation resource.
func (*ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsService)List¶
func (r *ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsService) List(namestring) *ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsListCall
List: Lists operations that match the specified filter in the request. Ifthe server doesn't support this method, it returns `UNIMPLEMENTED`.
- name: The name of the operation's parent resource.
typeProjectsLocationsVmwareClustersVmwareNodePoolsPatchCall¶
type ProjectsLocationsVmwareClustersVmwareNodePoolsPatchCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsVmwareClustersVmwareNodePoolsPatchCall)Context¶
func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsPatchCall) Context(ctxcontext.Context) *ProjectsLocationsVmwareClustersVmwareNodePoolsPatchCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsVmwareClustersVmwareNodePoolsPatchCall)Do¶
func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsPatchCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "gkeonprem.projects.locations.vmwareClusters.vmwareNodePools.patch" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsVmwareClustersVmwareNodePoolsPatchCall)Fields¶
func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareClustersVmwareNodePoolsPatchCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsVmwareClustersVmwareNodePoolsPatchCall)Header¶
func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsPatchCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsVmwareClustersVmwareNodePoolsPatchCall)UpdateMask¶
func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsPatchCall) UpdateMask(updateMaskstring) *ProjectsLocationsVmwareClustersVmwareNodePoolsPatchCall
UpdateMask sets the optional parameter "updateMask": Required. Field mask isused to specify the fields to be overwritten in the VMwareNodePool resourceby the update. The fields specified in the update_mask are relative to theresource, not the full request. A field will be overwritten if it is in themask. If the user does not provide a mask then all populated fields in theVMwareNodePool message will be updated. Empty fields will be ignored unlessa field mask is used.
func (*ProjectsLocationsVmwareClustersVmwareNodePoolsPatchCall)ValidateOnly¶
func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsPatchCall) ValidateOnly(validateOnlybool) *ProjectsLocationsVmwareClustersVmwareNodePoolsPatchCall
ValidateOnly sets the optional parameter "validateOnly": Validate therequest without actually doing any updates.
typeProjectsLocationsVmwareClustersVmwareNodePoolsService¶
type ProjectsLocationsVmwareClustersVmwareNodePoolsService struct {Operations *ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsService// contains filtered or unexported fields}funcNewProjectsLocationsVmwareClustersVmwareNodePoolsService¶
func NewProjectsLocationsVmwareClustersVmwareNodePoolsService(s *Service) *ProjectsLocationsVmwareClustersVmwareNodePoolsService
func (*ProjectsLocationsVmwareClustersVmwareNodePoolsService)Create¶
func (r *ProjectsLocationsVmwareClustersVmwareNodePoolsService) Create(parentstring, vmwarenodepool *VmwareNodePool) *ProjectsLocationsVmwareClustersVmwareNodePoolsCreateCall
Create: Creates a new VMware node pool in a given project, location andVMWare cluster.
- parent: The parent resource where this node pool will be created.projects/{project}/locations/{location}/vmwareClusters/{cluster}.
func (*ProjectsLocationsVmwareClustersVmwareNodePoolsService)Delete¶
func (r *ProjectsLocationsVmwareClustersVmwareNodePoolsService) Delete(namestring) *ProjectsLocationsVmwareClustersVmwareNodePoolsDeleteCall
Delete: Deletes a single VMware node pool.
- name: The name of the node pool to delete. Format:projects/{project}/locations/{location}/vmwareClusters/{cluster}/vmwareNodePools/{nodepool}.
func (*ProjectsLocationsVmwareClustersVmwareNodePoolsService)Enroll¶
func (r *ProjectsLocationsVmwareClustersVmwareNodePoolsService) Enroll(parentstring, enrollvmwarenodepoolrequest *EnrollVmwareNodePoolRequest) *ProjectsLocationsVmwareClustersVmwareNodePoolsEnrollCall
Enroll: Enrolls a VMware node pool to Anthos On-Prem API
- parent: The parent resource where the node pool is enrolled in.
func (*ProjectsLocationsVmwareClustersVmwareNodePoolsService)Get¶
func (r *ProjectsLocationsVmwareClustersVmwareNodePoolsService) Get(namestring) *ProjectsLocationsVmwareClustersVmwareNodePoolsGetCall
Get: Gets details of a single VMware node pool.
- name: The name of the node pool to retrieve.projects/{project}/locations/{location}/vmwareClusters/{cluster}/vmwareNodePools/{nodepool}.
func (*ProjectsLocationsVmwareClustersVmwareNodePoolsService)GetIamPolicy¶
func (r *ProjectsLocationsVmwareClustersVmwareNodePoolsService) GetIamPolicy(resourcestring) *ProjectsLocationsVmwareClustersVmwareNodePoolsGetIamPolicyCall
GetIamPolicy: Gets the access control policy for a resource. Returns anempty policy if the resource exists and does not have a policy set.
- resource: REQUIRED: The resource for which the policy is being requested.See Resource names (https://cloud.google.com/apis/design/resource_names)for the appropriate value for this field.
func (*ProjectsLocationsVmwareClustersVmwareNodePoolsService)List¶
func (r *ProjectsLocationsVmwareClustersVmwareNodePoolsService) List(parentstring) *ProjectsLocationsVmwareClustersVmwareNodePoolsListCall
List: Lists VMware node pools in a given project, location and VMWarecluster.
- parent: The parent, which owns this collection of node pools. Format:projects/{project}/locations/{location}/vmwareClusters/{vmwareCluster}.
func (*ProjectsLocationsVmwareClustersVmwareNodePoolsService)Patch¶
func (r *ProjectsLocationsVmwareClustersVmwareNodePoolsService) Patch(namestring, vmwarenodepool *VmwareNodePool) *ProjectsLocationsVmwareClustersVmwareNodePoolsPatchCall
Patch: Updates the parameters of a single VMware node pool.
- name: Immutable. The resource name of this node pool.
func (*ProjectsLocationsVmwareClustersVmwareNodePoolsService)SetIamPolicy¶
func (r *ProjectsLocationsVmwareClustersVmwareNodePoolsService) SetIamPolicy(resourcestring, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsVmwareClustersVmwareNodePoolsSetIamPolicyCall
SetIamPolicy: Sets the access control policy on the specified resource.Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`,and `PERMISSION_DENIED` errors.
- resource: REQUIRED: The resource for which the policy is being specified.See Resource names (https://cloud.google.com/apis/design/resource_names)for the appropriate value for this field.
func (*ProjectsLocationsVmwareClustersVmwareNodePoolsService)TestIamPermissions¶
func (r *ProjectsLocationsVmwareClustersVmwareNodePoolsService) TestIamPermissions(resourcestring, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsVmwareClustersVmwareNodePoolsTestIamPermissionsCall
TestIamPermissions: Returns permissions that a caller has on the specifiedresource. If the resource does not exist, this will return an empty set ofpermissions, not a `NOT_FOUND` error. Note: This operation is designed to beused for building permission-aware UIs and command-line tools, not forauthorization checking. This operation may "fail open" without warning.
- resource: REQUIRED: The resource for which the policy detail is beingrequested. See Resource names(https://cloud.google.com/apis/design/resource_names) for the appropriatevalue for this field.
func (*ProjectsLocationsVmwareClustersVmwareNodePoolsService)Unenroll¶
func (r *ProjectsLocationsVmwareClustersVmwareNodePoolsService) Unenroll(namestring) *ProjectsLocationsVmwareClustersVmwareNodePoolsUnenrollCall
Unenroll: Unenrolls a VMware node pool to Anthos On-Prem API
- name: The name of the node pool to unenroll. Format:projects/{project}/locations/{location}/vmwareClusters/{cluster}/vmwareNodePools/{nodepool}.
typeProjectsLocationsVmwareClustersVmwareNodePoolsSetIamPolicyCall¶
type ProjectsLocationsVmwareClustersVmwareNodePoolsSetIamPolicyCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsVmwareClustersVmwareNodePoolsSetIamPolicyCall)Context¶
func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsSetIamPolicyCall) Context(ctxcontext.Context) *ProjectsLocationsVmwareClustersVmwareNodePoolsSetIamPolicyCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsVmwareClustersVmwareNodePoolsSetIamPolicyCall)Do¶
func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsSetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy,error)
Do executes the "gkeonprem.projects.locations.vmwareClusters.vmwareNodePools.setIamPolicy" call.Any non-2xx status code is an error. Response headers are in either*Policy.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsVmwareClustersVmwareNodePoolsSetIamPolicyCall)Fields¶
func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsSetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareClustersVmwareNodePoolsSetIamPolicyCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsVmwareClustersVmwareNodePoolsSetIamPolicyCall)Header¶
func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsSetIamPolicyCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsVmwareClustersVmwareNodePoolsTestIamPermissionsCall¶
type ProjectsLocationsVmwareClustersVmwareNodePoolsTestIamPermissionsCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsVmwareClustersVmwareNodePoolsTestIamPermissionsCall)Context¶
func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsTestIamPermissionsCall) Context(ctxcontext.Context) *ProjectsLocationsVmwareClustersVmwareNodePoolsTestIamPermissionsCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsVmwareClustersVmwareNodePoolsTestIamPermissionsCall)Do¶
func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestIamPermissionsResponse,error)
Do executes the "gkeonprem.projects.locations.vmwareClusters.vmwareNodePools.testIamPermissions" call.Any non-2xx status code is an error. Response headers are in either*TestIamPermissionsResponse.ServerResponse.Header or (if a response wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.
func (*ProjectsLocationsVmwareClustersVmwareNodePoolsTestIamPermissionsCall)Fields¶
func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsTestIamPermissionsCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareClustersVmwareNodePoolsTestIamPermissionsCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsVmwareClustersVmwareNodePoolsTestIamPermissionsCall)Header¶
func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsTestIamPermissionsCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsVmwareClustersVmwareNodePoolsUnenrollCall¶
type ProjectsLocationsVmwareClustersVmwareNodePoolsUnenrollCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsVmwareClustersVmwareNodePoolsUnenrollCall)AllowMissing¶added inv0.125.0
func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsUnenrollCall) AllowMissing(allowMissingbool) *ProjectsLocationsVmwareClustersVmwareNodePoolsUnenrollCall
AllowMissing sets the optional parameter "allowMissing": If set to true, andthe VMware node pool is not found, the request will succeed but no actionwill be taken on the server and return a completed LRO.
func (*ProjectsLocationsVmwareClustersVmwareNodePoolsUnenrollCall)Context¶
func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsUnenrollCall) Context(ctxcontext.Context) *ProjectsLocationsVmwareClustersVmwareNodePoolsUnenrollCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsVmwareClustersVmwareNodePoolsUnenrollCall)Do¶
func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsUnenrollCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "gkeonprem.projects.locations.vmwareClusters.vmwareNodePools.unenroll" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsVmwareClustersVmwareNodePoolsUnenrollCall)Etag¶
func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsUnenrollCall) Etag(etagstring) *ProjectsLocationsVmwareClustersVmwareNodePoolsUnenrollCall
Etag sets the optional parameter "etag": The current etag of the VMware nodepool. If an etag is provided and does not match the current etag of nodepool, deletion will be blocked and an ABORTED error will be returned.
func (*ProjectsLocationsVmwareClustersVmwareNodePoolsUnenrollCall)Fields¶
func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsUnenrollCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareClustersVmwareNodePoolsUnenrollCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsVmwareClustersVmwareNodePoolsUnenrollCall)Header¶
func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsUnenrollCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsVmwareClustersVmwareNodePoolsUnenrollCall)ValidateOnly¶
func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsUnenrollCall) ValidateOnly(validateOnlybool) *ProjectsLocationsVmwareClustersVmwareNodePoolsUnenrollCall
ValidateOnly sets the optional parameter "validateOnly": If set, onlyvalidate the request, but do not actually unenroll the node pool.
typeProjectsService¶
type ProjectsService struct {Locations *ProjectsLocationsService// contains filtered or unexported fields}funcNewProjectsService¶
func NewProjectsService(s *Service) *ProjectsService
typeQueryBareMetalAdminVersionConfigResponse¶
type QueryBareMetalAdminVersionConfigResponse struct {// Versions: List of available versions to install or to upgrade to.Versions []*BareMetalVersionInfo `json:"versions,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "Versions") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Versions") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}QueryBareMetalAdminVersionConfigResponse: Response message for querying baremetal admin cluster version config.
func (QueryBareMetalAdminVersionConfigResponse)MarshalJSON¶
func (sQueryBareMetalAdminVersionConfigResponse) MarshalJSON() ([]byte,error)
typeQueryBareMetalVersionConfigResponse¶
type QueryBareMetalVersionConfigResponse struct {// Versions: List of available versions to install or to upgrade to.Versions []*BareMetalVersionInfo `json:"versions,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "Versions") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Versions") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}QueryBareMetalVersionConfigResponse: Response message for querying baremetal admin cluster version config.
func (QueryBareMetalVersionConfigResponse)MarshalJSON¶
func (sQueryBareMetalVersionConfigResponse) MarshalJSON() ([]byte,error)
typeQueryVmwareVersionConfigResponse¶
type QueryVmwareVersionConfigResponse struct {// Versions: List of available versions to install or to upgrade to.Versions []*VmwareVersionInfo `json:"versions,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "Versions") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Versions") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}QueryVmwareVersionConfigResponse: Response message for querying VMware usercluster version config.
func (QueryVmwareVersionConfigResponse)MarshalJSON¶
func (sQueryVmwareVersionConfigResponse) MarshalJSON() ([]byte,error)
typeResourceCondition¶
type ResourceCondition struct {// LastTransitionTime: Last time the condition transit from one status to// another.LastTransitionTimestring `json:"lastTransitionTime,omitempty"`// Message: Human-readable message indicating details about last transition.Messagestring `json:"message,omitempty"`// Reason: Machine-readable message indicating details about last transition.Reasonstring `json:"reason,omitempty"`// State: state of the condition.//// Possible values:// "STATE_UNSPECIFIED" - Not set.// "STATE_TRUE" - Resource is in the condition.// "STATE_FALSE" - Resource is not in the condition.// "STATE_UNKNOWN" - Kubernetes controller can't decide if the resource is in// the condition or not.Statestring `json:"state,omitempty"`// Type: Type of the condition. (e.g., ClusterRunning, NodePoolRunning or// ServerSidePreflightReady)Typestring `json:"type,omitempty"`// ForceSendFields is a list of field names (e.g. "LastTransitionTime") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "LastTransitionTime") to include// in API requests with the JSON null value. By default, fields with empty// values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}ResourceCondition: ResourceCondition provides a standard mechanism forhigher-level status reporting from controller.
func (ResourceCondition)MarshalJSON¶
func (sResourceCondition) MarshalJSON() ([]byte,error)
typeResourceStatus¶
type ResourceStatus struct {// Conditions: ResourceCondition provide a standard mechanism for higher-level// status reporting from controller.Conditions []*ResourceCondition `json:"conditions,omitempty"`// ErrorMessage: Human-friendly representation of the error message from// controller. The error message can be temporary as the controller controller// creates a cluster or node pool. If the error message persists for a longer// period of time, it can be used to surface error message to indicate real// problems requiring user intervention.ErrorMessagestring `json:"errorMessage,omitempty"`// Version: Reflect current version of the resource.Versionstring `json:"version,omitempty"`// Versions: Shows the mapping of a given version to the number of machines// under this version.Versions *Versions `json:"versions,omitempty"`// ForceSendFields is a list of field names (e.g. "Conditions") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Conditions") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}ResourceStatus: ResourceStatus describes why a cluster or node pool has acertain status. (e.g., ERROR or DEGRADED).
func (ResourceStatus)MarshalJSON¶
func (sResourceStatus) MarshalJSON() ([]byte,error)
typeService¶
type Service struct {BasePathstring// API endpoint base URLUserAgentstring// optional additional User-Agent fragmentProjects *ProjectsService// contains filtered or unexported fields} funcNewdeprecated
New creates a new Service. It uses the provided http.Client for requests.
Deprecated: please use NewService instead.To provide a custom HTTP client, use option.WithHTTPClient.If you are using google.golang.org/api/googleapis/transport.APIKey, use option.WithAPIKey with NewService instead.
funcNewService¶
NewService creates a new Service.
typeSetIamPolicyRequest¶
type SetIamPolicyRequest struct {// Policy: REQUIRED: The complete policy to be applied to the `resource`. The// size of the policy is limited to a few 10s of KB. An empty policy is a valid// policy but certain Google Cloud services (such as Projects) might reject// them.Policy *Policy `json:"policy,omitempty"`// ForceSendFields is a list of field names (e.g. "Policy") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Policy") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}SetIamPolicyRequest: Request message for `SetIamPolicy` method.
func (SetIamPolicyRequest)MarshalJSON¶
func (sSetIamPolicyRequest) MarshalJSON() ([]byte,error)
typeStatus¶
type Status struct {// Code: The status code, which should be an enum value of google.rpc.Code.Codeint64 `json:"code,omitempty"`// Details: A list of messages that carry the error details. There is a common// set of message types for APIs to use.Details []googleapi.RawMessage `json:"details,omitempty"`// Message: A developer-facing error message, which should be in English. Any// user-facing error message should be localized and sent in the// google.rpc.Status.details field, or localized by the client.Messagestring `json:"message,omitempty"`// ForceSendFields is a list of field names (e.g. "Code") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Code") to include in API requests// with the JSON null value. By default, fields with empty values are omitted// from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}Status: The `Status` type defines a logical error model that is suitable fordifferent programming environments, including REST APIs and RPC APIs. It isused by gRPC (https://github.com/grpc). Each `Status` message contains threepieces of data: error code, error message, and error details. You can findout more about this error model and how to work with it in the API DesignGuide (https://cloud.google.com/apis/design/errors).
func (Status)MarshalJSON¶
typeTestIamPermissionsRequest¶
type TestIamPermissionsRequest struct {// Permissions: The set of permissions to check for the `resource`. Permissions// with wildcards (such as `*` or `storage.*`) are not allowed. For more// information see IAM Overview// (https://cloud.google.com/iam/docs/overview#permissions).Permissions []string `json:"permissions,omitempty"`// ForceSendFields is a list of field names (e.g. "Permissions") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Permissions") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}TestIamPermissionsRequest: Request message for `TestIamPermissions` method.
func (TestIamPermissionsRequest)MarshalJSON¶
func (sTestIamPermissionsRequest) MarshalJSON() ([]byte,error)
typeTestIamPermissionsResponse¶
type TestIamPermissionsResponse struct {// Permissions: A subset of `TestPermissionsRequest.permissions` that the// caller is allowed.Permissions []string `json:"permissions,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "Permissions") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Permissions") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}TestIamPermissionsResponse: Response message for `TestIamPermissions`method.
func (TestIamPermissionsResponse)MarshalJSON¶
func (sTestIamPermissionsResponse) MarshalJSON() ([]byte,error)
typeUpgradeDependency¶added inv0.127.0
type UpgradeDependency struct {// CurrentVersion: Current version of the dependency e.g. 1.15.0.CurrentVersionstring `json:"currentVersion,omitempty"`// Membership: Membership names are formatted as// `projects//locations//memberships/`.Membershipstring `json:"membership,omitempty"`// ResourceName: Resource name of the dependency.ResourceNamestring `json:"resourceName,omitempty"`// TargetVersion: Target version of the dependency e.g. 1.16.1. This is the// version the dependency needs to be upgraded to before a resource can be// upgraded.TargetVersionstring `json:"targetVersion,omitempty"`// ForceSendFields is a list of field names (e.g. "CurrentVersion") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "CurrentVersion") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}UpgradeDependency: UpgradeDependency represents a dependency when upgradinga resource.
func (UpgradeDependency)MarshalJSON¶added inv0.127.0
func (sUpgradeDependency) MarshalJSON() ([]byte,error)
typeValidationCheck¶
type ValidationCheck struct {// Option: Options used for the validation check//// Possible values:// "OPTIONS_UNSPECIFIED" - Default value. Standard preflight validation check// will be used.// "SKIP_VALIDATION_CHECK_BLOCKING" - Prevent failed preflight checks from// failing.// "SKIP_VALIDATION_ALL" - Skip all preflight check validations.Optionstring `json:"option,omitempty"`// Scenario: Output only. The scenario when the preflight checks were run.//// Possible values:// "SCENARIO_UNSPECIFIED" - Default value. This value is unused.// "CREATE" - The validation check occurred during a create flow.// "UPDATE" - The validation check occurred during an update flow.Scenariostring `json:"scenario,omitempty"`// Status: Output only. The detailed validation check status.Status *ValidationCheckStatus `json:"status,omitempty"`// ForceSendFields is a list of field names (e.g. "Option") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Option") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}ValidationCheck: ValidationCheck represents the result of preflight check.
func (ValidationCheck)MarshalJSON¶
func (sValidationCheck) MarshalJSON() ([]byte,error)
typeValidationCheckResult¶
type ValidationCheckResult struct {// Category: The category of the validation.Categorystring `json:"category,omitempty"`// Description: The description of the validation check.Descriptionstring `json:"description,omitempty"`// Details: Detailed failure information, which might be unformatted.Detailsstring `json:"details,omitempty"`// Reason: A human-readable message of the check failure.Reasonstring `json:"reason,omitempty"`// State: The validation check state.//// Possible values:// "STATE_UNKNOWN" - The default value. The check result is unknown.// "STATE_FAILURE" - The check failed.// "STATE_SKIPPED" - The check was skipped.// "STATE_FATAL" - The check itself failed to complete.// "STATE_WARNING" - The check encountered a warning.Statestring `json:"state,omitempty"`// ForceSendFields is a list of field names (e.g. "Category") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Category") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}ValidationCheckResult: ValidationCheckResult defines the details about thevalidation check.
func (ValidationCheckResult)MarshalJSON¶
func (sValidationCheckResult) MarshalJSON() ([]byte,error)
typeValidationCheckStatus¶
type ValidationCheckStatus struct {// Result: Individual checks which failed as part of the Preflight check// execution.Result []*ValidationCheckResult `json:"result,omitempty"`// ForceSendFields is a list of field names (e.g. "Result") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Result") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}ValidationCheckStatus: ValidationCheckStatus defines the detailed validationcheck status.
func (ValidationCheckStatus)MarshalJSON¶
func (sValidationCheckStatus) MarshalJSON() ([]byte,error)
typeVersion¶added inv0.195.0
type Version struct {// Count: Number of machines under the above version.Countint64 `json:"count,omitempty,string"`// Version: Resource version.Versionstring `json:"version,omitempty"`// ForceSendFields is a list of field names (e.g. "Count") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Count") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}Version: Version describes the number of nodes at a given version under aresource.
func (Version)MarshalJSON¶added inv0.195.0
typeVersions¶added inv0.195.0
type Versions struct {// Versions: Shows the mapping of a given version to the number of machines// under this version.Versions []*Version `json:"versions,omitempty"`// ForceSendFields is a list of field names (e.g. "Versions") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Versions") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}Versions: Versions describes the mapping of a given version to the number ofmachines under this version.
func (Versions)MarshalJSON¶added inv0.195.0
typeVmwareAAGConfig¶
type VmwareAAGConfig struct {// AagConfigDisabled: Spread nodes across at least three physical hosts// (requires at least three hosts). Enabled by default.AagConfigDisabledbool `json:"aagConfigDisabled,omitempty"`// ForceSendFields is a list of field names (e.g. "AagConfigDisabled") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AagConfigDisabled") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}VmwareAAGConfig: Specifies anti affinity group config for the VMware usercluster.
func (VmwareAAGConfig)MarshalJSON¶
func (sVmwareAAGConfig) MarshalJSON() ([]byte,error)
typeVmwareAddressPool¶
type VmwareAddressPool struct {// Addresses: Required. The addresses that are part of this pool. Each address// must be either in the CIDR form (1.2.3.0/24) or range form// (1.2.3.1-1.2.3.5).Addresses []string `json:"addresses,omitempty"`// AvoidBuggyIps: If true, avoid using IPs ending in .0 or .255. This avoids// buggy consumer devices mistakenly dropping IPv4 traffic for those special IP// addresses.AvoidBuggyIpsbool `json:"avoidBuggyIps,omitempty"`// ManualAssign: If true, prevent IP addresses from being automatically// assigned.ManualAssignbool `json:"manualAssign,omitempty"`// Pool: Required. The name of the address pool.Poolstring `json:"pool,omitempty"`// ForceSendFields is a list of field names (e.g. "Addresses") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Addresses") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}VmwareAddressPool: Represents an IP pool used by the load balancer.
func (VmwareAddressPool)MarshalJSON¶
func (sVmwareAddressPool) MarshalJSON() ([]byte,error)
typeVmwareAdminAddonNodeConfig¶
type VmwareAdminAddonNodeConfig struct {// AutoResizeConfig: VmwareAutoResizeConfig config specifies auto resize// config.AutoResizeConfig *VmwareAutoResizeConfig `json:"autoResizeConfig,omitempty"`// ForceSendFields is a list of field names (e.g. "AutoResizeConfig") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AutoResizeConfig") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}VmwareAdminAddonNodeConfig: VmwareAdminAddonNodeConfig contains add-on nodeconfigurations for VMware admin cluster.
func (VmwareAdminAddonNodeConfig)MarshalJSON¶
func (sVmwareAdminAddonNodeConfig) MarshalJSON() ([]byte,error)
typeVmwareAdminAuthorizationConfig¶added inv0.151.0
type VmwareAdminAuthorizationConfig struct {// ViewerUsers: For VMware admin clusters, users will be granted the// cluster-viewer role on the cluster.ViewerUsers []*ClusterUser `json:"viewerUsers,omitempty"`// ForceSendFields is a list of field names (e.g. "ViewerUsers") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "ViewerUsers") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}VmwareAdminAuthorizationConfig: VmwareAdminAuthorizationConfig representsconfiguration for admin cluster authorization.
func (VmwareAdminAuthorizationConfig)MarshalJSON¶added inv0.151.0
func (sVmwareAdminAuthorizationConfig) MarshalJSON() ([]byte,error)
typeVmwareAdminCluster¶
type VmwareAdminCluster struct {// AddonNode: The VMware admin cluster addon node configuration.AddonNode *VmwareAdminAddonNodeConfig `json:"addonNode,omitempty"`// Annotations: Annotations on the VMware admin cluster. This field has the// same restrictions as Kubernetes annotations. The total size of all keys and// values combined is limited to 256k. Key can have 2 segments: prefix// (optional) and name (required), separated by a slash (/). Prefix must be a// DNS subdomain. Name must be 63 characters or less, begin and end with// alphanumerics, with dashes (-), underscores (_), dots (.), and alphanumerics// between.Annotations map[string]string `json:"annotations,omitempty"`// AntiAffinityGroups: The VMware admin cluster anti affinity group// configuration.AntiAffinityGroups *VmwareAAGConfig `json:"antiAffinityGroups,omitempty"`// Authorization: The VMware admin cluster authorization configuration.Authorization *VmwareAdminAuthorizationConfig `json:"authorization,omitempty"`// AutoRepairConfig: The VMware admin cluster auto repair configuration.AutoRepairConfig *VmwareAutoRepairConfig `json:"autoRepairConfig,omitempty"`// BootstrapClusterMembership: The bootstrap cluster this VMware admin cluster// belongs to.BootstrapClusterMembershipstring `json:"bootstrapClusterMembership,omitempty"`// ControlPlaneNode: The VMware admin cluster control plane node configuration.ControlPlaneNode *VmwareAdminControlPlaneNodeConfig `json:"controlPlaneNode,omitempty"`// CreateTime: Output only. The time at which VMware admin cluster was created.CreateTimestring `json:"createTime,omitempty"`// Description: A human readable description of this VMware admin cluster.Descriptionstring `json:"description,omitempty"`// EnableAdvancedCluster: Enable advanced cluster.EnableAdvancedClusterbool `json:"enableAdvancedCluster,omitempty"`// Endpoint: Output only. The DNS name of VMware admin cluster's API server.Endpointstring `json:"endpoint,omitempty"`// Etag: This checksum is computed by the server based on the value of other// fields, and may be sent on update and delete requests to ensure the client// has an up-to-date value before proceeding. Allows clients to perform// consistent read-modify-writes through optimistic concurrency control.Etagstring `json:"etag,omitempty"`// Fleet: Output only. Fleet configuration for the cluster.Fleet *Fleet `json:"fleet,omitempty"`// ImageType: The OS image type for the VMware admin cluster.ImageTypestring `json:"imageType,omitempty"`// LoadBalancer: The VMware admin cluster load balancer configuration.LoadBalancer *VmwareAdminLoadBalancerConfig `json:"loadBalancer,omitempty"`// LocalName: Output only. The object name of the VMware OnPremAdminCluster// custom resource. This field is used to support conflicting names when// enrolling existing clusters to the API. When used as a part of cluster// enrollment, this field will differ from the ID in the resource name. For new// clusters, this field will match the user provided cluster name and be// visible in the last component of the resource name. It is not modifiable.// All users should use this name to access their cluster using gkectl or// kubectl and should expect to see the local name when viewing admin cluster// controller logs.LocalNamestring `json:"localName,omitempty"`// Name: Immutable. The VMware admin cluster resource name.Namestring `json:"name,omitempty"`// NetworkConfig: The VMware admin cluster network configuration.NetworkConfig *VmwareAdminNetworkConfig `json:"networkConfig,omitempty"`// OnPremVersion: The Anthos clusters on the VMware version for the admin// cluster.OnPremVersionstring `json:"onPremVersion,omitempty"`// PlatformConfig: The VMware platform configuration.PlatformConfig *VmwarePlatformConfig `json:"platformConfig,omitempty"`// PreparedSecrets: Output only. The VMware admin cluster prepared secrets// configuration. It should always be enabled by the Central API, instead of// letting users set it.PreparedSecrets *VmwareAdminPreparedSecretsConfig `json:"preparedSecrets,omitempty"`// PrivateRegistryConfig: Configuration for registry.PrivateRegistryConfig *VmwareAdminPrivateRegistryConfig `json:"privateRegistryConfig,omitempty"`// Proxy: Configuration for proxy.Proxy *VmwareAdminProxy `json:"proxy,omitempty"`// Reconciling: Output only. If set, there are currently changes in flight to// the VMware admin cluster.Reconcilingbool `json:"reconciling,omitempty"`// State: Output only. The current state of VMware admin cluster.//// Possible values:// "STATE_UNSPECIFIED" - Not set.// "PROVISIONING" - The PROVISIONING state indicates the cluster is being// created.// "RUNNING" - The RUNNING state indicates the cluster has been created and// is fully usable.// "RECONCILING" - The RECONCILING state indicates that the cluster is being// updated. It remains available, but potentially with degraded performance.// "STOPPING" - The STOPPING state indicates the cluster is being deleted.// "ERROR" - The ERROR state indicates the cluster is in a broken// unrecoverable state.// "DEGRADED" - The DEGRADED state indicates the cluster requires user action// to restore full functionality.Statestring `json:"state,omitempty"`// Status: Output only. ResourceStatus representing detailed cluster state.Status *ResourceStatus `json:"status,omitempty"`// Uid: Output only. The unique identifier of the VMware admin cluster.Uidstring `json:"uid,omitempty"`// UpdateTime: Output only. The time at which VMware admin cluster was last// updated.UpdateTimestring `json:"updateTime,omitempty"`// ValidationCheck: Output only. ValidationCheck represents the result of the// preflight check job.ValidationCheck *ValidationCheck `json:"validationCheck,omitempty"`// Vcenter: The VMware admin cluster VCenter configuration.Vcenter *VmwareAdminVCenterConfig `json:"vcenter,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "AddonNode") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AddonNode") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}VmwareAdminCluster: Resource that represents a VMware admin cluster.
func (VmwareAdminCluster)MarshalJSON¶
func (sVmwareAdminCluster) MarshalJSON() ([]byte,error)
typeVmwareAdminControlPlaneNodeConfig¶
type VmwareAdminControlPlaneNodeConfig struct {// Cpus: The number of vCPUs for the control-plane node of the admin cluster.Cpusint64 `json:"cpus,omitempty,string"`// Memory: The number of mebibytes of memory for the control-plane node of the// admin cluster.Memoryint64 `json:"memory,omitempty,string"`// Replicas: The number of control plane nodes for this VMware admin cluster.// (default: 1 replica).Replicasint64 `json:"replicas,omitempty,string"`// ForceSendFields is a list of field names (e.g. "Cpus") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Cpus") to include in API requests// with the JSON null value. By default, fields with empty values are omitted// from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}VmwareAdminControlPlaneNodeConfig: VmwareAdminControlPlaneNodeConfigcontains control plane node configuration for VMware admin cluster.
func (VmwareAdminControlPlaneNodeConfig)MarshalJSON¶
func (sVmwareAdminControlPlaneNodeConfig) MarshalJSON() ([]byte,error)
typeVmwareAdminF5BigIpConfig¶
type VmwareAdminF5BigIpConfig struct {// Address: The load balancer's IP address.Addressstring `json:"address,omitempty"`// Partition: The preexisting partition to be used by the load balancer. This// partition is usually created for the admin cluster for example:// 'my-f5-admin-partition'.Partitionstring `json:"partition,omitempty"`// SnatPool: The pool name. Only necessary, if using SNAT.SnatPoolstring `json:"snatPool,omitempty"`// ForceSendFields is a list of field names (e.g. "Address") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Address") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}VmwareAdminF5BigIpConfig: VmwareAdminF5BigIpConfig represents configurationparameters for an F5 BIG-IP load balancer.
func (VmwareAdminF5BigIpConfig)MarshalJSON¶
func (sVmwareAdminF5BigIpConfig) MarshalJSON() ([]byte,error)
typeVmwareAdminHAControlPlaneConfig¶added inv0.133.0
type VmwareAdminHAControlPlaneConfig struct {// ControlPlaneIpBlock: Static IP addresses for the admin control plane nodes.ControlPlaneIpBlock *VmwareIpBlock `json:"controlPlaneIpBlock,omitempty"`// ForceSendFields is a list of field names (e.g. "ControlPlaneIpBlock") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "ControlPlaneIpBlock") to include// in API requests with the JSON null value. By default, fields with empty// values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}VmwareAdminHAControlPlaneConfig: Specifies HA admin control plane config.
func (VmwareAdminHAControlPlaneConfig)MarshalJSON¶added inv0.133.0
func (sVmwareAdminHAControlPlaneConfig) MarshalJSON() ([]byte,error)
typeVmwareAdminLoadBalancerConfig¶
type VmwareAdminLoadBalancerConfig struct {// F5Config: Configuration for F5 Big IP typed load balancers.F5Config *VmwareAdminF5BigIpConfig `json:"f5Config,omitempty"`// ManualLbConfig: Manually configured load balancers.ManualLbConfig *VmwareAdminManualLbConfig `json:"manualLbConfig,omitempty"`// MetalLbConfig: MetalLB load balancers.MetalLbConfig *VmwareAdminMetalLbConfig `json:"metalLbConfig,omitempty"`// SeesawConfig: Output only. Configuration for Seesaw typed load balancers.SeesawConfig *VmwareAdminSeesawConfig `json:"seesawConfig,omitempty"`// VipConfig: The VIPs used by the load balancer.VipConfig *VmwareAdminVipConfig `json:"vipConfig,omitempty"`// ForceSendFields is a list of field names (e.g. "F5Config") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "F5Config") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}VmwareAdminLoadBalancerConfig: VmwareAdminLoadBalancerConfig contains loadbalancer configuration for VMware admin cluster.
func (VmwareAdminLoadBalancerConfig)MarshalJSON¶
func (sVmwareAdminLoadBalancerConfig) MarshalJSON() ([]byte,error)
typeVmwareAdminManualLbConfig¶
type VmwareAdminManualLbConfig struct {// AddonsNodePort: NodePort for add-ons server in the admin cluster.AddonsNodePortint64 `json:"addonsNodePort,omitempty"`// ControlPlaneNodePort: NodePort for control plane service. The Kubernetes API// server in the admin cluster is implemented as a Service of type NodePort// (ex. 30968).ControlPlaneNodePortint64 `json:"controlPlaneNodePort,omitempty"`// IngressHttpNodePort: NodePort for ingress service's http. The ingress// service in the admin cluster is implemented as a Service of type NodePort// (ex. 32527).IngressHttpNodePortint64 `json:"ingressHttpNodePort,omitempty"`// IngressHttpsNodePort: NodePort for ingress service's https. The ingress// service in the admin cluster is implemented as a Service of type NodePort// (ex. 30139).IngressHttpsNodePortint64 `json:"ingressHttpsNodePort,omitempty"`// KonnectivityServerNodePort: NodePort for konnectivity server service running// as a sidecar in each kube-apiserver pod (ex. 30564).KonnectivityServerNodePortint64 `json:"konnectivityServerNodePort,omitempty"`// ForceSendFields is a list of field names (e.g. "AddonsNodePort") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AddonsNodePort") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}func (VmwareAdminManualLbConfig)MarshalJSON¶
func (sVmwareAdminManualLbConfig) MarshalJSON() ([]byte,error)
typeVmwareAdminMetalLbConfig¶
type VmwareAdminMetalLbConfig struct {// Enabled: Whether MetalLB is enabled.Enabledbool `json:"enabled,omitempty"`// ForceSendFields is a list of field names (e.g. "Enabled") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}VmwareAdminMetalLbConfig: VmwareAdminMetalLbConfig represents configurationparameters for a MetalLB load balancer. For admin clusters, currently noconfigurations is needed.
func (VmwareAdminMetalLbConfig)MarshalJSON¶added inv0.207.0
func (sVmwareAdminMetalLbConfig) MarshalJSON() ([]byte,error)
typeVmwareAdminNetworkConfig¶
type VmwareAdminNetworkConfig struct {// DhcpIpConfig: Configuration settings for a DHCP IP configuration.DhcpIpConfig *VmwareDhcpIpConfig `json:"dhcpIpConfig,omitempty"`// HaControlPlaneConfig: Configuration for HA admin cluster control plane.HaControlPlaneConfig *VmwareAdminHAControlPlaneConfig `json:"haControlPlaneConfig,omitempty"`// HostConfig: Represents common network settings irrespective of the host's IP// address.HostConfig *VmwareHostConfig `json:"hostConfig,omitempty"`// PodAddressCidrBlocks: Required. All pods in the cluster are assigned an// RFC1918 IPv4 address from these ranges. Only a single range is supported.// This field cannot be changed after creation.PodAddressCidrBlocks []string `json:"podAddressCidrBlocks,omitempty"`// ServiceAddressCidrBlocks: Required. All services in the cluster are assigned// an RFC1918 IPv4 address from these ranges. Only a single range is supported.// This field cannot be changed after creation.ServiceAddressCidrBlocks []string `json:"serviceAddressCidrBlocks,omitempty"`// StaticIpConfig: Configuration settings for a static IP configuration.StaticIpConfig *VmwareStaticIpConfig `json:"staticIpConfig,omitempty"`// VcenterNetwork: vcenter_network specifies vCenter network name.VcenterNetworkstring `json:"vcenterNetwork,omitempty"`// ForceSendFields is a list of field names (e.g. "DhcpIpConfig") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "DhcpIpConfig") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}VmwareAdminNetworkConfig: VmwareAdminNetworkConfig contains networkconfiguration for VMware admin cluster.
func (VmwareAdminNetworkConfig)MarshalJSON¶
func (sVmwareAdminNetworkConfig) MarshalJSON() ([]byte,error)
typeVmwareAdminPreparedSecretsConfig¶added inv0.148.0
type VmwareAdminPreparedSecretsConfig struct {// Enabled: Whether prepared secrets is enabled.Enabledbool `json:"enabled,omitempty"`// ForceSendFields is a list of field names (e.g. "Enabled") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}VmwareAdminPreparedSecretsConfig: VmwareAdminPreparedSecretsConfigrepresents configuration for admin cluster prepared secrets.
func (VmwareAdminPreparedSecretsConfig)MarshalJSON¶added inv0.148.0
func (sVmwareAdminPreparedSecretsConfig) MarshalJSON() ([]byte,error)
typeVmwareAdminPrivateRegistryConfig¶added inv0.235.0
type VmwareAdminPrivateRegistryConfig struct {// Address: The registry address.Addressstring `json:"address,omitempty"`// CaCert: When the container runtime pulls an image from private registry, the// registry must prove its identity by presenting a certificate. The registry's// certificate is signed by a certificate authority (CA). The container runtime// uses the CA's certificate to validate the registry's certificate.CaCertstring `json:"caCert,omitempty"`// ForceSendFields is a list of field names (e.g. "Address") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Address") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}VmwareAdminPrivateRegistryConfig: VmwareAdminPrivateRegistryConfigrepresents configuration for admin cluster registry.
func (VmwareAdminPrivateRegistryConfig)MarshalJSON¶added inv0.235.0
func (sVmwareAdminPrivateRegistryConfig) MarshalJSON() ([]byte,error)
typeVmwareAdminProxy¶added inv0.249.0
type VmwareAdminProxy struct {// NoProxy: A comma-separated list of IP addresses, IP address ranges, host// names, and domain names that should not go through the proxy server. When// Google Distributed Cloud sends a request to one of these addresses, hosts,// or domains, the request is sent directly.NoProxystring `json:"noProxy,omitempty"`// Url: The HTTP address of proxy server.Urlstring `json:"url,omitempty"`// ForceSendFields is a list of field names (e.g. "NoProxy") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "NoProxy") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}VmwareAdminProxy: VmwareAdminProxy represents configuration for admincluster proxy.
func (VmwareAdminProxy)MarshalJSON¶added inv0.249.0
func (sVmwareAdminProxy) MarshalJSON() ([]byte,error)
typeVmwareAdminSeesawConfig¶added inv0.133.0
type VmwareAdminSeesawConfig struct {// EnableHa: Enable two load balancer VMs to achieve a highly-available Seesaw// load balancer.EnableHabool `json:"enableHa,omitempty"`// Group: In general the following format should be used for the Seesaw group// name: seesaw-for-[cluster_name].Groupstring `json:"group,omitempty"`// IpBlocks: The IP Blocks to be used by the Seesaw load balancerIpBlocks []*VmwareIpBlock `json:"ipBlocks,omitempty"`// MasterIp: MasterIP is the IP announced by the master of Seesaw group.MasterIpstring `json:"masterIp,omitempty"`// StackdriverName: Name to be used by Stackdriver.StackdriverNamestring `json:"stackdriverName,omitempty"`// Vms: Names of the VMs created for this Seesaw group.Vms []string `json:"vms,omitempty"`// ForceSendFields is a list of field names (e.g. "EnableHa") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "EnableHa") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}VmwareAdminSeesawConfig: VmwareSeesawConfig represents configurationparameters for an already existing Seesaw load balancer. IMPORTANT: Pleasenote that the Anthos On-Prem API will not generate or update Seesawconfigurations it can only bind a pre-existing configuration to a new usercluster. IMPORTANT: When attempting to create a user cluster with apre-existing Seesaw load balancer you will need to follow some preparationsteps before calling the 'CreateVmwareCluster' API method. First you willneed to create the user cluster's namespace via kubectl. The namespace willneed to use the following naming convention : -gke-onprem-mgmt or-gke-onprem-mgmt depending on whether you used the'VmwareCluster.local_name' to disambiguate collisions; for more context seethe documentation of 'VmwareCluster.local_name'. Once the namespace iscreated you will need to create a secret resource via kubectl. This secretwill contain copies of your Seesaw credentials. The Secret must be called'user-cluster-creds' and contain Seesaw's SSH and Cert credentials. Thecredentials must be keyed with the following names:'seesaw-ssh-private-key', 'seesaw-ssh-public-key', 'seesaw-ssh-ca-key','seesaw-ssh-ca-cert'.
func (VmwareAdminSeesawConfig)MarshalJSON¶added inv0.133.0
func (sVmwareAdminSeesawConfig) MarshalJSON() ([]byte,error)
typeVmwareAdminVCenterConfig¶
type VmwareAdminVCenterConfig struct {// Address: The vCenter IP address.Addressstring `json:"address,omitempty"`// CaCertData: Contains the vCenter CA certificate public key for SSL// verification.CaCertDatastring `json:"caCertData,omitempty"`// Cluster: The name of the vCenter cluster for the admin cluster.Clusterstring `json:"cluster,omitempty"`// DataDisk: The name of the virtual machine disk (VMDK) for the admin cluster.DataDiskstring `json:"dataDisk,omitempty"`// Datacenter: The name of the vCenter datacenter for the admin cluster.Datacenterstring `json:"datacenter,omitempty"`// Datastore: The name of the vCenter datastore for the admin cluster.Datastorestring `json:"datastore,omitempty"`// Folder: The name of the vCenter folder for the admin cluster.Folderstring `json:"folder,omitempty"`// ResourcePool: The name of the vCenter resource pool for the admin cluster.ResourcePoolstring `json:"resourcePool,omitempty"`// StoragePolicyName: The name of the vCenter storage policy for the user// cluster.StoragePolicyNamestring `json:"storagePolicyName,omitempty"`// ForceSendFields is a list of field names (e.g. "Address") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Address") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}VmwareAdminVCenterConfig: VmwareAdminVCenterConfig contains VCenterconfiguration for VMware admin cluster.
func (VmwareAdminVCenterConfig)MarshalJSON¶
func (sVmwareAdminVCenterConfig) MarshalJSON() ([]byte,error)
typeVmwareAdminVipConfig¶
type VmwareAdminVipConfig struct {// AddonsVip: The VIP to configure the load balancer for add-ons.AddonsVipstring `json:"addonsVip,omitempty"`// ControlPlaneVip: The VIP which you previously set aside for the Kubernetes// API of the admin cluster.ControlPlaneVipstring `json:"controlPlaneVip,omitempty"`// ForceSendFields is a list of field names (e.g. "AddonsVip") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AddonsVip") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}VmwareAdminVipConfig: VmwareAdminVipConfig for VMware load balancerconfigurations.
func (VmwareAdminVipConfig)MarshalJSON¶
func (sVmwareAdminVipConfig) MarshalJSON() ([]byte,error)
typeVmwareAutoRepairConfig¶
type VmwareAutoRepairConfig struct {// Enabled: Whether auto repair is enabled.Enabledbool `json:"enabled,omitempty"`// ForceSendFields is a list of field names (e.g. "Enabled") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}VmwareAutoRepairConfig: Specifies config to enable/disable auto repair. Thecluster-health-controller is deployed only if Enabled is true.
func (VmwareAutoRepairConfig)MarshalJSON¶
func (sVmwareAutoRepairConfig) MarshalJSON() ([]byte,error)
typeVmwareAutoResizeConfig¶
type VmwareAutoResizeConfig struct {// Enabled: Whether to enable controle plane node auto resizing.Enabledbool `json:"enabled,omitempty"`// ForceSendFields is a list of field names (e.g. "Enabled") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}VmwareAutoResizeConfig: Represents auto resizing configurations for theVMware user cluster.
func (VmwareAutoResizeConfig)MarshalJSON¶
func (sVmwareAutoResizeConfig) MarshalJSON() ([]byte,error)
typeVmwareBundleConfig¶
type VmwareBundleConfig struct {// Status: Output only. Resource status for the bundle.Status *ResourceStatus `json:"status,omitempty"`// Version: The version of the bundle.Versionstring `json:"version,omitempty"`// ForceSendFields is a list of field names (e.g. "Status") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Status") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}VmwareBundleConfig: VmwareBundleConfig represents configuration for thebundle.
func (VmwareBundleConfig)MarshalJSON¶
func (sVmwareBundleConfig) MarshalJSON() ([]byte,error)
typeVmwareCluster¶
type VmwareCluster struct {// AdminClusterMembership: Required. The admin cluster this VMware user cluster// belongs to. This is the full resource name of the admin cluster's fleet// membership. In the future, references to other resource types might be// allowed if admin clusters are modeled as their own resources.AdminClusterMembershipstring `json:"adminClusterMembership,omitempty"`// AdminClusterName: Output only. The resource name of the VMware admin cluster// hosting this user cluster.AdminClusterNamestring `json:"adminClusterName,omitempty"`// Annotations: Annotations on the VMware user cluster. This field has the same// restrictions as Kubernetes annotations. The total size of all keys and// values combined is limited to 256k. Key can have 2 segments: prefix// (optional) and name (required), separated by a slash (/). Prefix must be a// DNS subdomain. Name must be 63 characters or less, begin and end with// alphanumerics, with dashes (-), underscores (_), dots (.), and alphanumerics// between.Annotations map[string]string `json:"annotations,omitempty"`// AntiAffinityGroups: AAGConfig specifies whether to spread VMware user// cluster nodes across at least three physical hosts in the datacenter.AntiAffinityGroups *VmwareAAGConfig `json:"antiAffinityGroups,omitempty"`// Authorization: RBAC policy that will be applied and managed by the Anthos// On-Prem API.Authorization *Authorization `json:"authorization,omitempty"`// AutoRepairConfig: Configuration for auto repairing.AutoRepairConfig *VmwareAutoRepairConfig `json:"autoRepairConfig,omitempty"`// BinaryAuthorization: Binary Authorization related configurations.BinaryAuthorization *BinaryAuthorization `json:"binaryAuthorization,omitempty"`// ControlPlaneNode: VMware user cluster control plane nodes must have either 1// or 3 replicas.ControlPlaneNode *VmwareControlPlaneNodeConfig `json:"controlPlaneNode,omitempty"`// CreateTime: Output only. The time at which VMware user cluster was created.CreateTimestring `json:"createTime,omitempty"`// DataplaneV2: VmwareDataplaneV2Config specifies configuration for Dataplane// V2.DataplaneV2 *VmwareDataplaneV2Config `json:"dataplaneV2,omitempty"`// DeleteTime: Output only. The time at which VMware user cluster was deleted.DeleteTimestring `json:"deleteTime,omitempty"`// Description: A human readable description of this VMware user cluster.Descriptionstring `json:"description,omitempty"`// DisableBundledIngress: Disable bundled ingress.DisableBundledIngressbool `json:"disableBundledIngress,omitempty"`// EnableAdvancedCluster: Enable advanced cluster.EnableAdvancedClusterbool `json:"enableAdvancedCluster,omitempty"`// EnableControlPlaneV2: Enable control plane V2. Default to false.EnableControlPlaneV2bool `json:"enableControlPlaneV2,omitempty"`// Endpoint: Output only. The DNS name of VMware user cluster's API server.Endpointstring `json:"endpoint,omitempty"`// Etag: This checksum is computed by the server based on the value of other// fields, and may be sent on update and delete requests to ensure the client// has an up-to-date value before proceeding. Allows clients to perform// consistent read-modify-writes through optimistic concurrency control.Etagstring `json:"etag,omitempty"`// Fleet: Output only. Fleet configuration for the cluster.Fleet *Fleet `json:"fleet,omitempty"`// LoadBalancer: Load balancer configuration.LoadBalancer *VmwareLoadBalancerConfig `json:"loadBalancer,omitempty"`// LocalName: Output only. The object name of the VMware OnPremUserCluster// custom resource on the associated admin cluster. This field is used to// support conflicting names when enrolling existing clusters to the API. When// used as a part of cluster enrollment, this field will differ from the ID in// the resource name. For new clusters, this field will match the user provided// cluster name and be visible in the last component of the resource name. It// is not modifiable. All users should use this name to access their cluster// using gkectl or kubectl and should expect to see the local name when viewing// admin cluster controller logs.LocalNamestring `json:"localName,omitempty"`// Name: Immutable. The VMware user cluster resource name.Namestring `json:"name,omitempty"`// NetworkConfig: The VMware user cluster network configuration.NetworkConfig *VmwareNetworkConfig `json:"networkConfig,omitempty"`// OnPremVersion: Required. The Anthos clusters on the VMware version for your// user cluster.OnPremVersionstring `json:"onPremVersion,omitempty"`// Reconciling: Output only. If set, there are currently changes in flight to// the VMware user cluster.Reconcilingbool `json:"reconciling,omitempty"`// State: Output only. The current state of VMware user cluster.//// Possible values:// "STATE_UNSPECIFIED" - Not set.// "PROVISIONING" - The PROVISIONING state indicates the cluster is being// created.// "RUNNING" - The RUNNING state indicates the cluster has been created and// is fully usable.// "RECONCILING" - The RECONCILING state indicates that the cluster is being// updated. It remains available, but potentially with degraded performance.// "STOPPING" - The STOPPING state indicates the cluster is being deleted.// "ERROR" - The ERROR state indicates the cluster is in a broken// unrecoverable state.// "DEGRADED" - The DEGRADED state indicates the cluster requires user action// to restore full functionality.Statestring `json:"state,omitempty"`// Status: Output only. ResourceStatus representing detailed cluster state.Status *ResourceStatus `json:"status,omitempty"`// Storage: Storage configuration.Storage *VmwareStorageConfig `json:"storage,omitempty"`// Uid: Output only. The unique identifier of the VMware user cluster.Uidstring `json:"uid,omitempty"`// UpdateTime: Output only. The time at which VMware user cluster was last// updated.UpdateTimestring `json:"updateTime,omitempty"`// UpgradePolicy: Specifies upgrade policy for the cluster.UpgradePolicy *VmwareClusterUpgradePolicy `json:"upgradePolicy,omitempty"`// ValidationCheck: Output only. ValidationCheck represents the result of the// preflight check job.ValidationCheck *ValidationCheck `json:"validationCheck,omitempty"`// Vcenter: VmwareVCenterConfig specifies vCenter config for the user cluster.// If unspecified, it is inherited from the admin cluster.Vcenter *VmwareVCenterConfig `json:"vcenter,omitempty"`// VmTrackingEnabled: Enable VM tracking.VmTrackingEnabledbool `json:"vmTrackingEnabled,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "AdminClusterMembership") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AdminClusterMembership") to// include in API requests with the JSON null value. By default, fields with// empty values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}VmwareCluster: Resource that represents a VMware user cluster. ##
func (VmwareCluster)MarshalJSON¶
func (sVmwareCluster) MarshalJSON() ([]byte,error)
typeVmwareClusterUpgradePolicy¶added inv0.139.0
type VmwareClusterUpgradePolicy struct {// ControlPlaneOnly: Controls whether the upgrade applies to the control plane// only.ControlPlaneOnlybool `json:"controlPlaneOnly,omitempty"`// ForceSendFields is a list of field names (e.g. "ControlPlaneOnly") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "ControlPlaneOnly") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}VmwareClusterUpgradePolicy: VmwareClusterUpgradePolicy defines the clusterupgrade policy.
func (VmwareClusterUpgradePolicy)MarshalJSON¶added inv0.139.0
func (sVmwareClusterUpgradePolicy) MarshalJSON() ([]byte,error)
typeVmwareControlPlaneNodeConfig¶
type VmwareControlPlaneNodeConfig struct {// AutoResizeConfig: AutoResizeConfig provides auto resizing configurations.AutoResizeConfig *VmwareAutoResizeConfig `json:"autoResizeConfig,omitempty"`// Cpus: The number of CPUs for each admin cluster node that serve as control// planes for this VMware user cluster. (default: 4 CPUs)Cpusint64 `json:"cpus,omitempty,string"`// Memory: The megabytes of memory for each admin cluster node that serves as a// control plane for this VMware user cluster (default: 8192 MB memory).Memoryint64 `json:"memory,omitempty,string"`// Replicas: The number of control plane nodes for this VMware user cluster.// (default: 1 replica).Replicasint64 `json:"replicas,omitempty,string"`// VsphereConfig: Vsphere-specific config.VsphereConfig *VmwareControlPlaneVsphereConfig `json:"vsphereConfig,omitempty"`// ForceSendFields is a list of field names (e.g. "AutoResizeConfig") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AutoResizeConfig") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}VmwareControlPlaneNodeConfig: Specifies control plane node config for theVMware user cluster.
func (VmwareControlPlaneNodeConfig)MarshalJSON¶
func (sVmwareControlPlaneNodeConfig) MarshalJSON() ([]byte,error)
typeVmwareControlPlaneV2Config¶
type VmwareControlPlaneV2Config struct {// ControlPlaneIpBlock: Static IP addresses for the control plane nodes.ControlPlaneIpBlock *VmwareIpBlock `json:"controlPlaneIpBlock,omitempty"`// ForceSendFields is a list of field names (e.g. "ControlPlaneIpBlock") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "ControlPlaneIpBlock") to include// in API requests with the JSON null value. By default, fields with empty// values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}VmwareControlPlaneV2Config: Specifies control plane V2 config.
func (VmwareControlPlaneV2Config)MarshalJSON¶
func (sVmwareControlPlaneV2Config) MarshalJSON() ([]byte,error)
typeVmwareControlPlaneVsphereConfig¶
type VmwareControlPlaneVsphereConfig struct {// Datastore: The Vsphere datastore used by the control plane Node.Datastorestring `json:"datastore,omitempty"`// StoragePolicyName: The Vsphere storage policy used by the control plane// Node.StoragePolicyNamestring `json:"storagePolicyName,omitempty"`// ForceSendFields is a list of field names (e.g. "Datastore") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Datastore") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}VmwareControlPlaneVsphereConfig: Specifies control plane node config.
func (VmwareControlPlaneVsphereConfig)MarshalJSON¶
func (sVmwareControlPlaneVsphereConfig) MarshalJSON() ([]byte,error)
typeVmwareDataplaneV2Config¶
type VmwareDataplaneV2Config struct {// AdvancedNetworking: Enable advanced networking which requires// dataplane_v2_enabled to be set true.AdvancedNetworkingbool `json:"advancedNetworking,omitempty"`// DataplaneV2Enabled: Enables Dataplane V2.DataplaneV2Enabledbool `json:"dataplaneV2Enabled,omitempty"`// ForwardMode: Configure ForwardMode for Dataplane v2.ForwardModestring `json:"forwardMode,omitempty"`// WindowsDataplaneV2Enabled: Enable Dataplane V2 for clusters with Windows// nodes.WindowsDataplaneV2Enabledbool `json:"windowsDataplaneV2Enabled,omitempty"`// ForceSendFields is a list of field names (e.g. "AdvancedNetworking") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AdvancedNetworking") to include// in API requests with the JSON null value. By default, fields with empty// values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}VmwareDataplaneV2Config: Contains configurations for Dataplane V2, which isoptimized dataplane for Kubernetes networking. For more information, see:https://cloud.google.com/kubernetes-engine/docs/concepts/dataplane-v2
func (VmwareDataplaneV2Config)MarshalJSON¶
func (sVmwareDataplaneV2Config) MarshalJSON() ([]byte,error)
typeVmwareDhcpIpConfig¶
type VmwareDhcpIpConfig struct {// Enabled: enabled is a flag to mark if DHCP IP allocation is used for VMware// user clusters.Enabledbool `json:"enabled,omitempty"`// ForceSendFields is a list of field names (e.g. "Enabled") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}VmwareDhcpIpConfig: Represents the network configuration required for theVMware user clusters with DHCP IP configurations.
func (VmwareDhcpIpConfig)MarshalJSON¶
func (sVmwareDhcpIpConfig) MarshalJSON() ([]byte,error)
typeVmwareF5BigIpConfig¶
type VmwareF5BigIpConfig struct {// Address: The load balancer's IP address.Addressstring `json:"address,omitempty"`// Partition: The preexisting partition to be used by the load balancer. This// partition is usually created for the admin cluster for example:// 'my-f5-admin-partition'.Partitionstring `json:"partition,omitempty"`// SnatPool: The pool name. Only necessary, if using SNAT.SnatPoolstring `json:"snatPool,omitempty"`// ForceSendFields is a list of field names (e.g. "Address") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Address") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}VmwareF5BigIpConfig: Represents configuration parameters for an F5 BIG-IPload balancer.
func (VmwareF5BigIpConfig)MarshalJSON¶
func (sVmwareF5BigIpConfig) MarshalJSON() ([]byte,error)
typeVmwareHostConfig¶
type VmwareHostConfig struct {// DnsSearchDomains: DNS search domains.DnsSearchDomains []string `json:"dnsSearchDomains,omitempty"`// DnsServers: DNS servers.DnsServers []string `json:"dnsServers,omitempty"`// NtpServers: NTP servers.NtpServers []string `json:"ntpServers,omitempty"`// ForceSendFields is a list of field names (e.g. "DnsSearchDomains") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "DnsSearchDomains") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}VmwareHostConfig: Represents the common parameters for all the hostsirrespective of their IP address.
func (VmwareHostConfig)MarshalJSON¶
func (sVmwareHostConfig) MarshalJSON() ([]byte,error)
typeVmwareHostIp¶
type VmwareHostIp struct {// Hostname: Hostname of the machine. VM's name will be used if this field is// empty.Hostnamestring `json:"hostname,omitempty"`// Ip: IP could be an IP address (like 1.2.3.4) or a CIDR (like 1.2.3.0/24).Ipstring `json:"ip,omitempty"`// ForceSendFields is a list of field names (e.g. "Hostname") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Hostname") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}VmwareHostIp: Represents VMware user cluster node's network configuration.
func (VmwareHostIp)MarshalJSON¶
func (sVmwareHostIp) MarshalJSON() ([]byte,error)
typeVmwareIpBlock¶
type VmwareIpBlock struct {// Gateway: The network gateway used by the VMware user cluster.Gatewaystring `json:"gateway,omitempty"`// Ips: The node's network configurations used by the VMware user cluster.Ips []*VmwareHostIp `json:"ips,omitempty"`// Netmask: The netmask used by the VMware user cluster.Netmaskstring `json:"netmask,omitempty"`// ForceSendFields is a list of field names (e.g. "Gateway") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Gateway") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}VmwareIpBlock: Represents a collection of IP addresses to assign to nodes.
func (VmwareIpBlock)MarshalJSON¶
func (sVmwareIpBlock) MarshalJSON() ([]byte,error)
typeVmwareLoadBalancerConfig¶
type VmwareLoadBalancerConfig struct {// F5Config: Configuration for F5 Big IP typed load balancers.F5Config *VmwareF5BigIpConfig `json:"f5Config,omitempty"`// ManualLbConfig: Manually configured load balancers.ManualLbConfig *VmwareManualLbConfig `json:"manualLbConfig,omitempty"`// MetalLbConfig: Configuration for MetalLB typed load balancers.MetalLbConfig *VmwareMetalLbConfig `json:"metalLbConfig,omitempty"`// SeesawConfig: Output only. Configuration for Seesaw typed load balancers.SeesawConfig *VmwareSeesawConfig `json:"seesawConfig,omitempty"`// VipConfig: The VIPs used by the load balancer.VipConfig *VmwareVipConfig `json:"vipConfig,omitempty"`// ForceSendFields is a list of field names (e.g. "F5Config") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "F5Config") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}VmwareLoadBalancerConfig: Specifies the locad balancer config for the VMwareuser cluster.
func (VmwareLoadBalancerConfig)MarshalJSON¶
func (sVmwareLoadBalancerConfig) MarshalJSON() ([]byte,error)
typeVmwareManualLbConfig¶
type VmwareManualLbConfig struct {// ControlPlaneNodePort: NodePort for control plane service. The Kubernetes API// server in the admin cluster is implemented as a Service of type NodePort// (ex. 30968).ControlPlaneNodePortint64 `json:"controlPlaneNodePort,omitempty"`// IngressHttpNodePort: NodePort for ingress service's http. The ingress// service in the admin cluster is implemented as a Service of type NodePort// (ex. 32527).IngressHttpNodePortint64 `json:"ingressHttpNodePort,omitempty"`// IngressHttpsNodePort: NodePort for ingress service's https. The ingress// service in the admin cluster is implemented as a Service of type NodePort// (ex. 30139).IngressHttpsNodePortint64 `json:"ingressHttpsNodePort,omitempty"`// KonnectivityServerNodePort: NodePort for konnectivity server service running// as a sidecar in each kube-apiserver pod (ex. 30564).KonnectivityServerNodePortint64 `json:"konnectivityServerNodePort,omitempty"`// ForceSendFields is a list of field names (e.g. "ControlPlaneNodePort") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "ControlPlaneNodePort") to include// in API requests with the JSON null value. By default, fields with empty// values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}VmwareManualLbConfig: Represents configuration parameters for an alreadyexisting manual load balancer. Given the nature of manual load balancers itis expected that said load balancer will be fully managed by users.IMPORTANT: Please note that the Anthos On-Prem API will not generate orupdate ManualLB configurations it can only bind a pre-existing configurationto a new VMware user cluster.
func (VmwareManualLbConfig)MarshalJSON¶
func (sVmwareManualLbConfig) MarshalJSON() ([]byte,error)
typeVmwareMetalLbConfig¶
type VmwareMetalLbConfig struct {// AddressPools: Required. AddressPools is a list of non-overlapping IP pools// used by load balancer typed services. All addresses must be routable to load// balancer nodes. IngressVIP must be included in the pools.AddressPools []*VmwareAddressPool `json:"addressPools,omitempty"`// ForceSendFields is a list of field names (e.g. "AddressPools") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AddressPools") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}VmwareMetalLbConfig: Represents configuration parameters for the MetalLBload balancer.
func (VmwareMetalLbConfig)MarshalJSON¶
func (sVmwareMetalLbConfig) MarshalJSON() ([]byte,error)
typeVmwareNetworkConfig¶
type VmwareNetworkConfig struct {// ControlPlaneV2Config: Configuration for control plane V2 mode.ControlPlaneV2Config *VmwareControlPlaneV2Config `json:"controlPlaneV2Config,omitempty"`// DhcpIpConfig: Configuration settings for a DHCP IP configuration.DhcpIpConfig *VmwareDhcpIpConfig `json:"dhcpIpConfig,omitempty"`// HostConfig: Represents common network settings irrespective of the host's IP// address.HostConfig *VmwareHostConfig `json:"hostConfig,omitempty"`// PodAddressCidrBlocks: Required. All pods in the cluster are assigned an// RFC1918 IPv4 address from these ranges. Only a single range is supported.// This field cannot be changed after creation.PodAddressCidrBlocks []string `json:"podAddressCidrBlocks,omitempty"`// ServiceAddressCidrBlocks: Required. All services in the cluster are assigned// an RFC1918 IPv4 address from these ranges. Only a single range is supported.// This field cannot be changed after creation.ServiceAddressCidrBlocks []string `json:"serviceAddressCidrBlocks,omitempty"`// StaticIpConfig: Configuration settings for a static IP configuration.StaticIpConfig *VmwareStaticIpConfig `json:"staticIpConfig,omitempty"`// VcenterNetwork: vcenter_network specifies vCenter network name. Inherited// from the admin cluster.VcenterNetworkstring `json:"vcenterNetwork,omitempty"`// ForceSendFields is a list of field names (e.g. "ControlPlaneV2Config") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "ControlPlaneV2Config") to include// in API requests with the JSON null value. By default, fields with empty// values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}VmwareNetworkConfig: Specifies network config for the VMware user cluster.
func (VmwareNetworkConfig)MarshalJSON¶
func (sVmwareNetworkConfig) MarshalJSON() ([]byte,error)
typeVmwareNodeConfig¶
type VmwareNodeConfig struct {// BootDiskSizeGb: VMware disk size to be used during creation.BootDiskSizeGbint64 `json:"bootDiskSizeGb,omitempty,string"`// Cpus: The number of CPUs for each node in the node pool.Cpusint64 `json:"cpus,omitempty,string"`// EnableLoadBalancer: Allow node pool traffic to be load balanced. Only works// for clusters with MetalLB load balancers.EnableLoadBalancerbool `json:"enableLoadBalancer,omitempty"`// Image: The OS image name in vCenter, only valid when using Windows.Imagestring `json:"image,omitempty"`// ImageType: Required. The OS image to be used for each node in a node pool.// Currently `cos`, `cos_cgv2`, `ubuntu`, `ubuntu_cgv2`, `ubuntu_containerd`// and `windows` are supported.ImageTypestring `json:"imageType,omitempty"`// Labels: The map of Kubernetes labels (key/value pairs) to be applied to each// node. These will added in addition to any default label(s) that Kubernetes// may apply to the node. In case of conflict in label keys, the applied set// may differ depending on the Kubernetes version -- it's best to assume the// behavior is undefined and conflicts should be avoided. For more information,// including usage and the valid values, see://https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/Labels map[string]string `json:"labels,omitempty"`// MemoryMb: The megabytes of memory for each node in the node pool.MemoryMbint64 `json:"memoryMb,omitempty,string"`// Replicas: The number of nodes in the node pool.Replicasint64 `json:"replicas,omitempty,string"`// Taints: The initial taints assigned to nodes of this node pool.Taints []*NodeTaint `json:"taints,omitempty"`// VsphereConfig: Specifies the vSphere config for node pool.VsphereConfig *VmwareVsphereConfig `json:"vsphereConfig,omitempty"`// ForceSendFields is a list of field names (e.g. "BootDiskSizeGb") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "BootDiskSizeGb") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}VmwareNodeConfig: Parameters that describe the configuration of all nodeswithin a given node pool.
func (VmwareNodeConfig)MarshalJSON¶
func (sVmwareNodeConfig) MarshalJSON() ([]byte,error)
typeVmwareNodePool¶
type VmwareNodePool struct {// Annotations: Annotations on the node pool. This field has the same// restrictions as Kubernetes annotations. The total size of all keys and// values combined is limited to 256k. Key can have 2 segments: prefix// (optional) and name (required), separated by a slash (/). Prefix must be a// DNS subdomain. Name must be 63 characters or less, begin and end with// alphanumerics, with dashes (-), underscores (_), dots (.), and alphanumerics// between.Annotations map[string]string `json:"annotations,omitempty"`// Config: Required. The node configuration of the node pool.Config *VmwareNodeConfig `json:"config,omitempty"`// CreateTime: Output only. The time at which this node pool was created.CreateTimestring `json:"createTime,omitempty"`// DeleteTime: Output only. The time at which this node pool was deleted. If// the resource is not deleted, this must be emptyDeleteTimestring `json:"deleteTime,omitempty"`// DisplayName: The display name for the node pool.DisplayNamestring `json:"displayName,omitempty"`// Etag: This checksum is computed by the server based on the value of other// fields, and may be sent on update and delete requests to ensure the client// has an up-to-date value before proceeding. Allows clients to perform// consistent read-modify-writes through optimistic concurrency control.Etagstring `json:"etag,omitempty"`// Name: Immutable. The resource name of this node pool.Namestring `json:"name,omitempty"`// NodePoolAutoscaling: Node pool autoscaling config for the node pool.NodePoolAutoscaling *VmwareNodePoolAutoscalingConfig `json:"nodePoolAutoscaling,omitempty"`// OnPremVersion: Anthos version for the node pool. Defaults to the user// cluster version.OnPremVersionstring `json:"onPremVersion,omitempty"`// Reconciling: Output only. If set, there are currently changes in flight to// the node pool.Reconcilingbool `json:"reconciling,omitempty"`// State: Output only. The current state of the node pool.//// Possible values:// "STATE_UNSPECIFIED" - Not set.// "PROVISIONING" - The PROVISIONING state indicates the node pool is being// created.// "RUNNING" - The RUNNING state indicates the node pool has been created and// is fully usable.// "RECONCILING" - The RECONCILING state indicates that the node pool is// being updated. It remains available, but potentially with degraded// performance.// "STOPPING" - The STOPPING state indicates the cluster is being deleted// "ERROR" - The ERROR state indicates the node pool is in a broken// unrecoverable state.// "DEGRADED" - The DEGRADED state indicates the node pool requires user// action to restore full functionality.Statestring `json:"state,omitempty"`// Status: Output only. ResourceStatus representing the detailed VMware node// pool state.Status *ResourceStatus `json:"status,omitempty"`// Uid: Output only. The unique identifier of the node pool.Uidstring `json:"uid,omitempty"`// UpdateTime: Output only. The time at which this node pool was last updated.UpdateTimestring `json:"updateTime,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "Annotations") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Annotations") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}VmwareNodePool: Resource VmwareNodePool represents a VMware node pool. ##
func (VmwareNodePool)MarshalJSON¶
func (sVmwareNodePool) MarshalJSON() ([]byte,error)
typeVmwareNodePoolAutoscalingConfig¶
type VmwareNodePoolAutoscalingConfig struct {// MaxReplicas: Maximum number of replicas in the NodePool.MaxReplicasint64 `json:"maxReplicas,omitempty"`// MinReplicas: Minimum number of replicas in the NodePool.MinReplicasint64 `json:"minReplicas,omitempty"`// ForceSendFields is a list of field names (e.g. "MaxReplicas") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "MaxReplicas") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}VmwareNodePoolAutoscalingConfig: NodePoolAutoscaling config for the NodePoolto allow for the kubernetes to scale NodePool.
func (VmwareNodePoolAutoscalingConfig)MarshalJSON¶
func (sVmwareNodePoolAutoscalingConfig) MarshalJSON() ([]byte,error)
typeVmwarePlatformConfig¶
type VmwarePlatformConfig struct {// Bundles: Output only. The list of bundles installed in the admin cluster.Bundles []*VmwareBundleConfig `json:"bundles,omitempty"`// PlatformVersion: Output only. The platform version e.g. 1.13.2.PlatformVersionstring `json:"platformVersion,omitempty"`// RequiredPlatformVersion: Input only. The required platform version e.g.// 1.13.1. If the current platform version is lower than the target version,// the platform version will be updated to the target version. If the target// version is not installed in the platform (bundle versions), download the// target version bundle.RequiredPlatformVersionstring `json:"requiredPlatformVersion,omitempty"`// Status: Output only. Resource status for the platform.Status *ResourceStatus `json:"status,omitempty"`// ForceSendFields is a list of field names (e.g. "Bundles") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Bundles") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}VmwarePlatformConfig: VmwarePlatformConfig represents configuration for theVMware platform.
func (VmwarePlatformConfig)MarshalJSON¶
func (sVmwarePlatformConfig) MarshalJSON() ([]byte,error)
typeVmwareSeesawConfig¶added inv0.139.0
type VmwareSeesawConfig struct {// EnableHa: Enable two load balancer VMs to achieve a highly-available Seesaw// load balancer.EnableHabool `json:"enableHa,omitempty"`// Group: Required. In general the following format should be used for the// Seesaw group name: seesaw-for-[cluster_name].Groupstring `json:"group,omitempty"`// IpBlocks: Required. The IP Blocks to be used by the Seesaw load balancerIpBlocks []*VmwareIpBlock `json:"ipBlocks,omitempty"`// MasterIp: Required. MasterIP is the IP announced by the master of Seesaw// group.MasterIpstring `json:"masterIp,omitempty"`// StackdriverName: Name to be used by Stackdriver.StackdriverNamestring `json:"stackdriverName,omitempty"`// Vms: Names of the VMs created for this Seesaw group.Vms []string `json:"vms,omitempty"`// ForceSendFields is a list of field names (e.g. "EnableHa") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "EnableHa") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}VmwareSeesawConfig: VmwareSeesawConfig represents configuration parametersfor an already existing Seesaw load balancer. IMPORTANT: Please note thatthe Anthos On-Prem API will not generate or update Seesaw configurations itcan only bind a pre-existing configuration to a new user cluster. IMPORTANT:When attempting to create a user cluster with a pre-existing Seesaw loadbalancer you will need to follow some preparation steps before calling the'CreateVmwareCluster' API method. First you will need to create the usercluster's namespace via kubectl. The namespace will need to use thefollowing naming convention : -gke-onprem-mgmt or -gke-onprem-mgmt dependingon whether you used the 'VmwareCluster.local_name' to disambiguatecollisions; for more context see the documentation of'VmwareCluster.local_name'. Once the namespace is created you will need tocreate a secret resource via kubectl. This secret will contain copies ofyour Seesaw credentials. The Secret must be called 'user-cluster-creds' andcontain Seesaw's SSH and Cert credentials. The credentials must be keyedwith the following names: 'seesaw-ssh-private-key', 'seesaw-ssh-public-key','seesaw-ssh-ca-key', 'seesaw-ssh-ca-cert'.
func (VmwareSeesawConfig)MarshalJSON¶added inv0.139.0
func (sVmwareSeesawConfig) MarshalJSON() ([]byte,error)
typeVmwareStaticIpConfig¶
type VmwareStaticIpConfig struct {// IpBlocks: Represents the configuration values for static IP allocation to// nodes.IpBlocks []*VmwareIpBlock `json:"ipBlocks,omitempty"`// ForceSendFields is a list of field names (e.g. "IpBlocks") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "IpBlocks") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}VmwareStaticIpConfig: Represents the network configuration required for theVMware user clusters with Static IP configurations.
func (VmwareStaticIpConfig)MarshalJSON¶
func (sVmwareStaticIpConfig) MarshalJSON() ([]byte,error)
typeVmwareStorageConfig¶
type VmwareStorageConfig struct {// VsphereCsiDisabled: Whether or not to deploy vSphere CSI components in the// VMware user cluster. Enabled by default.VsphereCsiDisabledbool `json:"vsphereCsiDisabled,omitempty"`// ForceSendFields is a list of field names (e.g. "VsphereCsiDisabled") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "VsphereCsiDisabled") to include// in API requests with the JSON null value. By default, fields with empty// values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}VmwareStorageConfig: Specifies vSphere CSI components deployment config inthe VMware user cluster.
func (VmwareStorageConfig)MarshalJSON¶
func (sVmwareStorageConfig) MarshalJSON() ([]byte,error)
typeVmwareVCenterConfig¶
type VmwareVCenterConfig struct {// Address: Output only. The vCenter IP address.Addressstring `json:"address,omitempty"`// CaCertData: Contains the vCenter CA certificate public key for SSL// verification.CaCertDatastring `json:"caCertData,omitempty"`// Cluster: The name of the vCenter cluster for the user cluster.Clusterstring `json:"cluster,omitempty"`// Datacenter: The name of the vCenter datacenter for the user cluster.Datacenterstring `json:"datacenter,omitempty"`// Datastore: The name of the vCenter datastore for the user cluster.Datastorestring `json:"datastore,omitempty"`// Folder: The name of the vCenter folder for the user cluster.Folderstring `json:"folder,omitempty"`// ResourcePool: The name of the vCenter resource pool for the user cluster.ResourcePoolstring `json:"resourcePool,omitempty"`// StoragePolicyName: The name of the vCenter storage policy for the user// cluster.StoragePolicyNamestring `json:"storagePolicyName,omitempty"`// ForceSendFields is a list of field names (e.g. "Address") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Address") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}VmwareVCenterConfig: Represents configuration for the VMware VCenter for theuser cluster.
func (VmwareVCenterConfig)MarshalJSON¶
func (sVmwareVCenterConfig) MarshalJSON() ([]byte,error)
typeVmwareVersionInfo¶
type VmwareVersionInfo struct {// Dependencies: The list of upgrade dependencies for this version.Dependencies []*UpgradeDependency `json:"dependencies,omitempty"`// HasDependencies: If set, the cluster dependencies (e.g. the admin cluster,// other user clusters managed by the same admin cluster) must be upgraded// before this version can be installed or upgraded to.HasDependenciesbool `json:"hasDependencies,omitempty"`// IsInstalled: If set, the version is installed in the admin cluster.// Otherwise, the version bundle must be downloaded and installed before a user// cluster can be created at or upgraded to this version.IsInstalledbool `json:"isInstalled,omitempty"`// Version: Version number e.g. 1.13.1-gke.1000.Versionstring `json:"version,omitempty"`// ForceSendFields is a list of field names (e.g. "Dependencies") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Dependencies") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}VmwareVersionInfo: Contains information about a specific Anthos on VMwareversion.
func (VmwareVersionInfo)MarshalJSON¶
func (sVmwareVersionInfo) MarshalJSON() ([]byte,error)
typeVmwareVipConfig¶
type VmwareVipConfig struct {// ControlPlaneVip: The VIP which you previously set aside for the Kubernetes// API of this cluster.ControlPlaneVipstring `json:"controlPlaneVip,omitempty"`// IngressVip: The VIP which you previously set aside for ingress traffic into// this cluster.IngressVipstring `json:"ingressVip,omitempty"`// ForceSendFields is a list of field names (e.g. "ControlPlaneVip") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "ControlPlaneVip") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}VmwareVipConfig: Specifies the VIP config for the VMware user cluster loadbalancer.
func (VmwareVipConfig)MarshalJSON¶
func (sVmwareVipConfig) MarshalJSON() ([]byte,error)
typeVmwareVsphereConfig¶
type VmwareVsphereConfig struct {// Datastore: The name of the vCenter datastore. Inherited from the user// cluster.Datastorestring `json:"datastore,omitempty"`// HostGroups: Vsphere host groups to apply to all VMs in the node poolHostGroups []string `json:"hostGroups,omitempty"`// Tags: Tags to apply to VMs.Tags []*VmwareVsphereTag `json:"tags,omitempty"`// ForceSendFields is a list of field names (e.g. "Datastore") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Datastore") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}VmwareVsphereConfig: VmwareVsphereConfig represents configuration for theVMware VCenter for node pool.
func (VmwareVsphereConfig)MarshalJSON¶
func (sVmwareVsphereConfig) MarshalJSON() ([]byte,error)
typeVmwareVsphereTag¶
type VmwareVsphereTag struct {// Category: The Vsphere tag category.Categorystring `json:"category,omitempty"`// Tag: The Vsphere tag name.Tagstring `json:"tag,omitempty"`// ForceSendFields is a list of field names (e.g. "Category") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Category") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}VmwareVsphereTag: VmwareVsphereTag describes a vSphere tag to be placed onVMs in the node pool. For more information, seehttps://docs.vmware.com/en/VMware-vSphere/7.0/com.vmware.vsphere.vcenterhost.doc/GUID-E8E854DD-AA97-4E0C-8419-CE84F93C4058.html
func (VmwareVsphereTag)MarshalJSON¶
func (sVmwareVsphereTag) MarshalJSON() ([]byte,error)