Movatterモバイル変換


[0]ホーム

URL:


gkeonprem

package
v0.257.0Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 2, 2025 License:BSD-3-ClauseImports:18Imported by:0

Details

Repository

github.com/googleapis/google-api-go-client

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

View Source
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)

typeBareMetalAdminBgpLbConfigadded 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)MarshalJSONadded inv0.257.0

func (sBareMetalAdminBgpLbConfig) MarshalJSON() ([]byte,error)

typeBareMetalAdminBgpPeerConfigadded 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)MarshalJSONadded 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

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

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

typeBareMetalAdminLoadBalancerAddressPooladded 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)MarshalJSONadded inv0.257.0

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)

typeBareMetalAdminLoadBalancerNodePoolConfigadded 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)MarshalJSONadded inv0.257.0

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)

typeBareMetalAdminMultipleNetworkInterfacesConfigadded 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)MarshalJSONadded inv0.257.0

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)

typeBareMetalClusterUpgradePolicyadded 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)MarshalJSONadded 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

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

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

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)

typeBareMetalNodePoolUpgradePolicyadded 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)MarshalJSONadded 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)

typeBareMetalParallelUpgradeConfigadded 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)MarshalJSONadded 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)

typeBinaryAuthorizationadded 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)MarshalJSONadded 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

func (sBinding) MarshalJSON() ([]byte,error)

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

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

func (sExpr) MarshalJSON() ([]byte,error)

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

func (sFleet) MarshalJSON() ([]byte,error)

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

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

func (sLocation) MarshalJSON() ([]byte,error)

typeMetricadded 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)MarshalJSONadded inv0.130.0

func (sMetric) MarshalJSON() ([]byte,error)

func (*Metric)UnmarshalJSONadded inv0.130.0

func (s *Metric) UnmarshalJSON(data []byte)error

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

func (sNodeTaint) MarshalJSON() ([]byte,error)

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

func (sOperation) MarshalJSON() ([]byte,error)

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)

typeOperationProgressadded 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)MarshalJSONadded inv0.130.0

func (sOperationProgress) MarshalJSON() ([]byte,error)

typeOperationStageadded 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)MarshalJSONadded 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

func (sPolicy) MarshalJSON() ([]byte,error)

typeProjectsLocationsBareMetalAdminClustersCreateCall

type ProjectsLocationsBareMetalAdminClustersCreateCall struct {// contains filtered or unexported fields}

func (*ProjectsLocationsBareMetalAdminClustersCreateCall)AllowPreflightFailureadded inv0.195.0

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

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

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsBareMetalAdminClustersCreateCall)Do

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

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsBareMetalAdminClustersCreateCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsBareMetalAdminClustersCreateCall)ValidateOnly

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

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsBareMetalAdminClustersEnrollCall)Do

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

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsBareMetalAdminClustersEnrollCall)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)AllowMissingadded inv0.195.0

AllowMissing sets the optional parameter "allowMissing": If true, returnBareMetal Admin Cluster including the one that only exists in RMS.

func (*ProjectsLocationsBareMetalAdminClustersGetCall)Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsBareMetalAdminClustersGetCall)Do

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

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsBareMetalAdminClustersGetCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsBareMetalAdminClustersGetCall)IfNoneMatch

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)Viewadded inv0.123.0

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

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsBareMetalAdminClustersGetIamPolicyCall)Do

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

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsBareMetalAdminClustersGetIamPolicyCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsBareMetalAdminClustersGetIamPolicyCall)IfNoneMatch

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

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)AllowMissingadded inv0.195.0

AllowMissing sets the optional parameter "allowMissing": If true, returnlist of BareMetal Admin Clusters including the ones that only exists in RMS.

func (*ProjectsLocationsBareMetalAdminClustersListCall)Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsBareMetalAdminClustersListCall)Do

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

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsBareMetalAdminClustersListCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsBareMetalAdminClustersListCall)IfNoneMatch

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

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

