gkeonprem

package
v0.213.0 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2024 License: BSD-3-Clause Imports: 18 Imported by: 0

Documentation

Overview

Package gkeonprem provides access to the GDC Virtual 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, this library is considered complete and is in maintenance mode. This means that we will address critical bugs and security issues but will not add any 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 for authentication. For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.

Other authentication options

To use an API key for authentication (note: some APIs do not support API keys), use google.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 OAuth flow, use google.golang.org/api/option.WithTokenSource:

config := &oauth2.Config{...}
// ...
token, err := config.Exchange(ctx, ...)
gkeonpremService, err := gkeonprem.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))

See google.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

type Authorization

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 authorization configuration to bootstrap onto the admin cluster.

func (Authorization) MarshalJSON

func (s Authorization) MarshalJSON() ([]byte, error)

type BareMetalAdminApiServerArgument

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.
	Argument string `json:"argument,omitempty"`
	// Value: Required. The value of the arg as it will be passed to the API Server
	// command line.
	Value string `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 represents an 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 (s BareMetalAdminApiServerArgument) MarshalJSON() ([]byte, error)

type BareMetalAdminCluster

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.
	BareMetalVersion string `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.
	CreateTime string `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 empty
	DeleteTime string `json:"deleteTime,omitempty"`
	// Description: A human readable description of this bare metal admin cluster.
	Description string `json:"description,omitempty"`
	// Endpoint: Output only. The IP address name of bare metal admin cluster's API
	// server.
	Endpoint string `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.
	Etag string `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.
	LocalName string `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.
	Name string `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.
	Reconciling bool `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.
	State string `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.
	Uid string `json:"uid,omitempty"`
	// UpdateTime: Output only. The time at which this bare metal admin cluster was
	// last updated.
	UpdateTime string `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 (s BareMetalAdminCluster) MarshalJSON() ([]byte, error)

type BareMetalAdminClusterOperationsConfig

