netapp

package
v0.214.0 Latest Latest
Warning

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

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

Documentation

Overview

Package netapp provides access to the NetApp API.

For product documentation, see: https://cloud.google.com/netapp/

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/netapp/v1beta1"
...
ctx := context.Background()
netappService, err := netapp.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:

netappService, err := netapp.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, ...)
netappService, err := netapp.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 ActiveDirectory

type ActiveDirectory struct {
	// Administrators: Optional. Users to be added to the Built-in Admininstrators
	// group.
	Administrators []string `json:"administrators,omitempty"`
	// AesEncryption: If enabled, AES encryption will be enabled for SMB
	// communication.
	AesEncryption bool `json:"aesEncryption,omitempty"`
	// BackupOperators: Optional. Users to be added to the Built-in Backup Operator
	// active directory group.
	BackupOperators []string `json:"backupOperators,omitempty"`
	// CreateTime: Output only. Create time of the active directory.
	CreateTime string `json:"createTime,omitempty"`
	// Description: Description of the active directory.
	Description string `json:"description,omitempty"`
	// Dns: Required. Comma separated list of DNS server IP addresses for the
	// Active Directory domain.
	Dns string `json:"dns,omitempty"`
	// Domain: Required. Name of the Active Directory domain
	Domain string `json:"domain,omitempty"`
	// EncryptDcConnections: If enabled, traffic between the SMB server to Domain
	// Controller (DC) will be encrypted.
	EncryptDcConnections bool `json:"encryptDcConnections,omitempty"`
	// KdcHostname: Name of the active directory machine. This optional parameter
	// is used only while creating kerberos volume
	KdcHostname string `json:"kdcHostname,omitempty"`
	// KdcIp: KDC server IP address for the active directory machine.
	KdcIp string `json:"kdcIp,omitempty"`
	// Labels: Labels for the active directory.
	Labels map[string]string `json:"labels,omitempty"`
	// LdapSigning: Specifies whether or not the LDAP traffic needs to be signed.
	LdapSigning bool `json:"ldapSigning,omitempty"`
	// Name: Identifier. The resource name of the active directory. Format:
	// `projects/{project_number}/locations/{location_id}/activeDirectories/{active_
	// directory_id}`.
	Name string `json:"name,omitempty"`
	// NetBiosPrefix: Required. NetBIOSPrefix is used as a prefix for SMB server
	// name.
	NetBiosPrefix string `json:"netBiosPrefix,omitempty"`
	// NfsUsersWithLdap: If enabled, will allow access to local users and LDAP
	// users. If access is needed for only LDAP users, it has to be disabled.
	NfsUsersWithLdap bool `json:"nfsUsersWithLdap,omitempty"`
	// OrganizationalUnit: The Organizational Unit (OU) within the Windows Active
	// Directory the user belongs to.
	OrganizationalUnit string `json:"organizationalUnit,omitempty"`
	// Password: Required. Password of the Active Directory domain administrator.
	Password string `json:"password,omitempty"`
	// SecurityOperators: Optional. Domain users to be given the
	// SeSecurityPrivilege.
	SecurityOperators []string `json:"securityOperators,omitempty"`
	// Site: The Active Directory site the service will limit Domain Controller
	// discovery too.
	Site string `json:"site,omitempty"`
	// State: Output only. The state of the AD.
	//
	// Possible values:
	//   "STATE_UNSPECIFIED" - Unspecified Active Directory State
	//   "CREATING" - Active Directory State is Creating
	//   "READY" - Active Directory State is Ready
	//   "UPDATING" - Active Directory State is Updating
	//   "IN_USE" - Active Directory State is In use
	//   "DELETING" - Active Directory State is Deleting
	//   "ERROR" - Active Directory State is Error
	//   "DIAGNOSING" - Active Directory State is Diagnosing.
	State string `json:"state,omitempty"`
	// StateDetails: Output only. The state details of the Active Directory.
	StateDetails string `json:"stateDetails,omitempty"`
	// Username: Required. Username of the Active Directory domain administrator.
	Username string `json:"username,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the server.
	googleapi.ServerResponse `json:"-"`
	// ForceSendFields is a list of field names (e.g. "Administrators") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "Administrators") to include in
	// API requests with the JSON null value. By default, fields with empty values
	// are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

ActiveDirectory: ActiveDirectory is the public representation of the active directory config.

func (ActiveDirectory) MarshalJSON

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

type Backup

type Backup struct {
	// BackupType: Output only. Type of backup, manually created or created by a
	// backup policy.
	//
	// Possible values:
	//   "TYPE_UNSPECIFIED" - Unspecified backup type.
	//   "MANUAL" - Manual backup type.
	//   "SCHEDULED" - Scheduled backup type.
	BackupType string `json:"backupType,omitempty"`
	// ChainStorageBytes: Output only. Total size of all backups in a chain in
	// bytes = baseline backup size + sum(incremental backup size)
	ChainStorageBytes int64 `json:"chainStorageBytes,omitempty,string"`
	// CreateTime: Output only. The time when the backup was created.
	CreateTime string `json:"createTime,omitempty"`
	// Description: A description of the backup with 2048 characters or less.
	// Requests with longer descriptions will be rejected.
	Description string `json:"description,omitempty"`
	// Labels: Resource labels to represent user provided metadata.
	Labels map[string]string `json:"labels,omitempty"`
	// Name: Identifier. The resource name of the backup. Format:
	// `projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}/ba
	// ckups/{backup_id}`.
	Name string `json:"name,omitempty"`
	// SatisfiesPzi: Output only. Reserved for future use
	SatisfiesPzi bool `json:"satisfiesPzi,omitempty"`
	// SatisfiesPzs: Output only. Reserved for future use
	SatisfiesPzs bool `json:"satisfiesPzs,omitempty"`
	// SourceSnapshot: If specified, backup will be created from the given
	// snapshot. If not specified, there will be a new snapshot taken to initiate
	// the backup creation. Format:
	// `projects/{project_id}/locations/{location}/volumes/{volume_id}/snapshots/{sn
	// apshot_id}`
	SourceSnapshot string `json:"sourceSnapshot,omitempty"`
	// SourceVolume: Volume full name of this backup belongs to. Format:
	// `projects/{projects_id}/locations/{location}/volumes/{volume_id}`
	SourceVolume string `json:"sourceVolume,omitempty"`
	// State: Output only. The backup state.
	//
	// Possible values:
	//   "STATE_UNSPECIFIED" - State not set.
	//   "CREATING" - Backup is being created. While in this state, the snapshot
	// for the backup point-in-time may not have been created yet, and so the
	// point-in-time may not have been fixed.
	//   "UPLOADING" - Backup is being uploaded. While in this state, none of the
	// writes to the volume will be included in the backup.
	//   "READY" - Backup is available for use.
	//   "DELETING" - Backup is being deleted.
	//   "ERROR" - Backup is not valid and cannot be used for creating new volumes
	// or restoring existing volumes.
	//   "UPDATING" - Backup is being updated.
	State string `json:"state,omitempty"`
	// VolumeUsageBytes: Output only. Size of the file system when the backup was
	// created. When creating a new volume from the backup, the volume capacity
	// will have to be at least as big.
	VolumeUsageBytes int64 `json:"volumeUsageBytes,omitempty,string"`

	// ServerResponse contains the HTTP response code and headers from the server.
	googleapi.ServerResponse `json:"-"`
	// ForceSendFields is a list of field names (e.g. "BackupType") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "BackupType") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

Backup: A NetApp Backup.

func (Backup) MarshalJSON

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

type BackupConfig