PageToken sets the optional parameter "pageToken": A token identifying apage of results the server should return.

func (*ProjectsLocationsBareMetalAdminClustersListCall)Pages

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

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

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsBareMetalAdminClustersOperationsGetCall)Do

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

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsBareMetalAdminClustersOperationsGetCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsBareMetalAdminClustersOperationsGetCall)IfNoneMatch

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

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsBareMetalAdminClustersOperationsListCall)Do

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

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsBareMetalAdminClustersOperationsListCall)Filter

Filter sets the optional parameter "filter": The standard list filter.

func (*ProjectsLocationsBareMetalAdminClustersOperationsListCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsBareMetalAdminClustersOperationsListCall)IfNoneMatch

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

PageSize sets the optional parameter "pageSize": The standard list pagesize.

func (*ProjectsLocationsBareMetalAdminClustersOperationsListCall)PageToken

PageToken sets the optional parameter "pageToken": The standard list pagetoken.

func (*ProjectsLocationsBareMetalAdminClustersOperationsListCall)Pages

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)ReturnPartialSuccessadded inv0.254.0

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}

func (*ProjectsLocationsBareMetalAdminClustersOperationsService)Get

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

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

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsBareMetalAdminClustersPatchCall)Do

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

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsBareMetalAdminClustersPatchCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsBareMetalAdminClustersPatchCall)UpdateMask

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

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

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsBareMetalAdminClustersQueryVersionConfigCall)Do

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

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsBareMetalAdminClustersQueryVersionConfigCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsBareMetalAdminClustersQueryVersionConfigCall)UpgradeConfigClusterName

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}

func (*ProjectsLocationsBareMetalAdminClustersService)Create

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

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

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

GetIamPolicy: Gets the access control policy for a resource. Returns anempty policy if the resource exists and does not have a policy set.

func (*ProjectsLocationsBareMetalAdminClustersService)List

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

Patch: Updates the parameters of a single bare metal admin cluster.

- name: Immutable. The bare metal admin cluster resource name.

func (*ProjectsLocationsBareMetalAdminClustersService)QueryVersionConfig

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

SetIamPolicy: Sets the access control policy on the specified resource.Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`,and `PERMISSION_DENIED` errors.

func (*ProjectsLocationsBareMetalAdminClustersService)TestIamPermissions

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.

func (*ProjectsLocationsBareMetalAdminClustersService)Unenroll

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

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsBareMetalAdminClustersSetIamPolicyCall)Do

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

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsBareMetalAdminClustersSetIamPolicyCall)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

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsBareMetalAdminClustersTestIamPermissionsCall)Do

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

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsBareMetalAdminClustersTestIamPermissionsCall)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

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

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsBareMetalAdminClustersUnenrollCall)Do

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

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

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsBareMetalAdminClustersUnenrollCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsBareMetalAdminClustersUnenrollCall)IgnoreErrorsadded inv0.127.0

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

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

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

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsCreateCall)Do

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

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsCreateCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsCreateCall)ValidateOnly

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

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

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsDeleteCall)Do

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

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

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsDeleteCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsDeleteCall)IgnoreErrors

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

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

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsEnrollCall)Do

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

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsEnrollCall)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

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsGetCall)Do

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

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsGetCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsGetCall)IfNoneMatch

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)Viewadded inv0.125.0

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

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsGetIamPolicyCall)Do

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

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsGetIamPolicyCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsGetIamPolicyCall)IfNoneMatch

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

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

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsListCall)Do

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

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsListCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsListCall)IfNoneMatch

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

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

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

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)Viewadded inv0.125.0

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

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsGetCall)Do

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

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsGetCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsGetCall)IfNoneMatch

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

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsListCall)Do

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

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsListCall)Filter

Filter sets the optional parameter "filter": The standard list filter.

func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsListCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsListCall)IfNoneMatch

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

PageSize sets the optional parameter "pageSize": The standard list pagesize.

func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsListCall)PageToken

PageToken sets the optional parameter "pageToken": The standard list pagetoken.

func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsListCall)Pages

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)ReturnPartialSuccessadded inv0.254.0

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}

func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsService)Get

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

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)AllowMissingadded inv0.125.0

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

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsPatchCall)Do

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

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsPatchCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsPatchCall)UpdateMask

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

ValidateOnly sets the optional parameter "validateOnly": Validate therequest without actually doing any updates.

typeProjectsLocationsBareMetalClustersBareMetalNodePoolsService

type ProjectsLocationsBareMetalClustersBareMetalNodePoolsService struct {Operations *ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsService// contains filtered or unexported fields}

func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsService)Create

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

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

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

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

GetIamPolicy: Gets the access control policy for a resource. Returns anempty policy if the resource exists and does not have a policy set.

func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsService)List

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

Patch: Updates the parameters of a single bare metal node pool.

- name: Immutable. The bare metal node pool resource name.

func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsService)SetIamPolicy

SetIamPolicy: Sets the access control policy on the specified resource.Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`,and `PERMISSION_DENIED` errors.