type BareMetalAdminClusterOperationsConfig struct {
	// EnableApplicationLogs: Whether collection of application logs/metrics should
	// be enabled (in addition to system logs/metrics).
	EnableApplicationLogs bool `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: BareMetalAdminClusterOperationsConfig specifies the admin cluster's observability infrastructure.

func (BareMetalAdminClusterOperationsConfig) MarshalJSON

func (s BareMetalAdminClusterOperationsConfig) MarshalJSON() ([]byte, error)

type BareMetalAdminControlPlaneConfig

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 specifies the control plane configuration.

func (BareMetalAdminControlPlaneConfig) MarshalJSON

func (s BareMetalAdminControlPlaneConfig) MarshalJSON() ([]byte, error)

type BareMetalAdminControlPlaneNodePoolConfig

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 node pool configuration. We have a control plane specific node pool config so that we can flexible about supporting control plane specific fields in the future.

func (BareMetalAdminControlPlaneNodePoolConfig) MarshalJSON

type BareMetalAdminDrainedMachine

type BareMetalAdminDrainedMachine struct {
	// NodeIp: Drained machine IP address.
	NodeIp string `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 the machines that are drained.

func (BareMetalAdminDrainedMachine) MarshalJSON

func (s BareMetalAdminDrainedMachine) MarshalJSON() ([]byte, error)

type BareMetalAdminDrainingMachine

type BareMetalAdminDrainingMachine struct {
	// NodeIp: Draining machine IP address.
	NodeIp string `json:"nodeIp,omitempty"`
	// PodCount: The count of pods yet to drain.
	PodCount int64 `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 the machines that are currently draining.

func (BareMetalAdminDrainingMachine) MarshalJSON

func (s BareMetalAdminDrainingMachine) MarshalJSON() ([]byte, error)

type BareMetalAdminIslandModeCidrConfig

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: BareMetalAdminIslandModeCidrConfig specifies the cluster CIDR configuration while running in island mode.

func (BareMetalAdminIslandModeCidrConfig) MarshalJSON

func (s BareMetalAdminIslandModeCidrConfig) MarshalJSON() ([]byte, error)

type BareMetalAdminLoadBalancerConfig

type BareMetalAdminLoadBalancerConfig struct {
	// 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. "ManualLbConfig") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "ManualLbConfig") to include in
	// API requests with the JSON null value. By default, fields with 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 specifies the load balancer configuration.

func (BareMetalAdminLoadBalancerConfig) MarshalJSON

func (s BareMetalAdminLoadBalancerConfig) MarshalJSON() ([]byte, error)

type BareMetalAdminMachineDrainStatus

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: BareMetalAdminMachineDrainStatus represents the status of bare metal node machines that are undergoing drain operations.

func (BareMetalAdminMachineDrainStatus) MarshalJSON

func (s BareMetalAdminMachineDrainStatus) MarshalJSON() ([]byte, error)

type BareMetalAdminMaintenanceConfig

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. See https://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 specifies configurations to put bare metal Admin cluster CRs nodes in and out of maintenance.

func (BareMetalAdminMaintenanceConfig) MarshalJSON

func (s BareMetalAdminMaintenanceConfig) MarshalJSON() ([]byte, error)

type BareMetalAdminMaintenanceStatus

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 represents the maintenance status for bare metal Admin cluster CR's nodes.

func (BareMetalAdminMaintenanceStatus) MarshalJSON

func (s BareMetalAdminMaintenanceStatus) MarshalJSON() ([]byte, error)

type BareMetalAdminManualLbConfig

type BareMetalAdminManualLbConfig struct {
	// Enabled: Whether manual load balancing is enabled.
	Enabled bool `json:"enabled,omitempty"`
	// ForceSendFields is a list of field names (e.g. "Enabled") to unconditionally
	// include in API requests. By default, fields with empty or default values are
	// omitted from API requests. See
	// https://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 represents configuration parameters for a manual load balancer.

func (BareMetalAdminManualLbConfig) MarshalJSON

func (s BareMetalAdminManualLbConfig) MarshalJSON() ([]byte, error)

type BareMetalAdminNetworkConfig

type BareMetalAdminNetworkConfig struct {
	// IslandModeCidr: Configuration for Island mode CIDR.
	IslandModeCidr *BareMetalAdminIslandModeCidrConfig `json:"islandModeCidr,omitempty"`
	// ForceSendFields is a list of field names (e.g. "IslandModeCidr") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "IslandModeCidr") to include in
	// API requests with the JSON null value. By default, fields with 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 the cluster network configuration.

func (BareMetalAdminNetworkConfig) MarshalJSON

func (s BareMetalAdminNetworkConfig) MarshalJSON() ([]byte, error)

type BareMetalAdminNodeAccessConfig

type BareMetalAdminNodeAccessConfig struct {
	// LoginUser: Required. LoginUser is the user name used to access node
	// machines. It defaults to "root" if not set.
	LoginUser string `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 settings for the bare metal admin cluster.

func (BareMetalAdminNodeAccessConfig) MarshalJSON

func (s BareMetalAdminNodeAccessConfig) MarshalJSON() ([]byte, error)

type BareMetalAdminOsEnvironmentConfig

type BareMetalAdminOsEnvironmentConfig struct {
	// PackageRepoExcluded: Whether the package repo should be added when
	// initializing bare metal machines.
	PackageRepoExcluded bool `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 operation settings for cluster provisioning.

func (BareMetalAdminOsEnvironmentConfig) MarshalJSON

func (s BareMetalAdminOsEnvironmentConfig) MarshalJSON() ([]byte, error)

type BareMetalAdminPortConfig

type BareMetalAdminPortConfig struct {
	// ControlPlaneLoadBalancerPort: The port that control plane hosted load
	// balancers will listen on.
	ControlPlaneLoadBalancerPort int64 `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. See https://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 of load balancer ports.

func (BareMetalAdminPortConfig) MarshalJSON

func (s BareMetalAdminPortConfig) MarshalJSON() ([]byte, error)

type BareMetalAdminProxyConfig

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.
	Uri string `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 cluster proxy configuration.

func (BareMetalAdminProxyConfig) MarshalJSON

func (s BareMetalAdminProxyConfig) MarshalJSON() ([]byte, error)

type BareMetalAdminSecurityConfig

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 for the bare metal admin cluster.

func (BareMetalAdminSecurityConfig) MarshalJSON

func (s BareMetalAdminSecurityConfig) MarshalJSON() ([]byte, error)

type BareMetalAdminStorageConfig

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 the cluster storage configuration.

func (BareMetalAdminStorageConfig) MarshalJSON

func (s BareMetalAdminStorageConfig) MarshalJSON() ([]byte, error)

type BareMetalAdminVipConfig

type BareMetalAdminVipConfig struct {
	// ControlPlaneVip: The VIP which you previously set aside for the Kubernetes
	// API of this bare metal admin cluster.
	ControlPlaneVip string `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 load balancer configurations.

func (BareMetalAdminVipConfig) MarshalJSON

func (s BareMetalAdminVipConfig) MarshalJSON() ([]byte, error)

type BareMetalAdminWorkloadNodeConfig

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.
	MaxPodsPerNode int64 `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 specifies the workload node configurations.

func (BareMetalAdminWorkloadNodeConfig) MarshalJSON

func (s BareMetalAdminWorkloadNodeConfig) MarshalJSON() ([]byte, error)

type BareMetalApiServerArgument

type BareMetalApiServerArgument struct {
	// Argument: Required. The argument name as it appears on the API Server
	// command line, make sure to remove the leading dashes.
	Argument string `json:"argument,omitempty"`
	// Value: Required. The value of the arg as it will be passed to the API Server
	// command line.
	Value string `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 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/).

func (BareMetalApiServerArgument) MarshalJSON

func (s BareMetalApiServerArgument) MarshalJSON() ([]byte, error)

type BareMetalBgpLbConfig

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.
	Asn int64 `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 configuration parameters for a Border Gateway Protocol (BGP) load balancer.

func (BareMetalBgpLbConfig) MarshalJSON

func (s BareMetalBgpLbConfig) MarshalJSON() ([]byte, error)

type BareMetalBgpPeerConfig

type BareMetalBgpPeerConfig struct {
	// Asn: Required. BGP autonomous system number (ASN) for the network that
	// contains the external peer device.
	Asn int64 `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.
	IpAddress string `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 configuration parameters for a Border Gateway Protocol (BGP) peer.

func (BareMetalBgpPeerConfig) MarshalJSON

func (s BareMetalBgpPeerConfig) MarshalJSON() ([]byte, error)

type BareMetalCluster

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.
	AdminClusterMembership string `json:"adminClusterMembership,omitempty"`
	// AdminClusterName: Output only. The resource name of the bare metal admin
	// cluster managing this user cluster.
	AdminClusterName string `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.
	BareMetalVersion string `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.
	CreateTime string `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 empty
	DeleteTime string `json:"deleteTime,omitempty"`
	// Description: A human readable description of this bare metal user cluster.
	Description string `json:"description,omitempty"`
	// Endpoint: Output only. The IP address of the bare metal user cluster's API
	// server.
	Endpoint string `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.
	Etag string `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.
	LocalName string `json:"localName,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.
	Name string `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.
	Reconciling bool `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.
	State string `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.
	Uid string `json:"uid,omitempty"`
	// UpdateTime: Output only. The time when the bare metal user cluster was last
	// updated.
	UpdateTime string `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 (s BareMetalCluster) MarshalJSON() ([]byte, error)

type BareMetalClusterOperationsConfig

type BareMetalClusterOperationsConfig struct {
	// EnableApplicationLogs: Whether collection of application logs/metrics should
	// be enabled (in addition to system logs/metrics).
	EnableApplicationLogs bool `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's observability infrastructure.

func (BareMetalClusterOperationsConfig) MarshalJSON

func (s BareMetalClusterOperationsConfig) MarshalJSON() ([]byte, error)

type BareMetalClusterUpgradePolicy added in v0.135.0

type BareMetalClusterUpgradePolicy struct {
	// Pause: Output only. Pause is used to show the upgrade pause status. It's
	// view only for now.
	Pause bool `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.
	Policy string `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 the cluster upgrade policy.

func (BareMetalClusterUpgradePolicy) MarshalJSON added in v0.135.0

func (s BareMetalClusterUpgradePolicy) MarshalJSON() ([]byte, error)

type BareMetalControlPlaneConfig

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 (s BareMetalControlPlaneConfig) MarshalJSON() ([]byte, error)

type BareMetalControlPlaneNodePoolConfig

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 pool configuration.

func (BareMetalControlPlaneNodePoolConfig) MarshalJSON

func (s BareMetalControlPlaneNodePoolConfig) MarshalJSON() ([]byte, error)

type BareMetalDrainedMachine

type BareMetalDrainedMachine struct {
	// NodeIp: Drained machine IP address.
	NodeIp string `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 (s BareMetalDrainedMachine) MarshalJSON() ([]byte, error)

type BareMetalDrainingMachine

type BareMetalDrainingMachine struct {
	// NodeIp: Draining machine IP address.
	NodeIp string `json:"nodeIp,omitempty"`
	// PodCount: The count of pods yet to drain.
	PodCount int64 `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 (s BareMetalDrainingMachine) MarshalJSON() ([]byte, error)

type BareMetalIslandModeCidrConfig

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 configuration while running in island mode.

func (BareMetalIslandModeCidrConfig) MarshalJSON

func (s BareMetalIslandModeCidrConfig) MarshalJSON() ([]byte, error)

type BareMetalKubeletConfig

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.
	RegistryBurst int64 `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.
	RegistryPullQps int64 `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.
	SerializeImagePullsDisabled bool `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 kubelet configurations for bare metal machines. Note: this list includes fields supported in GKE (see https://cloud.google.com/kubernetes-engine/docs/how-to/node-system-config#kubelet-options).

func (BareMetalKubeletConfig) MarshalJSON

func (s BareMetalKubeletConfig) MarshalJSON() ([]byte, error)

type BareMetalLoadBalancerAddressPool

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.
	AvoidBuggyIps bool `json:"avoidBuggyIps,omitempty"`
	// ManualAssign: If true, prevent IP addresses from being automatically
	// assigned.
	ManualAssign bool `json:"manualAssign,omitempty"`
	// Pool: Required. The name of the address pool.
	Pool string `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 load balancer.

func (BareMetalLoadBalancerAddressPool) MarshalJSON

func (s BareMetalLoadBalancerAddressPool) MarshalJSON() ([]byte, error)

type BareMetalLoadBalancerConfig

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 (s BareMetalLoadBalancerConfig) MarshalJSON() ([]byte, error)

type BareMetalLoadBalancerNodePoolConfig

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 pool configuration.

func (BareMetalLoadBalancerNodePoolConfig) MarshalJSON

func (s BareMetalLoadBalancerNodePoolConfig) MarshalJSON() ([]byte, error)

type BareMetalLvpConfig

type BareMetalLvpConfig struct {
	// Path: Required. The host machine path.
	Path string `json:"path,omitempty"`
	// StorageClass: Required. The StorageClass name that PVs will be created with.
	StorageClass string `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 (s BareMetalLvpConfig) MarshalJSON() ([]byte, error)

type BareMetalLvpShareConfig

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.
	SharedPathPvCount int64 `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 volumes under a shared file system.

func (BareMetalLvpShareConfig) MarshalJSON

func (s BareMetalLvpShareConfig) MarshalJSON() ([]byte, error)

type BareMetalMachineDrainStatus

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 are undergoing drain operations.

func (BareMetalMachineDrainStatus) MarshalJSON

func (s BareMetalMachineDrainStatus) MarshalJSON() ([]byte, error)

type BareMetalMaintenanceConfig

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. See https://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 nodes in and out of maintenance.

func (BareMetalMaintenanceConfig) MarshalJSON

func (s BareMetalMaintenanceConfig) MarshalJSON() ([]byte, error)

type BareMetalMaintenanceStatus

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 bare metal user cluster.

func (BareMetalMaintenanceStatus) MarshalJSON

func (s BareMetalMaintenanceStatus) MarshalJSON() ([]byte, error)

type BareMetalManualLbConfig

type BareMetalManualLbConfig struct {
	// Enabled: Whether manual load balancing is enabled.
	Enabled bool `json:"enabled,omitempty"`
	// ForceSendFields is a list of field names (e.g. "Enabled") to unconditionally
	// include in API requests. By default, fields with empty or default values are
	// omitted from API requests. See
	// https://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 manual load balancer.

func (BareMetalManualLbConfig) MarshalJSON

func (s BareMetalManualLbConfig) MarshalJSON() ([]byte, error)

type BareMetalMetalLbConfig

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 MetalLB load balancer.

func (BareMetalMetalLbConfig) MarshalJSON

func (s BareMetalMetalLbConfig) MarshalJSON() ([]byte, error)

type BareMetalMultipleNetworkInterfacesConfig

type BareMetalMultipleNetworkInterfacesConfig struct {
	// Enabled: Whether to enable multiple network interfaces for your pods. When
	// set network_config.advanced_networking is automatically set to true.
	Enabled bool `json:"enabled,omitempty"`
	// ForceSendFields is a list of field names (e.g. "Enabled") to unconditionally
	// include in API requests. By default, fields with empty or default values are
	// omitted from API requests. See
	// https://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 networking interfaces cluster configuration.

func (BareMetalMultipleNetworkInterfacesConfig) MarshalJSON

type BareMetalNetworkConfig

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.
	AdvancedNetworking bool `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 (s BareMetalNetworkConfig) MarshalJSON() ([]byte, error)

type BareMetalNodeAccessConfig

type BareMetalNodeAccessConfig struct {
	// LoginUser: LoginUser is the user name used to access node machines. It
	// defaults to "root" if not set.
	LoginUser string `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 for the bare metal user cluster.

func (BareMetalNodeAccessConfig) MarshalJSON

func (s BareMetalNodeAccessConfig) MarshalJSON() ([]byte, error)

type BareMetalNodeConfig

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.1
	NodeIp string `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 access Nodes.

func (BareMetalNodeConfig) MarshalJSON

func (s BareMetalNodeConfig) MarshalJSON() ([]byte, error)

type BareMetalNodePool

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.
	CreateTime string `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 empty
	DeleteTime string `json:"deleteTime,omitempty"`
	// DisplayName: The display name for the bare metal node pool.
	DisplayName string `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.
	Etag string `json:"etag,omitempty"`
	// Name: Immutable. The bare metal node pool resource name.
	Name string `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.
	Reconciling bool `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.
	State string `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.
	Uid string `json:"uid,omitempty"`
	// UpdateTime: Output only. The time at which this bare metal node pool was
	// last updated.
	UpdateTime string `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 (s BareMetalNodePool) MarshalJSON() ([]byte, error)

type BareMetalNodePoolConfig

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.
	OperatingSystem string `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 configuration of all nodes within a given bare metal node pool.

func (BareMetalNodePoolConfig) MarshalJSON

func (s BareMetalNodePoolConfig) MarshalJSON() ([]byte, error)

type BareMetalNodePoolUpgradePolicy added in v0.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 the node pool upgrade policy.

func (BareMetalNodePoolUpgradePolicy) MarshalJSON added in v0.127.0

func (s BareMetalNodePoolUpgradePolicy) MarshalJSON() ([]byte, error)

type BareMetalOsEnvironmentConfig

type BareMetalOsEnvironmentConfig struct {
	// PackageRepoExcluded: Whether the package repo should not be included when
	// initializing bare metal machines.
	PackageRepoExcluded bool `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 for cluster provisioning.

func (BareMetalOsEnvironmentConfig) MarshalJSON

func (s BareMetalOsEnvironmentConfig) MarshalJSON() ([]byte, error)

type BareMetalParallelUpgradeConfig added in v0.127.0

type BareMetalParallelUpgradeConfig struct {
	// ConcurrentNodes: The maximum number of nodes that can be upgraded at once.
	ConcurrentNodes int64 `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.
	MinimumAvailableNodes int64 `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 the parallel upgrade settings for worker node pools.

func (BareMetalParallelUpgradeConfig) MarshalJSON added in v0.127.0

func (s BareMetalParallelUpgradeConfig) MarshalJSON() ([]byte, error)

type BareMetalPortConfig

type BareMetalPortConfig struct {
	// ControlPlaneLoadBalancerPort: The port that control plane hosted load
	// balancers will listen on.
	ControlPlaneLoadBalancerPort int64 `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. See https://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 user cluster.

func (BareMetalPortConfig) MarshalJSON

func (s BareMetalPortConfig) MarshalJSON() ([]byte, error)

type BareMetalProxyConfig

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.
	Uri string `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 (s BareMetalProxyConfig) MarshalJSON() ([]byte, error)

type BareMetalSecurityConfig

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 the bare metal user cluster.

func (BareMetalSecurityConfig) MarshalJSON

func (s BareMetalSecurityConfig) MarshalJSON() ([]byte, error)

type BareMetalSrIovConfig

type BareMetalSrIovConfig struct {
	// Enabled: Whether to install the SR-IOV operator.
	Enabled bool `json:"enabled,omitempty"`
	// ForceSendFields is a list of field names (e.g. "Enabled") to unconditionally
	// include in API requests. By default, fields with empty or default values are
	// omitted from API requests. See
	// https://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 (s BareMetalSrIovConfig) MarshalJSON() ([]byte, error)

type BareMetalStorageConfig

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 storage configuration.

func (BareMetalStorageConfig) MarshalJSON

func (s BareMetalStorageConfig) MarshalJSON() ([]byte, error)

type BareMetalVersionInfo

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.
	HasDependencies bool `json:"hasDependencies,omitempty"`
	// Version: Version number e.g. 1.13.1.
	Version string `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 bare metal version.

func (BareMetalVersionInfo) MarshalJSON

func (s BareMetalVersionInfo) MarshalJSON() ([]byte, error)

type BareMetalVipConfig

type BareMetalVipConfig struct {
	// ControlPlaneVip: The VIP which you previously set aside for the Kubernetes
	// API of this bare metal user cluster.
	ControlPlaneVip string `json:"controlPlaneVip,omitempty"`
	// IngressVip: The VIP which you previously set aside for ingress traffic into
	// this bare metal user cluster.
	IngressVip string `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 load balancer.

func (BareMetalVipConfig) MarshalJSON

func (s BareMetalVipConfig) MarshalJSON() ([]byte, error)

type BareMetalWorkloadNodeConfig

type BareMetalWorkloadNodeConfig struct {
	// ContainerRuntime: Specifies which container runtime will be used.
	//
	// Possible values:
	//   "CONTAINER_RUNTIME_UNSPECIFIED" - No container runtime selected.
	//   "CONTAINERD" - Containerd runtime.
	ContainerRuntime string `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.
	MaxPodsPerNode int64 `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 (s BareMetalWorkloadNodeConfig) MarshalJSON() ([]byte, error)

type BinaryAuthorization added in v0.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.
	EvaluationMode string `json:"evaluationMode,omitempty"`
	// ForceSendFields is a list of field names (e.g. "EvaluationMode") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "EvaluationMode") to include in
	// API requests with the JSON null value. By default, fields with empty values
	// are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

BinaryAuthorization: Configuration for Binary Authorization.

func (BinaryAuthorization) MarshalJSON added in v0.139.0

func (s BinaryAuthorization) MarshalJSON() ([]byte, error)

type Binding

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).
	Role string `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 (s Binding) MarshalJSON() ([]byte, error)

type CancelOperationRequest

type CancelOperationRequest struct {
}

CancelOperationRequest: The request message for Operations.CancelOperation.

type ClusterUser

type ClusterUser struct {
	// Username: Required. The name of the user, e.g. `my-gcp-id@gmail.com`.
	Username string `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 (s ClusterUser) MarshalJSON() ([]byte, error)

type Empty

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 defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }

type EnrollBareMetalAdminClusterRequest

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.
	BareMetalAdminClusterId string `json:"bareMetalAdminClusterId,omitempty"`
	// Membership: Required. This is the full resource name of this admin cluster's
	// fleet membership.
	Membership string `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 bare metal admin cluster to the GKE on-prem API.

func (EnrollBareMetalAdminClusterRequest) MarshalJSON

func (s EnrollBareMetalAdminClusterRequest) MarshalJSON() ([]byte, error)

type EnrollBareMetalClusterRequest

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.
	AdminClusterMembership string `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.
	BareMetalClusterId string `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.
	LocalName string `json:"localName,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 metal cluster to the Anthos On-Prem API.

func (EnrollBareMetalClusterRequest) MarshalJSON

func (s EnrollBareMetalClusterRequest) MarshalJSON() ([]byte, error)

type EnrollBareMetalNodePoolRequest

type EnrollBareMetalNodePoolRequest struct {
	// BareMetalNodePoolId: User provided OnePlatform identifier that is used as
	// part of the resource name. (https://tools.ietf.org/html/rfc1123) format.
	BareMetalNodePoolId string `json:"bareMetalNodePoolId,omitempty"`
	// ValidateOnly: If set, only validate the request, but do not actually enroll
	// the node pool.
	ValidateOnly bool `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 metal node pool to the GKE on-prem API.

func (EnrollBareMetalNodePoolRequest) MarshalJSON

func (s EnrollBareMetalNodePoolRequest) MarshalJSON() ([]byte, error)

type EnrollVmwareAdminClusterRequest

type EnrollVmwareAdminClusterRequest struct {
	// Membership: Required. This is the full resource name of this admin cluster's
	// fleet membership.
	Membership string `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.
	VmwareAdminClusterId string `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 VMware admin cluster to the GKE on-prem API.

func (EnrollVmwareAdminClusterRequest) MarshalJSON

func (s EnrollVmwareAdminClusterRequest) MarshalJSON() ([]byte, error)

type EnrollVmwareClusterRequest

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.
	AdminClusterMembership string `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.
	LocalName string `json:"localName,omitempty"`
	// ValidateOnly: Validate the request without actually doing any updates.
	ValidateOnly bool `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.
	VmwareClusterId string `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 cluster to the Anthos On-Prem API.

func (EnrollVmwareClusterRequest) MarshalJSON

func (s EnrollVmwareClusterRequest) MarshalJSON() ([]byte, error)

type EnrollVmwareNodePoolRequest

type EnrollVmwareNodePoolRequest struct {
	// VmwareNodePoolId: The target node pool id to be enrolled.
	VmwareNodePoolId string `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 (s EnrollVmwareNodePoolRequest) MarshalJSON() ([]byte, error)

type Expr

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.
	Description string `json:"description,omitempty"`
	// Expression: Textual representation of an expression in Common Expression
	// Language syntax.
	Expression string `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.
	Location string `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.
	Title string `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 semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor 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 message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.

func (Expr) MarshalJSON

func (s Expr) MarshalJSON() ([]byte, error)

type Fleet

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/`.
	Membership string `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 for logically organizing clusters, letting you use and manage multi-cluster capabilities and apply consistent policies across your systems. See Anthos Fleets (`https://cloud.google.com/anthos/multicluster-management/fleets`) for more details on Anthos multi-cluster capabilities using Fleets. ##

func (Fleet) MarshalJSON

func (s Fleet) MarshalJSON() ([]byte, error)

type ListBareMetalAdminClustersResponse

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.
	NextPageToken string `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 metal admin clusters.

func (ListBareMetalAdminClustersResponse) MarshalJSON

func (s ListBareMetalAdminClustersResponse) MarshalJSON() ([]byte, error)

type ListBareMetalClustersResponse

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.
	NextPageToken string `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 metal Clusters.

func (ListBareMetalClustersResponse) MarshalJSON

func (s ListBareMetalClustersResponse) MarshalJSON() ([]byte, error)

type ListBareMetalNodePoolsResponse

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.
	NextPageToken string `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 node pools.

func (ListBareMetalNodePoolsResponse) MarshalJSON

func (s ListBareMetalNodePoolsResponse) MarshalJSON() ([]byte, error)

type ListLocationsResponse

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.
	NextPageToken string `json:"nextPageToken,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the server.
	googleapi.ServerResponse `json:"-"`
	// ForceSendFields is a list of field names (e.g. "Locations") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://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 (s ListLocationsResponse) MarshalJSON() ([]byte, error)

type ListOperationsResponse

type ListOperationsResponse struct {
	// NextPageToken: The standard List next-page token.
	NextPageToken string `json:"nextPageToken,omitempty"`
	// Operations: A list of operations that matches the specified filter in the
	// request.
	Operations []*Operation `json:"operations,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 (s ListOperationsResponse) MarshalJSON() ([]byte, error)

type ListVmwareAdminClustersResponse

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.
	NextPageToken string `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 admin clusters.

func (ListVmwareAdminClustersResponse) MarshalJSON

func (s ListVmwareAdminClustersResponse) MarshalJSON() ([]byte, error)

type ListVmwareClustersResponse

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.
	NextPageToken string `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 (s ListVmwareClustersResponse) MarshalJSON() ([]byte, error)

type ListVmwareNodePoolsResponse

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.
	NextPageToken string `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 (s ListVmwareNodePoolsResponse) MarshalJSON() ([]byte, error)

type Location

type Location struct {
	// DisplayName: The friendly name for this location, typically a nearby city
	// name. For example, "Tokyo".
	DisplayName string `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".
	LocationId string `json:"locationId,omitempty"`
	// Metadata: Service-specific metadata. For example the available capacity at
	// the given location.
	Metadata googleapi.RawMessage `json:"metadata,omitempty"`
	// Name: Resource name for the location, which may vary between
	// implementations. For example:
	// "projects/example-project/locations/us-east1"
	Name string `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 (s Location) MarshalJSON() ([]byte, error)

type Metric added in v0.130.0

type Metric struct {
	// DoubleValue: For metrics with floating point value.
	DoubleValue float64 `json:"doubleValue,omitempty"`
	// IntValue: For metrics with integer value.
	IntValue int64 `json:"intValue,omitempty,string"`
	// 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.
	Metric string `json:"metric,omitempty"`
	// StringValue: For metrics with custom values (ratios, visual progress, etc.).
	StringValue string `json:"stringValue,omitempty"`
	// ForceSendFields is a list of field names (e.g. "DoubleValue") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "DoubleValue") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

Metric: Progress metric is (string, int|float|string) pair.

func (Metric) MarshalJSON added in v0.130.0

func (s Metric) MarshalJSON() ([]byte, error)

func (*Metric) UnmarshalJSON added in v0.130.0

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

type NodeTaint

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.
	Effect string `json:"effect,omitempty"`
	// Key: Key associated with the effect.
	Key string `json:"key,omitempty"`
	// Value: Value associated with the effect.
	Value string `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 how workloads are scheduled to your nodes. Node taints are permanent.

func (NodeTaint) MarshalJSON

func (s NodeTaint) MarshalJSON() ([]byte, error)

type Operation

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.
	Done bool `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.
	Metadata googleapi.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}`.
	Name string `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`.
	Response googleapi.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 the result of a network API call.

func (Operation) MarshalJSON

func (s Operation) MarshalJSON() ([]byte, error)

type OperationMetadata

type OperationMetadata struct {
	// ApiVersion: Output only. API version used to start the operation.
	ApiVersion string `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.
	ControlPlaneDisconnected bool `json:"controlPlaneDisconnected,omitempty"`
	// CreateTime: Output only. The time the operation was created.
	CreateTime string `json:"createTime,omitempty"`
	// EndTime: Output only. The time the operation finished running.
	EndTime string `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`.
	RequestedCancellation bool `json:"requestedCancellation,omitempty"`
	// StatusMessage: Output only. Human-readable status of the operation, if any.
	StatusMessage string `json:"statusMessage,omitempty"`
	// Target: Output only. Server-defined resource path for the target of the
	// operation.
	Target string `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.
	Type string `json:"type,omitempty"`
	// Verb: Output only. Name of the verb executed by the operation.
	Verb string `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 (s OperationMetadata) MarshalJSON() ([]byte, error)

type OperationProgress added in v0.130.0

type OperationProgress struct {
	// Stages: The stages of the operation.
	Stages []*OperationStage `json:"stages,omitempty"`
	// ForceSendFields is a list of field names (e.g. "Stages") to unconditionally
	// include in API requests. By default, fields with empty or default values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "Stages") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

OperationProgress: Information about operation progress.

func (OperationProgress) MarshalJSON added in v0.130.0

func (s OperationProgress) MarshalJSON() ([]byte, error)

type OperationStage added in v0.130.0

type OperationStage struct {
	// EndTime: Time the stage ended.
	EndTime string `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.
	Stage string `json:"stage,omitempty"`
	// StartTime: Time the stage started.
	StartTime string `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.
	State string `json:"state,omitempty"`
	// ForceSendFields is a list of field names (e.g. "EndTime") to unconditionally
	// include in API requests. By default, fields with empty or default values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "EndTime") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

OperationStage: Information about a particular stage of an operation.

func (OperationStage) MarshalJSON added in v0.130.0

func (s OperationStage) MarshalJSON() ([]byte, error)

type Policy

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.
	Etag string `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).
	Version int64 `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 specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the IAM documentation (https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** ``` { "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.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer 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 ``` For a description of IAM and its features, see the IAM documentation (https://cloud.google.com/iam/docs/).

func (Policy) MarshalJSON

func (s Policy) MarshalJSON() ([]byte, error)

type ProjectsLocationsBareMetalAdminClustersCreateCall

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

func (*ProjectsLocationsBareMetalAdminClustersCreateCall) AllowPreflightFailure added in v0.195.0

AllowPreflightFailure sets the optional parameter "allowPreflightFailure": If set to true, CLM will force CCFE to persist the cluster resource in RMS when the creation fails during standalone preflight checks. In that case the subsequent create call will fail with "cluster already exists" error and hence a update cluster is required to fix the cluster.

func (*ProjectsLocationsBareMetalAdminClustersCreateCall) BareMetalAdminClusterId

BareMetalAdminClusterId sets the optional parameter "bareMetalAdminClusterId": Required. User provided identifier that is used as part of the resource name; must conform to RFC-1034 and additionally restrict 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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsBareMetalAdminClustersCreateCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsBareMetalAdminClustersCreateCall) Header

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

func (*ProjectsLocationsBareMetalAdminClustersCreateCall) ValidateOnly

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

type ProjectsLocationsBareMetalAdminClustersEnrollCall

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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsBareMetalAdminClustersEnrollCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsBareMetalAdminClustersEnrollCall) Header

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

type ProjectsLocationsBareMetalAdminClustersGetCall

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

func (*ProjectsLocationsBareMetalAdminClustersGetCall) AllowMissing added in v0.195.0

AllowMissing sets the optional parameter "allowMissing": If true, return BareMetal 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 returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsBareMetalAdminClustersGetCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsBareMetalAdminClustersGetCall) Header

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

func (*ProjectsLocationsBareMetalAdminClustersGetCall) IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

func (*ProjectsLocationsBareMetalAdminClustersGetCall) View added in v0.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 are returned. 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 GetBareMetalAdminClusterRequest method.

type ProjectsLocationsBareMetalAdminClustersGetIamPolicyCall

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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsBareMetalAdminClustersGetIamPolicyCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsBareMetalAdminClustersGetIamPolicyCall) Header

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

func (*ProjectsLocationsBareMetalAdminClustersGetIamPolicyCall) IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

func (*ProjectsLocationsBareMetalAdminClustersGetIamPolicyCall) OptionsRequestedPolicyVersion

OptionsRequestedPolicyVersion sets the optional parameter "options.requestedPolicyVersion": The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the IAM documentation (https://cloud.google.com/iam/help/conditions/resource-policies).

type ProjectsLocationsBareMetalAdminClustersListCall

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

func (*ProjectsLocationsBareMetalAdminClustersListCall) AllowMissing added in v0.195.0

AllowMissing sets the optional parameter "allowMissing": If true, return list 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 response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsBareMetalAdminClustersListCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsBareMetalAdminClustersListCall) Header

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

func (*ProjectsLocationsBareMetalAdminClustersListCall) IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

func (*ProjectsLocationsBareMetalAdminClustersListCall) PageSize

PageSize sets the optional parameter "pageSize": Requested page size. Server may return fewer items than requested. If unspecified, at most 50 clusters will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.

func (*ProjectsLocationsBareMetalAdminClustersListCall) PageToken

PageToken sets the optional parameter "pageToken": A token identifying a page 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 and membership are returned. The default/unset value `CLUSTER_VIEW_UNSPECIFIED` is the same as `FULL', which returns the complete admin 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 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 ListBareMetalAdminClustersRequest method.

type ProjectsLocationsBareMetalAdminClustersOperationsGetCall

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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsBareMetalAdminClustersOperationsGetCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsBareMetalAdminClustersOperationsGetCall) Header

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

func (*ProjectsLocationsBareMetalAdminClustersOperationsGetCall) IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

type ProjectsLocationsBareMetalAdminClustersOperationsListCall

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 returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsBareMetalAdminClustersOperationsListCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

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 add headers to the request.

func (*ProjectsLocationsBareMetalAdminClustersOperationsListCall) IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

func (*ProjectsLocationsBareMetalAdminClustersOperationsListCall) PageSize

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

func (*ProjectsLocationsBareMetalAdminClustersOperationsListCall) PageToken

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

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.

type ProjectsLocationsBareMetalAdminClustersOperationsService

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

func (*ProjectsLocationsBareMetalAdminClustersOperationsService) Get

Get: Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.

- name: The name of the operation resource.

func (*ProjectsLocationsBareMetalAdminClustersOperationsService) List

List: Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.

- name: The name of the operation's parent resource.

type ProjectsLocationsBareMetalAdminClustersPatchCall

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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsBareMetalAdminClustersPatchCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsBareMetalAdminClustersPatchCall) Header

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

func (*ProjectsLocationsBareMetalAdminClustersPatchCall) UpdateMask

UpdateMask sets the optional parameter "updateMask": Required. Field mask is used to specify the fields to be overwritten in the BareMetalAdminCluster resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all populated fields in the BareMetalAdminCluster message will be updated. Empty fields will be ignored unless a field mask is used.

func (*ProjectsLocationsBareMetalAdminClustersPatchCall) ValidateOnly

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

type ProjectsLocationsBareMetalAdminClustersQueryVersionConfigCall

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 a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsBareMetalAdminClustersQueryVersionConfigCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsBareMetalAdminClustersQueryVersionConfigCall) Header

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

func (*ProjectsLocationsBareMetalAdminClustersQueryVersionConfigCall) UpgradeConfigClusterName

UpgradeConfigClusterName sets the optional parameter "upgradeConfig.clusterName": The admin cluster resource name. This is the full resource name of the admin cluster resource. Format: "projects/{project}/locations/{location}/bareMetalAdminClusters/{bare_metal_a dmin_cluster}"

type ProjectsLocationsBareMetalAdminClustersService

type ProjectsLocationsBareMetalAdminClustersService struct {
	Operations *ProjectsLocationsBareMetalAdminClustersOperationsService
	// contains filtered or unexported fields
}

func NewProjectsLocationsBareMetalAdminClustersService

func NewProjectsLocationsBareMetalAdminClustersService(s *Service) *ProjectsLocationsBareMetalAdminClustersService

func (*ProjectsLocationsBareMetalAdminClustersService) Create

Create: Creates a new bare metal admin cluster in a given project and location. The API needs to be combined with creating a bootstrap cluster to work. 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 is created in. Format: "projects/{project}/locations/{location}".

func (*ProjectsLocationsBareMetalAdminClustersService) Enroll

Enroll: Enrolls an existing bare metal admin cluster to the Anthos On-Prem API within a given project and location. Through enrollment, an existing admin cluster will become Anthos On-Prem API managed. The corresponding GCP resources will be created and all future modifications to the cluster will be expected to be performed through the API.

  • parent: The parent of the project and location where the cluster is enrolled 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 an empty 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 are listed 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 version config. 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 specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.

func (*ProjectsLocationsBareMetalAdminClustersService) Unenroll

Unenroll: Unenrolls an existing bare metal admin cluster from the Anthos On-Prem API within a given project and location. Unenrollment removes the Cloud reference to the cluster without modifying the underlying OnPrem Resources. Clusters will continue to run; however, they will no longer be accessible 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}".

type ProjectsLocationsBareMetalAdminClustersSetIamPolicyCall

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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsBareMetalAdminClustersSetIamPolicyCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsBareMetalAdminClustersSetIamPolicyCall) Header

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

type ProjectsLocationsBareMetalAdminClustersTestIamPermissionsCall

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 was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsBareMetalAdminClustersTestIamPermissionsCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsBareMetalAdminClustersTestIamPermissionsCall) Header

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

type ProjectsLocationsBareMetalAdminClustersUnenrollCall

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

func (*ProjectsLocationsBareMetalAdminClustersUnenrollCall) AllowMissing

AllowMissing sets the optional parameter "allowMissing": If set to true, and the bare metal admin cluster is not found, the request will succeed but no action 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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsBareMetalAdminClustersUnenrollCall) Etag

Etag sets the optional parameter "etag": The current etag of the bare metal admin cluster. If an etag is provided and does not match the current etag of the cluster, deletion will be blocked and an ABORTED error will be returned.

func (*ProjectsLocationsBareMetalAdminClustersUnenrollCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsBareMetalAdminClustersUnenrollCall) Header

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

func (*ProjectsLocationsBareMetalAdminClustersUnenrollCall) IgnoreErrors added in v0.127.0

IgnoreErrors sets the optional parameter "ignoreErrors": If set to true, the unenrollment of a bare metal admin cluster resource will succeed even if errors occur during unenrollment. This parameter can be used when you want to unenroll admin cluster resource and the on-prem admin cluster is disconnected / unreachable. WARNING: Using this parameter when your admin cluster still exists may result in a deleted GCP admin cluster but existing resourcelink in on-prem admin cluster and membership.

func (*ProjectsLocationsBareMetalAdminClustersUnenrollCall) ValidateOnly

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

type ProjectsLocationsBareMetalClustersBareMetalNodePoolsCreateCall

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

func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsCreateCall) BareMetalNodePoolId

BareMetalNodePoolId sets the optional parameter "bareMetalNodePoolId": The ID to use for the node pool, which will become the final component of the node pool's resource name. This value must be up to 63 characters, and valid characters are /a-z-/. The value must not be permitted to be a UUID (or UUID-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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsCreateCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsCreateCall) Header

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

func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsCreateCall) ValidateOnly

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

type ProjectsLocationsBareMetalClustersBareMetalNodePoolsDeleteCall

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

func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsDeleteCall) AllowMissing

AllowMissing sets the optional parameter "allowMissing": If set to true, and the bare metal node pool is not found, the request will succeed but no action 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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsDeleteCall) Etag

Etag sets the optional parameter "etag": The current etag of the BareMetalNodePool. If an etag is provided and does not match the current etag of the node pool, deletion will be blocked and an ABORTED error will be returned.

func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsDeleteCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsDeleteCall) Header

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

func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsDeleteCall) IgnoreErrors

IgnoreErrors sets the optional parameter "ignoreErrors": If set to true, the deletion of a bare metal node pool resource will succeed even if errors occur during deletion. This parameter can be used when you want to delete GCP's node pool resource and you've already deleted the on-prem admin cluster that hosted your node pool. WARNING: Using this parameter when your user cluster still exists may result in a deleted GCP node pool but an existing on-prem node pool.

func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsDeleteCall) ValidateOnly

ValidateOnly sets the optional parameter "validateOnly": If set, only validate the request, but do not actually delete the node pool.

type ProjectsLocationsBareMetalClustersBareMetalNodePoolsEnrollCall

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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsEnrollCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsEnrollCall) Header

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

type ProjectsLocationsBareMetalClustersBareMetalNodePoolsGetCall

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 at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsGetCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsGetCall) Header

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

func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsGetCall) IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsGetCall) View added in v0.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. The default/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.

type ProjectsLocationsBareMetalClustersBareMetalNodePoolsGetIamPolicyCall

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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsGetIamPolicyCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsGetIamPolicyCall) Header

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

func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsGetIamPolicyCall) IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsGetIamPolicyCall) OptionsRequestedPolicyVersion

OptionsRequestedPolicyVersion sets the optional parameter "options.requestedPolicyVersion": The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the IAM documentation (https://cloud.google.com/iam/help/conditions/resource-policies).

type ProjectsLocationsBareMetalClustersBareMetalNodePoolsListCall

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 was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsListCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsListCall) Header

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

func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsListCall) IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsListCall) PageSize

PageSize sets the optional parameter "pageSize": The maximum number of node pools to return. The service may return fewer than this value. If unspecified, at most 50 node pools will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.

func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsListCall) PageToken

PageToken sets the optional parameter "pageToken": A page token, received from a previous `ListBareMetalNodePools` call. Provide this to retrieve the subsequent 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) View added in v0.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. The default/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 ListBareMetalNodePoolsRequest method.

type ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsGetCall

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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsGetCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsGetCall) Header

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

func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsGetCall) IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

type ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsListCall

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 returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsListCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

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 add headers to the request.

func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsListCall) IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsListCall) PageSize

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

func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsListCall) PageToken

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

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.

type ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsService

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

func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsService) Get

Get: Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.

- name: The name of the operation resource.

func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsService) List

List: Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.

- name: The name of the operation's parent resource.

type ProjectsLocationsBareMetalClustersBareMetalNodePoolsPatchCall

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

func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsPatchCall) AllowMissing added in v0.125.0

AllowMissing sets the optional parameter "allowMissing": If set to true, and the bare metal node pool is not found, the request will create a new bare metal node pool with the provided configuration. The user must have both create 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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsPatchCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsPatchCall) Header

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

func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsPatchCall) UpdateMask

UpdateMask sets the optional parameter "updateMask": Required. Field mask is used to specify the fields to be overwritten in the BareMetalNodePool resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all populated fields in the BareMetalNodePool message will be updated. Empty fields will be ignored unless a field mask is used.

func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsPatchCall) ValidateOnly

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

type ProjectsLocationsBareMetalClustersBareMetalNodePoolsService

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 and Bare 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}/bareMet alNodePools/{nodepool}.

func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsService) Enroll

Enroll: Enrolls an existing bare metal node pool to the Anthos On-Prem API within a given project and location. Through enrollment, an existing node pool will become Anthos On-Prem API managed. The corresponding GCP resources will 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}/bareMet alNodePools/{nodepool}.

func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsService) GetIamPolicy

GetIamPolicy: Gets the access control policy for a resource. Returns an empty 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 bare metal 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 specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization 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}/bareMet alNodePools/{nodepool}.

type ProjectsLocationsBareMetalClustersBareMetalNodePoolsSetIamPolicyCall

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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsSetIamPolicyCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsSetIamPolicyCall) Header

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

type ProjectsLocationsBareMetalClustersBareMetalNodePoolsTestIamPermissionsCall

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 was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsTestIamPermissionsCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsTestIamPermissionsCall) Header

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

type ProjectsLocationsBareMetalClustersBareMetalNodePoolsUnenrollCall

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

func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsUnenrollCall) AllowMissing

AllowMissing sets the optional parameter "allowMissing": If set to true, and the bare metal node pool is not found, the request will succeed but no action 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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsUnenrollCall) Etag

Etag sets the optional parameter "etag": The current etag of the bare metal node pool. If an etag is provided and does not match the current etag of node pool, deletion will be blocked and an ABORTED error will be returned.

func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsUnenrollCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsUnenrollCall) Header

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

func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsUnenrollCall) ValidateOnly

ValidateOnly sets the optional parameter "validateOnly": If set, only validate the request, but do not actually unenroll the node pool.

type ProjectsLocationsBareMetalClustersCreateCall

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

func (*ProjectsLocationsBareMetalClustersCreateCall) AllowPreflightFailure added in v0.195.0

AllowPreflightFailure sets the optional parameter "allowPreflightFailure": If set to true, CLM will force CCFE to persist the cluster resource in RMS when the creation fails during standalone preflight checks. In that case the subsequent create call will fail with "cluster already exists" error and hence 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 resource name; must conform to RFC-1034 and additionally restrict to lower-cased letters. 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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsBareMetalClustersCreateCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsBareMetalClustersCreateCall) Header

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

func (*ProjectsLocationsBareMetalClustersCreateCall) ValidateOnly

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

type ProjectsLocationsBareMetalClustersDeleteCall

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

func (*ProjectsLocationsBareMetalClustersDeleteCall) AllowMissing

AllowMissing sets the optional parameter "allowMissing": If set to true, and the bare metal cluster is not found, the request will succeed but no action will 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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsBareMetalClustersDeleteCall) Etag

Etag sets the optional parameter "etag": The current etag of the bare metal Cluster. If an etag is provided and does not match the current etag of the cluster, deletion will be blocked and an ABORTED error will be returned.

func (*ProjectsLocationsBareMetalClustersDeleteCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsBareMetalClustersDeleteCall) Force

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

func (*ProjectsLocationsBareMetalClustersDeleteCall) Header

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

func (*ProjectsLocationsBareMetalClustersDeleteCall) IgnoreErrors

IgnoreErrors sets the optional parameter "ignoreErrors": If set to true, the deletion of a bare metal user cluster resource will succeed even if errors occur during deletion. This parameter can be used when you want to delete GCP's cluster resource and the on-prem admin cluster that hosts your user cluster is disconnected / unreachable or deleted. WARNING: Using this parameter when your user cluster still exists may result in a deleted GCP user cluster but an existing on-prem user cluster.

func (*ProjectsLocationsBareMetalClustersDeleteCall) ValidateOnly

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

type ProjectsLocationsBareMetalClustersEnrollCall

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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsBareMetalClustersEnrollCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsBareMetalClustersEnrollCall) Header

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

type ProjectsLocationsBareMetalClustersGetCall

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

func (*ProjectsLocationsBareMetalClustersGetCall) AllowMissing added in v0.195.0

AllowMissing sets the optional parameter "allowMissing": If true, return BareMetal 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 at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsBareMetalClustersGetCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsBareMetalClustersGetCall) Header

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

func (*ProjectsLocationsBareMetalClustersGetCall) IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

func (*ProjectsLocationsBareMetalClustersGetCall) View added in v0.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 cluster membership are returned. 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 admin cluster membership.

"FULL" - Includes the complete configuration for bare metal cluster

resource. This is the default value for GetBareMetalClusterRequest method.

type ProjectsLocationsBareMetalClustersGetIamPolicyCall

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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsBareMetalClustersGetIamPolicyCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsBareMetalClustersGetIamPolicyCall) Header

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

func (*ProjectsLocationsBareMetalClustersGetIamPolicyCall) IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

func (*ProjectsLocationsBareMetalClustersGetIamPolicyCall) OptionsRequestedPolicyVersion

func (c *ProjectsLocationsBareMetalClustersGetIamPolicyCall) OptionsRequestedPolicyVersion(optionsRequestedPolicyVersion int64) *ProjectsLocationsBareMetalClustersGetIamPolicyCall

OptionsRequestedPolicyVersion sets the optional parameter "options.requestedPolicyVersion": The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the IAM documentation (https://cloud.google.com/iam/help/conditions/resource-policies).

type ProjectsLocationsBareMetalClustersListCall

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

func (*ProjectsLocationsBareMetalClustersListCall) AllowMissing added in v0.195.0

AllowMissing sets the optional parameter "allowMissing": If true, return list 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 was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsBareMetalClustersListCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsBareMetalClustersListCall) Filter

Filter sets the optional parameter "filter": A resource filtering expression following https://google.aip.dev/160. When non-empty, only resource's whose attributes field matches the filter are returned.

func (*ProjectsLocationsBareMetalClustersListCall) Header

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

func (*ProjectsLocationsBareMetalClustersListCall) IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

func (*ProjectsLocationsBareMetalClustersListCall) PageSize

PageSize sets the optional parameter "pageSize": Requested page size. Server may return fewer items than requested. If unspecified, at most 50 clusters will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.

func (*ProjectsLocationsBareMetalClustersListCall) PageToken

PageToken sets the optional parameter "pageToken": A token identifying a page 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 cluster membership are returned. 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 admin cluster membership.

"FULL" - Includes the complete configuration for bare metal cluster

resource. This is the default value for ListBareMetalClustersRequest method.

type ProjectsLocationsBareMetalClustersOperationsGetCall

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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsBareMetalClustersOperationsGetCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsBareMetalClustersOperationsGetCall) Header

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

func (*ProjectsLocationsBareMetalClustersOperationsGetCall) IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

type ProjectsLocationsBareMetalClustersOperationsListCall

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 returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsBareMetalClustersOperationsListCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

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 add headers to the request.

func (*ProjectsLocationsBareMetalClustersOperationsListCall) IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

func (*ProjectsLocationsBareMetalClustersOperationsListCall) PageSize

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

func (*ProjectsLocationsBareMetalClustersOperationsListCall) PageToken

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

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.

type ProjectsLocationsBareMetalClustersOperationsService

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

func (*ProjectsLocationsBareMetalClustersOperationsService) Get

Get: Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.

- name: The name of the operation resource.

func (*ProjectsLocationsBareMetalClustersOperationsService) List

List: Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.

- name: The name of the operation's parent resource.

type ProjectsLocationsBareMetalClustersPatchCall

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

func (*ProjectsLocationsBareMetalClustersPatchCall) AllowMissing

AllowMissing sets the optional parameter "allowMissing": If set to true, and the bare metal cluster is not found, the request will create a new bare metal cluster with the provided configuration. The user must have both create 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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsBareMetalClustersPatchCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsBareMetalClustersPatchCall) Header

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

func (*ProjectsLocationsBareMetalClustersPatchCall) UpdateMask

UpdateMask sets the optional parameter "updateMask": Required. Field mask is used to specify the fields to be overwritten in the BareMetalCluster resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all populated fields in the BareMetalCluster message will be updated. Empty fields will be ignored unless a field mask is used.

func (*ProjectsLocationsBareMetalClustersPatchCall) ValidateOnly

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

type ProjectsLocationsBareMetalClustersQueryVersionConfigCall

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(createConfigAdminClusterMembership string) *ProjectsLocationsBareMetalClustersQueryVersionConfigCall

CreateConfigAdminClusterMembership sets the optional parameter "createConfig.adminClusterMembership": The admin cluster membership. This is the 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 is the full resource name of the admin cluster resource. Format: "projects/{project}/locations/{location}/bareMetalAdminClusters/{bare_metal_a dmin_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 response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsBareMetalClustersQueryVersionConfigCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsBareMetalClustersQueryVersionConfigCall) Header

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

func (*ProjectsLocationsBareMetalClustersQueryVersionConfigCall) UpgradeConfigClusterName

UpgradeConfigClusterName sets the optional parameter "upgradeConfig.clusterName": The user cluster resource name. This is the full resource name of the user cluster resource. Format: "projects/{project}/locations/{location}/bareMetalClusters/{bare_metal_cluste r}"

type ProjectsLocationsBareMetalClustersService

type ProjectsLocationsBareMetalClustersService struct {
	BareMetalNodePools *ProjectsLocationsBareMetalClustersBareMetalNodePoolsService

	Operations *ProjectsLocationsBareMetalClustersOperationsService
	// contains filtered or unexported fields
}

func NewProjectsLocationsBareMetalClustersService

func NewProjectsLocationsBareMetalClustersService(s *Service) *ProjectsLocationsBareMetalClustersService

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 is created 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_clus ter}".

func (*ProjectsLocationsBareMetalClustersService) Enroll

Enroll: Enrolls an existing bare metal user cluster and its node pools to the Anthos On-Prem API within a given project and location. Through enrollment, an existing cluster will become Anthos On-Prem API managed. The corresponding GCP resources will be created and all future modifications to the cluster and/or its node pools will be expected to be performed through the API.

  • parent: The parent of the project and location where the cluster is enrolled 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_clus ter}".

func (*ProjectsLocationsBareMetalClustersService) GetIamPolicy

GetIamPolicy: Gets the access control policy for a resource. Returns an empty 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 are listed 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 version config. 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 specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.

func (*ProjectsLocationsBareMetalClustersService) Unenroll

Unenroll: Unenrolls an existing bare metal user cluster and its node pools from the Anthos On-Prem API within a given project and location. Unenrollment removes the Cloud reference to the cluster without modifying the underlying OnPrem Resources. Clusters and node pools will continue to run; however, they will no longer be accessible through the Anthos On-Prem API or its clients.

  • name: Name of the bare metal user cluster to be unenrolled. Format: "projects/{project}/locations/{location}/bareMetalClusters/{cluster}".

type ProjectsLocationsBareMetalClustersSetIamPolicyCall

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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsBareMetalClustersSetIamPolicyCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsBareMetalClustersSetIamPolicyCall) Header

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

type ProjectsLocationsBareMetalClustersTestIamPermissionsCall

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 was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsBareMetalClustersTestIamPermissionsCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsBareMetalClustersTestIamPermissionsCall) Header

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

type ProjectsLocationsBareMetalClustersUnenrollCall

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

func (*ProjectsLocationsBareMetalClustersUnenrollCall) AllowMissing

AllowMissing sets the optional parameter "allowMissing": If set to true, and the bare metal cluster is not found, the request will succeed but no action will 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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsBareMetalClustersUnenrollCall) Etag

Etag sets the optional parameter "etag": The current etag of the bare metal Cluster. If an etag is provided and does not match the current etag of the cluster, deletion will be blocked and an ABORTED error will be returned.

func (*ProjectsLocationsBareMetalClustersUnenrollCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsBareMetalClustersUnenrollCall) Force

Force sets the optional parameter "force": This is required if the cluster has any associated node pools. When set, any child node pools will also be unenrolled.

func (*ProjectsLocationsBareMetalClustersUnenrollCall) Header

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

func (*ProjectsLocationsBareMetalClustersUnenrollCall) ValidateOnly

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

type ProjectsLocationsGetCall

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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsGetCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsGetCall) Header

func (c *ProjectsLocationsGetCall) Header() http.Header

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

func (*ProjectsLocationsGetCall) IfNoneMatch

func (c *ProjectsLocationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsGetCall

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

type ProjectsLocationsListCall

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 returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsListCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsListCall) Filter

Filter sets the optional parameter "filter": A filter to narrow down results to 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 add headers to the request.

func (*ProjectsLocationsListCall) IfNoneMatch

func (c *ProjectsLocationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsListCall

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

func (*ProjectsLocationsListCall) PageSize

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

func (*ProjectsLocationsListCall) PageToken

PageToken sets the optional parameter "pageToken": A page token received from the `next_page_token` field in the response. Send that page token to receive 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.

type ProjectsLocationsOperationsCancelCall

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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsOperationsCancelCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsOperationsCancelCall) Header

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

type ProjectsLocationsOperationsDeleteCall

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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsOperationsDeleteCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsOperationsDeleteCall) Header

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

type ProjectsLocationsOperationsGetCall

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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsOperationsGetCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsOperationsGetCall) Header

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

func (*ProjectsLocationsOperationsGetCall) IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

type ProjectsLocationsOperationsListCall

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 returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsOperationsListCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

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 add headers to the request.

func (*ProjectsLocationsOperationsListCall) IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

func (*ProjectsLocationsOperationsListCall) PageSize

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

func (*ProjectsLocationsOperationsListCall) PageToken

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

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.

type ProjectsLocationsOperationsService

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

func NewProjectsLocationsOperationsService

func NewProjectsLocationsOperationsService(s *Service) *ProjectsLocationsOperationsService

func (*ProjectsLocationsOperationsService) Cancel

Cancel: Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.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 the client is no longer interested in the operation result. It does not cancel the 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 this method to poll the operation result at intervals as recommended by the API service.

- name: The name of the operation resource.

func (*ProjectsLocationsOperationsService) List

List: Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.

- name: The name of the operation's parent resource.

type ProjectsLocationsService

type ProjectsLocationsService struct {
	BareMetalAdminClusters *ProjectsLocationsBareMetalAdminClustersService

	BareMetalClusters *ProjectsLocationsBareMetalClustersService

	Operations *ProjectsLocationsOperationsService

	VmwareAdminClusters *ProjectsLocationsVmwareAdminClustersService

	VmwareClusters *ProjectsLocationsVmwareClustersService
	// contains filtered or unexported fields
}

func NewProjectsLocationsService

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.

type ProjectsLocationsVmwareAdminClustersCreateCall added in v0.205.0

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

func (*ProjectsLocationsVmwareAdminClustersCreateCall) AllowPreflightFailure added in v0.205.0

AllowPreflightFailure sets the optional parameter "allowPreflightFailure": If set to true, CLM will force CCFE to persist the cluster resource in RMS when the creation fails during standalone preflight checks. In that case the subsequent create call will fail with "cluster already exists" error and hence a update cluster is required to fix the cluster.

func (*ProjectsLocationsVmwareAdminClustersCreateCall) Context added in v0.205.0

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

func (*ProjectsLocationsVmwareAdminClustersCreateCall) Do added in v0.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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsVmwareAdminClustersCreateCall) Fields added in v0.205.0

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsVmwareAdminClustersCreateCall) Header added in v0.205.0

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

func (*ProjectsLocationsVmwareAdminClustersCreateCall) ValidateOnly added in v0.205.0

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

func (*ProjectsLocationsVmwareAdminClustersCreateCall) VmwareAdminClusterId added in v0.205.0

VmwareAdminClusterId sets the optional parameter "vmwareAdminClusterId": Required. User provided identifier that is used as part of the resource name; must conform to RFC-1034 and additionally restrict to lower-cased letters. This comes out roughly to: /^a-z+[a-z0-9]$/

type ProjectsLocationsVmwareAdminClustersEnrollCall

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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsVmwareAdminClustersEnrollCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsVmwareAdminClustersEnrollCall) Header

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

type ProjectsLocationsVmwareAdminClustersGetCall

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

func (*ProjectsLocationsVmwareAdminClustersGetCall) AllowMissing added in v0.195.0

AllowMissing sets the optional parameter "allowMissing": If true, return Vmware 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 at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsVmwareAdminClustersGetCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsVmwareAdminClustersGetCall) Header

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

func (*ProjectsLocationsVmwareAdminClustersGetCall) IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

func (*ProjectsLocationsVmwareAdminClustersGetCall) View added in v0.125.0

View sets the optional parameter "view": View for VMware admin cluster. When `BASIC` is specified, only the cluster resource name and membership are returned. 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.

type ProjectsLocationsVmwareAdminClustersGetIamPolicyCall

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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsVmwareAdminClustersGetIamPolicyCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsVmwareAdminClustersGetIamPolicyCall) Header

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

func (*ProjectsLocationsVmwareAdminClustersGetIamPolicyCall) IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

func (*ProjectsLocationsVmwareAdminClustersGetIamPolicyCall) OptionsRequestedPolicyVersion

func (c *ProjectsLocationsVmwareAdminClustersGetIamPolicyCall) OptionsRequestedPolicyVersion(optionsRequestedPolicyVersion int64) *ProjectsLocationsVmwareAdminClustersGetIamPolicyCall

OptionsRequestedPolicyVersion sets the optional parameter "options.requestedPolicyVersion": The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the IAM documentation (https://cloud.google.com/iam/help/conditions/resource-policies).

type ProjectsLocationsVmwareAdminClustersListCall

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

func (*ProjectsLocationsVmwareAdminClustersListCall) AllowMissing added in v0.195.0

AllowMissing sets the optional parameter "allowMissing": If true, return list 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 was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsVmwareAdminClustersListCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsVmwareAdminClustersListCall) Header

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

func (*ProjectsLocationsVmwareAdminClustersListCall) IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

func (*ProjectsLocationsVmwareAdminClustersListCall) PageSize

PageSize sets the optional parameter "pageSize": Requested page size. Server may return fewer items than requested. If unspecified, at most 50 clusters will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.

func (*ProjectsLocationsVmwareAdminClustersListCall) PageToken

PageToken sets the optional parameter "pageToken": A token identifying a page 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 and membership are returned. The default/unset value `CLUSTER_VIEW_UNSPECIFIED` is the same as `FULL', which returns the complete admin 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 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 ListVmwareAdminClustersRequest method.

type ProjectsLocationsVmwareAdminClustersOperationsGetCall

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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsVmwareAdminClustersOperationsGetCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsVmwareAdminClustersOperationsGetCall) Header

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

func (*ProjectsLocationsVmwareAdminClustersOperationsGetCall) IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

type ProjectsLocationsVmwareAdminClustersOperationsListCall

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 returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsVmwareAdminClustersOperationsListCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

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 add headers to the request.

func (*ProjectsLocationsVmwareAdminClustersOperationsListCall) IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

func (*ProjectsLocationsVmwareAdminClustersOperationsListCall) PageSize

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

func (*ProjectsLocationsVmwareAdminClustersOperationsListCall) PageToken

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

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.

type ProjectsLocationsVmwareAdminClustersOperationsService

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

func (*ProjectsLocationsVmwareAdminClustersOperationsService) Get

Get: Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.

- name: The name of the operation resource.

func (*ProjectsLocationsVmwareAdminClustersOperationsService) List

List: Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.

- name: The name of the operation's parent resource.

type ProjectsLocationsVmwareAdminClustersPatchCall

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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsVmwareAdminClustersPatchCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsVmwareAdminClustersPatchCall) Header

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

func (*ProjectsLocationsVmwareAdminClustersPatchCall) UpdateMask

UpdateMask sets the optional parameter "updateMask": Required. Field mask is used to specify the fields to be overwritten in the VMwareAdminCluster resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all populated fields in the VmwareAdminCluster message will be updated. Empty fields will be ignored unless a field mask is used.

func (*ProjectsLocationsVmwareAdminClustersPatchCall) ValidateOnly

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

type ProjectsLocationsVmwareAdminClustersService

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

func NewProjectsLocationsVmwareAdminClustersService

func NewProjectsLocationsVmwareAdminClustersService(s *Service) *ProjectsLocationsVmwareAdminClustersService

func (*ProjectsLocationsVmwareAdminClustersService) Create added in v0.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 is created in. Format: "projects/{project}/locations/{location}".

func (*ProjectsLocationsVmwareAdminClustersService) Enroll

Enroll: Enrolls an existing VMware admin cluster to the Anthos On-Prem API within a given project and location. Through enrollment, an existing admin cluster will become Anthos On-Prem API managed. The corresponding GCP resources will be created and all future modifications to the cluster will be expected to be performed through the API.

  • parent: The parent of the project and location where the cluster is enrolled 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 an empty 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 are listed 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 specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.

func (*ProjectsLocationsVmwareAdminClustersService) Unenroll

Unenroll: Unenrolls an existing VMware admin cluster from the Anthos On-Prem API within a given project and location. Unenrollment removes the Cloud reference to the cluster without modifying the underlying OnPrem Resources. Clusters will continue to run; however, they will no longer be accessible through 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}".

type ProjectsLocationsVmwareAdminClustersSetIamPolicyCall

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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsVmwareAdminClustersSetIamPolicyCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsVmwareAdminClustersSetIamPolicyCall) Header

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

type ProjectsLocationsVmwareAdminClustersTestIamPermissionsCall

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 was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsVmwareAdminClustersTestIamPermissionsCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsVmwareAdminClustersTestIamPermissionsCall) Header

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

type ProjectsLocationsVmwareAdminClustersUnenrollCall

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

func (*ProjectsLocationsVmwareAdminClustersUnenrollCall) AllowMissing

AllowMissing sets the optional parameter "allowMissing": If set to true, and the VMware admin cluster is not found, the request will succeed but no action 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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsVmwareAdminClustersUnenrollCall) Etag

Etag sets the optional parameter "etag": The current etag of the VMware admin cluster. If an etag is provided and does not match the current etag of the cluster, deletion will be blocked and an ABORTED error will be returned.

func (*ProjectsLocationsVmwareAdminClustersUnenrollCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsVmwareAdminClustersUnenrollCall) Header

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

func (*ProjectsLocationsVmwareAdminClustersUnenrollCall) ValidateOnly

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

type ProjectsLocationsVmwareClustersCreateCall

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

func (*ProjectsLocationsVmwareClustersCreateCall) AllowPreflightFailure added in v0.195.0

func (c *ProjectsLocationsVmwareClustersCreateCall) AllowPreflightFailure(allowPreflightFailure bool) *ProjectsLocationsVmwareClustersCreateCall

AllowPreflightFailure sets the optional parameter "allowPreflightFailure": If set to true, CLM will force CCFE to persist the cluster resource in RMS when the creation fails during standalone preflight checks. In that case the subsequent create call will fail with "cluster already exists" error and hence 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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsVmwareClustersCreateCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsVmwareClustersCreateCall) Header

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

func (*ProjectsLocationsVmwareClustersCreateCall) ValidateOnly

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

func (*ProjectsLocationsVmwareClustersCreateCall) VmwareClusterId

VmwareClusterId sets the optional parameter "vmwareClusterId": User provided identifier that is used as part of the resource name; This value must be up to 40 characters and follow RFC-1123 (https://tools.ietf.org/html/rfc1123) format.

type ProjectsLocationsVmwareClustersDeleteCall

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

func (*ProjectsLocationsVmwareClustersDeleteCall) AllowMissing

AllowMissing sets the optional parameter "allowMissing": If set to true, and the VMware cluster is not found, the request will succeed but no action will be 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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsVmwareClustersDeleteCall) Etag

Etag sets the optional parameter "etag": The current etag of the VMware cluster. If an etag is provided and does not match the current etag of the cluster, deletion will be blocked and an ABORTED error will be returned.

func (*ProjectsLocationsVmwareClustersDeleteCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsVmwareClustersDeleteCall) Force

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

func (*ProjectsLocationsVmwareClustersDeleteCall) Header

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

func (*ProjectsLocationsVmwareClustersDeleteCall) IgnoreErrors

IgnoreErrors sets the optional parameter "ignoreErrors": If set to true, the deletion of a VMware user cluster resource will succeed even if errors occur during deletion. This parameter can be used when you want to delete GCP's cluster resource and the on-prem admin cluster that hosts your user cluster is disconnected / unreachable or deleted. WARNING: Using this parameter when your user cluster still exists may result in a deleted GCP user cluster but an existing on-prem user cluster.

func (*ProjectsLocationsVmwareClustersDeleteCall) ValidateOnly

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

type ProjectsLocationsVmwareClustersEnrollCall

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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsVmwareClustersEnrollCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsVmwareClustersEnrollCall) Header

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

type ProjectsLocationsVmwareClustersGetCall

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

func (*ProjectsLocationsVmwareClustersGetCall) AllowMissing added in v0.195.0

AllowMissing sets the optional parameter "allowMissing": If true, return Vmware 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 check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsVmwareClustersGetCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsVmwareClustersGetCall) Header

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

func (*ProjectsLocationsVmwareClustersGetCall) IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

func (*ProjectsLocationsVmwareClustersGetCall) View added in v0.123.0

View sets the optional parameter "view": View for VMware user cluster. When `BASIC` is specified, only the cluster resource name and admin cluster membership are returned. 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 admin cluster membership.

"FULL" - Includes the complete configuration for VMware cluster resource.

This is the default value for GetVmwareClusterRequest method.

type ProjectsLocationsVmwareClustersGetIamPolicyCall

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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsVmwareClustersGetIamPolicyCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsVmwareClustersGetIamPolicyCall) Header

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

func (*ProjectsLocationsVmwareClustersGetIamPolicyCall) IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

func (*ProjectsLocationsVmwareClustersGetIamPolicyCall) OptionsRequestedPolicyVersion

func (c *ProjectsLocationsVmwareClustersGetIamPolicyCall) OptionsRequestedPolicyVersion(optionsRequestedPolicyVersion int64) *ProjectsLocationsVmwareClustersGetIamPolicyCall

OptionsRequestedPolicyVersion sets the optional parameter "options.requestedPolicyVersion": The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the IAM documentation (https://cloud.google.com/iam/help/conditions/resource-policies).

type ProjectsLocationsVmwareClustersListCall

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

func (*ProjectsLocationsVmwareClustersListCall) AllowMissing added in v0.195.0

AllowMissing sets the optional parameter "allowMissing": If true, return list 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 was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsVmwareClustersListCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsVmwareClustersListCall) Filter

Filter sets the optional parameter "filter": A resource filtering expression following https://google.aip.dev/160. When non-empty, only resource's whose attributes field matches the filter are returned.

func (*ProjectsLocationsVmwareClustersListCall) Header

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

func (*ProjectsLocationsVmwareClustersListCall) IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

func (*ProjectsLocationsVmwareClustersListCall) PageSize

PageSize sets the optional parameter "pageSize": Requested page size. Server may return fewer items than requested. If unspecified, at most 50 clusters will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.

func (*ProjectsLocationsVmwareClustersListCall) PageToken

PageToken sets the optional parameter "pageToken": A token identifying a page 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 cluster membership are returned. 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 admin cluster membership.

"FULL" - Includes the complete configuration for VMware cluster resource.

This is the default value for ListVmwareClustersRequest method.

type ProjectsLocationsVmwareClustersOperationsGetCall

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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsVmwareClustersOperationsGetCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsVmwareClustersOperationsGetCall) Header

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

func (*ProjectsLocationsVmwareClustersOperationsGetCall) IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

type ProjectsLocationsVmwareClustersOperationsListCall

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 returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsVmwareClustersOperationsListCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

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 add headers to the request.

func (*ProjectsLocationsVmwareClustersOperationsListCall) IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

func (*ProjectsLocationsVmwareClustersOperationsListCall) PageSize

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

func (*ProjectsLocationsVmwareClustersOperationsListCall) PageToken

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

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.

type ProjectsLocationsVmwareClustersOperationsService

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

func NewProjectsLocationsVmwareClustersOperationsService

func NewProjectsLocationsVmwareClustersOperationsService(s *Service) *ProjectsLocationsVmwareClustersOperationsService

func (*ProjectsLocationsVmwareClustersOperationsService) Get

Get: Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.

- name: The name of the operation resource.

func (*ProjectsLocationsVmwareClustersOperationsService) List

List: Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.

- name: The name of the operation's parent resource.

type ProjectsLocationsVmwareClustersPatchCall

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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsVmwareClustersPatchCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsVmwareClustersPatchCall) Header

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

func (*ProjectsLocationsVmwareClustersPatchCall) UpdateMask

UpdateMask sets the optional parameter "updateMask": Required. Field mask is used to specify the fields to be overwritten in the VMwareCluster resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all populated fields in the VmwareCluster message will be updated. Empty fields will be ignored unless a field mask is used.

func (*ProjectsLocationsVmwareClustersPatchCall) ValidateOnly

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

type ProjectsLocationsVmwareClustersQueryVersionConfigCall

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(createConfigAdminClusterMembership string) *ProjectsLocationsVmwareClustersQueryVersionConfigCall

CreateConfigAdminClusterMembership sets the optional parameter "createConfig.adminClusterMembership": The admin cluster membership. This is the 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 is the full resource name of the admin cluster resource. Format: "projects/{project}/locations/{location}/vmwareAdminClusters/{vmware_admin_cl uster}"

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 response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsVmwareClustersQueryVersionConfigCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsVmwareClustersQueryVersionConfigCall) Header

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