type BackupConfig struct {
	// BackupChainBytes: Output only. Total size of all backups in a chain in bytes
	// = baseline backup size + sum(incremental backup size).
	BackupChainBytes int64 `json:"backupChainBytes,omitempty,string"`
	// BackupPolicies: Optional. When specified, schedule backups will be created
	// based on the policy configuration.
	BackupPolicies []string `json:"backupPolicies,omitempty"`
	// BackupVault: Optional. Name of backup vault. Format:
	// projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}
	BackupVault string `json:"backupVault,omitempty"`
	// ScheduledBackupEnabled: Optional. When set to true, scheduled backup is
	// enabled on the volume. This field should be nil when there's no backup
	// policy attached.
	ScheduledBackupEnabled bool `json:"scheduledBackupEnabled,omitempty"`
	// ForceSendFields is a list of field names (e.g. "BackupChainBytes") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "BackupChainBytes") to include in
	// API requests with the JSON null value. By default, fields with empty values
	// are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

BackupConfig: BackupConfig contains backup related config on a volume.

func (BackupConfig) MarshalJSON

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

type BackupPolicy

type BackupPolicy struct {
	// AssignedVolumeCount: Output only. The total number of volumes assigned by
	// this backup policy.
	AssignedVolumeCount int64 `json:"assignedVolumeCount,omitempty"`
	// CreateTime: Output only. The time when the backup policy was created.
	CreateTime string `json:"createTime,omitempty"`
	// DailyBackupLimit: Number of daily backups to keep. Note that the minimum
	// daily backup limit is 2.
	DailyBackupLimit int64 `json:"dailyBackupLimit,omitempty"`
	// Description: Description of the backup policy.
	Description string `json:"description,omitempty"`
	// Enabled: If enabled, make backups automatically according to the schedules.
	// This will be applied to all volumes that have this policy attached and
	// enforced on volume level. If not specified, default is true.
	Enabled bool `json:"enabled,omitempty"`
	// Labels: Resource labels to represent user provided metadata.
	Labels map[string]string `json:"labels,omitempty"`
	// MonthlyBackupLimit: Number of monthly backups to keep. Note that the sum of
	// daily, weekly and monthly backups should be greater than 1.
	MonthlyBackupLimit int64 `json:"monthlyBackupLimit,omitempty"`
	// Name: Identifier. The resource name of the backup policy. Format:
	// `projects/{project_id}/locations/{location}/backupPolicies/{backup_policy_id}
	// `.
	Name string `json:"name,omitempty"`
	// State: Output only. The backup policy state.
	//
	// Possible values:
	//   "STATE_UNSPECIFIED" - State not set.
	//   "CREATING" - BackupPolicy is being created.
	//   "READY" - BackupPolicy is available for use.
	//   "DELETING" - BackupPolicy is being deleted.
	//   "ERROR" - BackupPolicy is not valid and cannot be used.
	//   "UPDATING" - BackupPolicy is being updated.
	State string `json:"state,omitempty"`
	// WeeklyBackupLimit: Number of weekly backups to keep. Note that the sum of
	// daily, weekly and monthly backups should be greater than 1.
	WeeklyBackupLimit int64 `json:"weeklyBackupLimit,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the server.
	googleapi.ServerResponse `json:"-"`
	// ForceSendFields is a list of field names (e.g. "AssignedVolumeCount") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "AssignedVolumeCount") to include
	// in API requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

BackupPolicy: Backup Policy.

func (BackupPolicy) MarshalJSON

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

type BackupVault

type BackupVault struct {
	// CreateTime: Output only. Create time of the backup vault.
	CreateTime string `json:"createTime,omitempty"`
	// Description: Description of the backup vault.
	Description string `json:"description,omitempty"`
	// Labels: Resource labels to represent user provided metadata.
	Labels map[string]string `json:"labels,omitempty"`
	// Name: Identifier. The resource name of the backup vault. Format:
	// `projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}`.
	Name string `json:"name,omitempty"`
	// State: Output only. The backup vault state.
	//
	// Possible values:
	//   "STATE_UNSPECIFIED" - State not set.
	//   "CREATING" - BackupVault is being created.
	//   "READY" - BackupVault is available for use.
	//   "DELETING" - BackupVault is being deleted.
	//   "ERROR" - BackupVault is not valid and cannot be used.
	//   "UPDATING" - BackupVault is being updated.
	State string `json:"state,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the server.
	googleapi.ServerResponse `json:"-"`
	// ForceSendFields is a list of field names (e.g. "CreateTime") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "CreateTime") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

BackupVault: A NetApp BackupVault.

func (BackupVault) MarshalJSON

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

type CancelOperationRequest

type CancelOperationRequest struct {
}

CancelOperationRequest: The request message for Operations.CancelOperation.

type DailySchedule

type DailySchedule struct {
	// Hour: Set the hour to start the snapshot (0-23), defaults to midnight (0).
	Hour float64 `json:"hour,omitempty"`
	// Minute: Set the minute of the hour to start the snapshot (0-59), defaults to
	// the top of the hour (0).
	Minute float64 `json:"minute,omitempty"`
	// SnapshotsToKeep: The maximum number of Snapshots to keep for the hourly
	// schedule
	SnapshotsToKeep float64 `json:"snapshotsToKeep,omitempty"`
	// ForceSendFields is a list of field names (e.g. "Hour") to unconditionally
	// include in API requests. By default, fields with empty or default values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "Hour") to include in API requests
	// with the JSON null value. By default, fields with empty values are omitted
	// from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

DailySchedule: Make a snapshot every day e.g. at 04:00, 05:20, 23:50

func (DailySchedule) MarshalJSON

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

func (*DailySchedule) UnmarshalJSON

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

type DestinationVolumeParameters

type DestinationVolumeParameters struct {
	// Description: Description for the destination volume.
	Description string `json:"description,omitempty"`
	// ShareName: Destination volume's share name. If not specified, source
	// volume's share name will be used.
	ShareName string `json:"shareName,omitempty"`
	// StoragePool: Required. Existing destination StoragePool name.
	StoragePool string `json:"storagePool,omitempty"`
	// TieringPolicy: Optional. Tiering policy for the volume.
	TieringPolicy *TieringPolicy `json:"tieringPolicy,omitempty"`
	// VolumeId: Desired destination volume resource id. If not specified, source
	// volume's resource id will be used. This value must start with a lowercase
	// letter followed by up to 62 lowercase letters, numbers, or hyphens, and
	// cannot end with a hyphen.
	VolumeId string `json:"volumeId,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:"-"`
}

DestinationVolumeParameters: DestinationVolumeParameters specify input parameters used for creating destination volume.

func (DestinationVolumeParameters) MarshalJSON

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

type EncryptVolumesRequest

type EncryptVolumesRequest struct {
}

EncryptVolumesRequest: EncryptVolumesRequest specifies the KMS config to encrypt existing volumes.

type EstablishPeeringRequest added in v0.207.0

type EstablishPeeringRequest struct {
	// PeerClusterName: Required. Name of the user's local source cluster to be
	// peered with the destination cluster.
	PeerClusterName string `json:"peerClusterName,omitempty"`
	// PeerIpAddresses: Optional. List of IPv4 ip addresses to be used for peering.
	PeerIpAddresses []string `json:"peerIpAddresses,omitempty"`
	// PeerSvmName: Required. Name of the user's local source vserver svm to be
	// peered with the destination vserver svm.
	PeerSvmName string `json:"peerSvmName,omitempty"`
	// PeerVolumeName: Required. Name of the user's local source volume to be
	// peered with the destination volume.
	PeerVolumeName string `json:"peerVolumeName,omitempty"`
	// ForceSendFields is a list of field names (e.g. "PeerClusterName") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "PeerClusterName") to include in
	// API requests with the JSON null value. By default, fields with empty values
	// are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

EstablishPeeringRequest: EstablishPeeringRequest establishes cluster and svm peerings between the source and the destination replications.

func (EstablishPeeringRequest) MarshalJSON added in v0.207.0

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

type ExportPolicy

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

ExportPolicy: Defines the export policy for the volume.

func (ExportPolicy) MarshalJSON

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

type GoogleProtobufEmpty

type GoogleProtobufEmpty struct {
	// ServerResponse contains the HTTP response code and headers from the server.
	googleapi.ServerResponse `json:"-"`
}

GoogleProtobufEmpty: 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 HourlySchedule

type HourlySchedule struct {
	// Minute: Set the minute of the hour to start the snapshot (0-59), defaults to
	// the top of the hour (0).
	Minute float64 `json:"minute,omitempty"`
	// SnapshotsToKeep: The maximum number of Snapshots to keep for the hourly
	// schedule
	SnapshotsToKeep float64 `json:"snapshotsToKeep,omitempty"`
	// ForceSendFields is a list of field names (e.g. "Minute") to unconditionally
	// include in API requests. By default, fields with empty or default values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "Minute") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

HourlySchedule: Make a snapshot every hour e.g. at 04:00, 05:00, 06:00.

func (HourlySchedule) MarshalJSON

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

func (*HourlySchedule) UnmarshalJSON

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

type HybridPeeringDetails added in v0.207.0

type HybridPeeringDetails struct {
	// Command: Optional. Copy-paste-able commands to be used on user's ONTAP to
	// accept peering requests.
	Command string `json:"command,omitempty"`
	// CommandExpiryTime: Optional. Expiration time for the peering command to be
	// executed on user's ONTAP.
	CommandExpiryTime string `json:"commandExpiryTime,omitempty"`
	// Passphrase: Optional. Temporary passphrase generated to accept cluster
	// peering command.
	Passphrase string `json:"passphrase,omitempty"`
	// SubnetIp: Optional. IP address of the subnet.
	SubnetIp string `json:"subnetIp,omitempty"`
	// ForceSendFields is a list of field names (e.g. "Command") to unconditionally
	// include in API requests. By default, fields with empty or default values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "Command") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

HybridPeeringDetails: HybridPeeringDetails contains details about the hybrid peering.

func (HybridPeeringDetails) MarshalJSON added in v0.207.0

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

type HybridReplicationParameters added in v0.207.0

type HybridReplicationParameters struct {
	// ClusterLocation: Optional. Name of source cluster location associated with
	// the Hybrid replication. This is a free-form field for the display purpose
	// only.
	ClusterLocation string `json:"clusterLocation,omitempty"`
	// Description: Optional. Description of the replication.
	Description string `json:"description,omitempty"`
	// Labels: Optional. Labels to be added to the replication as the key value
	// pairs.
	Labels map[string]string `json:"labels,omitempty"`
	// PeerClusterName: Required. Name of the user's local source cluster to be
	// peered with the destination cluster.
	PeerClusterName string `json:"peerClusterName,omitempty"`
	// PeerIpAddresses: Required. List of node ip addresses to be peered with.
	PeerIpAddresses []string `json:"peerIpAddresses,omitempty"`
	// PeerSvmName: Required. Name of the user's local source vserver svm to be
	// peered with the destination vserver svm.
	PeerSvmName string `json:"peerSvmName,omitempty"`
	// PeerVolumeName: Required. Name of the user's local source volume to be
	// peered with the destination volume.
	PeerVolumeName string `json:"peerVolumeName,omitempty"`
	// Replication: Required. Desired name for the replication of this volume.
	Replication string `json:"replication,omitempty"`
	// ForceSendFields is a list of field names (e.g. "ClusterLocation") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "ClusterLocation") to include in
	// API requests with the JSON null value. By default, fields with empty values
	// are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

HybridReplicationParameters: The Hybrid Replication parameters for the volume.

func (HybridReplicationParameters) MarshalJSON added in v0.207.0

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

type KmsConfig

type KmsConfig struct {
	// CreateTime: Output only. Create time of the KmsConfig.
	CreateTime string `json:"createTime,omitempty"`
	// CryptoKeyName: Required. Customer managed crypto key resource full name.
	// Format:
	// projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{key}.
	CryptoKeyName string `json:"cryptoKeyName,omitempty"`
	// Description: Description of the KmsConfig.
	Description string `json:"description,omitempty"`
	// Instructions: Output only. Instructions to provide the access to the
	// customer provided encryption key.
	Instructions string `json:"instructions,omitempty"`
	// Labels: Labels as key value pairs
	Labels map[string]string `json:"labels,omitempty"`
	// Name: Identifier. Name of the KmsConfig.
	Name string `json:"name,omitempty"`
	// ServiceAccount: Output only. The Service account which will have access to
	// the customer provided encryption key.
	ServiceAccount string `json:"serviceAccount,omitempty"`
	// State: Output only. State of the KmsConfig.
	//
	// Possible values:
	//   "STATE_UNSPECIFIED" - Unspecified KmsConfig State
	//   "READY" - KmsConfig State is Ready
	//   "CREATING" - KmsConfig State is Creating
	//   "DELETING" - KmsConfig State is Deleting
	//   "UPDATING" - KmsConfig State is Updating
	//   "IN_USE" - KmsConfig State is In Use.
	//   "ERROR" - KmsConfig State is Error
	//   "KEY_CHECK_PENDING" - KmsConfig State is Pending to verify crypto key
	// access.
	//   "KEY_NOT_REACHABLE" - KmsConfig State is Not accessbile by the SDE service
	// account to the crypto key.
	//   "DISABLING" - KmsConfig State is Disabling.
	//   "DISABLED" - KmsConfig State is Disabled.
	//   "MIGRATING" - KmsConfig State is Migrating. The existing volumes are
	// migrating from SMEK to CMEK.
	State string `json:"state,omitempty"`
	// StateDetails: Output only. State details of the KmsConfig.
	StateDetails string `json:"stateDetails,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the server.
	googleapi.ServerResponse `json:"-"`
	// ForceSendFields is a list of field names (e.g. "CreateTime") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "CreateTime") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

KmsConfig: KmsConfig is the customer managed encryption key(CMEK) configuration.

func (KmsConfig) MarshalJSON

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

type ListActiveDirectoriesResponse

type ListActiveDirectoriesResponse struct {
	// ActiveDirectories: The list of active directories.
	ActiveDirectories []*ActiveDirectory `json:"activeDirectories,omitempty"`
	// NextPageToken: A token identifying a page of results the server should
	// return.
	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. "ActiveDirectories") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "ActiveDirectories") to include in
	// API requests with the JSON null value. By default, fields with empty values
	// are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

ListActiveDirectoriesResponse: ListActiveDirectoriesResponse contains all the active directories requested.

func (ListActiveDirectoriesResponse) MarshalJSON

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

type ListBackupPoliciesResponse

type ListBackupPoliciesResponse struct {
	// BackupPolicies: The list of backup policies.
	BackupPolicies []*BackupPolicy `json:"backupPolicies,omitempty"`
	// NextPageToken: A token identifying a page of results the server should
	// return.
	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. "BackupPolicies") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "BackupPolicies") to include in
	// API requests with the JSON null value. By default, fields with empty values
	// are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

ListBackupPoliciesResponse: ListBackupPoliciesResponse contains all the backup policies requested.

func (ListBackupPoliciesResponse) MarshalJSON

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

type ListBackupVaultsResponse

type ListBackupVaultsResponse struct {
	// BackupVaults: A list of backupVaults in the project for the specified
	// location.
	BackupVaults []*BackupVault `json:"backupVaults,omitempty"`
	// NextPageToken: The token you can use to retrieve the next page of results.
	// Not returned if there are no more results in the list.
	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. "BackupVaults") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "BackupVaults") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

ListBackupVaultsResponse: ListBackupVaultsResponse is the result of ListBackupVaultsRequest.

func (ListBackupVaultsResponse) MarshalJSON

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

type ListBackupsResponse

type ListBackupsResponse struct {
	// Backups: A list of backups in the project.
	Backups []*Backup `json:"backups,omitempty"`
	// NextPageToken: The token you can use to retrieve the next page of results.
	// Not returned if there are no more results in the list.
	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. "Backups") to unconditionally
	// include in API requests. By default, fields with empty or default values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "Backups") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

ListBackupsResponse: ListBackupsResponse is the result of ListBackupsRequest.

func (ListBackupsResponse) MarshalJSON

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

type ListKmsConfigsResponse

type ListKmsConfigsResponse struct {
	// KmsConfigs: The list of KmsConfigs
	KmsConfigs []*KmsConfig `json:"kmsConfigs,omitempty"`
	// NextPageToken: A token identifying a page of results the server should
	// return.
	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. "KmsConfigs") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "KmsConfigs") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

ListKmsConfigsResponse: ListKmsConfigsResponse is the response to a ListKmsConfigsRequest.

func (ListKmsConfigsResponse) MarshalJSON

func (s ListKmsConfigsResponse) 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 ListReplicationsResponse

type ListReplicationsResponse struct {
	// NextPageToken: The token you can use to retrieve the next page of results.
	// Not returned if there are no more results in the list.
	NextPageToken string `json:"nextPageToken,omitempty"`
	// Replications: A list of replications in the project for the specified
	// volume.
	Replications []*Replication `json:"replications,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. "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:"-"`
}

ListReplicationsResponse: ListReplicationsResponse is the result of ListReplicationsRequest.

func (ListReplicationsResponse) MarshalJSON

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

type ListSnapshotsResponse

type ListSnapshotsResponse struct {
	// NextPageToken: The token you can use to retrieve the next page of results.
	// Not returned if there are no more results in the list.
	NextPageToken string `json:"nextPageToken,omitempty"`
	// Snapshots: A list of snapshots in the project for the specified volume.
	Snapshots []*Snapshot `json:"snapshots,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. "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:"-"`
}

ListSnapshotsResponse: ListSnapshotsResponse is the result of ListSnapshotsRequest.

func (ListSnapshotsResponse) MarshalJSON

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

type ListStoragePoolsResponse

type ListStoragePoolsResponse struct {
	// NextPageToken: A token identifying a page of results the server should
	// return.
	NextPageToken string `json:"nextPageToken,omitempty"`
	// StoragePools: The list of StoragePools
	StoragePools []*StoragePool `json:"storagePools,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. "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:"-"`
}

ListStoragePoolsResponse: ListStoragePoolsResponse is the response to a ListStoragePoolsRequest.

func (ListStoragePoolsResponse) MarshalJSON

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

type ListVolumesResponse

type ListVolumesResponse struct {
	// NextPageToken: A token identifying a page of results the server should
	// return.
	NextPageToken string `json:"nextPageToken,omitempty"`
	// Unreachable: Locations that could not be reached.
	Unreachable []string `json:"unreachable,omitempty"`
	// Volumes: The list of Volume
	Volumes []*Volume `json:"volumes,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:"-"`
}

ListVolumesResponse: Message for response to listing Volumes

func (ListVolumesResponse) MarshalJSON

func (s ListVolumesResponse) 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 LocationMetadata

type LocationMetadata struct {
	// SupportedServiceLevels: Output only. Supported service levels in a location.
	//
	// Possible values:
	//   "SERVICE_LEVEL_UNSPECIFIED" - Unspecified service level.
	//   "PREMIUM" - Premium service level.
	//   "EXTREME" - Extreme service level.
	//   "STANDARD" - Standard service level.
	//   "FLEX" - Flex service level.
	SupportedServiceLevels []string `json:"supportedServiceLevels,omitempty"`
	// ForceSendFields is a list of field names (e.g. "SupportedServiceLevels") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "SupportedServiceLevels") to
	// include in API requests with the JSON null value. By default, fields with
	// empty values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

LocationMetadata: Metadata for a given google.cloud.location.Location.

func (LocationMetadata) MarshalJSON

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

type MonthlySchedule

type MonthlySchedule struct {
	// DaysOfMonth: Set the day or days of the month to make a snapshot (1-31).
	// Accepts a comma separated number of days. Defaults to '1'.
	DaysOfMonth string `json:"daysOfMonth,omitempty"`
	// Hour: Set the hour to start the snapshot (0-23), defaults to midnight (0).
	Hour float64 `json:"hour,omitempty"`
	// Minute: Set the minute of the hour to start the snapshot (0-59), defaults to
	// the top of the hour (0).
	Minute float64 `json:"minute,omitempty"`
	// SnapshotsToKeep: The maximum number of Snapshots to keep for the hourly
	// schedule
	SnapshotsToKeep float64 `json:"snapshotsToKeep,omitempty"`
	// ForceSendFields is a list of field names (e.g. "DaysOfMonth") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "DaysOfMonth") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

MonthlySchedule: Make a snapshot once a month e.g. at 2nd 04:00, 7th 05:20, 24th 23:50

func (MonthlySchedule) MarshalJSON

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

func (*MonthlySchedule) UnmarshalJSON

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

type MountOption

type MountOption struct {
	// Export: Export string
	Export string `json:"export,omitempty"`
	// ExportFull: Full export string
	ExportFull string `json:"exportFull,omitempty"`
	// Instructions: Instructions for mounting
	Instructions string `json:"instructions,omitempty"`
	// Protocol: Protocol to mount with.
	//
	// Possible values:
	//   "PROTOCOLS_UNSPECIFIED" - Unspecified protocol
	//   "NFSV3" - NFS V3 protocol
	//   "NFSV4" - NFS V4 protocol
	//   "SMB" - SMB protocol
	Protocol string `json:"protocol,omitempty"`
	// ForceSendFields is a list of field names (e.g. "Export") to unconditionally
	// include in API requests. By default, fields with empty or default values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "Export") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

MountOption: View only mount options for a volume.

func (MountOption) MarshalJSON

func (s MountOption) 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"`
	// 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"`
	// RequestedCancellation: Output only. Identifies whether the user has
	// requested cancellation of the operation. Operations that have been canceled
	// successfully 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"`
	// 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 ProjectsLocationsActiveDirectoriesCreateCall

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

func (*ProjectsLocationsActiveDirectoriesCreateCall) ActiveDirectoryId

ActiveDirectoryId sets the optional parameter "activeDirectoryId": Required. ID of the active directory to create. Must be unique within the parent resource. Must contain only letters, numbers and hyphen, with the first character a letter , the last a letter or a number, and a 63 character maximum.

func (*ProjectsLocationsActiveDirectoriesCreateCall) Context

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

func (*ProjectsLocationsActiveDirectoriesCreateCall) Do

Do executes the "netapp.projects.locations.activeDirectories.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 (*ProjectsLocationsActiveDirectoriesCreateCall) Fields

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

func (*ProjectsLocationsActiveDirectoriesCreateCall) Header

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

type ProjectsLocationsActiveDirectoriesDeleteCall

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

func (*ProjectsLocationsActiveDirectoriesDeleteCall) Context

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

func (*ProjectsLocationsActiveDirectoriesDeleteCall) Do

Do executes the "netapp.projects.locations.activeDirectories.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 (*ProjectsLocationsActiveDirectoriesDeleteCall) Fields

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

func (*ProjectsLocationsActiveDirectoriesDeleteCall) Header

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

type ProjectsLocationsActiveDirectoriesGetCall

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

func (*ProjectsLocationsActiveDirectoriesGetCall) Context

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

func (*ProjectsLocationsActiveDirectoriesGetCall) Do

Do executes the "netapp.projects.locations.activeDirectories.get" call. Any non-2xx status code is an error. Response headers are in either *ActiveDirectory.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 (*ProjectsLocationsActiveDirectoriesGetCall) Fields

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

func (*ProjectsLocationsActiveDirectoriesGetCall) Header

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

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

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

func (*ProjectsLocationsActiveDirectoriesListCall) Context

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

func (*ProjectsLocationsActiveDirectoriesListCall) Do

Do executes the "netapp.projects.locations.activeDirectories.list" call. Any non-2xx status code is an error. Response headers are in either *ListActiveDirectoriesResponse.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 (*ProjectsLocationsActiveDirectoriesListCall) Fields

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

func (*ProjectsLocationsActiveDirectoriesListCall) Filter

Filter sets the optional parameter "filter": Filtering results

func (*ProjectsLocationsActiveDirectoriesListCall) Header

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

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

OrderBy sets the optional parameter "orderBy": Hint for how to order the results

func (*ProjectsLocationsActiveDirectoriesListCall) PageSize

PageSize sets the optional parameter "pageSize": Requested page size. Server may return fewer items than requested. If unspecified, the server will pick an appropriate default.

func (*ProjectsLocationsActiveDirectoriesListCall) PageToken

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

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

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

func (*ProjectsLocationsActiveDirectoriesPatchCall) Context

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

func (*ProjectsLocationsActiveDirectoriesPatchCall) Do

Do executes the "netapp.projects.locations.activeDirectories.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 (*ProjectsLocationsActiveDirectoriesPatchCall) Fields

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

func (*ProjectsLocationsActiveDirectoriesPatchCall) Header

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

func (*ProjectsLocationsActiveDirectoriesPatchCall) UpdateMask

UpdateMask sets the optional parameter "updateMask": Required. Field mask is used to specify the fields to be overwritten in the Active Directory 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 fields will be overwritten.

type ProjectsLocationsActiveDirectoriesService

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

func NewProjectsLocationsActiveDirectoriesService

func NewProjectsLocationsActiveDirectoriesService(s *Service) *ProjectsLocationsActiveDirectoriesService

func (*ProjectsLocationsActiveDirectoriesService) Create

Create: CreateActiveDirectory Creates the active directory specified in the request.

- parent: Value for parent.

func (*ProjectsLocationsActiveDirectoriesService) Delete

Delete: Delete the active directory specified in the request.

- name: Name of the active directory.

func (*ProjectsLocationsActiveDirectoriesService) Get

Get: Describes a specified active directory.

- name: Name of the active directory.

func (*ProjectsLocationsActiveDirectoriesService) List

List: Lists active directories.

- parent: Parent value for ListActiveDirectoriesRequest.

func (*ProjectsLocationsActiveDirectoriesService) Patch

Patch: Update the parameters of an active directories.

  • name: Identifier. The resource name of the active directory. Format: `projects/{project_number}/locations/{location_id}/activeDirectories/{activ e_directory_id}`.

type ProjectsLocationsBackupPoliciesCreateCall

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

func (*ProjectsLocationsBackupPoliciesCreateCall) BackupPolicyId

BackupPolicyId sets the optional parameter "backupPolicyId": Required. The ID to use for the backup policy. The ID must be unique within the specified location. Must contain only letters, numbers and hyphen, with the first character a letter, the last a letter or a number, and a 63 character maximum.

func (*ProjectsLocationsBackupPoliciesCreateCall) Context

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

func (*ProjectsLocationsBackupPoliciesCreateCall) Do

Do executes the "netapp.projects.locations.backupPolicies.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 (*ProjectsLocationsBackupPoliciesCreateCall) Fields

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

func (*ProjectsLocationsBackupPoliciesCreateCall) Header

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

type ProjectsLocationsBackupPoliciesDeleteCall

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

func (*ProjectsLocationsBackupPoliciesDeleteCall) Context

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

func (*ProjectsLocationsBackupPoliciesDeleteCall) Do

Do executes the "netapp.projects.locations.backupPolicies.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 (*ProjectsLocationsBackupPoliciesDeleteCall) Fields

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

func (*ProjectsLocationsBackupPoliciesDeleteCall) Header

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

type ProjectsLocationsBackupPoliciesGetCall

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

func (*ProjectsLocationsBackupPoliciesGetCall) Context

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

func (*ProjectsLocationsBackupPoliciesGetCall) Do

Do executes the "netapp.projects.locations.backupPolicies.get" call. Any non-2xx status code is an error. Response headers are in either *BackupPolicy.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 (*ProjectsLocationsBackupPoliciesGetCall) Fields

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

func (*ProjectsLocationsBackupPoliciesGetCall) Header

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

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

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

func (*ProjectsLocationsBackupPoliciesListCall) Context

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

func (*ProjectsLocationsBackupPoliciesListCall) Do

Do executes the "netapp.projects.locations.backupPolicies.list" call. Any non-2xx status code is an error. Response headers are in either *ListBackupPoliciesResponse.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 (*ProjectsLocationsBackupPoliciesListCall) Fields

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

func (*ProjectsLocationsBackupPoliciesListCall) Filter

Filter sets the optional parameter "filter": Filtering results

func (*ProjectsLocationsBackupPoliciesListCall) Header

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

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

OrderBy sets the optional parameter "orderBy": Hint for how to order the results

func (*ProjectsLocationsBackupPoliciesListCall) PageSize

PageSize sets the optional parameter "pageSize": Requested page size. Server may return fewer items than requested. If unspecified, the server will pick an appropriate default.

func (*ProjectsLocationsBackupPoliciesListCall) PageToken

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

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

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

func (*ProjectsLocationsBackupPoliciesPatchCall) Context

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

func (*ProjectsLocationsBackupPoliciesPatchCall) Do

Do executes the "netapp.projects.locations.backupPolicies.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 (*ProjectsLocationsBackupPoliciesPatchCall) Fields

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

func (*ProjectsLocationsBackupPoliciesPatchCall) Header

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

func (*ProjectsLocationsBackupPoliciesPatchCall) UpdateMask

UpdateMask sets the optional parameter "updateMask": Required. Field mask is used to specify the fields to be overwritten in the Backup Policy 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 fields will be overwritten.

type ProjectsLocationsBackupPoliciesService

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

func NewProjectsLocationsBackupPoliciesService

func NewProjectsLocationsBackupPoliciesService(s *Service) *ProjectsLocationsBackupPoliciesService

func (*ProjectsLocationsBackupPoliciesService) Create

Create: Creates new backup policy

  • parent: The location to create the backup policies of, in the format `projects/{project_id}/locations/{location}`.

func (*ProjectsLocationsBackupPoliciesService) Delete

Delete: Warning! This operation will permanently delete the backup policy.

  • name: The backup policy resource name, in the format `projects/{project_id}/locations/{location}/backupPolicies/{backup_policy_i d}`.

func (*ProjectsLocationsBackupPoliciesService) Get

Get: Returns the description of the specified backup policy by backup_policy_id.

  • name: The backupPolicy resource name, in the format `projects/{project_id}/locations/{location}/backupPolicies/{backup_policy_i d}`.

func (*ProjectsLocationsBackupPoliciesService) List

List: Returns list of all available backup policies.

- parent: Parent value for ListBackupPoliciesRequest.

func (*ProjectsLocationsBackupPoliciesService) Patch

Patch: Updates settings of a specific backup policy.

  • name: Identifier. The resource name of the backup policy. Format: `projects/{project_id}/locations/{location}/backupPolicies/{backup_policy_i d}`.

type ProjectsLocationsBackupVaultsBackupsCreateCall

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

func (*ProjectsLocationsBackupVaultsBackupsCreateCall) BackupId

BackupId sets the optional parameter "backupId": Required. The ID to use for the backup. The ID must be unique within the specified backupVault. Must contain only letters, numbers and hyphen, with the first character a letter, the last a letter or a number, and a 63 character maximum.

func (*ProjectsLocationsBackupVaultsBackupsCreateCall) Context

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

func (*ProjectsLocationsBackupVaultsBackupsCreateCall) Do

Do executes the "netapp.projects.locations.backupVaults.backups.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 (*ProjectsLocationsBackupVaultsBackupsCreateCall) Fields

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

func (*ProjectsLocationsBackupVaultsBackupsCreateCall) Header

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

type ProjectsLocationsBackupVaultsBackupsDeleteCall

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

func (*ProjectsLocationsBackupVaultsBackupsDeleteCall) Context

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

func (*ProjectsLocationsBackupVaultsBackupsDeleteCall) Do

Do executes the "netapp.projects.locations.backupVaults.backups.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 (*ProjectsLocationsBackupVaultsBackupsDeleteCall) Fields

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

func (*ProjectsLocationsBackupVaultsBackupsDeleteCall) Header

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

type ProjectsLocationsBackupVaultsBackupsGetCall

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

func (*ProjectsLocationsBackupVaultsBackupsGetCall) Context

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

func (*ProjectsLocationsBackupVaultsBackupsGetCall) Do

Do executes the "netapp.projects.locations.backupVaults.backups.get" call. Any non-2xx status code is an error. Response headers are in either *Backup.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 (*ProjectsLocationsBackupVaultsBackupsGetCall) Fields

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

func (*ProjectsLocationsBackupVaultsBackupsGetCall) Header

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

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

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

func (*ProjectsLocationsBackupVaultsBackupsListCall) Context

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

func (*ProjectsLocationsBackupVaultsBackupsListCall) Do

Do executes the "netapp.projects.locations.backupVaults.backups.list" call. Any non-2xx status code is an error. Response headers are in either *ListBackupsResponse.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 (*ProjectsLocationsBackupVaultsBackupsListCall) Fields

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

func (*ProjectsLocationsBackupVaultsBackupsListCall) Filter

Filter sets the optional parameter "filter": The standard list filter. If specified, backups will be returned based on the attribute name that matches the filter expression. If empty, then no backups are filtered out. See https://google.aip.dev/160

func (*ProjectsLocationsBackupVaultsBackupsListCall) Header

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

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

OrderBy sets the optional parameter "orderBy": Sort results. Supported values are "name", "name desc" or "" (unsorted).

func (*ProjectsLocationsBackupVaultsBackupsListCall) PageSize

PageSize sets the optional parameter "pageSize": The maximum number of items to return. The service may return fewer than this value. The maximum value is 1000; values above 1000 will be coerced to 1000.

func (*ProjectsLocationsBackupVaultsBackupsListCall) PageToken

PageToken sets the optional parameter "pageToken": The next_page_token value to use if there are additional results to retrieve for this list request.

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

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

func (*ProjectsLocationsBackupVaultsBackupsPatchCall) Context

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

func (*ProjectsLocationsBackupVaultsBackupsPatchCall) Do

Do executes the "netapp.projects.locations.backupVaults.backups.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 (*ProjectsLocationsBackupVaultsBackupsPatchCall) Fields

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

func (*ProjectsLocationsBackupVaultsBackupsPatchCall) Header

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

func (*ProjectsLocationsBackupVaultsBackupsPatchCall) UpdateMask

UpdateMask sets the optional parameter "updateMask": Required. Field mask is used to specify the fields to be overwritten in the Backup resource to be updated. 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 fields will be overwritten.

type ProjectsLocationsBackupVaultsBackupsService

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

func NewProjectsLocationsBackupVaultsBackupsService

func NewProjectsLocationsBackupVaultsBackupsService(s *Service) *ProjectsLocationsBackupVaultsBackupsService

func (*ProjectsLocationsBackupVaultsBackupsService) Create

Create: Creates a backup from the volume specified in the request The backup can be created from the given snapshot if specified in the request. If no snapshot specified, there'll be a new snapshot taken to initiate the backup creation.

  • parent: The NetApp backupVault to create the backups of, in the format `projects/*/locations/*/backupVaults/{backup_vault_id}`.

func (*ProjectsLocationsBackupVaultsBackupsService) Delete

Delete: Warning! This operation will permanently delete the backup.

  • name: The backup resource name, in the format `projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}/ backups/{backup_id}`.

func (*ProjectsLocationsBackupVaultsBackupsService) Get

Get: Returns the description of the specified backup

  • name: The backup resource name, in the format `projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}/ backups/{backup_id}`.

func (*ProjectsLocationsBackupVaultsBackupsService) List

List: Returns descriptions of all backups for a backupVault.

  • parent: The backupVault for which to retrieve backup information, in the format `projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}` . To retrieve backup information for all locations, use "-" for the `{location}` value. To retrieve backup information for all backupVaults, use "-" for the `{backup_vault_id}` value. To retrieve backup information for a volume, use "-" for the `{backup_vault_id}` value and specify volume full name with the filter.

func (*ProjectsLocationsBackupVaultsBackupsService) Patch

Patch: Update backup with full spec.

  • name: Identifier. The resource name of the backup. Format: `projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}/ backups/{backup_id}`.

type ProjectsLocationsBackupVaultsCreateCall

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

func (*ProjectsLocationsBackupVaultsCreateCall) BackupVaultId

BackupVaultId sets the optional parameter "backupVaultId": Required. The ID to use for the backupVault. The ID must be unique within the specified location. Must contain only letters, numbers and hyphen, with the first character a letter, the last a letter or a number, and a 63 character maximum.

func (*ProjectsLocationsBackupVaultsCreateCall) Context

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

func (*ProjectsLocationsBackupVaultsCreateCall) Do

Do executes the "netapp.projects.locations.backupVaults.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 (*ProjectsLocationsBackupVaultsCreateCall) Fields

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

func (*ProjectsLocationsBackupVaultsCreateCall) Header

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

type ProjectsLocationsBackupVaultsDeleteCall

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

func (*ProjectsLocationsBackupVaultsDeleteCall) Context

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

func (*ProjectsLocationsBackupVaultsDeleteCall) Do

Do executes the "netapp.projects.locations.backupVaults.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 (*ProjectsLocationsBackupVaultsDeleteCall) Fields

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

func (*ProjectsLocationsBackupVaultsDeleteCall) Header

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

type ProjectsLocationsBackupVaultsGetCall

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

func (*ProjectsLocationsBackupVaultsGetCall) Context

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

func (*ProjectsLocationsBackupVaultsGetCall) Do

Do executes the "netapp.projects.locations.backupVaults.get" call. Any non-2xx status code is an error. Response headers are in either *BackupVault.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 (*ProjectsLocationsBackupVaultsGetCall) Fields

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

func (*ProjectsLocationsBackupVaultsGetCall) Header

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

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

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

func (*ProjectsLocationsBackupVaultsListCall) Context

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

func (*ProjectsLocationsBackupVaultsListCall) Do

Do executes the "netapp.projects.locations.backupVaults.list" call. Any non-2xx status code is an error. Response headers are in either *ListBackupVaultsResponse.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 (*ProjectsLocationsBackupVaultsListCall) Fields

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

func (*ProjectsLocationsBackupVaultsListCall) Filter

Filter sets the optional parameter "filter": List filter.

func (*ProjectsLocationsBackupVaultsListCall) Header

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

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

OrderBy sets the optional parameter "orderBy": Sort results. Supported values are "name", "name desc" or "" (unsorted).

func (*ProjectsLocationsBackupVaultsListCall) PageSize

PageSize sets the optional parameter "pageSize": The maximum number of items to return.

func (*ProjectsLocationsBackupVaultsListCall) PageToken

PageToken sets the optional parameter "pageToken": The next_page_token value to use if there are additional results to retrieve for this list request.

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

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

func (*ProjectsLocationsBackupVaultsPatchCall) Context

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

func (*ProjectsLocationsBackupVaultsPatchCall) Do

Do executes the "netapp.projects.locations.backupVaults.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 (*ProjectsLocationsBackupVaultsPatchCall) Fields

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

func (*ProjectsLocationsBackupVaultsPatchCall) Header

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

func (*ProjectsLocationsBackupVaultsPatchCall) UpdateMask

UpdateMask sets the optional parameter "updateMask": Required. Field mask is used to specify the fields to be overwritten in the Backup resource to be updated. 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 fields will be overwritten.

type ProjectsLocationsBackupVaultsService

type ProjectsLocationsBackupVaultsService struct {
	Backups *ProjectsLocationsBackupVaultsBackupsService
	// contains filtered or unexported fields
}

func NewProjectsLocationsBackupVaultsService

func NewProjectsLocationsBackupVaultsService(s *Service) *ProjectsLocationsBackupVaultsService

func (*ProjectsLocationsBackupVaultsService) Create

Create: Creates new backup vault

  • parent: The location to create the backup vaults, in the format `projects/{project_id}/locations/{location}`.

func (*ProjectsLocationsBackupVaultsService) Delete

Delete: Warning! This operation will permanently delete the backup vault.

  • name: The backupVault resource name, in the format `projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}`.

func (*ProjectsLocationsBackupVaultsService) Get

Get: Returns the description of the specified backup vault

  • name: The backupVault resource name, in the format `projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}`.

func (*ProjectsLocationsBackupVaultsService) List

List: Returns list of all available backup vaults.

  • parent: The location for which to retrieve backupVault information, in the format `projects/{project_id}/locations/{location}`.

func (*ProjectsLocationsBackupVaultsService) Patch

Patch: Updates the settings of a specific backup vault.

  • name: Identifier. The resource name of the backup vault. Format: `projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}` .

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 "netapp.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 ProjectsLocationsKmsConfigsCreateCall

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

func (*ProjectsLocationsKmsConfigsCreateCall) Context

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

func (*ProjectsLocationsKmsConfigsCreateCall) Do

Do executes the "netapp.projects.locations.kmsConfigs.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 (*ProjectsLocationsKmsConfigsCreateCall) Fields

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

func (*ProjectsLocationsKmsConfigsCreateCall) Header

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

func (*ProjectsLocationsKmsConfigsCreateCall) KmsConfigId

KmsConfigId sets the optional parameter "kmsConfigId": Required. Id of the requesting KmsConfig. Must be unique within the parent resource. Must contain only letters, numbers and hyphen, with the first character a letter, the last a letter or a number, and a 63 character maximum.

type ProjectsLocationsKmsConfigsDeleteCall

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

func (*ProjectsLocationsKmsConfigsDeleteCall) Context

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

func (*ProjectsLocationsKmsConfigsDeleteCall) Do

Do executes the "netapp.projects.locations.kmsConfigs.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 (*ProjectsLocationsKmsConfigsDeleteCall) Fields

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

func (*ProjectsLocationsKmsConfigsDeleteCall) Header

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

type ProjectsLocationsKmsConfigsEncryptCall

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

func (*ProjectsLocationsKmsConfigsEncryptCall) Context

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

func (*ProjectsLocationsKmsConfigsEncryptCall) Do

Do executes the "netapp.projects.locations.kmsConfigs.encrypt" 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 (*ProjectsLocationsKmsConfigsEncryptCall) Fields

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

func (*ProjectsLocationsKmsConfigsEncryptCall) Header

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

type ProjectsLocationsKmsConfigsGetCall

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

func (*ProjectsLocationsKmsConfigsGetCall) Context

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

func (*ProjectsLocationsKmsConfigsGetCall) Do

Do executes the "netapp.projects.locations.kmsConfigs.get" call. Any non-2xx status code is an error. Response headers are in either *KmsConfig.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 (*ProjectsLocationsKmsConfigsGetCall) Fields

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

func (*ProjectsLocationsKmsConfigsGetCall) Header

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

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

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

func (*ProjectsLocationsKmsConfigsListCall) Context

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

func (*ProjectsLocationsKmsConfigsListCall) Do

Do executes the "netapp.projects.locations.kmsConfigs.list" call. Any non-2xx status code is an error. Response headers are in either *ListKmsConfigsResponse.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 (*ProjectsLocationsKmsConfigsListCall) Fields

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

func (*ProjectsLocationsKmsConfigsListCall) Filter

Filter sets the optional parameter "filter": List filter.

func (*ProjectsLocationsKmsConfigsListCall) Header

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

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

OrderBy sets the optional parameter "orderBy": Sort results. Supported values are "name", "name desc" or "" (unsorted).

func (*ProjectsLocationsKmsConfigsListCall) PageSize

PageSize sets the optional parameter "pageSize": The maximum number of items to return.

func (*ProjectsLocationsKmsConfigsListCall) PageToken

PageToken sets the optional parameter "pageToken": The next_page_token value to use if there are additional results to retrieve for this list request.

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

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

func (*ProjectsLocationsKmsConfigsPatchCall) Context

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

func (*ProjectsLocationsKmsConfigsPatchCall) Do

Do executes the "netapp.projects.locations.kmsConfigs.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 (*ProjectsLocationsKmsConfigsPatchCall) Fields

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

func (*ProjectsLocationsKmsConfigsPatchCall) Header

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

func (*ProjectsLocationsKmsConfigsPatchCall) UpdateMask

UpdateMask sets the optional parameter "updateMask": Required. Field mask is used to specify the fields to be overwritten in the KmsConfig 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 fields will be overwritten.

type ProjectsLocationsKmsConfigsService

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

func NewProjectsLocationsKmsConfigsService

func NewProjectsLocationsKmsConfigsService(s *Service) *ProjectsLocationsKmsConfigsService

func (*ProjectsLocationsKmsConfigsService) Create

Create: Creates a new KMS config.

- parent: Value for parent.

func (*ProjectsLocationsKmsConfigsService) Delete

Delete: Warning! This operation will permanently delete the Kms config.

- name: Name of the KmsConfig.

func (*ProjectsLocationsKmsConfigsService) Encrypt

Encrypt: Encrypt the existing volumes without CMEK encryption with the desired the KMS config for the whole region.

- name: Name of the KmsConfig.

func (*ProjectsLocationsKmsConfigsService) Get

Get: Returns the description of the specified KMS config by kms_config_id.

- name: Name of the KmsConfig.

func (*ProjectsLocationsKmsConfigsService) List

List: Returns descriptions of all KMS configs owned by the caller.

- parent: Parent value.

func (*ProjectsLocationsKmsConfigsService) Patch

Patch: Updates the Kms config properties with the full spec

- name: Identifier. Name of the KmsConfig.

func (*ProjectsLocationsKmsConfigsService) Verify

Verify: Verifies KMS config reachability.

- name: Name of the KMS Config to be verified.

type ProjectsLocationsKmsConfigsVerifyCall

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

func (*ProjectsLocationsKmsConfigsVerifyCall) Context

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

func (*ProjectsLocationsKmsConfigsVerifyCall) Do

Do executes the "netapp.projects.locations.kmsConfigs.verify" call. Any non-2xx status code is an error. Response headers are in either *VerifyKmsConfigResponse.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 (*ProjectsLocationsKmsConfigsVerifyCall) Fields

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

func (*ProjectsLocationsKmsConfigsVerifyCall) Header

Header returns a http.Header that can be modified by the caller to add headers to the 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 "netapp.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 "netapp.projects.locations.operations.cancel" call. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.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 "netapp.projects.locations.operations.delete" call. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.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 "netapp.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 "netapp.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 {
	ActiveDirectories *ProjectsLocationsActiveDirectoriesService

	BackupPolicies *ProjectsLocationsBackupPoliciesService

	BackupVaults *ProjectsLocationsBackupVaultsService

	KmsConfigs *ProjectsLocationsKmsConfigsService

	Operations *ProjectsLocationsOperationsService

	StoragePools *ProjectsLocationsStoragePoolsService

	Volumes *ProjectsLocationsVolumesService
	// 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 ProjectsLocationsStoragePoolsCreateCall

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

func (*ProjectsLocationsStoragePoolsCreateCall) Context

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

func (*ProjectsLocationsStoragePoolsCreateCall) Do

Do executes the "netapp.projects.locations.storagePools.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 (*ProjectsLocationsStoragePoolsCreateCall) Fields

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

func (*ProjectsLocationsStoragePoolsCreateCall) Header

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

func (*ProjectsLocationsStoragePoolsCreateCall) StoragePoolId

StoragePoolId sets the optional parameter "storagePoolId": Required. Id of the requesting storage pool. Must be unique within the parent resource. Must contain only letters, numbers and hyphen, with the first character a letter, the last a letter or a number, and a 63 character maximum.

type ProjectsLocationsStoragePoolsDeleteCall

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

func (*ProjectsLocationsStoragePoolsDeleteCall) Context

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

func (*ProjectsLocationsStoragePoolsDeleteCall) Do

Do executes the "netapp.projects.locations.storagePools.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 (*ProjectsLocationsStoragePoolsDeleteCall) Fields

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

func (*ProjectsLocationsStoragePoolsDeleteCall) Header

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

type ProjectsLocationsStoragePoolsGetCall

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

func (*ProjectsLocationsStoragePoolsGetCall) Context

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

func (*ProjectsLocationsStoragePoolsGetCall) Do

Do executes the "netapp.projects.locations.storagePools.get" call. Any non-2xx status code is an error. Response headers are in either *StoragePool.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 (*ProjectsLocationsStoragePoolsGetCall) Fields

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

func (*ProjectsLocationsStoragePoolsGetCall) Header

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

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

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

func (*ProjectsLocationsStoragePoolsListCall) Context

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

func (*ProjectsLocationsStoragePoolsListCall) Do

Do executes the "netapp.projects.locations.storagePools.list" call. Any non-2xx status code is an error. Response headers are in either *ListStoragePoolsResponse.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 (*ProjectsLocationsStoragePoolsListCall) Fields

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

func (*ProjectsLocationsStoragePoolsListCall) Filter

Filter sets the optional parameter "filter": List filter.

func (*ProjectsLocationsStoragePoolsListCall) Header

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

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

OrderBy sets the optional parameter "orderBy": Sort results. Supported values are "name", "name desc" or "" (unsorted).

func (*ProjectsLocationsStoragePoolsListCall) PageSize

PageSize sets the optional parameter "pageSize": The maximum number of items to return.

func (*ProjectsLocationsStoragePoolsListCall) PageToken

PageToken sets the optional parameter "pageToken": The next_page_token value to use if there are additional results to retrieve for this list request.

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

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

func (*ProjectsLocationsStoragePoolsPatchCall) Context

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

func (*ProjectsLocationsStoragePoolsPatchCall) Do

Do executes the "netapp.projects.locations.storagePools.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 (*ProjectsLocationsStoragePoolsPatchCall) Fields

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

func (*ProjectsLocationsStoragePoolsPatchCall) Header

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

func (*ProjectsLocationsStoragePoolsPatchCall) UpdateMask

UpdateMask sets the optional parameter "updateMask": Required. Field mask is used to specify the fields to be overwritten in the StoragePool 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 fields will be overwritten.

type ProjectsLocationsStoragePoolsService

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

func NewProjectsLocationsStoragePoolsService

func NewProjectsLocationsStoragePoolsService(s *Service) *ProjectsLocationsStoragePoolsService

func (*ProjectsLocationsStoragePoolsService) Create

Create: Creates a new storage pool.

- parent: Value for parent.

func (*ProjectsLocationsStoragePoolsService) Delete

Delete: Warning! This operation will permanently delete the storage pool.

- name: Name of the storage pool.

func (*ProjectsLocationsStoragePoolsService) Get

Get: Returns the description of the specified storage pool by poolId.

- name: Name of the storage pool.

func (*ProjectsLocationsStoragePoolsService) List

List: Returns descriptions of all storage pools owned by the caller.

- parent: Parent value.

func (*ProjectsLocationsStoragePoolsService) Patch

Patch: Updates the storage pool properties with the full spec

- name: Identifier. Name of the storage pool.

func (*ProjectsLocationsStoragePoolsService) Switch

Switch: This operation will switch the active/replica zone for a regional storagePool.

- name: Name of the storage pool.

func (*ProjectsLocationsStoragePoolsService) ValidateDirectoryService added in v0.211.0

ValidateDirectoryService: ValidateDirectoryService does a connectivity check for a directory service policy attached to the storage pool.

- name: Name of the storage pool.

type ProjectsLocationsStoragePoolsSwitchCall

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

func (*ProjectsLocationsStoragePoolsSwitchCall) Context

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

func (*ProjectsLocationsStoragePoolsSwitchCall) Do

Do executes the "netapp.projects.locations.storagePools.switch" 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 (*ProjectsLocationsStoragePoolsSwitchCall) Fields

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

func (*ProjectsLocationsStoragePoolsSwitchCall) Header

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

type ProjectsLocationsStoragePoolsValidateDirectoryServiceCall added in v0.211.0

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

func (*ProjectsLocationsStoragePoolsValidateDirectoryServiceCall) Context added in v0.211.0

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

func (*ProjectsLocationsStoragePoolsValidateDirectoryServiceCall) Do added in v0.211.0

Do executes the "netapp.projects.locations.storagePools.validateDirectoryService" 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 (*ProjectsLocationsStoragePoolsValidateDirectoryServiceCall) Fields added in v0.211.0

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

func (*ProjectsLocationsStoragePoolsValidateDirectoryServiceCall) Header added in v0.211.0

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

type ProjectsLocationsVolumesCreateCall

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

func (*ProjectsLocationsVolumesCreateCall) Context

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

func (*ProjectsLocationsVolumesCreateCall) Do

Do executes the "netapp.projects.locations.volumes.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 (*ProjectsLocationsVolumesCreateCall) Fields

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

func (*ProjectsLocationsVolumesCreateCall) Header

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

func (*ProjectsLocationsVolumesCreateCall) VolumeId

VolumeId sets the optional parameter "volumeId": Required. Id of the requesting volume. Must be unique within the parent resource. Must contain only letters, numbers and hyphen, with the first character a letter, the last a letter or a number, and a 63 character maximum.

type ProjectsLocationsVolumesDeleteCall

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

func (*ProjectsLocationsVolumesDeleteCall) Context

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

func (*ProjectsLocationsVolumesDeleteCall) Do

Do executes the "netapp.projects.locations.volumes.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 (*ProjectsLocationsVolumesDeleteCall) Fields

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

func (*ProjectsLocationsVolumesDeleteCall) Force

Force sets the optional parameter "force": If this field is set as true, CCFE will not block the volume resource deletion even if it has any snapshots resource. (Otherwise, the request will only work if the volume has no snapshots.)

func (*ProjectsLocationsVolumesDeleteCall) Header

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

type ProjectsLocationsVolumesGetCall

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

func (*ProjectsLocationsVolumesGetCall) Context

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

func (*ProjectsLocationsVolumesGetCall) Do

Do executes the "netapp.projects.locations.volumes.get" call. Any non-2xx status code is an error. Response headers are in either *Volume.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 (*ProjectsLocationsVolumesGetCall) Fields

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

func (*ProjectsLocationsVolumesGetCall) Header

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

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

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

func (*ProjectsLocationsVolumesListCall) Context

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

func (*ProjectsLocationsVolumesListCall) Do

Do executes the "netapp.projects.locations.volumes.list" call. Any non-2xx status code is an error. Response headers are in either *ListVolumesResponse.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 (*ProjectsLocationsVolumesListCall) Fields

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

func (*ProjectsLocationsVolumesListCall) Filter

Filter sets the optional parameter "filter": Filtering results

func (*ProjectsLocationsVolumesListCall) Header

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

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

OrderBy sets the optional parameter "orderBy": Hint for how to order the results

func (*ProjectsLocationsVolumesListCall) PageSize

PageSize sets the optional parameter "pageSize": Requested page size. Server may return fewer items than requested. If unspecified, the server will pick an appropriate default.

func (*ProjectsLocationsVolumesListCall) PageToken

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

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

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

func (*ProjectsLocationsVolumesPatchCall) Context

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

func (*ProjectsLocationsVolumesPatchCall) Do

Do executes the "netapp.projects.locations.volumes.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 (*ProjectsLocationsVolumesPatchCall) Fields

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

func (*ProjectsLocationsVolumesPatchCall) Header

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

func (*ProjectsLocationsVolumesPatchCall) UpdateMask

UpdateMask sets the optional parameter "updateMask": Required. Field mask is used to specify the fields to be overwritten in the Volume 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 fields will be overwritten.

type ProjectsLocationsVolumesReplicationsCreateCall

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

func (*ProjectsLocationsVolumesReplicationsCreateCall) Context

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

func (*ProjectsLocationsVolumesReplicationsCreateCall) Do

Do executes the "netapp.projects.locations.volumes.replications.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 (*ProjectsLocationsVolumesReplicationsCreateCall) Fields

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

func (*ProjectsLocationsVolumesReplicationsCreateCall) Header

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

func (*ProjectsLocationsVolumesReplicationsCreateCall) ReplicationId

ReplicationId sets the optional parameter "replicationId": Required. ID of the replication to create. Must be unique within the parent resource. Must contain only letters, numbers and hyphen, with the first character a letter, the last a letter or a number, and a 63 character maximum.

type ProjectsLocationsVolumesReplicationsDeleteCall

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

func (*ProjectsLocationsVolumesReplicationsDeleteCall) Context

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

func (*ProjectsLocationsVolumesReplicationsDeleteCall) Do

Do executes the "netapp.projects.locations.volumes.replications.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 (*ProjectsLocationsVolumesReplicationsDeleteCall) Fields

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

func (*ProjectsLocationsVolumesReplicationsDeleteCall) Header

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

type ProjectsLocationsVolumesReplicationsEstablishPeeringCall added in v0.207.0

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

func (*ProjectsLocationsVolumesReplicationsEstablishPeeringCall) Context added in v0.207.0

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

func (*ProjectsLocationsVolumesReplicationsEstablishPeeringCall) Do added in v0.207.0

Do executes the "netapp.projects.locations.volumes.replications.establishPeering" 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 (*ProjectsLocationsVolumesReplicationsEstablishPeeringCall) Fields added in v0.207.0

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

func (*ProjectsLocationsVolumesReplicationsEstablishPeeringCall) Header added in v0.207.0

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

type ProjectsLocationsVolumesReplicationsGetCall

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

func (*ProjectsLocationsVolumesReplicationsGetCall) Context

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

func (*ProjectsLocationsVolumesReplicationsGetCall) Do

Do executes the "netapp.projects.locations.volumes.replications.get" call. Any non-2xx status code is an error. Response headers are in either *Replication.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 (*ProjectsLocationsVolumesReplicationsGetCall) Fields

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

func (*ProjectsLocationsVolumesReplicationsGetCall) Header

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

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

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

func (*ProjectsLocationsVolumesReplicationsListCall) Context

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

func (*ProjectsLocationsVolumesReplicationsListCall) Do

Do executes the "netapp.projects.locations.volumes.replications.list" call. Any non-2xx status code is an error. Response headers are in either *ListReplicationsResponse.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 (*ProjectsLocationsVolumesReplicationsListCall) Fields

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

func (*ProjectsLocationsVolumesReplicationsListCall) Filter

Filter sets the optional parameter "filter": List filter.

func (*ProjectsLocationsVolumesReplicationsListCall) Header

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

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

OrderBy sets the optional parameter "orderBy": Sort results. Supported values are "name", "name desc" or "" (unsorted).

func (*ProjectsLocationsVolumesReplicationsListCall) PageSize

PageSize sets the optional parameter "pageSize": The maximum number of items to return.

func (*ProjectsLocationsVolumesReplicationsListCall) PageToken

PageToken sets the optional parameter "pageToken": The next_page_token value to use if there are additional results to retrieve for this list request.

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

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

func (*ProjectsLocationsVolumesReplicationsPatchCall) Context

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

func (*ProjectsLocationsVolumesReplicationsPatchCall) Do

Do executes the "netapp.projects.locations.volumes.replications.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 (*ProjectsLocationsVolumesReplicationsPatchCall) Fields

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

func (*ProjectsLocationsVolumesReplicationsPatchCall) Header

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

func (*ProjectsLocationsVolumesReplicationsPatchCall) UpdateMask

UpdateMask sets the optional parameter "updateMask": Required. Mask of fields to update. At least one path must be supplied in this field.

type ProjectsLocationsVolumesReplicationsResumeCall

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

func (*ProjectsLocationsVolumesReplicationsResumeCall) Context

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

func (*ProjectsLocationsVolumesReplicationsResumeCall) Do

Do executes the "netapp.projects.locations.volumes.replications.resume" 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 (*ProjectsLocationsVolumesReplicationsResumeCall) Fields

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

func (*ProjectsLocationsVolumesReplicationsResumeCall) Header

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

type ProjectsLocationsVolumesReplicationsReverseDirectionCall

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

func (*ProjectsLocationsVolumesReplicationsReverseDirectionCall) Context

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

func (*ProjectsLocationsVolumesReplicationsReverseDirectionCall) Do

Do executes the "netapp.projects.locations.volumes.replications.reverseDirection" 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 (*ProjectsLocationsVolumesReplicationsReverseDirectionCall) Fields

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

func (*ProjectsLocationsVolumesReplicationsReverseDirectionCall) Header

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

type ProjectsLocationsVolumesReplicationsService

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

func NewProjectsLocationsVolumesReplicationsService

func NewProjectsLocationsVolumesReplicationsService(s *Service) *ProjectsLocationsVolumesReplicationsService

func (*ProjectsLocationsVolumesReplicationsService) Create

Create: Create a new replication for a volume.

  • parent: The NetApp volume to create the replications of, in the format `projects/{project_id}/locations/{location}/volumes/{volume_id}`.

func (*ProjectsLocationsVolumesReplicationsService) Delete

Delete: Deletes a replication.

  • name: The replication resource name, in the format `projects/*/locations/*/volumes/*/replications/{replication_id}`.

func (*ProjectsLocationsVolumesReplicationsService) EstablishPeering added in v0.207.0

EstablishPeering: Establish replication peering.

  • name: The resource name of the replication, in the format of projects/{project_id}/locations/{location}/volumes/{volume_id}/replications /{replication_id}.

func (*ProjectsLocationsVolumesReplicationsService) Get

Get: Describe a replication for a volume.

  • name: The replication resource name, in the format `projects/{project_id}/locations/{location}/volumes/{volume_id}/replication s/{replication_id}`.

func (*ProjectsLocationsVolumesReplicationsService) List

List: Returns descriptions of all replications for a volume.

  • parent: The volume for which to retrieve replication information, in the format `projects/{project_id}/locations/{location}/volumes/{volume_id}`.

func (*ProjectsLocationsVolumesReplicationsService) Patch

Patch: Updates the settings of a specific replication.

  • name: Identifier. The resource name of the Replication. Format: `projects/{project_id}/locations/{location}/volumes/{volume_id}/replication s/{replication_id}`.

func (*ProjectsLocationsVolumesReplicationsService) Resume

Resume: Resume Cross Region Replication.

  • name: The resource name of the replication, in the format of projects/{project_id}/locations/{location}/volumes/{volume_id}/replications /{replication_id}.

func (*ProjectsLocationsVolumesReplicationsService) ReverseDirection

ReverseDirection: Reverses direction of replication. Source becomes destination and destination becomes source.

  • name: The resource name of the replication, in the format of projects/{project_id}/locations/{location}/volumes/{volume_id}/replications /{replication_id}.

func (*ProjectsLocationsVolumesReplicationsService) Stop

Stop: Stop Cross Region Replication.

  • name: The resource name of the replication, in the format of projects/{project_id}/locations/{location}/volumes/{volume_id}/replications /{replication_id}.

func (*ProjectsLocationsVolumesReplicationsService) Sync added in v0.207.0

Sync: Syncs the replication. This will invoke one time volume data transfer from source to destination.

  • name: The resource name of the replication, in the format of projects/{project_id}/locations/{location}/volumes/{volume_id}/replications /{replication_id}.

type ProjectsLocationsVolumesReplicationsStopCall

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

func (*ProjectsLocationsVolumesReplicationsStopCall) Context

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

func (*ProjectsLocationsVolumesReplicationsStopCall) Do

Do executes the "netapp.projects.locations.volumes.replications.stop" 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 (*ProjectsLocationsVolumesReplicationsStopCall) Fields

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

func (*ProjectsLocationsVolumesReplicationsStopCall) Header

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

type ProjectsLocationsVolumesReplicationsSyncCall added in v0.207.0

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

func (*ProjectsLocationsVolumesReplicationsSyncCall) Context added in v0.207.0

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

func (*ProjectsLocationsVolumesReplicationsSyncCall) Do added in v0.207.0

Do executes the "netapp.projects.locations.volumes.replications.sync" 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 (*ProjectsLocationsVolumesReplicationsSyncCall) Fields added in v0.207.0

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

func (*ProjectsLocationsVolumesReplicationsSyncCall) Header added in v0.207.0

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

type ProjectsLocationsVolumesRevertCall

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

func (*ProjectsLocationsVolumesRevertCall) Context

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

func (*ProjectsLocationsVolumesRevertCall) Do

Do executes the "netapp.projects.locations.volumes.revert" 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 (*ProjectsLocationsVolumesRevertCall) Fields

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

func (*ProjectsLocationsVolumesRevertCall) Header

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

type ProjectsLocationsVolumesService

type ProjectsLocationsVolumesService struct {
	Replications *ProjectsLocationsVolumesReplicationsService

	Snapshots *ProjectsLocationsVolumesSnapshotsService
	// contains filtered or unexported fields
}

func NewProjectsLocationsVolumesService

func NewProjectsLocationsVolumesService(s *Service) *ProjectsLocationsVolumesService

func (*ProjectsLocationsVolumesService) Create

Create: Creates a new Volume in a given project and location.

- parent: Value for parent.

func (*ProjectsLocationsVolumesService) Delete

Delete: Deletes a single Volume.

- name: Name of the volume.

func (*ProjectsLocationsVolumesService) Get

Get: Gets details of a single Volume.

- name: Name of the volume.

func (*ProjectsLocationsVolumesService) List

List: Lists Volumes in a given project.

- parent: Parent value for ListVolumesRequest.

func (*ProjectsLocationsVolumesService) Patch

Patch: Updates the parameters of a single Volume.

- name: Identifier. Name of the volume.

func (*ProjectsLocationsVolumesService) Revert

Revert: Revert an existing volume to a specified snapshot. Warning! This operation will permanently revert all changes made after the snapshot was created.

  • name: The resource name of the volume, in the format of projects/{project_id}/locations/{location}/volumes/{volume_id}.

type ProjectsLocationsVolumesSnapshotsCreateCall

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

func (*ProjectsLocationsVolumesSnapshotsCreateCall) Context

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

func (*ProjectsLocationsVolumesSnapshotsCreateCall) Do

Do executes the "netapp.projects.locations.volumes.snapshots.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 (*ProjectsLocationsVolumesSnapshotsCreateCall) Fields

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

func (*ProjectsLocationsVolumesSnapshotsCreateCall) Header

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

func (*ProjectsLocationsVolumesSnapshotsCreateCall) SnapshotId

SnapshotId sets the optional parameter "snapshotId": Required. ID of the snapshot to create. Must be unique within the parent resource. Must contain only letters, numbers and hyphen, with the first character a letter, the last a letter or a number, and a 63 character maximum.

type ProjectsLocationsVolumesSnapshotsDeleteCall

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

func (*ProjectsLocationsVolumesSnapshotsDeleteCall) Context

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

func (*ProjectsLocationsVolumesSnapshotsDeleteCall) Do

Do executes the "netapp.projects.locations.volumes.snapshots.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 (*ProjectsLocationsVolumesSnapshotsDeleteCall) Fields

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

func (*ProjectsLocationsVolumesSnapshotsDeleteCall) Header

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

type ProjectsLocationsVolumesSnapshotsGetCall

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

func (*ProjectsLocationsVolumesSnapshotsGetCall) Context

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

func (*ProjectsLocationsVolumesSnapshotsGetCall) Do

Do executes the "netapp.projects.locations.volumes.snapshots.get" call. Any non-2xx status code is an error. Response headers are in either *Snapshot.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 (*ProjectsLocationsVolumesSnapshotsGetCall) Fields

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

func (*ProjectsLocationsVolumesSnapshotsGetCall) Header

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

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

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

func (*ProjectsLocationsVolumesSnapshotsListCall) Context

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

func (*ProjectsLocationsVolumesSnapshotsListCall) Do

Do executes the "netapp.projects.locations.volumes.snapshots.list" call. Any non-2xx status code is an error. Response headers are in either *ListSnapshotsResponse.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 (*ProjectsLocationsVolumesSnapshotsListCall) Fields

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

func (*ProjectsLocationsVolumesSnapshotsListCall) Filter

Filter sets the optional parameter "filter": List filter.

func (*ProjectsLocationsVolumesSnapshotsListCall) Header

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

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

OrderBy sets the optional parameter "orderBy": Sort results. Supported values are "name", "name desc" or "" (unsorted).

func (*ProjectsLocationsVolumesSnapshotsListCall) PageSize

PageSize sets the optional parameter "pageSize": The maximum number of items to return.

func (*ProjectsLocationsVolumesSnapshotsListCall) PageToken

PageToken sets the optional parameter "pageToken": The next_page_token value to use if there are additional results to retrieve for this list request.

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

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

func (*ProjectsLocationsVolumesSnapshotsPatchCall) Context

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

func (*ProjectsLocationsVolumesSnapshotsPatchCall) Do

Do executes the "netapp.projects.locations.volumes.snapshots.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 (*ProjectsLocationsVolumesSnapshotsPatchCall) Fields

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

func (*ProjectsLocationsVolumesSnapshotsPatchCall) Header

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

func (*ProjectsLocationsVolumesSnapshotsPatchCall) UpdateMask

UpdateMask sets the optional parameter "updateMask": Required. Mask of fields to update. At least one path must be supplied in this field.

type ProjectsLocationsVolumesSnapshotsService

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

func NewProjectsLocationsVolumesSnapshotsService

func NewProjectsLocationsVolumesSnapshotsService(s *Service) *ProjectsLocationsVolumesSnapshotsService

func (*ProjectsLocationsVolumesSnapshotsService) Create

Create: Create a new snapshot for a volume.

  • parent: The NetApp volume to create the snapshots of, in the format `projects/{project_id}/locations/{location}/volumes/{volume_id}`.

func (*ProjectsLocationsVolumesSnapshotsService) Delete

Delete: Deletes a snapshot.

  • name: The snapshot resource name, in the format `projects/*/locations/*/volumes/*/snapshots/{snapshot_id}`.

func (*ProjectsLocationsVolumesSnapshotsService) Get

Get: Describe a snapshot for a volume.

  • name: The snapshot resource name, in the format `projects/{project_id}/locations/{location}/volumes/{volume_id}/snapshots/{ snapshot_id}`.

func (*ProjectsLocationsVolumesSnapshotsService) List

List: Returns descriptions of all snapshots for a volume.

  • parent: The volume for which to retrieve snapshot information, in the format `projects/{project_id}/locations/{location}/volumes/{volume_id}`.

func (*ProjectsLocationsVolumesSnapshotsService) Patch

Patch: Updates the settings of a specific snapshot.

  • name: Identifier. The resource name of the snapshot. Format: `projects/{project_id}/locations/{location}/volumes/{volume_id}/snapshots/{ snapshot_id}`.

type ProjectsService

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

func NewProjectsService

func NewProjectsService(s *Service) *ProjectsService

type Replication

type Replication struct {
	// ClusterLocation: Optional. Location of the user cluster.
	ClusterLocation string `json:"clusterLocation,omitempty"`
	// CreateTime: Output only. Replication create time.
	CreateTime string `json:"createTime,omitempty"`
	// Description: A description about this replication relationship.
	Description string `json:"description,omitempty"`
	// DestinationVolume: Output only. Full name of destination volume resource.
	// Example : "projects/{project}/locations/{location}/volumes/{volume_id}"
	DestinationVolume string `json:"destinationVolume,omitempty"`
	// DestinationVolumeParameters: Required. Input only. Destination volume
	// parameters
	DestinationVolumeParameters *DestinationVolumeParameters `json:"destinationVolumeParameters,omitempty"`
	// Healthy: Output only. Condition of the relationship. Can be one of the
	// following: - true: The replication relationship is healthy. It has not
	// missed the most recent scheduled transfer. - false: The replication
	// relationship is not healthy. It has missed the most recent scheduled
	// transfer.
	Healthy bool `json:"healthy,omitempty"`
	// HybridPeeringDetails: Output only. Hybrid peering details.
	HybridPeeringDetails *HybridPeeringDetails `json:"hybridPeeringDetails,omitempty"`
	// HybridReplicationType: Output only. Type of the hybrid replication.
	//
	// Possible values:
	//   "HYBRID_REPLICATION_TYPE_UNSPECIFIED" - Unspecified hybrid replication
	// type.
	//   "MIGRATION" - Hybrid replication type for migration.
	//   "CONTINUOUS_REPLICATION" - Hybrid replication type for continuous
	// replication.
	HybridReplicationType string `json:"hybridReplicationType,omitempty"`
	// Labels: Resource labels to represent user provided metadata.
	Labels map[string]string `json:"labels,omitempty"`
	// MirrorState: Output only. Indicates the state of mirroring.
	//
	// Possible values:
	//   "MIRROR_STATE_UNSPECIFIED" - Unspecified MirrorState
	//   "PREPARING" - Destination volume is being prepared.
	//   "MIRRORED" - Destination volume has been initialized and is ready to
	// receive replication transfers.
	//   "STOPPED" - Destination volume is not receiving replication transfers.
	//   "TRANSFERRING" - Incremental replication is in progress.
	//   "BASELINE_TRANSFERRING" - Baseline replication is in progress.
	//   "ABORTED" - Replication is aborted.
	MirrorState string `json:"mirrorState,omitempty"`
	// Name: Identifier. The resource name of the Replication. Format:
	// `projects/{project_id}/locations/{location}/volumes/{volume_id}/replications/
	// {replication_id}`.
	Name string `json:"name,omitempty"`
	// ReplicationSchedule: Required. Indicates the schedule for replication.
	//
	// Possible values:
	//   "REPLICATION_SCHEDULE_UNSPECIFIED" - Unspecified ReplicationSchedule
	//   "EVERY_10_MINUTES" - Replication happens once every 10 minutes.
	//   "HOURLY" - Replication happens once every hour.
	//   "DAILY" - Replication happens once every day.
	ReplicationSchedule string `json:"replicationSchedule,omitempty"`
	// Role: Output only. Indicates whether this points to source or destination.
	//
	// Possible values:
	//   "REPLICATION_ROLE_UNSPECIFIED" - Unspecified replication role
	//   "SOURCE" - Indicates Source volume.
	//   "DESTINATION" - Indicates Destination volume.
	Role string `json:"role,omitempty"`
	// SourceVolume: Output only. Full name of source volume resource. Example :
	// "projects/{project}/locations/{location}/volumes/{volume_id}"
	SourceVolume string `json:"sourceVolume,omitempty"`
	// State: Output only. State of the replication.
	//
	// Possible values:
	//   "STATE_UNSPECIFIED" - Unspecified replication State
	//   "CREATING" - Replication is creating.
	//   "READY" - Replication is ready.
	//   "UPDATING" - Replication is updating.
	//   "DELETING" - Replication is deleting.
	//   "ERROR" - Replication is in error state.
	//   "PENDING_CLUSTER_PEERING" - Replication is waiting for cluster peering to
	// be established.
	//   "PENDING_SVM_PEERING" - Replication is waiting for SVM peering to be
	// established.
	State string `json:"state,omitempty"`
	// StateDetails: Output only. State details of the replication.
	StateDetails string `json:"stateDetails,omitempty"`
	// TransferStats: Output only. Replication transfer statistics.
	TransferStats *TransferStats `json:"transferStats,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the server.
	googleapi.ServerResponse `json:"-"`
	// ForceSendFields is a list of field names (e.g. "ClusterLocation") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "ClusterLocation") to include in
	// API requests with the JSON null value. By default, fields with empty values
	// are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

Replication: Replication is a nested resource under Volume, that describes a cross-region replication relationship between 2 volumes in different regions.

func (Replication) MarshalJSON

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

type RestoreParameters

type RestoreParameters struct {
	// SourceBackup: Full name of the backup resource. Format:
	// projects/{project}/locations/{location}/backupVaults/{backup_vault_id}/backup
	// s/{backup_id}
	SourceBackup string `json:"sourceBackup,omitempty"`
	// SourceSnapshot: Full name of the snapshot resource. Format:
	// projects/{project}/locations/{location}/volumes/{volume}/snapshots/{snapshot}
	SourceSnapshot string `json:"sourceSnapshot,omitempty"`
	// ForceSendFields is a list of field names (e.g. "SourceBackup") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "SourceBackup") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

RestoreParameters: The RestoreParameters if volume is created from a snapshot or backup.

func (RestoreParameters) MarshalJSON

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

type ResumeReplicationRequest

type ResumeReplicationRequest struct {
}

ResumeReplicationRequest: ResumeReplicationRequest resumes a stopped replication.

type ReverseReplicationDirectionRequest

type ReverseReplicationDirectionRequest struct {
}

ReverseReplicationDirectionRequest: ReverseReplicationDirectionRequest reverses direction of replication. Source becomes destination and destination becomes source.

type RevertVolumeRequest

type RevertVolumeRequest struct {
	// SnapshotId: Required. The snapshot resource ID, in the format 'my-snapshot',
	// where the specified ID is the {snapshot_id} of the fully qualified name like
	// projects/{project_id}/locations/{location_id}/volumes/{volume_id}/snapshots/{
	// snapshot_id}
	SnapshotId string `json:"snapshotId,omitempty"`
	// ForceSendFields is a list of field names (e.g. "SnapshotId") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "SnapshotId") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

RevertVolumeRequest: RevertVolumeRequest reverts the given volume to the specified snapshot.

func (RevertVolumeRequest) MarshalJSON

func (s RevertVolumeRequest) 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 SimpleExportPolicyRule

type SimpleExportPolicyRule struct {
	// AccessType: Access type (ReadWrite, ReadOnly, None)
	//
	// Possible values:
	//   "ACCESS_TYPE_UNSPECIFIED" - Unspecified Access Type
	//   "READ_ONLY" - Read Only
	//   "READ_WRITE" - Read Write
	//   "READ_NONE" - None
	AccessType string `json:"accessType,omitempty"`
	// AllowedClients: Comma separated list of allowed clients IP addresses
	AllowedClients string `json:"allowedClients,omitempty"`
	// HasRootAccess: Whether Unix root access will be granted.
	HasRootAccess string `json:"hasRootAccess,omitempty"`
	// Kerberos5ReadOnly: If enabled (true) the rule defines a read only access for
	// clients matching the 'allowedClients' specification. It enables nfs clients
	// to mount using 'authentication' kerberos security mode.
	Kerberos5ReadOnly bool `json:"kerberos5ReadOnly,omitempty"`
	// Kerberos5ReadWrite: If enabled (true) the rule defines read and write access
	// for clients matching the 'allowedClients' specification. It enables nfs
	// clients to mount using 'authentication' kerberos security mode. The
	// 'kerberos5ReadOnly' value be ignored if this is enabled.
	Kerberos5ReadWrite bool `json:"kerberos5ReadWrite,omitempty"`
	// Kerberos5iReadOnly: If enabled (true) the rule defines a read only access
	// for clients matching the 'allowedClients' specification. It enables nfs
	// clients to mount using 'integrity' kerberos security mode.
	Kerberos5iReadOnly bool `json:"kerberos5iReadOnly,omitempty"`
	// Kerberos5iReadWrite: If enabled (true) the rule defines read and write
	// access for clients matching the 'allowedClients' specification. It enables
	// nfs clients to mount using 'integrity' kerberos security mode. The
	// 'kerberos5iReadOnly' value be ignored if this is enabled.
	Kerberos5iReadWrite bool `json:"kerberos5iReadWrite,omitempty"`
	// Kerberos5pReadOnly: If enabled (true) the rule defines a read only access
	// for clients matching the 'allowedClients' specification. It enables nfs
	// clients to mount using 'privacy' kerberos security mode.
	Kerberos5pReadOnly bool `json:"kerberos5pReadOnly,omitempty"`
	// Kerberos5pReadWrite: If enabled (true) the rule defines read and write
	// access for clients matching the 'allowedClients' specification. It enables
	// nfs clients to mount using 'privacy' kerberos security mode. The
	// 'kerberos5pReadOnly' value be ignored if this is enabled.
	Kerberos5pReadWrite bool `json:"kerberos5pReadWrite,omitempty"`
	// Nfsv3: NFS V3 protocol.
	Nfsv3 bool `json:"nfsv3,omitempty"`
	// Nfsv4: NFS V4 protocol.
	Nfsv4 bool `json:"nfsv4,omitempty"`
	// ForceSendFields is a list of field names (e.g. "AccessType") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "AccessType") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

SimpleExportPolicyRule: An export policy rule describing various export options.

func (SimpleExportPolicyRule) MarshalJSON

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

type Snapshot

type Snapshot struct {
	// CreateTime: Output only. The time when the snapshot was created.
	CreateTime string `json:"createTime,omitempty"`
	// Description: A description of the snapshot with 2048 characters or less.
	// Requests with longer descriptions will be rejected.
	Description string `json:"description,omitempty"`
	// Labels: Resource labels to represent user provided metadata.
	Labels map[string]string `json:"labels,omitempty"`
	// Name: Identifier. The resource name of the snapshot. Format:
	// `projects/{project_id}/locations/{location}/volumes/{volume_id}/snapshots/{sn
	// apshot_id}`.
	Name string `json:"name,omitempty"`
	// State: Output only. The snapshot state.
	//
	// Possible values:
	//   "STATE_UNSPECIFIED" - Unspecified Snapshot State
	//   "READY" - Snapshot State is Ready
	//   "CREATING" - Snapshot State is Creating
	//   "DELETING" - Snapshot State is Deleting
	//   "UPDATING" - Snapshot State is Updating
	//   "DISABLED" - Snapshot State is Disabled
	//   "ERROR" - Snapshot State is Error
	State string `json:"state,omitempty"`
	// StateDetails: Output only. State details of the storage pool
	StateDetails string `json:"stateDetails,omitempty"`
	// UsedBytes: Output only. Current storage usage for the snapshot in bytes.
	UsedBytes float64 `json:"usedBytes,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the server.
	googleapi.ServerResponse `json:"-"`
	// ForceSendFields is a list of field names (e.g. "CreateTime") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "CreateTime") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

Snapshot: Snapshot is a point-in-time version of a Volume's content.

func (Snapshot) MarshalJSON

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

func (*Snapshot) UnmarshalJSON

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

type SnapshotPolicy

type SnapshotPolicy struct {
	// DailySchedule: Daily schedule policy.
	DailySchedule *DailySchedule `json:"dailySchedule,omitempty"`
	// Enabled: If enabled, make snapshots automatically according to the
	// schedules. Default is false.
	Enabled bool `json:"enabled,omitempty"`
	// HourlySchedule: Hourly schedule policy.
	HourlySchedule *HourlySchedule `json:"hourlySchedule,omitempty"`
	// MonthlySchedule: Monthly schedule policy.
	MonthlySchedule *MonthlySchedule `json:"monthlySchedule,omitempty"`
	// WeeklySchedule: Weekly schedule policy.
	WeeklySchedule *WeeklySchedule `json:"weeklySchedule,omitempty"`
	// ForceSendFields is a list of field names (e.g. "DailySchedule") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "DailySchedule") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

SnapshotPolicy: Snapshot Policy for a volume.

func (SnapshotPolicy) MarshalJSON

func (s SnapshotPolicy) 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 StopReplicationRequest

type StopReplicationRequest struct {
	// Force: Indicates whether to stop replication forcefully while data transfer
	// is in progress. Warning! if force is true, this will abort any current
	// transfers and can lead to data loss due to partial transfer. If force is
	// false, stop replication will fail while data transfer is in progress and you
	// will need to retry later.
	Force bool `json:"force,omitempty"`
	// ForceSendFields is a list of field names (e.g. "Force") to unconditionally
	// include in API requests. By default, fields with empty or default values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "Force") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

StopReplicationRequest: StopReplicationRequest stops a replication until resumed.

func (StopReplicationRequest) MarshalJSON

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

type StoragePool

type StoragePool struct {
	// ActiveDirectory: Optional. Specifies the Active Directory to be used for
	// creating a SMB volume.
	ActiveDirectory string `json:"activeDirectory,omitempty"`
	// AllowAutoTiering: Optional. True if the storage pool supports Auto Tiering
	// enabled volumes. Default is false. Auto-tiering can be enabled after storage
	// pool creation but it can't be disabled once enabled.
	AllowAutoTiering bool `json:"allowAutoTiering,omitempty"`
	// CapacityGib: Required. Capacity in GIB of the pool
	CapacityGib int64 `json:"capacityGib,omitempty,string"`
	// CreateTime: Output only. Create time of the storage pool
	CreateTime string `json:"createTime,omitempty"`
	// Description: Optional. Description of the storage pool
	Description string `json:"description,omitempty"`
	// EncryptionType: Output only. Specifies the current pool encryption key
	// source.
	//
	// Possible values:
	//   "ENCRYPTION_TYPE_UNSPECIFIED" - The source of the encryption key is not
	// specified.
	//   "SERVICE_MANAGED" - Google managed encryption key.
	//   "CLOUD_KMS" - Customer managed encryption key, which is stored in KMS.
	EncryptionType string `json:"encryptionType,omitempty"`
	// GlobalAccessAllowed: Deprecated. Used to allow SO pool to access AD or DNS
	// server from other regions.
	GlobalAccessAllowed bool `json:"globalAccessAllowed,omitempty"`
	// KmsConfig: Optional. Specifies the KMS config to be used for volume
	// encryption.
	KmsConfig string `json:"kmsConfig,omitempty"`
	// Labels: Optional. Labels as key value pairs
	Labels map[string]string `json:"labels,omitempty"`
	// LdapEnabled: Optional. Flag indicating if the pool is NFS LDAP enabled or
	// not.
	LdapEnabled bool `json:"ldapEnabled,omitempty"`
	// Name: Identifier. Name of the storage pool
	Name string `json:"name,omitempty"`
	// Network: Required. VPC Network name. Format:
	// projects/{project}/global/networks/{network}
	Network string `json:"network,omitempty"`
	// PsaRange: Optional. This field is not implemented. The values provided in
	// this field are ignored.
	PsaRange string `json:"psaRange,omitempty"`
	// ReplicaZone: Optional. Specifies the replica zone for regional storagePool.
	ReplicaZone string `json:"replicaZone,omitempty"`
	// SatisfiesPzi: Output only. Reserved for future use
	SatisfiesPzi bool `json:"satisfiesPzi,omitempty"`
	// SatisfiesPzs: Output only. Reserved for future use
	SatisfiesPzs bool `json:"satisfiesPzs,omitempty"`
	// ServiceLevel: Required. Service level of the storage pool
	//
	// Possible values:
	//   "SERVICE_LEVEL_UNSPECIFIED" - Unspecified service level.
	//   "PREMIUM" - Premium service level.
	//   "EXTREME" - Extreme service level.
	//   "STANDARD" - Standard service level.
	//   "FLEX" - Flex service level.
	ServiceLevel string `json:"serviceLevel,omitempty"`
	// State: Output only. State of the storage pool
	//
	// Possible values:
	//   "STATE_UNSPECIFIED" - Unspecified Storage Pool State
	//   "READY" - Storage Pool State is Ready
	//   "CREATING" - Storage Pool State is Creating
	//   "DELETING" - Storage Pool State is Deleting
	//   "UPDATING" - Storage Pool State is Updating
	//   "RESTORING" - Storage Pool State is Restoring
	//   "DISABLED" - Storage Pool State is Disabled
	//   "ERROR" - Storage Pool State is Error
	State string `json:"state,omitempty"`
	// StateDetails: Output only. State details of the storage pool
	StateDetails string `json:"stateDetails,omitempty"`
	// VolumeCapacityGib: Output only. Allocated size of all volumes in GIB in the
	// storage pool
	VolumeCapacityGib int64 `json:"volumeCapacityGib,omitempty,string"`
	// VolumeCount: Output only. Volume count of the storage pool
	VolumeCount int64 `json:"volumeCount,omitempty"`
	// Zone: Optional. Specifies the active zone for regional storagePool.
	Zone string `json:"zone,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the server.
	googleapi.ServerResponse `json:"-"`
	// ForceSendFields is a list of field names (e.g. "ActiveDirectory") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "ActiveDirectory") to include in
	// API requests with the JSON null value. By default, fields with empty values
	// are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

StoragePool: StoragePool is a container for volumes with a service level and capacity. Volumes can be created in a pool of sufficient available capacity. StoragePool capacity is what you are billed for.

func (StoragePool) MarshalJSON

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

type SwitchActiveReplicaZoneRequest

type SwitchActiveReplicaZoneRequest struct {
}

SwitchActiveReplicaZoneRequest: SwitchActiveReplicaZoneRequest switch the active/replica zone for a regional storagePool.

type SyncReplicationRequest added in v0.207.0

type SyncReplicationRequest struct {
}

SyncReplicationRequest: SyncReplicationRequest syncs the replication from source to destination.

type TieringPolicy

type TieringPolicy struct {
	// CoolingThresholdDays: Optional. Time in days to mark the volume's data block
	// as cold and make it eligible for tiering, can be range from 7-183. Default
	// is 31.
	CoolingThresholdDays int64 `json:"coolingThresholdDays,omitempty"`
	// TierAction: Optional. Flag indicating if the volume has tiering policy
	// enable/pause. Default is PAUSED.
	//
	// Possible values:
	//   "TIER_ACTION_UNSPECIFIED" - Unspecified.
	//   "ENABLED" - When tiering is enabled, new cold data will be tiered.
	//   "PAUSED" - When paused, tiering won't be performed on new data. Existing
	// data stays tiered until accessed.
	TierAction string `json:"tierAction,omitempty"`
	// ForceSendFields is a list of field names (e.g. "CoolingThresholdDays") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "CoolingThresholdDays") to include
	// in API requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

TieringPolicy: Defines tiering policy for the volume.

func (TieringPolicy) MarshalJSON

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

type TransferStats

type TransferStats struct {
	// LagDuration: Lag duration indicates the duration by which Destination region
	// volume content lags behind the primary region volume content.
	LagDuration string `json:"lagDuration,omitempty"`
	// LastTransferBytes: Last transfer size in bytes.
	LastTransferBytes int64 `json:"lastTransferBytes,omitempty,string"`
	// LastTransferDuration: Time taken during last transfer.
	LastTransferDuration string `json:"lastTransferDuration,omitempty"`
	// LastTransferEndTime: Time when last transfer completed.
	LastTransferEndTime string `json:"lastTransferEndTime,omitempty"`
	// LastTransferError: A message describing the cause of the last transfer
	// failure.
	LastTransferError string `json:"lastTransferError,omitempty"`
	// TotalTransferDuration: Cumulative time taken across all transfers for the
	// replication relationship.
	TotalTransferDuration string `json:"totalTransferDuration,omitempty"`
	// TransferBytes: Cumulative bytes trasferred so far for the replication
	// relatinonship.
	TransferBytes int64 `json:"transferBytes,omitempty,string"`
	// UpdateTime: Time when progress was updated last.
	UpdateTime string `json:"updateTime,omitempty"`
	// ForceSendFields is a list of field names (e.g. "LagDuration") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "LagDuration") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

TransferStats: TransferStats reports all statistics related to replication transfer.

func (TransferStats) MarshalJSON

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

type ValidateDirectoryServiceRequest added in v0.211.0

type ValidateDirectoryServiceRequest struct {
	// DirectoryServiceType: Type of directory service policy attached to the
	// storage pool.
	//
	// Possible values:
	//   "DIRECTORY_SERVICE_TYPE_UNSPECIFIED" - Directory service type is not
	// specified.
	//   "ACTIVE_DIRECTORY" - Active directory policy attached to the storage pool.
	DirectoryServiceType string `json:"directoryServiceType,omitempty"`
	// ForceSendFields is a list of field names (e.g. "DirectoryServiceType") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "DirectoryServiceType") to include
	// in API requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

ValidateDirectoryServiceRequest: ValidateDirectoryServiceRequest validates the directory service policy attached to the storage pool.

func (ValidateDirectoryServiceRequest) MarshalJSON added in v0.211.0

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

type VerifyKmsConfigRequest

type VerifyKmsConfigRequest struct {
}

VerifyKmsConfigRequest: VerifyKmsConfigRequest specifies the KMS config to be validated.

type VerifyKmsConfigResponse

type VerifyKmsConfigResponse struct {
	// HealthError: Output only. Error message if config is not healthy.
	HealthError string `json:"healthError,omitempty"`
	// Healthy: Output only. If the customer key configured correctly to the
	// encrypt volume.
	Healthy bool `json:"healthy,omitempty"`
	// Instructions: Output only. Instructions for the customers to provide the
	// access to the encryption key.
	Instructions string `json:"instructions,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the server.
	googleapi.ServerResponse `json:"-"`
	// ForceSendFields is a list of field names (e.g. "HealthError") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "HealthError") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

VerifyKmsConfigResponse: VerifyKmsConfigResponse contains the information if the config is correctly and error message.

func (VerifyKmsConfigResponse) MarshalJSON

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

type Volume

type Volume struct {
	// ActiveDirectory: Output only. Specifies the ActiveDirectory name of a SMB
	// volume.
	ActiveDirectory string `json:"activeDirectory,omitempty"`
	// BackupConfig: BackupConfig of the volume.
	BackupConfig *BackupConfig `json:"backupConfig,omitempty"`
	// CapacityGib: Required. Capacity in GIB of the volume
	CapacityGib int64 `json:"capacityGib,omitempty,string"`
	// ColdTierSizeGib: Output only. Size of the volume cold tier data in GiB.
	ColdTierSizeGib int64 `json:"coldTierSizeGib,omitempty,string"`
	// CreateTime: Output only. Create time of the volume
	CreateTime string `json:"createTime,omitempty"`
	// Description: Optional. Description of the volume
	Description string `json:"description,omitempty"`
	// EncryptionType: Output only. Specified the current volume encryption key
	// source.
	//
	// Possible values:
	//   "ENCRYPTION_TYPE_UNSPECIFIED" - The source of the encryption key is not
	// specified.
	//   "SERVICE_MANAGED" - Google managed encryption key.
	//   "CLOUD_KMS" - Customer managed encryption key, which is stored in KMS.
	EncryptionType string `json:"encryptionType,omitempty"`
	// ExportPolicy: Optional. Export policy of the volume
	ExportPolicy *ExportPolicy `json:"exportPolicy,omitempty"`
	// HasReplication: Output only. Indicates whether the volume is part of a
	// replication relationship.
	HasReplication bool `json:"hasReplication,omitempty"`
	// HybridReplicationParameters: Optional. The Hybrid Replication parameters for
	// the volume.
	HybridReplicationParameters *HybridReplicationParameters `json:"hybridReplicationParameters,omitempty"`
	// KerberosEnabled: Optional. Flag indicating if the volume is a kerberos
	// volume or not, export policy rules control kerberos security modes (krb5,
	// krb5i, krb5p).
	KerberosEnabled bool `json:"kerberosEnabled,omitempty"`
	// KmsConfig: Output only. Specifies the KMS config to be used for volume
	// encryption.
	KmsConfig string `json:"kmsConfig,omitempty"`
	// Labels: Optional. Labels as key value pairs
	Labels map[string]string `json:"labels,omitempty"`
	// LargeCapacity: Optional. Flag indicating if the volume will be a large
	// capacity volume or a regular volume.
	LargeCapacity bool `json:"largeCapacity,omitempty"`
	// LdapEnabled: Output only. Flag indicating if the volume is NFS LDAP enabled
	// or not.
	LdapEnabled bool `json:"ldapEnabled,omitempty"`
	// MountOptions: Output only. Mount options of this volume
	MountOptions []*MountOption `json:"mountOptions,omitempty"`
	// MultipleEndpoints: Optional. Flag indicating if the volume will have an IP
	// address per node for volumes supporting multiple IP endpoints. Only the
	// volume with large_capacity will be allowed to have multiple endpoints.
	MultipleEndpoints bool `json:"multipleEndpoints,omitempty"`
	// Name: Identifier. Name of the volume
	Name string `json:"name,omitempty"`
	// Network: Output only. VPC Network name. Format:
	// projects/{project}/global/networks/{network}
	Network string `json:"network,omitempty"`
	// Protocols: Required. Protocols required for the volume
	//
	// Possible values:
	//   "PROTOCOLS_UNSPECIFIED" - Unspecified protocol
	//   "NFSV3" - NFS V3 protocol
	//   "NFSV4" - NFS V4 protocol
	//   "SMB" - SMB protocol
	Protocols []string `json:"protocols,omitempty"`
	// PsaRange: Output only. This field is not implemented. The values provided in
	// this field are ignored.
	PsaRange string `json:"psaRange,omitempty"`
	// ReplicaZone: Output only. Specifies the replica zone for regional volume.
	ReplicaZone string `json:"replicaZone,omitempty"`
	// RestoreParameters: Optional. Specifies the source of the volume to be
	// created from.
	RestoreParameters *RestoreParameters `json:"restoreParameters,omitempty"`
	// RestrictedActions: Optional. List of actions that are restricted on this
	// volume.
	//
	// Possible values:
	//   "RESTRICTED_ACTION_UNSPECIFIED" - Unspecified restricted action
	//   "DELETE" - Prevent volume from being deleted when mounted.
	RestrictedActions []string `json:"restrictedActions,omitempty"`
	// SecurityStyle: Optional. Security Style of the Volume
	//
	// Possible values:
	//   "SECURITY_STYLE_UNSPECIFIED" - SecurityStyle is unspecified
	//   "NTFS" - SecurityStyle uses NTFS
	//   "UNIX" - SecurityStyle uses UNIX
	SecurityStyle string `json:"securityStyle,omitempty"`
	// ServiceLevel: Output only. Service level of the volume
	//
	// Possible values:
	//   "SERVICE_LEVEL_UNSPECIFIED" - Unspecified service level.
	//   "PREMIUM" - Premium service level.
	//   "EXTREME" - Extreme service level.
	//   "STANDARD" - Standard service level.
	//   "FLEX" - Flex service level.
	ServiceLevel string `json:"serviceLevel,omitempty"`
	// ShareName: Required. Share name of the volume
	ShareName string `json:"shareName,omitempty"`
	// SmbSettings: Optional. SMB share settings for the volume.
	//
	// Possible values:
	//   "SMB_SETTINGS_UNSPECIFIED" - Unspecified default option
	//   "ENCRYPT_DATA" - SMB setting encrypt data
	//   "BROWSABLE" - SMB setting browsable
	//   "CHANGE_NOTIFY" - SMB setting notify change
	//   "NON_BROWSABLE" - SMB setting not to notify change
	//   "OPLOCKS" - SMB setting oplocks
	//   "SHOW_SNAPSHOT" - SMB setting to show snapshots
	//   "SHOW_PREVIOUS_VERSIONS" - SMB setting to show previous versions
	//   "ACCESS_BASED_ENUMERATION" - SMB setting to access volume based on
	// enumerartion
	//   "CONTINUOUSLY_AVAILABLE" - Continuously available enumeration
	SmbSettings []string `json:"smbSettings,omitempty"`
	// SnapReserve: Optional. Snap_reserve specifies percentage of volume storage
	// reserved for snapshot storage. Default is 0 percent.
	SnapReserve float64 `json:"snapReserve,omitempty"`
	// SnapshotDirectory: Optional. Snapshot_directory if enabled (true) the volume
	// will contain a read-only .snapshot directory which provides access to each
	// of the volume's snapshots.
	SnapshotDirectory bool `json:"snapshotDirectory,omitempty"`
	// SnapshotPolicy: Optional. SnapshotPolicy for a volume.
	SnapshotPolicy *SnapshotPolicy `json:"snapshotPolicy,omitempty"`
	// State: Output only. State of the volume
	//
	// Possible values:
	//   "STATE_UNSPECIFIED" - Unspecified Volume State
	//   "READY" - Volume State is Ready
	//   "CREATING" - Volume State is Creating
	//   "DELETING" - Volume State is Deleting
	//   "UPDATING" - Volume State is Updating
	//   "RESTORING" - Volume State is Restoring
	//   "DISABLED" - Volume State is Disabled
	//   "ERROR" - Volume State is Error
	//   "PREPARING" - Volume State is Preparing. Note that this is different from
	// CREATING where CREATING means the volume is being created, while PREPARING
	// means the volume is created and now being prepared for the replication.
	//   "READ_ONLY" - Volume State is Read Only
	State string `json:"state,omitempty"`
	// StateDetails: Output only. State details of the volume
	StateDetails string `json:"stateDetails,omitempty"`
	// StoragePool: Required. StoragePool name of the volume
	StoragePool string `json:"storagePool,omitempty"`
	// TieringPolicy: Tiering policy for the volume.
	TieringPolicy *TieringPolicy `json:"tieringPolicy,omitempty"`
	// UnixPermissions: Optional. Default unix style permission (e.g. 777) the
	// mount point will be created with. Applicable for NFS protocol types only.
	UnixPermissions string `json:"unixPermissions,omitempty"`
	// UsedGib: Output only. Used capacity in GIB of the volume. This is computed
	// periodically and it does not represent the realtime usage.
	UsedGib int64 `json:"usedGib,omitempty,string"`
	// Zone: Output only. Specifies the active zone for regional volume.
	Zone string `json:"zone,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the server.
	googleapi.ServerResponse `json:"-"`
	// ForceSendFields is a list of field names (e.g. "ActiveDirectory") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "ActiveDirectory") to include in
	// API requests with the JSON null value. By default, fields with empty values
	// are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

Volume: Volume provides a filesystem that you can mount.

func (Volume) MarshalJSON

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

func (*Volume) UnmarshalJSON

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

type WeeklySchedule

type WeeklySchedule struct {
	// Day: Set the day or days of the week to make a snapshot. Accepts a comma
	// separated days of the week. Defaults to 'Sunday'.
	Day string `json:"day,omitempty"`
	// Hour: Set the hour to start the snapshot (0-23), defaults to midnight (0).
	Hour float64 `json:"hour,omitempty"`
	// Minute: Set the minute of the hour to start the snapshot (0-59), defaults to
	// the top of the hour (0).
	Minute float64 `json:"minute,omitempty"`
	// SnapshotsToKeep: The maximum number of Snapshots to keep for the hourly
	// schedule
	SnapshotsToKeep float64 `json:"snapshotsToKeep,omitempty"`
	// ForceSendFields is a list of field names (e.g. "Day") to unconditionally
	// include in API requests. By default, fields with empty or default values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "Day") to include in API requests
	// with the JSON null value. By default, fields with empty values are omitted
	// from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

WeeklySchedule: Make a snapshot every week e.g. at Monday 04:00, Wednesday 05:20, Sunday 23:50

func (WeeklySchedule) MarshalJSON

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

func (*WeeklySchedule) UnmarshalJSON

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

Jump to

Keyboard shortcuts

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