func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsService)TestIamPermissions

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.

func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsService)Unenroll

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

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsSetIamPolicyCall)Do

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

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsSetIamPolicyCall)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

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsTestIamPermissionsCall)Do

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

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsTestIamPermissionsCall)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

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

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsUnenrollCall)Do

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

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

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsUnenrollCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsUnenrollCall)ValidateOnly

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)AllowPreflightFailureadded inv0.195.0

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

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

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsBareMetalClustersCreateCall)Do

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

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsBareMetalClustersCreateCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsBareMetalClustersCreateCall)ValidateOnly

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

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

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsBareMetalClustersDeleteCall)Do

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

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

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsBareMetalClustersDeleteCall)Force

Force sets the optional parameter "force": If set to true, any node poolsfrom the cluster will also be deleted.

func (*ProjectsLocationsBareMetalClustersDeleteCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsBareMetalClustersDeleteCall)IgnoreErrors

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

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

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsBareMetalClustersEnrollCall)Do

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

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsBareMetalClustersEnrollCall)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)AllowMissingadded inv0.195.0

AllowMissing sets the optional parameter "allowMissing": If true, returnBareMetal Cluster including the one that only exists in RMS.

func (*ProjectsLocationsBareMetalClustersGetCall)Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsBareMetalClustersGetCall)Do

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

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsBareMetalClustersGetCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsBareMetalClustersGetCall)IfNoneMatch

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)Viewadded inv0.123.0

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

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsBareMetalClustersGetIamPolicyCall)Do

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

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsBareMetalClustersGetIamPolicyCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsBareMetalClustersGetIamPolicyCall)IfNoneMatch

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)AllowMissingadded inv0.195.0

AllowMissing sets the optional parameter "allowMissing": If true, returnlist of BareMetal Clusters including the ones that only exists in RMS.

func (*ProjectsLocationsBareMetalClustersListCall)Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsBareMetalClustersListCall)Do

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

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsBareMetalClustersListCall)Filter

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

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsBareMetalClustersListCall)IfNoneMatch

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

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

PageToken sets the optional parameter "pageToken": A token identifying apage of results the server should return.

func (*ProjectsLocationsBareMetalClustersListCall)Pages

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

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

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsBareMetalClustersOperationsGetCall)Do

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

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsBareMetalClustersOperationsGetCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsBareMetalClustersOperationsGetCall)IfNoneMatch

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

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsBareMetalClustersOperationsListCall)Do

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

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsBareMetalClustersOperationsListCall)Filter

Filter sets the optional parameter "filter": The standard list filter.

func (*ProjectsLocationsBareMetalClustersOperationsListCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsBareMetalClustersOperationsListCall)IfNoneMatch

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

PageSize sets the optional parameter "pageSize": The standard list pagesize.

func (*ProjectsLocationsBareMetalClustersOperationsListCall)PageToken