func (*ProjectsLocationsVmwareClustersQueryVersionConfigCall) UpgradeConfigClusterName

UpgradeConfigClusterName sets the optional parameter "upgradeConfig.clusterName": The user cluster resource name. This is the full resource name of the user cluster resource. Format: "projects/{project}/locations/{location}/vmwareClusters/{vmware_cluster}"

type ProjectsLocationsVmwareClustersService

type ProjectsLocationsVmwareClustersService struct {
	Operations *ProjectsLocationsVmwareClustersOperationsService

	VmwareNodePools *ProjectsLocationsVmwareClustersVmwareNodePoolsService
	// contains filtered or unexported fields
}

func NewProjectsLocationsVmwareClustersService

func NewProjectsLocationsVmwareClustersService(s *Service) *ProjectsLocationsVmwareClustersService

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 is created 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 the Anthos On-Prem API within a given project and location. Through enrollment, an existing cluster will become Anthos On-Prem API managed. The corresponding GCP resources will be created and all future modifications to the cluster and/or its node pools will be expected to be performed through the API.

  • parent: The parent of the project and location where the cluster is Enrolled 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 an empty 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 are listed 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 version config. 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 specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.

func (*ProjectsLocationsVmwareClustersService) Unenroll

Unenroll: Unenrolls an existing VMware user cluster and its node pools from the Anthos On-Prem API within a given project and location. Unenrollment removes the Cloud reference to the cluster without modifying the underlying OnPrem 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}".