PageToken sets the optional parameter "pageToken": The standard list pagetoken.

func (*ProjectsLocationsBareMetalClustersOperationsListCall)Pages

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)ReturnPartialSuccessadded inv0.254.0

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}

func (*ProjectsLocationsBareMetalClustersOperationsService)Get

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

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

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

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsBareMetalClustersPatchCall)Do

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

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsBareMetalClustersPatchCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsBareMetalClustersPatchCall)UpdateMask

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

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

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

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

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

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsBareMetalClustersQueryVersionConfigCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsBareMetalClustersQueryVersionConfigCall)UpgradeConfigClusterName

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}

func (*ProjectsLocationsBareMetalClustersService)Create

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

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

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

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

GetIamPolicy: Gets the access control policy for a resource. Returns anempty policy if the resource exists and does not have a policy set.

func (*ProjectsLocationsBareMetalClustersService)List

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

Patch: Updates the parameters of a single bare metal Cluster.

- name: Immutable. The bare metal user cluster resource name.

func (*ProjectsLocationsBareMetalClustersService)QueryVersionConfig

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

SetIamPolicy: Sets the access control policy on the specified resource.Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`,and `PERMISSION_DENIED` errors.

func (*ProjectsLocationsBareMetalClustersService)TestIamPermissions

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.

func (*ProjectsLocationsBareMetalClustersService)Unenroll

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

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsBareMetalClustersSetIamPolicyCall)Do

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

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsBareMetalClustersSetIamPolicyCall)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

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsBareMetalClustersTestIamPermissionsCall)Do

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

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsBareMetalClustersTestIamPermissionsCall)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

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

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsBareMetalClustersUnenrollCall)Do

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

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

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsBareMetalClustersUnenrollCall)Force

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

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsBareMetalClustersUnenrollCall)ValidateOnly

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

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsGetCall)Do

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

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsGetCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsGetCall)IfNoneMatch

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

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsListCall)Do

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)ExtraLocationTypesadded 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

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsListCall)Filter

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

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsListCall)IfNoneMatch

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

PageSize sets the optional parameter "pageSize": The maximum number ofresults to return. If not set, the service selects a default.

func (*ProjectsLocationsListCall)PageToken

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

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

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsOperationsCancelCall)Do

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

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsOperationsCancelCall)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

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsOperationsDeleteCall)Do

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

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsOperationsDeleteCall)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

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsOperationsGetCall)Do

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

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsOperationsGetCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsOperationsGetCall)IfNoneMatch

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

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsOperationsListCall)Do

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

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsOperationsListCall)Filter

Filter sets the optional parameter "filter": The standard list filter.

func (*ProjectsLocationsOperationsListCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsOperationsListCall)IfNoneMatch

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

PageSize sets the optional parameter "pageSize": The standard list pagesize.

func (*ProjectsLocationsOperationsListCall)PageToken

PageToken sets the optional parameter "pageToken": The standard list pagetoken.

func (*ProjectsLocationsOperationsListCall)Pages

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)ReturnPartialSuccessadded 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}

func (*ProjectsLocationsOperationsService)Cancel

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

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

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

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

Get: Gets information about a location.

- name: Resource name for the location.

func (*ProjectsLocationsService)List

List: Lists information about the supported locations for this service.

- name: The resource that owns the locations collection, if applicable.

typeProjectsLocationsVmwareAdminClustersCreateCalladded inv0.205.0

type ProjectsLocationsVmwareAdminClustersCreateCall struct {// contains filtered or unexported fields}

func (*ProjectsLocationsVmwareAdminClustersCreateCall)AllowPreflightFailureadded inv0.205.0

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)Contextadded inv0.205.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsVmwareAdminClustersCreateCall)Doadded inv0.205.0

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)Fieldsadded inv0.205.0

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsVmwareAdminClustersCreateCall)Headeradded inv0.205.0

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsVmwareAdminClustersCreateCall)SkipValidationsadded inv0.257.0

SkipValidations sets the optional parameter "skipValidations": If set, skipthe specified validations.

func (*ProjectsLocationsVmwareAdminClustersCreateCall)ValidateOnlyadded inv0.205.0

ValidateOnly sets the optional parameter "validateOnly": Validate therequest without actually doing any updates.

func (*ProjectsLocationsVmwareAdminClustersCreateCall)VmwareAdminClusterIdadded inv0.205.0

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

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsVmwareAdminClustersEnrollCall)Do

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

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsVmwareAdminClustersEnrollCall)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)AllowMissingadded inv0.195.0

AllowMissing sets the optional parameter "allowMissing": If true, returnVmware Admin Cluster including the one that only exists in RMS.

func (*ProjectsLocationsVmwareAdminClustersGetCall)Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsVmwareAdminClustersGetCall)Do

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

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsVmwareAdminClustersGetCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsVmwareAdminClustersGetCall)IfNoneMatch

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)Viewadded inv0.125.0

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

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsVmwareAdminClustersGetIamPolicyCall)Do

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

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsVmwareAdminClustersGetIamPolicyCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsVmwareAdminClustersGetIamPolicyCall)IfNoneMatch

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)AllowMissingadded inv0.195.0

AllowMissing sets the optional parameter "allowMissing": If true, returnlist of Vmware Admin Clusters including the ones that only exists in RMS.

func (*ProjectsLocationsVmwareAdminClustersListCall)Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsVmwareAdminClustersListCall)Do

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

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsVmwareAdminClustersListCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsVmwareAdminClustersListCall)IfNoneMatch

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

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

PageToken sets the optional parameter "pageToken": A token identifying apage of results the server should return.

func (*ProjectsLocationsVmwareAdminClustersListCall)Pages

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

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

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsVmwareAdminClustersOperationsGetCall)Do

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

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsVmwareAdminClustersOperationsGetCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsVmwareAdminClustersOperationsGetCall)IfNoneMatch

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

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsVmwareAdminClustersOperationsListCall)Do

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

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsVmwareAdminClustersOperationsListCall)Filter

Filter sets the optional parameter "filter": The standard list filter.

func (*ProjectsLocationsVmwareAdminClustersOperationsListCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsVmwareAdminClustersOperationsListCall)IfNoneMatch

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

PageSize sets the optional parameter "pageSize": The standard list pagesize.

func (*ProjectsLocationsVmwareAdminClustersOperationsListCall)PageToken

PageToken sets the optional parameter "pageToken": The standard list pagetoken.

func (*ProjectsLocationsVmwareAdminClustersOperationsListCall)Pages

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)ReturnPartialSuccessadded inv0.254.0

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}

func (*ProjectsLocationsVmwareAdminClustersOperationsService)Get

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

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

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsVmwareAdminClustersPatchCall)Do

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

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsVmwareAdminClustersPatchCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsVmwareAdminClustersPatchCall)SkipValidationsadded inv0.257.0

SkipValidations sets the optional parameter "skipValidations": If set, theserver-side preflight checks will be skipped.

func (*ProjectsLocationsVmwareAdminClustersPatchCall)UpdateMask

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

ValidateOnly sets the optional parameter "validateOnly": Validate therequest without actually doing any updates.

typeProjectsLocationsVmwareAdminClustersService

type ProjectsLocationsVmwareAdminClustersService struct {Operations *ProjectsLocationsVmwareAdminClustersOperationsService// contains filtered or unexported fields}

func (*ProjectsLocationsVmwareAdminClustersService)Createadded inv0.205.0

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

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

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

GetIamPolicy: Gets the access control policy for a resource. Returns anempty policy if the resource exists and does not have a policy set.

func (*ProjectsLocationsVmwareAdminClustersService)List

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

Patch: Updates the parameters of a single VMware admin cluster.

- name: Immutable. The VMware admin cluster resource name.

func (*ProjectsLocationsVmwareAdminClustersService)SetIamPolicy

SetIamPolicy: Sets the access control policy on the specified resource.Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`,and `PERMISSION_DENIED` errors.