type ProjectsLocationsVmwareClustersSetIamPolicyCall

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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsVmwareClustersSetIamPolicyCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsVmwareClustersSetIamPolicyCall) Header

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

type ProjectsLocationsVmwareClustersTestIamPermissionsCall

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 was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsVmwareClustersTestIamPermissionsCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsVmwareClustersTestIamPermissionsCall) Header

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

type ProjectsLocationsVmwareClustersUnenrollCall

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

func (*ProjectsLocationsVmwareClustersUnenrollCall) AllowMissing

AllowMissing sets the optional parameter "allowMissing": If set to true, and the VMware cluster is not found, the request will succeed but no action will be 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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsVmwareClustersUnenrollCall) Etag

Etag sets the optional parameter "etag": The current etag of the VMware Cluster. If an etag is provided and does not match the current etag of the cluster, deletion will be blocked and an ABORTED error will be returned.

func (*ProjectsLocationsVmwareClustersUnenrollCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsVmwareClustersUnenrollCall) Force

Force sets the optional parameter "force": This is required if the cluster has any associated node pools. When set, any child node pools will also be unenrolled.

func (*ProjectsLocationsVmwareClustersUnenrollCall) Header

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

func (*ProjectsLocationsVmwareClustersUnenrollCall) ValidateOnly

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