func (*ProjectsLocationsVmwareAdminClustersService)TestIamPermissions

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.

func (*ProjectsLocationsVmwareAdminClustersService)Unenroll

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

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsVmwareAdminClustersSetIamPolicyCall)Do

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

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsVmwareAdminClustersSetIamPolicyCall)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

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsVmwareAdminClustersTestIamPermissionsCall)Do

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

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsVmwareAdminClustersTestIamPermissionsCall)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

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

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsVmwareAdminClustersUnenrollCall)Do

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

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

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsVmwareAdminClustersUnenrollCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsVmwareAdminClustersUnenrollCall)IgnoreErrorsadded inv0.238.0

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

ValidateOnly sets the optional parameter "validateOnly": Validate therequest without actually doing any updates.

typeProjectsLocationsVmwareClustersCreateCall

type ProjectsLocationsVmwareClustersCreateCall struct {// contains filtered or unexported fields}

func (*ProjectsLocationsVmwareClustersCreateCall)AllowPreflightFailureadded inv0.195.0

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

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsVmwareClustersCreateCall)Do

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

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsVmwareClustersCreateCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsVmwareClustersCreateCall)SkipValidationsadded inv0.257.0

SkipValidations sets the optional parameter "skipValidations": List ofvalidations to skip during cluster creation.