type ProjectsLocationsVmwareClustersVmwareNodePoolsCreateCall

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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsVmwareClustersVmwareNodePoolsCreateCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsVmwareClustersVmwareNodePoolsCreateCall) Header

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

func (*ProjectsLocationsVmwareClustersVmwareNodePoolsCreateCall) ValidateOnly

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

func (*ProjectsLocationsVmwareClustersVmwareNodePoolsCreateCall) VmwareNodePoolId

VmwareNodePoolId sets the optional parameter "vmwareNodePoolId": The ID to use for the node pool, which will become the final component of the node pool's resource name. This value must be up to 40 characters and follow RFC-1123 (https://tools.ietf.org/html/rfc1123) format. The value must not be permitted to be a UUID (or UUID-like: anything matching /^[0-9a-f]{8}(-[0-9a-f]{4}){3}-[0-9a-f]{12}$/i).

type ProjectsLocationsVmwareClustersVmwareNodePoolsDeleteCall

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

func (*ProjectsLocationsVmwareClustersVmwareNodePoolsDeleteCall) AllowMissing

AllowMissing sets the optional parameter "allowMissing": If set to true, and the VMware node pool is not found, the request will succeed but no action will 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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsVmwareClustersVmwareNodePoolsDeleteCall) Etag

Etag sets the optional parameter "etag": The current etag of the VmwareNodePool. If an etag is provided and does not match the current etag of the node pool, deletion will be blocked and an ABORTED error will be returned.