func (*ProjectsLocationsVmwareClustersCreateCall)ValidateOnly

ValidateOnly sets the optional parameter "validateOnly": Validate therequest without actually doing any updates.

func (*ProjectsLocationsVmwareClustersCreateCall)VmwareClusterId

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

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

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsVmwareClustersDeleteCall)Do

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

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

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsVmwareClustersDeleteCall)Force

Force sets the optional parameter "force": If set to true, any node poolsfrom the cluster will also be deleted.

func (*ProjectsLocationsVmwareClustersDeleteCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsVmwareClustersDeleteCall)IgnoreErrors

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

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

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsVmwareClustersEnrollCall)Do

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

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsVmwareClustersEnrollCall)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)AllowMissingadded inv0.195.0

AllowMissing sets the optional parameter "allowMissing": If true, returnVmware Cluster including the one that only exists in RMS.

func (*ProjectsLocationsVmwareClustersGetCall)Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsVmwareClustersGetCall)Do

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

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsVmwareClustersGetCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsVmwareClustersGetCall)IfNoneMatch

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)Viewadded inv0.123.0

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

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsVmwareClustersGetIamPolicyCall)Do

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

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsVmwareClustersGetIamPolicyCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsVmwareClustersGetIamPolicyCall)IfNoneMatch

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)AllowMissingadded inv0.195.0

AllowMissing sets the optional parameter "allowMissing": If true, returnlist of Vmware Clusters including the ones that only exists in RMS.

func (*ProjectsLocationsVmwareClustersListCall)Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsVmwareClustersListCall)Do

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

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsVmwareClustersListCall)Filter

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

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsVmwareClustersListCall)IfNoneMatch

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

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

PageToken sets the optional parameter "pageToken": A token identifying apage of results the server should return.

func (*ProjectsLocationsVmwareClustersListCall)Pages

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

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

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsVmwareClustersOperationsGetCall)Do

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

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsVmwareClustersOperationsGetCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsVmwareClustersOperationsGetCall)IfNoneMatch

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

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsVmwareClustersOperationsListCall)Do

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

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsVmwareClustersOperationsListCall)Filter

Filter sets the optional parameter "filter": The standard list filter.

func (*ProjectsLocationsVmwareClustersOperationsListCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsVmwareClustersOperationsListCall)IfNoneMatch

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

PageSize sets the optional parameter "pageSize": The standard list pagesize.

func (*ProjectsLocationsVmwareClustersOperationsListCall)PageToken

PageToken sets the optional parameter "pageToken": The standard list pagetoken.

func (*ProjectsLocationsVmwareClustersOperationsListCall)Pages

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)ReturnPartialSuccessadded inv0.254.0

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}

func (*ProjectsLocationsVmwareClustersOperationsService)Get

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

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

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsVmwareClustersPatchCall)Do

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

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsVmwareClustersPatchCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsVmwareClustersPatchCall)SkipValidationsadded inv0.257.0

SkipValidations sets the optional parameter "skipValidations":

func (*ProjectsLocationsVmwareClustersPatchCall)UpdateMask

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

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

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

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

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

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsVmwareClustersQueryVersionConfigCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsVmwareClustersQueryVersionConfigCall)UpgradeConfigClusterName

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}

func (*ProjectsLocationsVmwareClustersService)Create

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

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

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

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

GetIamPolicy: Gets the access control policy for a resource. Returns anempty policy if the resource exists and does not have a policy set.

func (*ProjectsLocationsVmwareClustersService)List

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

Patch: Updates the parameters of a single VMware cluster.

- name: Immutable. The VMware user cluster resource name.

func (*ProjectsLocationsVmwareClustersService)QueryVersionConfig

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

SetIamPolicy: Sets the access control policy on the specified resource.Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`,and `PERMISSION_DENIED` errors.

func (*ProjectsLocationsVmwareClustersService)TestIamPermissions

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.

func (*ProjectsLocationsVmwareClustersService)Unenroll

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

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsVmwareClustersSetIamPolicyCall)Do

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

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsVmwareClustersSetIamPolicyCall)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

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsVmwareClustersTestIamPermissionsCall)Do

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

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsVmwareClustersTestIamPermissionsCall)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

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

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsVmwareClustersUnenrollCall)Do

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

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

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsVmwareClustersUnenrollCall)Force

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

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsVmwareClustersUnenrollCall)ValidateOnly

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

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsVmwareClustersVmwareNodePoolsCreateCall)Do

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

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsVmwareClustersVmwareNodePoolsCreateCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsVmwareClustersVmwareNodePoolsCreateCall)ValidateOnly

ValidateOnly sets the optional parameter "validateOnly": If set, onlyvalidate the request, but do not actually create the node pool.

func (*ProjectsLocationsVmwareClustersVmwareNodePoolsCreateCall)VmwareNodePoolId

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

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

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsVmwareClustersVmwareNodePoolsDeleteCall)Do

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

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

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsVmwareClustersVmwareNodePoolsDeleteCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsVmwareClustersVmwareNodePoolsDeleteCall)IgnoreErrors

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

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

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsVmwareClustersVmwareNodePoolsEnrollCall)Do

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

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsVmwareClustersVmwareNodePoolsEnrollCall)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

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsVmwareClustersVmwareNodePoolsGetCall)Do

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

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsVmwareClustersVmwareNodePoolsGetCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsVmwareClustersVmwareNodePoolsGetCall)IfNoneMatch

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)Viewadded inv0.125.0

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

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsVmwareClustersVmwareNodePoolsGetIamPolicyCall)Do

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

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsVmwareClustersVmwareNodePoolsGetIamPolicyCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsVmwareClustersVmwareNodePoolsGetIamPolicyCall)IfNoneMatch

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

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

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsVmwareClustersVmwareNodePoolsListCall)Do

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

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsVmwareClustersVmwareNodePoolsListCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsVmwareClustersVmwareNodePoolsListCall)IfNoneMatch

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

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

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

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)Viewadded inv0.125.0

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

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsGetCall)Do

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

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsGetCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsGetCall)IfNoneMatch

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

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsListCall)Do

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

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsListCall)Filter

Filter sets the optional parameter "filter": The standard list filter.

func (*ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsListCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsListCall)IfNoneMatch

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

PageSize sets the optional parameter "pageSize": The standard list pagesize.

func (*ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsListCall)PageToken

PageToken sets the optional parameter "pageToken": The standard list pagetoken.

func (*ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsListCall)Pages

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)ReturnPartialSuccessadded inv0.254.0

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}

func (*ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsService)Get

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

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

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsVmwareClustersVmwareNodePoolsPatchCall)Do

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

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsVmwareClustersVmwareNodePoolsPatchCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsVmwareClustersVmwareNodePoolsPatchCall)UpdateMask

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

ValidateOnly sets the optional parameter "validateOnly": Validate therequest without actually doing any updates.

typeProjectsLocationsVmwareClustersVmwareNodePoolsService

type ProjectsLocationsVmwareClustersVmwareNodePoolsService struct {Operations *ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsService// contains filtered or unexported fields}

func (*ProjectsLocationsVmwareClustersVmwareNodePoolsService)Create

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

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

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

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

GetIamPolicy: Gets the access control policy for a resource. Returns anempty policy if the resource exists and does not have a policy set.

func (*ProjectsLocationsVmwareClustersVmwareNodePoolsService)List

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

Patch: Updates the parameters of a single VMware node pool.

- name: Immutable. The resource name of this node pool.

func (*ProjectsLocationsVmwareClustersVmwareNodePoolsService)SetIamPolicy

SetIamPolicy: Sets the access control policy on the specified resource.Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`,and `PERMISSION_DENIED` errors.