func (*ProjectsLocationsVmwareClustersVmwareNodePoolsDeleteCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsVmwareClustersVmwareNodePoolsDeleteCall) Header

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

func (*ProjectsLocationsVmwareClustersVmwareNodePoolsDeleteCall) IgnoreErrors

IgnoreErrors sets the optional parameter "ignoreErrors": If set to true, the deletion of a VMware node pool resource will succeed even if errors occur during deletion. This parameter can be used when you want to delete GCP's node pool resource and you've already deleted the on-prem admin cluster that hosted your node pool. WARNING: Using this parameter when your user cluster still exists may result in a deleted GCP node pool but an existing on-prem node pool.

func (*ProjectsLocationsVmwareClustersVmwareNodePoolsDeleteCall) ValidateOnly

ValidateOnly sets the optional parameter "validateOnly": If set, only validate the request, but do not actually delete the node pool.

type ProjectsLocationsVmwareClustersVmwareNodePoolsEnrollCall

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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsVmwareClustersVmwareNodePoolsEnrollCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsVmwareClustersVmwareNodePoolsEnrollCall) Header

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

type ProjectsLocationsVmwareClustersVmwareNodePoolsGetCall

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 check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsVmwareClustersVmwareNodePoolsGetCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsVmwareClustersVmwareNodePoolsGetCall) Header

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

func (*ProjectsLocationsVmwareClustersVmwareNodePoolsGetCall) IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

func (*ProjectsLocationsVmwareClustersVmwareNodePoolsGetCall) View added in v0.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. The default/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.

type ProjectsLocationsVmwareClustersVmwareNodePoolsGetIamPolicyCall

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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsVmwareClustersVmwareNodePoolsGetIamPolicyCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsVmwareClustersVmwareNodePoolsGetIamPolicyCall) Header

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

func (*ProjectsLocationsVmwareClustersVmwareNodePoolsGetIamPolicyCall) IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

func (*ProjectsLocationsVmwareClustersVmwareNodePoolsGetIamPolicyCall) OptionsRequestedPolicyVersion

OptionsRequestedPolicyVersion sets the optional parameter "options.requestedPolicyVersion": The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the IAM documentation (https://cloud.google.com/iam/help/conditions/resource-policies).

type ProjectsLocationsVmwareClustersVmwareNodePoolsListCall

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 was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsVmwareClustersVmwareNodePoolsListCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsVmwareClustersVmwareNodePoolsListCall) Header

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

func (*ProjectsLocationsVmwareClustersVmwareNodePoolsListCall) IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

func (*ProjectsLocationsVmwareClustersVmwareNodePoolsListCall) PageSize

PageSize sets the optional parameter "pageSize": The maximum number of node pools to return. The service may return fewer than this value. If unspecified, at most 50 node pools will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.

func (*ProjectsLocationsVmwareClustersVmwareNodePoolsListCall) PageToken

PageToken sets the optional parameter "pageToken": A page token, received from a previous `ListVmwareNodePools` call. Provide this to retrieve the subsequent 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) View added in v0.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. The default/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.

type ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsGetCall

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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsGetCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsGetCall) Header

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

func (*ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsGetCall) IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

type ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsListCall

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 returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsListCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

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 add headers to the request.

func (*ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsListCall) IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

func (*ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsListCall) PageSize

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

func (*ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsListCall) PageToken

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

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.

type ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsService

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

func (*ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsService) Get

Get: Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.

- name: The name of the operation resource.

func (*ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsService) List

List: Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.

- name: The name of the operation's parent resource.

type ProjectsLocationsVmwareClustersVmwareNodePoolsPatchCall

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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsVmwareClustersVmwareNodePoolsPatchCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsVmwareClustersVmwareNodePoolsPatchCall) Header

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

func (*ProjectsLocationsVmwareClustersVmwareNodePoolsPatchCall) UpdateMask

UpdateMask sets the optional parameter "updateMask": Required. Field mask is used to specify the fields to be overwritten in the VMwareNodePool resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all populated fields in the VMwareNodePool message will be updated. Empty fields will be ignored unless a field mask is used.

func (*ProjectsLocationsVmwareClustersVmwareNodePoolsPatchCall) ValidateOnly

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

type ProjectsLocationsVmwareClustersVmwareNodePoolsService

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 and VMWare 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}/vmwareNode Pools/{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}/vmwareNode Pools/{nodepool}.

func (*ProjectsLocationsVmwareClustersVmwareNodePoolsService) GetIamPolicy

GetIamPolicy: Gets the access control policy for a resource. Returns an empty 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 VMWare cluster.

  • 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 specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization 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}/vmwareNode Pools/{nodepool}.

type ProjectsLocationsVmwareClustersVmwareNodePoolsSetIamPolicyCall

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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsVmwareClustersVmwareNodePoolsSetIamPolicyCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsVmwareClustersVmwareNodePoolsSetIamPolicyCall) Header

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

type ProjectsLocationsVmwareClustersVmwareNodePoolsTestIamPermissionsCall

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 was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsVmwareClustersVmwareNodePoolsTestIamPermissionsCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsVmwareClustersVmwareNodePoolsTestIamPermissionsCall) Header

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

type ProjectsLocationsVmwareClustersVmwareNodePoolsUnenrollCall

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

func (*ProjectsLocationsVmwareClustersVmwareNodePoolsUnenrollCall) AllowMissing added in v0.125.0

AllowMissing sets the optional parameter "allowMissing": If set to true, and the VMware node pool is not found, the request will succeed but no action will 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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsVmwareClustersVmwareNodePoolsUnenrollCall) Etag

Etag sets the optional parameter "etag": The current etag of the VMware node pool. If an etag is provided and does not match the current etag of node pool, deletion will be blocked and an ABORTED error will be returned.