func (*ProjectsLocationsVmwareClustersVmwareNodePoolsService)TestIamPermissions

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.

func (*ProjectsLocationsVmwareClustersVmwareNodePoolsService)Unenroll

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

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsVmwareClustersVmwareNodePoolsSetIamPolicyCall)Do

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

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsVmwareClustersVmwareNodePoolsSetIamPolicyCall)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

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsVmwareClustersVmwareNodePoolsTestIamPermissionsCall)Do

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

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsVmwareClustersVmwareNodePoolsTestIamPermissionsCall)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)AllowMissingadded inv0.125.0

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

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsVmwareClustersVmwareNodePoolsUnenrollCall)Do

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

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

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsVmwareClustersVmwareNodePoolsUnenrollCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsVmwareClustersVmwareNodePoolsUnenrollCall)ValidateOnly

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

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

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

func New(client *http.Client) (*Service,error)

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

func NewService(ctxcontext.Context, opts ...option.ClientOption) (*Service,error)

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

func (sStatus) MarshalJSON() ([]byte,error)

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)

typeUpgradeDependencyadded 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)MarshalJSONadded 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)

typeVersionadded 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)MarshalJSONadded inv0.195.0

func (sVersion) MarshalJSON() ([]byte,error)

typeVersionsadded 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)MarshalJSONadded inv0.195.0

func (sVersions) MarshalJSON() ([]byte,error)

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)

typeVmwareAdminAuthorizationConfigadded 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)MarshalJSONadded 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)

typeVmwareAdminHAControlPlaneConfigadded 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)MarshalJSONadded 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)MarshalJSONadded 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)

typeVmwareAdminPreparedSecretsConfigadded 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)MarshalJSONadded inv0.148.0

func (sVmwareAdminPreparedSecretsConfig) MarshalJSON() ([]byte,error)

typeVmwareAdminPrivateRegistryConfigadded 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)MarshalJSONadded inv0.235.0

func (sVmwareAdminPrivateRegistryConfig) MarshalJSON() ([]byte,error)

typeVmwareAdminProxyadded 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)MarshalJSONadded inv0.249.0

func (sVmwareAdminProxy) MarshalJSON() ([]byte,error)

typeVmwareAdminSeesawConfigadded 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)MarshalJSONadded 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)

typeVmwareClusterUpgradePolicyadded 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)MarshalJSONadded 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)

typeVmwareSeesawConfigadded 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)MarshalJSONadded 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)

Source Files

View all Source files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f orF : Jump to
y orY : Canonical URL
go.dev uses cookies from Google to deliver and enhance the quality of its services and to analyze traffic.Learn more.

[8]ページ先頭

©2009-2025 Movatter.jp