func (*ProjectsLocationsVmwareClustersVmwareNodePoolsUnenrollCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.

func (*ProjectsLocationsVmwareClustersVmwareNodePoolsUnenrollCall) Header

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

func (*ProjectsLocationsVmwareClustersVmwareNodePoolsUnenrollCall) ValidateOnly

ValidateOnly sets the optional parameter "validateOnly": If set, only validate the request, but do not actually unenroll the node pool.

type ProjectsService

type ProjectsService struct {
	Locations *ProjectsLocationsService
	// contains filtered or unexported fields
}

func NewProjectsService

func NewProjectsService(s *Service) *ProjectsService

type QueryBareMetalAdminVersionConfigResponse

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 bare metal admin cluster version config.

func (QueryBareMetalAdminVersionConfigResponse) MarshalJSON

type QueryBareMetalVersionConfigResponse

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 bare metal admin cluster version config.

func (QueryBareMetalVersionConfigResponse) MarshalJSON

func (s QueryBareMetalVersionConfigResponse) MarshalJSON() ([]byte, error)

type QueryVmwareVersionConfigResponse

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 user cluster version config.

func (QueryVmwareVersionConfigResponse) MarshalJSON

func (s QueryVmwareVersionConfigResponse) MarshalJSON() ([]byte, error)

type ResourceCondition

type ResourceCondition struct {
	// LastTransitionTime: Last time the condition transit from one status to
	// another.
	LastTransitionTime string `json:"lastTransitionTime,omitempty"`
	// Message: Human-readable message indicating details about last transition.
	Message string `json:"message,omitempty"`
	// Reason: Machine-readable message indicating details about last transition.
	Reason string `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.
	State string `json:"state,omitempty"`
	// Type: Type of the condition. (e.g., ClusterRunning, NodePoolRunning or
	// ServerSidePreflightReady)
	Type string `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 for higher-level status reporting from controller.

func (ResourceCondition) MarshalJSON

func (s ResourceCondition) MarshalJSON() ([]byte, error)

type ResourceStatus

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.
	ErrorMessage string `json:"errorMessage,omitempty"`
	// Version: Reflect current version of the resource.
	Version string `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 a certain status. (e.g., ERROR or DEGRADED).

func (ResourceStatus) MarshalJSON

func (s ResourceStatus) MarshalJSON() ([]byte, error)

type Service

type Service struct {
	BasePath  string // API endpoint base URL
	UserAgent string // optional additional User-Agent fragment

	Projects *ProjectsService
	// contains filtered or unexported fields
}

func New deprecated

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.

func NewService

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

NewService creates a new Service.

type SetIamPolicyRequest

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 (s SetIamPolicyRequest) MarshalJSON() ([]byte, error)

type Status

type Status struct {
	// Code: The status code, which should be an enum value of google.rpc.Code.
	Code int64 `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.
	Message string `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 for different programming environments, including REST APIs and RPC APIs. It is used by gRPC (https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the API Design Guide (https://cloud.google.com/apis/design/errors).

func (Status) MarshalJSON

func (s Status) MarshalJSON() ([]byte, error)

type TestIamPermissionsRequest

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 (s TestIamPermissionsRequest) MarshalJSON() ([]byte, error)

type TestIamPermissionsResponse

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 (s TestIamPermissionsResponse) MarshalJSON() ([]byte, error)

type UpgradeDependency added in v0.127.0

type UpgradeDependency struct {
	// CurrentVersion: Current version of the dependency e.g. 1.15.0.
	CurrentVersion string `json:"currentVersion,omitempty"`
	// Membership: Membership names are formatted as
	// `projects//locations//memberships/`.
	Membership string `json:"membership,omitempty"`
	// ResourceName: Resource name of the dependency.
	ResourceName string `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.
	TargetVersion string `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 upgrading a resource.

func (UpgradeDependency) MarshalJSON added in v0.127.0

func (s UpgradeDependency) MarshalJSON() ([]byte, error)

type ValidationCheck

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.
	Option string `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.
	Scenario string `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 (s ValidationCheck) MarshalJSON() ([]byte, error)

type ValidationCheckResult

type ValidationCheckResult struct {
	// Category: The category of the validation.
	Category string `json:"category,omitempty"`
	// Description: The description of the validation check.
	Description string `json:"description,omitempty"`
	// Details: Detailed failure information, which might be unformatted.
	Details string `json:"details,omitempty"`
	// Reason: A human-readable message of the check failure.
	Reason string `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.
	State string `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 the validation check.

func (ValidationCheckResult) MarshalJSON

func (s ValidationCheckResult) MarshalJSON() ([]byte, error)

type ValidationCheckStatus

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 validation check status.

func (ValidationCheckStatus) MarshalJSON

func (s ValidationCheckStatus) MarshalJSON() ([]byte, error)

type Version added in v0.195.0

type Version struct {
	// Count: Number of machines under the above version.
	Count int64 `json:"count,omitempty,string"`
	// Version: Resource version.
	Version string `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 a resource.

func (Version) MarshalJSON added in v0.195.0

func (s Version) MarshalJSON() ([]byte, error)

type Versions added in v0.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 of machines under this version.

func (Versions) MarshalJSON added in v0.195.0

func (s Versions) MarshalJSON() ([]byte, error)

type VmwareAAGConfig

type VmwareAAGConfig struct {
	// AagConfigDisabled: Spread nodes across at least three physical hosts
	// (requires at least three hosts). Enabled by default.
	AagConfigDisabled bool `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 user cluster.

func (VmwareAAGConfig) MarshalJSON

func (s VmwareAAGConfig) MarshalJSON() ([]byte, error)

type VmwareAddressPool

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.
	AvoidBuggyIps bool `json:"avoidBuggyIps,omitempty"`
	// ManualAssign: If true, prevent IP addresses from being automatically
	// assigned.
	ManualAssign bool `json:"manualAssign,omitempty"`
	// Pool: Required. The name of the address pool.
	Pool string `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 (s VmwareAddressPool) MarshalJSON() ([]byte, error)

type VmwareAdminAddonNodeConfig

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 node configurations for VMware admin cluster.

func (VmwareAdminAddonNodeConfig) MarshalJSON

func (s VmwareAdminAddonNodeConfig) MarshalJSON() ([]byte, error)

type VmwareAdminAuthorizationConfig added in v0.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 represents configuration for admin cluster authorization.

func (VmwareAdminAuthorizationConfig) MarshalJSON added in v0.151.0

func (s VmwareAdminAuthorizationConfig) MarshalJSON() ([]byte, error)

type VmwareAdminCluster

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.
	BootstrapClusterMembership string `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.
	CreateTime string `json:"createTime,omitempty"`
	// Description: A human readable description of this VMware admin cluster.
	Description string `json:"description,omitempty"`
	// Endpoint: Output only. The DNS name of VMware admin cluster's API server.
	Endpoint string `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.
	Etag string `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.
	ImageType string `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.
	LocalName string `json:"localName,omitempty"`
	// Name: Immutable. The VMware admin cluster resource name.
	Name string `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.
	OnPremVersion string `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"`
	// Reconciling: Output only. If set, there are currently changes in flight to
	// the VMware admin cluster.
	Reconciling bool `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.
	State string `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.
	Uid string `json:"uid,omitempty"`
	// UpdateTime: Output only. The time at which VMware admin cluster was last
	// updated.
	UpdateTime string `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 (s VmwareAdminCluster) MarshalJSON() ([]byte, error)

type VmwareAdminControlPlaneNodeConfig

type VmwareAdminControlPlaneNodeConfig struct {
	// Cpus: The number of vCPUs for the control-plane node of the admin cluster.
	Cpus int64 `json:"cpus,omitempty,string"`
	// Memory: The number of mebibytes of memory for the control-plane node of the
	// admin cluster.
	Memory int64 `json:"memory,omitempty,string"`
	// Replicas: The number of control plane nodes for this VMware admin cluster.
	// (default: 1 replica).
	Replicas int64 `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: VmwareAdminControlPlaneNodeConfig contains control plane node configuration for VMware admin cluster.

func (VmwareAdminControlPlaneNodeConfig) MarshalJSON

func (s VmwareAdminControlPlaneNodeConfig) MarshalJSON() ([]byte, error)

type VmwareAdminF5BigIpConfig

type VmwareAdminF5BigIpConfig struct {
	// Address: The load balancer's IP address.
	Address string `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'.
	Partition string `json:"partition,omitempty"`
	// SnatPool: The pool name. Only necessary, if using SNAT.
	SnatPool string `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 configuration parameters for an F5 BIG-IP load balancer.

func (VmwareAdminF5BigIpConfig) MarshalJSON

func (s VmwareAdminF5BigIpConfig) MarshalJSON() ([]byte, error)

type VmwareAdminHAControlPlaneConfig added in v0.133.0

type VmwareAdminHAControlPlaneConfig struct {
	// ControlPlaneIpBlock: Static IP addresses for the admin control plane nodes.
	ControlPlaneIpBlock *VmwareIpBlock `json:"controlPlaneIpBlock,omitempty"`
	// ForceSendFields is a list of field names (e.g. "ControlPlaneIpBlock") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "ControlPlaneIpBlock") to include
	// in API requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

VmwareAdminHAControlPlaneConfig: Specifies HA admin control plane config.

func (VmwareAdminHAControlPlaneConfig) MarshalJSON added in v0.133.0

func (s VmwareAdminHAControlPlaneConfig) MarshalJSON() ([]byte, error)

type VmwareAdminLoadBalancerConfig

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 load balancer configuration for VMware admin cluster.

func (VmwareAdminLoadBalancerConfig) MarshalJSON

func (s VmwareAdminLoadBalancerConfig) MarshalJSON() ([]byte, error)

type VmwareAdminManualLbConfig

type VmwareAdminManualLbConfig struct {
	// AddonsNodePort: NodePort for add-ons server in the admin cluster.
	AddonsNodePort int64 `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).
	ControlPlaneNodePort int64 `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).
	IngressHttpNodePort int64 `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).
	IngressHttpsNodePort int64 `json:"ingressHttpsNodePort,omitempty"`
	// KonnectivityServerNodePort: NodePort for konnectivity server service running
	// as a sidecar in each kube-apiserver pod (ex. 30564).
	KonnectivityServerNodePort int64 `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 (s VmwareAdminManualLbConfig) MarshalJSON() ([]byte, error)

type VmwareAdminMetalLbConfig

type VmwareAdminMetalLbConfig struct {
	// Enabled: Whether MetalLB is enabled.
	Enabled bool `json:"enabled,omitempty"`
	// ForceSendFields is a list of field names (e.g. "Enabled") to unconditionally
	// include in API requests. By default, fields with empty or default values are
	// omitted from API requests. See
	// https://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 configuration parameters for a MetalLB load balancer. For admin clusters, currently no configurations is needed.

func (VmwareAdminMetalLbConfig) MarshalJSON added in v0.207.0

func (s VmwareAdminMetalLbConfig) MarshalJSON() ([]byte, error)

type VmwareAdminNetworkConfig

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.
	VcenterNetwork string `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 network configuration for VMware admin cluster.

func (VmwareAdminNetworkConfig) MarshalJSON

func (s VmwareAdminNetworkConfig) MarshalJSON() ([]byte, error)

type VmwareAdminPreparedSecretsConfig added in v0.148.0

type VmwareAdminPreparedSecretsConfig struct {
	// Enabled: Whether prepared secrets is enabled.
	Enabled bool `json:"enabled,omitempty"`
	// ForceSendFields is a list of field names (e.g. "Enabled") to unconditionally
	// include in API requests. By default, fields with empty or default values are
	// omitted from API requests. See
	// https://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: VmwareAdminPreparedSecretsConfig represents configuration for admin cluster prepared secrets.

func (VmwareAdminPreparedSecretsConfig) MarshalJSON added in v0.148.0

func (s VmwareAdminPreparedSecretsConfig) MarshalJSON() ([]byte, error)

type VmwareAdminSeesawConfig added in v0.133.0

type VmwareAdminSeesawConfig struct {
	// EnableHa: Enable two load balancer VMs to achieve a highly-available Seesaw
	// load balancer.
	EnableHa bool `json:"enableHa,omitempty"`
	// Group: In general the following format should be used for the Seesaw group
	// name: seesaw-for-[cluster_name].
	Group string `json:"group,omitempty"`
	// IpBlocks: The IP Blocks to be used by the Seesaw load balancer
	IpBlocks []*VmwareIpBlock `json:"ipBlocks,omitempty"`
	// MasterIp: MasterIP is the IP announced by the master of Seesaw group.
	MasterIp string `json:"masterIp,omitempty"`
	// StackdriverName: Name to be used by Stackdriver.
	StackdriverName string `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 configuration parameters for an already existing Seesaw load balancer. IMPORTANT: Please note that the Anthos On-Prem API will not generate or update Seesaw configurations it can only bind a pre-existing configuration to a new user cluster. IMPORTANT: When attempting to create a user cluster with a pre-existing Seesaw load balancer you will need to follow some preparation steps before calling the 'CreateVmwareCluster' API method. First you will need to create the user cluster's namespace via kubectl. The namespace will need 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 see the documentation of 'VmwareCluster.local_name'. Once the namespace is created you will need to create a secret resource via kubectl. This secret will contain copies of your Seesaw credentials. The Secret must be called 'user-cluster-creds' and contain Seesaw's SSH and Cert credentials. The credentials must be keyed with the following names: 'seesaw-ssh-private-key', 'seesaw-ssh-public-key', 'seesaw-ssh-ca-key', 'seesaw-ssh-ca-cert'.

func (VmwareAdminSeesawConfig) MarshalJSON added in v0.133.0

func (s VmwareAdminSeesawConfig) MarshalJSON() ([]byte, error)

type VmwareAdminVCenterConfig

type VmwareAdminVCenterConfig struct {
	// Address: The vCenter IP address.
	Address string `json:"address,omitempty"`
	// CaCertData: Contains the vCenter CA certificate public key for SSL
	// verification.
	CaCertData string `json:"caCertData,omitempty"`
	// Cluster: The name of the vCenter cluster for the admin cluster.
	Cluster string `json:"cluster,omitempty"`
	// DataDisk: The name of the virtual machine disk (VMDK) for the admin cluster.
	DataDisk string `json:"dataDisk,omitempty"`
	// Datacenter: The name of the vCenter datacenter for the admin cluster.
	Datacenter string `json:"datacenter,omitempty"`
	// Datastore: The name of the vCenter datastore for the admin cluster.
	Datastore string `json:"datastore,omitempty"`
	// Folder: The name of the vCenter folder for the admin cluster.
	Folder string `json:"folder,omitempty"`
	// ResourcePool: The name of the vCenter resource pool for the admin cluster.
	ResourcePool string `json:"resourcePool,omitempty"`
	// StoragePolicyName: The name of the vCenter storage policy for the user
	// cluster.
	StoragePolicyName string `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 VCenter configuration for VMware admin cluster.

func (VmwareAdminVCenterConfig) MarshalJSON

func (s VmwareAdminVCenterConfig) MarshalJSON() ([]byte, error)

type VmwareAdminVipConfig

type VmwareAdminVipConfig struct {
	// AddonsVip: The VIP to configure the load balancer for add-ons.
	AddonsVip string `json:"addonsVip,omitempty"`
	// ControlPlaneVip: The VIP which you previously set aside for the Kubernetes
	// API of the admin cluster.
	ControlPlaneVip string `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 balancer configurations.

func (VmwareAdminVipConfig) MarshalJSON

func (s VmwareAdminVipConfig) MarshalJSON() ([]byte, error)

type VmwareAutoRepairConfig

type VmwareAutoRepairConfig struct {
	// Enabled: Whether auto repair is enabled.
	Enabled bool `json:"enabled,omitempty"`
	// ForceSendFields is a list of field names (e.g. "Enabled") to unconditionally
	// include in API requests. By default, fields with empty or default values are
	// omitted from API requests. See
	// https://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. The cluster-health-controller is deployed only if Enabled is true.

func (VmwareAutoRepairConfig) MarshalJSON

func (s VmwareAutoRepairConfig) MarshalJSON() ([]byte, error)

type VmwareAutoResizeConfig

type VmwareAutoResizeConfig struct {
	// Enabled: Whether to enable controle plane node auto resizing.
	Enabled bool `json:"enabled,omitempty"`
	// ForceSendFields is a list of field names (e.g. "Enabled") to unconditionally
	// include in API requests. By default, fields with empty or default values are
	// omitted from API requests. See
	// https://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 the VMware user cluster.

func (VmwareAutoResizeConfig) MarshalJSON

func (s VmwareAutoResizeConfig) MarshalJSON() ([]byte, error)

type VmwareBundleConfig

type VmwareBundleConfig struct {
	// Status: Output only. Resource status for the bundle.
	Status *ResourceStatus `json:"status,omitempty"`
	// Version: The version of the bundle.
	Version string `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 the bundle.

func (VmwareBundleConfig) MarshalJSON

func (s VmwareBundleConfig) MarshalJSON() ([]byte, error)

type VmwareCluster

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.
	AdminClusterMembership string `json:"adminClusterMembership,omitempty"`
	// AdminClusterName: Output only. The resource name of the VMware admin cluster
	// hosting this user cluster.
	AdminClusterName string `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.
	CreateTime string `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.
	DeleteTime string `json:"deleteTime,omitempty"`
	// Description: A human readable description of this VMware user cluster.
	Description string `json:"description,omitempty"`
	// DisableBundledIngress: Disable bundled ingress.
	DisableBundledIngress bool `json:"disableBundledIngress,omitempty"`
	// EnableControlPlaneV2: Enable control plane V2. Default to false.
	EnableControlPlaneV2 bool `json:"enableControlPlaneV2,omitempty"`
	// Endpoint: Output only. The DNS name of VMware user cluster's API server.
	Endpoint string `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.
	Etag string `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.
	LocalName string `json:"localName,omitempty"`
	// Name: Immutable. The VMware user cluster resource name.
	Name string `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.
	OnPremVersion string `json:"onPremVersion,omitempty"`
	// Reconciling: Output only. If set, there are currently changes in flight to
	// the VMware user cluster.
	Reconciling bool `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.
	State string `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.
	Uid string `json:"uid,omitempty"`
	// UpdateTime: Output only. The time at which VMware user cluster was last
	// updated.
	UpdateTime string `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.
	VmTrackingEnabled bool `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 (s VmwareCluster) MarshalJSON() ([]byte, error)

type VmwareClusterUpgradePolicy added in v0.139.0

type VmwareClusterUpgradePolicy struct {
	// ControlPlaneOnly: Controls whether the upgrade applies to the control plane
	// only.
	ControlPlaneOnly bool `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 cluster upgrade policy.

func (VmwareClusterUpgradePolicy) MarshalJSON added in v0.139.0

func (s VmwareClusterUpgradePolicy) MarshalJSON() ([]byte, error)

type VmwareControlPlaneNodeConfig

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)
	Cpus int64 `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).
	Memory int64 `json:"memory,omitempty,string"`
	// Replicas: The number of control plane nodes for this VMware user cluster.
	// (default: 1 replica).
	Replicas int64 `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 the VMware user cluster.

func (VmwareControlPlaneNodeConfig) MarshalJSON

func (s VmwareControlPlaneNodeConfig) MarshalJSON() ([]byte, error)

type VmwareControlPlaneV2Config

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 (s VmwareControlPlaneV2Config) MarshalJSON() ([]byte, error)

type VmwareControlPlaneVsphereConfig

type VmwareControlPlaneVsphereConfig struct {
	// Datastore: The Vsphere datastore used by the control plane Node.
	Datastore string `json:"datastore,omitempty"`
	// StoragePolicyName: The Vsphere storage policy used by the control plane
	// Node.
	StoragePolicyName string `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 (s VmwareControlPlaneVsphereConfig) MarshalJSON() ([]byte, error)

type VmwareDataplaneV2Config

type VmwareDataplaneV2Config struct {
	// AdvancedNetworking: Enable advanced networking which requires
	// dataplane_v2_enabled to be set true.
	AdvancedNetworking bool `json:"advancedNetworking,omitempty"`
	// DataplaneV2Enabled: Enables Dataplane V2.
	DataplaneV2Enabled bool `json:"dataplaneV2Enabled,omitempty"`
	// ForwardMode: Configure ForwardMode for Dataplane v2.
	ForwardMode string `json:"forwardMode,omitempty"`
	// WindowsDataplaneV2Enabled: Enable Dataplane V2 for clusters with Windows
	// nodes.
	WindowsDataplaneV2Enabled bool `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 is optimized dataplane for Kubernetes networking. For more information, see: https://cloud.google.com/kubernetes-engine/docs/concepts/dataplane-v2

func (VmwareDataplaneV2Config) MarshalJSON

func (s VmwareDataplaneV2Config) MarshalJSON() ([]byte, error)

type VmwareDhcpIpConfig

type VmwareDhcpIpConfig struct {
	// Enabled: enabled is a flag to mark if DHCP IP allocation is used for VMware
	// user clusters.
	Enabled bool `json:"enabled,omitempty"`
	// ForceSendFields is a list of field names (e.g. "Enabled") to unconditionally
	// include in API requests. By default, fields with empty or default values are
	// omitted from API requests. See
	// https://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 the VMware user clusters with DHCP IP configurations.

func (VmwareDhcpIpConfig) MarshalJSON

func (s VmwareDhcpIpConfig) MarshalJSON() ([]byte, error)

type VmwareF5BigIpConfig

type VmwareF5BigIpConfig struct {
	// Address: The load balancer's IP address.
	Address string `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'.
	Partition string `json:"partition,omitempty"`
	// SnatPool: The pool name. Only necessary, if using SNAT.
	SnatPool string `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-IP load balancer.

func (VmwareF5BigIpConfig) MarshalJSON

func (s VmwareF5BigIpConfig) MarshalJSON() ([]byte, error)

type VmwareHostConfig

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 hosts irrespective of their IP address.

func (VmwareHostConfig) MarshalJSON

func (s VmwareHostConfig) MarshalJSON() ([]byte, error)

type VmwareHostIp

type VmwareHostIp struct {
	// Hostname: Hostname of the machine. VM's name will be used if this field is
	// empty.
	Hostname string `json:"hostname,omitempty"`
	// Ip: IP could be an IP address (like 1.2.3.4) or a CIDR (like 1.2.3.0/24).
	Ip string `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 (s VmwareHostIp) MarshalJSON() ([]byte, error)

type VmwareIpBlock

type VmwareIpBlock struct {
	// Gateway: The network gateway used by the VMware user cluster.
	Gateway string `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.
	Netmask string `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 (s VmwareIpBlock) MarshalJSON() ([]byte, error)

type VmwareLoadBalancerConfig

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 VMware user cluster.

func (VmwareLoadBalancerConfig) MarshalJSON

func (s VmwareLoadBalancerConfig) MarshalJSON() ([]byte, error)

type VmwareManualLbConfig

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).
	ControlPlaneNodePort int64 `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).
	IngressHttpNodePort int64 `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).
	IngressHttpsNodePort int64 `json:"ingressHttpsNodePort,omitempty"`
	// KonnectivityServerNodePort: NodePort for konnectivity server service running
	// as a sidecar in each kube-apiserver pod (ex. 30564).
	KonnectivityServerNodePort int64 `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 already existing manual load balancer. Given the nature of manual load balancers it is expected that said load balancer will be fully managed by users. IMPORTANT: Please note that the Anthos On-Prem API will not generate or update ManualLB configurations it can only bind a pre-existing configuration to a new VMware user cluster.

func (VmwareManualLbConfig) MarshalJSON

func (s VmwareManualLbConfig) MarshalJSON() ([]byte, error)

type VmwareMetalLbConfig

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 MetalLB load balancer.

func (VmwareMetalLbConfig) MarshalJSON

func (s VmwareMetalLbConfig) MarshalJSON() ([]byte, error)

type VmwareNetworkConfig

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.
	VcenterNetwork string `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 (s VmwareNetworkConfig) MarshalJSON() ([]byte, error)

type VmwareNodeConfig

type VmwareNodeConfig struct {
	// BootDiskSizeGb: VMware disk size to be used during creation.
	BootDiskSizeGb int64 `json:"bootDiskSizeGb,omitempty,string"`
	// Cpus: The number of CPUs for each node in the node pool.
	Cpus int64 `json:"cpus,omitempty,string"`
	// EnableLoadBalancer: Allow node pool traffic to be load balanced. Only works
	// for clusters with MetalLB load balancers.
	EnableLoadBalancer bool `json:"enableLoadBalancer,omitempty"`
	// Image: The OS image name in vCenter, only valid when using Windows.
	Image string `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.
	ImageType string `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.
	MemoryMb int64 `json:"memoryMb,omitempty,string"`
	// Replicas: The number of nodes in the node pool.
	Replicas int64 `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 nodes within a given node pool.

func (VmwareNodeConfig) MarshalJSON

func (s VmwareNodeConfig) MarshalJSON() ([]byte, error)

type VmwareNodePool

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.
	CreateTime string `json:"createTime,omitempty"`
	// DeleteTime: Output only. The time at which this node pool was deleted. If
	// the resource is not deleted, this must be empty
	DeleteTime string `json:"deleteTime,omitempty"`
	// DisplayName: The display name for the node pool.
	DisplayName string `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.
	Etag string `json:"etag,omitempty"`
	// Name: Immutable. The resource name of this node pool.
	Name string `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.
	OnPremVersion string `json:"onPremVersion,omitempty"`
	// Reconciling: Output only. If set, there are currently changes in flight to
	// the node pool.
	Reconciling bool `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.
	State string `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.
	Uid string `json:"uid,omitempty"`
	// UpdateTime: Output only. The time at which this node pool was last updated.
	UpdateTime string `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 (s VmwareNodePool) MarshalJSON() ([]byte, error)

type VmwareNodePoolAutoscalingConfig

type VmwareNodePoolAutoscalingConfig struct {
	// MaxReplicas: Maximum number of replicas in the NodePool.
	MaxReplicas int64 `json:"maxReplicas,omitempty"`
	// MinReplicas: Minimum number of replicas in the NodePool.
	MinReplicas int64 `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 NodePool to allow for the kubernetes to scale NodePool.

func (VmwareNodePoolAutoscalingConfig) MarshalJSON

func (s VmwareNodePoolAutoscalingConfig) MarshalJSON() ([]byte, error)

type VmwarePlatformConfig

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.
	PlatformVersion string `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.
	RequiredPlatformVersion string `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 the VMware platform.

func (VmwarePlatformConfig) MarshalJSON

func (s VmwarePlatformConfig) MarshalJSON() ([]byte, error)

type VmwareSeesawConfig added in v0.139.0

type VmwareSeesawConfig struct {
	// EnableHa: Enable two load balancer VMs to achieve a highly-available Seesaw
	// load balancer.
	EnableHa bool `json:"enableHa,omitempty"`
	// Group: Required. In general the following format should be used for the
	// Seesaw group name: seesaw-for-[cluster_name].
	Group string `json:"group,omitempty"`
	// IpBlocks: Required. The IP Blocks to be used by the Seesaw load balancer
	IpBlocks []*VmwareIpBlock `json:"ipBlocks,omitempty"`
	// MasterIp: Required. MasterIP is the IP announced by the master of Seesaw
	// group.
	MasterIp string `json:"masterIp,omitempty"`
	// StackdriverName: Name to be used by Stackdriver.
	StackdriverName string `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 parameters for an already existing Seesaw load balancer. IMPORTANT: Please note that the Anthos On-Prem API will not generate or update Seesaw configurations it can only bind a pre-existing configuration to a new user cluster. IMPORTANT: When attempting to create a user cluster with a pre-existing Seesaw load balancer you will need to follow some preparation steps before calling the 'CreateVmwareCluster' API method. First you will need to create the user cluster's namespace via kubectl. The namespace will need 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 see the documentation of 'VmwareCluster.local_name'. Once the namespace is created you will need to create a secret resource via kubectl. This secret will contain copies of your Seesaw credentials. The Secret must be called 'user-cluster-creds' and contain Seesaw's SSH and Cert credentials. The credentials must be keyed with the following names: 'seesaw-ssh-private-key', 'seesaw-ssh-public-key', 'seesaw-ssh-ca-key', 'seesaw-ssh-ca-cert'.

func (VmwareSeesawConfig) MarshalJSON added in v0.139.0

func (s VmwareSeesawConfig) MarshalJSON() ([]byte, error)

type VmwareStaticIpConfig

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 the VMware user clusters with Static IP configurations.

func (VmwareStaticIpConfig) MarshalJSON

func (s VmwareStaticIpConfig) MarshalJSON() ([]byte, error)

type VmwareStorageConfig

type VmwareStorageConfig struct {
	// VsphereCsiDisabled: Whether or not to deploy vSphere CSI components in the
	// VMware user cluster. Enabled by default.
	VsphereCsiDisabled bool `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 in the VMware user cluster.

func (VmwareStorageConfig) MarshalJSON

func (s VmwareStorageConfig) MarshalJSON() ([]byte, error)

type VmwareVCenterConfig

type VmwareVCenterConfig struct {
	// Address: Output only. The vCenter IP address.
	Address string `json:"address,omitempty"`
	// CaCertData: Contains the vCenter CA certificate public key for SSL
	// verification.
	CaCertData string `json:"caCertData,omitempty"`
	// Cluster: The name of the vCenter cluster for the user cluster.
	Cluster string `json:"cluster,omitempty"`
	// Datacenter: The name of the vCenter datacenter for the user cluster.
	Datacenter string `json:"datacenter,omitempty"`
	// Datastore: The name of the vCenter datastore for the user cluster.
	Datastore string `json:"datastore,omitempty"`
	// Folder: The name of the vCenter folder for the user cluster.
	Folder string `json:"folder,omitempty"`
	// ResourcePool: The name of the vCenter resource pool for the user cluster.
	ResourcePool string `json:"resourcePool,omitempty"`
	// StoragePolicyName: The name of the vCenter storage policy for the user
	// cluster.
	StoragePolicyName string `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 the user cluster.

func (VmwareVCenterConfig) MarshalJSON

func (s VmwareVCenterConfig) MarshalJSON() ([]byte, error)

type VmwareVersionInfo

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.
	HasDependencies bool `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.
	IsInstalled bool `json:"isInstalled,omitempty"`
	// Version: Version number e.g. 1.13.1-gke.1000.
	Version string `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 VMware version.

func (VmwareVersionInfo) MarshalJSON

func (s VmwareVersionInfo) MarshalJSON() ([]byte, error)

type VmwareVipConfig

type VmwareVipConfig struct {
	// ControlPlaneVip: The VIP which you previously set aside for the Kubernetes
	// API of this cluster.
	ControlPlaneVip string `json:"controlPlaneVip,omitempty"`
	// IngressVip: The VIP which you previously set aside for ingress traffic into
	// this cluster.
	IngressVip string `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 load balancer.

func (VmwareVipConfig) MarshalJSON

func (s VmwareVipConfig) MarshalJSON() ([]byte, error)

type VmwareVsphereConfig

type VmwareVsphereConfig struct {
	// Datastore: The name of the vCenter datastore. Inherited from the user
	// cluster.
	Datastore string `json:"datastore,omitempty"`
	// HostGroups: Vsphere host groups to apply to all VMs in the node pool
	HostGroups []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 the VMware VCenter for node pool.

func (VmwareVsphereConfig) MarshalJSON

func (s VmwareVsphereConfig) MarshalJSON() ([]byte, error)

type VmwareVsphereTag

type VmwareVsphereTag struct {
	// Category: The Vsphere tag category.
	Category string `json:"category,omitempty"`
	// Tag: The Vsphere tag name.
	Tag string `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 on VMs in the node pool. For more information, see https://docs.vmware.com/en/VMware-vSphere/7.0/com.vmware.vsphere.vcenterhost.doc/GUID-E8E854DD-AA97-4E0C-8419-CE84F93C4058.html

func (VmwareVsphereTag) MarshalJSON

func (s VmwareVsphereTag) MarshalJSON() ([]byte, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL